/* The Command Center page (team home) — its season line, leaders, team profile + club picker, roster,
   game-by-game table and schedule tiles. Moved word for word from nba/command_center.html's <style>
   block (2026-11-11) so the hockey Command Center (team_home.html) loads the SAME rules instead of a
   copy. Loaded after frame.css on both pages. */
/* The Game Day strip (otg29 → otg47): its styles live in chrome.css, shared with the game pages. */
/* ── Season line + Leaders (otg30, design cc) ──────────────────────────── */
.cc-row{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px;margin-top:16px;}
.sl-top{display:grid;grid-template-columns:auto repeat(4,minmax(0,1fr));gap:14px;align-items:end;}
.sl-rec{font-family:'Inter Tight',sans-serif;font-weight:900;font-size:34px;line-height:.9;letter-spacing:-.04em;font-variant-numeric:tabular-nums;white-space:nowrap;}   /* otg46: the record at the countdown digits' weight, not a headline */
.sl-k{font-family:'JetBrains Mono',monospace;font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--t-3);margin-top:6px;}
.sl-rec + .sl-k{font-size:10px;margin-top:8px;}
.sl-tile{padding-left:16px;border-left:1px solid var(--line);min-width:0;}
.sl-tile b{display:block;font-family:'Inter Tight',sans-serif;font-weight:800;font-size:22px;line-height:1;white-space:nowrap;}
.sl-tile b.pos{color:var(--pos);} .sl-tile b.neg{color:var(--neg);}
.sl-tile:last-child b{font-size:16px;letter-spacing:-.01em;}          /* "15-5 · 13-7" has to fit the narrow column */
.sl-foot{display:flex;align-items:center;gap:10px;margin-top:16px;padding-top:12px;border-top:1px solid var(--line);flex-wrap:wrap;}
.sl-foot .lbl{font-family:'JetBrains Mono',monospace;font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--t-4);}
.sl-chip{display:flex;flex-direction:column;align-items:center;gap:3px;text-decoration:none;}
.sl-chip span{width:30px;height:24px;border-radius:6px;display:grid;place-items:center;font:800 11px 'JetBrains Mono',monospace;color:var(--t-4);background:rgba(255,255,255,.03);}
.sl-chip.w span{color:var(--pos);background:rgba(52,211,153,.14);} .sl-chip.l span{color:var(--neg);background:rgba(248,113,113,.12);}
.sl-chip i{font-style:normal;font-family:'JetBrains Mono',monospace;font-size:8.5px;color:var(--t-4);letter-spacing:.04em;}
.sl-foot .gb{margin-left:auto;font-size:12.5px;color:var(--t-2);}
.ld5{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;}
.ld5 a{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;min-width:0;text-decoration:none;color:inherit;}
.ld5 .k{font-family:'JetBrains Mono',monospace;font-size:9.5px;letter-spacing:.16em;color:var(--team-text-tint);}
.ld5 img{width:46px;height:46px;border-radius:50%;object-fit:cover;object-position:top;background:var(--bg-4);border:2px solid var(--team-primary);}
.ld5 .v{font-family:'Inter Tight',sans-serif;font-weight:900;font-size:20px;line-height:1;}
.ld5 .n{font-size:11px;color:var(--t-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
@media(max-width:900px){.cc-row{grid-template-columns:1fr;}}
@media(max-width:760px){
  .sl-top{gap:10px;} .sl-rec{font-size:28px;} .sl-tile{padding-left:10px;} .sl-tile b{font-size:16px;}
  .sl-k{font-size:8px;letter-spacing:.1em;} .sl-foot .gb{margin-left:0;flex-basis:100%;}
  .sl-tile:last-child b{white-space:normal;font-size:14px;line-height:1.15;}   /* "0-1 · 0-0" wraps, never clips */
}

/* ── Panels ────────────────────────────────────────────────────────────── */
.wrap{padding:18px 0 40px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;}
.wrap > *{min-width:0;}                                            /* scrolling strips scroll, never widen the page */
@media(max-width:900px){.wrap{grid-template-columns:minmax(0,1fr);}}
.panel{background:var(--bg-2);border:1px solid var(--line-strong);border-radius:var(--r-l);padding:16px 18px;min-width:0;}
.panel.full{grid-column:1 / -1;}
:where(.panel) h2{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--t-4);margin:0 0 12px;}
/* ── Team tab (otg32, design cc): the profile beside the roster ─────────── */
.tt{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;align-items:stretch;}
/* the club picker (otg37): the shot map's player picker, for clubs */
.tp .box-h{flex-wrap:nowrap;} .tp .box-h h2{white-space:nowrap;}
.tp-pick{position:relative;margin-left:auto;min-width:0;flex:0 1 auto;display:flex;justify-content:flex-end;}
.tp-pick-btn{display:flex;align-items:center;gap:6px;min-width:0;max-width:180px;padding:4px 8px;border:1px solid var(--line-strong);border-radius:var(--r-s);background:var(--bg-3);color:var(--t-1);font:600 12px 'Inter',sans-serif;cursor:pointer;}
.tp .box-h h2,.tp .box-h .sub{flex:none;}                              /* long club names: the button gives way, with an ellipsis */
.tp-pick-btn[aria-expanded="true"]{border-color:var(--t-4);}
.tp-pick-btn img,.tp-pr img,.tp-every img{width:20px;height:20px;object-fit:contain;flex:none;}
.tp-pick-btn .nm,.tp-pr .nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tp-pick-btn i{margin-left:auto;font-style:normal;color:var(--t-3);}
.tp-scrim{display:none;}
.tp-pop{position:absolute;z-index:20;left:0;top:calc(100% + 6px);width:460px;max-width:min(460px,calc(100vw - 300px));max-height:min(600px,calc(100vh - 160px));overflow:auto;padding:10px;background:#121A1D;border:1px solid var(--line-strong);border-radius:16px;box-shadow:0 24px 60px rgba(0,0,0,.6);}
.tp-grab,.tp-pop-t{display:none;}
.tp-every,.tp-pr{display:flex;align-items:center;gap:9px;width:100%;padding:6px 8px;border:0;border-radius:9px;background:transparent;color:var(--t-2);font:500 12.5px 'Inter',sans-serif;text-align:left;cursor:pointer;}
.tp-every{font:700 13px 'Inter Tight',sans-serif;color:var(--t-1);}
.tp-every.on,.tp-pr.on{background:color-mix(in srgb,var(--team-primary) 16%,transparent);color:var(--t-1);}
.tp-every:hover,.tp-pr:hover,.tp-every:focus-visible,.tp-pr:focus-visible{background:var(--bg-3);outline:none;}
.tp-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-top:6px;}   /* one column when narrow */
.tp-col{min-width:0;} .tp-ch{padding:8px 8px 6px;border-bottom:1px solid var(--line);font:800 12px 'Inter Tight',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--t-3);}
@media(max-width:640px){
  .tp-scrim:not([hidden]){display:block;position:fixed;inset:0;z-index:75;background:rgba(0,0,0,.55);}
  .tp-pop{position:fixed;z-index:76;left:0;right:0;top:auto;bottom:calc(57px + env(safe-area-inset-bottom));width:auto;max-width:none;max-height:calc(80vh - 57px);overflow:auto;border-radius:18px 18px 0 0;padding:8px 12px 14px;}
  .tp-grab{display:block;width:38px;height:4px;margin:2px auto 10px;border-radius:999px;background:var(--line-strong);}
  .tp-pop-t{display:block;padding:0 4px 6px;font:800 13px 'Inter Tight',sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--t-3);}
  .tp-cols{gap:6px;} .tp-pr{gap:7px;padding:6px 4px;font-size:12px;}
}
@media(min-width:901px){                                              /* the roster takes the profile's height and scrolls inside */
  .tt .ro-card{display:flex;flex-direction:column;min-height:0;}
  .tt .ro-scroll{flex:1;position:relative;min-height:0;}
  .tt .ro-scroll .tbl-wrap{position:absolute;inset:0 2px 0 0;overflow:auto;padding-right:10px;}   /* air on the right */
  table.ro th{position:sticky;top:0;z-index:2;background:var(--bg-2);} table.ro th.grp{z-index:3;}
}
.tp-head,.tp-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;}
.tp-head{padding:10px 0 6px;border-bottom:1px solid var(--line-strong);font-family:'Inter Tight',sans-serif;font-weight:800;font-size:12px;}
.tp-head span:nth-child(2){font-family:'JetBrains Mono',monospace;font-size:9px;letter-spacing:.14em;color:var(--t-4);font-weight:600;text-transform:uppercase;}
.tp-head span:last-child{color:var(--t-3);text-align:right;}
.tp-row{padding:7px 0;border-bottom:1px solid var(--line);} .tp-row:last-child{border-bottom:0;}
.tp-row .v{display:flex;align-items:center;gap:7px;} .tp-row .v i{width:6px;height:6px;border-radius:50%;background:transparent;flex:none;} .tp-row .v i.on{background:var(--team-primary);}
.tp-row .v b{font-family:'JetBrains Mono',monospace;font-size:14px;font-weight:700;color:var(--t-3);} .tp-row .v b.on{color:var(--t-1);}
.tp-row .k{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11.5px;color:var(--t-3);}
.tp-row .k em{font:700 9.5px 'JetBrains Mono',monospace;font-style:normal;padding:1px 7px;border-radius:999px;border:1px solid;}
.tp-row .k .pills{display:flex;align-items:center;gap:4px;}           /* otg57: ours, then the picked club's */
.tp-row .k .pills span:not([hidden]){display:inline-flex;align-items:center;gap:4px;} .tp-row .k .pills i{font-style:normal;color:var(--t-4);}
.tp-row .k em.pos{color:var(--pos);border-color:rgba(52,211,153,.35);} .tp-row .k em.mid{color:var(--t-2);border-color:var(--line-strong);} .tp-row .k em.neg{color:var(--neg);border-color:rgba(248,113,113,.35);}
.tp-row .lg{font-family:'JetBrains Mono',monospace;font-size:14px;color:var(--t-3);text-align:right;font-weight:500;}
@media(max-width:900px){.tt{grid-template-columns:1fr;} .tt .tp{order:2;} .tp-row[data-more]{display:none;}}

/* ── Schedule tab + links out (otg33, design cc) ───────────────────────── */
.sc-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 1px repeat(5,minmax(0,1fr));gap:8px;align-items:stretch;}
.sc-strip .div{width:1px;background:var(--line-strong);}
.sc-tile{display:flex;flex-direction:column;gap:5px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid var(--line);min-width:0;text-decoration:none;color:inherit;}
.sc-tile.next{background:transparent;border-color:var(--line-strong);}
.sc-tile.hot{background:var(--team-accent-a14);border-color:var(--team-accent-a30);}
.sc-tile .d{display:flex;align-items:center;justify-content:space-between;gap:4px;font-family:'JetBrains Mono',monospace;font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--t-3);white-space:nowrap;}
.sc-tile.hot .d{color:var(--team-accent);}
.sc-tile .o{display:flex;align-items:center;gap:7px;min-width:0;} .sc-tile .o img{width:22px;height:22px;object-fit:contain;flex:none;}
.sc-tile .o b{font-family:'Inter Tight',sans-serif;font-weight:800;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sc-tile .r{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;font-family:'Inter Tight',sans-serif;font-weight:800;font-size:14px;white-space:nowrap;}
.sc-tile .r em{font-style:normal;} .sc-tile .r em.w{color:var(--pos);} .sc-tile .r em.l{color:var(--neg);}
.sc-tile.next .r{color:var(--t-3);} .sc-tile.hot .r{color:var(--t-1);}
.box-h .more{margin-left:auto;font-size:12.5px;font-weight:600;color:var(--team-text-tint);text-decoration:none;white-space:nowrap;}
.mo-filter{margin-left:auto;display:flex;gap:4px;padding:3px;border-radius:10px;background:rgba(255,255,255,.03);border:1px solid var(--line);}
.mo-filter button{padding:4px 10px;border:0;border-radius:7px;background:transparent;color:var(--t-3);font:700 11.5px 'Inter Tight',sans-serif;cursor:pointer;}
.mo-filter button.on{background:var(--bg-4);color:var(--t-1);}
.mo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px;}
@media(max-width:900px){.mo{grid-template-columns:1fr;}}
@media(max-width:760px){
  .sc-strip{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 -14px;padding:0 14px;} .sc-strip::-webkit-scrollbar{display:none;}
  .sc-strip .div{display:none;} .sc-tile{flex:none;width:92px;padding:8px 10px;} .sc-tile .o b,.sc-tile .r{font-size:12px;}
}

/* ── Stats tab (otg34, design cc): tiles, the game-by-game table, footer rows ── */
.seg{display:flex;gap:4px;padding:3px;border-radius:10px;background:rgba(255,255,255,.03);border:1px solid var(--line);}
.seg button{padding:4px 10px;border:0;border-radius:7px;background:transparent;color:var(--t-3);font:700 11.5px 'Inter Tight',sans-serif;cursor:pointer;white-space:nowrap;}
.seg button.on{background:var(--bg-4);color:var(--t-1);}
.gl-h{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:4px;} .gl-h .box-h{margin:0;} .gl-h .seg:first-of-type{margin-left:auto;}
.tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:14px 0 10px;}
.tile{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid var(--line);min-width:0;}
.tile .k{font-family:'JetBrains Mono',monospace;font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--t-3);}
.tile .v{display:flex;align-items:baseline;gap:8px;font-family:'Inter Tight',sans-serif;font-weight:800;font-size:20px;}
.tile .v em{font:700 9.5px 'JetBrains Mono',monospace;font-style:normal;padding:1px 7px;border-radius:999px;border:1px solid;}
.tile .s{font-size:11.5px;color:var(--t-3);}
em.pos{color:var(--pos);border-color:rgba(52,211,153,.35);} em.mid{color:var(--t-2);border-color:var(--line-strong);} em.neg{color:var(--neg);border-color:rgba(248,113,113,.35);}
table.gl th[data-k]{cursor:pointer;} table.gl th .arr{color:var(--team-accent);margin-left:3px;}
table.gl td.nm{display:flex;align-items:center;gap:6px;} table.gl td.nm .d{font-family:'JetBrains Mono',monospace;font-size:11px;color:var(--t-3);min-width:46px;}
table.gl td.nm img{width:22px;height:22px;object-fit:contain;flex:none;} table.gl td.nm .w{color:var(--t-3);font-weight:400;}
table.gl td.res{font-family:'Inter Tight',sans-serif;font-weight:800;font-size:13.5px;text-align:left;} table.gl td.res em{font-style:normal;margin-right:6px;} table.gl td.res em.w{color:var(--pos);} table.gl td.res em.l{color:var(--neg);}
table.gl td.best{background:color-mix(in srgb,var(--team-primary) 14%,transparent);color:var(--t-1);}
table.gl tr.tot td{font-weight:700;color:var(--t-1);} table.gl tr.lg td{color:var(--t-3);border-bottom:0;} table.gl tr.rk td{border-bottom:0;padding-top:4px;}
table.gl tr.tot td.nm,table.gl tr.lg td.nm,table.gl tr.rk td.nm{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.1em;text-transform:uppercase;}
table.gl tr.rk em{font:700 9.5px 'JetBrains Mono',monospace;font-style:normal;padding:1px 7px;border-radius:999px;border:1px solid;}
.gl-note{font-size:11.5px;color:var(--t-4);margin-top:10px;}
@media(max-width:900px){.tiles{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:760px){.tiles{grid-template-columns:1fr 1fr;gap:8px;} .gl-h .seg:first-of-type{margin-left:0;} table.gl td.nm{max-width:170px;}}

/* ── Roster (otg31, design cc): the shared box-score table, rows open the player page ── */
.cnt{margin-left:auto;font:700 9.5px 'JetBrains Mono',monospace;padding:2px 8px;border-radius:6px;border:1px solid;}
.cnt + .cnt{margin-left:0;} .cnt.out{color:var(--neg);border-color:rgba(248,113,113,.35);} .cnt.dtd{color:var(--warn);border-color:rgba(245,158,11,.35);}
table.ro tr[data-href]{cursor:pointer;} table.ro tr[data-href]:hover td{background:var(--bg-3);}
table.ro th,table.ro td{padding-left:4px;padding-right:4px;font-size:11.5px;}            /* thirteen columns fit the card */
table.ro td.nm{display:flex;align-items:center;gap:8px;font-family:'Inter',sans-serif;font-size:12.5px;max-width:150px;}
/* the page's scrollbars (otg38): thin, dark thumb, no track */
.tbl-wrap,.tp-pop{scrollbar-width:thin;scrollbar-color:var(--bg-4) transparent;}
.tbl-wrap::-webkit-scrollbar,.tp-pop::-webkit-scrollbar{width:8px;height:8px;}
.tbl-wrap::-webkit-scrollbar-thumb,.tp-pop::-webkit-scrollbar-thumb{background:var(--bg-4);border-radius:999px;border:2px solid transparent;background-clip:padding-box;}
.tbl-wrap::-webkit-scrollbar-track,.tp-pop::-webkit-scrollbar-track{background:transparent;}
table.ro td.nm img{width:26px;height:26px;border-radius:50%;object-fit:cover;object-position:top;background:var(--bg-4);flex:none;}
table.ro td.nm a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
table.ro tr.off td{opacity:.5;}
.chip-st{font:700 9px 'JetBrains Mono',monospace;font-style:normal;letter-spacing:.06em;padding:1px 6px;border-radius:5px;border:1px solid;cursor:help;flex:none;}
.chip-st.out{color:var(--neg);border-color:rgba(248,113,113,.35);} .chip-st.dtd{color:var(--warn);border-color:rgba(245,158,11,.35);}
.ro-more{display:none;width:100%;margin-top:8px;padding:9px;border-radius:10px;border:1px solid var(--line-strong);background:rgba(255,255,255,.03);color:var(--team-text-tint);font:700 12.5px 'Inter Tight',sans-serif;cursor:pointer;}
@media(max-width:760px){
  table.ro .x{display:none;}                                      /* # and age go; swipe for the rest */
  table.ro td.nm{max-width:150px;}
  table.ro:not(.all) tr[data-more]{display:none;} .ro-more{display:block;} .ro-more[hidden]{display:none;}
}
.empty{color:var(--t-4);font-size:12.5px;padding:8px 0;}
.fav{background:none;border:1px solid var(--line-strong);color:var(--team-text-tint);padding:2px 10px;border-radius:999px;cursor:pointer;font-size:11px;}

/* ── The clean phone look (2026-11-12) ─────────────────────────────────────────
   Phones only, and only on a page whose <main> carries .th-clean (the hockey
   Command Center for now; basketball joins by adding the class). Same sections,
   names and order as the desktop page — drawn edge to edge with thin dividers:
   a slim pinned header (logos, names, records, the game line), plain underlined
   tabs, and no boxes, pills or captions. The menus that reach Game Day /
   Schedule / Team Stats live in the bottom bar (mobile.css). */
@media(max-width:760px){
  .th-clean{display:flex;flex-direction:column;}
  .th-clean .crumbs2{order:9;margin:16px 6px 0;font-size:11.5px;}       /* season · favourite: a quiet footer line */
  .th-clean .crumbs2 > a,.th-clean .crumbs2 > span:not(.when),.th-clean .crumbs2 > strong{display:none;}
  /* the pinned header */
  .th-clean .gd.vs{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:0 8px;padding:12px 16px 0;border:0;border-bottom:1px solid var(--line-strong);border-radius:0;box-shadow:none;
    background:linear-gradient(180deg,color-mix(in srgb,var(--team-primary) 70%,transparent),rgba(13,22,24,.97)),#0B1218;}
  .th-clean .gd.vs.live{border-color:var(--line-strong);}
  .th-clean .vs-team,.th-clean .vs-team.o{flex-direction:row;align-items:center;text-align:left;gap:8px;}
  .th-clean .vs-team.o{flex-direction:row-reverse;text-align:right;}
  .th-clean .vs-logo{width:42px;height:42px;filter:none;}
  .th-clean .vs-name{font-size:15px;letter-spacing:0;text-transform:none;line-height:1.1;}
  .th-clean .vs-name .sn{display:none;} .th-clean .vs-name .mn{display:inline;}
  .th-clean .vs-line,.th-clean .vs-team.o .vs-line{flex-direction:row;margin-top:2px;font-size:11.5px;font-weight:500;color:var(--t-2);}
  .th-clean .vs-line span{display:none;} .th-clean .vs-line b{font-weight:500;}
  .th-clean .vs-mid{position:relative;min-width:0;max-width:150px;gap:1px;}
  .th-clean .vs-mark,.th-clean .vs-digits,.th-clean .vs-note,.th-clean .gd .gd-intel{display:none;}
  .th-clean .vs-box,.th-clean .gd.vs.live .vs-box{display:flex;flex-direction:column;align-items:center;gap:1px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;}
  .th-clean .gd.vs .act{position:absolute;inset:0;padding:0;border:0;background:none;opacity:0;}   /* the whole game line opens Game Day (or the recap) */
  .th-clean .vs-box-label{display:none;}
  .th-clean .vs-when{display:flex;flex-direction:column;align-items:center;gap:1px;margin:0;font-size:10px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--t-2);white-space:nowrap;}
  .th-clean .vs-when .lb{font:700 10px 'JetBrains Mono',monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--team-accent);}
  .th-clean .vs-when .dt{display:none;}
  .th-clean .vs-when b{font:800 19px 'Inter Tight',sans-serif;color:var(--t-1);}
  .th-clean .vs-when .arena{display:block;margin:0;font-size:10px;letter-spacing:0;text-transform:none;color:var(--t-2);}
  /* live: LIVE, the score, then the period and clock */
  .th-clean .vs-live{font-size:10px;letter-spacing:.12em;}
  .th-clean .vs-score{font-size:22px;font-weight:800;gap:6px;margin:0;order:1;}
  .th-clean .gd.live .vs-box-label,.th-clean .gd.last .vs-box-label{display:block;order:2;font:500 10px 'Inter',sans-serif;letter-spacing:0;text-transform:none;color:var(--t-2);}
  .th-clean .gd.live .vs-when{display:none;}
  /* after the horn: FINAL, the score, "Last game · Tue", then the next game */
  .th-clean .gd.last .vs-mark{display:block;font:700 10px 'JetBrains Mono',monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--t-3);}
  .th-clean .gd.last .vs-when{display:none;}
  .th-clean .gd.last .vs-note{display:block;position:relative;font-size:9px;letter-spacing:.04em;}
  /* plain underlined tabs */
  .th-clean .gd.vs .rb-tabs{display:flex;justify-content:space-around;gap:0;margin:10px 0 0;padding:0;overflow:visible;}
  .th-clean .rb-tabs button{flex:none;padding:11px 0 10px;border:0;border-bottom:2.5px solid transparent;border-radius:0;background:none;color:var(--t-3);font:700 13px 'Inter Tight',sans-serif;}
  .th-clean .rb-tabs button.on{background:none;color:var(--t-1);border-bottom-color:var(--team-accent);}
  /* sections: edge to edge, a thin line between them, quiet headings */
  .th-clean .m-intel{display:block;margin:0 -14px;padding:14px 20px;border:0;border-radius:0;background:none;font-size:15px;line-height:1.45;color:var(--t-1);}
  .th-clean .m-intel .k{display:block;margin-bottom:6px;font-size:11px;letter-spacing:.16em;}
  .th-clean .m-intel a{display:inline-block;margin:6px 0 0;font-size:13px;}
  .th-clean .cc-row{display:block;margin:0;}
  .th-clean .wrap,.th-clean .tt{display:block;padding:0;}
  .th-clean .rc-views{min-height:0;}
  .th-clean .panel.rc-card{margin:0 -14px;padding:14px 20px;background:none;border:0;border-top:1px solid var(--line);border-radius:0;}
  .th-clean .gd + .cc-row .panel:first-child{border-top:0;}
  .th-clean .panel.rc-card > h2,.th-clean .box-h h2{font:700 11px 'JetBrains Mono',monospace;letter-spacing:.16em;color:var(--t-3);}
  .th-clean .rc-card h2 .sub,.th-clean .rc-card:not(.tp) .box-h > .sub{display:none;}
  .th-clean .box-h{flex-wrap:nowrap;margin-bottom:2px;}
  /* season: the record, one short line, four numbers */
  .th-clean .sl-top{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 22px;}
  .th-clean .sl-top > div:first-child{flex-basis:100%;display:flex;align-items:baseline;gap:10px;}
  .th-clean .sl-rec{font-size:32px;line-height:1;letter-spacing:-.03em;}
  .th-clean .sl-rec + .sl-k{margin:0;font:600 12.5px 'JetBrains Mono',monospace;letter-spacing:0;color:var(--t-2);}
  .th-clean .sl-tile{padding:0;border:0;}
  .th-clean .sl-tile b,.th-clean .sl-tile:last-child b{font-size:15px;line-height:1;white-space:nowrap;}
  .th-clean .sl-tile b i,.th-clean .sl-tile b span{display:inline;}
  .th-clean .sl-tile .sl-k{margin-top:3px;font:400 11px 'Inter',sans-serif;letter-spacing:0;text-transform:none;}
  .th-clean .sl-foot{display:none;}
  /* leaders: a face, a number, what it is and who */
  .th-clean .ld5{gap:4px;} .th-clean .ld5 a{gap:3px;}
  .th-clean .ld5 img{order:0;width:50px;height:50px;}
  .th-clean .ld5 .v{order:1;font-size:17px;font-weight:800;}
  .th-clean .ld5 .k{order:2;font:400 10.5px 'Inter',sans-serif;letter-spacing:0;color:var(--t-3);}
  .th-clean .ld5 .n{order:3;font-size:10.5px;}
  /* team profile: the stat, ours, the rank as plain coloured text, the league's */
  .th-clean .tt .tp{order:0;}
  .th-clean .tp .box-h .sub{font:500 11px 'JetBrains Mono',monospace;}
  .th-clean .tp-pick-btn{padding:0;border:0;background:none;color:var(--t-2);font-size:12px;}
  .th-clean .tp-pick-btn img{width:16px;height:16px;}
  .th-clean .tp-head,.th-clean .tp-row{grid-template-columns:minmax(0,1fr) 62px 46px 58px;}
  .th-clean .tp-head{padding:8px 0 4px;border-bottom:0;font:600 10.5px 'JetBrains Mono',monospace;letter-spacing:.08em;text-transform:uppercase;text-align:right;}
  .th-clean .tp-head span{color:var(--t-3) !important;font-size:10.5px;letter-spacing:.08em;border-bottom:0;}
  .th-clean .tp-head span:first-child{grid-column:2;}
  .th-clean .tp-row{padding:9px 0;}
  .th-clean .tp-row .k{display:contents;}
  .th-clean .tp-row .k > .tip{order:1;border-bottom:0;font:500 14px 'Inter',sans-serif;color:var(--t-1);}
  .th-clean .tp-row .v{order:2;justify-content:flex-end;} .th-clean .tp-row .v i{display:none;}
  .th-clean .tp-row .v b{color:var(--t-1);}
  .th-clean .tp-row .pills{order:3;justify-content:flex-end;}
  .th-clean .tp-row .pills em{padding:0;border:0;font-size:12px;font-weight:500;}
  .th-clean .tp-row .pills [data-them]{display:none !important;}
  .th-clean .tp-row .lg{order:4;}
  .th-clean .tp .tip::after{left:0;transform:none;width:240px;}
  .th-clean .tp-head .tip::after{left:auto;right:0;}
  /* roster: one group at a time; a name, his position, three numbers */
  .th-clean .ro-card .cnt{display:none;}
  .th-clean .ro-seg,.th-clean #glFilter{display:flex;gap:14px;margin-left:auto;padding:0;border:0;border-radius:0;background:none;}
  .th-clean .ro-seg button,.th-clean #glFilter button{min-height:0;padding:6px 0 3px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--t-3);font:600 13px 'Inter',sans-serif;}
  .th-clean .ro-seg button.on,.th-clean #glFilter button.on{background:none;color:var(--t-1);border-bottom-color:var(--team-accent);}
  .th-clean .m-off{display:none;}
  .th-clean table.ro-g{margin-top:0;}
  .th-clean #roster [data-k]:not([data-k="g"]):not([data-k="a"]):not([data-k="p"]),
  .th-clean .ro-g [data-k]:not([data-k="gp"]):not([data-k="sv"]):not([data-k="gaa"]){display:none;}
  .th-clean table.ro th,.th-clean table.gl th{padding:10px 0 4px 10px;border-bottom:0;font-size:10.5px;letter-spacing:.08em;}
  .th-clean table.ro tbody + tbody tr:first-child th{padding-top:10px;}
  .th-clean table.ro th.grp,.th-clean table.gl th.grp{position:static;padding-left:0;background:none;font-size:10.5px;letter-spacing:.08em;color:var(--t-3);}
  .th-clean table.ro td,.th-clean table.gl td{padding:9px 0 9px 10px;font-size:14px;color:var(--t-2);}
  .th-clean table.ro td.b{color:var(--t-1);}
  .th-clean table.ro td.nm{position:static;display:grid;grid-template-columns:34px auto minmax(0,1fr);gap:0 10px;align-items:center;max-width:none;padding-left:0;background:none;}
  .th-clean table.ro td.nm img{grid-row:1 / 3;width:34px;height:34px;}
  .th-clean table.ro td.nm a{grid-column:2 / 4;font-size:14.5px;font-weight:600;color:var(--t-1);}
  .th-clean .m-sub{display:block;grid-column:2;font-size:11.5px;color:var(--t-3);}
  .th-clean table.ro td.nm .chip-st{grid-column:3;grid-row:2;justify-self:start;padding:0;border:0;font:500 11.5px 'Inter',sans-serif;letter-spacing:0;}
  /* stats: one row a game — who, the result, two numbers */
  .th-clean .gl-h{flex-wrap:nowrap;margin-bottom:2px;}
  .th-clean #glFilter [data-f="w"],.th-clean #glFilter [data-f="l"]{display:none;}
  .th-clean table.gl thead th:nth-child(2),.th-clean table.gl td.res,.th-clean table.gl tfoot,.th-clean .gl-note,
  .th-clean table.gl th[data-k]:not(.grp):not([data-k="shots"]):not([data-k="xg"]),
  .th-clean table.gl td[data-k]:not([data-k="shots"]):not([data-k="xg"]){display:none;}
  .th-clean table.gl td.nm{position:static;gap:10px;max-width:none;padding-left:0;background:none;}
  .th-clean table.gl td.nm > .d,.th-clean table.gl td.nm > .w,.th-clean table.gl td.nm > .os{display:none;}
  .th-clean table.gl td.nm img{width:28px;height:28px;}
  .th-clean .m-g{display:flex;flex-direction:column;min-width:0;}
  .th-clean .m-g b{font:600 14.5px 'Inter',sans-serif;color:var(--t-1);}
  .th-clean .m-g small{font-size:11.5px;color:var(--t-3);}
  .th-clean .m-g em{font-style:normal;font-weight:700;} .th-clean table.gl .m-g em.w{color:var(--pos);font-weight:700;} .th-clean table.gl .m-g em.l{color:var(--neg);}
  /* schedule: a list — last 3, then next 5 */
  .th-clean .sc-strip{display:block;margin:0;padding:0;overflow:visible;}
  .th-clean .sc-tile{flex-direction:row;align-items:center;gap:12px;width:auto;padding:12px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;}
  .th-clean .sc-tile .d{flex:none;width:98px;font-size:11px;font-weight:600;letter-spacing:.04em;}
  .th-clean .sc-tile .o{flex:1;gap:10px;} .th-clean .sc-tile .o img{width:28px;height:28px;}
  .th-clean .sc-tile .o b{font:600 14.5px 'Inter',sans-serif;}
  .th-clean .sc-tile .r{flex-wrap:nowrap;font-size:14px;color:var(--t-2);}
  .th-clean .sc-tile.hot{margin:0 -20px;padding:12px 20px;background:rgba(255,255,255,.04);}
  .th-clean .sc-tile.hot .r{color:var(--t-1);}
}

