/* V0.14.6 — unified Falcons Nation draft interface. Persistent overlay, no card stack. */
body.d145-playing{background:#080f1c;}
body.d145-playing .main{overflow:visible!important;}
body.d145-playing .n118-actionbar,body.d145-playing .bottom-nav,body.d145-playing #nfn-permanent-nav,body.d145-playing .n118-backbar{display:none!important;}
.d145-screen{--gold:#F0B578;--mint:#73C4AE;background:radial-gradient(ellipse at 55% 34%,#1A3046 0%,#0C1A2C 64%,#0A1525 100%)!important;padding:calc(env(safe-area-inset-top,0px) + 10px) clamp(12px,3vw,22px) calc(env(safe-area-inset-bottom,0px) + 13px)!important;gap:0;}
.d145-top{grid-template-columns:49px minmax(0,1fr) 50px;min-height:49px;}
.d145-top>button{height:45px;width:45px;border-radius:13px;border:1px solid #486078;background:#17293C;font-weight:700;}
.d145-top strong{font-size:16px;font-weight:900;letter-spacing:.015em;}
.d145-top small{font-size:10px;color:#AFC4D5;font-weight:760;letter-spacing:.065em;}
.d145-progress{display:flex;gap:3px;align-items:baseline;}
.d145-progress>b{font-size:22px;color:#F0B578;}
.d145-dots{width:100%;max-width:340px;margin:7px auto 13px;height:5px;gap:6px;}
.d145-dots span{flex:1;width:auto;}
.d145-dots span.current{background:#E6A76F;}.d145-dots span.done{background:#73C4AE;}
.d146-draw-card{flex-shrink:0;width:100%;max-width:610px;margin:0 auto;background:linear-gradient(150deg,#20364C,#14263B);border:1px solid #4B6279;border-radius:17px;padding:12px 14px 13px;box-shadow:0 6px 16px #00000017;}
.d146-draw-label{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:10px;color:#CFDCE9;font-size:10px;font-weight:900;letter-spacing:.12em;}
.d146-draw-status{display:flex;align-items:center;gap:6px;color:#A8BECC;font-size:9px;letter-spacing:.04em;white-space:nowrap;}
.d146-draw-status i{width:6px;height:6px;border-radius:99px;background:#E9AE74;}
.d145-roulette{margin:0;max-width:none;min-height:53px;gap:8px;}
.d145-reel,.d145-reel.season{border:1px solid #4C6379;border-radius:11px;padding:7px 9px;background:#0F2031;box-shadow:none;min-height:59px;gap:3px;}
.d145-reel small,.d145-reel.season small{font-size:10px;letter-spacing:.08em;color:#A9BECE;}
.d145-reel strong{font-size:clamp(14px,3.75vw,20px);text-shadow:none;max-height:2.55em;line-height:1.23;color:#F4F8FC;font-weight:890;}
.d145-roulette.rolling .d145-reel,.d145-roulette.rolling .d145-reel.season{background:#10253A;}
.d145-jokers{margin:7px auto 1px;gap:8px;}.d145-jokers button{min-height:33px;background:#1A2F45;border:1px solid #435C75;border-radius:9px;padding:6px 13px;color:#D7E7F3;font-size:11px;}
.d146-court-panel{min-height:0;display:flex;flex:1 1 auto;flex-direction:column;width:100%;max-width:535px;margin:10px auto 0;padding:9px 9px 7px;background:linear-gradient(155deg,#1C2F44,#122237);border:1px solid #30475D;border-radius:17px;overflow:hidden;}
.d145-court-head{max-width:none;width:100%;min-height:39px;margin:0 0 5px;gap:7px;flex-shrink:0;justify-content:space-between;}
.d146-court-title{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px;}.d146-court-title strong{font-size:12px;letter-spacing:.055em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.d146-court-title small{color:#8FA9BC;font-size:10px;letter-spacing:.045em;}
.d146-quota{display:flex;gap:5px;align-items:center;justify-content:flex-end;flex-shrink:0;}.d146-quota span{display:flex;gap:1px;align-items:baseline;background:#102439;border:1px solid #344D66;border-radius:7px;padding:5px 7px;color:#F4F8FB;font-weight:820;font-size:11px;white-space:nowrap;}.d146-quota small{color:#ACC1D1;font-weight:600;font-size:9px;}
.d145-court-head>button{flex:none;min-width:33px;max-width:37px;height:32px;font-size:18px;padding:4px;border-radius:8px;}
.d145-field{max-width:none;max-height:100%;align-items:center;justify-content:center;overflow:hidden;flex:1 1 auto;}
.d145-court-svg{width:100%;height:100%;max-height:100%;filter:none;}
.d145-court-svg .d145-valid-slot{cursor:pointer;}
.d145-valid-slot rect{animation:d146-slot-pulse 1s ease-in-out infinite alternate;}@keyframes d146-slot-pulse{from{filter:drop-shadow(0 0 2px #EDB467)}to{filter:drop-shadow(0 0 7px #EDB467)}}
.d145-bottom{margin:12px auto 0;min-height:59px;max-width:535px;}
.d145-spin-button,.d145-open{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:59px;border-radius:14px;font-size:18px;font-style:normal;font-weight:900;letter-spacing:.035em;transition:filter .17s ease,transform .17s ease;}
.d145-spin-button{color:#162335;background:linear-gradient(160deg,#F9C18B,#E89450);box-shadow:0 4px 0 #965629;border:1px solid #F9C896;}
.d145-open{background:#D84B69;border:1px solid #F48AA0;color:white;box-shadow:0 4px 0 #852F49;}
.d145-spin-button:active,.d145-open:active{transform:translateY(2px);box-shadow:none;}.d145-spin-button span{font-size:28px;font-weight:600;}
.d145-selection{min-height:59px;border-radius:13px;border:1px solid #5F998B;background:#1C3A43;padding:8px 11px;}
.d145-selection strong{font-size:14px;}.d145-selection small{font-size:11px;color:#CFDFD8;}.d145-selection button{font-size:12px;min-height:42px;padding:9px 14px;border-radius:10px;}
.d145-position-actions{margin:8px auto 0;min-height:34px;}.d145-position-actions button{min-height:35px;min-width:43px;border-radius:8px;}
.d145-message{font-size:11px;color:#A8C1D4;margin:8px 0 0;text-align:center;}
/* The drawer is mounted once outside #app. It stays in the DOM between app renders. */
.d146-drawer-backdrop{position:fixed;inset:0;background:#01060DB5;z-index:430;opacity:0;pointer-events:none;transition:opacity .28s ease;}
.d146-drawer-backdrop.is-visible{opacity:1;pointer-events:auto;}
.d146-drawer{position:fixed;left:50%;bottom:0;z-index:431;width:min(100%,780px);height:min(88dvh,860px);max-height:calc(100dvh - env(safe-area-inset-top,0px) - 10px);transform:translate(-50%,calc(100% - 56px));transition:transform .3s cubic-bezier(.21,.8,.22,1),visibility .3s;display:flex;flex-direction:column;border:1px solid #47647C;border-bottom:0;border-radius:22px 22px 0 0;background:linear-gradient(#1B3046,#101E2F);box-shadow:0 -9px 35px #000B;overflow:hidden;padding-bottom:env(safe-area-inset-bottom,0px);color:#F2F7FD;will-change:transform;visibility:visible;}
.d146-drawer.is-half{transform:translate(-50%,calc(100% - min(57dvh,530px)));}
.d146-drawer.is-full{transform:translate(-50%,0);}
.d146-drawer.is-unavailable{transform:translate(-50%,105%);visibility:hidden;pointer-events:none;}
.d145-sheet-handle{min-height:56px;height:56px;flex:0 0 56px;display:flex;align-items:center;gap:9px;padding:8px 15px;background:#1F364D;border:0;border-bottom:1px solid #3B536A;color:#E7F2FA;text-align:left;cursor:pointer;touch-action:pan-y;}
.d145-sheet-handle i{width:29px;height:5px;background:#92B3C8;border-radius:99px;flex:none;}
.d145-sheet-handle span{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:800;font-size:13px;}.d145-sheet-handle span small{color:#A6C1D3;font-size:11px;font-weight:500;}.d145-sheet-handle b{font-size:21px;color:#F0B578;}
.d145-sheet-body{display:flex;flex-direction:column;min-height:0;flex:1;}
.d145-sheet-tools{padding:10px 13px;display:flex;gap:9px;flex-shrink:0;}.d146-search{display:flex;gap:5px;align-items:center;flex:1;min-width:0;border:1px solid #4C6780;border-radius:11px;background:#12283D;padding:0 10px;}.d146-search>span{font-size:22px;color:#B8CEDE;}.d146-search input{min-height:45px;flex:1;width:100%;min-width:0;border:0;background:transparent;color:#FFFFFF;outline:0;font-size:14px;padding:5px;}.d145-sheet-tools button{background:#2A4056;border:1px solid #4B657C;border-radius:11px;min-height:45px;color:#E3EEF8;font-size:12px;padding:7px 12px;}
.d145-sheet-roster{display:grid;grid-auto-rows:max-content;gap:9px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:1px 13px calc(16px + env(safe-area-inset-bottom,0px));}
.d145-player{display:block;width:100%;min-width:0;border:1px solid #3D566E;border-radius:13px;background:#21354A;padding:11px 12px;color:#F5F9FC;min-height:0;text-align:left;box-shadow:0 2px 4px #00000012;}
.d145-player:not(:disabled):active{border-color:#E9A36A;background:#2A4258;}.d145-player:disabled{opacity:.51;}
.d145-pid{display:flex;gap:10px;align-items:center;margin-bottom:10px;}.d145-avatar{display:grid;place-items:center;width:43px;height:43px;min-width:43px;border-radius:11px;background:var(--club,#293E54);border-bottom:5px solid var(--club-second,#BCD1DE);color:var(--club-ink,#FFFFFF);font-weight:920;font-size:13px;text-shadow:none;}
.d145-pid strong{font-size:15px;line-height:1.2;font-weight:840;}.d145-pid small{font-size:11px;line-height:1.35;margin-top:4px;color:#AFC6D9;}.d145-player-arrow{font-size:26px;color:#F0B578;}
.d146-statline{display:flex;flex-direction:column;gap:8px;}.d146-statmain{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;}.d146-statmain span{display:flex;flex-direction:column;align-items:center;gap:2px;background:#15283B;border-radius:9px;padding:8px 2px;min-width:0;}.d146-statmain small{color:#9FB7C9;font-size:10px;font-weight:700;}.d146-statmain strong{color:#F5F8FC;font-size:clamp(13px,3.5vw,16px);font-weight:880;white-space:nowrap;font-variant-numeric:tabular-nums;}.d146-statextra{display:flex;gap:15px;justify-content:center;align-items:center;color:#AFBFCD;font-size:11px;}.d146-statextra span{display:flex;gap:5px;align-items:baseline;white-space:nowrap;}.d146-statextra b{color:#F3F7FC;font-size:12px;}.d145-blind{display:block;font-size:12px;color:#BCD1E2;text-align:center;padding:7px;}
@media (max-height:700px){.d145-screen{padding-top:calc(env(safe-area-inset-top,0px) + 6px)!important;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 7px)!important;}.d145-dots{margin:4px auto 8px}.d146-draw-card{padding:8px 11px}.d146-draw-label{margin-bottom:6px}.d145-reel,.d145-reel.season{min-height:49px;padding:5px}.d146-court-panel{margin-top:6px;padding:6px}.d145-court-head{margin-bottom:2px}.d145-bottom{margin-top:5px;min-height:49px}.d145-spin-button,.d145-open{min-height:49px;}.d146-drawer.is-half{transform:translate(-50%,calc(100% - 64dvh));}}
@media (max-width:355px){.d146-draw-label{font-size:9px}.d145-reel strong{font-size:13px}.d146-court-title strong{font-size:11px}.d146-quota span{padding:4px 5px}.d145-top small{font-size:9px}.d145-sheet-handle span{font-size:11px}.d146-statextra{gap:10px}}
@media(prefers-reduced-motion:reduce){.d146-drawer,.d146-drawer-backdrop{transition:none!important}.d145-valid-slot rect{animation:none!important}}
.d146-drawer .d145-player[hidden]{display:none!important}
.d146-drawer.is-unavailable{opacity:0;pointer-events:none;}
.d146-drawer.is-available{opacity:1;}
.d145-screen button:focus-visible,.d146-drawer button:focus-visible,.d146-drawer input:focus-visible{outline:3px solid #FFD79D;outline-offset:3px;}
.d146-drawer .d145-player[disabled]{cursor:not-allowed;}
/* Closed means genuinely off-screen; the prominent SELECT PLAYER button reopens it. */
.d146-drawer.is-closed{transform:translate(-50%,105%);opacity:0;pointer-events:none;}
