/* The Price of Pace
   Two colours carry meaning: orange is the sportsbook's number, blue is the fair number.
   Everything else is ink on a cool white. Contrast for every text colour is checked in tests/tokens.test.mjs. */

@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans.woff2") format("woff2"); font-weight: 100 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --ground: #F4F6F9;
  --panel: #FFFFFF;
  --ink: #0F1B2D;
  --sub: #4A5568;
  --faint: #5F6B7C;
  --rule: #D5DBE4;
  --rule-soft: #E7EBF0;
  --rule-strong: #9AA5B5;
  --book: #B8430A;
  --fair: #1746C7;
  --book-tint: #FBEEE6;
  --fair-tint: #E8EEFB;
  --band: #EEF2F7;
  --away: #0F1B2D;
  --home: #5F6B7C;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --pad: clamp(16px, 3.6vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 15px/1.5 var(--sans); font-variant-numeric: tabular-nums lining-nums; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, dl, dd, dt { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--fair); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: calc(1264px + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 5; }
.skip:focus { left: 8px; }
.r { text-align: right; }
.small { font-size: 13px; }
.quiet { color: var(--sub); }
.is-over { color: var(--fair); }
.is-under { color: var(--book); }

/* ---------- masthead ---------- */
.mast-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; padding-top: 28px; padding-bottom: 14px; }
.wordmark { font: 600 30px/1.1 var(--serif); letter-spacing: -0.012em; text-decoration: none; display: block; }
.tagline { color: var(--sub); margin-top: 3px; }
.pulse { color: var(--sub); font-size: 14px; text-align: right; }
.pulse b { color: var(--ink); font-weight: 600; }
.pulse.is-down, .pulse.is-down b { color: var(--book); }
.nav-rule { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.nav { display: flex; gap: 28px; }
.nav button { padding: 11px 0 10px; color: var(--sub); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.nav button:hover { color: var(--ink); }
.nav button[aria-current] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }

.page { padding-top: 28px; padding-bottom: 64px; }
.page > section { display: flex; flex-direction: column; gap: 40px; }
h2 { font: 600 23px/1.2 var(--serif); letter-spacing: -0.005em; }

/* ---------- day picker ---------- */
.tool { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; }
.tool-l { display: flex; align-items: center; gap: 6px; }
.day { font: 600 16px/1.2 var(--sans); letter-spacing: 0; min-width: 9.5em; text-align: center; }
.key { min-height: 36px; min-width: 36px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 4px; background: var(--panel); font-size: 14px; font-weight: 500; color: var(--ink); }
.key:hover { border-color: var(--rule-strong); }
.key[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
#today { margin-left: 6px; }

/* ---------- the lead: one finding, four figures ---------- */
.lead { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: flex-start; }
.lead-say { flex: 999 1 520px; min-width: 0; }
.headline { font: 500 clamp(27px, 3.3vw, 42px)/1.14 var(--serif); letter-spacing: -0.016em; max-width: 21em; text-wrap: balance; }
.standfirst { margin-top: 14px; max-width: 40em; font-size: 16px; color: var(--sub); text-wrap: pretty; }
.figures { flex: 1 1 380px; min-width: 0; border-bottom: 1px solid var(--rule); }
.figures > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--rule); }
.figures dd { grid-column: 1; grid-row: 1; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.figures dt { grid-column: 2; grid-row: 1; color: var(--sub); font-size: 14px; }
.figures .brief { display: none; }

/* ---------- where each game stands ---------- */
.block { display: flex; flex-direction: column; gap: 14px; }
.block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; }
.note { color: var(--sub); font-size: 14px; }
.panel { background: var(--panel); border: 1px solid var(--rule); border-radius: 4px; }

.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: 4px; background: var(--panel); overflow: hidden; }
.seg button { min-height: 36px; padding: 0 14px; font-size: 14px; font-weight: 500; color: var(--sub); }
.seg button + button { border-left: 1px solid var(--rule); }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
#trend-key { display: grid; gap: 6px; }
.gloss { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--sub); font-size: 14px; }
.gloss span { display: inline-flex; align-items: center; gap: 8px; }
.gloss i { display: inline-block; width: 18px; height: 12px; flex: none; }
.gloss .k-line { height: 0; border-top: 2px solid var(--ink); }
.gloss .k-thin { height: 0; border-top: 1px solid var(--rule-strong); }
.gloss .k-band { background: var(--band); border: 1px solid var(--rule-strong); }
.gloss .k-low { background: var(--fair); opacity: 0.5; }
.gloss .k-high { background: var(--book); opacity: 0.5; }
.gloss .k-off { background: var(--rule-strong); opacity: 0.45; }
.gloss .k-sd { height: 0; border-top: 2px dotted var(--faint); }

/* small multiples: one panel per game, the same scale in each */
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 16px; }
.wall.is-three { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.tp { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px 16px 14px; background: var(--panel); border: 1px solid var(--rule); border-radius: 4px; text-align: left; text-decoration: none; }
.tp:hover, .tp.is-cursor { border-color: var(--rule-strong); }
.tp.is-cursor, .tp[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tp-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: start; min-height: 46px; }
.tp-teams { display: grid; gap: 1px; min-width: 0; }
.tp-title { font-weight: 600; }
.tp-side { display: grid; justify-items: end; gap: 1px; font-size: 14px; color: var(--sub); white-space: nowrap; }
.tp-plot { display: block; }
.tp-plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.tp-plot text { font: 500 11px var(--sans); fill: var(--sub); }
.tp-plot .lbl { font-size: 12px; font-weight: 700; }
.tp-nums { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 14px; color: var(--sub); }
.tp-nums b { font-weight: 600; }
.tp-nums .book { color: var(--book); }
.tp-nums .fair { color: var(--fair); }
.tp-nums .gap { color: var(--ink); font-weight: 700; }
.tp-say { font-size: 13px; color: var(--sub); }

.stand { --cols: minmax(176px, 1.7fr) 86px minmax(240px, 3.1fr) 58px 58px 58px 50px minmax(112px, 0.95fr); }
.stand-head, .stand-row { display: grid; grid-template-columns: var(--cols); column-gap: 16px; padding: 0 20px; }
.stand-head { align-items: start; padding-top: 12px; height: 56px; font-size: 13px; font-weight: 600; color: var(--sub); }
.axis { display: block; position: relative; height: 44px; margin: 0 12px; font-weight: 500; }
.axis .z-l, .axis .z-r { position: absolute; top: 0; font-weight: 600; white-space: nowrap; }
.axis .z-l { left: 0; color: var(--book); }
.axis .z-r { right: 0; color: var(--fair); }
.axis i { position: absolute; top: 24px; transform: translateX(-50%); font-style: normal; font-size: 12px; }
.stand-row { align-items: center; min-height: 60px; border-top: 1px solid var(--rule); text-decoration: none; }
.stand-row:hover, .stand-row.is-cursor { background: #F8FAFC; }
.stand-row.is-cursor { box-shadow: inset 2px 0 0 var(--ink); }
.c-game { display: grid; gap: 1px; min-width: 0; padding: 9px 0; }
.tm { display: flex; justify-content: space-between; gap: 12px; color: var(--sub); }
.tm.is-ahead { color: var(--ink); font-weight: 600; }
.tm .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk { margin-left: 6px; font-size: 12px; font-weight: 500; color: var(--faint); }
.side .rk { margin: 0 8px 0 0; font: 500 14px var(--sans); letter-spacing: 0; vertical-align: 0.35em; }
.c-clock { font-size: 14px; color: var(--sub); white-space: nowrap; }
.c-nums { display: contents; }
.c-num { text-align: right; font-weight: 600; }
.c-num.book { color: var(--book); }
.c-num.fair { color: var(--fair); }
.c-num.gap { font-weight: 700; }
.c-num.over { font-weight: 400; color: var(--sub); }
.c-status { font-size: 14px; color: var(--sub); }
.c-status.is-live { color: var(--ink); font-weight: 600; }
.c-status.is-over { color: var(--fair); font-weight: 700; }
.c-status.is-under { color: var(--book); font-weight: 700; }
.stand-row.is-final .c-game, .stand-row.is-final .c-num { opacity: 0.86; }

.c-plot { align-self: stretch; display: flex; margin: 0 12px; }
.plot { position: relative; flex: 1; min-height: 44px; background: linear-gradient(to right, var(--book-tint) 0 25%, transparent 25% 75%, var(--fair-tint) 75% 100%); }
.plot::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--rule-strong); }
.plot .range { position: absolute; top: calc(50% - 1px); height: 2px; background: var(--faint); }
.plot .dot { position: absolute; top: calc(50% - 7px); width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--ink); border: 2px solid var(--panel); }
.plot .dot.is-over { background: var(--fair); }
.plot .dot.is-under { background: var(--book); }
.plot .dot.is-signal { width: 18px; height: 18px; top: calc(50% - 9px); margin-left: -9px; box-shadow: 0 0 0 2px currentColor; }
.plot .dot.is-signal.is-over { color: var(--fair); }
.plot .dot.is-signal.is-under { color: var(--book); }

.vacant { padding: 28px 20px; color: var(--sub); background: var(--panel); border: 1px solid var(--rule); border-radius: 4px; }

/* ---------- schedule, histogram, history ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 36px 48px; align-items: start; }
.split > section { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.split > .panel { padding: 22px 22px 16px; }
.prose { color: var(--sub); max-width: 40em; }
.fold summary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; cursor: pointer; font-weight: 500; color: var(--sub); list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::before { content: "+"; display: inline-block; width: 1em; font-weight: 600; color: var(--ink); }
.fold[open] summary::before { content: "−"; }
.fold summary:hover { color: var(--ink); }
.fold[open] summary { margin-bottom: 10px; }
/* Record: the tables behind the rule, kept one tap away so the page reads headline, record, ledger */
.research { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 4px 0; }
.research summary { color: var(--ink); min-height: 48px; }
.research[open] { padding-bottom: 24px; }
.fold-body { display: flex; flex-direction: column; gap: 32px; }
.fold-body h3 { font: 600 20px/1.2 var(--serif); letter-spacing: -0.005em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.standfirst a { color: var(--ink); text-underline-offset: 3px; }
.sched { background: var(--panel); border: 1px solid var(--rule); border-radius: 4px; }
.sched button { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; column-gap: 14px; align-items: baseline; width: 100%; min-height: 44px; padding: 10px 20px; text-align: left; border-top: 1px solid var(--rule-soft); }
.sched button:first-child { border-top: 0; }
.sched button:hover { background: #F8FAFC; }
.sched .when { color: var(--sub); font-size: 14px; }
.sched .who { min-width: 0; }
.sched .what { color: var(--sub); font-size: 14px; text-align: right; }
/* The signals feed: result, what was bought and where, how it ended */
.feed button { grid-template-columns: 52px minmax(0, 1fr) auto; }
.feed .when { font-weight: 600; }
.feed .when.won { color: var(--fair); }
.feed .when.lost { color: var(--sub); }
.feed .when.is-open { color: var(--ink); }
.feed .who { display: grid; gap: 1px; }
.feed-sub { color: var(--sub); font-size: 14px; }
/* an open signal against the line showing now */
.feed-now { color: var(--sub); font-size: 14px; }
.feed-now.is-on { color: var(--ink); font-weight: 600; }
.sched .feed-all { display: block; color: var(--sub); font-size: 14px; font-weight: 500; }
.sched .feed-all:hover { color: var(--ink); }
.m-sub { display: none; }
.hist svg, .chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.hist text, .chart text { font: 500 12px var(--sans); fill: var(--sub); }
.hist .big { font-size: 20px; font-weight: 700; }

/* ---------- game ---------- */
.share-row { margin-top: 16px; }
.back { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.back a { display: inline-block; padding: 6px 0; color: var(--sub); font-weight: 500; text-decoration: none; }
.back a:hover { color: var(--ink); }
#view-game { gap: 28px; }
#game-body { display: flex; flex-direction: column; gap: 28px; }
.score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px 28px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.side .tm { display: block; color: var(--ink); font: 600 clamp(20px, 2.6vw, 30px)/1.15 var(--serif); letter-spacing: -0.01em; }
.side .beh { margin-top: 4px; color: var(--sub); font-size: 14px; }
.side.is-home { text-align: right; }
.mid { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); }
.pts { font-size: clamp(40px, 6.4vw, 68px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.clk { display: grid; justify-items: center; color: var(--sub); font-size: 13px; line-height: 1.3; white-space: nowrap; }
.clk b { color: var(--ink); font-size: 15px; font-weight: 600; }
.markets { display: flex; flex-wrap: wrap; gap: 8px; }
.markets button { min-height: 38px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 4px; background: var(--panel); font-weight: 500; }
.markets button:hover { border-color: var(--rule-strong); }
.markets button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.read { font: 500 clamp(21px, 2.3vw, 28px)/1.22 var(--serif); letter-spacing: -0.012em; max-width: 34em; text-wrap: pretty; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts > div { padding: 14px 16px 14px 0; }
.facts dt { color: var(--sub); font-size: 13px; }
.facts dd { margin-top: 2px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.facts .book dd { color: var(--book); }
.facts .fair dd { color: var(--fair); }
.chart-panel { padding: 20px 22px 14px; display: flex; flex-direction: column; gap: 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--sub); font-size: 13px; }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 22px; height: 0; border-top: 3px solid var(--ink); }
.legend .k-book { border-color: var(--book); }
.legend .k-fair { border-color: var(--fair); }
.legend .k-pre { border-top: 2px dashed var(--faint); }
.legend .k-zone { height: 12px; border: 1px solid var(--rule-strong); background: var(--band); }
.legend .k-away { border-color: var(--away); }
.legend .k-home { border-color: var(--home); }
.scrub { display: flex; flex-wrap: wrap; gap: 2px 16px; min-height: 22px; color: var(--sub); font-size: 14px; }
.scrub b { color: var(--ink); font-weight: 600; }
.scrub .v-book { color: var(--book); }
.scrub .v-fair { color: var(--fair); }
.chart { touch-action: pan-y; }
.chart .lbl { font-size: 13px; font-weight: 700; }
.chart .sig { font-size: 12px; paint-order: stroke; stroke: var(--panel); stroke-width: 5px; stroke-linejoin: round; }
.chart .ttl { font-size: 13px; font-weight: 600; fill: var(--ink); }
.chart .vacant { border: 0; padding: 36px 0; }

/* ---------- tables ---------- */
.sheet { overflow-x: auto; background: var(--panel); border: 1px solid var(--rule); border-radius: 4px; }
.sheet.is-aside { border-style: dashed; border-color: var(--rule-strong); }
.sheet.is-aside td { color: var(--sub); }
table { border-collapse: collapse; width: 100%; min-width: 640px; }
th, td { padding: 11px 16px; text-align: left; white-space: nowrap; }
th { font-size: 13px; font-weight: 600; color: var(--sub); border-bottom: 1px solid var(--rule); }
td { border-top: 1px solid var(--rule-soft); }
tbody tr:first-child td { border-top: 0; }
tbody tr[tabindex] { cursor: pointer; }
tbody tr[tabindex]:hover { background: #F8FAFC; }
th.r, td.r { text-align: right; }
#ledger-sheet th, #ledger-sheet td { padding-left: 12px; padding-right: 12px; } /* thirteen columns: the tighter gutter keeps Result on screen */
td.won { font-weight: 700; color: var(--fair); }
td.lost { color: var(--sub); }

/* ---------- record ---------- */
.sums { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sums > div { padding: 14px 16px 14px 0; }
.sums dt { color: var(--sub); font-size: 13px; }
.sums dd { margin-top: 2px; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }

.foot { margin-top: 56px; padding-top: 18px; padding-bottom: 40px; border-top: 1px solid var(--rule); color: var(--sub); font-size: 13px; }
.foot p { max-width: 62em; }
.foot p + p { margin-top: 8px; }
.foot a { text-underline-offset: 2px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* About: a heading column beside a reading column, ruled like the tables */
.page > #view-about { gap: 0; }
.about .headline { max-width: 17em; }
.about-rows { margin-top: 34px; border-top: 1px solid var(--rule-strong); }
.about-row { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 40em); gap: 8px 56px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.about-row h2 { font-size: 20px; }
.about-row p { color: var(--sub); font-size: 16px; text-wrap: pretty; }
.about-row p + p { margin-top: 10px; }
.about-row a { color: var(--ink); text-underline-offset: 2px; }

/* Before any line is recorded: no empty figures or charts; the schedule comes straight after the headline */
#view-board.no-lines .figures, #view-board.no-lines #trend-key, #view-board.no-lines .split > .panel { display: none; }
#view-board.no-lines > .block:not(#feed-block) { order: 2; }
#view-board.no-lines > #finals { order: 3; }
#view-board.no-lines .split > #next { order: -1; }

/* First visit: three lines on how to read the site */
.primer { padding: 20px 24px; background: var(--panel); border: 1px solid var(--rule); border-left: 3px solid var(--ink); border-radius: 4px; }
.primer-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 40px; }
.primer-rows p { color: var(--sub); font-size: 15px; text-wrap: pretty; }
.primer-rows b { color: var(--ink); font-weight: 600; }
.primer-foot { margin-top: 16px; display: flex; align-items: center; gap: 20px; font-size: 15px; }
.primer-foot a { color: var(--ink); text-underline-offset: 3px; }

/* Email list: one quiet panel under every view */
.page > .signup { margin-top: 56px; padding: 24px; background: var(--panel); border: 1px solid var(--rule); border-radius: 4px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26em); gap: 16px 56px; align-items: start; }
.signup-say { display: flex; flex-direction: column; gap: 8px; }
.signup-form { display: flex; flex-direction: column; gap: 8px; }
.signup-form label { font-size: 14px; font-weight: 500; }
.signup-row { display: flex; gap: 8px; }
.signup-row input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule-strong); border-radius: 4px; font: inherit; background: var(--panel); color: var(--ink); }
.signup-row input::placeholder { color: var(--faint); }
.key.is-primary { min-height: 44px; padding: 0 18px; background: var(--ink); border-color: var(--ink); color: #fff; }
.key.is-primary:hover { background: #1B2B45; border-color: #1B2B45; }

/* Sportsbook referral: one line beside a live signal, labelled as paid where it is clicked */
.book-link { margin-top: 14px; font-size: 15px; color: var(--sub); }
.book-link a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .primer { padding: 18px 20px; }
  .primer-rows { grid-template-columns: 1fr; }
  .about-row { grid-template-columns: 1fr; padding: 20px 0; }
  .page > .signup { grid-template-columns: 1fr; padding: 20px; }
  .stand { --cols: minmax(0, 1fr) auto; }
  .stand-head { display: block; height: auto; padding: 12px 16px 0; }
  .stand-head > :not(.axis) { display: none; }
  .axis { margin: 0; height: 46px; }
  .stand-row { padding: 12px 16px 12px; column-gap: 12px; row-gap: 0; grid-template-areas: "game clock" "game status" "plot plot" "nums nums"; }
  .stand-row .c-game { grid-area: game; padding: 0; }
  .stand-row .c-clock { grid-area: clock; text-align: right; align-self: end; }
  .stand-row .c-status { grid-area: status; text-align: right; align-self: start; }
  .stand-row .c-plot { grid-area: plot; margin: 10px 0 8px; }
  .plot { min-height: 30px; }
  .c-nums { grid-area: nums; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; font-stretch: 88%; }
  .c-num { text-align: left; font-size: 14px; }
  .c-num::before { content: attr(data-l) " "; font-weight: 400; color: var(--sub); }
  .tm { justify-content: flex-start; }
  .tm .pt { order: 2; margin-left: auto; padding-left: 12px; }
}
@media (max-width: 620px) {
  .m-hide { display: none; }
  .m-sub { display: block; margin-top: 1px; color: var(--sub); font-size: 13px; font-weight: 400; white-space: normal; }
  table.is-phone { min-width: 0; }
  .is-phone th, .is-phone td { padding: 10px 8px; }
  .is-phone .m-first { padding-left: 14px; white-space: normal; }
  table.first-wraps { min-width: 0; }
  .first-wraps th, .first-wraps td { padding: 10px 8px; }
  .first-wraps td:first-child, .first-wraps th:first-child { white-space: normal; min-width: 8.5em; padding-left: 14px; }
  .first-wraps td:last-child, .first-wraps th:last-child { padding-right: 14px; }
  .first-wraps.drop-46 :is(th, td):nth-child(4), .first-wraps.drop-46 :is(th, td):nth-child(6) { display: none; } /* win rate and open: derivable, and the row has to fit */
  .mast-in { padding-top: 18px; }
  .wordmark { font-size: 26px; }
  .tagline { display: none; }
  .pulse { text-align: left; }
  .pulse .wide { display: none; }
  .page { padding-top: 20px; }
  .page > section { gap: 30px; }
  /* the figures sit in one row, so the signals start on the first screen */
  .lead { gap: 20px; }
  .figures { flex-basis: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; border-top: 1px solid var(--rule); }
  .figures > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 10px 0; border-top: 0; }
  .figures dd { font-size: 21px; }
  .figures dt { margin-top: 4px; font-size: 13px; line-height: 1.3; }
  .figures .full, .figures .fig-count { display: none; }
  .figures .brief { display: inline; }
  .sums { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .sums > div { padding: 11px 0; }
  .sums dd { font-size: 24px; }
  .first-wraps.is-days td:first-child, .first-wraps.is-days th:first-child { min-width: 0; white-space: nowrap; }
  .first-wraps.is-days :is(th, td):nth-child(2) { display: none; }
  .seg button { padding: 0 12px; }
  .score { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mid { grid-column: 1 / -1; grid-row: 1; justify-content: center; }
  .sched button { grid-template-columns: 62px minmax(0, 1fr) auto; padding: 10px 14px; }
  .sched .what { max-width: 9.5em; }
  .chart-panel { padding: 14px 12px 8px; }
  .split > .panel { padding: 16px 14px 10px; }
  th, td { padding: 10px 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .plot .dot { transition: left 0.5s ease; }
}
@media print {
  .nav-rule, .tool, .back, .markets { display: none; }
  body { background: #fff; }
}
