/* NextGen FF manager app. Light by default, field-green accents; dark follows the device. */
:root{
  color-scheme:light;
  --bg:#f3f5f3;--surface:#ffffff;--surface-2:#f0f4f1;--raise:#e5ece7;
  --line:#dde4df;--line-2:#c4cfc8;
  --fg:#132018;--muted:#5b6f62;--faint:#8b9b90;
  --accent:#128a48;--accent-2:#0d6b37;--accent-ink:#ffffff;--accent-wash:rgba(18,138,72,.1);
  --turf:#e4f2e9;--warn:#a16207;--warn-wash:rgba(240,181,74,.16);--bad:#c2410c;--bad-wash:rgba(194,65,12,.1);
  --live:#0369a1;--proj:#a16207;
  --p-QB:#c2410c;--p-RB:#0369a1;--p-WR:#6d28d9;--p-TE:#b45309;--p-K:#4b5563;--p-DL:#be185d;--p-LB:#854d0e;--p-DB:#047857;--p-W:#047857;--p-D:#6d28d9;--p-UTIL:#4b5563;--p-1B:#0369a1;--p-2B:#6d28d9;--p-3B:#047857;--p-SS:#b45309;--p-OF:#be185d;--p-P:#c2410c;--p-PG:#0369a1;--p-SG:#6d28d9;--p-SF:#047857;--p-PF:#b45309;--p-C:#be185d;--p-G:#0369a1;--p-F:#047857;
  --f-display:"Rubik","Segoe UI",system-ui,sans-serif;
  --f-body:"Rubik","Segoe UI",system-ui,sans-serif;
  --f-mono:"Rubik","Segoe UI",system-ui,sans-serif;
  --shadow:0 1px 2px rgba(0,0,0,.05);
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){color-scheme:dark;
  --bg:#070b08;--surface:#0e1611;--surface-2:#141f18;--raise:#1a2920;--line:#22352a;--line-2:#2f4838;
  --fg:#e8f0ea;--muted:#8ea596;--faint:#5c7664;--accent:#34d27b;--accent-2:#1d9a55;--accent-ink:#04150a;--accent-wash:rgba(52,210,123,.12);
  --turf:#0c2a18;--warn:#f0b54a;--warn-wash:rgba(240,181,74,.12);--bad:#ff6b5e;--bad-wash:rgba(255,107,94,.12);--live:#38bdf8;--proj:#facc15;
  --p-QB:#ff7f70;--p-RB:#62cff8;--p-WR:#c6a4ff;--p-TE:#ffb45e;--p-K:#b5c2ba;--p-DL:#ff92c8;--p-LB:#f2dc5d;--p-DB:#7fe3b8;--p-W:#7fe3b8;--p-D:#c6a4ff;--p-UTIL:#b5c2ba;--p-1B:#62cff8;--p-2B:#c6a4ff;--p-3B:#7fe3b8;--p-SS:#ffb45e;--p-OF:#ff92c8;--p-P:#ff7f70;--p-PG:#62cff8;--p-SG:#c6a4ff;--p-SF:#7fe3b8;--p-PF:#ffb45e;--p-C:#ff92c8;--p-G:#62cff8;--p-F:#7fe3b8;--shadow:none}}
:root[data-theme="dark"]{color-scheme:dark;
  --bg:#070b08;--surface:#0e1611;--surface-2:#141f18;--raise:#1a2920;--line:#22352a;--line-2:#2f4838;
  --fg:#e8f0ea;--muted:#8ea596;--faint:#5c7664;--accent:#34d27b;--accent-2:#1d9a55;--accent-ink:#04150a;--accent-wash:rgba(52,210,123,.12);
  --turf:#0c2a18;--warn:#f0b54a;--warn-wash:rgba(240,181,74,.12);--bad:#ff6b5e;--bad-wash:rgba(255,107,94,.12);--live:#38bdf8;--proj:#facc15;
  --p-QB:#ff7f70;--p-RB:#62cff8;--p-WR:#c6a4ff;--p-TE:#ffb45e;--p-K:#b5c2ba;--p-DL:#ff92c8;--p-LB:#f2dc5d;--p-DB:#7fe3b8;--p-W:#7fe3b8;--p-D:#c6a4ff;--p-UTIL:#b5c2ba;--p-1B:#62cff8;--p-2B:#c6a4ff;--p-3B:#7fe3b8;--p-SS:#ffb45e;--p-OF:#ff92c8;--p-P:#ff7f70;--p-PG:#62cff8;--p-SG:#c6a4ff;--p-SF:#7fe3b8;--p-PF:#ffb45e;--p-C:#ff92c8;--p-G:#62cff8;--p-F:#7fe3b8;--shadow:none}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--fg);font-family:var(--f-body);font-size:14px;line-height:1.45;min-height:100vh}
a{color:var(--accent)}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
[hidden]{display:none!important}
h1,h2,h3{font-family:var(--f-display);margin:0;text-wrap:balance;line-height:1.05}
h1{font-size:clamp(26px,4vw,34px);font-weight:700}
h2{font-size:22px;font-weight:700}
h3{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
p{margin:0}
.boot{padding:40px;color:var(--muted)}
.muted{color:var(--muted)}.faint{color:var(--faint)}
.num{font-family:var(--f-mono);font-variant-numeric:tabular-nums;font-size:13px}
.eyebrow{font-family:var(--f-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ---------------------------------------------------------------- shell */
.top{position:sticky;top:0;z-index:20;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:var(--shadow)}
.top-in{max-width:1180px;margin:0 auto;padding:9px 16px;display:flex;align-items:center;gap:14px}
.brand{display:flex;align-items:center;gap:8px;font-family:var(--f-display);font-weight:800;font-size:19px;text-transform:uppercase;letter-spacing:.02em;color:var(--fg);text-decoration:none;flex:none}
.brand svg{width:20px;height:22px;flex:none}
.brand em{font-style:normal;color:var(--accent)}
.league-switch{min-width:0;flex:1 1 160px;max-width:300px}
.league-switch select{font-weight:600;padding:6px 28px 6px 10px;font-size:14px;background:var(--surface-2)}
.top-right{margin-left:auto;display:flex;align-items:center;gap:8px;flex:none}
.who{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.avatar{width:28px;height:28px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;font-weight:700;font-size:12px;flex:none}
.xlink{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:6px;background:var(--accent);color:var(--accent-ink);font-family:var(--f-display);font-weight:800;font-size:14px;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;white-space:nowrap}
.xlink:hover{background:var(--accent-2)}
.xlink.alt{background:var(--surface-2);color:var(--fg);border:1px solid var(--line-2)}
.tabs{max-width:1180px;margin:0 auto;padding:0 16px;display:flex;gap:2px;overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tab{position:relative;background:none;border:0;padding:9px 13px;cursor:pointer;color:var(--muted);font-weight:600;font-size:14px;white-space:nowrap;border-bottom:3px solid transparent;text-decoration:none}
.tab:hover{color:var(--fg)}
.tab[aria-current="page"]{color:var(--fg);border-bottom-color:var(--accent)}
.badge{display:inline-grid;place-items:center;min-width:17px;height:17px;padding:0 5px;margin-left:6px;border-radius:999px;background:var(--bad);color:#fff;font-family:var(--f-mono);font-size:11px;font-weight:700;vertical-align:1px}
.strip{background:var(--surface-2);border-bottom:1px solid var(--line)}
.strip-in{max-width:1180px;margin:0 auto;padding:6px 16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px}
.wk{display:flex;align-items:center;gap:6px}
.wk button,.wk a{width:28px;height:28px;border-radius:6px;border:1px solid var(--line-2);background:var(--surface);display:grid;place-items:center;cursor:pointer;color:var(--fg);text-decoration:none}
.wk button:disabled{opacity:.35;cursor:default}
.wk b{font-family:var(--f-display);font-size:17px;font-weight:700;min-width:72px;text-align:center}
.wk select{padding:4px 24px 4px 8px;font-weight:700;font-family:var(--f-display);font-size:16px;border:0;background:transparent;width:auto}
.strip .sub{color:var(--muted);min-width:0;flex:1 1 160px}
.strip .live{color:var(--live);font-weight:600;display:flex;align-items:center;gap:6px}
main{max-width:1180px;margin:0 auto;padding:16px 16px 64px;display:flex;flex-direction:column;gap:14px}
main.cols{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}
@media (max-width:900px){main.cols{grid-template-columns:minmax(0,1fr)}.rail{order:2}}
.col{display:flex;flex-direction:column;gap:14px;min-width:0}
.rail{display:flex;flex-direction:column;gap:14px;min-width:0}

/* ---------------------------------------------------------------- controls */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 13px;border-radius:6px;border:1px solid var(--line-2);background:var(--surface-2);cursor:pointer;font-weight:600;font-size:13.5px;white-space:nowrap;text-decoration:none;color:var(--fg);transition:background .15s,border-color .15s}
.btn:hover{border-color:var(--accent);background:var(--raise)}
.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.btn.primary:hover{background:var(--accent-2);border-color:var(--accent-2)}
.btn.danger{border-color:var(--bad);color:var(--bad);background:var(--bad-wash)}
.btn.ghost{background:transparent}
.btn.sm{padding:4px 9px;font-size:12.5px}
.btn.lg{padding:12px 20px;font-size:15px}
.btn:disabled{opacity:.4;cursor:not-allowed}
.btns{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.link{background:none;border:0;padding:0;color:var(--accent);font-weight:600;font-size:13px;cursor:pointer;text-decoration:none}
.link:hover{text-decoration:underline}
input:not([type]),input[type=text],input[type=email],input[type=password],input[type=number],input[type=url],input[type=search],select,textarea{background:var(--surface);border:1px solid var(--line-2);border-radius:6px;padding:8px 10px;width:100%;min-width:0;font-size:15px;letter-spacing:normal;text-transform:none;color:var(--fg)}
textarea{min-height:90px;resize:vertical}
input:disabled,select:disabled{opacity:.5}
label.f{display:flex;flex-direction:column;gap:5px;font-size:11.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-weight:600}
label.f small{text-transform:none;letter-spacing:0;font-weight:400;color:var(--faint);font-size:12px}
.fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.span-all{grid-column:1/-1}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:14px;display:flex;flex-direction:column;gap:12px;min-width:0;box-shadow:var(--shadow)}
.panel.flush{padding:0;gap:0}
.panel-h{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.panel.flush>.panel-h{padding:10px 14px;border-bottom:1px solid var(--line)}
.panel.flush>.panel-b{padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.grid2{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
@media(min-width:980px){.grid2{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}.grid2.even{grid-template-columns:1fr 1fr}}
.stack{display:flex;flex-direction:column;gap:14px;min-width:0}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.copy-row{display:flex;gap:8px}
.copy-row input{font-family:var(--f-mono)}
.tbl-wrap .roster-select{min-width:220px}
.check-row{display:flex;align-items:flex-start;gap:10px;cursor:pointer}
.check-row input{flex:none;margin-top:5px;accent-color:var(--accent)}
details>summary{cursor:pointer;font-weight:600;color:var(--muted)}
details>summary:hover{color:var(--fg)}

/* chips, pills */
.pos{--c:var(--p-K);display:inline-block;min-width:30px;text-align:center;font-family:var(--f-mono);font-size:11px;font-weight:600;padding:1px 5px;border-radius:4px;color:var(--c);background:color-mix(in srgb,var(--c) 12%,transparent);border:1px solid color-mix(in srgb,var(--c) 30%,transparent)}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.fchip{border:1px solid var(--line-2);background:var(--surface);border-radius:999px;padding:5px 11px;font-size:12.5px;font-weight:600;cursor:pointer;color:var(--muted);font-family:var(--f-mono)}
.fchip[aria-pressed="true"]{background:var(--accent-wash);border-color:var(--accent);color:var(--accent)}
.tag{display:inline-block;font-family:var(--f-mono);font-size:10.5px;padding:1px 7px;border-radius:999px;border:1px solid var(--accent);color:var(--accent);background:var(--accent-wash);white-space:nowrap;font-weight:600}
.tag.warn{border-color:var(--warn);color:var(--warn);background:var(--warn-wash)}
.tag.bad{border-color:var(--bad);color:var(--bad);background:var(--bad-wash)}
.tag.dim{border-color:var(--line-2);color:var(--muted);background:transparent}
.pill{display:inline-block;font-size:11px;padding:1px 7px;border-radius:999px;border:1px solid var(--line-2);color:var(--muted);white-space:nowrap}
.inj{font-size:10px;font-weight:700;color:var(--bad);border:1px solid var(--bad);border-radius:3px;padding:0 3px;line-height:1.4}
.inj.q{color:var(--warn);border-color:var(--warn)}

/* tables */
.tbl-wrap{overflow:auto;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
.tbl-wrap.tall{max-height:640px}
.tbl-wrap.bare{border:0;border-radius:0}
table{border-collapse:collapse;width:100%}
th{position:sticky;top:0;background:var(--surface-2);text-align:left;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600;padding:8px 10px;border-bottom:1px solid var(--line);white-space:nowrap;z-index:1}
td{padding:8px 10px;border-bottom:1px solid var(--line);vertical-align:middle}
tr:last-child td{border-bottom:0}
tbody tr:hover td{background:color-mix(in srgb,var(--accent) 4%,transparent)}
td.r,th.r{text-align:right}
td.act,th.act{text-align:right;white-space:nowrap}
tr.section td{background:var(--surface-2);font-family:var(--f-mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding:6px 10px;font-weight:600}
tr.mine td{background:var(--accent-wash)}
tr.target td{background:var(--accent-wash);cursor:pointer}
tr.moving td{background:var(--warn-wash)}
.pname{font-weight:600}
.sub{font-size:12px;color:var(--muted);font-family:var(--f-mono)}
.empty{color:var(--faint);font-style:italic}
.hide-m{display:table-cell}
@media (max-width:640px){.hide-m{display:none}}

/* ---------------------------------------------------------------- team / roster board */
.team-hero{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.logo{width:56px;height:56px;border-radius:10px;background:linear-gradient(135deg,var(--accent),var(--accent-2));display:grid;place-items:center;font-family:var(--f-display);font-weight:800;font-size:22px;color:#fff;flex:none;overflow:hidden}
.logo img{width:100%;height:100%;object-fit:contain;background:#fff}
.team-hero h2{font-size:26px}
.team-hero .mgr{color:var(--muted);font-size:13px}
.kpis{display:flex;gap:18px;margin-left:auto;flex-wrap:wrap}
.kpi{display:flex;flex-direction:column;gap:1px}
.kpi b{font-family:var(--f-mono);font-size:17px;font-weight:600}
.kpi span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.kpi.bad b{color:var(--bad)}
@media (max-width:640px){.kpis{margin-left:0;width:100%}}
.hint{font-size:12.5px;color:var(--muted);padding:8px 14px;border-bottom:1px solid var(--line);display:flex;gap:10px;align-items:center;min-height:38px;flex-wrap:wrap}
.hint.on{color:var(--fg);background:var(--accent-wash)}
.hint.bad{color:var(--bad);background:var(--bad-wash)}
.roster{width:100%;border-collapse:collapse}
.roster th{position:static;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:600;text-align:left;padding:7px 8px;border-bottom:1px solid var(--line);white-space:nowrap;background:var(--surface)}
.roster td{padding:0 8px;height:52px;border-bottom:1px solid var(--line);vertical-align:middle}
.roster tr:last-child td{border-bottom:0}
.roster th.r,.roster td.r{text-align:right}
.roster tr.sec td{height:30px;background:var(--surface-2);font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:600}
.roster tbody tr:hover td{background:transparent}
.roster tr.dim td{opacity:.4}
.roster tr.bk td{height:44px;background:color-mix(in srgb,var(--surface-2) 60%,transparent)}
.slot{display:inline-grid;place-items:center;width:40px;height:30px;border-radius:6px;border:1px solid var(--line-2);background:var(--surface-2);font-family:var(--f-mono);font-size:12px;font-weight:600;cursor:pointer;color:var(--fg);padding:0;transition:border-color .1s}
.slot:hover{border-color:var(--accent)}
.slot.bn{color:var(--muted)}
.slot.bk{font-size:10.5px}
.slot.src{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.slot.ok{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-wash);animation:breathe 1.1s ease-in-out infinite}
@keyframes breathe{50%{box-shadow:0 0 0 5px var(--accent-wash)}}
.slot.lock,.slot:disabled{opacity:.45;cursor:not-allowed}
.slot.empty{border-style:dashed;color:var(--faint)}
.pl{display:flex;align-items:center;gap:10px;min-width:0}
.head{width:36px;height:36px;border-radius:50%;background:var(--raise);flex:none;display:grid;place-items:center;font-size:11px;font-weight:700;color:var(--muted);overflow:hidden}
.head img{width:100%;height:100%;object-fit:cover}
.pn{display:flex;flex-direction:column;min-width:0}
.pn b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pn .player-news-link{font-weight:600;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.pn small{color:var(--muted);font-size:12px;display:flex;gap:6px;align-items:center;white-space:nowrap}
.pts{font-family:var(--f-mono);font-variant-numeric:tabular-nums;font-size:14px}
.pts.live{color:var(--live);font-weight:600}
.pts.proj{color:var(--proj)}
.pts.fin{font-weight:600}
.pts.none{color:var(--faint)}
.st{font-size:12px;color:var(--muted);white-space:nowrap}
.st.live{color:var(--live)}
.tot{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-top:1px solid var(--line);font-size:13px;background:var(--surface-2)}
.tot b{font-family:var(--f-mono);font-size:16px}
.more{width:28px;height:28px;border-radius:6px;color:var(--muted);display:grid;place-items:center;border:0;background:none;cursor:pointer}
.more:hover{background:var(--surface-2);color:var(--fg)}
.menu{position:absolute;right:0;top:100%;z-index:15;min-width:200px;background:var(--surface);border:1px solid var(--line-2);border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,.18);padding:4px;display:flex;flex-direction:column}
.menu button,.menu a{text-align:left;padding:8px 10px;border-radius:5px;font-size:13px;font-weight:500;text-decoration:none;color:var(--fg);background:none;border:0;cursor:pointer}
.menu button:hover,.menu a:hover{background:var(--surface-2)}
.menu button.danger{color:var(--bad)}
.menu button:disabled{opacity:.4;cursor:not-allowed}
.menu-anchor{position:relative;display:inline-block}
.bar{height:5px;border-radius:3px;background:var(--surface-2);overflow:hidden;margin-top:6px}
.bar i{display:block;height:100%;background:var(--accent)}
.bar.over i{background:var(--bad)}
.meter{height:8px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line);overflow:hidden}
.meter i{display:block;height:100%;background:var(--accent)}
.meter.over i{background:var(--bad)}
.alert{display:flex;gap:10px;padding:10px 12px;border-radius:6px;background:var(--warn-wash);border:1px solid color-mix(in srgb,var(--warn) 40%,transparent);font-size:13px}
.alert b{color:var(--warn)}
.alert.bad{background:var(--bad-wash);border-color:color-mix(in srgb,var(--bad) 40%,transparent)}
.alert.bad b{color:var(--bad)}
.act{display:flex;gap:10px;align-items:flex-start;font-size:13px}
.act .ico{width:26px;height:26px;border-radius:6px;background:var(--surface-2);display:grid;place-items:center;flex:none;font-size:12px;font-weight:700;color:var(--muted)}
.act time{display:block;font-size:11.5px;color:var(--faint)}
.lcard{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);text-decoration:none;color:var(--fg)}
a.lcard:hover{border-color:var(--accent)}
.card-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:12px}
.facts{display:flex;gap:14px;flex-wrap:wrap;font-family:var(--f-mono);font-size:12px;color:var(--muted)}
.note{font-size:13px;color:var(--muted);border-left:2px solid var(--line-2);padding-left:10px}
.note.warn{border-color:var(--warn);color:var(--warn)}
.note.bad{border-color:var(--bad);color:var(--bad)}
.subnav{display:flex;gap:6px;flex-wrap:wrap}
.sheet{position:fixed;inset:auto 0 0 0;z-index:30;background:var(--surface);border-top:1px solid var(--line-2);padding:14px 16px;box-shadow:0 -12px 40px rgba(0,0,0,.25);display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:14px}
.sheet .btns{margin-left:auto}
.sheet.bad{border-top-color:var(--bad)}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:18px;background:var(--surface);border:1px solid var(--accent);padding:9px 14px;border-radius:7px;font-weight:600;font-size:13px;z-index:50;max-width:calc(100% - 32px);box-shadow:0 8px 24px rgba(0,0,0,.18)}
.toast.bad{border-color:var(--bad);color:var(--bad)}

/* scoreboard (legacy board-hero kept for draft view) */
.board-hero{position:relative;overflow:hidden;border-radius:10px;border:1px solid var(--accent);background:linear-gradient(135deg,var(--turf),var(--surface));padding:18px;display:flex;flex-wrap:wrap;gap:18px;align-items:flex-end;justify-content:space-between}
.board-hero.idle{border-color:var(--line-2)}
.big{font-family:var(--f-display);font-weight:800;font-size:clamp(26px,4.5vw,40px);line-height:.95;overflow-wrap:anywhere}
.meta{display:flex;gap:22px;flex-wrap:wrap}
.stat{display:flex;flex-direction:column;gap:2px}
.stat b{font-family:var(--f-mono);font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}
.stat span{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
.live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--live);margin-right:6px;animation:pulse 1.6s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--live) 60%,transparent)}70%{box-shadow:0 0 0 8px transparent}100%{box-shadow:0 0 0 0 transparent}}

/* matchup */
.mu-head{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;padding:16px 14px}
.mu-side{display:flex;flex-direction:column;gap:3px;min-width:0}
.mu-side.away{text-align:right;align-items:flex-end}
.mu-side .nm{font-family:var(--f-display);font-size:22px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.mu-side .rec{color:var(--muted);font-size:12.5px}
.mu-side .sc{font-family:var(--f-mono);font-size:36px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.mu-side .sc.live{color:var(--live)}.mu-side .sc.proj{color:var(--proj)}
.mu-side .pj{font-size:12px;color:var(--muted)}
.mu-mid{display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--faint);font-family:var(--f-display);font-weight:800}
.mu{width:100%;border-collapse:collapse}
.mu td{padding:0 10px;height:50px;border-bottom:1px solid var(--line);vertical-align:middle}
.mu tr:last-child td{border-bottom:0}
.mu tbody tr:hover td{background:transparent}
.mu td.c{text-align:center;width:46px;padding:0}
.mu td.l{text-align:right}
.mu td.l .pl{flex-direction:row-reverse}
.mu td.l .pn{align-items:flex-end}
.mu td.n{width:64px;text-align:right}
.mu td.l.n{text-align:left}
.mu .pts{display:block;font-size:15px}
.mu .st{display:block;white-space:normal}
.mu tr.sec td{height:30px;background:var(--surface-2);font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:600;text-align:center}
@media (max-width:640px){.mu .head{display:none}.mu-side .nm{font-size:18px}.mu-side .sc{font-size:28px}}
.score-list{display:flex;flex-direction:column}
.sg{display:grid;grid-template-columns:1fr;gap:3px;padding:10px 14px;border-bottom:1px solid var(--line);text-decoration:none;color:inherit;cursor:pointer}
.sg:last-child{border-bottom:0}
.sg:hover{background:var(--surface-2)}
.sg .t{display:flex;justify-content:space-between;gap:8px;min-width:0}
.sg .t b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg .t span.rec{color:var(--muted);font-size:12px;margin-left:6px}
.sg .t .n{font-family:var(--f-mono);font-variant-numeric:tabular-nums;color:var(--muted)}
.sg .t.w .n{color:var(--fg);font-weight:600}
.sg small{font-size:11.5px;color:var(--muted)}
.sg small.live{color:var(--live)}
.sg.mine{border-left:3px solid var(--accent)}

/* standings */
.tbl .rk{color:var(--muted);width:28px}
.tbl .clinch{font-size:10px;color:var(--accent);font-weight:700;margin-left:4px}

/* ---------------------------------------------------------------- auth, home */
.auth-wrap{min-height:calc(100vh - 60px);display:grid;place-items:center;padding:24px 16px}
.auth{width:100%;max-width:440px}
.seg{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line-2);border-radius:8px;overflow:hidden}
.seg button{background:none;border:0;padding:9px;cursor:pointer;color:var(--muted);font-weight:600}
.seg button[aria-pressed="true"]{background:var(--accent-wash);color:var(--accent)}
.google{background:#fff;color:#1f1f1f;border-color:#c4cfc8}
.google:hover{background:#ececec;border-color:#ececec}
.divider{display:flex;align-items:center;gap:10px;color:var(--faint);font-size:12px;text-transform:uppercase;letter-spacing:.1em}
.divider::before,.divider::after{content:"";flex:1;height:1px;background:var(--line-2)}
.home-hero{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.league-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);text-decoration:none;color:inherit}
.league-card:hover{border-color:var(--accent)}
.league-card .nm{font-family:var(--f-display);font-size:20px;font-weight:700}
@media (max-width:520px){.league-card{grid-template-columns:auto minmax(0,1fr)}.league-card .btn{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.live-dot,.slot.ok{animation:none}*{transition:none!important}}
@media(pointer:coarse){.btn,.btn.sm,.tab,.fchip,.seg button,select,summary,.pick-list label,.check-row,.more{min-height:40px}.slot{height:34px}.pick-list input{flex-shrink:0}}
@media(max-width:480px){
  .top-in{gap:8px;flex-wrap:wrap}
  .league-switch{order:3;flex-basis:100%;max-width:none}
  .who span{display:none}
  main{padding:12px 12px 48px}
  .panel{padding:12px}
  .auth-wrap{padding:16px 0}
  .fields{grid-template-columns:minmax(0,1fr)!important}
  .fields>*{grid-column:1/-1!important;min-width:0} /* a field spanning 2 columns would otherwise add a second column and squeeze the first */
  .copy-row{flex-wrap:wrap}
  .copy-row input{flex:1 1 180px}
  .btn{white-space:normal;text-align:center;max-width:100%}
  .panel p,.trade,.lcard{overflow-wrap:anywhere}
}

/* ---------------------------------------------------------------- trades, draft, players (existing views) */
.trade{border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:14px;display:flex;flex-direction:column;gap:10px}
.trade-sides{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
@media(max-width:640px){.trade-sides{grid-template-columns:minmax(0,1fr)}}
.trade ul{margin:0;padding-left:18px}
.pick-list{display:flex;flex-direction:column;gap:6px;max-height:340px;overflow:auto}
.pick-list label{display:flex;gap:8px;align-items:center;font-size:14px;cursor:pointer}
.pick-list input{width:auto;accent-color:var(--accent)}
.player-news-link{display:inline-flex;align-items:center;gap:10px;background:transparent;border:0;color:inherit;font:inherit;font-weight:600;padding:0;cursor:pointer;text-align:left}.player-news-link:hover span:first-child{text-decoration:underline}.player-photo{width:36px;height:36px;object-fit:cover;border-radius:50%;background:var(--raise);flex-shrink:0}.player-initials{display:grid;place-items:center;font-size:11px;color:var(--muted)}.player-sort{font:inherit;color:inherit;background:transparent;border:0;cursor:pointer;padding:0;text-align:inherit;white-space:nowrap;font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:600}.player-news-dialog{color:var(--fg);background:var(--surface);border:1px solid var(--line-2);border-radius:12px;padding:24px;width:min(620px,92vw);max-height:85vh;overflow:auto}.player-news-dialog::backdrop{background:rgba(0,0,0,.6)}.player-news-dialog a{color:var(--accent)}.player-news-dialog li{margin:20px 0}.player-news-dialog small{display:block;margin-top:6px}.news-close{float:right;cursor:pointer;min-height:40px}.player-pagination{display:flex;align-items:center;gap:14px;margin:12px 0 0;font-size:13px;color:var(--muted)}.player-meta{display:block;font-size:11.5px;color:var(--muted)}
.filterbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.filterbar input,.filterbar select{width:auto;min-width:140px;padding:6px 9px;font-size:14px}
.filterbar input[type=search]{flex:1 1 180px}
#playerRosterActionMount .card,#playerRosterActionMount section{background:var(--surface);border:1px solid var(--accent);border-radius:8px;padding:14px;margin:0 0 12px;display:flex;flex-direction:column;gap:10px}
#playerRosterActionMount button{display:inline-flex;align-items:center;padding:7px 12px;border-radius:6px;border:1px solid var(--line-2);background:var(--surface-2);cursor:pointer;font-weight:600;font-size:13px;color:var(--fg)}
#playerRosterActionMount button.primary,#playerRosterActionMount [data-confirm-drop],#playerRosterActionMount [data-confirm-claim]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
#playerRosterActionMount h2{font-size:20px}
.roster-table button.primary,.roster-table a.primary{display:inline-flex;align-items:center;padding:4px 10px;border-radius:6px;border:1px solid var(--accent);background:var(--accent);color:var(--accent-ink);cursor:pointer;font-weight:600;font-size:12.5px;text-decoration:none}
.roster-table button[data-player-roster-action="drop"]{padding:4px 10px;border-radius:6px;border:1px solid var(--bad)!important;background:var(--bad-wash)!important;color:var(--bad)!important;cursor:pointer;font-weight:600;font-size:12.5px}
.slot-tag{display:inline-block;font-family:var(--f-mono);font-size:11px;padding:1px 6px;border-radius:4px;border:1px solid var(--line-2)}
.draft-rank-row{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.draft-rank-row>span{flex:1;min-width:140px}.draft-rank-row input{width:72px}.draft-rank-list{max-height:420px;overflow:auto}.draft-rank-actions{display:flex;gap:6px;flex-wrap:wrap}
.draft-turn-strip{position:sticky;top:var(--draft-header-height,96px);z-index:10;display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px;padding:12px 16px;background:var(--surface);border:2px solid var(--accent);border-radius:8px;box-shadow:0 5px 22px rgba(0,0,0,.15);color:var(--fg)}
.draft-turn-strip strong{font-family:var(--f-display);font-size:clamp(20px,4vw,28px);line-height:1.1;color:var(--accent)}
.draft-turn-strip span{font-weight:700;font-size:18px;flex:1;overflow-wrap:anywhere}
.draft-turn-strip b{font-size:26px}.draft-manager{font-size:16px;font-weight:700}.draft-turn-strip.your-pick{animation:draft-turn-pulse 1.5s ease-in-out infinite}.draft-turn-strip.urgent b{color:var(--warn)}
@keyframes draft-turn-pulse{0%,100%{box-shadow:0 0 0 0 var(--accent-wash)}50%{box-shadow:0 0 0 6px var(--accent-wash)}}
@media(prefers-reduced-motion:reduce){.draft-turn-strip.your-pick{animation:none}}

/* ---------------------------------------------------------------- Shuffle (separate game) */
.shuffle-top{background:linear-gradient(180deg,var(--turf),var(--surface));border-bottom:1px solid var(--line)}
.shuffle-wire{display:flex;align-items:center;gap:14px;overflow:hidden;padding:7px 16px;border-bottom:1px solid var(--line);background:var(--surface-2);color:var(--fg);text-decoration:none;font-size:12px;white-space:nowrap}
.shuffle-wire>span{font-family:var(--f-mono);font-size:10px;letter-spacing:.12em;color:var(--accent);flex:none}
.shuffle-window{min-width:0;flex:1;overflow:hidden}.shuffle-track{display:flex;gap:18px;width:max-content;animation:shuffle-wire 28s linear infinite}
.shuffle-wire i{color:var(--faint);font-style:normal}
@keyframes shuffle-wire{from{transform:translateX(0)}to{transform:translateX(-35%)}}
.shuffle-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;padding:20px;border:1px solid var(--accent);border-radius:10px;background:linear-gradient(135deg,var(--turf),var(--surface))}
.shuffle-hero p{max-width:680px;color:var(--muted)}
.shuffle-week{display:grid;gap:2px;text-align:right}
.shuffle-week small{font-family:var(--f-mono);font-size:10px;letter-spacing:.12em;color:var(--accent)}
.shuffle-week b{font-family:var(--f-display);font-size:28px;text-transform:uppercase}
.shuffle-week span{font-size:12px;color:var(--muted)}
.shuffle-entry-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.shuffle-entry-card{min-width:0;min-height:88px;border:1px solid var(--line-2);border-radius:8px;background:var(--surface);color:var(--fg);padding:10px;display:grid;gap:3px;text-align:left;cursor:pointer}
.shuffle-entry-card.active{border-color:var(--accent);background:var(--accent-wash)}
.shuffle-entry-card.empty{border-style:dashed;color:var(--muted)}
.shuffle-entry-card span{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shuffle-entry-card b{font-family:var(--f-mono);font-size:18px}.shuffle-entry-card small{color:var(--muted)}
.shuffle-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:18px;align-items:start}
.shuffle-main{min-width:0}.shuffle-roster{position:sticky;top:96px}
.shuffle-team{padding:18px 0 8px;border-top:1px solid var(--line)}
.shuffle-team-name{display:block;background:none;border:0;padding:0;color:var(--fg);font-family:var(--f-display);font-size:clamp(40px,8vw,72px);font-weight:800;line-height:.9;cursor:pointer;text-transform:uppercase}
.shuffle-team-name:hover{color:var(--accent)}
.shuffle-team-row{display:flex;align-items:center;gap:10px 22px;flex-wrap:wrap}
.shuffle-player-list{display:flex;flex-direction:column;gap:8px}
.shuffle-player{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:10px;background:var(--surface);min-width:0}
.shuffle-player>div:first-child{min-width:0}.shuffle-player small{display:block;color:var(--muted);font-size:11px;margin:3px 0 0 40px}
.shuffle-player.disabled{opacity:.42}.shuffle-player.disabled .btn{pointer-events:none}
.shuffle-slots{display:flex;flex-direction:column;gap:6px}
.shuffle-slot{display:grid;grid-template-columns:46px minmax(0,1fr);gap:2px 8px;padding:8px 10px;border:1px dashed var(--line-2);border-radius:6px;align-items:center}
.shuffle-slot>span{grid-row:1/3;font-family:var(--f-mono);font-size:11px;color:var(--accent)}.shuffle-slot b{font-size:13px}.shuffle-slot small{font-size:11px;color:var(--muted)}
.shuffle-slot.filled{border-style:solid;background:var(--surface)}.shuffle-slot.needs{border-color:var(--warn);background:var(--warn-wash)}
.shuffle-slot.filled{grid-template-columns:38px minmax(0,1fr) 60px}
.shuffle-slot .shuffle-roster-points{grid-column:3;grid-row:1/3;text-align:right;font-family:var(--f-mono)}
.shuffle-slot .shuffle-roster-points b{display:block;font-size:15px}
.shuffle-slot .shuffle-roster-points small{color:inherit;font-size:10px}
.shuffle-slot .shuffle-kickoff{grid-column:2/4;line-height:1.5;white-space:normal}
.shuffle-score-legend{font-size:11px;line-height:1.6}
.shuffle-score{margin-top:10px;padding-top:10px;border-top:1px solid var(--line-2);display:flex;justify-content:space-between;align-items:end}.shuffle-score strong{font-family:var(--f-display);font-size:34px}.shuffle-score span{color:var(--muted)}
.shuffle-opt{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted)}.shuffle-opt b{color:var(--fg)}
.shuffle-history{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.shuffle-history-row{display:grid;grid-template-columns:70px 48px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid var(--line)}
.shuffle-complete{display:grid;gap:12px;padding:22px 0}.shuffle-complete .big{color:var(--accent)}
.shuffle-boards,.shuffle-login-boards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.shuffle-boards>div,.shuffle-login-boards>div{min-width:0}.shuffle-boards h3,.shuffle-login-boards h3{margin-bottom:8px}
.shuffle-mini-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:8px;padding:6px 0;border-bottom:1px solid var(--line)}
.shuffle-login{margin:18px auto 0;max-width:1100px}.shuffle-login-boards{margin-top:8px}
.shuffle-home{border-color:var(--accent)}
@media(max-width:900px){.shuffle-workspace{grid-template-columns:minmax(0,1fr)}.shuffle-roster{position:static}.shuffle-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shuffle-boards,.shuffle-login-boards{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.shuffle-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shuffle-player{align-items:flex-start;flex-direction:column}.shuffle-week{text-align:left}.shuffle-history-row{grid-template-columns:58px 42px minmax(0,1fr)}.shuffle-history-row .tag{grid-column:3}.shuffle-track{animation-duration:22s}}
@media(prefers-reduced-motion:reduce){.shuffle-track{animation:none}}
.shuffle-report{margin-left:5px;border:0;background:transparent;color:var(--faint);font-size:10px;cursor:pointer;padding:2px 4px}.shuffle-report:hover{color:var(--warn)}
.shuffle-rules summary{cursor:pointer;color:var(--fg)}.shuffle-rules-body{display:grid;gap:10px;margin-top:12px;color:var(--muted)}
.shuffle-entry-card.shuffle-entry-next{border:2px solid var(--accent);background:var(--accent-wash);min-height:104px;cursor:pointer}
.shuffle-entry-card.shuffle-entry-next:hover{box-shadow:0 0 0 3px var(--accent-wash)}
.shuffle-build-cta{display:grid;place-items:center;min-height:40px;padding:8px 9px;color:var(--accent-ink);border-radius:6px;background:var(--accent);font-size:15px!important;font-weight:800;font-family:var(--f-body);text-align:center}
.shuffle-entry-future{color:var(--faint);font-size:12px;font-weight:500}
.shuffle-player-group{display:grid;gap:10px;margin:8px 0 18px}
.shuffle-player-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:10px}
.shuffle-player-card{display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:12px;border:1px solid var(--line-2);background:var(--surface);color:var(--fg);border-radius:10px;cursor:pointer;text-align:left;min-height:190px;transition:border-color .14s,background .14s}
.shuffle-player-card:hover:not(:disabled){border-color:var(--accent);background:var(--accent-wash)}
.shuffle-player-card:focus-visible{outline:2px solid var(--accent)}
.shuffle-player-card.disabled{opacity:.38;cursor:not-allowed}
.shuffle-player-photo{position:relative;display:grid;place-items:center;width:72px;height:72px;overflow:hidden;border-radius:9px;background:var(--raise);border:1px solid var(--line-2)}
.shuffle-player-photo img{position:relative;z-index:2;width:100%;height:100%;object-fit:cover}
.shuffle-player-initials{position:absolute;font-family:var(--f-display);font-size:30px;color:var(--accent);font-weight:800}
.shuffle-card-info{display:grid;gap:5px;flex:1}
.shuffle-card-name{font-size:15px;font-weight:700;line-height:1.2}
.shuffle-card-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.shuffle-role{color:var(--muted);font-size:11px;font-family:var(--f-mono)}
.shuffle-role.primary{color:var(--accent);font-weight:700}
.shuffle-proj{color:var(--fg);font-size:12px;font-family:var(--f-mono)}
.shuffle-card-action{display:flex;align-items:center;justify-content:space-between;padding-top:8px;margin-top:auto;border-top:1px solid var(--line);font-size:12px;font-weight:700;color:var(--accent)}
.shuffle-card-action.unavailable{color:var(--faint)}
.shuffle-slot-picker{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(430px,calc(100vw - 24px));z-index:60;display:grid;gap:8px;padding:24px;background:var(--surface);border:2px solid var(--accent);border-radius:10px;box-shadow:0 0 0 100vmax rgba(0,0,0,.55),0 28px 60px rgba(0,0,0,.5)}
.shuffle-slot-picker[hidden]{display:none}
.shuffle-slot-picker p{color:var(--muted)}
.shuffle-slot-picker .btn.primary{min-width:84px;font-size:15px}
.shuffle-slot-picker .btns{margin-top:8px}
.shuffle-roster .shuffle-slot>span{color:var(--accent)}
@media(max-width:500px){.shuffle-player-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shuffle-player-card{min-height:185px;padding:9px}.shuffle-player-photo{width:58px;height:58px}.shuffle-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.shuffle-health{font-size:11px;font-family:var(--f-mono);color:var(--muted)}
.shuffle-health.injury{color:var(--warn);font-weight:700}
.shuffle-player-card.disabled .shuffle-card-action.unavailable{font-size:11px;color:var(--warn);white-space:normal}
.shuffle-manager{display:inline-flex;align-items:center;gap:8px;vertical-align:middle;min-width:0}.shuffle-fan-logo{width:28px;height:28px;object-fit:contain;flex:none}.fan-groups{display:grid;gap:8px;max-height:520px;overflow:auto;margin-top:16px}.fan-group{justify-content:space-between;text-align:left}.fan-group[hidden]{display:none}.fan-lock-check{display:flex;align-items:center;gap:10px;margin:16px 0}.fan-lock-check input{width:auto}#fanFavorite select{width:100%;margin-top:12px}
.shuffle-season-stats{display:block;color:var(--muted);font-size:12px;line-height:1.4}

/* polish */
.strip .sub{font-family:var(--f-body);font-size:13px}
.panel>.btn,.panel>form>.btn{align-self:flex-start}
.roster-table th.act,.roster-table td.act{width:1%;white-space:nowrap}
.roster-table td.act .player-meta{display:inline;margin-left:6px}
.slotcell{display:inline-flex;align-items:center;gap:4px}
.addbk{width:22px;height:22px;border-radius:50%;border:1px dashed var(--line-2);background:transparent;color:var(--muted);font-weight:700;font-size:14px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0}
.addbk:hover{border-style:solid;border-color:var(--accent);color:var(--accent)}
.roster tr.bk td:first-child{padding-left:22px}
.act b.me-name{color:var(--accent)}
.act.drop .ico{color:var(--bad)}
.act.act-trade .ico{color:var(--accent)}
.recap{display:flex;flex-direction:column;gap:2px;margin:0;font-size:13px}
.recap dt{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin-top:6px}
.recap dd{margin:0}
.recap-you{padding:8px 10px;border-radius:6px;background:var(--surface-2);font-size:13.5px}
.recap-you.win{background:var(--accent-wash)}
.recap-you.loss{background:var(--bad-wash)}
.winprob{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;margin:0 14px 12px;font-size:12px;color:var(--muted)}
.winprob .bar{margin:0;height:6px;background:var(--line-2)}
.subs{display:flex;flex-direction:column;gap:6px;margin:0 14px 12px}
.sub-callout{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;background:var(--surface-2);font-size:13px}
.sub-callout.mine{background:var(--accent-wash)}
.sub-callout>div{flex:1;min-width:0}
.gain{font-weight:600}.gain.up{color:var(--accent)}.gain.down{color:var(--bad)}
.alert.info{background:var(--accent-wash);border-color:color-mix(in srgb,var(--accent) 35%,transparent)}
.alert.info span{color:var(--accent);font-weight:700}
.lockstate{margin-left:auto;font-weight:600;color:var(--fg);font-size:12.5px}
/* trade center */
.offer{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
.offer+.offer{margin-top:2px}
.offer-h{display:flex;justify-content:space-between;gap:10px;align-items:baseline;flex-wrap:wrap}
.offer-sides{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:start}
.offer-arrow{align-self:center;color:var(--faint);font-size:18px}
.asset{font-size:13px;padding:3px 0;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.rail .offer-sides{grid-template-columns:minmax(0,1fr)}.rail .offer-arrow{display:none}
@media(max-width:640px){.offer-sides{grid-template-columns:minmax(0,1fr)}.offer-arrow{display:none}}
.tb-sides{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
@media(max-width:700px){.tb-sides{grid-template-columns:minmax(0,1fr)}}
.tb-col{display:flex;flex-direction:column;gap:10px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2)}
.tb-head{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.tb-list{max-height:300px;gap:0}
.tb-row{padding:6px 4px;border-bottom:1px solid var(--line);border-radius:4px}
.tb-row:has(input:checked){background:var(--accent-wash)}
.tb-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.tb-sum{display:flex;gap:18px;flex-wrap:wrap;padding:10px 12px;border-radius:6px;background:var(--surface-2);font-size:13px}
.neg{color:var(--bad)}
/* waivers + commissioner */
.fa-status{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.fa-kpis{margin-left:0;padding-top:4px;border-top:1px solid var(--line)}
.fa-kpis .kpi{padding-top:10px}
.claim{display:flex;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}
.claim:last-child{border-bottom:0}
.claim-rank{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);font-family:var(--f-mono);font-size:12px;font-weight:600;flex:none}
.checklist{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:0}
.check{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-decoration:none;color:var(--fg)}
.check:hover{background:var(--surface-2)}
.check small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.check-mark{width:22px;height:22px;border-radius:50%;border:2px solid var(--line-2);display:grid;place-items:center;font-size:12px;font-weight:800;flex:none}
.check.done .check-mark{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.check.warn .check-mark{border-color:var(--warn);color:var(--warn)}
.tbadge{flex:none;display:inline-block;vertical-align:middle;border-radius:4px;object-fit:contain}
.team-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:inherit;min-width:0}
a.team-link:hover .pname{text-decoration:underline}
.mu-side .nm.team-link{display:flex}
.chat{display:flex;flex-direction:column;gap:8px;max-height:320px;overflow:auto}
.msg{max-width:80%;padding:8px 10px;border-radius:10px;background:var(--surface-2);font-size:13.5px;align-self:flex-start}
.msg.mine{align-self:flex-end;background:var(--accent-wash)}
.msg-h{font-size:11.5px;margin-bottom:2px}
.chat-form{display:flex;gap:8px}
.chat-form input{flex:1}
@media (max-width:640px){
  .mu{table-layout:fixed}
  .mu td{padding:0 5px}
  .mu td.n{width:50px}.mu td.c{width:40px}
  .mu .pts{font-size:13px}
  .mu .pl,.mu .pn{min-width:0;max-width:100%}
  .mu .pn b,.mu .pn small,.mu .st{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mu-head{padding:12px 10px;gap:6px}
}
.mu-head{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.mu-side .nm>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
@media (max-width:640px){.mu-side .nm{font-size:16px;gap:6px}.mu-mid{font-size:13px}}

.brand-sub{font-weight:600;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-left:8px;align-self:flex-end;padding-bottom:3px}
/* help & rules */
.howto{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px;font-size:14px}
.rule-sec{padding:10px 14px 4px;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--accent);font-weight:700;scroll-margin-top:120px}
.rule{padding:8px 14px;border-bottom:1px solid var(--line)}
.rule:last-child{border-bottom:0}
.rule summary{font-weight:600;color:var(--fg);list-style:none;display:flex;gap:8px;align-items:baseline;cursor:pointer}
.rule summary::before{content:"›";color:var(--muted);transition:transform .15s;display:inline-block}
.rule[open] summary::before{transform:rotate(90deg)}
.rule summary::-webkit-details-marker{display:none}
.rule p{margin:6px 0 2px 16px;font-size:13.5px;color:var(--fg);line-height:1.5}
mark{background:color-mix(in srgb,var(--warn) 35%,transparent);color:inherit;border-radius:2px;padding:0 1px}
/* ---------------------------------------------------------------- landing pages */
.land-nav{display:flex;gap:4px;margin-left:8px}
.land-nav a{padding:6px 10px;border-radius:6px;font-weight:600;font-size:14px;color:var(--muted);text-decoration:none}
.land-nav a:hover{color:var(--fg)}
.land-nav a[aria-current]{color:var(--fg);background:var(--surface-2)}
main.landing{display:flex;flex-direction:column;gap:28px;padding-top:28px}
.hero{display:flex;flex-direction:column;gap:14px;max-width:760px;padding:18px 0 8px}
.hero h1{font-size:clamp(38px,6vw,64px);font-weight:800;line-height:.98;letter-spacing:-.01em}
.hero .lede{font-size:17px;line-height:1.5;color:var(--fg);max-width:640px}
.feat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.feat-grid.three{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.feat{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.feat h3{text-transform:none;letter-spacing:0;font-size:18px;color:var(--fg)}
.feat p{font-size:14px;color:var(--muted);line-height:1.5;flex:1}
.feat-k{width:40px;height:40px;border-radius:8px;background:var(--accent-wash);color:var(--accent);display:grid;place-items:center;font-family:var(--f-display);font-weight:800;font-size:16px}
.land-section{padding:22px;border-radius:10px;border:1px solid var(--line);background:var(--surface)}
.land-section h2{margin-bottom:10px}
.land-section ul{margin:0;padding-left:20px;display:grid;gap:8px;font-size:15px;line-height:1.5;max-width:760px}
.land-section strong{color:var(--fg)}
.landing #pageGames{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}
.land-steps{padding:22px;border-radius:10px;background:var(--surface-2);border:1px solid var(--line)}
.land-steps h2{margin-bottom:10px}
.land-steps ol{margin:0;padding-left:22px;display:grid;gap:8px;font-size:15px;max-width:720px}
.land-boards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.land-board{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.land-board .link{margin-top:6px}
.land-cta{display:flex;flex-direction:column;gap:10px;align-items:flex-start;padding:26px;border-radius:10px;border:1px solid var(--accent);background:linear-gradient(135deg,var(--turf),var(--surface))}
.land-foot{max-width:1180px;margin:0 auto;padding:18px 16px 40px;display:flex;gap:16px;flex-wrap:wrap;font-size:12.5px;color:var(--muted)}
.land-foot a{color:var(--muted)}
@media (max-width:640px){.land-nav{display:none}.hero{padding-top:6px}.top-right .btn.sm{padding:6px 9px}}

.chip{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:2px 8px;border-radius:999px;background:var(--surface-2);color:var(--accent);border:1px solid var(--line)}
.group-card:hover{border-color:var(--accent)}

/* Shuffle landing page */
.hub-games{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.hub-game{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid var(--line,#d9ded9);border-radius:12px;background:var(--surface,#fff);color:inherit;text-decoration:none}
.hub-game:hover,.hub-game:focus-visible{border-color:var(--accent,#168a46)}
.hub-icon{font-size:30px;line-height:1}
.hub-body{display:flex;flex-direction:column;gap:3px}
.hub-body small{color:var(--muted,#5f6b64)}
.hub-status{font-size:13px;font-weight:600;margin-top:4px}
.hub-status.open{color:var(--accent,#168a46)}
.hub-status.soon{color:#b45309}
.hub-status.dim{color:var(--muted,#5f6b64);font-weight:500}
.sport-link[aria-current="page"]{outline:2px solid var(--accent,#168a46);outline-offset:1px}
.season-banner{text-align:center;padding:22px;font-size:20px}
.hub-games{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-items:start}
.hub-subset{display:flex;flex-direction:column;gap:6px;padding-left:14px;border-left:3px solid var(--line,#d9ded9)}
.hub-subset-label{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#5f6b64)}
.hub-game.sub{background:transparent}
.top-right{flex-wrap:wrap}

/* League colors: football brown, NBA orange, WNBA purple, NHL black with red, MLB red */
.sp-nfl,.sp-cfb{background:#6b4226;color:#fff;border-color:#6b4226}
.sp-nba,.sp-ncaam{background:#f58426;color:#000;border-color:#f58426}
.sp-wnba,.sp-ncaaw{background:#6a2c91;color:#fff;border-color:#6a2c91}
.sp-nhl{background:#000;color:#e0202f;border-color:#000}
.sp-mlb,.sp-cbase,.sp-csoft{background:#c8102e;color:#fff;border-color:#c8102e}
.sp-all{background:#f4f6f3;color:#13261b;border-color:#f4f6f3}
.sport-link[class*="sp-"]:hover{filter:brightness(1.12)}
.sp-chip{display:inline-block;padding:4px 10px;border-radius:999px;font-weight:700}
.sport-link[aria-current="page"]{outline:3px solid currentColor;outline-offset:2px}

/* Long usernames must not run under the score beside them */
.shuffle-mini-row{grid-template-columns:34px minmax(0,1fr) max-content;align-items:center}
.shuffle-mini-row .shuffle-manager{min-width:0;display:flex;align-items:center;gap:6px;overflow:hidden}
.shuffle-mini-row .shuffle-manager b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shuffle-mini-row .num{white-space:nowrap;text-align:right}
.hub-offseason{margin:22px 0 8px;font-size:15px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#5f6b64)}

/* ---------------------------------------------------------------- all-sports landing + phone fit */
.sport-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.sport-card{text-decoration:none;color:inherit;transition:border-color .14s}
.sport-card:hover{border-color:var(--accent)}
.sport-card.in-season{border-color:var(--accent);background:var(--accent-wash)}
.sport-card .feat-k{font-size:28px}
.sport-status{font-family:var(--f-mono);font-size:11px;color:var(--accent);letter-spacing:.04em}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
main,.panel,.shuffle-main{min-width:0}
img,svg,video{max-width:100%}
@media(max-width:900px){
  .shuffle-roster{order:-1;padding:10px 12px}
  .shuffle-roster .shuffle-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .shuffle-roster .shuffle-slot,.shuffle-roster .shuffle-slot.filled{grid-template-columns:30px minmax(0,1fr);padding:6px 8px}
  .shuffle-roster .shuffle-slot.filled .shuffle-roster-points{grid-column:2;grid-row:auto;text-align:left;display:flex;gap:6px;align-items:baseline}
  .shuffle-roster .shuffle-slot.filled .shuffle-roster-points b{display:inline;font-size:13px}
  .shuffle-roster .shuffle-slot b,.shuffle-roster .shuffle-slot small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .shuffle-roster .shuffle-slot .shuffle-kickoff{grid-column:1/-1;white-space:normal}
}
@media(max-width:560px){
  .shuffle-hero{padding:14px}
  .shuffle-hero h1{font-size:clamp(26px,9vw,38px)}
  .shuffle-team-name{font-size:clamp(30px,11vw,52px);overflow-wrap:anywhere;text-align:left}
  .shuffle-slot-picker{padding:16px}
  .shuffle-player{flex-direction:column;align-items:stretch}
  .hub-game{min-width:0}
}
@media(max-width:560px){.sport-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sport-card{padding:12px}.sport-card p{font-size:12.5px}.sport-card h3{font-size:16px}}
/* Seasonal discovery uses the same layout on the website and hosted iPhone app. */
.season-section{margin:24px 0}
.season-section>h2{font-size:22px;margin-bottom:10px}
.season-games{display:grid;gap:14px}
.landing .season-games{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}
.season-games.upcoming,.season-games.unavailable,.season-games.checking{opacity:.85}
#seasonSportNav{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.shuffle-top .top-in,.shuffle-top .top-right{flex-wrap:wrap}
.shuffle-top .top-right{min-width:0;max-width:100%}
@media(max-width:560px){.landing .season-games{grid-template-columns:repeat(2,minmax(0,1fr))}.season-section>h2{font-size:20px}#seasonSportNav .sport-link{padding:6px 9px;font-size:12px}}

/* Multiplayer practice draft lobby and board */
.practice-draft{max-width:1180px;margin-inline:auto}
.practice-draft .practice-seats{display:grid;gap:8px}
.practice-draft .practice-seat{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:var(--surface-2)}
.practice-draft .practice-current{border-color:var(--accent);background:rgba(18,138,72,.13)}
.practice-draft .practice-seat .sub{white-space:nowrap}
.practice-draft .practice-room-row{border-bottom:1px solid var(--line);padding-bottom:12px}
.practice-draft .practice-room-row:last-child{border-bottom:0;padding-bottom:0}
.practice-draft .tbl-wrap{max-height:480px;overflow:auto}
.practice-draft .tbl-wrap th{position:sticky;top:0;background:var(--surface);z-index:1}
.practice-draft .board-hero{padding:14px;border:1px solid var(--line-2);border-radius:10px;background:var(--surface-2)}
.practice-draft input[type=search]{min-width:0}
@media(max-width:600px){.practice-draft .practice-seat{flex-wrap:wrap}.practice-draft .practice-room-row .btn{width:100%}.practice-draft .board-hero .meta{flex-wrap:wrap}.practice-draft .tbl-wrap .btn{min-width:64px}}

/* Phone draw screen: compact player rows, positions that roll up, the drawn team pinned at the top. */
.shuffle-build>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;padding:2px 0}
.shuffle-build>summary::-webkit-details-marker{display:none}
.shuffle-build>summary::after{content:'▾';color:var(--muted);font-size:12px}
.shuffle-build:not([open])>summary::after{content:'▸'}
.shuffle-build-count{font-family:var(--f-mono);font-size:12px;color:var(--muted);margin-left:auto}
@media(min-width:701px){.shuffle-build>summary{display:none}}
.shuffle-help>summary{cursor:pointer;color:var(--muted);font-size:12px;list-style:none}
.shuffle-help>summary::-webkit-details-marker{display:none}
.shuffle-help>summary::before{content:'ⓘ ';}
.shuffle-pos{margin:8px 0;border:1px solid var(--line-2);border-radius:10px;background:var(--surface)}
.shuffle-pos>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;cursor:pointer;list-style:none;min-height:44px}
.shuffle-pos>summary::-webkit-details-marker{display:none}
.shuffle-pos>summary b{font-family:var(--f-display);font-size:20px;letter-spacing:.02em}
.shuffle-pos>summary span{font-family:var(--f-mono);font-size:12px;color:var(--accent)}
.shuffle-pos>summary::after{content:'▸';color:var(--muted);margin-left:8px}
.shuffle-pos[open]>summary::after{content:'▾'}
.shuffle-pos.filled>summary b,.shuffle-pos.filled>summary span{color:var(--faint);opacity:.7}
.shuffle-pos.filled{background:transparent;opacity:.75}
.shuffle-pos>.shuffle-player-grid{padding:0 10px 10px}
.shuffle-sub{padding:2px 12px 6px;font-family:var(--f-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
@media(max-width:700px){
  .shuffle-team{padding:8px 0 4px}
  .shuffle-team .shuffle-team-row{position:sticky;top:var(--shuffle-sticky-top,0px);z-index:15;background:var(--surface);padding:6px 0;gap:8px;flex-wrap:nowrap;justify-content:space-between;border-bottom:1px solid var(--line)}
  .shuffle-team-name{font-size:clamp(20px,6.4vw,26px);line-height:1;overflow-wrap:anywhere}
  .shuffle-team-row .btn{padding:6px 10px;font-size:12px;flex:none}
  .shuffle-opponent{font-size:12px}
  .shuffle-player-grid{grid-template-columns:minmax(0,1fr);gap:6px}
  .shuffle-player-card{min-height:0;padding:8px 10px;gap:4px}
  .shuffle-card-info{display:flex;flex-wrap:wrap;align-items:center;gap:1px 8px;padding-right:62px}
  .shuffle-card-info .shuffle-card-name{flex-basis:100%}
  .shuffle-card-info .shuffle-season-stats{display:inline}
  .shuffle-card-info .shuffle-card-meta{gap:5px}
  .shuffle-card-name{font-size:14px}
  .shuffle-season-stats,.shuffle-proj,.shuffle-health,.shuffle-role{font-size:11px;line-height:1.3}
  .shuffle-player-wrap{position:relative}
  .shuffle-news{position:absolute;right:6px;top:4px;margin:0;padding:2px 4px;font-size:11px}
  .shuffle-player-photo{width:40px;height:40px}
  .shuffle-player-card:has(.shuffle-player-photo){flex-direction:row;align-items:center}
}

.shuffle-role.primary{background:none;border:0;padding:0;box-shadow:none;min-height:0;color:var(--accent);font-weight:700}
.shuffle-workspace{scroll-margin-top:var(--shuffle-sticky-top,0px)}


/* App Store mobile pass: readable Shuffle discovery and iOS safe areas. */
@supports (padding: env(safe-area-inset-bottom)) {
  body { padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
  .top { padding-top: env(safe-area-inset-top); }
  .shuffle-top { padding-top: max(8px, env(safe-area-inset-top)); }
  .land-foot { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
}
.sport-card:focus-visible,.hub-game:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sport-card,.hub-game { min-width:0; overflow-wrap:anywhere; }
@media (max-width: 560px) {
  .sport-grid,.landing .season-games { grid-template-columns:minmax(0,1fr); }
  .sport-card { padding:16px; }
  .sport-card h3 { font-size:19px; }
  .sport-card p { font-size:14px; line-height:1.45; }
  .sport-status { font-size:12px; }
  .shuffle-top .top-right .btn { min-height:44px; }
  #seasonSportNav .sport-link { min-height:44px; display:inline-flex; align-items:center; }
}
@media (min-width:561px) and (max-width:900px) {
  .sport-grid,.landing .season-games { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Landing navigation remains accessible on phones instead of disappearing. */
.land-mobile-menu{display:none;position:relative}
.land-mobile-menu>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--line-2);border-radius:8px;color:var(--fg);font-weight:700}
.land-mobile-menu>summary::-webkit-details-marker{display:none}
.land-mobile-menu>summary:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.land-mobile-menu nav{position:absolute;top:calc(100% + 6px);left:0;z-index:50;display:flex;flex-direction:column;min-width:min(270px,calc(100vw - 32px));padding:6px;border:1px solid var(--line-2);border-radius:10px;background:var(--surface);box-shadow:0 12px 30px rgba(0,0,0,.35)}
.land-mobile-menu nav a{display:flex;align-items:center;min-height:44px;padding:10px 12px;color:var(--fg);text-decoration:none;border-radius:6px}
.land-mobile-menu nav a[aria-current="page"]{background:var(--accent-wash);color:var(--accent)}
@media(max-width:900px){.land-mobile-menu{display:block}}
@media(max-width:560px){.land-mobile-menu{order:3;flex-basis:100%}.land-mobile-menu nav{top:100%;}.top-in{row-gap:6px}}

@media (min-width:641px) and (max-width:900px){.land-nav{display:none}}

/* Phones: the signed-out header is one row (logo, menu, Sign in, Join free) so content starts above the fold. */
.show-m{display:none}
@media(max-width:640px){.show-m{display:inline}}
@media(max-width:560px){
  .landing-top .top-in,.top-in:has(.land-mobile-menu){position:relative;flex-wrap:nowrap;gap:8px;padding:8px 12px}
  .top-in:has(.land-mobile-menu) .brand-sub{display:none}
  .land-mobile-menu{order:0;flex-basis:auto;position:static;margin-left:auto}
  .land-mobile-menu>summary{font-size:0;gap:0;padding:8px 11px;min-width:44px;justify-content:center}
  .land-mobile-menu>summary span{font-size:18px}
  .land-mobile-menu nav{left:12px;right:12px;top:100%;min-width:0}
  .top-in:has(.land-mobile-menu) .top-right{margin-left:0;flex-wrap:nowrap;gap:6px}
  .top-in:has(.land-mobile-menu) .top-right .btn.sm{padding:6px 10px;min-height:44px;white-space:nowrap}
}

/* Contextual weekly lineup replacement choices. */
.lineup-choices{margin:12px 0;padding:12px;border:1px solid var(--line-2);border-radius:10px;background:var(--surface-2)}
.lineup-choices h3{margin:0 0 10px;font-size:15px}
.lineup-choice-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:8px;max-height:340px;overflow:auto}
.lineup-choice{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:10px 12px;text-align:left;background:var(--surface);border:1px solid var(--line-2);border-radius:8px}
.lineup-choice span:first-child{display:grid;gap:3px;min-width:0}
.lineup-choice b{overflow-wrap:anywhere}
.lineup-choice small{font-size:12px;color:var(--muted)}
.lineup-choice:hover,.lineup-choice:focus-visible{border-color:var(--accent)}
/* Team colors (team-colors.js sets --tbg / --tfg per team). Neutral until colors load. */
.tchip,.tname{display:inline-block;padding:0 6px;border-radius:4px;font-weight:700;line-height:1.45;background:var(--tbg,var(--line-2,#e5e7eb));color:var(--tfg,inherit)}
.tchip{font-size:.92em;letter-spacing:.02em}
.tjersey{display:inline-grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;font-weight:800;font-size:13px;
  background:var(--tfg,#e5e7eb);color:var(--tbg,#334155);box-shadow:inset 0 0 0 2px var(--tbg,#334155)}
.tjersey.initials{font-size:12px}
.shuffle-player-card .tjersey{width:40px;height:40px;font-size:14px}
.shuffle-card-name .tname{white-space:normal}
input[type="datetime-local"],input[type="date"],input[type="time"]{cursor:pointer}
.practice-invite{margin-top:6px;padding:12px;border:1px dashed var(--line-2);border-radius:8px}
.practice-invite input{font-size:13px}
/* Practice draft room: sticky clock, tabs on phones, sidebar on wide screens */
.pd-clock{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;border-radius:10px;background:var(--surface);border:1px solid var(--line-2);box-shadow:0 4px 12px rgba(0,0,0,.08)}
.pd-clock>div{display:flex;flex-direction:column;gap:2px}
.pd-clock b{font-size:17px}
.pd-clock.mine{border-color:var(--accent,#1f7a3a);box-shadow:0 0 0 2px var(--accent,#1f7a3a) inset}
.pd-clock-r{text-align:right}.pd-clock-r b{font-size:24px;font-variant-numeric:tabular-nums}
.pd-tabs{display:none;gap:6px;overflow-x:auto}
.pd-tabs button{flex:1;white-space:nowrap;padding:8px 10px;border-radius:8px;border:1px solid var(--line-2);background:transparent;color:inherit;font-weight:700;font-size:13px}
.pd-tabs button.on{background:var(--accent,#1f7a3a);border-color:var(--accent,#1f7a3a);color:#fff}
.pd-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:start}
.pd-main{min-width:0}.pd-side{display:flex;flex-direction:column;gap:14px;position:sticky;top:76px}
.pd-board{grid-column:1/-1}
.pd-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:8px;padding:12px}
.pd-list{display:flex;flex-direction:column}
.pd-player{display:flex;align-items:center;gap:10px;padding:9px 12px;border-top:1px solid var(--line)}
.pd-pinfo{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.pd-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px;font-size:12.5px}
.pd-act{display:flex;gap:6px;flex:none}
.pd-q{font-size:18px;line-height:1;padding:4px 9px}.pd-q.on{color:#e0a800}
.pd-queue{display:flex;flex-direction:column;gap:6px}
.pd-qrow{display:flex;align-items:center;gap:8px}.pd-qrow.taken{opacity:.5}
.pd-qname{flex:1;min-width:0}.pd-qbtns{display:flex;gap:4px;flex:none}
.pd-teampos{display:grid;grid-template-columns:42px 1fr;gap:8px;align-items:start;padding:5px 0;border-bottom:1px solid var(--line)}
@media (max-width:900px){
  .pd-tabs{display:flex;position:sticky;top:64px;z-index:4;background:var(--bg);padding:6px 0}
  .pd-layout{display:block}.pd-side{position:static}
  .pd-layout[data-tab="players"] [data-pane]:not([data-pane="players"]),
  .pd-layout[data-tab="queue"] [data-pane]:not([data-pane="queue"]),
  .pd-layout[data-tab="team"] [data-pane]:not([data-pane="team"]),
  .pd-layout[data-tab="board"] [data-pane]:not([data-pane="board"]){display:none}
  .pd-filters{grid-template-columns:1fr 1fr}.pd-filters input{grid-column:1/-1}
  .pd-clock{top:0}
}
/* Phones: the three-row header scrolls away so screens like the draft room get the space. */
@media (max-width:640px){.top{position:static}}
@media (min-width:901px){.pd-clock{top:var(--pd-top,68px)}}
@media (max-width:900px) and (min-width:641px){.pd-clock{top:var(--pd-top,68px)}.pd-tabs{top:calc(var(--pd-top,68px) + 64px)}}
@media (max-width:640px){.pd-tabs{top:62px}}
.pd-head h1{font-size:22px;margin:2px 0}
@media (max-width:640px){.pd-head{padding:10px 12px}.pd-head .muted{display:none}.pd-head h1{font-size:18px}}
.pd-cell{display:flex;align-items:center;gap:8px}
#draftLayout .tbl-wrap td.act{white-space:nowrap}
@media (max-width:640px){
  .draft-turn-strip{flex-wrap:wrap;gap:4px 10px;padding:8px 12px}
  .draft-turn-strip strong{font-size:16px}
  .draft-hero-note{display:none}
  #draftTurnHero .meta{gap:8px}
}
@media (max-width:640px){.draft-turn-strip{top:0}.pd-tabs{position:static}}
.tface{display:inline-grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;overflow:hidden;background:var(--raise)}
.tface img{width:100%;height:100%;object-fit:cover}
.pd-list.loading{opacity:.45;pointer-events:none;transition:opacity .15s}
/* "Just picked" ticker under the draft clock */
.pick-ticker{overflow:hidden;border:1px solid var(--line-2);border-radius:10px;background:var(--surface);padding:7px 0;margin:8px 0}
.tick-track{display:flex;width:max-content;animation:tick 28s linear infinite}
.tick-track>span{display:flex;align-items:center;gap:14px;padding-right:14px;white-space:nowrap}
.tick-item{display:inline-flex;align-items:center;gap:6px;font-size:14px}
.tick-new{font-size:11px;letter-spacing:.08em;color:var(--accent,#1f7a3a)}
.tick-sep{color:var(--muted)}
.pick-ticker:hover .tick-track{animation-play-state:paused}
@keyframes tick{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.tick-track{animation:none}.tick-track>span[aria-hidden]{display:none}.pick-ticker{overflow-x:auto}}
.inj-tag{display:inline-block;margin-left:4px;padding:0 5px;border:1px solid #f59e0b;border-radius:4px;font-size:11px;font-weight:800;line-height:1.5;vertical-align:middle}
/* Draft sidebar scrolls on its own when taller than the screen */
@media (min-width:901px){.pd-side{max-height:calc(100vh - 96px);overflow-y:auto;overscroll-behavior:contain;padding-right:2px}}
.pd-rline{display:flex;align-items:center;gap:8px;padding:3px 0}
.pd-rline .tface,.pd-rline .tjersey{width:30px;height:30px;font-size:11px}
.pd-rname{flex:1;min-width:0}
/* Shuffle: each position shows one row; "+ more" opens the rest. */
.shuffle-player-grid.one-row .row-hidden{display:none}
.shuffle-more{display:block;width:100%;margin:6px 0 2px;padding:6px;border:1px dashed var(--line-2);border-radius:8px;background:transparent;color:var(--accent);font-weight:700;cursor:pointer}
/* Drawn team name: same height as the Skip button */
.shuffle-team-name{font-size:24px;line-height:1.2}
@media (max-width:640px){.shuffle-team-name{font-size:20px}}
.shuffle-entry-card .shuffle-entry-name{font-weight:800;font-size:15px;white-space:nowrap}
.shuffle-entry-card b small{font-size:11px;font-weight:600;color:var(--muted)}
.shuffle-entry-stats{display:flex;flex-direction:column;gap:1px;font-size:11.5px;color:var(--muted);line-height:1.3}
.shuffle-entry-card.lead{border-width:3px;border-color:var(--accent)}
/* Draft rows: star on the left, tap the name to draft */
.pd-q{flex:none;border:0;background:transparent;font-size:22px;line-height:1;padding:2px 4px;color:var(--muted);cursor:pointer}
.pd-q.on{color:#e0a800}
.pd-name-pick{border:0;background:transparent;padding:0;cursor:pointer;text-align:left}
.pd-player.armed{background:color-mix(in srgb,var(--accent,#1f7a3a) 12%,transparent);box-shadow:inset 3px 0 0 var(--accent,#1f7a3a)}
.pd-armed-note{font-size:12px;font-weight:800;color:var(--accent,#1f7a3a)}
@media (max-width:640px){.pd-draft-btn{display:none}.pd-player{gap:7px;padding:8px 8px}.pd-meta .sub{width:100%}}
#draftLayout tr.armed td{background:color-mix(in srgb,var(--accent,#1f7a3a) 12%,transparent)}
@media (max-width:640px){#draftLayout .pd-draft-btn{display:none}}
/* The ticker's scrolling strip is wider than the screen on purpose; it must never widen the page. */
.pick-ticker{width:100%;min-width:0;max-width:100%;contain:inline-size}
.practice-draft>*,#draftTicker{min-width:0;max-width:100%}
/* Phones: the header buttons share the width instead of pushing Sign out off screen. */
@media (max-width:640px){
  .top-right{flex:1 1 100%;min-width:0;max-width:100%;flex-wrap:wrap;justify-content:flex-start;gap:6px}
  .top-right .xlink{padding:7px 10px;font-size:13px}
}
/* Player menu (tap a player): Draft / News / Close */
.pd-menu{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
/* Clock + pick ticker stay pinned at the top while you scroll the player list */
.pd-sticky{position:sticky;top:var(--pd-top,68px);z-index:6;background:var(--bg);padding:2px 0 4px}
.pd-sticky .pd-clock{position:static;box-shadow:none}
.pd-sticky .pick-ticker{margin:6px 0 0}
@media (max-width:640px){.pd-sticky{top:0}.pd-sticky .pd-clock{padding:8px 12px}.pd-sticky .pd-clock b{font-size:15px}.pd-sticky .pd-clock-r b{font-size:20px}}
#draftTicker{position:sticky;z-index:9;background:var(--bg)}
#draftLayout tr.pd-menu-row td{background:color-mix(in srgb,var(--accent,#1f7a3a) 8%,transparent);padding:6px 10px}
/* Your turn to draft: the page flips color so you can't miss it. Light mode turns yellow; dark mode
   turns light (white). Set by the draft rooms on <html data-my-turn>. */
:root[data-my-turn]{--bg:#fff3a6;--surface:#fffbe0;--surface-2:#fff7c9}
@media (prefers-color-scheme:dark){:root[data-my-turn]:not([data-theme="light"]){color-scheme:light;
  --bg:#ffffff;--surface:#ffffff;--surface-2:#f4f6f4;--raise:#e8ede9;--line:#dde4df;--line-2:#c4cfc8;
  --fg:#132018;--muted:#5b6f62;--faint:#8b9b90;--accent:#128a48;--accent-2:#0d6b37;--accent-ink:#ffffff;--accent-wash:rgba(18,138,72,.1)}}
:root[data-theme="dark"][data-my-turn]{color-scheme:light;
  --bg:#ffffff;--surface:#ffffff;--surface-2:#f4f6f4;--raise:#e8ede9;--line:#dde4df;--line-2:#c4cfc8;
  --fg:#132018;--muted:#5b6f62;--faint:#8b9b90;--accent:#128a48;--accent-2:#0d6b37;--accent-ink:#ffffff;--accent-wash:rgba(18,138,72,.1)}
body{transition:background-color .3s}
.pd-x{flex:none;border:0;background:transparent;font-size:18px;line-height:1;padding:2px 3px;color:var(--faint);cursor:pointer}
.pd-x.on{color:var(--bad)}
#draftLayout tr.excluded td{opacity:.55}
#draftLayout tr.excluded .tname{text-decoration:line-through}
/* "More info" for help text */
details.more-info{margin:4px 0}
details.more-info>summary{display:inline-flex;align-items:center;gap:4px;cursor:pointer;font-size:12.5px;font-weight:700;color:var(--accent);list-style:none}
details.more-info>summary::-webkit-details-marker{display:none}
details.more-info>summary::before{content:"ⓘ";font-size:13px}
details.more-info[open]>summary{margin-bottom:4px}
.shuffle-entry-total{font-size:26px;font-variant-numeric:tabular-nums}
.shuffle-entry-total.proj{color:var(--proj,#facc15)}
.shuffle-entry-total.live{color:var(--live,#38bdf8)}
.shuffle-entry-total.final{color:var(--fg)}
/* Shuffles hub: My Shuffles / Leaderboard switch and the live board */
.hub-switch{display:inline-flex;border:1px solid var(--line-2);border-radius:999px;padding:3px;gap:3px;margin:6px 0 12px}
.hub-switch button{border:0;background:transparent;color:inherit;font-weight:800;padding:7px 16px;border-radius:999px;cursor:pointer}
.hub-switch button.on{background:var(--accent);color:var(--accent-ink)}
.lb-legend{display:flex;gap:12px;align-items:center;font-size:12px;font-weight:700;margin:0 0 8px}
.lb-legend .proj,.lb-val.proj{color:var(--proj)}.lb-legend .live,.lb-val.live{color:var(--live)}.lb-legend .final,.lb-val.final{color:var(--fg)}
.lb-list{list-style:none;margin:0;padding:0}
.lb-list li{display:flex;align-items:center;gap:10px;padding:8px 4px;border-bottom:1px solid var(--line);position:relative;background:var(--surface)}
.lb-list li.me{box-shadow:inset 3px 0 0 var(--accent)}
.lb-rank{width:28px;color:var(--muted);text-align:right}
.lb-who{flex:1;min-width:0;display:flex;flex-direction:column}
.lb-val{font-size:16px;font-variant-numeric:tabular-nums}
.lb-list li.moved-up .lb-rank::after{content:"▲";color:#22c55e;font-size:10px;margin-left:2px}
.lb-list li.moved-down .lb-rank::after{content:"▼";color:var(--bad);font-size:10px;margin-left:2px}
.shuffle-entry-plus{display:grid;place-items:center;gap:2px}
.shuffle-plus{font-size:34px;font-weight:300;line-height:1;color:var(--accent)}
.hub-mine-game{margin:6px 0 12px}
.hub-mine-game .eyebrow{margin-bottom:6px}
a.shuffle-entry-card{text-decoration:none;color:inherit}
.shuffle-entry-card .shuffle-plus{font-size:36px;font-weight:300;line-height:1;color:var(--accent);font-family:var(--f-body)}
.shuffle-entry-card.shuffle-entry-plus{min-height:0}
/* Expiring contracts (franchise tag window): grey until tagged. */
.tag-row{align-items:center;padding:6px 0;border-top:1px solid var(--line)}
.tag-row:first-of-type{border-top:0}
.tag-row.expiring>.pos,.tag-row.expiring>div{opacity:.5;filter:grayscale(1)}
.lb-controls{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.lb-controls select{width:auto;min-width:0}
.lb-controls{margin:0 0 10px;justify-content:flex-start;align-items:center}
.lb-metric{margin:0}
.lb-game{margin-top:14px}
.lb-game:first-child{margin-top:0}
.lb-game-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:6px 0;border-bottom:1px solid var(--line);font-weight:700}
.lb-game-h .link{font-weight:700;font-size:15px;padding:0;background:none;border:0;color:inherit;cursor:pointer}
.lb-more{margin-top:6px;background:none;border:0;padding:0;cursor:pointer}
/* Shuffle / Fan switch in each game's header */
.shuffle-hero-top{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.shuffle-hero-top h1{margin:0}
.fan-toggle{margin:0}
.fan-toggle a{display:inline-flex;align-items:center;gap:6px;color:inherit;font-weight:800;padding:6px 14px;border-radius:999px;text-decoration:none;min-height:34px}
.fan-toggle a.on{background:var(--accent);color:var(--accent-ink)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lb-section{margin:22px 0 0;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
/* Game discussion feed (newest first) */
.feed{display:flex;flex-direction:column;gap:8px;margin-top:10px;max-height:520px;overflow:auto}
.feed-form{margin:0}
/* Fan switch: "Fan" beside a logo, or beneath the team name */
.fan-toggle a.fan-team{flex-direction:row}
.fan-toggle a.fan-stack{flex-direction:column;gap:1px;line-height:1.05;padding:4px 12px}
.fan-toggle .fan-word{font-size:12px;font-weight:800}
/* Sport cards: icon and name on one line; description behind the ⓘ */
.card-head{display:flex;align-items:center;gap:8px;min-width:0}
.card-head h3{margin:0;flex:1;min-width:0}
.card-ico{font-size:24px;line-height:1}
.info-i{flex:none;width:18px;height:18px;border-radius:50%;border:1.5px solid currentColor;display:inline-grid;place-items:center;font:700 11px/1 Georgia,serif;font-style:italic;opacity:.6;cursor:pointer}
.info-i:hover,.info-i:focus-visible{opacity:1}
.card-tip{margin:6px 0 0;font-size:13px;color:var(--muted)}
.sport-card .sport-status{display:block;margin-top:6px}
/* Fan Shuffle button in the team's colors: nickname in the second color over "Fan Shuffle" in white/black */
.fan-toggle a.fan-btn{background:var(--surface-2);gap:8px;padding:5px 14px}
.fan-toggle a.fan-btn.colored{background:var(--tbg);color:var(--tink)}
.fan-toggle a.fan-btn.on{box-shadow:0 0 0 2px var(--accent)}
.fan-stackt{display:flex;flex-direction:column;align-items:flex-start;line-height:1.05}
.fan-team-name{font-size:15px;font-weight:800}
.fan-toggle a.fan-btn.colored .fan-team-name{color:var(--tacc)}
.fan-toggle a.fan-btn .fan-word{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:inherit}
.flag-btn{border:1px solid var(--line-2);background:transparent;color:var(--bad,#b91c1c);font-size:11.5px;font-weight:700;border-radius:999px;padding:1px 8px;cursor:pointer;margin-left:4px}.flag-btn:hover{background:var(--surface-2)}
.brand-home{display:flex;align-items:center;gap:8px;color:inherit;text-decoration:none}
a.brand-sub{text-decoration:none}a.brand-sub:hover{color:var(--accent)}
/* Shuffle logo: the fanned player cards, used wherever the Shuffle brand appears (like the Dynasty shield) */
.shuffle-mark{height:26px;width:auto;flex:none;display:inline-block;vertical-align:middle}
.shuffle-brand{display:inline-flex;align-items:center;gap:6px}
.brand .shuffle-brand .shuffle-mark{height:24px}
.xlink-shuffle{display:inline-flex;align-items:center;gap:6px}
.xlink-shuffle .shuffle-mark{height:18px}
.shuffle-title{display:flex;align-items:center;gap:10px}
.shuffle-title .shuffle-mark{height:1.1em}
.brand-sub.shuffle-brand{align-self:center;padding-bottom:0}
/* All Shuffles button: the fanned cards behind the words */
.sport-link.sp-all{position:relative;overflow:hidden;background:#0e3b24;color:#fff;border-color:#0e3b24;min-width:120px;justify-content:center}
.sport-link.sp-all .shuffle-mark{position:absolute;left:50%;top:50%;transform:translate(-50%,-46%);height:150%;opacity:.55;pointer-events:none}
.sport-link.sp-all span{position:relative;text-shadow:0 1px 3px rgba(0,0,0,.85),0 0 8px rgba(0,0,0,.6)}

.app-route-loading .seo-static{display:none}
.app-route-loading #root:empty::before{content:"Loading Dynasty FF…";display:block;padding:24px}

/* Draft board grid: teams across, rounds down. */
.dg-wrap{overflow-x:auto;overflow-y:hidden;height:auto;max-height:none;margin-top:10px;border:1px solid var(--line,#e3e6e3);border-radius:10px}
.dg{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:12px}
.dg th{position:sticky;top:0;z-index:2;background:var(--panel,#fff);padding:6px 8px;text-align:left;font-weight:600;white-space:nowrap;border-bottom:1px solid var(--line,#e3e6e3)}
.dg th.dg-rd{left:0;z-index:3;width:34px;text-align:center;color:var(--muted,#6b7280)}
.dg tbody th.dg-rd{position:sticky;left:0;top:auto;z-index:1}
.dg-cell{vertical-align:top;width:118px;min-width:118px;height:52px;padding:5px 7px;border-right:1px solid var(--line,#eef0ee);border-bottom:1px solid var(--line,#eef0ee)}
.dg-cell i{display:block;font-style:normal;font-size:10.5px;color:var(--muted,#6b7280)}
.dg-cell em{display:block;font-style:normal;font-size:10.5px;font-weight:600;color:#b45309}
.dg-cell b{display:block;font-size:12px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dg-cell span{display:block;font-size:10.5px;color:var(--muted,#6b7280)}
.dg-now{outline:2px solid #f59e0b;outline-offset:-2px;background:#fffbeb}
.dg-void{opacity:.55}
.dg-made.pos-QB{background:#fdecec}.dg-made.pos-RB{background:#e9f7ee}.dg-made.pos-WR{background:#e8f0fd}.dg-made.pos-TE{background:#fdf2e3}
.dg-made.pos-K{background:#f3f4f6}.dg-made.pos-DL{background:#f1ebfb}.dg-made.pos-LB{background:#e9f6f8}.dg-made.pos-DB{background:#fbeef6}
@media (prefers-color-scheme:dark){.dg-made[class*="pos-"]{background:rgba(255,255,255,.06)}.dg-now{background:rgba(245,158,11,.15)}}
.pd-wallet{float:right;font-size:12px;font-weight:600;color:var(--accent,#15803d);background:rgba(21,128,61,.08);border-radius:999px;padding:2px 8px}
#draftCountdownBig{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:9999;pointer-events:none;width:180px;height:180px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:110px;font-weight:800;color:#fff;background:rgba(220,38,38,.88);box-shadow:0 10px 40px rgba(0,0,0,.35);font-variant-numeric:tabular-nums}
#draftCountdownBig.pulse{animation:draftPulse .9s ease-out}
@keyframes draftPulse{0%{transform:translate(-50%,-50%) scale(1.25)}100%{transform:translate(-50%,-50%) scale(1)}}
.dg-edit{cursor:pointer}.dg-edit:hover{outline:2px solid var(--accent,#15803d);outline-offset:-2px}
.pd-editor{position:fixed;inset:0;z-index:9000;background:rgba(0,0,0,.35);display:flex;align-items:flex-start;justify-content:center;padding:10vh 12px}
.pd-editor-card{background:var(--panel,#fff);border-radius:12px;padding:16px;width:min(460px,100%);box-shadow:0 12px 40px rgba(0,0,0,.25)}
.pd-editor-card input{width:100%;margin:8px 0;padding:8px 10px;font-size:15px}
.pd-editor-results{max-height:45vh;overflow:auto}
.pd-editor-row{display:block;width:100%;text-align:left;padding:8px 10px;border:0;border-bottom:1px solid var(--line,#eee);background:none;cursor:pointer;font:inherit}
.pd-editor-row:hover{background:rgba(21,128,61,.07)}

/* Playoffs bracket: one column per playoff week. */
.pf-bracket{display:flex;gap:14px;overflow-x:auto;padding:6px 2px 4px}
.pf-col{flex:1 0 220px;display:flex;flex-direction:column;gap:10px;justify-content:space-around}
.pf-head{display:flex;justify-content:space-between;align-items:baseline;font-size:13px;border-bottom:2px solid var(--accent,#15803d);padding-bottom:4px}
.pf-head span{color:var(--muted,#6b7280);font-size:12px}
.pf-game{border:1px solid var(--line,#e3e6e3);border-radius:10px;overflow:hidden;background:var(--surface,#fff)}
.pf-game.bye{opacity:.85}
.pf-team{display:flex;align-items:center;gap:8px;padding:7px 10px;font-size:13px;min-height:36px}
.pf-team+.pf-team{border-top:1px solid var(--line,#eef0ee)}
.pf-team.mine{background:rgba(21,128,61,.08);font-weight:600}
.pf-team.out{opacity:.5}
.pf-team.tbd .pf-name{color:var(--faint,#9ca3af);font-style:italic}
.pf-seed{min-width:16px;font-size:11px;color:var(--muted,#6b7280);text-align:right}
.pf-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pf-rec{font-size:11px;color:var(--muted,#6b7280)}
.pf-score{font-variant-numeric:tabular-nums;font-weight:600}
.pf-note{margin:0;font-size:11.5px}
/* Lineup: choices shown in place above the slot being filled; drag-and-drop */
.roster tr.choices-row>td{padding:0 6px}
.roster tr.choices-row .lineup-choices{margin:6px 0}
.roster tbody tr{-webkit-touch-callout:none}
.roster .slot{-webkit-user-select:none;user-select:none}
.roster tr.dragging{opacity:.45}
.roster tr.drop-ok>td{background:color-mix(in srgb,var(--accent) 8%,transparent)}
.roster tr.drop-hover>td{background:color-mix(in srgb,var(--accent) 22%,transparent);box-shadow:inset 0 0 0 1px var(--accent)}
.lineup-drag-ghost{position:fixed;z-index:9999;pointer-events:none;padding:6px 10px;border-radius:8px;background:var(--surface,#fff);border:1px solid var(--accent);box-shadow:0 6px 18px rgba(0,0,0,.25);font-weight:600;font-size:13px;white-space:nowrap}
/* Keep the "Suggest improvements" footer below the first screen, so it never flashes into view
   while a page is loading and the content area is briefly empty. */
#root{min-height:100vh;min-height:100dvh}
