/* Waiver Intel. True black, white type, and one color per position (QB, RB, WR, TE).
   Position colors mark data only (dots, bars, column rules); text stays white or gray.
   Dark surfaces get lighter as they rise (page, wash, raised sheet). Phones (640px and under) get a bottom
   tab bar, a sticky position bar on Tonight, scrollable tables with a sticky first column, and bid lists in a bottom sheet. */
:root {
  color-scheme: dark;
  --bg: #000; --ink: #fff; --ink-2: #b3b3b3; --ink-3: #8a8a8a;
  --rule: #1f1f1f; --rule-2: #333; --wash: #121212; --raised: #161616; --track: #1a1a1a;
  --qb: #e66767; --rb: #199e70; --wr: #3987e5; --te: #c98500; --other: #8a8a8a;
  --accent: #fff;
  --top: 56px;
  --top-full: calc(var(--top) + env(safe-area-inset-top));
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
body { min-width: 320px; margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.4 var(--sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
h1, h2, p { margin: 0; }
h1, h2 { text-wrap: balance; }
button, select, input { color: inherit; font: inherit; }
button { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pos-qb { --c: var(--qb); } .pos-rb { --c: var(--rb); } .pos-wr { --c: var(--wr); } .pos-te { --c: var(--te); } .pos-other { --c: var(--other); }
.is-refreshing main { opacity: .55; }

/* Page frame */
.page { width: min(1440px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 96px; }
.page-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 24px; }
.page-head h1 { font-size: 34px; font-weight: 700; letter-spacing: -.03em; }
.section { margin-top: 48px; }
.section-first { margin-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding-bottom: 12px; border-bottom: 1px solid var(--rule-2); }
.section-head h2 { font-size: 20px; font-weight: 700; }
.section-head > span, .note { color: var(--ink-2); font-size: 13px; }
.empty { padding: 18px 0; color: var(--ink-3); font-size: 14px; }
.banner { width: min(1440px, calc(100% - 40px)); margin: 16px auto 0; color: var(--ink-2); font-size: 14px; }

/* Top bar. Tabs sit inline on wide screens and become a bottom bar on phones. */
.top { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 20px; height: var(--top); padding: 0 max(20px, calc((100% - 1440px) / 2)); background: var(--bg); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.brand strong { font-size: 15px; font-weight: 700; }
.brand span { color: var(--ink-3); font-size: 13px; }
.brand small { display: none; }
.tabs { display: flex; height: 100%; margin-left: 16px; }
.tabs button { height: 100%; padding: 0 12px; border: 0; background: none; color: var(--ink-2); font-size: 14px; cursor: pointer; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.tabs svg, .refresh svg { display: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.updated { color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.picker { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 13px; }
.picker select { max-width: 170px; height: 34px; padding: 0 28px 0 10px; border: 1px solid var(--rule-2); border-radius: 8px; appearance: none; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23b3b3b3' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--ink); font-size: 13px; }
.button { height: 34px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: 8px; background: none; color: var(--ink-2); font-size: 13px; cursor: pointer; }
.button:hover { border-color: var(--ink-3); color: var(--ink); }
.button:disabled { opacity: .5; cursor: default; }

/* Links, dots, disclosures, results */
.link { padding: 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.dot { display: inline-block; flex: none; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--c); vertical-align: 1px; }
.more summary { display: flex; align-items: center; gap: 8px; min-height: 48px; font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: ""; width: 7px; height: 7px; margin-right: 4px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(-45deg); }
.more[open] summary::before { transform: rotate(45deg); }
.more summary span { color: var(--ink-3); font-weight: 400; }
.result { white-space: nowrap; }
.result::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; vertical-align: 1px; }
.result.won::before { background: var(--ink); }
.result.lost { color: var(--ink-3); }
.result.lost::before { box-shadow: inset 0 0 0 1.5px var(--ink-3); }

/* Scoreboard strip */
.scoreboard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); }
.scoreboard > div { min-width: 0; padding: 20px 24px; border-left: 1px solid var(--rule); }
.scoreboard > div:first-child { padding-left: 0; border-left: 0; }
.scoreboard strong { display: block; overflow: hidden; font-size: 36px; font-weight: 700; line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.scoreboard span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 13px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-bottom: 20px; }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.filter > span { margin-right: 8px; color: var(--ink-3); font-size: 13px; }
.filter button { min-height: 36px; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--ink-2); font-size: 14px; white-space: nowrap; cursor: pointer; }
.filter button:hover { color: var(--ink); }
.filter button[aria-pressed="true"] { border-color: var(--rule-2); background: var(--wash); color: var(--ink); }

/* Sortable tables. The first column stays put while the rest scroll sideways; a fade marks more columns to the right. */
.table-wrap { overflow-x: auto; overscroll-behavior-x: contain; }
.table-wrap.more { -webkit-mask-image: linear-gradient(to left, transparent, #000 36px); mask-image: linear-gradient(to left, transparent, #000 36px); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.table th { padding: 0; border-bottom: 1px solid var(--rule-2); text-align: left; white-space: nowrap; }
.table th button { width: 100%; min-height: 40px; padding: 8px 14px 8px 0; border: 0; background: none; color: var(--ink-3); font-size: 12px; font-weight: 500; text-align: inherit; cursor: pointer; }
.table th.num button { text-align: right; }
.table th button:hover, .table th[aria-sort="ascending"] button, .table th[aria-sort="descending"] button { color: var(--ink); }
.table th i { margin-left: 4px; font-style: normal; }
.table td { padding: 11px 14px 11px 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.table :is(th, td):first-child { position: sticky; left: 0; z-index: 1; background: var(--bg); }
.table-wrap.scrolled :is(th, td):first-child { box-shadow: inset -1px 0 0 var(--rule-2); }
.table th:last-child button, .table td:last-child { padding-right: 0; }
.table .num { text-align: right; }
.table td small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 12px; }
.table tr.me td { background: var(--wash); font-weight: 700; }
.table tr.out td { color: var(--ink-3); }
.released { display: flex; flex-wrap: wrap; gap: 4px 14px; max-width: 760px; white-space: normal; }
.released .link { color: var(--ink-2); font-size: 13px; }

/* Heat cells: position color mixed into black, stronger for bigger bids */
.heat { display: inline-block; min-width: 58px; padding: 4px 8px; border-radius: 4px; text-align: center; }
.heat.h1 { background: color-mix(in srgb, var(--c, var(--ink-2)) 16%, #000); }
.heat.h2 { background: color-mix(in srgb, var(--c, var(--ink-2)) 32%, #000); }
.heat.h3 { background: color-mix(in srgb, var(--c, var(--ink-2)) 52%, #000); }
.heat.h4 { background: color-mix(in srgb, var(--c, var(--ink-2)) 78%, #000); }
.heat-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.heat-legend .heat { min-width: 0; padding: 2px 8px; color: var(--ink); font-weight: 400; }

/* Bid lists on Managers amounts: a tooltip on hover, a sheet on tap or click */
.tip-target { min-height: 32px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: inherit; cursor: pointer; }
.tip-target:hover, .tip-target:focus-visible, .tip-target[aria-describedby] { text-decoration: underline dotted var(--ink-3); text-underline-offset: 4px; }
.tip-target .heat { text-decoration: none; }
.tip-target:hover .heat, .tip-target[aria-describedby] .heat { box-shadow: 0 0 0 1px var(--ink-2); }
#tip { position: fixed; z-index: 20; max-width: min(520px, calc(100vw - 16px)); padding: 12px 14px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--raised); color: var(--ink); font-size: 13px; pointer-events: none; }
#tip[hidden] { display: none; }
.tip-title { margin-bottom: 8px; font-weight: 600; }
.tip-row { display: grid; grid-template-columns: 8px 44px minmax(0, 1fr) auto 34px 38px; gap: 10px; align-items: center; padding: 3px 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tip-row strong { text-align: right; }
.tip-name { overflow: hidden; text-overflow: ellipsis; }
.tip-dot { width: 8px; height: 8px; border-radius: 50%; }
.tip-row.won .tip-dot { background: var(--ink); }
.tip-row.lost { color: var(--ink-3); }
.tip-row.lost strong { font-weight: 400; }
.tip-row.lost .tip-dot { border: 1.5px solid var(--ink-3); }
.tip-foot { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rule-2); color: var(--ink-2); }
.sheet { width: min(560px, calc(100vw - 32px)); max-height: min(80vh, 760px); padding: 0; border: 1px solid var(--rule-2); border-radius: 14px; background: var(--raised); color: var(--ink); font-size: 14px; }
.sheet[open] { display: flex; flex-direction: column; }
.sheet::backdrop { background: rgb(0 0 0 / .72); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--rule-2); }
.sheet-head h2 { min-width: 0; overflow: hidden; font-size: 16px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.sheet-close { min-width: 64px; height: 44px; border: 0; border-radius: 8px; background: none; color: var(--ink); font-weight: 600; cursor: pointer; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 18px; }
.sheet .tip-row { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.sheet .tip-row:last-child { border-bottom: 0; }
.sheet .tip-foot { margin: 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); }

/* Tonight board. Each row: name and likely winning bid, then team and rank, the range on the board's axis, and the range itself. */
.board-nav { display: none; }
.board { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); margin-top: 36px; }
.col { min-width: 0; padding: 0 22px; border-left: 1px solid var(--rule); }
.col:first-child { padding-left: 0; border-left: 0; }
.col:last-child { padding-right: 0; }
.col-head { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0 10px; border-top: 3px solid var(--accent); border-bottom: 1px solid var(--rule-2); }
.col-head h2 { font-size: 24px; font-weight: 700; }
.col-head span { color: var(--ink-2); font-size: 13px; }
.board-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "name name likely" "meta bar range"; align-items: center; gap: 5px 12px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.board-row .name { grid-area: name; min-width: 0; overflow: hidden; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.board-row .meta-line { grid-area: meta; color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.board-row .likely { grid-area: likely; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.board-row .range { grid-area: range; min-width: 58px; color: var(--ink-2); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.range-bar { grid-area: bar; position: relative; height: 6px; border-radius: 3px; background: var(--track); }
.range-bar i { position: absolute; top: 0; bottom: 0; margin-left: -2px; border-radius: 3px; background: var(--accent); }
.range-bar b { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--ink); box-shadow: 0 0 0 1px var(--bg); }
.rivals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.rival { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14px; font-variant-numeric: tabular-nums; }
.rival span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rival i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--track); }
.rival b { display: block; height: 100%; border-radius: 2px; background: var(--ink-2); }
.rival.me span, .rival.me strong { font-weight: 700; }
.rival.me b { background: var(--ink); }

/* Player page */
.planner { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.queue { position: sticky; top: var(--top-full); height: calc(100vh - var(--top-full)); overflow-y: auto; padding: 22px 0 80px; border-right: 1px solid var(--rule); }
.queue h2 { display: flex; justify-content: space-between; padding: 0 20px 12px; border-bottom: 1px solid var(--rule-2); font-size: 15px; font-weight: 600; }
.queue h2 span { color: var(--ink-3); font-weight: 400; }
.queue .more summary { padding: 0 20px; }
.queue-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; width: 100%; padding: 12px 20px; border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: left; cursor: pointer; }
.queue-item:hover { background: var(--wash); }
.queue-item.selected { background: var(--wash); box-shadow: inset 3px 0 0 var(--accent); }
.queue-name { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.queue-price { font-size: 14px; font-variant-numeric: tabular-nums; }
.queue-meta { grid-column: 1 / -1; color: var(--ink-3); font-size: 12px; }
.focus { min-width: 0; max-width: 1080px; padding: 36px 52px 120px; }
.back { min-height: 40px; margin-bottom: 14px; padding: 0; border: 0; background: none; color: var(--ink-2); font-size: 14px; cursor: pointer; }
.back::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-bottom: 1.5px solid currentColor; border-left: 1.5px solid currentColor; transform: translateY(-1px) rotate(45deg); }
.back:hover { color: var(--ink); }
.player-head h1 { font-size: clamp(36px, 4.2vw, 58px); font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; color: var(--ink-2); font-size: 14px; }
.meta .dot { --c: var(--accent); }
.price-block { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 40px; margin-top: 40px; }
.figure strong { display: block; font-size: 76px; font-weight: 700; line-height: .95; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.figure span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 14px; }
.price-block p { max-width: 50ch; padding-bottom: 4px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.try { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 12px 18px; margin-top: 32px; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.try label { font-size: 15px; font-weight: 600; }
.try-input { display: flex; align-items: center; gap: 4px; padding: 6px 12px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--wash); }
.try-input:focus-within { border-color: var(--accent); }
.try-input span { color: var(--ink-2); font-size: 22px; }
.try-input input { width: 90px; padding: 0; border: 0; outline: 0; background: none; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.try p { color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 44px; }

/* Comparable-bid strip */
.chart { margin-top: 40px; padding-top: 14px; border-top: 1px solid var(--rule-2); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--ink-2); font-size: 12px; }
.key { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; }
.key.won { background: var(--accent); }
.key.lost { border: 1.5px solid var(--ink-3); }
.key.band { width: 16px; border-radius: 3px; background: color-mix(in srgb, var(--accent) 24%, transparent); }
.strip { position: relative; height: 48px; margin-top: 14px; }
.strip::before { content: ""; position: absolute; top: 50%; right: 0; left: 0; height: 1px; background: var(--rule-2); }
.strip-band { position: absolute; top: 14px; bottom: 14px; margin-left: -1.5px; border-radius: 4px; background: color-mix(in srgb, var(--accent) 24%, transparent); }
.strip-target { position: absolute; top: 8px; bottom: 8px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--accent); }
.strip-dot { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; }
.strip-dot::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; box-shadow: 0 0 0 2px var(--bg); }
.strip-dot.won::before { background: var(--accent); }
.strip-dot.lost::before { inset: 7px; border: 1.5px solid var(--ink-3); background: var(--bg); }
.axis { position: relative; height: 18px; margin-top: 4px; color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.axis span { position: absolute; transform: translateX(-50%); }
.axis span:first-child { transform: none; }
.axis span:last-child { transform: translateX(-100%); }

/* Claims */
.claims-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; margin-top: 8px; }
.spend h2 { margin: 18px 0 8px; font-size: 15px; font-weight: 600; }
.spend-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.spend-row i { height: 6px; border-radius: 3px; background: var(--track); }
.spend-row b { display: block; height: 100%; border-radius: 3px; background: var(--c); }

/* Tablet */
@media (max-width: 1000px) {
  .brand span, .updated { display: none; }
  .scoreboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scoreboard > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .scoreboard > div:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .col:nth-child(odd) { padding-left: 0; border-left: 0; }
  .col:nth-child(even) { padding-right: 0; }
  .rivals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planner { grid-template-columns: minmax(0, 1fr); }
  .queue { position: static; display: flex; height: auto; padding: 0; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid var(--rule-2); scrollbar-width: none; }
  .queue h2, .queue .more { display: none; }
  .queue-item { flex: 0 0 170px; border-right: 1px solid var(--rule); border-bottom: 0; }
  .queue-item.selected { box-shadow: inset 0 -3px 0 var(--accent); }
  .focus { padding: 28px 20px 96px; }
  .split, .claims-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* Phone */
@media (max-width: 640px) {
  .top { gap: 10px; height: var(--top-full); padding: env(safe-area-inset-top) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
  .brand { flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; }
  .brand strong { font-size: 16px; }
  .brand small { display: block; color: var(--ink-3); font-size: 11px; }
  .tools { gap: 8px; }
  .picker span { display: none; }
  .picker select { max-width: 150px; height: 40px; font-size: 16px; }
  .refresh { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; }
  .refresh span { display: none; }
  .refresh svg { display: block; width: 20px; height: 20px; stroke-width: 1.8; }
  .tabs { position: fixed; z-index: 8; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: auto; margin: 0; padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); background: var(--bg); border-top: 1px solid var(--rule-2); }
  .tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 56px; padding: 0; color: var(--ink-3); font-size: 11px; font-weight: 500; }
  .tabs button[aria-current="page"] { color: var(--ink); box-shadow: none; }
  .tabs svg { display: block; width: 24px; height: 24px; stroke-width: 1.6; }
  .tabs button[aria-current="page"] svg { stroke-width: 2.2; }
  .page, .banner { width: auto; margin-right: max(16px, env(safe-area-inset-right)); margin-left: max(16px, env(safe-area-inset-left)); }
  .page { padding: 20px 0 calc(96px + env(safe-area-inset-bottom)); }
  .page-head { margin-bottom: 16px; }
  .page-head h1 { font-size: 28px; }
  .section { margin-top: 36px; }
  .section-head h2 { font-size: 18px; }
  .scoreboard > div { padding: 14px 14px 14px 16px; }
  .scoreboard strong { font-size: 22px; }
  .scoreboard span { margin-top: 4px; font-size: 12px; }
  .filters { gap: 10px; }
  .filter { flex-wrap: nowrap; width: calc(100% + 16px); margin-right: -16px; overflow-x: auto; scrollbar-width: none; }
  .filter button { flex: none; min-height: 40px; }
  .table td { padding: 12px 14px 12px 0; }
  .heat { min-width: 52px; }
  /* Tonight: a sticky position bar jumps between the stacked columns. */
  .board-nav { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; position: sticky; top: var(--top-full); z-index: 5; margin: 20px -16px 0; padding: 0 8px; background: var(--bg); border-bottom: 1px solid var(--rule-2); }
  .board-nav button { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border: 0; background: none; color: var(--ink-2); font-size: 14px; font-weight: 600; cursor: pointer; }
  .board-nav .dot { margin: 0; }
  .board-nav span { color: var(--ink-3); font-weight: 400; }
  .board-nav button[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--c); }
  .board-nav button[aria-current] span { color: var(--ink-2); }
  .board { grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
  .col, .col:nth-child(even) { padding: 0; border-left: 0; }
  .col { scroll-margin-top: calc(var(--top-full) + 45px); }
  .col + .col { margin-top: 28px; }
  .col-head { padding: 12px 0 8px; }
  .col-head h2 { font-size: 20px; }
  .rivals { grid-template-columns: minmax(0, 1fr); }
  .rival { padding: 10px 0; }
  .queue-item { flex: 0 0 auto; min-width: 140px; max-width: 200px; padding: 10px 14px; }
  .focus { padding: 16px max(16px, env(safe-area-inset-right)) calc(96px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .player-head h1 { font-size: 34px; }
  .meta { gap: 4px 14px; margin-top: 10px; font-size: 13px; }
  .price-block { gap: 12px; margin-top: 24px; }
  .figure strong { font-size: 52px; }
  .price-block p { font-size: 14px; }
  .chart { margin-top: 28px; }
  .try { grid-template-columns: auto 1fr; margin-top: 24px; }
  .try p { grid-column: 1 / -1; }
  .sheet { width: 100%; max-width: none; max-height: 85vh; margin: auto 0 0; border-width: 1px 0 0; border-radius: 16px 16px 0 0; }
  /* Chopped teams: one block per week with the released players wrapping underneath. */
  .table.chops, .table.chops thead, .table.chops tbody { display: block; }
  .table.chops tr { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: baseline; border-bottom: 1px solid var(--rule); }
  .table.chops thead tr { grid-template-columns: 52px minmax(0, 1fr) auto auto; border-bottom-color: var(--rule-2); }
  .table.chops :is(th, td) { position: static; border-bottom: 0; }
  .table.chops th button { padding-right: 12px; }
  .table.chops td:nth-child(4) { grid-column: 1 / -1; padding: 0 0 14px; }
  .table.chops td:first-child, .table.chops th:first-child button { text-align: left; }
}

