@font-face{font-family:'Archivo';font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(/assets/fonts/archivo-latin-ext-variable-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:'Archivo';font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(/assets/fonts/archivo-latin-variable-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:'DM Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/dm-mono-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:'DM Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/dm-mono-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:'DM Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/dm-mono-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:'DM Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/dm-mono-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}
/* Layout: receipts and cards. A white sheet set like something printed: section heads over a heavy rule, dates and
   tallies in the mono face a till prints them in. Two objects carry the look: last night's receipt, and a card for
   every player in his team's colors. Dark mode is the same sheet with the lights off. */
:root {
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f4f6f8; --band: #eceff3;
  --ink: #0e1116; --ink-2: #3d4551; --muted: #5b6470;
  --line: #e4e7ec; --soft: #eef0f3; --accent: #f04e23; --accent-ink: #c2410c; --accent-soft: rgba(240, 78, 35, 0.1);
  --bar: #ffffff; --bar-ink: #0e1116; --bar-muted: #5b6470; --bar-line: #e4e7ec;
  --hot: #e34948; --cold: #2a78d6; --mid: #d6d4cd; --up: #c2302f; --down: #1f62b8; --good: #12805a;
  --c-g: #2a78d6; --c-f: #eb6834; --c-b: #16a371;
  --court: #f6eedf; --court-paint: #efe2c9; --court-line: #c8a978;
  --paper: #fffef9; --paper-ink: #0e1116; --paper-muted: #5b6470; --paper-dash: #b9bec7;
  --foot: #0e1116; --foot-ink: #ffffff; --foot-muted: #c9ced6;
  --ring: rgba(14, 17, 22, 0.14); --shadow: 0 8px 14px rgba(14, 17, 22, 0.14);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d11; --surface: #141820; --surface-2: #1c212b; --band: #141820;
    --ink: #f3f5f8; --ink-2: #c3cad5; --muted: #98a2b0;
    --line: #2a303c; --soft: #1f242e; --accent: #f4592f; --accent-ink: #ff8a5c; --accent-soft: rgba(244, 89, 47, 0.16);
    --bar: #0b0d11; --bar-ink: #f3f5f8; --bar-muted: #98a2b0; --bar-line: #2a303c;
    --hot: #e66767; --cold: #3987e5; --mid: #474a50; --up: #ff8f8f; --down: #7db4f6; --good: #3ecf98;
    --c-g: #3987e5; --c-f: #d95926; --c-b: #199e70;
    --court: #1b2128; --court-paint: #212831; --court-line: #3d4752; --foot: #141820; --foot-ink: #f3f5f8; --foot-muted: #a9b2bf;
    --ring: rgba(255, 255, 255, 0.14); --shadow: 0 10px 22px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d11; --surface: #141820; --surface-2: #1c212b; --band: #141820;
  --ink: #f3f5f8; --ink-2: #c3cad5; --muted: #98a2b0;
  --line: #2a303c; --soft: #1f242e; --accent: #f4592f; --accent-ink: #ff8a5c; --accent-soft: rgba(244, 89, 47, 0.16);
  --bar: #0b0d11; --bar-ink: #f3f5f8; --bar-muted: #98a2b0; --bar-line: #2a303c;
  --hot: #e66767; --cold: #3987e5; --mid: #474a50; --up: #ff8f8f; --down: #7db4f6; --good: #3ecf98;
  --c-g: #3987e5; --c-f: #d95926; --c-b: #199e70;
  --court: #1b2128; --court-paint: #212831; --court-line: #3d4752; --foot: #141820; --foot-ink: #f3f5f8; --foot-muted: #a9b2bf;
  --ring: rgba(255, 255, 255, 0.14); --shadow: 0 10px 22px rgba(0, 0, 0, 0.5);
  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); font-weight: 800; font-stretch: 92%; margin: 0; line-height: 1.05; text-wrap: balance;
  letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.num { font-family: var(--display); font-weight: 700; font-stretch: 86%; }

/* top bar */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bar); color: var(--bar-ink);
  border-bottom: 1px solid var(--bar-line);
  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 auto; gap: 8px 18px;
  align-items: center; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; font-family: var(--display);
  font-weight: 800; font-stretch: 125%; font-size: 21px; letter-spacing: 0.01em; }
.brand .mark { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.brand .mark svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.search { position: relative; min-width: 0; max-width: 400px; justify-self: center; width: 100%; }
.search input { width: 100%; background: var(--surface-2); border: 1px solid transparent; 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); background: var(--surface); }
.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: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2); 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(--surface-2); }
.results .sub { color: var(--muted); font-size: 12.5px; }
nav.tabs { display: flex; gap: 2px; }
nav.tabs a { text-decoration: none; font-weight: 600; font-size: 15px; font-stretch: 94%; padding: 8px 10px; white-space: nowrap;
  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 -2px 0 var(--accent); }
.tgl { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid var(--bar-line); border-radius: 50%;
  background: transparent; color: var(--bar-ink); cursor: pointer; }
.tgl:hover { border-color: var(--bar-muted); }
.tgl svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) {
  .bar-in { grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 12px; min-height: 0; padding-top: 5px; }
  .search { justify-self: stretch; max-width: none; }
  nav.tabs { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; scrollbar-width: none; margin-inline: -8px; justify-content: space-between; }
  nav.tabs::-webkit-scrollbar { display: none; }
  nav.tabs a { font-size: 13.5px; font-stretch: 86%; padding: 10px 5px 11px; }
  .brand { font-size: 19px; }
}
@media (max-width: 380px) { nav.tabs a { font-size: 13px; padding-inline: 4px; } }
main { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 22px 56px; }
.wrap { max-width: 1180px; margin: 0 auto; display: grid; gap: 34px; min-width: 0; }
.view { display: grid; gap: 34px; 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(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.head { display: grid; gap: 10px; }
.head h1 { font-size: clamp(34px, 6vw, 54px); font-stretch: 88%; letter-spacing: -0.025em; line-height: 1.02; }
.lede { color: var(--ink-2); max-width: 64ch; font-size: 16px; text-wrap: pretty; }
.sec { display: grid; gap: 12px; min-width: 0; align-content: start; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; }
.sec-h h2 { font-size: 23px; }
.sec-h .more { font-size: 14px; color: var(--muted); }
.sec > .sec-h:first-child, .panel > h3:first-child { padding-bottom: 7px; border-bottom: 2px solid var(--ink); }
.panel { min-width: 0; }
.panel h3 { font-size: 19px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 32px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.arrow { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; text-decoration: none; }
.arrow::after { content: "→"; font-weight: 500; }
.arrow:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* 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-stretch: 72%; font-size: 16px;
  letter-spacing: 0.01em; 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: each game is a bar split in the two teams' colors */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 0 34px; }
.games.one { grid-template-columns: minmax(0, 460px); }
.game { display: grid; gap: 7px; padding: 14px 0 15px; border-bottom: 1px solid var(--line); min-width: 0; align-content: start; }
.game[data-href] { cursor: pointer; }
.g-teams { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.g-t { display: flex; align-items: center; gap: 7px; min-width: 0; flex: 0 1 auto; text-decoration: none; }
.g-t.home { justify-content: flex-end; }
.g-t .sq { width: 10px; height: 10px; border-radius: 2px; background: var(--tl); flex: none; }
.g-t b { font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-t:hover b { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.g-t .rec { color: var(--muted); font-size: 13px; white-space: nowrap; }
.g-t .wp, .g-pct b { font-family: var(--display); font-stretch: 88%; letter-spacing: -0.02em; line-height: 1; font-weight: 500;
  color: var(--muted); white-space: nowrap; }
.g-t .wp { font-size: 22px; display: none; }
.g-t.fav .wp, .g-pct b.fav { font-weight: 800; color: var(--ink); }
.g-at { color: var(--muted); font-size: 12.5px; flex: none; }
.g-pct { display: flex; justify-content: space-between; align-items: flex-end; }
.g-pct b { font-size: 34px; }
.g-pct b span { font-size: 18px; font-weight: 600; }
.split { display: flex; height: 10px; gap: 2px; }
.split i { display: block; height: 100%; min-width: 3px; background: var(--tl); }
.split .a { border-radius: 5px 0 0 5px; }
.split .h { border-radius: 0 5px 5px 0; }
.g-meta { font-size: 13px; color: var(--ink-2); }
.g-meta a { text-decoration: none; }
.g-meta a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.g-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 24px; }
.out { font-size: 12.5px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.out b { color: var(--ink-2); font-weight: 600; }
.lean { flex: none; margin-left: auto; background: var(--surface-2); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 600;
  white-space: nowrap; }
.lean.big { background: var(--accent-soft); color: var(--accent-ink); }
.games.tight .g-pct, .games.tight .g-t .rec, .games.tight .g-at { display: none; }
.games.tight .g-t .wp { display: inline; }
.games.tight .g-t b { font-size: 15.5px; }
.games.tight .split { height: 8px; }
.games.tight .game { padding: 12px 0 12px; gap: 6px; }
@media (min-width: 720px) { .games.tight .g-t .rec { display: inline; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .split i, :root:not([data-theme="light"]) .g-t .sq,
  :root:not([data-theme="light"]) .tone { background: var(--td); } }
:root[data-theme="dark"] .split i, :root[data-theme="dark"] .g-t .sq, :root[data-theme="dark"] .tone { background: var(--td); }
.tone { background: var(--tl); }

/* lists */
.rows { display: grid; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--soft); }
.row:last-child { border-bottom: 0; }
.row .v { font-family: var(--display); font-weight: 800; font-stretch: 86%; font-size: 18px; }
.up { color: var(--up); } .down { color: var(--down); }
.ok { color: var(--ink); font-weight: 700; }
.ok::before { content: "✓ "; color: var(--good); }
.miss { color: var(--muted); }
.miss::before { content: "✗ "; }
.callout { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; font-size: 14px; display: grid; gap: 4px; }

/* controls */
.controls { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; }
.field { display: grid; gap: 5px; min-width: 0; }
.field label, .lab { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
select { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 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: 6px 13px; cursor: pointer; font-size: 14px;
  font-weight: 500; text-decoration: none; }
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg { justify-self: start; display: inline-flex; max-width: 100%; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.seg a { text-decoration: none; padding: 8px 15px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.seg a[aria-current="page"] { background: var(--ink); color: var(--bg); }
@media (max-width: 420px) { .seg a { padding: 8px 11px; font-stretch: 90%; } }

/* table */
.tablewrap { overflow-x: auto; }
table.lb { width: 100%; border-collapse: collapse; }
.lb th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 600; padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.lb td { padding: 8px; border-bottom: 1px solid var(--soft); vertical-align: middle; }
.lb th:first-child, .lb td:first-child { padding-left: 0; }
.lb th:last-child, .lb td:last-child { padding-right: 0; }
.lb tr.tp { cursor: pointer; }
.lb tr.tp:hover td { background: var(--surface-2); }
.lb .rk { color: var(--muted); width: 34px; font-family: var(--mono); font-size: 13px; }
.lb .r { text-align: right; white-space: nowrap; }
.lb .big { font-family: var(--display); font-stretch: 86%; font-size: 19px; font-weight: 800; }
.lb .barc { width: 30%; min-width: 120px; padding-right: 14px; }
@media (max-width: 640px) { .lb th, .lb td { padding: 8px 5px; } .lb .rk { width: 22px; } .lb .barc { width: 26%; min-width: 84px; } }
.more-btn { justify-self: start; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 600; }
.more-btn:hover { border-color: var(--muted); }

/* 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: 28px; height: 22px; padding: 0 5px; border-radius: 11px;
  display: grid; place-items: center; font-family: var(--display); font-stretch: 84%; font-size: 13px; font-weight: 700; color: var(--ink);
  background: var(--bg); box-shadow: inset 0 0 0 2px var(--c, var(--mid)), 0 0 0 2px var(--bg); }
.prof { display: grid; gap: 14px; }
.prof h4 { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.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-stretch: 86%; font-weight: 700; font-size: 15.5px; }
.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: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.tag.inj { color: var(--muted); }
.hist-note { font-size: 12.5px; color: var(--muted); text-wrap: pretty; }

/* player and team pages open on a card in the team's colors */
.pcard { position: relative; isolation: isolate; overflow: hidden; container-type: inline-size; border-radius: 18px; background: var(--tb);
  color: var(--ci); padding: 16px 18px 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; --cap: 92px; box-shadow: inset 0 0 0 1px var(--ring); min-width: 0; }
.pcard a { color: inherit; text-decoration: none; }
.pcard a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pc-top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em;
  text-transform: uppercase; }
.pc-jn { position: absolute; z-index: -1; right: 12px; top: 34px; font-family: var(--display); font-weight: 900; font-stretch: 62%;
  font-size: 230px; line-height: 0.8; letter-spacing: -0.03em; color: var(--wm); pointer-events: none;
  user-select: none; }
.pcard.team .pc-jn { font-size: 170px; top: 42px; }
.pcard h1 { display: grid; gap: 2px; font-weight: 900; font-stretch: 62%; text-transform: uppercase; letter-spacing: 0; line-height: 0.9;
  white-space: nowrap; }
.pcard h1 .fn { font-weight: 800; font-stretch: 70%; font-size: clamp(20px, 5.4cqw, 30px); line-height: 1; }
.pcard h1 .ln { font-size: min(var(--cap), calc((100vw - 70px) / (var(--n, 10) * 0.6)));
  font-size: min(var(--cap), calc(100cqw / (var(--n, 10) * 0.6))); }
.pc-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13.5px; }
.pc-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 30px; align-items: end; }
.pc-score { display: flex; align-items: flex-end; gap: 10px 18px; flex-wrap: wrap; }
.pc-score .xpm { font-family: var(--display); font-weight: 900; font-stretch: 66%; font-size: clamp(84px, 24cqw, 132px); line-height: 0.78;
  letter-spacing: -0.02em; }
.pc-od { display: grid; grid-template-columns: auto 96px auto; gap: 7px 8px; align-items: center; font-size: 13px; font-weight: 600; padding-bottom: 4px; }
.pc-od .bt { height: 8px; border-radius: 4px; background: color-mix(in oklab, var(--ci) 22%, transparent); position: relative; }
.pc-od .bt i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--ci); }
.pc-od .bt s { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--tb); }
.pc-od b { font-family: var(--display); font-stretch: 86%; font-weight: 800; font-size: 15px; }
.pc-sub { font-size: 13px; }
.pc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 12px 8px; padding-top: 13px;
  border-top: 1px solid color-mix(in oklab, var(--ci) 30%, transparent); }
.pc-stats b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 24px; line-height: 1; }
.pc-stats span { font-size: 11.5px; }
.pcard .tag { background: transparent; color: inherit; border-color: color-mix(in oklab, var(--ci) 45%, transparent); }
.ptop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; min-width: 0; }
.pt-card { display: grid; gap: 16px; min-width: 0; align-content: start; }
.pt-side { display: grid; gap: 34px; min-width: 0; align-content: start; }
@media (min-width: 980px) { .ptop { grid-template-columns: 470px minmax(0, 1fr); gap: 40px; align-items: start; }
  .ptop.solo { grid-template-columns: minmax(0, 760px); } }
@container (max-width: 600px) { .pc-body { grid-template-columns: minmax(0, 1fr); } .pcard h1 { --cap: 74px; }
  .pc-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pc-jn { font-size: 190px; } .pcard.team .pc-jn { font-size: 130px; } }
@media (max-width: 760px) { .pc-body { grid-template-columns: minmax(0, 1fr); }
  .pr { grid-template-columns: 122px 50px minmax(0, 1fr); gap: 8px; } }
@media (max-width: 640px) { .pcard { --cap: 70px; } .pc-jn { font-size: 170px; top: 40px; right: 8px; } .pcard.team .pc-jn { font-size: 112px; top: 44px; }
  .pc-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pc-stats b { font-size: 21px; } }

/* small bars and stat rows shared by several pages */
.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; border-bottom: 1px solid var(--line); }
.quick div { padding: 11px 12px 11px 0; display: grid; gap: 3px; align-content: start; }
.quick b { font-family: var(--display); font-stretch: 84%; font-size: 25px; font-weight: 800; line-height: 1; }
.quick span { font-size: 12px; color: var(--muted); line-height: 1.3; }

/* 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: 10px; padding: 7px 10px;
  font-size: 13px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); 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); font-stretch: 90%; }
.ql { fill: var(--muted); font-size: 11.5px; font-family: var(--display); font-weight: 600; font-stretch: 75%; letter-spacing: 0.08em; text-transform: uppercase; }
.dl { fill: var(--ink); font-size: 12px; font-weight: 600; font-stretch: 86%; paint-order: stroke; stroke: var(--bg); 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: 12.5px; color: var(--muted); font-weight: 600; text-align: right; padding: 6px; border-bottom: 1px solid var(--line); }
.ztab td { text-align: right; padding: 7px 6px; border-bottom: 1px solid var(--soft); }
.ztab th:first-child, .ztab td:first-child { text-align: left; padding-left: 0; }
.ztab td:first-child { white-space: nowrap; }
.ztab th:last-child, .ztab td:last-child { padding-right: 0; }
.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: 8px 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: 14px; padding: 13px 14px; display: grid; gap: 10px;
  text-decoration: none; min-width: 0; }
.tcard:hover { border-color: var(--muted); }
.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-stretch: 84%; font-weight: 800; font-size: 21px; }
.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(--mid); opacity: 0.75; }
.wins .pt { position: absolute; top: 1px; width: 3px; height: 16px; border-radius: 1.5px; background: var(--ink); 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-stretch: 86%; font-size: 16px; font-weight: 800; }
.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-stretch: 86%; font-weight: 800; font-size: 15.5px; }
@media (max-width: 760px) { .cb { grid-template-columns: 158px minmax(0, 1fr) 44px; gap: 8px; } }
.funnel { display: grid; gap: 7px; }
.fr { display: grid; grid-template-columns: 140px minmax(0, 1fr) 52px; gap: 10px; align-items: center; font-size: 14px; }
.fr .t { height: 12px; background: var(--soft); border-radius: 0 4px 4px 0; overflow: hidden; }
.fr .t i { display: block; height: 100%; background: var(--ink); border-radius: 0 4px 4px 0; }
.fr b { text-align: right; font-family: var(--display); font-stretch: 86%; font-weight: 800; font-size: 16px; }
.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(--muted); border-radius: 3px 3px 0 0; min-height: 1px; }
.seeds .po i { background: var(--ink); }
.seeds em { font-style: normal; font-family: var(--display); font-stretch: 86%; font-weight: 700; font-size: 12.5px; color: var(--ink); }

/* playoffs table */
table.odds { width: 100%; border-collapse: collapse; }
.odds th { text-align: right; font-size: 12.5px; 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; padding-left: 0; }
.odds td { padding: 7px 6px; border-bottom: 1px solid var(--soft); }
.odds td:first-child { padding-left: 0; }
.odds td.pc { text-align: right; font-family: var(--display); font-stretch: 86%; font-weight: 700; font-size: 16px; 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: 4px; }
.tbar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 52px; gap: 10px; align-items: center; text-decoration: none; min-height: 36px; }
.tbar .tr { height: 12px; }
.tbar .tr i { display: block; height: 100%; min-width: 2px; border-radius: 0 4px 4px 0; }
.tbar b { text-align: right; font-family: var(--display); font-stretch: 86%; font-weight: 800; font-size: 17px; }
.tbar .pl b { text-align: left; font-family: var(--body); font-stretch: 100%; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .lb .hide-s, .odds .hide-s, .ztab .hide-s { display: none; } .tbar { grid-template-columns: 148px minmax(0, 1fr) 44px; } .fr { grid-template-columns: 112px minmax(0, 1fr) 46px; } }

footer { background: var(--foot); color: var(--foot-ink);
  padding: 26px max(16px, env(safe-area-inset-right, 0px)) calc(30px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.foot-in { max-width: 1180px; margin: 0 auto; display: grid; gap: 12px; font-size: 13.5px; }
.foot-in .fb { font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: 17px; }
.foot-in p { max-width: 70ch; color: var(--foot-muted); text-wrap: pretty; }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 2px 22px; font-size: 15px; font-weight: 600; }
.foot-in nav a { min-height: 40px; display: inline-flex; align-items: center; }
.loading { padding: 60px 0; color: var(--muted); text-align: center; }

/* ---------------------------------------------------------------- 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); color: var(--ink); }
.back { text-decoration: none; justify-self: start; margin-bottom: -16px; }
.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: 999px;
  padding: 8px 15px; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; color: var(--ink); }
.btn:hover { border-color: var(--muted); }
.chip.sm { padding: 4px 11px; font-size: 13px; }

/* the home page */
.hero { display: grid; gap: 14px; }
.hero h1 { font-size: clamp(30px, 9.4vw, 62px); font-stretch: 86%; letter-spacing: -0.025em; line-height: 1.02; white-space: nowrap; }
.hstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 640px; margin-top: 4px; text-decoration: none; }
.hstats div { display: grid; gap: 2px; align-content: start; padding-top: 10px; border-top: 2px solid var(--ink); }
.hstats b { font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 22px; line-height: 1.05; }
.hstats span { font-size: 12.5px; color: var(--muted); line-height: 1.3; text-wrap: balance; }
.home2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: start; }
@media (min-width: 980px) {
  .home2 { grid-template-columns: minmax(0, 1fr) 420px; gap: 34px 44px; }
  .home2 > .rc-band { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 78px; }
  .home2 > .proof { grid-column: 1; grid-row: 2; }
  .home2.solo { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template-columns: minmax(0, 1fr) 420px; column-gap: 44px; align-items: end; }
  .hero > * { grid-column: 1; }
  .hero > .hstats { grid-column: 2; grid-row: 1 / span 3; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: none; margin: 0; align-self: end; }
  .hero > .hstats div { grid-template-columns: 150px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
  .hero > .hstats div:first-child { border-top: 2px solid var(--ink); }
  .hero > .hstats b { font-size: 26px; }
  .hero > .hstats span { font-size: 14px; }
}
.rc-band { background: var(--band); border-radius: 18px; padding: 24px 16px 14px; display: grid; gap: 18px; justify-items: center; min-width: 0; }
.rc-band .rc-h { justify-self: stretch; display: grid; gap: 4px; }
.rc-band .rc-h h2 { font-size: 23px; }
.rc-band .rc-h p { font-size: 14px; color: var(--ink-2); }
.rc-band .hist-note { justify-self: stretch; }
.rc-wrap { width: 100%; max-width: 340px; transform: rotate(-0.8deg); filter: drop-shadow(var(--shadow)); }
.rc { background: var(--paper); color: var(--paper-ink); padding: 22px 18px 16px; font-family: var(--mono); font-size: 12px; line-height: 1.5;
  display: grid; gap: 6px; }
.rc-brand { display: grid; justify-items: center; gap: 1px; }
.rc-brand b { font-size: 22px; font-weight: 500; letter-spacing: 0.24em; margin-right: -0.24em; }
.rc-brand span, .rc-foot { font-size: 11px; color: var(--paper-muted); }
.rc-foot { text-align: center; }
.rc-l { display: flex; justify-content: space-between; gap: 10px; }
.rc-l.b { font-weight: 500; }
.rc-l.m { color: var(--paper-muted); }
.rc-dash { border: 0; border-top: 1px dashed var(--paper-dash); margin: 4px 0; width: 100%; }
.rc-rows { display: grid; gap: 1px; margin: 0 -6px; }
.rc-row { display: grid; grid-template-columns: 78px 60px 13px minmax(0, 1fr) 9px; gap: 7px; align-items: center; padding: 2px 6px; border-radius: 3px;
  color: var(--paper-muted); text-decoration: none; }
.rc-row.hit { color: var(--paper-ink); }
.rc-row.hit .res { font-weight: 500; }
.rc-row:hover { background: rgba(14, 17, 22, 0.06); }
.rc-row .res { text-align: right; white-space: nowrap; }
.rc-row svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; display: block; }
.rc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--paper-ink); display: inline-block; }
.rc-row .rc-dot.no { background: transparent; }
.rc-l .rc-dot { margin-right: 7px; vertical-align: 1px; }
.rc-zig { height: 8px; background: linear-gradient(135deg, var(--paper) 5px, transparent 0) 0 0 / 10px 8px repeat-x,
  linear-gradient(225deg, var(--paper) 5px, transparent 0) 0 0 / 10px 8px repeat-x; }
@media (max-width: 640px) { .rc-band { margin-inline: -16px; border-radius: 0; padding: 28px 16px 20px; } }
.proof { display: grid; gap: 34px; min-width: 0; align-content: start; }
.sure { display: grid; gap: 11px; }
.sure .sr { display: grid; grid-template-columns: 92px minmax(0, 1fr) 98px; gap: 10px; align-items: center; font-size: 14.5px; }
.sure .trk { position: relative; height: 12px; background: var(--soft); border-radius: 0 4px 4px 0; }
.sure .trk i { display: block; height: 100%; background: var(--ink); border-radius: 0 4px 4px 0; }
.sure .trk s { position: absolute; left: calc(50% - 1px); top: 0; bottom: 0; width: 2px; background: var(--bg); }
.sure .n { text-align: right; white-space: nowrap; }
.vs { width: 100%; border-collapse: collapse; font-size: 15px; }
.vs th { padding: 0 0 6px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: right; }
.vs td { padding: 9px 0; border-bottom: 1px solid var(--soft); text-align: right; }
.vs th:first-child, .vs td:first-child { text-align: left; }
.vs tr.me td { font-weight: 700; }

/* card decks */
.deck { display: grid; grid-auto-flow: column; grid-auto-columns: 136px; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
  overscroll-behavior-x: contain; margin-inline: -16px; padding: 2px 16px 8px; scroll-padding-inline: 16px; scrollbar-width: thin; }
.mc { position: relative; isolation: isolate; overflow: hidden; height: 190px; border-radius: 13px; background: var(--tb); color: var(--ci);
  box-shadow: inset 0 0 0 1px var(--ring); padding: 10px 11px 11px; display: grid; align-content: space-between; text-decoration: none;
  scroll-snap-align: start; }
.mc:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: no-preference) { .mc { transition: transform 0.12s ease-out; } }
.mc .top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; }
.mc .jn { position: absolute; z-index: -1; right: 8px; top: 26px; font-family: var(--display); font-weight: 900; font-stretch: 62%; font-size: 88px;
  line-height: 0.8; letter-spacing: -0.03em; color: var(--wm); }
.mc .nm { display: block; font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 0.98;
  font-size: min(19px, calc(112px / (var(--l, 8) * 0.6))); letter-spacing: 0.01em; }
.mc .v { display: block; margin-top: 3px; font-family: var(--display); font-weight: 900; font-stretch: 68%; font-size: 40px; line-height: 0.9; letter-spacing: -0.01em; }
.mc .u { display: block; margin-top: 4px; font-size: 11px; }

/* what-if lineups */
.wi-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: var(--surface-2); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.wi-sum b { font-family: var(--display); font-stretch: 86%; font-weight: 800; font-size: 17px; }
.wi-sum .more-btn { padding: 4px 12px; margin-left: auto; background: var(--surface); }
.est { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink);
  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: 8px 4px; cursor: pointer; width: 100%; border-radius: 0; }
.wi-r:last-child { border-bottom: 0; }
.wi-r:hover { background: var(--surface-2); }
.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-stretch: 86%; font-weight: 800; font-size: 16px; white-space: nowrap; }
.wi-r .mn s { color: var(--muted); font-weight: 500; }
.wi-r .mn .sub { font-family: var(--body); font-stretch: 100%; 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(--bg); }
.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; background: var(--surface-2); border-radius: 18px; padding: 18px 18px 16px; }
.gh .split { height: 12px; }
.gh .split .a { border-radius: 6px 0 0 6px; }
.gh .split .h { border-radius: 0 6px 6px 0; }
.gh .callout { background: var(--bg); }
.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: 500; font-stretch: 84%; font-size: 46px; letter-spacing: -0.02em; color: var(--muted); line-height: 1; }
.gs.fav .gp { color: var(--ink); font-weight: 800; }
@media (max-width: 640px) { .gs .gp { font-size: 34px; } .gs b { font-size: 17px; } .gs .nb.xl { min-width: 54px; height: 54px; font-size: 21px; border-radius: 12px; }
  .gh { margin-inline: -16px; border-radius: 0; padding-inline: 16px; } }
.quick.trend4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trend4 div { gap: 3px; }
@media (max-width: 640px) { .trend4 b { font-size: 21px; } }
.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: 10px; }
.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: 14px; padding: 14px;
  display: grid; gap: 10px; min-width: 0; }
.ch .cs { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.ch .big { font-family: var(--display); font-weight: 900; font-stretch: 68%; font-size: 48px; line-height: 1; }
.cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 30px; }
.cg h4 { margin: 0 0 4px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.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-stretch: 86%; font-weight: 600; font-size: 15.5px; 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: 40px; } }

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

/* explanations, trade machine */
.lb td.big .sub { display: block; font-family: var(--body); font-stretch: 100%; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.few { color: var(--accent-ink); 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(--surface-2); }
