@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/barlow-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/barlow-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:italic;font-weight:400;font-display:swap;src:url(/assets/fonts/barlow-latin-ext-400-italic.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:italic;font-weight:400;font-display:swap;src:url(/assets/fonts/barlow-latin-400-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/barlow-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/barlow-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/barlow-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/barlow-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/barlow-condensed-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/barlow-condensed-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-condensed-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-condensed-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/barlow-condensed-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/barlow-condensed-latin-ext-800-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/barlow-condensed-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Layout: an arena concourse. A dark scoreboard bar over a gym-floor grey floor; the game cards and player
   cards are the programs you pick up; numbers are set in a condensed face the way box scores print them. */
:root {
  --bg: #eef1f4; --surface: #ffffff; --surface-2: #f6f8fa; --ink: #121820; --ink-2: #3b4552; --muted: #5a6573;
  --line: #d6dce3; --soft: #e6eaef; --accent: #c4511a; --accent-soft: rgba(196, 81, 26, 0.12);
  --bar: #121820; --bar-ink: #eef1f4; --bar-muted: #9aa5b3; --bar-line: #2a3440;
  --hot: #e34948; --cold: #2a78d6; --mid: #d6d4cd;
  --c-g: #2a78d6; --c-f: #eb6834; --c-b: #1baf7a;
  --court: #f6eedf; --court-paint: #efe2c9; --court-line: #c8a978;
  --ring: rgba(18, 24, 32, 0.14); --shadow: 0 1px 2px rgba(18, 24, 32, 0.06), 0 4px 14px rgba(18, 24, 32, 0.05);
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1116; --surface: #151b22; --surface-2: #1a2129; --ink: #e7ecf2; --ink-2: #c3ccd6; --muted: #98a3b1;
    --line: #29313b; --soft: #1d242d; --accent: #f0793a; --accent-soft: rgba(240, 121, 58, 0.16);
    --bar: #05080b; --bar-ink: #e7ecf2; --bar-muted: #8c97a4; --bar-line: #1b222b;
    --hot: #e66767; --cold: #3987e5; --mid: #474a50;
    --c-g: #3987e5; --c-f: #d95926; --c-b: #199e70;
    --court: #1b2128; --court-paint: #212831; --court-line: #3d4752;
    --ring: rgba(255, 255, 255, 0.12); --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1116; --surface: #151b22; --surface-2: #1a2129; --ink: #e7ecf2; --ink-2: #c3ccd6; --muted: #98a3b1;
  --line: #29313b; --soft: #1d242d; --accent: #f0793a; --accent-soft: rgba(240, 121, 58, 0.16);
  --bar: #05080b; --bar-ink: #e7ecf2; --bar-muted: #8c97a4; --bar-line: #1b222b;
  --hot: #e66767; --cold: #3987e5; --mid: #474a50;
  --c-g: #3987e5; --c-f: #d95926; --c-b: #199e70;
  --court: #1b2128; --court-paint: #212831; --court-line: #3d4752;
  --ring: rgba(255, 255, 255, 0.12); --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.45;
  font-variant-numeric: tabular-nums; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bar); }
a { color: inherit; }
button, select, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; text-wrap: balance; letter-spacing: 0.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.num { font-family: var(--display); font-weight: 700; }

/* scoreboard bar */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bar); color: var(--bar-ink);
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.bar-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 18px;
  align-items: center; min-height: 58px; padding-block: 6px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display);
  font-weight: 800; font-size: 29px; letter-spacing: 0.05em; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand .ball { fill: none; stroke: currentColor; stroke-width: 1.6; }
.brand .seam { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.search { position: relative; min-width: 0; max-width: 420px; justify-self: center; width: 100%; }
.search input { width: 100%; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--bar-line); color: var(--bar-ink);
  border-radius: 999px; padding: 8px 14px 8px 36px; outline: none; }
.search input::placeholder { color: var(--bar-muted); }
.search input:focus { border-color: var(--accent); }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--bar-muted); fill: none; stroke-width: 2; }
.results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); overflow: hidden; z-index: 30; }
.results a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 12px;
  text-decoration: none; }
.results a:hover, .results a.on { background: var(--soft); }
.results .sub { color: var(--muted); font-size: 12.5px; }
nav.tabs { display: flex; gap: 2px; }
nav.tabs a { text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 6px 11px; border-radius: 4px; color: var(--bar-muted); }
nav.tabs a:hover { color: var(--bar-ink); }
nav.tabs a[aria-current="page"] { color: var(--bar-ink); box-shadow: inset 0 -3px 0 var(--accent); }
@media (max-width: 860px) {
  .bar-in { grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; }
  .search { justify-self: stretch; max-width: none; }
  nav.tabs { grid-column: 1 / -1; overflow-x: auto; scrollbar-width: none; margin-inline: -6px; }
  nav.tabs::-webkit-scrollbar { display: none; }
  nav.tabs a { font-size: 15.5px; padding: 5px 9px; white-space: nowrap; }
  .brand { font-size: 25px; }
}
main { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 22px 70px; }
.wrap { max-width: 1180px; margin: 0 auto; display: grid; gap: 26px; min-width: 0; }
.view { display: grid; gap: 26px; min-width: 0; }
@media (prefers-reduced-motion: no-preference) { .view { animation: rise 0.22s ease-out; } }
@keyframes rise { from { transform: translateY(5px); } to { transform: none; } }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.head { display: grid; gap: 8px; }
.head h1 { font-size: clamp(36px, 6.4vw, 60px); font-weight: 800; }
.lede { color: var(--muted); max-width: 66ch; font-size: 16px; }
.sec { display: grid; gap: 12px; min-width: 0; align-content: start; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sec-h h2 { font-size: 25px; font-weight: 700; letter-spacing: 0.02em; }
.sec-h .more { font-size: 14px; color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; min-width: 0; box-shadow: var(--shadow); }
.panel h3 { font-size: 18px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 980px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid2, .grid4 { grid-template-columns: minmax(0, 1fr); } }

/* number badge in team colors */
.nb { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 5px; border-radius: 7px;
  background: var(--tb); color: var(--tf); font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px var(--ring); flex: none; line-height: 1; }
.nb.sm { min-width: 24px; height: 24px; font-size: 13.5px; border-radius: 6px; }
.nb.xl { min-width: 74px; height: 74px; font-size: 40px; border-radius: 16px; }
.nb.ab { width: 46px; font-size: 15px; }
.nb.ab.sm { width: 38px; font-size: 13px; }
.nb.ab.xl { width: auto; min-width: 74px; font-size: 30px; padding: 0 10px; }
.pl { display: inline-flex; align-items: center; gap: 9px; min-width: 0; text-decoration: none; }
.pl b { font-weight: 600; }
.pl .sub { color: var(--muted); font-size: 12.5px; display: block; font-weight: 400; }
a.pl:hover b { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* tonight */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); gap: 14px; }
.game { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 13px; display: grid; gap: 8px;
  box-shadow: var(--shadow); min-width: 0; }
.game .top { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.game .line { color: var(--ink); }
.side { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.side a { text-decoration: none; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.side .rec { color: var(--muted); font-weight: 400; font-size: 13px; }
.side .wp { font-family: var(--display); font-weight: 700; font-size: 24px; }
.side.fav .wp { color: var(--ink); }
.side:not(.fav) .wp { color: var(--muted); }
.split { display: flex; height: 6px; border-radius: 3px; overflow: hidden; gap: 2px; background: var(--surface); }
.split i { display: block; height: 100%; }
.split .a { background: var(--muted); opacity: 0.55; border-radius: 3px 0 0 3px; }
.split .h { background: var(--ink); border-radius: 0 3px 3px 0; }
.split.awayfav .a { background: var(--ink); opacity: 1; }
.split.awayfav .h { background: var(--muted); opacity: 0.55; }
.out { font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 7px; }
.out b { color: var(--ink-2); font-weight: 600; }

/* lists */
.rows { display: grid; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--soft); }
.row:last-child { border-bottom: 0; }
.row .v { font-family: var(--display); font-weight: 700; font-size: 19px; }
.up { color: var(--hot); } .down { color: var(--cold); }
.race .row .v { font-size: 18px; }
.race h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.race h3 span { font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.lt { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 12px; align-items: baseline; font-size: 14px; }
.lt .h { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.ok { color: var(--ink); font-weight: 700; }
.ok::before { content: "✓ "; color: var(--c-b); }
.miss { color: var(--muted); }
.miss::before { content: "✗ "; }
.callout { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 14px; display: grid; gap: 4px; }

/* controls */
.controls { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; }
.field { display: grid; gap: 4px; min-width: 0; }
.field label, .lab { font-size: 11.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
select { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; max-width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 12px; cursor: pointer; font-size: 14px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.seg { justify-self: start; display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--surface); }
.seg a { text-decoration: none; padding: 7px 16px; font-family: var(--display); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 15px; }
.seg a[aria-current="page"] { background: var(--ink); color: var(--surface); }

/* table */
.tablewrap { overflow-x: auto; }
table.lb { width: 100%; border-collapse: collapse; }
.lb th { text-align: left; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600;
  padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.lb td { padding: 7px 8px; border-bottom: 1px solid var(--soft); vertical-align: middle; }
.lb tr.tp { cursor: pointer; }
.lb tr.tp:hover td { background: var(--soft); }
.lb .rk { color: var(--muted); width: 38px; font-family: var(--display); font-size: 17px; }
.lb .r { text-align: right; white-space: nowrap; }
.lb .big { font-family: var(--display); font-size: 20px; font-weight: 700; }
.lb .barc { width: 30%; min-width: 120px; }
.more-btn { justify-self: start; background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.more-btn:hover { background: var(--soft); }

/* percentile bars */
.pbar { position: relative; height: 10px; border-radius: 5px; background: var(--soft); }
.pbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; }
.pbar b { position: absolute; top: 50%; transform: translate(-50%, -50%); min-width: 26px; height: 22px; padding: 0 4px; border-radius: 11px;
  display: grid; place-items: center; font-family: var(--display); font-size: 13.5px; font-weight: 700; color: #fff;
  box-shadow: 0 0 0 2px var(--surface); }
.prof { display: grid; gap: 14px; }
.prof h4 { margin: 0; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pr { display: grid; grid-template-columns: 128px 62px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 14px; padding: 3px 0; }
.pr .val { text-align: right; font-family: var(--display); font-weight: 600; font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 600;
  background: color-mix(in oklab, var(--hot) 14%, var(--surface)); color: var(--ink); border: 1px solid color-mix(in oklab, var(--hot) 35%, var(--surface)); }
.tag.inj { background: var(--surface-2); border-color: var(--line); color: var(--muted); }
.hist-note { font-size: 12.5px; color: var(--muted); }

/* player header */
.ph { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; align-items: end; }
.ph .who { display: flex; gap: 16px; align-items: center; min-width: 0; }
.ph h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 800; }
.ph .meta { color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.ph .meta a { text-decoration: none; color: var(--ink-2); font-weight: 600; }
.score { display: grid; gap: 6px; justify-items: end; text-align: right; }
.score .xpm { font-family: var(--display); font-weight: 800; font-size: 72px; line-height: 0.9; }
.score .lab2 { color: var(--muted); font-size: 13px; }
.od { display: grid; grid-template-columns: auto 86px auto; gap: 4px 8px; align-items: center; font-size: 13px; }
.od .bt { height: 8px; background: var(--soft); border-radius: 4px; position: relative; }
.od .bt i { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.od .bt s { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--muted); text-decoration: none; }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.quick div { padding: 10px 12px; display: grid; gap: 2px; border-right: 1px solid var(--soft); }
.quick b { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1; }
.quick span { font-size: 11.5px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 760px) { .ph { grid-template-columns: minmax(0, 1fr); } .score { justify-items: start; text-align: left; }
  .pr { grid-template-columns: 104px 54px minmax(0, 1fr); gap: 8px; } }

/* charts */
.chart { position: relative; min-width: 0; }
.chart svg { display: block; width: 100%; height: auto; max-width: 100%; }
.tip { position: absolute; pointer-events: none; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px;
  font-size: 13px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16); white-space: nowrap; z-index: 5; display: grid; gap: 2px; }
.tip b { font-weight: 700; }
.ax { stroke: var(--line); stroke-width: 1; }
.zero { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0.8; }
.tk { fill: var(--muted); font-size: 11.5px; font-family: var(--body); }
.ql { fill: var(--muted); font-size: 12px; font-family: var(--display); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.dl { fill: var(--ink); font-size: 12px; font-weight: 600; paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; }
.histo { position: relative; }
.histo svg { display: block; width: 100%; height: 40px; }
.histo .med { position: absolute; top: 0; height: 40px; width: 2px; background: var(--accent); transform: translateX(-1px); }
.histo .hl { position: relative; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 4px; min-height: 16px; }
.histo .hl .mid { position: absolute; transform: translateX(-50%); color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.dl.sm { font-size: 11px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.court-bg { fill: var(--court); }
.court-paint { fill: var(--court-paint); }
.cl { fill: none; stroke: var(--court-line); stroke-width: 0.16; }
.ztab { width: 100%; border-collapse: collapse; font-size: 14px; }
.ztab th { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; text-align: right; padding: 5px 6px; border-bottom: 1px solid var(--line); }
.ztab td { text-align: right; padding: 5px 6px; border-bottom: 1px solid var(--soft); }
.ztab th:first-child, .ztab td:first-child { text-align: left; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.ramp { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.ramp .r { width: 120px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--cold), var(--mid), var(--hot)); }
.comp { display: grid; grid-template-columns: minmax(0, 1fr) 76px 120px; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--soft); font-size: 14px; }
.comp:last-child { border-bottom: 0; }
.simb { height: 6px; background: var(--soft); border-radius: 3px; overflow: hidden; }
.simb i { display: block; height: 100%; background: var(--ink-2); border-radius: 3px; }
.spark path { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.spark line { stroke: var(--line); }

/* teams */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 10px;
  text-decoration: none; box-shadow: var(--shadow); min-width: 0; }
.tcard:hover { border-color: var(--accent); }
.tcard .tt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.tcard .tt b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcard .net { font-family: var(--display); font-weight: 700; font-size: 22px; }
.wins { position: relative; height: 18px; }
.wins .tr { position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--soft); }
.wins .rg { position: absolute; top: 5px; height: 8px; border-radius: 4px; background: var(--accent-soft); border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent); }
.wins .pt { position: absolute; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); box-shadow: 0 0 0 2px var(--surface); }
.tstats { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.tstats b { color: var(--ink); font-family: var(--display); font-size: 17px; font-weight: 700; }
.contrib { display: grid; gap: 4px; }
.cb { display: grid; grid-template-columns: 170px minmax(0, 1fr) 60px; gap: 10px; align-items: center; font-size: 14px; }
.cb .trk { position: relative; height: 16px; }
.cb .trk s { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--muted); text-decoration: none; }
.cb .trk i { position: absolute; top: 2px; height: 12px; border-radius: 4px; }
.cb .v { text-align: right; font-family: var(--display); font-weight: 700; font-size: 16px; }
@media (max-width: 760px) { .cb { grid-template-columns: 116px minmax(0, 1fr) 46px; } }
.funnel { display: grid; gap: 6px; }
.fr { display: grid; grid-template-columns: 140px minmax(0, 1fr) 52px; gap: 10px; align-items: center; font-size: 14px; }
.fr .t { height: 14px; background: var(--soft); border-radius: 4px; overflow: hidden; }
.fr .t i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.fr b { text-align: right; font-family: var(--display); font-size: 17px; }
.seeds { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; align-items: end; }
.seeds div { display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; height: 92px; text-align: center; font-size: 11.5px; color: var(--muted); }
.seeds i { display: block; background: var(--ink-2); border-radius: 3px 3px 0 0; min-height: 1px; }
.seeds .po i { background: var(--accent); }
.seeds em { font-style: normal; font-family: var(--display); font-weight: 600; font-size: 12.5px; color: var(--ink); }

/* playoffs table */
table.odds { width: 100%; border-collapse: collapse; }
.odds th { text-align: right; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.odds th:first-child { text-align: left; }
.odds td { padding: 6px; border-bottom: 1px solid var(--soft); }
.odds td.pc { text-align: right; font-family: var(--display); font-weight: 600; font-size: 17px; white-space: nowrap;
  background: linear-gradient(90deg, var(--accent-soft) calc(var(--h, 0) * 100%), transparent 0); }
.odds td.z { color: var(--muted); font-weight: 500; }
.tbars { display: grid; gap: 7px; }
.tbar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 52px; gap: 10px; align-items: center; text-decoration: none; }
.tbar .tr { height: 16px; background: var(--soft); border-radius: 4px; overflow: hidden; }
.tbar .tr i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.tbar b { text-align: right; font-family: var(--display); font-size: 19px; }
@media (max-width: 760px) { .lb .hide-s, .odds .hide-s, .ztab .hide-s { display: none; } .tbar { grid-template-columns: 112px minmax(0, 1fr) 44px; } .fr { grid-template-columns: 112px minmax(0, 1fr) 46px; } }

footer { max-width: 1180px; margin: 30px auto 0; color: var(--muted); font-size: 13px; display: grid; gap: 4px; }
.loading { padding: 60px 0; color: var(--muted); text-align: center; }

/* ---------------------------------------------------------------- v2: site pages */
.skip { position: absolute; left: -999px; top: 0; z-index: 50; background: var(--surface); color: var(--ink); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; top: 8px; }
.loading.static { text-align: left; padding: 30px 0; display: grid; gap: 10px; }
.loading.static h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; color: var(--ink); }
.back { text-decoration: none; justify-self: start; }
.back:hover { color: var(--ink); }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px;
  padding: 7px 12px; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; color: var(--ink); }
.btn:hover { border-color: var(--accent); }
.chip.sm { padding: 3px 10px; font-size: 13px; }
footer a { color: var(--ink-2); }

/* tonight: one swipeable row on phones */
.swipe-hint { display: none; margin-top: -16px; }
.games.one { grid-template-columns: minmax(0, 420px); }
.game[data-href] { cursor: pointer; }
.game[data-href]:hover { border-color: color-mix(in oklab, var(--accent) 50%, var(--line)); }
.game .top a.line { text-decoration: none; color: var(--ink); white-space: nowrap; }
.game .top a.line:hover { color: var(--accent); }
@media (max-width: 640px) {
  .games.swipe { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain; margin-inline: -16px; padding: 2px 16px 6px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .games.swipe::-webkit-scrollbar { display: none; }
  .games.swipe .game { scroll-snap-align: start; }
  .swipe-hint { display: block; }
}

/* player and team headers on phones */
@media (max-width: 640px) {
  .ph { gap: 12px; }
  .ph .who { gap: 12px; align-items: flex-start; }
  .nb.xl { min-width: 54px; height: 54px; font-size: 28px; border-radius: 12px; }
  .nb.ab.xl { min-width: 54px; font-size: 21px; padding: 0 8px; }
  .ph h1 { font-size: 33px; }
  .ph .meta { font-size: 13.5px; gap: 2px 10px; margin-top: 4px; }
  .score { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 14px; }
  .score .xpm { grid-row: 1 / span 2; font-size: 56px; }
  .score .lab2 { align-self: end; }
  .score > :nth-child(3) { grid-column: 2; align-self: start; }
  .quick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quick div { padding: 8px 9px; }
  .quick b { font-size: 21px; }
  .quick span { font-size: 10.5px; letter-spacing: 0.05em; }
}

/* what-if lineups */
.wi-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 12px; font-size: 14px; }
.wi-sum b { font-family: var(--display); font-size: 18px; }
.wi-sum .more-btn { padding: 4px 10px; margin-left: auto; }
.est { font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 700; color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent); border-radius: 4px; padding: 1px 6px; }
.wi-list { display: grid; }
.wi-r { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; text-align: left; background: none;
  border: 0; border-bottom: 1px solid var(--soft); padding: 7px 4px; cursor: pointer; width: 100%; border-radius: 0; }
.wi-r:last-child { border-bottom: 0; }
.wi-r:hover { background: var(--soft); }
.wi-r .nm { min-width: 0; }
.wi-r .nm b { font-weight: 600; }
.wi-r .sub { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.wi-r .mn { text-align: right; font-family: var(--display); font-weight: 700; font-size: 17px; white-space: nowrap; }
.wi-r .mn s { color: var(--muted); font-weight: 500; }
.wi-r .mn .sub { font-family: var(--body); font-size: 11px; }
.sw { width: 30px; height: 18px; border-radius: 9px; background: var(--ink); position: relative; }
.sw::after { content: ""; position: absolute; top: 2px; left: 14px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); }
.wi-r.off .sw { background: var(--mid); }
.wi-r.off .sw::after { left: 2px; }
.wi-r.off .nm b { color: var(--muted); text-decoration: line-through; }
@media (prefers-reduced-motion: no-preference) { .sw, .sw::after { transition: background 0.15s, left 0.15s; } }

/* game page */
.gh { gap: 14px; }
.gs { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.gs a { text-decoration: none; }
.gs b { font-size: 20px; }
.gs .sub { display: block; color: var(--muted); font-size: 13px; }
.gs .gp { font-family: var(--display); font-weight: 800; font-size: 46px; color: var(--muted); line-height: 1; }
.gs.fav .gp { color: var(--ink); }
.gh .split { height: 10px; border-radius: 5px; }
@media (max-width: 640px) { .gs .gp { font-size: 34px; } .gs b { font-size: 17px; } }
.trend4 div { gap: 3px; }
.trend4 em { font-style: normal; font-size: 12.5px; font-weight: 600; }

/* compare */
.cp { flex: 1 1 220px; }
.search.light { max-width: none; justify-self: stretch; }
.search.light input { background: var(--surface); border: 1px solid var(--line); color: var(--ink); padding-left: 12px; border-radius: 8px; }
.search.light input::placeholder { color: var(--ink-2); }
.cmp-h { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ch { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--pc); border-radius: 10px; padding: 14px;
  display: grid; gap: 10px; box-shadow: var(--shadow); min-width: 0; }
.ch .cs { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.ch .big { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; }
.cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 30px; }
.cg h4 { margin: 0 0 4px; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cr { display: grid; grid-template-columns: 62px minmax(0, 1fr) 62px; column-gap: 10px; align-items: center; padding: 6px 0;
  border-bottom: 1px solid var(--soft); font-size: 14px; }
.cr .cv { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--muted); }
.cr .cv.r { text-align: right; }
.cr .cv.win { color: var(--ink); font-weight: 800; }
.cr .cl2 { text-align: center; }
.cr .cbars { grid-column: 1 / -1; display: grid; gap: 3px; margin-top: 5px; }
.pbar.thin { height: 5px; border-radius: 3px; }
.pbar.thin i { border-radius: 3px; }
@media (max-width: 760px) { .cmp-h, .cgrid { grid-template-columns: minmax(0, 1fr); } .ch .big { font-size: 36px; } }

/* method and record */
.steps, .notes { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; }
.lb.rec td { font-size: 14px; }
h4.lab { margin: 0; }
.injt { color: var(--accent); font-weight: 600; }

/* scorecard, explanations, trade machine */
.sct td { vertical-align: top; }
.sct td .sub, .lb td.big .sub { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.sct td:first-child { min-width: 120px; }
.edge { font-weight: 600; white-space: nowrap; }
.edge.big { color: var(--accent); }
.few { color: var(--accent); font-weight: 600; }
.od.xb { grid-template-columns: minmax(120px, auto) 1fr 52px; }
select[data-team] { width: 100%; }
.wi-r.tr.off .nm b { color: inherit; text-decoration: none; }
.wi-r.tr:not(.off) { background: var(--soft); }
