/* Nathan's Basketball: the sport's layer over the shared app.css (hub/shell/static). */
:root{--accent:#b8541a;--head:#2d2420;--pill:#5a3a28}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){--accent:#e0843f;--head:#241c19}}
:root[data-theme="dark"]{--accent:#e0843f;--head:#241c19}
header nav a{color:#f3d9c4}
header nav a.signin{border-color:#f3d9c4}
.theme-btn{color:#f3d9c4;border-color:#6b5347}

/* League switch: NBA | College, a segmented control beside the tabs */
.lgswitch{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:var(--card)}
.lgsw{padding:4px 14px;font-size:13px;font-weight:600;color:var(--accent);text-decoration:none;white-space:nowrap}
.lgsw:hover{background:var(--zebra);text-decoration:none}
.lgsw.on{background:var(--accent);color:#fff;cursor:default}
.seasonnav .lgswitch{margin-right:10px;vertical-align:middle}
.seasonhead>.lgswitch{margin-top:8px}

/* league stamps */
.lgstamp{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.04em;padding:1px 6px;border-radius:4px;vertical-align:middle;
  color:#fff;background:#5b6b7b;margin:0 2px}
.lgstamp.lg-nba{background:#1d428a}
.lgstamp.lg-ncaam{background:#1c6e3a}
.lgstamp.lg-baa,.lgstamp.lg-aba,.lgstamp.lg-nbl,.lgstamp.lg-abl{background:#8a5a1d}
h1 .lgstamp{font-size:12px;margin-left:10px}

/* AP rank before a college team */
.aprk{display:inline-block;min-width:16px;font-size:10px;font-weight:700;color:var(--muted);margin-right:3px;text-align:right}
.sbrk{font-style:normal;font-size:9px;color:var(--muted);margin-right:2px}

/* player page: one block per league on the timeline */
.lgblock{margin-top:14px}
.lgblock h2 .lgstamp{font-size:12px;margin-right:6px}
.lgblock h2 .gl{font-size:12px;font-weight:400;margin-left:10px}
.lgb-ncaam h2{border-bottom-color:#1c6e3a}
.lgb-nba h2{border-bottom-color:#1d428a}
p.rules{color:var(--muted);font-size:12px;margin:-2px 0 6px}
.careerwrap{width:auto;left:auto;transform:none;padding:0}
table.career td:nth-child(2),table.career th:nth-child(2){text-align:left}
table.career td:first-child{white-space:nowrap}

/* game page */
.ghead .gscore{font-variant-numeric:tabular-nums;margin-left:10px}
.ghead .tlogo{width:30px;height:30px}
table.box tr.bench1 td{border-top:2px solid var(--line)}
table.box td:first-child{text-align:left}
.boxwrap{width:auto;left:auto;transform:none;padding:0}
.tstats{max-width:560px}
table.lscore{max-width:640px}

/* college directory and conference standings */
.confgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin:10px 0 18px}
.confgrid.wide{grid-template-columns:repeat(auto-fill,minmax(420px,1fr))}
.confcard{border:1px solid var(--line);border-radius:8px;padding:8px 12px;background:var(--zebra)}
.confcard h3{margin:2px 0 6px;font-size:14px}
.confcard ol{margin:0;padding-left:20px;font-size:13px}
.confcard li{margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.confcard li .tlogo{width:16px;height:16px}
table.confst{font-size:12.5px}
table.confst td:first-child{white-space:nowrap}
.stand2 section{margin-bottom:10px}
@media (max-width:720px){.confgrid.wide{grid-template-columns:1fr}}

/* NBA bracket */
.bracket{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:14px;margin:12px 0 18px;overflow-x:auto}
.bcol h3{font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:0 0 6px}
.series{border:1px solid var(--line);border-radius:8px;background:var(--card);margin:0 0 10px;padding:4px 8px}
.sline{display:flex;align-items:center;gap:4px;padding:2px 0;white-space:nowrap}
.sline .seed{display:inline-block;width:16px;color:var(--muted);font-size:11px;text-align:right;margin-right:2px}
.sline .sw{margin-left:auto;font-weight:700;font-variant-numeric:tabular-nums}
.sline.win a{font-weight:700}
.sfoot{font-size:11px;color:var(--muted);border-top:1px dashed var(--line);margin-top:3px;padding-top:2px}
@media (max-width:720px){.bracket{grid-template-columns:repeat(4,170px)}}

/* schedule results */
b.win{color:#1c7d3a}
b.loss{color:#a13}
table.sched td:nth-child(2){white-space:nowrap}
table.draft td:nth-child(6),table.draft td:nth-child(7),table.draft th:nth-child(6),table.draft th:nth-child(7){text-align:left}
.conf-pick{display:inline-flex;align-items:center;gap:8px;margin:0 0 12px}
.conf-pick select{padding:4px 6px;border:1px solid var(--line);border-radius:4px;background:var(--card);color:var(--fg)}

/* Tabs whose lists arrive with the history load (Awards, Hall of Fame, Finals MVP) */
.pending-pill{display:inline-block;vertical-align:middle;margin-left:.4em;padding:2px 9px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.tile .pending-pill{margin-left:0}
.pend-groups{display:flex;flex-wrap:wrap;gap:14px 44px;margin-top:10px}
.pend-group h3{margin:.3em 0 .4em;font-size:15px}
.glinks a{margin-right:6px}
