:root {
  color-scheme: light;
  --page: #f3f6fb;
  --surface: #ffffff;
  --wash: #f7f9fe;
  --ink: #0d1b3a;
  --muted: #4b5b79;
  --blue: #1e56e0;
  --blue-deep: #1747c4;
  --soft-blue: #e9f0ff;
  --line: #dbe3ef;
  --line-strong: #c3cfe2;
  --on-blue: #ffffff;
  --on-blue-muted: #dce6ff;
  --amber: #8a4b06;
  --soft-amber: #fff1dc;
  --green: #17663a;
  --soft-green: #e3f4ea;
  --red: #a3261e;
  --soft-red: #fdeceb;
  --bar-draw: #a9b8d3;
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-md: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.75rem;
  --text-display: clamp(2.125rem, 1.5rem + 2.6vw, 3.25rem);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --pill: 999px;
  --page-width: 1120px;
  --gutter: 32px;
  --time-column: 84px;
  --shadow-card: 0 1px 2px rgb(13 27 58 / .05), 0 12px 32px -20px rgb(13 27 58 / .28);
  --shadow-magnet: 0 1px 2px rgb(13 27 58 / .14), 0 8px 18px -10px rgb(30 86 224 / .7);
  --shadow-magnet-lift: 0 2px 4px rgb(13 27 58 / .14), 0 12px 22px -10px rgb(30 86 224 / .75);
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  font-family: var(--sans);
  font-synthesis: none;
  accent-color: var(--blue);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* The tactics board: white enamel on a cool wall, one marker blue, every rule one pixel. */
* { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: var(--page); color: var(--ink); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; }
::selection { background: var(--soft-blue); color: var(--ink); }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
h2 { font-size: var(--text-lg); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: var(--text-md); font-weight: 700; }
small { font-size: var(--text-xs); }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 16px; top: -120px; z-index: 30; padding: 10px 18px; border-radius: var(--pill); background: var(--blue); color: var(--on-blue); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.shell { width: min(var(--page-width), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Header: sticky enamel strip, pill navigation, the current page is a placed magnet. */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); text-decoration: none; }
.brand-mark { flex-shrink: 0; width: 40px; height: 40px; }
.brand-mark rect { fill: var(--blue); }
.brand-mark path, .brand-mark circle { fill: none; stroke: var(--on-blue); stroke-width: 1.5; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.brand-text strong { font-family: var(--display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.brand-text small { color: var(--muted); white-space: nowrap; }
.navigation { display: flex; gap: 4px; }
.navigation a { display: grid; place-items: center; min-height: 40px; padding: 0 16px; white-space: nowrap; border-radius: var(--pill); color: var(--ink); font-size: var(--text-sm); font-weight: 600; text-decoration: none; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.navigation a:hover { background: var(--soft-blue); color: var(--blue); }
.navigation a[aria-current] { background: var(--blue); color: var(--on-blue); box-shadow: var(--shadow-magnet); }

/* The page head: on the wall itself, centred. The title, the day in muted, quiet fact pills,
   the page's own controls, then the meta line. */
.page-head { position: relative; overflow: clip; }
/* Faint pitch halves at the head's edges, drawn in hairlines; the tactics marks are 1.5px. */
.head-pitch { position: absolute; top: 16px; width: clamp(120px, 26vw - 160px, 240px); height: auto; pointer-events: none; }
.head-pitch.is-left { left: 0; }
.head-pitch.is-right { right: 0; }
.head-pitch path, .head-pitch circle { fill: none; stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.head-pitch .mark { stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.head-pitch .spot { fill: var(--line-strong); stroke: none; }
.head-inner { position: relative; display: flex; flex-direction: column; align-items: center; padding: 48px 0 32px; text-align: center; }
.page-head h1 { max-width: 18ch; margin: 0; font-family: var(--display); font-size: var(--text-display); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; }
.head-date { margin: 10px 0 0; color: var(--muted); font-size: var(--text-lg); font-weight: 500; line-height: 1.35; font-variant-numeric: lining-nums tabular-nums; }
.head-date::first-letter { text-transform: uppercase; }
.head-intro { max-width: 58ch; margin: 12px 0 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.55; text-wrap: balance; }
.head-date + .head-intro { margin-top: 6px; font-size: var(--text-sm); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.fact { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); font-size: var(--text-sm); font-weight: 600; line-height: 1.3; font-variant-numeric: lining-nums tabular-nums; }
.fact > span { color: var(--muted); font-weight: 500; }
.fact.is-lead { border-color: var(--soft-blue); background: var(--soft-blue); color: var(--blue); }
.fact.is-lead::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.fact.is-lead.is-zero { border-color: var(--line); background: var(--surface); color: var(--muted); }
.fact.is-lead.is-zero::before { border: 1.5px solid currentColor; background: transparent; }
/* Ieri | Azi | Mâine: one segmented control; the current day is the filled magnet. */
.day-switch { display: inline-flex; gap: 4px; margin: 24px 0 0; padding: 4px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); }
.day-switch a { display: grid; place-items: center; min-width: 96px; min-height: 44px; padding: 0 20px; border-radius: var(--pill); color: var(--ink); font-size: var(--text-sm); font-weight: 600; text-decoration: none; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.day-switch a:hover { background: var(--soft-blue); color: var(--blue); }
.day-switch a[aria-current="page"] { background: var(--blue); color: var(--on-blue); box-shadow: var(--shadow-magnet); }
/* The kickoff rail: an index, not a timeline. One blue dot per kickoff time, evenly spaced on a
   hairline; it scrolls sideways when the stops outgrow the head. */
.kickoff-rail { width: 100%; margin: 20px 0 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); transition: opacity .2s var(--ease-out); }
/* While a day filter is on, the rail keeps its place but dims and goes inert: its stops may point at hidden cards. */
.kickoff-rail.is-muted { opacity: .4; }
.kickoff-rail ol { display: flex; margin: 0; padding: 0 20px 4px; list-style: none; }
.kickoff-rail li { position: relative; flex: 1 1 0; min-width: 72px; max-width: 200px; }
.kickoff-rail li:first-child { margin-left: auto; }
.kickoff-rail li:last-child { margin-right: auto; }
.kickoff-rail li + li::before { content: ""; position: absolute; top: 12px; right: 50%; width: 100%; border-top: 1px solid var(--line-strong); }
.kickoff-rail a { position: relative; display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 6px 4px; min-height: 52px; padding: 7px 4px 4px; border-radius: var(--radius-sm); color: var(--ink); font-size: var(--text-sm); font-weight: 700; text-decoration: none; font-variant-numeric: lining-nums tabular-nums; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.kickoff-rail a::before { content: ""; grid-column: 1 / -1; justify-self: center; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--page), var(--shadow-magnet); transition: transform .2s var(--ease-out); }
.kickoff-rail a:hover { color: var(--blue); }
.kickoff-rail a:hover::before { transform: scale(1.3); }
.rail-count { display: inline-grid; place-items: center; min-width: 20px; min-height: 20px; padding: 3px 6px; border-radius: var(--pill); background: var(--soft-blue); color: var(--blue); font-size: var(--text-xs); font-weight: 700; line-height: 1; }
.head-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px; margin: 24px 0 0; color: var(--muted); font-size: var(--text-sm); }
.head-meta time { color: var(--ink); font-weight: 600; }
.trial-flags { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 14px; padding: 5px 14px; border-radius: 14px; background: var(--soft-amber); color: var(--amber); font-size: var(--text-xs); font-weight: 700; }
.trial-flags > .trial-flag { min-height: 0; padding: 0; background: none; }
.reading-record > .trial-flag { margin: 2px 0 8px; }
.trial-flag { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 4px 12px; border-radius: 14px; background: var(--soft-amber); color: var(--amber); font-size: var(--text-xs); font-weight: 700; }
.trial-flag.is-experimental { font-weight: 600; }
.trial-flag.is-market::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px; font-size: var(--text-sm); font-weight: 600; }
.back-link::before { content: ""; width: 7px; height: 7px; border-bottom: 1.5px solid currentColor; border-left: 1.5px solid currentColor; transform: rotate(45deg); }
.button-link { display: inline-grid; place-items: center; min-height: 44px; margin-top: 28px; padding: 0 22px; border-radius: var(--pill); background: var(--blue); color: var(--on-blue); font-size: var(--text-sm); font-weight: 700; text-decoration: none; box-shadow: var(--shadow-magnet); transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.button-link:hover { transform: translateY(-1px); box-shadow: var(--shadow-magnet-lift); }

main { flex: 1; }
.page-body { padding: 8px 0 80px; }
.page-body:not(:has(*)) { display: none; }

/* Matchdays use the available width; prose pages keep their reading measure. */
.matchday { --page-width: 2880px; }
.matchday .head-pitch { display: none; }
.matchday .head-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: 8px 16px; padding: 20px 0 12px; text-align: left; }
.head-title { grid-column: 1 / 9; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.head-title h1 { font-size: 2.25rem; }
.head-title .head-date { margin: 0; font-size: var(--text-md); }
.head-title .head-intro { flex: 1 1 600px; max-width: none; margin: 0; font-size: var(--text-sm); text-wrap: pretty; }
.matchday .day-switch, .matchday .back-link { grid-column: 9 / -1; grid-row: 1; justify-self: end; margin: 0; }
.matchday .facts { grid-column: 1 / 6; grid-row: 2; justify-content: flex-start; margin: 0; }
.matchday .head-meta { grid-column: 6 / -1; grid-row: 2; justify-content: flex-end; margin: 0; font-size: var(--text-xs); text-align: right; }
.matchday .kickoff-rail { grid-column: 1 / -1; grid-row: 3; margin: 0; }
/* The trial's recent picks strip: the last settled picks as dots under the facts row. */
.recent-run { display: grid; justify-items: center; gap: 8px; margin: 14px 0 0; }
.matchday .recent-run { grid-column: 1 / -1; grid-row: 3; margin: 6px 0 0; }
.matchday .head-inner:has(.recent-run) .kickoff-rail { grid-row: 4; }
.recent-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.recent-dots li { width: 12px; height: 12px; border-radius: 50%; }
.recent-dots li.is-hit { background: var(--green); }
.recent-dots li.is-miss { box-shadow: inset 0 0 0 1.5px var(--red); }
.recent-line { margin: 0; color: var(--muted); font-size: var(--text-sm); text-align: center; font-variant-numeric: lining-nums tabular-nums; }
.recent-line b { color: var(--ink); font-weight: 700; }
.matchday .kickoff-rail a { min-height: 44px; padding-top: 3px; gap: 2px 4px; }
/* Busy days fold the rail into hours: one column per hour from the first kickoff to the last, a
   blue bar as tall as the hour's share of the busiest hour, on one hairline baseline. It fits the
   head without scrolling from 701px; the exact times and count float above the bar on hover or
   focus and are the link's name. Hours with no kickoff hold their place, unlinked. */
.kickoff-rail.is-hours { overflow: visible; mask-image: none; }
.kickoff-rail.is-hours ol { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 56px); width: max-content; max-width: 100%; margin-inline: auto; gap: 0; padding: 0; background: linear-gradient(var(--line-strong), var(--line-strong)) 0 36px / 100% 1px no-repeat; }
.kickoff-rail.is-hours li { min-width: 0; max-width: none; margin: 0; }
.kickoff-rail.is-hours li + li::before { content: none; }
.kickoff-rail.is-hours a, .kickoff-rail.is-hours .is-empty { display: flex; flex-direction: column; align-items: center; gap: 5px; min-height: 56px; padding: 4px 0 2px; font-size: var(--text-xs); }
.kickoff-rail.is-hours a::before { content: none; }
.rail-bar { --bar: 0px; width: min(16px, 60%); height: var(--bar); margin-top: calc(32px - var(--bar)); border-radius: 4px 4px 1px 1px; background: var(--blue); transition: background-color .2s var(--ease-out); }
.rail-bar.v1 { --bar: 4px; } .rail-bar.v2 { --bar: 8px; } .rail-bar.v3 { --bar: 12px; } .rail-bar.v4 { --bar: 16px; }
.rail-bar.v5 { --bar: 20px; } .rail-bar.v6 { --bar: 24px; } .rail-bar.v7 { --bar: 28px; } .rail-bar.v8 { --bar: 32px; }
.rail-hour { font-weight: 700; line-height: 1; }
.kickoff-rail .is-empty .rail-hour { color: var(--muted); font-weight: 500; }
.kickoff-rail.is-hours a:hover .rail-bar, .kickoff-rail.is-hours a:focus-visible .rail-bar { background: var(--blue-deep); }
.rail-popover { position: absolute; bottom: calc(100% - 2px); left: 50%; z-index: 3; display: grid; gap: 2px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-card); color: var(--muted); font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .15s var(--ease-out), transform .15s var(--ease-out); }
.rail-popover strong { color: var(--ink); font-size: var(--text-sm); }
.kickoff-rail li:nth-child(-n+2) .rail-popover { left: 0; transform: translate(0, 4px); }
.kickoff-rail li:nth-last-child(-n+2) .rail-popover { left: auto; right: 0; transform: translate(0, 4px); }
.kickoff-rail a:hover .rail-popover, .kickoff-rail a:focus-visible .rail-popover { opacity: 1; transform: translate(-50%, 0); }
.kickoff-rail li:nth-child(-n+2) a:is(:hover, :focus-visible) .rail-popover, .kickoff-rail li:nth-last-child(-n+2) a:is(:hover, :focus-visible) .rail-popover { transform: none; }
.matchday .page-body { padding-top: 4px; }

/* Match cards: one enamel card per match, pinned on the wall in kickoff order. */
.match-grid { --match-columns: 3; display: grid; grid-template-columns: repeat(var(--match-columns), minmax(0, 1fr)); gap: 16px; }
.match-grid > .match { display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 8px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); scroll-margin-top: 12px; }
.match-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.match-head p { margin: 0; }
.match-league { min-width: 0; padding-top: 5px; font-size: var(--text-sm); font-weight: 600; line-height: 1.35; }
.match-league .country { color: var(--muted); font-weight: 500; }
.match-time { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; gap: 2px; line-height: 1.3; text-align: right; }
.match-time time { display: inline-grid; place-items: center; min-height: 30px; padding: 0 12px; border-radius: var(--pill); background: var(--page); font-size: var(--text-sm); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.match-time > span { color: var(--muted); font-size: var(--text-xs); }
.match-time .status-live { color: var(--blue); font-weight: 700; }
/* The two teams face each other across "vs", or across the score once the match is played. */
.match-teams { --mark: 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 8px; margin: 16px 0 18px; text-align: center; }
.team { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; margin: 0; font-size: var(--text-lg); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; overflow-wrap: break-word; text-wrap: balance; }
.team-name { width: 100%; min-width: 0; overflow-wrap: anywhere; }
/* Each team wears a navy text monogram, never a crest: a magnet with a fine inner ring. */
.monogram { display: grid; place-items: center; width: var(--mark); height: var(--mark); border-radius: 50%; background: var(--ink); color: var(--on-blue); font-family: var(--display); font-size: 1.25rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px rgb(255 255 255 / .6), 0 1px 2px rgb(13 27 58 / .14), 0 8px 18px -10px rgb(13 27 58 / .7); }
.monogram.is-long { font-size: 1rem; letter-spacing: -.03em; }
.versus { margin: 0; padding-top: calc(var(--mark) / 2 - 11px); color: var(--muted); font-size: var(--text-sm); font-weight: 500; }
.result { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; gap: 4px; margin: 0; text-align: right; }
.match-teams .result { align-items: center; padding-top: calc(var(--mark) / 2 - 18px); text-align: center; }
.result > strong { display: inline-grid; place-items: center; min-width: 64px; min-height: 36px; padding: 0 12px; border: 1px solid var(--ink); border-radius: var(--radius-sm); background: var(--ink); color: var(--on-blue); font-size: var(--text-md); font-weight: 700; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.result > strong.is-unknown, .x-outcome > strong.is-unknown { border: 1px solid var(--line-strong); background: transparent; color: var(--muted); }
.result > span:not(.visually-hidden) { color: var(--muted); font-size: var(--text-xs); }
.match-teams .result { max-width: 92px; }

/* Trial pick cards (2026-10-29): a compact left-aligned card, "Home vs Away", the pick with its units
   and three price tiles. The tiles are text, not controls, so they get no hover or cursor
   of their own; only the pick's tile lifts with the card. A settled card is tinted whole, and the
   pick's tile carries a check or ring beside its symbol, so colour is never the only signal. */
.match-grid.is-picks { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); gap: 12px; }
.match-grid.is-picks > .match { padding: 14px 16px 12px; border-radius: var(--radius); text-align: left; }
.is-picks .match-head { flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 4px 10px; }
.is-picks .match-league { padding-top: 0; }
.is-picks .match-time { display: contents; text-align: left; }
.is-picks .match-time time { order: -1; }
.is-picks .match-time > span { order: 1; flex-basis: 100%; color: var(--muted); font-size: var(--text-xs); }
.is-picks .pick-tag { margin: 0 0 0 auto; color: var(--amber); font-size: var(--text-xs); font-weight: 700; line-height: 1.3; }
.is-picks .match-title { margin-top: 10px; }
.is-picks .match-title :is(h2, h3) { margin: 0; font-family: var(--display); font-size: 1.0625rem; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; text-wrap: balance; overflow-wrap: anywhere; }
.is-picks .match-title .versus { padding: 0; color: var(--muted); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; }
.is-picks .match-score { display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px; border-radius: var(--radius-sm); background: var(--ink); color: var(--on-blue); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.is-picks .match-note { margin: 4px 0 0; color: var(--muted); font-size: var(--text-xs); font-weight: 500; line-height: 1.4; }
.is-picks .pick-panel { margin-top: 10px; }
.is-picks .pick-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 8px; font-size: var(--text-sm); line-height: 1.4; }
.is-picks .pick-label { color: var(--muted); font-weight: 600; }
.is-picks .pick-line > strong { min-width: 0; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.is-picks .pick-units { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; white-space: nowrap; }
.is-picks .unit-count { color: var(--blue-deep); font-size: var(--text-xs); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.is-picks .unit-marks { display: inline-flex; align-items: center; gap: 3px; }
.is-picks .unit-mark { box-sizing: border-box; width: .625rem; height: .625rem; border: 1px solid var(--muted); border-radius: 2px; }
.is-picks .unit-mark.is-on { border-color: var(--blue); background: var(--blue); }
.is-picks .pick-result { margin: 0 0 8px; font-size: var(--text-sm); font-weight: 700; line-height: 1.4; }
/* The result mark is the picked tile's own check or ring, drawn the same way and coloured by the card's state. */
.is-picks .pick-mark { display: inline-block; margin-right: 6px; vertical-align: middle; }
.is-picks .match.is-hit .pick-mark { width: 5px; height: 9px; margin-bottom: 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.is-picks .match.is-miss .pick-mark { width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; }
.is-picks .result-figure { white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
/* An X scheme selection names its scheme where the units would sit: a quiet text link, never a pill
   (schema-x-owns-its-matches). The after box widens the hit area to 44px without moving the line or the focus ring. */
.is-picks .pick-sep { color: var(--muted); }
.is-picks .pick-scheme { position: relative; color: var(--blue-deep); font-weight: 600; white-space: nowrap; }
.is-picks .pick-scheme::after { content: ""; position: absolute; inset: -12px -4px; }
.is-picks .price-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 4.5rem), 1fr)); gap: 6px; margin: 0; }
.is-picks .price-tile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 4px; min-width: 0; min-height: 40px; padding: 0 8px; border: 1px solid transparent; border-radius: var(--radius-sm); background: var(--page); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.is-picks .price-symbol { color: var(--muted); font-size: var(--text-xs); font-weight: 600; }
.is-picks .price-tile > strong { font-size: var(--text-md); font-weight: 700; line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; }
.is-picks .price-tile.is-pick { border-color: var(--blue); background: var(--blue); color: var(--on-blue); box-shadow: var(--shadow-magnet); }
.is-picks .price-tile.is-pick .price-symbol { color: var(--on-blue-muted); }
.is-picks .price-expectation { flex-basis: 100%; color: var(--muted); font-size: var(--text-xs); line-height: 1.2; }
.is-picks .price-expectation { text-align: end; font-variant-numeric: lining-nums tabular-nums; }
.is-picks .price-tile:has(.price-expectation) { padding-block: 4px; }
.is-picks .price-tile.is-pick .price-expectation { color: var(--on-blue-muted); }
.is-picks .match:hover .price-tile.is-pick { transform: translateY(-1px); box-shadow: var(--shadow-magnet-lift); }
.is-picks .match-goals { margin: 10px 0 0; }
.is-picks .goal-chances { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 6px; }
.is-picks .goal-chances .stat { flex: 0 1 auto; align-items: center; }
.is-picks .goal-chances .stat dd { font-size: var(--text-sm); }
.is-picks .goals-line { margin: 0; color: var(--muted); font-size: var(--text-xs); line-height: 1.5; }
.is-picks .goals-pair { white-space: nowrap; }
.is-picks .goals-line b { color: var(--ink); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.match-grid.is-picks > .match.is-experimental { border-style: dashed; border-color: var(--line-strong); }
.match-grid.is-picks > .match.is-hit { border-color: color-mix(in srgb, var(--green) 30%, var(--line)); background: var(--soft-green); }
.match-grid.is-picks > .match.is-miss { border-color: color-mix(in srgb, var(--red) 30%, var(--line)); background: var(--soft-red); }
.match-grid.is-picks > .match.is-experimental.is-hit { border-color: color-mix(in srgb, var(--green) 30%, var(--line-strong)); }
.match-grid.is-picks > .match.is-experimental.is-miss { border-color: color-mix(in srgb, var(--red) 30%, var(--line-strong)); }
.is-picks .match:is(.is-hit, .is-miss) .price-tile:not(.is-pick) { background: var(--surface); }
.is-picks .price-tile.is-pick.is-hit { --tile-glow: 23 102 58; border-color: var(--green); background: var(--green); }
.is-picks .price-tile.is-pick.is-miss { --tile-glow: 163 38 30; border-color: var(--red); background: var(--red); }
.is-picks .price-tile.is-pick.is-hit, .is-picks .price-tile.is-pick.is-miss { box-shadow: 0 1px 2px rgb(13 27 58 / .14), 0 8px 18px -10px rgb(var(--tile-glow) / .7); }
.is-picks .match:hover .price-tile.is-pick.is-hit, .is-picks .match:hover .price-tile.is-pick.is-miss { box-shadow: 0 2px 4px rgb(13 27 58 / .14), 0 12px 22px -10px rgb(var(--tile-glow) / .75); }
.is-picks .price-tile.is-pick.is-hit .price-symbol { color: color-mix(in srgb, var(--on-blue) 86%, var(--green)); }
.is-picks .price-tile.is-pick.is-miss .price-symbol { color: color-mix(in srgb, var(--on-blue) 86%, var(--red)); }
.is-picks .price-tile.is-pick.is-hit .price-symbol::after, .is-picks .price-tile.is-pick.is-miss .price-symbol::after { content: ""; display: inline-block; margin-left: 7px; vertical-align: middle; }
.is-picks .price-tile.is-pick.is-hit .price-symbol::after { width: 5px; height: 9px; margin-bottom: 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.is-picks .price-tile.is-pick.is-miss .price-symbol::after { width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; }
.is-picks .match.is-hit .pick-result { color: var(--green); }
.is-picks .match.is-miss .pick-result { color: var(--red); }

/* Fixtures without an estimate wait in one quiet list after the cards. */
.bare-list { margin-top: 24px; overflow: clip; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgb(255 255 255 / .55); }
.bare-list > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 8px 16px 8px 24px; cursor: pointer; list-style: none; transition: background-color .2s var(--ease-out); }
.bare-list > summary::-webkit-details-marker { display: none; }
.bare-list > summary:hover { background: var(--surface); }
.bare-list[open] > summary { border-bottom: 1px solid var(--line); }
.bare-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--text-md); font-weight: 600; letter-spacing: 0; font-variant-numeric: lining-nums tabular-nums; }
.bare-title::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border: 1.5px solid var(--muted); border-radius: 50%; }
.chevron { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out); }
.chevron::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--ease-out); }
.bare-list[open] > summary .chevron::before, .x-board[open] .x-board-toggle .chevron::before { transform: translateY(1px) rotate(225deg); }
.bare-list > summary:hover .chevron, .x-board-head:hover .chevron { border-color: var(--blue); background: var(--blue); }
.bare-list > summary:hover .chevron::before, .x-board-head:hover .chevron::before { border-color: var(--on-blue); }
.bare-rows { background: var(--surface); }
.bare-rows > .match { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: start; column-gap: 16px; padding: 12px 24px; }
.bare-rows > .match + .match { border-top: 1px solid var(--line); }
.bare-rows > .match.is-first { border-top: 0; }
.bare-rows .match-time { align-items: flex-start; text-align: left; }
.bare-main { min-width: 0; padding-top: 3px; }
.bare-main p { margin: 0; }
.teams { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-weight: 600; line-height: 1.4; }
.teams > span:not(.team-divider) { overflow-wrap: anywhere; }
.team-divider { color: var(--line-strong); font-weight: 400; }
.bare-league { margin-top: 2px; color: var(--muted); font-size: var(--text-xs); }
/* Count chips (Bilanț): a blue count with a filled dot, or a hairline "none" with an empty ring. */
.count-estimates, .count-none { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 2px 10px; border-radius: var(--pill); white-space: nowrap; }
.count-estimates { background: var(--soft-blue); color: var(--blue); font-weight: 700; }
.count-estimates::before, .count-none::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.count-estimates::before { background: currentColor; }
.count-none { border: 1px solid var(--line); color: var(--muted); }
.count-none::before { border: 1.5px solid currentColor; }

.forecast { margin: 0; }
.forecast-status { margin: 0 0 8px; color: var(--muted); font-size: var(--text-xs); font-weight: 600; text-align: center; }
.forecast-status.is-experimental { color: var(--amber); }
.probability-text { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.probability { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 64px; padding: 10px 8px; border: 1px solid transparent; border-radius: var(--radius-sm); background: var(--page); text-align: center; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.probability > span { color: var(--muted); font-size: var(--text-xs); font-weight: 500; }
.probability > strong { font-size: 1.375rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.probability.is-pick { border-color: var(--blue); background: var(--blue); color: var(--on-blue); box-shadow: var(--shadow-magnet); }
.probability.is-pick > span { color: var(--on-blue-muted); }
.match:hover .probability.is-pick { transform: translateY(-1px); box-shadow: var(--shadow-magnet-lift); }
[data-experimental-forecast] .probability { border: 1px dashed var(--line-strong); background: var(--surface); }
[data-experimental-forecast] .probability.is-pick { border-color: var(--blue); background: var(--soft-blue); color: var(--blue); box-shadow: none; }
[data-experimental-forecast] .probability.is-pick > span { color: inherit; }
/* A settled pick keeps its tile and changes hue: green with a check when right, red with a ring
   when wrong. The mark sits in the tile's free corner, so colour is never the only signal. */
.probability.is-hit { --tile-glow: 23 102 58; border-color: var(--green); background: var(--green); }
.probability.is-miss { --tile-glow: 163 38 30; border-color: var(--red); background: var(--red); }
.probability.is-hit, .probability.is-miss { box-shadow: 0 1px 2px rgb(13 27 58 / .14), 0 8px 18px -10px rgb(var(--tile-glow) / .7); }
.match:hover .probability.is-hit, .match:hover .probability.is-miss { box-shadow: 0 2px 4px rgb(13 27 58 / .14), 0 12px 22px -10px rgb(var(--tile-glow) / .75); }
.probability.is-hit > span { color: color-mix(in srgb, var(--on-blue) 86%, var(--green)); }
.probability.is-miss > span { color: color-mix(in srgb, var(--on-blue) 86%, var(--red)); }
.probability.is-hit::after, .probability.is-miss::after { content: ""; position: absolute; top: 11px; right: 11px; }
.probability.is-hit::after { width: 5px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.probability.is-miss::after { width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; }
[data-experimental-forecast] .probability.is-hit { border-color: var(--green); background: var(--soft-green); color: var(--green); }
[data-experimental-forecast] .probability.is-miss { border-color: var(--red); background: var(--soft-red); color: var(--red); }
[data-experimental-forecast] .probability.is-hit > span, [data-experimental-forecast] .probability.is-miss > span { color: inherit; }
[data-experimental-forecast]:hover .probability.is-pick { box-shadow: none; }
/* The bar repeats the three shares as one 20px strip, the pick its one blue segment; a segment
   under 12% drops its label. */
.probability-bar { display: flex; height: 20px; margin-top: 10px; overflow: hidden; border-radius: var(--pill); background: var(--line); }
.probability-bar > span { display: grid; place-items: center; flex-shrink: 0; overflow: hidden; background: var(--bar-draw); color: var(--ink); font-size: var(--text-xs); font-weight: 700; line-height: 1; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.probability-bar > .is-narrow { font-size: 0; }
.probability-bar > :first-child { border-radius: var(--pill) 0 0 var(--pill); }
.probability-bar > :last-child { border-radius: 0 var(--pill) var(--pill) 0; }
.probability-bar > span + span { box-shadow: inset 2px 0 0 var(--surface); }
.probability-bar > .is-pick { background: var(--blue); color: var(--on-blue); }
/* The segment follows its tile: green or red once settled (the tile above carries the check or
   ring), soft-blue with a blue ring for an experimental estimate. */
.probability-bar > .is-hit { background: var(--green); }
.probability-bar > .is-miss { background: var(--red); }
[data-experimental-forecast] .probability-bar > .is-pick { background: var(--soft-blue); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
[data-experimental-forecast] .probability-bar > span + .is-pick { box-shadow: inset 2px 0 0 var(--surface), inset 0 0 0 1px var(--blue); }
[data-experimental-forecast] .probability-bar > .is-hit { background: var(--soft-green); color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
[data-experimental-forecast] .probability-bar > span + .is-hit { box-shadow: inset 2px 0 0 var(--surface), inset 0 0 0 1px var(--green); }
[data-experimental-forecast] .probability-bar > .is-miss { background: var(--soft-red); color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
[data-experimental-forecast] .probability-bar > span + .is-miss { box-shadow: inset 2px 0 0 var(--surface), inset 0 0 0 1px var(--red); }
/* Expected goals: one row under the bar, the home figure and the away figure split by a hairline. */
.goals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); text-align: center; }
.goals-label { grid-column: 1 / -1; color: var(--muted); font-size: var(--text-xs); font-weight: 500; }
.goals-side { padding: 0 8px; font-size: 1.125rem; line-height: 1.3; font-variant-numeric: lining-nums tabular-nums; }
.goals-side + .goals-side { border-left: 1px solid var(--line); }
.goals-side b { font-weight: 700; }
.forecast-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; gap: 6px 16px; margin-top: 10px; color: var(--muted); font-size: var(--text-xs); }
.forecast-note p { margin: 0; }
.forecast-note strong { margin-left: 2px; color: var(--ink); font-size: var(--text-sm); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }

/* Context for the pick: its strength and notes, centred under the forecast. */
.match-context { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 8px; color: var(--muted); font-size: var(--text-xs); line-height: 1.5; text-align: center; }
.match-context > p { margin: 0; }
.match-context .strength-explanation { text-align: left; }
.match-context .experimental-note { color: var(--amber); font-weight: 600; }

/* Marker magnet: X on the draw lean. */
.x-mark { display: inline-grid; place-items: center; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: var(--on-blue); font-family: var(--display); font-size: var(--text-xs); font-weight: 700; line-height: 1; box-shadow: var(--shadow-magnet); transition: transform .25s var(--ease-out); }
.pick-strength { color: var(--muted); font-size: var(--text-xs); }
.pick-strength > summary { min-height: 44px; padding: 8px 0; cursor: pointer; line-height: 1.7; list-style: none; }
.pick-strength > summary::-webkit-details-marker { display: none; }
.pick-strength > summary::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 2px; border-right: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: rotate(-45deg); transition: transform .25s var(--ease-out); }
.pick-strength[open] > summary::before { transform: rotate(45deg); }
.pick-strength > summary strong { margin: 0 8px; color: var(--blue); font-size: var(--text-sm); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pick-strength.is-unrated > summary strong { color: var(--muted); font-size: inherit; font-weight: 600; }
.strength-chance { display: inline-block; margin-right: 8px; color: var(--ink); font-variant-numeric: tabular-nums; }
.strength-trial { display: inline-block; color: var(--amber); }
.strength-explanation { max-width: 65ch; padding: 0 0 8px; }
.strength-explanation p { margin: 0 0 8px; }
.strength-rating { display: inline-flex; align-items: center; gap: 8px; margin: 0 8px; vertical-align: middle; white-space: nowrap; }
.strength-stars { display: inline-flex; gap: 2px; }
.strength-star { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linejoin: round; }
.strength-star.is-filled { fill: var(--blue); stroke: var(--blue); }
.pick-strength > summary .strength-rating strong { margin: 0; }

/* The pick's status: green or red, always with a mark. Solid once settled, a soft tint before. */
.pick-status { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 2px 10px; border: 1px solid var(--line-strong); border-radius: var(--pill); color: var(--muted); font-size: var(--text-xs); font-weight: 700; }
.pick-status.is-hit { border-color: var(--green); background: var(--green); color: var(--on-blue); }
.pick-status.is-miss { border-color: var(--red); background: var(--red); color: var(--on-blue); }
.pick-status.is-value { border-color: var(--soft-green); background: var(--soft-green); color: var(--green); }
.pick-status.is-no-value { border-color: var(--soft-red); background: var(--soft-red); color: var(--red); }
.pick-status.is-hit::before { content: ""; width: 4px; height: 8px; margin: -2px 2px 0 1px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.pick-status.is-miss::before, .pick-status.is-no-value::before { content: ""; width: 7px; height: 7px; border: 1.5px solid currentColor; border-radius: 50%; }
.pick-status.is-value::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.forecast-note .lean-note { flex-basis: 100%; color: var(--muted); font-size: var(--text-xs); font-weight: 500; text-wrap: balance; }
.forecast-note .lean-note strong { margin: 0; color: var(--blue); }
.fact.is-x { position: relative; padding-left: 7px; }
.fact.is-x .x-mark { width: 22px; height: 22px; font-size: .75rem; }
/* On a trial the X count opens the day's Schema X page: the whole pill is the target, 44px tall
   whatever the pill's own height, and a drawn chevron says where it goes. */
.fact.is-x:has(> a) { transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out); }
.fact.is-x > a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.fact.is-x > a > span { color: var(--muted); font-weight: 500; }
.fact.is-x > a::before { content: ""; order: 1; width: 6px; height: 6px; margin: 0 2px 0 1px; border-top: 1.5px solid var(--blue); border-right: 1.5px solid var(--blue); transform: rotate(45deg); }
.fact.is-x > a::after { content: ""; position: absolute; inset: calc(50% - 22px) 0; border-radius: var(--pill); }
.fact.is-x:has(> a:hover) { border-color: var(--blue); background: var(--soft-blue); }
/* With :has() the focus ring moves from the link's text to the whole pill; without it the link keeps its own ring. */
.fact.is-x:has(> a:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.fact.is-x:has(> a:focus-visible) > a { outline: none; }
.comparison-note { margin-top: 10px; }

/* The X board: every lean of the day on one board; folded above the cards on a deployable day,
   open as the page's own list on a trial's Schema X pages. */
.x-board { margin-bottom: 16px; overflow: clip; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.x-board-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 24px; min-height: 56px; padding: 10px 20px; cursor: pointer; list-style: none; text-align: left; transition: background-color .2s var(--ease-out); }
.x-board-head::-webkit-details-marker { display: none; }
.x-board-head:hover { background: var(--wash); }
.x-board[open] > .x-board-head { border-bottom: 1px solid var(--line); }
.x-board-toggle { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: var(--text-sm); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.x-board-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.0625rem; letter-spacing: -.01em; }
.x-board-head h2 > .x-mark { width: 26px; height: 26px; font-size: var(--text-sm); }
.x-board-head p, .x-board-rule { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.x-board-rule { max-width: 75ch; }
/* The Schema X list is the page itself: a ruled head, no toggle, nothing to hover. */
.x-board.is-page > .x-board-head { border-bottom: 1px solid var(--line); cursor: auto; }
.x-board.is-page > .x-board-head:hover { background: transparent; }
.x-board-count { color: var(--muted); font-size: var(--text-sm); font-weight: 600; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.x-board.is-page > .daily-empty { max-width: none; border: 0; border-radius: 0; }
.x-list { margin: 0; padding: 0; list-style: none; }
.x-row { display: grid; grid-template-columns: calc(var(--time-column) - 16px) minmax(0, 1fr) 236px; align-items: center; gap: 8px 16px; padding: 14px 24px; transition: background-color .2s var(--ease-out); }
.x-row + .x-row { border-top: 1px solid var(--line); }
.x-row:hover { background: var(--wash); }
.x-row p { margin: 0; }
.x-time { font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.x-teams { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.x-teams strong { font-weight: 600; overflow-wrap: anywhere; }
.x-divider { color: var(--line-strong); font-weight: 400; }
.x-teams > span { color: var(--muted); font-size: var(--text-xs); }
.x-teams em { color: var(--amber); font-style: normal; font-weight: 600; }
.x-figures { display: grid; gap: 6px; }
.x-figure { color: var(--muted); font-size: var(--text-xs); font-variant-numeric: lining-nums tabular-nums; }
.x-figure strong { margin: 0 2px; color: var(--blue); font-size: 1.125rem; font-weight: 700; }
.x-gauge { position: relative; display: block; height: 6px; border-radius: var(--pill); background: var(--line); }
.x-gauge-model { position: absolute; inset: 0 auto 0 0; border-radius: var(--pill); background: var(--blue); }
.x-gauge-norm { position: absolute; inset: -4px auto -4px 0; border-right: 1.5px solid var(--ink); }
.x-row.is-experimental .x-gauge-model { background: var(--soft-blue); box-shadow: inset 0 0 0 1px var(--blue); }
.x-outcome { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: var(--text-xs); }
.x-outcome > strong { display: inline-grid; place-items: center; min-width: 56px; min-height: 30px; padding: 0 10px; border-radius: var(--radius-sm); background: var(--ink); color: var(--on-blue); font-size: var(--text-sm); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.x-outcome > span:not(.pick-status) { color: var(--muted); }
.scheme-picks .x-outcome { margin-top: 8px; }

.no-forecast { margin-top: 2px; color: var(--muted); font-size: var(--text-xs); line-height: 1.5; }
.no-forecast > span:first-child { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }
.no-forecast > span:first-child::before { content: ""; width: 7px; height: 7px; border: 1.5px solid currentColor; border-radius: 50%; }
.empty-state { padding: 40px 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgb(255 255 255 / .55); }
.empty-state h2 { max-width: 30rem; margin: 0; font-size: var(--text-lg); font-weight: 600; line-height: 1.4; }

/* The reading panel closes a match page: how to read a card, then the record's own headline. */
.reading { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: 16px; margin-top: 32px; }
.reading > div { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.reading h2 { margin: 0 0 6px; font-size: 1.0625rem; letter-spacing: -.01em; }
.reading-count { margin: 0 0 16px; color: var(--muted); font-size: var(--text-sm); font-variant-numeric: lining-nums tabular-nums; }
.reading-count strong { color: var(--ink); }
.reading-terms { display: grid; gap: 12px; margin: 0; }
.reading-terms > div { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 2px 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.reading-terms dt { font-size: var(--text-sm); font-weight: 600; line-height: 1.6; }
.reading-terms dd { max-width: 72ch; margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.6; }
.reading-figure { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: var(--text-sm); font-weight: 500; }
.reading-figure strong { color: var(--ink); font-family: var(--display); font-size: var(--text-xl); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.reading-figure.is-model strong { color: var(--blue); }
.reading-note { margin: 12px 0 0; color: var(--muted); font-size: var(--text-sm); }
.reading-note a { font-weight: 600; white-space: nowrap; }

/* Record, archive and about. */
.notice { max-width: 800px; margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); font-size: var(--text-sm); }
.freshness-warning { margin: 12px 0 0; border-color: var(--line-strong); color: var(--ink); text-align: left; }
.freshness-warning[hidden] { display: none; }
.freshness-note { margin: 8px 0 0; color: var(--muted); font-size: var(--text-sm); }
.matchday .freshness-warning, .matchday .head-inner > noscript { grid-column: 1 / -1; order: 5; }
.record-section { margin-top: 40px; }
.record-section:first-child { margin-top: 0; }
.record-section > h2, .record-section > .info-head > h2 { margin-bottom: 8px; }
.section-note { max-width: 72ch; margin-bottom: 0; color: var(--muted); font-size: var(--text-sm); }
.comparison { display: grid; margin-top: 16px; overflow: clip; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.comparison > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 24px; }
.comparison > div + div { border-top: 1px solid var(--line); }
.comparison span { color: var(--muted); font-size: var(--text-sm); font-weight: 500; }
.comparison strong { font-family: var(--display); font-size: var(--text-xl); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.comparison .is-model strong { color: var(--blue); }
.comparison strong.is-empty { color: var(--muted); font-family: var(--sans); font-size: var(--text-md); font-weight: 600; letter-spacing: 0; }
.table-scroll { max-width: 960px; overflow-x: auto; margin: 16px 0 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); scrollbar-color: var(--line-strong) transparent; }
table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: lining-nums tabular-nums; text-align: left; }
th, td { padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
thead th { background: var(--wash); color: var(--muted); font-size: var(--text-xs); font-weight: 600; }
th:not(:first-child), td:not(:first-child) { text-align: right; }
td { white-space: nowrap; }
tbody th { font-weight: 600; }
tbody th > small { display: block; color: var(--muted); font-weight: 500; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover > * { background: var(--wash); }
.table-empty { max-width: 960px; margin: 16px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-size: var(--text-sm); }
.version-section { margin-top: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.version-section summary { cursor: pointer; font-size: var(--text-sm); font-weight: 600; }
.version-section p { margin: 12px 0 0; color: var(--muted); font-size: var(--text-sm); }
.page-body > .section-note { margin-top: 40px; }

/* Charts: hairline grid on enamel, one marker-blue line, the reference in slate. */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.jump a { display: inline-grid; place-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); color: var(--ink); font-size: var(--text-sm); font-weight: 600; text-decoration: none; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out); }
.jump a:hover { border-color: var(--blue); background: var(--soft-blue); color: var(--blue); }
.jump .is-ledger, .jump .is-ledger:hover { border-color: transparent; background: var(--soft-amber); color: var(--amber); }
.jump .is-ledger:hover { border-color: var(--amber); }
.chart { max-width: 960px; margin: 16px 0 0; padding: 20px 24px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.chart-legend, .chart-reading { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 20px; font-size: var(--text-sm); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.legend-item { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; }
.legend-item::before { content: ""; width: 16px; height: 2px; border-radius: var(--pill); background: var(--muted); }
.legend-item.is-model::before { height: 3px; background: var(--blue); }
.chart-frame { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; }
.chart-y { display: flex; flex-direction: column; justify-content: space-between; margin: -.375rem 0; color: var(--muted); font-size: var(--text-xs); line-height: .75rem; text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.chart-plot { position: relative; height: 220px; }
.chart-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-grid { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-grid.is-zero { stroke: var(--ink); }
.chart-line { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart-reference { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart-dot { fill: none; stroke: var(--blue); stroke-width: 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart-dot-hole { fill: none; stroke: var(--surface); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart-target { fill: transparent; }
.chart-plot:not([tabindex]) .chart-target:hover, .chart-plot:not([tabindex]) .chart-column:hover > .chart-target { fill: rgb(30 86 224 / .06); }
.chart-bar { fill: var(--blue); transition: fill-opacity .2s var(--ease-out); }
.chart-bar.is-negative { fill: var(--muted); }
.chart-bar.is-sparse { fill: var(--surface); stroke: var(--blue); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.chart-bar.is-sparse.is-negative { stroke: var(--muted); }
.chart-plot:not([tabindex]) .chart-column:hover > .chart-bar:not(.is-sparse) { fill-opacity: .85; }
.chart-x { grid-column: 2; display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; color: var(--muted); font-size: var(--text-xs); font-variant-numeric: lining-nums tabular-nums; }
.chart-x:not(.is-each):not(.is-thirds) { flex-wrap: wrap; }
.chart-x:not(.is-each):not(.is-thirds) > span:last-child { margin-left: auto; }
.chart-x.is-each { gap: 0; }
.chart-x.is-each > span { flex: 1 1 0; min-width: 0; text-align: center; }
.chart-x.is-thirds { display: grid; grid-template-columns: repeat(3, 1fr); }
.chart-x.is-thirds > span:nth-child(2) { text-align: center; }
.chart-x.is-thirds > span:last-child { text-align: right; }
.chart.is-square { max-width: 420px; }
.chart.is-square .chart-plot { height: auto; aspect-ratio: 1; }
.chart-axes, .chart-footnote { margin: 14px 0 0; color: var(--muted); font-size: var(--text-xs); }
.chart-values { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: var(--text-sm); }
.chart-values > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; cursor: pointer; color: var(--blue); font-weight: 600; list-style: none; }
.chart-values > summary::-webkit-details-marker { display: none; }
.chart-values > summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .25s var(--ease-out); }
.chart-values[open] > summary::before { transform: rotate(45deg); }
.chart-values ul { columns: 2 18rem; margin: 8px 0 0; padding: 0; color: var(--muted); font-size: var(--text-xs); line-height: 1.6; list-style: none; font-variant-numeric: lining-nums tabular-nums; }

/* League gauges: the favourite fills in marker blue, the always-home rate is the ink tick. */
.perf-list { max-width: 960px; margin: 16px 0 0; padding: 0; overflow: clip; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); list-style: none; box-shadow: var(--shadow-card); }
.perf-row { display: grid; grid-template-columns: minmax(0, 1fr) 220px 252px 112px; align-items: center; gap: 12px 28px; padding: 12px 24px; transition: background-color .2s var(--ease-out); }
.perf-row + .perf-row { border-top: 1px solid var(--line); }
.perf-row:hover { background: var(--wash); }
.perf-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.perf-name strong { overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.perf-name small { color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.perf-metric { display: grid; gap: 8px; }
.perf-figure { margin: 0; color: var(--muted); font-size: var(--text-xs); font-variant-numeric: lining-nums tabular-nums; }
.perf-figure strong { color: var(--ink); font-size: var(--text-sm); font-weight: 700; }
.perf-figure.is-quiet { color: var(--muted); }
.perf-gauge { position: relative; display: block; height: 6px; border-radius: var(--pill); background: var(--line); }
.perf-gauge-model { position: absolute; inset: 0 auto 0 0; border-radius: var(--pill); background: var(--blue); }
.perf-gauge-ref { position: absolute; inset: -4px auto -4px 0; border-right: 1.5px solid var(--ink); }
.perf-skill { display: flex; flex-direction: column; align-items: flex-end; margin: 0; color: var(--muted); font-size: var(--text-xs); line-height: 1.3; font-variant-numeric: lining-nums tabular-nums; }
.perf-skill strong { color: var(--ink); font-family: var(--display); font-size: var(--text-lg); font-weight: 700; letter-spacing: -.015em; }
.perf-skill.is-better strong { color: var(--blue); }
.perf-group { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; font-size: var(--text-sm); font-weight: 700; }
.perf-more { max-width: 960px; margin-top: 12px; }
.perf-more > summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgb(255 255 255 / .55); cursor: pointer; font-size: var(--text-sm); font-weight: 700; list-style: none; transition: background-color .2s var(--ease-out); }
.perf-more > summary::-webkit-details-marker { display: none; }
.perf-more > summary:hover { background: var(--surface); }
.perf-more > summary::after { content: ""; width: 7px; height: 7px; margin-left: auto; border-right: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: rotate(45deg); transition: transform .3s var(--ease-out); }
.perf-more[open] > summary::after { transform: rotate(225deg); }

/* The simulation sits apart from the real record: its own rule, its own period line. */
.record-simulation { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line-strong); }
.record-simulation .simulation-head h2 { margin-bottom: 8px; font-size: var(--text-xl); letter-spacing: -.02em; }
.simulation-window { margin: 0 0 8px; font-size: var(--text-sm); font-variant-numeric: lining-nums tabular-nums; }
.comparison.is-three .is-model strong { color: var(--blue); }
.record-part { margin-top: 40px; }
.record-part > h3, .record-part > .info-head > h3 { margin-bottom: 8px; font-size: 1.0625rem; letter-spacing: -.01em; }

/* Local-trial ledgers: amber marks the trial, the line stays marker blue. */
.ledger { margin-top: 40px; }
.ledger-title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ledger-title::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.ledger-pair { display: grid; align-items: start; gap: 12px; max-width: 960px; margin-top: 16px; }
.ledger-board { container-type: inline-size; min-width: 0; padding: 20px 24px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.ledger-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; }
.ledger-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.0625rem; letter-spacing: -.01em; }
.ledger-total { margin: 0; font-family: var(--display); font-size: var(--text-xl); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.ledger-board.is-up .ledger-total { color: var(--blue); }
.ledger-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 20px; color: var(--muted); font-size: var(--text-xs); font-variant-numeric: lining-nums tabular-nums; }
.ledger-stats strong { color: var(--ink); font-size: var(--text-sm); }
.ledger-board .stat-row { margin: 10px 0 20px; }
/* The pick record board: three figures and two bars from one centre zero line. The model's bar is ink and the
   market's the reference tint of the Points Pair; neither is green or red. Widths are the shared .wN classes. */
.ub-figures { display: grid; gap: 10px; margin: 14px 0 0; }
.ub-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px; row-gap: 5px; margin: 0; font-size: var(--text-sm); line-height: 1.3; font-variant-numeric: lining-nums tabular-nums; }
.ub-row dt { color: var(--muted); font-weight: 600; }
.ub-row dd { margin: 0; color: var(--ink); font-size: var(--text-lg); font-weight: 700; line-height: 1.2; text-align: right; white-space: nowrap; }
.ub-track { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: 1fr 1fr; height: 10px; border-radius: var(--pill); background: var(--page); box-shadow: inset 0 0 0 1px var(--line); }
.ub-track::after { content: ""; position: absolute; inset-block: -2px; left: calc(50% - .75px); width: 1.5px; background: var(--line-strong); }
.ub-half { display: flex; min-width: 0; height: 100%; }
.ub-half.is-neg { justify-content: flex-end; }
.ub-bar { display: block; height: 100%; background: var(--ink); }
.ub-half.is-neg .ub-bar { border-radius: var(--pill) 0 0 var(--pill); }
.ub-half.is-pos .ub-bar { border-radius: 0 var(--pill) var(--pill) 0; }
.ub-row.is-market .ub-bar { background: color-mix(in srgb, var(--blue) 42%, var(--soft-blue)); }
.ub-sentence { margin: 14px 0 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; text-wrap: pretty; }
.ledger-board.is-units .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; }
@container (max-width: 15em) { .ub-row { grid-template-columns: minmax(0, 1fr); } .ub-row dd { text-align: left; white-space: normal; } }
.ledger-board .chart-plot { height: 180px; }
.ledger-empty { margin: 4px 0 0; color: var(--muted); font-size: var(--text-sm); }
.ledger-lead { margin-top: 8px; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.ledger-range { margin: 12px 0 0; color: var(--muted); font-size: var(--text-xs); font-variant-numeric: lining-nums tabular-nums; }
td.is-up { color: var(--blue); font-weight: 700; }
.ledger-pair + .ledger-empty { margin-top: 16px; }
/* The Schema X record: its lines and its day table follow the board at the ledgers' width. */
.ledger-notes { max-width: 960px; margin-top: 16px; }
.ledger-notes > p { margin: 4px 0 0; }
.ledger-days { max-width: 960px; margin-top: 16px; }
.ledger-days th > small { display: block; color: var(--muted); font-size: var(--text-xs); font-weight: 500; }
.ledger-days td.is-none { color: var(--muted); }
.value-board { max-width: 960px; margin-top: 12px; }
.value-board .ledger-stats small { display: block; color: var(--muted); }
.value-proxy { color: var(--amber); }

.archive-list { max-width: 800px; margin: 0; padding: 0; overflow: clip; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); list-style: none; }
.archive-list li + li { border-top: 1px solid var(--line); }
.archive-list a { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 60px; padding: 12px 16px 12px 24px; color: var(--ink); font-weight: 600; text-decoration: none; transition: background-color .2s var(--ease-out); }
.archive-list a::first-letter { text-transform: uppercase; }
.archive-list a::after { content: ""; flex-shrink: 0; width: 7px; height: 7px; margin-right: 8px; border-top: 1.5px solid var(--blue); border-right: 1.5px solid var(--blue); transform: rotate(45deg); transition: transform .3s var(--ease-out); }
.archive-list a:hover { background: var(--wash); color: var(--blue); }
.archive-list a:hover::after { transform: translateX(3px) rotate(45deg); }

.prose { max-width: 72ch; }
.prose > section { padding: 32px 0; border-top: 1px solid var(--line); }
.prose > section:first-child { padding-top: 8px; border-top: 0; }
.prose p { color: var(--muted); line-height: 1.75; }
.prose h2 { margin-bottom: 12px; }
.prose .version-label { color: var(--ink); font-size: var(--text-sm); }
.prose .simulation { margin: 8px 0; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
/* The methodology guides (public-indexable-site, group 6): an invented worked example sits in a quiet ruled box,
   its bullets read like the paragraphs around it. */
.prose .explainer-example { margin: 20px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.prose .explainer-example figcaption { margin-bottom: 8px; color: var(--ink); font-weight: 600; }
.prose .explainer-example > :last-child { margin-bottom: 0; }
.prose.explainer li { color: var(--muted); line-height: 1.75; }
.prose.explainer p strong, .prose.explainer li strong { color: var(--ink); }
.prose.explainer .explainer-example p, .prose.explainer .explainer-example li { font-variant-numeric: lining-nums tabular-nums; }
.simulation h3 { margin: 28px 0 4px; }
.simulation-metrics { display: flex; flex-wrap: wrap; gap: 12px 0; margin: 14px 0; }
.simulation-metrics > div { min-width: 112px; padding: 2px 24px 2px 0; }
.simulation-metrics > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.simulation-metrics dt { color: var(--muted); font-size: var(--text-xs); }
.simulation-metrics dd { margin: 2px 0 0; font-size: var(--text-lg); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: var(--text-xs); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 48px; padding: 32px 0 40px; }
.site-footer p { margin: 0; line-height: 1.7; }
.footer-meta { display: grid; gap: 4px; }
.disclaimer { max-width: 60ch; color: var(--ink); font-size: var(--text-sm); font-weight: 500; }

/* Abonare: one board of channels, ruled like a list of fixtures; each row ends on its blue magnet. */
.subscribe-list { max-width: 720px; margin: 0 auto; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); list-style: none; }
.subscribe-channel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 24px; padding: 20px 24px; }
.subscribe-channel + .subscribe-channel { border-top: 1px solid var(--line); }
.subscribe-channel h2 { margin: 0; font-size: 1.0625rem; letter-spacing: -.01em; }
.subscribe-channel p { margin: 0; color: var(--muted); font-size: var(--text-sm); text-wrap: pretty; }
.subscribe-join { grid-area: 1 / 2 / span 2; margin-top: 0; }
.subscribe-note { max-width: 56ch; margin: 24px auto 0; color: var(--muted); font-size: var(--text-sm); text-align: center; text-wrap: balance; }
.subscribe-age { max-width: 56ch; margin: 8px auto 0; color: var(--ink); font-size: var(--text-sm); font-weight: 600; text-align: center; text-wrap: balance; }

/* The board opens like a sheet sliding out of the frame, where the browser can animate it. */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .x-board::details-content, .bare-list::details-content { block-size: 0; overflow-y: clip; transition: block-size .4s var(--ease-out), content-visibility .4s var(--ease-out) allow-discrete; }
  .x-board[open]::details-content, .bare-list[open]::details-content { block-size: auto; }
  .chart-values::details-content, .perf-more::details-content, .match-lab::details-content { block-size: 0; overflow-y: clip; transition: block-size .35s var(--ease-out), content-visibility .35s var(--ease-out) allow-discrete; }
  .chart-values[open]::details-content, .perf-more[open]::details-content, .match-lab[open]::details-content { block-size: auto; }
}

@media (min-width: 1024px) {
  .team { font-size: 1.125rem; }
  .footer-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .footer-meta { text-align: right; }
  .comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; }
  .comparison > div + div { border-top: 0; border-left: 1px solid var(--line); }
  .comparison.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; }
  .comparison.is-one { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .perf-list.is-single .perf-row { grid-template-columns: minmax(0, 1fr) 360px 112px; }
  .ledger-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1400px) { .match-grid { --match-columns: 4; } }
@media (min-width: 1800px) { .match-grid { --match-columns: 5; } }
@media (min-width: 2200px) { .match-grid { --match-columns: 6; } }
@media (min-width: 2600px) { .match-grid { --match-columns: 7; } }
@media (min-width: 3000px) { .match-grid { --match-columns: 8; } }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 701px) {
    .match-grid:not(.is-picks) > .match:not(:has(> .match-lab[open])) { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
    /* A pick card spans six shared rows: head, title, pick line, result line, price tiles and goals. The panel's
       lines join the card's tracks, each in its own row, so tiles align across a row even when a pick line wraps
       or only some cards are settled: a card without a result line leaves its row empty (statistical-presentation). */
    .match-grid.is-picks > .match { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
    .match-grid.is-picks .pick-panel { display: contents; }
    .match-grid.is-picks > .match > .match-head { grid-row: 1; }
    .match-grid.is-picks > .match > .match-title { grid-row: 2; }
    .match-grid.is-picks .pick-line { grid-row: 3; align-self: end; margin-top: 10px; }
    .match-grid.is-picks .pick-result { grid-row: 4; }
    .match-grid.is-picks .price-tiles { grid-row: 5; align-self: start; }
    .match-grid.is-picks > .match > .match-goals { grid-row: 6; }
  }
}
@media (max-width: 1023px) {
  .perf-row { grid-template-columns: minmax(0, 1fr) 96px; }
  .perf-name { grid-column: 1; grid-row: 1; }
  .perf-skill { grid-column: 2; grid-row: 1; }
  .perf-row > .perf-metric { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .head-pitch { display: none; }
}
/* A fourth segment (Arhivă) narrows the switch so it stays in its slot beside the title and facts. */
@media (min-width: 701px) {
  .matchday .day-switch:has(> :nth-child(4)) a { min-width: 64px; padding-inline: 16px; }
}
@media (min-width: 701px) and (max-width: 1023px) {
  .match-grid { --match-columns: 2; }
  .matchday .head-title { grid-column: 1 / -1; }
  .matchday .facts { grid-column: 1 / 7; }
  .matchday .day-switch, .matchday .back-link { grid-column: 7 / -1; grid-row: 2; }
  .matchday .head-meta { grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; text-align: left; }
  .matchday .kickoff-rail { grid-row: 4; }
  .reading { grid-template-columns: minmax(0, 1fr); }
  .brand-text small { display: none; }
  .navigation a { padding: 0 12px; }
}
/* Enlarged text or a long English label: when the title and the day switch cannot share the first row (the
   measure is in rem, so it follows the text size), the switch takes a row of its own and the rest moves down one. */
.matchday .head-inner { container: matchday-head / inline-size; }
@media (min-width: 1024px) {
  @container matchday-head (max-width: 56rem) {
    .matchday .head-title { grid-column: 1 / -1; }
    .matchday .day-switch, .matchday .back-link { grid-column: 1 / -1; grid-row: 2; }
    .matchday .facts, .matchday .head-meta { grid-row: 3; }
    .matchday .kickoff-rail, .matchday .recent-run { grid-row: 4; }
    .matchday .head-inner:has(.recent-run) .kickoff-rail { grid-row: 5; }
  }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; --time-column: 80px; }
  html { scroll-padding-top: 64px; }
  .site-header { top: -57px; }
  /* A long model version wraps rather than widening the page. */
  .footer-meta .nowrap { white-space: normal; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; }
  .brand { min-height: 56px; }
  .brand-mark { width: 34px; height: 34px; }
  .navigation { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 -4px; padding: 4px 0 8px; }
  .navigation a { min-height: 44px; padding: 0 4px; font-size: .8125rem; }
  .head-inner { padding: 28px 0 20px; }
  .head-date { font-size: 1.0625rem; }
  .head-intro { font-size: var(--text-md); }
  .facts { margin-top: 16px; }
  .fact { min-height: 32px; padding: 4px 12px; font-size: .8125rem; }
  /* Equal segments in one row; enlarged text wraps a segment rather than spilling out of the pill. */
  .day-switch { flex-wrap: wrap; width: min(100%, 360px); margin-top: 20px; }
  .day-switch a { flex: 1 1 0; min-width: min-content; padding: 0 8px; }
  /* The narrowest phones: four English labels (Yesterday, Today, Tomorrow, Archive) need the tighter padding to share one row. */
  @media (max-width: 340px) {
    .day-switch:not(.is-record) { gap: 2px; }
    .day-switch:not(.is-record) a { padding: 0 3px; }
  }
  /* The Bilanț switch: one row running off the screen's edges, plain pills, no container. The padding
     keeps the magnet's shadow and the focus ring inside the row's clip; the fade matches the kickoff rail. */
  .day-switch.is-record { align-self: stretch; flex-wrap: nowrap; width: auto; margin: 14px calc(-1 * var(--gutter)) -12px; padding: 6px 20px 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-padding-inline: 40px; border: 0; border-radius: 0; background: none; scrollbar-width: none; mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
  .day-switch.is-record::-webkit-scrollbar { display: none; }
  .day-switch.is-record a { flex: none; min-width: 0; padding: 0 14px; white-space: nowrap; }
  .day-switch.is-record a:first-child { margin-left: auto; }
  .day-switch.is-record a:last-child { margin-right: auto; }
  .head-meta { margin-top: 20px; font-size: .8125rem; }
  .matchday .head-inner { display: flex; align-items: stretch; gap: 8px; padding: 16px 0 12px; }
  .matchday .head-title { flex-direction: column; align-items: flex-start; gap: 4px; }
  .head-title h1 { font-size: 2rem; }
  .head-title .head-intro { flex: none; }
  .matchday .day-switch, .matchday .back-link { order: 1; align-self: flex-start; }
  .matchday .facts { order: 2; }
  .matchday .fact { min-height: 30px; padding: 4px 8px; font-size: var(--text-xs); }
  .matchday .head-meta { order: 3; justify-content: flex-start; text-align: left; }
  .matchday .kickoff-rail { order: 4; }
  /* Phones: 44px hour targets that scroll under the edge fade; the label stays only as the link's name. */
  .kickoff-rail.is-hours { overflow-x: auto; mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
  .kickoff-rail.is-hours ol { grid-auto-columns: 44px; max-width: none; padding: 0 20px; background-origin: content-box; }
  .rail-popover { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; border: 0; }
  .page-body { padding: 4px 0 56px; }
  .match-grid { --match-columns: 1; gap: 12px; }
  .match-grid > .match { padding: 16px 16px 6px; border-radius: var(--radius); }
  .match-teams { --mark: 56px; }
  .reading { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
  .reading > div { padding: 16px; border-radius: var(--radius); }
  .reading-terms > div { grid-template-columns: minmax(0, 1fr); }
  .monogram { font-size: 1.125rem; }
  .monogram.is-long { font-size: .9375rem; }
  .bare-list { border-radius: var(--radius); }
  .bare-list > summary { padding: 8px 12px 8px 16px; }
  .bare-rows > .match { grid-template-columns: 68px minmax(0, 1fr); column-gap: 12px; padding: 12px 16px; }
  .bare-rows .result { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 8px; text-align: left; }
  .teams { flex-direction: column; gap: 0; }
  .team-divider { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .result > strong { min-width: 56px; min-height: 32px; }
  .probability { min-height: 60px; padding: 8px 6px; }
  .probability > strong { font-size: 1.25rem; }
  .x-board-head { grid-template-columns: minmax(0, 1fr); gap: 8px 12px; padding: 12px 16px; }
  .x-board-rule { grid-column: 1 / -1; grid-row: 2; }
  .x-board-toggle, .x-board-count { grid-column: 1 / -1; grid-row: 3; justify-content: space-between; }
  .x-row { grid-template-columns: calc(var(--time-column) - 28px) minmax(0, 1fr); padding: 14px 16px; }
  .x-figures, .x-outcome { grid-column: 2; }
  .empty-state { padding: 32px 20px; }
  .comparison > div { padding: 16px 18px; }
  th, td { padding: 10px 12px; }
  table { font-size: var(--text-xs); }
  .prose p { font-size: .9375rem; }
  .prose .simulation { padding: 24px 20px; }
  .archive-list a { padding-left: 18px; }
  .jump { margin-bottom: 24px; }
  .jump a { min-height: 44px; }
  .chart, .ledger-board { padding: 16px 16px 12px; border-radius: 14px; }
  .chart-plot { height: 180px; }
  .ledger-board .chart-plot { height: 160px; }
  .chart-x.is-each > span:not(:first-child):not(:last-child) { visibility: hidden; }
  .chart-x.is-each > span:first-child { text-align: left; }
  .chart-x.is-each > span:last-child { text-align: right; }
  .perf-list { border-radius: 14px; }
  .perf-row { padding: 14px 16px; gap: 10px 16px; }
  .ledger-total { font-size: var(--text-lg); }
  .record-simulation { margin-top: 48px; padding-top: 32px; }
}
@media (max-width: 380px) {
  :root { --gutter: 12px; }
  .navigation { gap: 2px; margin: 0; }
  .navigation a { padding: 0 2px; font-size: var(--text-xs); }
  .probability-text { gap: 6px; }
  .probability { padding: 8px; }
}
.paper-scheme { margin-bottom: 28px; padding: 20px 24px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
/* The lead is one wrapping row (title, flags, then the intro under them) until 1400px, where it
   becomes a side column and the selections start level with the title. */
.scheme-lead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.scheme-lead h2 { margin: 0; font-size: var(--text-xl); }
.scheme-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.scheme-state { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 12px; border-radius: var(--pill); font-size: var(--text-xs); font-weight: 700; font-variant-numeric: tabular-nums; }
.scheme-state { color: var(--blue-deep); background: var(--soft-blue); }
.scheme-state.is-waiting { color: var(--muted); background: var(--wash); }
.scheme-intro { flex-basis: 100%; max-width: 66ch; margin: 0; color: var(--muted); font-size: var(--text-sm); text-wrap: pretty; }
.scheme-main { margin-top: 16px; }
.scheme-empty { max-width: 66ch; padding: 14px 16px; border-radius: var(--radius); background: var(--wash); }
.scheme-empty p { margin: 4px 0 0; color: var(--muted); font-size: var(--text-sm); text-wrap: pretty; }
.scheme-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.scheme-empty + .scheme-picks { margin-top: 12px; }
.scheme-picks > li { display: flex; min-width: 0; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); scroll-margin-top: 12px; }
.scheme-letter { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 8px; color: var(--on-blue); background: var(--blue); font-size: var(--text-sm); font-weight: 700; }
.scheme-pick-body { container-type: inline-size; min-width: 0; width: 100%; }
.scheme-pick-meta { margin: 1px 0 8px; font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
.scheme-teams { display: grid; gap: 2px; margin: 0; font-size: var(--text-sm); overflow-wrap: anywhere; }
.scheme-league { margin: 8px 0 0; color: var(--muted); font-size: var(--text-xs); }
.scheme-pick-body .stat-row { margin-top: 10px; }
/* The pick card is narrow: its two tiles stack until the card is wide enough to hold them side by side. */
@container (max-width: 17em) { .scheme-pick-body .stat-row { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; } }
.scheme-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.scheme-comparison > div { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--wash); }
.scheme-comparison > div:first-child { background: var(--soft-blue); }
.scheme-comparison h3 { margin: 0 0 8px; }
.scheme-comparison p { margin: 3px 0 0; color: var(--muted); font-size: var(--text-sm); }
.scheme-comparison p strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.scheme-pairs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 16px 0 20px; padding: 0; list-style: none; }
.scheme-pairs li { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-variant-numeric: tabular-nums; }
.scheme-pairs span { color: var(--muted); font-size: var(--text-xs); }
.scheme-rules { margin-top: 16px; border-top: 1px solid var(--line); }
.scheme-rules > summary { padding-block: 14px; color: var(--blue-deep); font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
.scheme-rules > p { max-width: 820px; margin: 0 0 12px; color: var(--muted); font-size: var(--text-sm); }
.scheme-price-missing { max-width: 66ch; margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--soft-amber); color: var(--amber); font-size: var(--text-sm); }
/* The combinations table (2026-10-29): the site table under the picks, capped at a reading width and
   compact, since a "2,4 din 7" day lists 21 doubles. The verdict is the figure: a won row's net in bold
   marker blue, a lost one's in ink, a waiting one muted. No per-row pills. */
.table-scroll.scheme-combos { max-width: 36rem; margin-top: 20px; }
.table-scroll.check-table { max-width: 40rem; }
.check-table th, .check-table td { padding: 10px 14px; }
.check-table th { white-space: nowrap; }
.scheme-combos caption { padding: 12px 16px 10px; color: var(--muted); font-size: var(--text-xs); text-align: left; }
.scheme-combos th, .scheme-combos td { padding: 8px 16px; }
.scheme-combos .scheme-group > th { padding-block: 12px 6px; color: var(--ink); font-size: var(--text-xs); font-weight: 700; }
.scheme-combos .scheme-group > th > span { color: var(--muted); font-weight: 500; }
.scheme-combos tbody tr.scheme-group:hover > * { background: transparent; }
.scheme-combos tbody > tr:not(.scheme-summary) > th { white-space: nowrap; }
.scheme-combos tbody + tbody > tr:first-child > * { border-top: 1px solid var(--line); }
.scheme-combos td small, .scheme-combos tfoot th > small, .scheme-count { display: block; color: var(--muted); font-size: var(--text-xs); font-weight: 500; }
.scheme-net { color: var(--ink); font-weight: 500; }
.scheme-net.is-gain, .scheme-combos tfoot .scheme-net { font-weight: 700; }
.scheme-net.is-gain { color: var(--blue); }
.scheme-wait { color: var(--muted); }
.scheme-combos tfoot > tr > * { padding-block: 10px; border-top: 1px solid var(--line); border-bottom: 0; background: var(--wash); vertical-align: top; }
.scheme-combos tfoot td { white-space: normal; }
/* The foot opens with the shape's name, "pe grupe din 8", as a row label. */
.scheme-combos tfoot tr:first-child > th::first-letter { text-transform: uppercase; }
.scheme-note { max-width: 66ch; margin: 16px 0 0; color: var(--muted); font-size: var(--text-sm); text-wrap: pretty; }
.scheme-updated { margin: 4px 0 0; color: var(--muted); font-size: var(--text-xs); }
@media (min-width: 1400px) {
  .paper-scheme { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); column-gap: 24px; }
  .paper-scheme > * { grid-column: 1 / -1; }
  .paper-scheme > .scheme-lead { grid-column: 1; display: grid; align-content: start; justify-items: start; gap: 10px; padding-right: 24px; border-right: 1px solid var(--line); }
  .paper-scheme > .scheme-main { grid-column: 2; margin-top: 0; }
}
@media (max-width: 899px) {
  .scheme-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scheme-pairs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .paper-scheme { padding: 16px; }
  .scheme-lead h2 { font-size: var(--text-lg); }
  .scheme-comparison { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .scheme-picks { grid-template-columns: minmax(0, 1fr); }
  /* Three columns fit 320px; enlarged text scrolls inside the focusable wrapper, never the page. */
  .scheme-combos th, .scheme-combos td { padding-inline: 10px; }
  /* A legacy "2 din 4" day's six doubles: cells sized in rem, so "Neconfirmat" fits its cell
     (two to a row on a phone, one when the text is enlarged). */
  .scheme-pairs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 7.5rem), 1fr)); }
}
/* Match lab: the score grid behind the three percentages. The most likely score is the one
   filled magnet; the real score, once known, is ringed in ink. Shades are absolute, so the
   same tint means the same chance in every match. */
.match-grid > .match > .match-lab { margin-top: auto; }
.match-lab { margin: 0; color: var(--muted); font-size: var(--text-xs); container-type: inline-size; }
.match-lab > summary { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 8px; min-height: 44px; padding: 8px 0; cursor: pointer; list-style: none; font-size: var(--text-sm); font-weight: 600; }
.match-lab > summary::-webkit-details-marker { display: none; }
.match-lab > summary::before { content: ""; width: 6px; height: 6px; margin: 0 4px 0 2px; border-right: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: rotate(-45deg); transition: transform .25s var(--ease-out); }
.match-lab[open] > summary::before { transform: rotate(45deg); }
.match-lab > summary > span:first-of-type { color: var(--blue); }
.match-lab > summary strong { color: var(--ink); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.lab-top { color: var(--muted); font-size: var(--text-xs); font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.lab-body { padding: 2px 0 8px; }
.lab-facts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 10px; }
.lab-facts strong { margin-left: 2px; color: var(--ink); font-size: var(--text-sm); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.lab-actual { flex-basis: 100%; }
.lab-grid { border-radius: var(--radius-sm); }
.score-grid { width: calc(100% + 6px); margin: -3px; border-collapse: separate; border-spacing: 3px; table-layout: fixed; font-size: var(--text-xs); font-variant-numeric: lining-nums tabular-nums; }
.score-grid caption { caption-side: bottom; padding: 8px 3px 0; color: var(--muted); text-align: left; }
.score-grid thead td, .score-grid tbody th { width: 28px; }
.score-grid th, .score-grid td { padding: 0; border-bottom: 0; }
.score-grid th, .score-grid thead td, .score-grid tbody tr:hover > th { background: none; }
.score-grid th { height: 22px; color: var(--muted); font-weight: 600; text-align: center; transition: color .2s var(--ease-out); }
.score-grid tbody th { padding-right: 4px; text-align: right; }
.score-grid td { position: relative; height: 34px; padding: 0; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; text-align: center; white-space: nowrap; transition: box-shadow .2s var(--ease-out), transform .2s var(--ease-out); }
.score-grid .heat0 { background: var(--page); color: var(--muted); font-weight: 500; }
.score-grid .heat1 { background: color-mix(in srgb, var(--blue) 6%, var(--surface)); }
.score-grid .heat2 { background: color-mix(in srgb, var(--blue) 10%, var(--surface)); }
.score-grid .heat3 { background: color-mix(in srgb, var(--blue) 15%, var(--surface)); }
.score-grid .heat4 { background: color-mix(in srgb, var(--blue) 21%, var(--surface)); }
.score-grid .heat5 { background: color-mix(in srgb, var(--blue) 28%, var(--surface)); }
.score-grid .heat6 { background: color-mix(in srgb, var(--blue) 36%, var(--surface)); }
.score-grid .heat7 { background: color-mix(in srgb, var(--blue) 44%, var(--surface)); }
.score-grid .heat8 { background: color-mix(in srgb, var(--blue) 52%, var(--surface)); }
.score-grid .heat9 { background: color-mix(in srgb, var(--blue) 60%, var(--surface)); }
.score-grid td.is-top { background: var(--blue); color: var(--on-blue); font-weight: 700; box-shadow: var(--shadow-magnet); }
.match:hover .score-grid td.is-top { transform: translateY(-1px); box-shadow: var(--shadow-magnet-lift); }
.match-lab.is-experimental td.is-top { border: 1px dashed var(--blue); background: var(--soft-blue); color: var(--blue); box-shadow: none; transform: none; }
.score-grid td.is-actual { outline: 1.5px solid var(--ink); outline-offset: -4px; }
.score-grid td.is-top.is-actual { outline-color: var(--on-blue); }
.match-lab.is-experimental td.is-top.is-actual { outline-color: var(--ink); }
.lab-note { max-width: 60ch; margin: 6px 0 0; }
/* Opening the lab widens its card across the whole row, with no script: the card keeps one
   card's width on the left and the lab takes the rest, behind a hairline. Where :has() is
   missing, the lab simply opens at card width. */
@media (min-width: 701px) {
  /* A closed card loses 42px to padding/borders; each grid gap adds 16px. */
  .match-grid > .match:has(> .match-lab[open]) { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, calc((100% - (var(--match-columns) - 1) * 58px) / var(--match-columns))) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 32px; }
  .match-grid > .match:has(> .match-lab[open]) > :not(.match-lab) { grid-column: 1; }
  .match-grid > .match:has(> .match-lab[open]) > .match-lab { grid-column: 2; grid-row: 1 / -1; margin-top: 0; padding: 0 0 12px 32px; border-left: 1px solid var(--line); }
  .match-grid > .match:has(> .match-lab[open]) > .match-lab > summary { justify-content: flex-start; }
}
@media (min-width: 1024px) {
  .match-grid > .match:has(> .match-lab[open]) .lab-body { display: grid; grid-template-columns: minmax(0, 432px) minmax(0, 1fr); grid-auto-flow: dense; align-items: start; column-gap: 32px; padding-top: 8px; }
  .lab-body > .lab-grid { grid-column: 1; grid-row: 1 / span 6; }
  .lab-body > :not(.lab-grid) { grid-column: 2; }
}

/* Only the optional script reaches these states: the crosshair and the replays. */
.lab-grid[tabindex] { cursor: crosshair; }
.lab-grid:focus-visible { outline-offset: 4px; }
.score-grid th.is-cross { color: var(--blue); }
.score-grid td.is-active { box-shadow: inset 0 0 0 2px var(--ink); }
.score-grid td.is-top.is-active { box-shadow: var(--shadow-magnet), inset 0 0 0 2px var(--on-blue); }
.score-grid.has-dots td { height: 44px; padding-bottom: 16px; }
.lab-readout { margin: 8px 0 0; color: var(--ink); font-size: var(--text-sm); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.lab-hits { position: absolute; inset: auto 2px 5px; display: flex; justify-content: center; align-items: center; gap: 2px; height: 16px; pointer-events: none; }
.lab-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: var(--shadow-magnet); }
.lab-count { display: inline-grid; place-items: center; min-width: 22px; height: 16px; padding: 0 5px; border-radius: var(--pill); background: var(--blue); color: var(--on-blue); font-size: var(--text-xs); font-weight: 700; line-height: 1; box-shadow: var(--shadow-magnet); }
.score-grid td.is-top .lab-dot, .score-grid td.is-top .lab-count { background: var(--on-blue); color: var(--blue); box-shadow: none; }
.lab-play { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.lab-button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px 0 14px; border: 1px solid var(--blue); border-radius: var(--pill); background: var(--surface); color: var(--blue); font: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: background-color .2s var(--ease-out), transform .2s var(--ease-out); }
.lab-button::before { content: ""; width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.lab-button:hover { background: var(--soft-blue); }
.lab-button:active { transform: translateY(1px); }
.lab-button:disabled { cursor: progress; opacity: .5; }
.lab-tally { display: grid; gap: 8px; margin-top: 14px; }
.tally-row { display: grid; grid-template-columns: 18px 64px minmax(0, 1fr) 44px; align-items: center; gap: 10px; margin: 0; }
.tally-mark { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); font-family: var(--display); font-size: var(--text-xs); font-weight: 700; line-height: 1; }
.tally-row.is-pick .tally-mark { border-color: var(--blue); background: var(--blue); color: var(--on-blue); box-shadow: var(--shadow-magnet); }
.tally-name { color: var(--muted); }
.tally-gauge { position: relative; display: block; height: 6px; border-radius: var(--pill); background: var(--line); }
.tally-fill { position: absolute; inset: 0 auto 0 0; border-radius: var(--pill); background: var(--blue); }
.tally-model { position: absolute; inset: -4px auto -4px 0; border-right: 1.5px solid var(--ink); }
.tally-count { color: var(--ink); font-size: var(--text-sm); font-weight: 700; text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.lab-summary { margin: 10px 0 0; color: var(--ink); font-size: var(--text-sm); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.lab-summary:empty, .lab-readout:empty { display: none; }
.lab-replay-note { max-width: 60ch; margin: 6px 0 0; }
@container (max-width: 320px) {
  .score-grid { width: calc(100% + 4px); margin: -2px; border-spacing: 2px; }
  .score-grid thead td, .score-grid tbody th { width: 20px; }
  .score-grid td { height: 30px; }
  .tally-row { grid-template-columns: 18px minmax(0, 1fr) 40px; }
  .tally-name { display: none; }
}

/* Day filters and kickoff countdowns: built by the optional script, absent without it. */
/* The status line holds its own height at the end of the chip row, so a filter never moves the cards. */
.match-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 16px; }
.forecast-guide { margin-bottom: 12px; color: var(--muted); font-size: var(--text-sm); }
.forecast-guide > summary { width: fit-content; min-height: 44px; align-content: center; color: var(--blue); font-weight: 600; cursor: pointer; }
.forecast-guide > ul { max-width: 85ch; margin: 4px 0 16px; padding-left: 22px; }
.forecast-guide li + li { margin-top: 4px; }
.filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-label { flex-basis: 100%; color: var(--ink); font-size: var(--text-sm); font-weight: 600; }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px 0 16px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); color: var(--ink); font: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out), color .2s var(--ease-out); }
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: var(--on-blue); box-shadow: var(--shadow-magnet); }
.filter-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: var(--pill); background: var(--page); color: var(--ink); font-size: var(--text-xs); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.filter-chip[aria-pressed="true"] .filter-count { background: var(--on-blue); color: var(--blue); }
/* The weekend sort row (weekend-leg-sort): chips without counts; the pressed price chip carries a drawn arrow in the
   count tag's slot, turned for the falling order. */
.sort-chips .filter-chip { padding: 0 16px; }
.sort-chips .filter-chip[data-sort="price"][aria-pressed="true"] { padding-right: 8px; }
.sort-direction { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: var(--pill); background: var(--on-blue); }
.sort-direction .stat-icon.is-inline { width: 14px; height: 14px; vertical-align: 0; transition: transform .2s var(--ease-out); }
.sort-direction.is-down .stat-icon.is-inline { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .sort-direction .stat-icon.is-inline { transition: none; } }
.filter-status { min-height: 1.55em; margin: 0; color: var(--muted); font-size: var(--text-xs); font-variant-numeric: lining-nums tabular-nums; }
.filter-empty { flex-basis: 100%; max-width: 960px; margin: 4px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-size: var(--text-sm); }
.match-time .countdown { margin-top: 2px; font-variant-numeric: lining-nums tabular-nums; }
.match-time .countdown.is-soon { color: var(--ink); font-weight: 600; }

/* Expected confirmed picks: the norm-gauge grammar on a 0…n track. The usual range is the
   darker span, the expectation an ink tick, and what happened the blue magnet. */
.expect-board { margin: 0 0 12px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.match-grid + .expect-board, .bare-list + .expect-board { margin: 16px 0 0; }
.record-section .expect-board { max-width: 960px; margin: 16px 0 0; }
.expect-board > h2, .expect-board > h3, .expect-board > .info-head > h2, .expect-board > .info-head > h3 { margin: 0 0 6px; font-size: 1.0625rem; letter-spacing: -.01em; }
.expect-figure { margin: 0; color: var(--muted); font-size: var(--text-sm); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.expect-figure strong { color: var(--ink); font-family: var(--display); font-size: var(--text-lg); }
.expect-rail { max-width: 572px; margin: 18px 0 14px; }
.expect-gauge { position: relative; display: block; height: 6px; margin: 0 6px; border-radius: var(--pill); background: var(--line); }
.expect-ends { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: var(--text-xs); font-variant-numeric: lining-nums tabular-nums; }
.expect-range { position: absolute; inset: 0; display: flex; }
.expect-span { border-radius: var(--pill); background: color-mix(in srgb, var(--blue) 28%, var(--surface)); }
.expect-tick { position: absolute; inset: -4px auto -4px 0; border-right: 1.5px solid var(--ink); }
.expect-hits { position: absolute; inset: 0 auto 0 0; }
.expect-hits::after { content: ""; position: absolute; top: 50%; right: -6px; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--blue); box-shadow: var(--shadow-magnet); }
.expect-reading { margin: 0; color: var(--ink); font-size: var(--text-sm); font-weight: 600; }
.expect-note { max-width: 72ch; margin: 4px 0 0; color: var(--muted); font-size: var(--text-xs); }

/* Record charts: what the bar should reach, and the optional scrubbing crosshair and tooltip. */
.chart-mark { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.legend-item.is-mark::before { height: 1.5px; background: var(--ink); }
.chart-plot[tabindex] { cursor: crosshair; }
.chart-plot:focus-visible { outline-offset: 6px; }
.chart-crosshair { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; }
.chart-target.is-active, .chart-column.is-active > .chart-target { fill: rgb(30 86 224 / .06); }
.chart-column.is-active > .chart-bar:not(.is-sparse) { fill-opacity: .85; }
.chart-anchor { position: absolute; inset: 0 auto 0 0; pointer-events: none; }
.chart-tooltip { position: absolute; top: 4px; left: 100%; z-index: 2; display: grid; gap: 2px; min-width: 160px; max-width: 280px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-card); font-size: var(--text-xs); font-variant-numeric: lining-nums tabular-nums; transform: translateX(12px); }
.chart-tooltip.is-left { transform: translateX(calc(-100% - 12px)); }
.chart-tooltip strong { color: var(--ink); font-size: var(--text-sm); }
.chart-tooltip span { color: var(--muted); }

@media (max-width: 700px) {
  .filter-chip { min-height: 44px; }
  .filter-status { flex-basis: 100%; }
  .lab-button { min-height: 44px; }
  .expect-board { padding: 16px; border-radius: var(--radius); }
  .chart-tooltip { min-width: 140px; }
}
/* Stat tiles (local trial, stat-tile-icons): a drawn icon, a muted label over a bold tabular figure, on a
   quiet page-tint tile. Tiles share one row in equal columns and fold two by two under a 30em container.
   The icons draw in marker blue on a 24-unit grid; bands are drawn, never hued (green and red stay results). */
.stat-row { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 8px; margin: 0; }
@container (max-width: 30em) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; } }
.stat { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; column-gap: 8px; min-width: 0; min-height: 54px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--page); }
.stat dt { display: contents; }
.stat dt > span { grid-column: 2; align-self: end; color: var(--muted); font-size: var(--text-xs); font-weight: 600; line-height: 1.25; }
.stat dd { grid-column: 2; align-self: start; min-width: 0; margin: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; font-variant-numeric: lining-nums tabular-nums; }
.stat dd small { display: inline-block; color: var(--muted); font-size: var(--text-xs); font-weight: 500; line-height: 1.35; }
.stat.is-lead dd { font-family: var(--display); font-size: 1.375rem; letter-spacing: -.01em; line-height: 1.15; }
.stat.is-quiet { grid-template-columns: 16px minmax(0, 1fr); column-gap: 6px; min-height: 0; padding: 0; background: none; }
.stat.is-quiet .stat-icon { width: 16px; height: 16px; }
.stat-icon { grid-column: 1; grid-row: 1 / span 2; width: 24px; height: 24px; overflow: visible; color: var(--blue); }
.stat-icon.is-inline { display: inline-block; flex-shrink: 0; width: 16px; height: 16px; vertical-align: -3px; }
:is(.stat-icon, .info-glyph) :is(path, circle, rect) { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.stat-icon .ic-track { stroke: var(--bar-draw); }
:is(.stat-icon, .info-glyph) :is(.ic-dot, .ic-fill) { fill: currentColor; stroke: none; }
/* Builders pages share one board; the weekend page keeps its own switch between weekends. */
.assemblies .head-inner { padding-block: 36px 24px; }
.assembly-switches { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.assembly-days { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); }
.assembly-days a { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: var(--pill); color: var(--ink); font-size: var(--text-sm); font-weight: 600; text-decoration: none; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.assembly-days a:hover { background: var(--soft-blue); color: var(--blue); }
.assembly-days a[aria-current] { background: var(--blue); color: var(--on-blue); box-shadow: var(--shadow-magnet); }
.assembly-days a span { color: var(--muted); font-size: var(--text-xs); font-variant-numeric: lining-nums tabular-nums; }
.assembly-days a:hover span { color: inherit; }
.assembly-days a[aria-current] span { color: var(--on-blue-muted); }
.assembly-meta { margin-top: 16px; }
.assembly-board { font-variant-numeric: lining-nums tabular-nums; }
.assembly-notice { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 32px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: var(--text-sm); }
.ai-note { max-width: 72ch; margin: 0 0 24px; padding: 0; border: 0; background: none; color: var(--muted); font-size: var(--text-xs); line-height: 1.5; text-wrap: pretty; }
.ai-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.assembly-notice p { margin: 0; text-wrap: pretty; }
.assembly-notice p + p { margin-top: 4px; color: var(--muted); }
.assembly-section-head { margin-bottom: 8px; }
.assembly-section-head h2 { margin: 0 0 4px; }
.assembly-section-head p { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.assembly-section-head p::first-letter { text-transform: uppercase; }
.assembly-caption { max-width: 72ch; margin: 0 0 20px; color: var(--muted); font-size: var(--text-sm); }
/* Fixtures without a selection fold into one quiet list, as on the match pages, and empty states share one ring. */
.assembly-count { display: inline-grid; place-items: center; min-width: 26px; min-height: 26px; padding: 0 8px; border-radius: var(--pill); background: var(--page); color: var(--ink); font-size: var(--text-xs); font-weight: 700; }
.assembly-skip-note { margin: 0; padding: 14px 24px 0; color: var(--muted); font-size: var(--text-sm); }
.assembly-empty-mark { display: block; width: 24px; height: 24px; margin: 0 auto 14px; border: 1.5px solid var(--line-strong); border-radius: var(--pill); }
.assembly-empty { padding: 48px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-align: center; }
.assembly-empty p { max-width: 52ch; margin: 0 auto; color: var(--muted); }
/* The weekend ticket's state and progress lines (they began as the for-fun ladder's). */
.fun-ladder-state { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 14px; color: var(--muted); font-size: var(--text-sm); }
.fun-frozen { color: var(--ink); font-weight: 600; }
.fun-short, .fun-progress { max-width: 72ch; margin: -6px 0 14px; font-size: var(--text-sm); }
.fun-short { color: var(--muted); }
.fun-progress { font-weight: 600; }
.fun-backups { margin-top: 16px; }
.fun-backups .bare-rows > .assembly-skip-note { margin: 12px 0 4px; padding-inline: 24px 16px; }
.fun-unavailable { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 18px 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--wash); }
.fun-unavailable .assembly-empty-mark { margin: 4px 0 12px; }
.fun-unavailable h3 { margin: 0 0 6px; font-size: var(--text-md); letter-spacing: 0; }
.fun-unavailable p { max-width: 52ch; margin: 0; color: var(--muted); font-size: var(--text-sm); }
.fun-lacking { margin-top: 16px; }
.fun-units { font-size: var(--text-sm); font-weight: 700; }
.fun-amount.is-positive { color: var(--blue); }
/* The paper record: one table of ticket lengths and single rungs, then the settled days. */
.fun-record { margin-top: 48px; }
.fun-record > .assembly-caption { margin-bottom: 16px; }
.fun-record-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.fun-record-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.fun-record-table { width: 100%; min-width: 780px; border-collapse: collapse; font-size: var(--text-sm); }
.fun-record-table th, .fun-record-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.fun-record-table thead th { background: var(--wash); color: var(--muted); font-size: var(--text-xs); font-weight: 600; }
.fun-record-table thead th:first-child, .fun-record-table th[scope="row"] { position: sticky; left: 0; text-align: left; }
.fun-record-table th[scope="row"] { background: var(--surface); font-weight: 700; }
.fun-record-table td { font-weight: 600; }
.fun-record-table tbody tr:last-child > * { border-bottom: 0; }
.fun-record-table tr.is-rungs > * { background: var(--wash); }
.fun-record > .assembly-caption:last-of-type { margin-top: 12px; }
.fun-past-title { margin: 32px 0 8px; font-size: var(--text-md); letter-spacing: 0; }
@media (max-width: 700px) {
  .fun-backups .bare-rows > .assembly-skip-note { padding-inline: 16px; }
  .fun-record { margin-top: 36px; }
  .fun-record-scroll { border-radius: var(--radius); }
  .fun-unavailable { padding: 16px; border-radius: var(--radius); }
}
/* The 3x8 system: its panel, the legs in pick order under their group headers, then the optional legs. */
.weekend-main { container-type: inline-size; margin-bottom: 16px; padding: 18px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.weekend-main h3 { margin: 0 0 12px; font-size: var(--text-md); letter-spacing: 0; }
/* The main panel's two lead tiles, the total and the chance, share one row; under a 30em panel each takes a whole row. */
.stat-row.is-panel { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: row; }
.stat-row.is-panel > .stat { grid-column: span 2; }
.stat-row.is-panel > .stat.is-lead { grid-column: span 3; }
@container (max-width: 30em) {
  .stat-row.is-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row.is-panel > .stat, .stat-row.is-panel > .stat.is-lead { grid-column: auto; }
  .stat-row.is-panel > .stat.is-lead, .stat-row.is-panel > .stat:last-child { grid-column: 1 / -1; }
}
/* Enlarged text on a phone (a container under 12em, about 200% text at 320px): every tile row stacks. */
@container (max-width: 12em) { .stat-row, .stat-row.is-panel { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; } }
.weekend-legs-title { margin: 0 0 12px; font-size: var(--text-md); letter-spacing: 0; }
.weekend-legs-title { margin-top: 24px; }
.weekend-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; color: var(--muted); font-size: var(--text-xs); font-weight: 600; }
.weekend-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
/* The 3x8 system's three combinations under the panel's tiles: a name and its legs, the total, the chance and, once the
   combination has begun, its result. Hairlines only, so the list reads as part of the panel. */
.weekend-combos { display: grid; gap: 0; margin: 14px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.weekend-combo { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--text-sm); font-variant-numeric: lining-nums tabular-nums; }
.weekend-combo:last-child { border-bottom: 0; padding-bottom: 0; }
.weekend-combo-name { margin: 0; color: var(--muted); }
.weekend-combo-name strong { color: var(--ink); font-weight: 700; }
.weekend-combo-figures { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0; color: var(--muted); }
.weekend-combo-figure { color: var(--ink); font-weight: 600; white-space: nowrap; }
.weekend-combo-result { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
/* The header before the first leg of each group of four (data-stop: the sort chips hide it off the pick order): a
   dashed rule under its name, the group's passed legs and result at the right. No fill, so twelve cards read as one list. */
.leg-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 16px 0 8px; padding-bottom: 6px; border-bottom: 1px dashed var(--line-strong); font-size: var(--text-sm); font-variant-numeric: lining-nums tabular-nums; }
.leg-group-head:first-child { margin-top: 0; }
.leg-group-label { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--ink); font-weight: 700; }
.leg-group-badge { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--soft-blue); color: var(--blue); font-size: var(--text-xs); font-weight: 700; transition: background-color .2s var(--ease-out), color .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.leg-group-result { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--muted); }
.leg-group-figure { color: var(--ink); font-weight: 600; }
.weekend-excluded { margin: 0; padding: 4px 24px 12px; list-style: none; }
.weekend-excluded li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: var(--text-sm); }
.weekend-excluded li:last-child { border-bottom: 0; }
/* The 3x8 system page (games-first compact head, icon share, 4-card combination selector, 3x4 desktop matrix). */
.info-sheet-meta { display: grid; gap: 4px; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: var(--text-xs); font-variant-numeric: lining-nums tabular-nums; }
.info-sheet-meta strong, .info-sheet-meta time { color: var(--ink); font-weight: 600; }
.info-sheet-meta .fun-frozen { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-weight: 500; }
.assemblies.is-weekend { --page-width: 1480px; }
.assemblies.is-weekend .head-pitch { display: none; }
.assemblies.is-weekend .head-inner { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 0 8px; text-align: left; }
.assemblies.is-weekend .head-title-row { justify-content: flex-start; }
.assemblies.is-weekend .head-title-row h1 { font-size: 1.875rem; }
.assemblies.is-weekend .assembly-switches { margin: 0; }
.assemblies.is-weekend .head-inner > .share-action { flex-basis: auto; flex-direction: row-reverse; margin: 0 0 0 auto; gap: 6px 10px; }
.assemblies.is-weekend .share-button { display: inline-grid; place-items: center; width: 40px; min-height: 40px; padding: 0; border-radius: 50%; }
.assemblies.is-weekend .share-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.assemblies.is-weekend .share-mark { width: 17px; height: 17px; }
.assemblies.is-weekend .page-body { padding-top: 4px; }
.assemblies.is-weekend .weekend-main { margin-bottom: 12px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.assemblies.is-weekend .weekend-combos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; list-style: none; }
.assemblies.is-weekend .weekend-combos > li { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-width: 0; padding: 10px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); font-size: var(--text-sm); font-variant-numeric: lining-nums tabular-nums; transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.assemblies.is-weekend .weekend-combos > li:hover { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); }
.assemblies.is-weekend .weekend-combos > li:has(> .weekend-combo-input:checked) { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow-magnet); }
.assemblies.is-weekend .weekend-combos > li:has(> .weekend-combo-input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.weekend-combo-hit { position: absolute; inset: 0; cursor: pointer; border-radius: inherit; }
.assemblies.is-weekend .weekend-combo-name { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; margin: 0; }
.assemblies.is-weekend .weekend-combo-name strong { font-size: var(--text-sm); font-weight: 700; color: var(--ink); }
.assemblies.is-weekend .weekend-combo-name > span:not(.pick-status) { padding: 2px 8px; border-radius: var(--pill); background: var(--page); color: var(--muted); font-size: var(--text-xs); font-weight: 600; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.assemblies.is-weekend .weekend-combos > li:has(> .weekend-combo-input:checked) .weekend-combo-name > span:not(.pick-status) { background: var(--soft-blue); color: var(--blue); }
.assemblies.is-weekend .weekend-combo-figures { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 8px; margin: 0; font-size: var(--text-xs); color: var(--muted); }
.assemblies.is-weekend .weekend-combo-sep { display: none; }
.assemblies.is-weekend .weekend-combo-chance { display: inline-flex; align-items: center; gap: 5px; }
.assemblies.is-weekend .weekend-combo-chance .stat-icon.is-inline { width: 15px; height: 15px; vertical-align: 0; }
.assemblies.is-weekend .weekend-combo-meta { color: var(--muted); font-weight: 600; }
.assemblies.is-weekend .weekend-combo-figure { font-size: var(--text-sm); font-weight: 700; color: var(--ink); }
.assemblies.is-weekend .weekend-combo-figures > span:first-child > .weekend-combo-figure:first-child { font-family: var(--display); font-size: 1.0625rem; letter-spacing: -.01em; }
.weekend-legs-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; margin: 10px 0 8px; }
.weekend-legs-bar .weekend-legs-title { margin: 0; font-size: var(--text-sm); color: var(--muted); }
.weekend-legs-bar .match-filter { margin: 0; gap: 6px 10px; }
.weekend-legs-bar .filter-label { flex-basis: auto; color: var(--muted); font-size: var(--text-xs); }
.weekend-legs-bar .filter-chip { min-height: 34px; padding: 0 13px; font-size: var(--text-xs); }
.assemblies.is-weekend .leg-card-list { max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.assemblies.is-weekend .leg-card-list > li:not(.leg-group-head) { display: flex; min-width: 0; transition: opacity .2s var(--ease-out); }
.assemblies.is-weekend .leg-card-list > li:not(.leg-group-head) > .leg-card { flex: 1; align-content: start; }
.assemblies.is-weekend .leg-group-head { grid-column: 1 / -1; align-items: center; margin: 10px 0 2px; padding-bottom: 5px; transition: opacity .2s var(--ease-out); }
.assemblies.is-weekend .leg-group-head:first-child { margin-top: 0; }
.assemblies.is-weekend .leg-card { gap: 7px; padding: 10px 12px; transition: border-color .2s var(--ease-out); }
.assemblies.is-weekend .leg-card-head { align-items: center; gap: 4px 8px; }
.assemblies.is-weekend .leg-card-badge { min-width: 21px; height: 21px; border-radius: 6px; }
.assemblies.is-weekend .leg-card-league { flex-basis: 8rem; font-size: var(--text-xs); }
.assemblies.is-weekend .leg-card-teams { gap: 1px; font-size: 0.9375rem; line-height: 1.28; }
.assemblies.is-weekend .leg-card-pick { gap: 6px 10px; padding: 8px 10px; }
.assemblies.is-weekend .leg-card-pick:not(:has(.result-mark)) { grid-template-columns: minmax(0, 1fr) auto; }
.assemblies.is-weekend .leg-card-pick:not(:has(.result-mark)) .leg-card-conditions { grid-column: 1; }
.assemblies.is-weekend .leg-card-pick:not(:has(.result-mark)) .leg-card-price { grid-column: 2; }
@container (max-width: 14em) {
  .assemblies.is-weekend .leg-card-pick:not(:has(.result-mark)) { grid-template-columns: minmax(0, 1fr); }
  .assemblies.is-weekend .leg-card-pick:not(:has(.result-mark)) .leg-card-price { grid-column: 1; text-align: left; }
}
.assemblies.is-weekend .leg-card-conditions strong { font-size: 0.9rem; }
.assemblies.is-weekend .leg-card-price { font-size: 0.96875rem; }
.assemblies.is-weekend .leg-card-facts { margin-top: auto; }
.assemblies.is-weekend .leg-card-facts .stat.is-quiet, .assemblies.is-weekend .leg-card-facts .stat.is-quiet dd { font-size: var(--text-xs); }
.assemblies.is-weekend .fun-short { margin: 0 0 10px; font-size: var(--text-xs); }
.assemblies.is-weekend .fun-record-scroll { max-width: 1040px; }
/* Combination selector state: highlight the two chosen groups, quiet the third on desktop and hide it on phones. */
.weekend-day-block:has(#combo-ab:checked) :is(.is-group-a, .is-group-b),
.weekend-day-block:has(#combo-ac:checked) :is(.is-group-a, .is-group-c),
.weekend-day-block:has(#combo-bc:checked) :is(.is-group-b, .is-group-c) { background: var(--blue); color: var(--on-blue); box-shadow: var(--shadow-magnet); }
.weekend-day-block:has(#combo-ab:checked) .is-group-c,
.weekend-day-block:has(#combo-ac:checked) .is-group-b,
.weekend-day-block:has(#combo-bc:checked) .is-group-a { border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); }
.weekend-day-block:has(#combo-ab:checked) :is(#selectia-1, #selectia-2, #selectia-3, #selectia-4, #selectia-5, #selectia-6, #selectia-7, #selectia-8):not(.is-hit):not(.is-miss),
.weekend-day-block:has(#combo-ac:checked) :is(#selectia-1, #selectia-2, #selectia-3, #selectia-4, #selectia-9, #selectia-10, #selectia-11, #selectia-12):not(.is-hit):not(.is-miss),
.weekend-day-block:has(#combo-bc:checked) :is(#selectia-5, #selectia-6, #selectia-7, #selectia-8, #selectia-9, #selectia-10, #selectia-11, #selectia-12):not(.is-hit):not(.is-miss) { border-color: color-mix(in srgb, var(--blue) 38%, var(--line)); }
@media (min-width: 701px) {
  .weekend-day-block:has(#combo-ab:checked) :is(.leg-group-head:has(.is-group-c), li:has(> #selectia-9, > #selectia-10, > #selectia-11, > #selectia-12)),
  .weekend-day-block:has(#combo-ac:checked) :is(.leg-group-head:has(.is-group-b), li:has(> #selectia-5, > #selectia-6, > #selectia-7, > #selectia-8)),
  .weekend-day-block:has(#combo-bc:checked) :is(.leg-group-head:has(.is-group-a), li:has(> #selectia-1, > #selectia-2, > #selectia-3, > #selectia-4)) { opacity: .42; }
  .weekend-day-block:has(#combo-ab:checked) li:has(> #selectia-9, > #selectia-10, > #selectia-11, > #selectia-12):hover,
  .weekend-day-block:has(#combo-ac:checked) li:has(> #selectia-5, > #selectia-6, > #selectia-7, > #selectia-8):hover,
  .weekend-day-block:has(#combo-bc:checked) li:has(> #selectia-1, > #selectia-2, > #selectia-3, > #selectia-4):hover { opacity: .82; }
}
@media (max-width: 1179px) {
  .assemblies.is-weekend .leg-card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
  .assemblies.is-weekend .weekend-combos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 700px) {
  .weekend-main { padding: 16px; border-radius: var(--radius); }
  .weekend-excluded { padding-inline: 16px; }
  .assemblies.is-weekend .head-inner { flex-direction: row; align-items: center; padding: 10px 0 6px; gap: 6px 10px; }
  .assemblies.is-weekend .head-title-row h1 { font-size: 1.5rem; }
  .assemblies.is-weekend .share-button { width: 40px; min-height: 40px; }
  .assemblies.is-weekend .head-inner > .share-action { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; }
  .assemblies.is-weekend .weekend-main { margin-bottom: 10px; padding: 0; }
  .assemblies.is-weekend .weekend-combos > li { padding: 8px 10px; gap: 4px; }
  .assemblies.is-weekend .weekend-combo-name strong { font-size: 0.8125rem; }
  .assemblies.is-weekend .weekend-combo-name > span:not(.pick-status) { padding: 1px 6px; font-size: 0.6875rem; }
  .assemblies.is-weekend .weekend-combo-all .weekend-combo-figures { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 6px; }
  .assemblies.is-weekend .weekend-combo-figures { flex-direction: column; align-items: flex-start; gap: 2px; }
  .assemblies.is-weekend .weekend-combo-figures > span:first-child > .weekend-combo-figure:first-child { font-size: 0.96875rem; }
  .weekend-legs-bar { margin: 8px 0; gap: 6px; }
  .weekend-legs-bar .weekend-legs-title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .weekend-legs-bar .filter-label { display: none; }
  .weekend-legs-bar .filter-chips { gap: 6px; }
  .weekend-legs-bar .sort-chips .filter-chip { min-height: 36px; padding: 0 12px; font-size: var(--text-xs); }
  .weekend-legs-bar .sort-chips .filter-chip[data-sort="price"][aria-pressed="true"] { padding-right: 6px; }
  /* On phones, choosing one combination hides the excluded group so the 8 chosen legs sit back to back. */
  .weekend-day-block:has(#combo-ab:checked) :is(.leg-group-head:has(.is-group-c), li:has(> #selectia-9, > #selectia-10, > #selectia-11, > #selectia-12)),
  .weekend-day-block:has(#combo-ac:checked) :is(.leg-group-head:has(.is-group-b), li:has(> #selectia-5, > #selectia-6, > #selectia-7, > #selectia-8)),
  .weekend-day-block:has(#combo-bc:checked) :is(.leg-group-head:has(.is-group-a), li:has(> #selectia-1, > #selectia-2, > #selectia-3, > #selectia-4)) { display: none; }
}
@media (max-width: 639px) {
  .assemblies.is-weekend .leg-card-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 340px) {
  .assemblies.is-weekend .weekend-combos { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .leg-group-badge, .assemblies.is-weekend .weekend-combos > li, .assemblies.is-weekend .weekend-combo-name span,
  .assemblies.is-weekend .leg-card-list > li:not(.leg-group-head), .assemblies.is-weekend .leg-group-head,
  .assemblies.is-weekend .leg-card { transition: none; }
}
/* The daily ticket: one board a day; its total leads and each leg is one ruled row. */
.daily-ticket { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; container: daily-ticket / inline-size; }
.daily-ticket-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 22px 24px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.daily-tiles { flex: 1 1 18rem; max-width: 26rem; }
.daily-ticket-state { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; color: var(--muted); font-size: var(--text-sm); font-variant-numeric: lining-nums tabular-nums; }
.daily-state { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 2px 10px; border: 1px solid var(--line-strong); border-radius: var(--pill); font-size: var(--text-xs); font-weight: 700; }
.daily-state.is-final { border-color: var(--soft-blue); background: var(--soft-blue); color: var(--blue); }
.daily-empty { display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--wash); color: var(--muted); }
.daily-empty .assembly-empty-mark { flex-shrink: 0; margin: 0; }
.daily-empty + .ticket-card-list { margin-top: 12px; }
/* Leg Card (ticket-cards, local trial): one leg on its ticket's page, the legs in one column. A ticket that
   lists leg cards keeps its head as the board and sets the cards on the page ground beneath it, so no card
   nests in another. A settled card tints whole like a trial Pick Card; an open one stays white. */
.leg-card-list { display: grid; gap: 12px; max-width: 760px; margin: 0; padding: 0; list-style: none; }
.leg-card { container-type: inline-size; display: grid; gap: 12px; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); scroll-margin-top: 12px; font-variant-numeric: lining-nums tabular-nums; }
.leg-card.is-hit { border-color: color-mix(in srgb, var(--green) 30%, var(--line)); background: var(--soft-green); }
.leg-card.is-miss { border-color: color-mix(in srgb, var(--red) 30%, var(--line)); background: var(--soft-red); }
.leg-card-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.leg-card-badge { display: inline-grid; place-items: center; align-self: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: var(--radius-sm); background: var(--page); font-size: var(--text-xs); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.leg-card:is(.is-hit, .is-miss) .leg-card-badge { background: var(--surface); }
.leg-card-league { flex: 1 1 12rem; min-width: 0; margin: 0; font-size: var(--text-sm); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.leg-card-league .country { color: var(--muted); font-weight: 500; }
.leg-card-when { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0 0 0 auto; color: var(--muted); font-size: var(--text-xs); font-weight: 600; }
.leg-card-when time { color: var(--ink); font-weight: 700; }
.leg-card-teams { display: grid; gap: 2px; margin: 0; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
.leg-card-team { display: flex; justify-content: space-between; gap: 12px; }
.leg-card-team > span { min-width: 0; overflow-wrap: anywhere; }
.leg-card-team b { min-width: 2ch; text-align: right; }
.leg-card-half { margin: -8px 0 0; color: var(--muted); font-size: var(--text-xs); font-weight: 600; text-align: right; }
.leg-card-pick { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: start; gap: 10px 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--page); }
.leg-card:is(.is-hit, .is-miss) .leg-card-pick { background: var(--surface); }
.leg-card-pick > .result-mark { grid-column: 1; }
.leg-card-conditions { display: grid; grid-column: 2; gap: 10px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.leg-card-conditions strong { display: block; font-size: 1rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.leg-card-conditions li > span:not(.goal-bar) { display: block; color: var(--muted); font-size: var(--text-xs); font-weight: 600; line-height: 1.4; }
.leg-card-price { grid-column: 3; margin: 0; font-size: 1.125rem; font-weight: 700; line-height: 1.25; text-align: right; white-space: nowrap; }
.leg-card-price small { display: block; color: var(--muted); font-size: var(--text-xs); font-weight: 600; }
/* A narrow card (a 320px phone, enlarged text) moves the price under the conditions. */
@container (max-width: 18em) {
  .leg-card-pick { grid-template-columns: 22px minmax(0, 1fr); }
  .leg-card-price { grid-column: 2; text-align: left; }
}
/* Result Mark: a won leg's solid green disc with a check, a lost leg's solid red disc with a ring, never a
   cross (X means a draw here). An open leg has none. */
.result-mark { display: inline-grid; flex: none; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--on-blue); }
.result-mark.is-hit { background: var(--green); }
.result-mark.is-miss { background: var(--red); }
.result-mark.is-hit::before { content: ""; width: 4.5px; height: 9px; margin-top: -2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.result-mark.is-miss::before { content: ""; width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; }
/* Ticket Card (ticket-cards, local trial): one ticket in a list. The heading's one link is stretched over the
   card; a settled ticket tints whole like a Pick Card, an open one stays white. */
.ticket-card-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ticket-card-list > li { display: flex; min-width: 0; }
.ticket-card-list > li > .ledger { display: flex; flex: 1; min-width: 0; margin-top: 0; }
.ticket-card { position: relative; display: flex; flex: 1; flex-direction: column; gap: 12px; min-width: 0; padding: 14px 16px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); transition: border-color .2s var(--ease-out); font-variant-numeric: lining-nums tabular-nums; }
.ticket-card:has(.ticket-card-link:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.ticket-card.is-hit { border-color: color-mix(in srgb, var(--green) 30%, var(--line)); background: var(--soft-green); }
.ticket-card.is-miss { border-color: color-mix(in srgb, var(--red) 30%, var(--line)); background: var(--soft-red); }
.ticket-card:hover { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); }
.ticket-card-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; }
.ticket-card-title { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; overflow-wrap: anywhere; text-wrap: balance; }
.ticket-card-link { color: var(--ink); text-decoration: none; }
.ticket-card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ticket-card-link:focus-visible { outline: none; }
.ticket-card-chevron { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out); }
.ticket-card-chevron::before { content: ""; width: 6px; height: 6px; margin-left: -2px; border-top: 1.5px solid var(--blue); border-right: 1.5px solid var(--blue); transform: rotate(45deg); }
.ticket-card:hover .ticket-card-chevron { border-color: var(--blue); background: var(--blue); }
.ticket-card:hover .ticket-card-chevron::before { border-color: var(--on-blue); }
.ticket-card-meta { display: flex; grid-column: 1 / -1; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; color: var(--muted); font-size: var(--text-xs); font-weight: 600; }
.ticket-card-when { display: inline-flex; align-items: center; gap: 5px; }
.ticket-card-tally { display: inline-flex; gap: 4px; }
.tally { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 0 8px 0 7px; border-radius: var(--pill); font-size: var(--text-xs); font-weight: 700; }
.tally.is-hit { background: var(--green); color: var(--on-blue); }
.tally.is-miss { background: var(--red); color: var(--on-blue); }
.tally.is-open { padding: 0 8px; border: 1px solid var(--line-strong); color: var(--muted); }
.tally.is-hit::before { content: ""; width: 3.5px; height: 7px; margin: -2px 1px 0 1px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.tally.is-miss::before { content: ""; width: 6px; height: 6px; border: 1.5px solid currentColor; border-radius: 50%; }
.ticket-card-meta .pick-status { margin-left: auto; min-height: 22px; }
.ticket-card-legs { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); list-style: none; }
.ticket-card-legs > li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; gap: 2px 0; min-width: 0; padding-bottom: 10px; }
.ticket-card-legs > li:last-child { padding-bottom: 0; }
.ticket-card-match { grid-column: 1 / -1; color: var(--ink); font-size: var(--text-sm); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.ticket-card-legs .result-mark { grid-column: 1; margin-right: 8px; }
.ticket-card-words { grid-column: 2; min-width: 0; padding-right: 8px; color: var(--muted); font-size: var(--text-sm); line-height: 1.4; overflow-wrap: anywhere; }
.ticket-card-price { grid-column: 3; color: var(--ink); font-size: var(--text-sm); font-weight: 700; white-space: nowrap; }
.ticket-card-more { align-self: flex-start; margin: -2px 0 0; padding: 3px 10px; border-radius: var(--pill); background: var(--soft-blue); color: var(--blue-deep); font-size: var(--text-xs); font-weight: 700; }
.ticket-card:is(.is-hit, .is-miss) .ticket-card-more { background: var(--surface); }
.ticket-card-foot { display: flex; justify-content: space-between; gap: 12px; margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.ticket-card-foot div { display: grid; gap: 1px; min-width: 0; }
.ticket-card-foot div:last-child { text-align: right; }
.ticket-card-foot dt { color: var(--muted); font-size: var(--text-xs); font-weight: 600; }
.ticket-card-foot dd { margin: 0; color: var(--ink); font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.ticket-card-foot dd.is-gain { color: var(--green); }
.ticket-card-foot dd.is-loss { color: var(--red); }
.ticket-card.is-hit :is(.ticket-card-legs, .ticket-card-foot) { border-color: color-mix(in srgb, var(--green) 22%, var(--line)); }
.ticket-card.is-miss :is(.ticket-card-legs, .ticket-card-foot) { border-color: color-mix(in srgb, var(--red) 22%, var(--line)); }
.result-mark.is-small { width: 16px; height: 16px; }
.result-mark.is-small.is-hit::before { width: 3.5px; height: 7px; }
.result-mark.is-small.is-miss::before { width: 6px; height: 6px; }
/* Goal Bar: a goal-total condition against its line once the score is final, toned by the condition's own
   result; the fill is a .wN width class and the count sits beside the track. */
.goal-bar { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.goal-bar-track { position: relative; flex: 1; height: 6px; overflow: hidden; border-radius: var(--pill); background: var(--line); }
.goal-bar-fill { display: block; height: 100%; border-radius: inherit; }
.goal-bar.is-hit .goal-bar-fill { background: var(--green); }
.goal-bar.is-miss .goal-bar-fill { background: var(--red); }
.goal-bar-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--pill); font-size: var(--text-xs); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.goal-bar.is-hit .goal-bar-count { background: var(--soft-green); color: var(--green); }
.goal-bar.is-miss .goal-bar-count { background: var(--soft-red); color: var(--red); }
/* A leg card's quiet tiles keep their natural width and wrap onto further lines as the card narrows, with a
   settled leg's paper units at the right (a weekend leg's units are green or red on a tinted card); what to
   check before kickoff sits under them in Body Small. (The first list rule above gives a one-column list its
   readable width.) */
.leg-card-facts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.leg-card-facts .stat-row { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.leg-card-facts .stat.is-quiet dd { font-size: var(--text-sm); }
.leg-card-note { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; }
.leg-card-note strong { color: var(--ink); font-weight: 700; white-space: nowrap; }
.leg-card-units { margin: 0 0 0 auto; font-size: var(--text-sm); font-weight: 700; }
/* A draw-list pick's card (2026-11-16, schema-x-minimum-price): the minimum-price mark in words beside the
   tiles, the kept facts as a short list (label muted at the left, figure at the right; stacked on a narrow
   card) and the analyst note in the movement card's own type. */
.leg-card-flag { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 0 auto; font-size: var(--text-sm); font-weight: 700; }
.leg-card-flag .stat-icon { width: 16px; height: 16px; }
.leg-card-label { margin: 0 0 6px; color: var(--muted); font-size: var(--text-xs); font-weight: 700; }
.leg-card-analysis { max-width: 72ch; }
/* A Daily market leg's recent-match counts and its link to the match's analysis (daily-ticket-analysis): the
   Scouter's two team columns under a line rule, the team's name at the left and its count at the right. */
.leg-card-context { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.leg-card-context .leg-card-label { margin: 0; }
.leg-card-context .scout-side { grid-template-columns: minmax(0, 1fr) auto; }
.leg-context-name { min-width: 0; color: var(--muted); font-weight: 600; overflow-wrap: anywhere; }
.leg-context-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; justify-self: start; color: var(--blue); font-size: var(--text-sm); font-weight: 600; }
.leg-context-link::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.leg-context-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@container (max-width: 20em) {
  .leg-card-context .scout-bars { grid-template-columns: minmax(0, 1fr); }
}
/* The ticket board's closing section: the fixed sentence, and the day's AI reading as text on the board. */
.daily-context { display: grid; flex: 1 1 100%; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.daily-rule { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; text-wrap: pretty; }
.daily-reading { display: grid; gap: 8px; max-width: 72ch; }
.daily-reading .ai-note, .daily-reading .move-label { margin: 0; }
/* The Daily page in the 3x8 page's pattern (owner, 2026-12-02): a compact head with the share as an icon, the
   ticket's three figures as compact cards, the board's context under them and the legs as a grid of compact cards
   (four across, two from 1179px, one from 639px). `.daily-board` is on every Daily day page, with or without a ticket. */
.assemblies:has(.daily-board) { --page-width: 1480px; }
.assemblies:has(.daily-board) .head-pitch { display: none; }
.assemblies:has(.daily-board) .head-inner { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 0 8px; text-align: left; }
.assemblies:has(.daily-board) .head-title-row { display: flex; justify-content: flex-start; width: auto; }
.assemblies:has(.daily-board) .head-title-row h1 { font-size: 1.875rem; }
.assemblies:has(.daily-board) .head-inner > :is(.day-switch, .back-link, .head-date) { margin: 0; }
.assemblies:has(.daily-board) .head-inner > .head-date { font-size: var(--text-md); }
.assemblies:has(.daily-board) .head-inner > .share-action { flex-basis: auto; flex-direction: row-reverse; margin: 0 0 0 auto; gap: 6px 10px; }
.assemblies:has(.daily-board) .share-button { display: inline-grid; place-items: center; width: 40px; min-height: 40px; padding: 0; border-radius: 50%; }
.assemblies:has(.daily-board) .share-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.assemblies:has(.daily-board) .share-mark { width: 17px; height: 17px; }
.assemblies:has(.daily-board) .page-body { padding-top: 4px; }
.daily-board .daily-ticket { gap: 10px; max-width: none; }
.daily-board .daily-empty { max-width: none; }
.daily-board .daily-ticket-head { display: grid; justify-content: normal; align-items: stretch; gap: 10px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.daily-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.daily-summary-card { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-width: 0; padding: 10px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); font-size: var(--text-sm); font-variant-numeric: lining-nums tabular-nums; }
.daily-summary-card.is-total { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow-magnet); }
.daily-summary-card dt { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px 6px; margin: 0; color: var(--muted); font-size: var(--text-xs); font-weight: 600; }
.daily-summary-card dt .stat-icon.is-inline { width: 15px; height: 15px; vertical-align: 0; }
.daily-summary-card dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.daily-summary-figure { font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.daily-summary-meta { color: var(--muted); font-size: var(--text-xs); font-weight: 600; }
.daily-board .daily-context { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.daily-board .leg-card-list { max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.daily-board .leg-card-list > li { display: flex; min-width: 0; }
.daily-board .leg-card-list > li > .leg-card { flex: 1; align-content: start; }
.daily-board .leg-card { gap: 7px; padding: 10px 12px; }
.daily-board .leg-card-head { align-items: center; gap: 4px 8px; }
.daily-board .leg-card-badge { min-width: 21px; height: 21px; border-radius: 6px; }
.daily-board .leg-card-league { flex-basis: 8rem; font-size: var(--text-xs); }
.daily-board .leg-card-teams { gap: 1px; font-size: 0.9375rem; line-height: 1.28; }
.daily-board .leg-card-pick { gap: 6px 10px; padding: 8px 10px; }
.daily-board .leg-card-pick:not(:has(.result-mark)) { grid-template-columns: minmax(0, 1fr) auto; }
.daily-board .leg-card-pick:not(:has(.result-mark)) .leg-card-conditions { grid-column: 1; }
.daily-board .leg-card-pick:not(:has(.result-mark)) .leg-card-price { grid-column: 2; }
@container (max-width: 14em) {
  .daily-board .leg-card-pick:not(:has(.result-mark)) { grid-template-columns: minmax(0, 1fr); }
  .daily-board .leg-card-pick:not(:has(.result-mark)) .leg-card-price { grid-column: 1; text-align: left; }
}
.daily-board .leg-card-conditions strong { font-size: 0.9rem; }
.daily-board .leg-card-price { font-size: 0.96875rem; }
.daily-board .leg-card-context { gap: 6px; margin-top: auto; padding-top: 8px; }
.daily-board .leg-context-link { min-height: 40px; font-size: var(--text-xs); }
@media (max-width: 1179px) {
  .daily-board .leg-card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .assemblies:has(.daily-board) .head-inner { padding: 10px 0 6px; gap: 6px 10px; }
  .assemblies:has(.daily-board) .head-title-row h1 { font-size: 1.5rem; }
  .assemblies:has(.daily-board) .head-inner > .share-action { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; }
  /* The share icon sits on the title's row, the day switch under both, so the head takes two rows on a phone. */
  .assemblies:has(.daily-board) .head-title-row { order: -2; flex: 1 1 auto; }
  .assemblies:has(.daily-board) .head-inner > .share-action { order: -1; }
  .daily-summary { gap: 8px; }
  .daily-summary-card { padding: 8px 10px; gap: 4px; }
  .daily-summary-figure { font-size: 1.0625rem; }
  .daily-board .daily-context { padding: 10px 12px; }
}
@media (max-width: 639px) {
  .daily-board .leg-card-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .daily-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .daily-summary-card.is-state { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
}
/* The matches the analyst dropped: the rules' disclosure over the draw map's rows, at the cards' measure. */
.scheme-dropped { max-width: 760px; }
.scheme-dropped .draw-map-rows { padding-bottom: 12px; }
.draw-map-marks.scheme-dropped-note { margin-top: 6px; color: var(--ink); }
.leg-card.is-hit .fun-amount { color: var(--green); }
.leg-card.is-miss .fun-amount { color: var(--red); }
.fun-backups .leg-card-list { padding: 12px 16px 16px; }
.fun-backups .leg-card { box-shadow: none; }
/* Schema X cards sit on the paper scheme's white board, so they drop their shadow (a shadowed card there reads
   as nested); the waiting notice keeps a gap before the list. */
.paper-scheme .leg-card { box-shadow: none; }
.scheme-empty + .leg-card-list { margin-top: 12px; }
/* Schema X workspace (schema-x-system-slip): on a draw-list day the section's box dissolves so its cards sit on the
   page ground, and the panel stays beside them. Below 1024px the panel is the first card; from 1024px it is the second
   column, pinned while the stream scrolls. Margins, not grid gaps, so a tall panel adds no empty row space. */
.scheme-layout { display: grid; margin-bottom: 28px; }
.scheme-layout > .paper-scheme { display: contents; }
.scheme-layout .scheme-stream { min-width: 0; margin-bottom: 16px; }
.scheme-layout .leg-card { box-shadow: var(--shadow-card); }
.scheme-layout .scheme-lead { margin-bottom: 0; }
.scheme-layout .scheme-lead .scheme-info-mark { margin-left: auto; }
.scheme-layout .scheme-note { margin-top: 12px; }
.scheme-system { order: -1; min-width: 0; margin-bottom: 16px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); font-variant-numeric: lining-nums tabular-nums; }
.system-head { display: grid; gap: 6px; }
.system-head h3 { margin: 0; font-size: var(--text-lg); }
.system-kind { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.system-picks { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.system-pick { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: var(--text-sm); }
.system-match { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.system-price, .system-score { flex: none; font-weight: 700; }
.system-score { color: var(--muted); font-weight: 500; }
.system-group { margin-top: 14px; }
.system-group h4 { margin: 0 0 6px; color: var(--muted); font-size: var(--text-xs); font-weight: 700; }
.system-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.system-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--wash); font-size: var(--text-sm); }
.system-foot { display: grid; gap: 6px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.system-foot > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.system-foot dt { color: var(--muted); font-size: var(--text-sm); }
.system-foot dd { margin: 0; font-size: var(--text-md); font-weight: 700; }
.scheme-info-mark { display: none; } /* shown, at every width, in the one popover-support block below */
@media (min-width: 1024px) {
  .scheme-layout:has(.scheme-system) { grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); column-gap: 24px; }
  .scheme-layout:has(.scheme-system) :is(.scheme-stream, .x-board, .ledger) { grid-column: 1; }
  .scheme-layout .scheme-system { order: 0; grid-column: 2; grid-row: 1 / span 4; align-self: start; position: sticky; top: 88px; margin-bottom: 0; }
  .system-chips { max-height: 9.5rem; overflow-y: auto; }
  .scheme-layout .info-sheet:popover-open { align-items: center; }
  .scheme-layout .info-scrim { align-self: stretch; }
  .scheme-layout .info-panel { width: min(100%, 640px); max-height: 70dvh; border-bottom: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 15dvh; }
}
/* The graphical draw-list card (schema-x-system-slip): the 1 · X · 2 bar under the teams, the price over a meter
   that fills to its share of the minimum (marker blue before and after the result), the kept facts as chips. */
.leg-card-split .leg-card-label { margin-bottom: 6px; }
.leg-card-split .probability-bar { margin-top: 0; }
.scheme-price-box { grid-column: 3; display: grid; justify-items: end; gap: 4px; min-width: 7rem; text-align: right; }
.scheme-price-box .leg-card-price { grid-column: auto; }
.scheme-price-meter { display: block; width: 100%; height: 6px; overflow: hidden; border-radius: var(--pill); background: var(--line); }
.scheme-price-fill { display: block; height: 100%; border-radius: var(--pill); background: var(--blue); }
.scheme-price-min { margin: 0; color: var(--muted); font-size: var(--text-xs); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.scheme-price-box .leg-card-flag { margin: 0; color: var(--blue-deep); }
.leg-card-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.leg-card-chips li { padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--wash); font-size: var(--text-xs); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
@container (max-width: 18em) {
  .scheme-price-box { grid-column: 2; justify-items: start; text-align: left; }
}
/* The unified board (schema-x-system-slip): each row adds a draw-chance bar under its figures, its badges and, for a
   started X lean, its state and score; the bar is a .wN fill, never an inline width. */
.draw-map-zero { margin: 0 0 12px; color: var(--muted); font-size: var(--text-sm); font-weight: 600; }
.draw-map-group + .draw-map-group { margin-top: 16px; }
.draw-map-group > .draw-map-band { margin-top: 0; }
.draw-map-bar { grid-column: 1 / -1; height: 6px; overflow: hidden; border-radius: var(--pill); background: var(--line); }
.draw-map-fill { display: block; height: 100%; border-radius: var(--pill); background: var(--blue); }
.draw-map-figures small { color: var(--muted); font-size: var(--text-xs); font-weight: 600; }
.draw-map-figures > span { display: block; color: var(--muted); font-size: var(--text-sm); }
.draw-map-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.draw-map-badge { padding: 2px 10px; border-radius: var(--pill); background: var(--soft-blue); color: var(--blue-deep); font-weight: 700; }
.draw-map-row.is-played .draw-map-figures { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.draw-map-row.is-played .draw-map-figures strong { display: inline; }
.draw-map-row.is-played .draw-map-figures > span { display: inline; }
.draw-map-row.is-played .draw-map-figures > .result-mark { display: inline-grid; color: var(--on-blue); }
@media (max-width: 540px) {
  #harta-egalurilor .draw-map-row { grid-template-columns: minmax(0, 1fr); }
  #harta-egalurilor .draw-map-figures { grid-column: 1; grid-row: auto; text-align: start; }
  #harta-egalurilor .draw-map-row.is-played .draw-map-figures { justify-content: flex-start; }
}
.ticket-card-reach { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: var(--text-xs); font-weight: 600; }
.ticket-card-reason { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; overflow-wrap: anywhere; }
/* The share action (trial ticket pages): share.js mounts it in the ticket's head. It takes the day
   switch's pill grammar and stays quieter than the ticket's figures. */
.share-action { display: flex; flex-basis: 100%; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.weekend-main > .share-action { margin-bottom: 18px; }
.share-button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 0; padding: 0 18px 0 14px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); color: var(--ink); font: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out); }
.share-button:hover { border-color: var(--soft-blue); background: var(--soft-blue); color: var(--blue); }
.share-button:focus-visible { border-radius: var(--pill); }
.share-mark { flex-shrink: 0; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.share-status { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.share-status:empty { display: none; }
.share-link { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; user-select: all; }
@media (max-width: 700px), (pointer: coarse) { .share-button { min-height: 44px; } }
/* A phone, or enlarged text: the ticket head draws in. */
@container daily-ticket (max-width: 30em) {
  .daily-ticket-head { padding: 16px; }
}
@media (max-width: 700px) {
  .daily-empty { padding: 16px; }
}
/* The analysis page (local trial only): wide multi-column grid of compact hook cards paired with a zero-JS
   native HTML popover detail sheet (`analysis-compact-grid`), moves first beside the first day's matches. */
.assemblies.is-analysis { --page-width: 1560px; }
.assemblies.is-analysis .head-pitch { display: none; }
.assemblies.is-analysis .head-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 20px 0 12px; text-align: left; }
.assemblies.is-analysis .head-title-row { justify-content: flex-start; }
.assemblies.is-analysis .head-title-row h1 { font-size: 2.25rem; }
.assemblies.is-analysis .facts { justify-content: flex-start; margin: 0; }
.assemblies.is-analysis .head-meta { margin: 0 0 0 auto; justify-content: flex-end; font-size: var(--text-xs); text-align: right; }
.assemblies.is-analysis .page-body { padding-top: 4px; }
.assemblies.is-analysis .ai-note { max-width: 72ch; margin: 8px 0 0; }
.ai-note-fold { margin: 0 0 12px; }
.ai-note-fold > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; cursor: pointer; list-style: none; color: var(--muted); font-size: var(--text-xs); font-weight: 600; transition: color .2s var(--ease-out); }
.ai-note-fold > summary::-webkit-details-marker { display: none; }
.ai-note-fold > summary::before { content: ""; flex: none; width: 5px; height: 5px; margin: 0 2px 1px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .2s var(--ease-out); }
.ai-note-fold[open] > summary::before { transform: rotate(45deg); }
.ai-note-fold > summary:hover { color: var(--blue); }
.move-day { max-width: 760px; margin: 32px auto 12px; font-size: 1.0625rem; line-height: 1.35; letter-spacing: -.01em; }
.move-group:first-of-type > .move-day { margin-top: 0; }
.assemblies.is-analysis .move-day { max-width: none; margin: 24px 0 12px; }
.assemblies.is-analysis .move-group:first-of-type > .move-day { margin-top: 0; }
.angle-note { max-width: 760px; margin: 0 auto 20px; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; }
.angle-records { max-width: 760px; margin: 40px auto 0; }
.angle-records > .angle-note { margin: 0 0 4px; }
.angle-records > .table-scroll + .angle-note { margin-top: 24px; }
/* The season table and bottom records fold (visual scouter redesign): all verification tables sit inside one closed fold. */
.analysis-fold { max-width: var(--record-measure); margin: 32px auto 0; }
.analysis-fold-body { padding: 20px 24px 24px; background: var(--surface); }
.analysis-fold-body > :first-child { margin-top: 0; }
.ctx-recent { margin-top: 16px; }
.season-table { max-width: 760px; margin: 40px auto 0; }
.season-table > .move-day { margin-top: 0; }
.season-table > .angle-note { margin: 0 0 12px; }
.season-league { padding-top: 12px; border-top: 1px solid var(--line); }
.season-league + .season-league { margin-top: 12px; }
.season-league:last-of-type { border-bottom: 1px solid var(--line); }
.season-league .table-scroll { margin: 4px 0 16px; }
.season-league .check-table th, .season-league .check-table td { padding: 10px 8px; }
.season-league tbody th { white-space: normal; text-align: start; overflow-wrap: anywhere; }
.season-league td, .season-league thead th + th { text-align: end; font-variant-numeric: lining-nums tabular-nums; }
.season-league thead th { white-space: normal; vertical-align: bottom; line-height: 1.25; }
@media (max-width: 700px) { .analysis-fold-body { padding: 16px; } .season-league .check-table th, .season-league .check-table td { padding: 8px 5px; } }
.draw-map { margin-top: 28px; }
.draw-map-band { margin: 20px 0 8px; font-size: var(--text-md); }
.draw-map-rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.draw-map-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.draw-map-match { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.draw-map-meta { grid-column: 1; margin: 0; color: var(--muted); font-size: var(--text-sm); }
.draw-map-figures { grid-column: 2; grid-row: 1 / span 2; margin: 0; text-align: end; font-variant-numeric: lining-nums tabular-nums; }
.draw-map-figures strong { display: block; font-size: var(--text-md); }
.draw-map-marks { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: var(--text-xs); }
@media (max-width: 420px) { .draw-map-row { grid-template-columns: minmax(0, 1fr); } .draw-map-figures { grid-column: 1; grid-row: auto; text-align: start; } }
/* The minimum-price day's list for any agenție keeps the Leg Cards' measure; its rows are the draw map's rows and its fold is the rules' disclosure. */
.scheme-watch { max-width: 760px; margin-top: 20px; }
.scheme-watch .draw-map-band { margin-top: 0; }
.scheme-watch .scheme-intro { margin-bottom: 12px; }
.scheme-watch .draw-map-figures strong { display: inline; margin-inline-end: 8px; }
.scheme-watch .draw-map-figures span { color: var(--muted); font-size: var(--text-sm); }
.scheme-fold { margin-top: 8px; border-top: 0; }
.scheme-fold > summary { padding-block: 11px; }
.move-feed { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; padding: 0; list-style: none; }
.assemblies.is-analysis .move-feed { grid-template-columns: repeat(auto-fill, minmax(min(100%, 21.5rem), 1fr)); align-items: stretch; gap: 14px; max-width: none; margin: 0; }
.move-card { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; scroll-margin-top: 12px; padding: 16px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
.assemblies.is-analysis .move-card { display: flex; flex-direction: column; padding: 14px 16px 12px; }
.assemblies.is-analysis .move-card:has(> .analysis-face.is-moved) { border-color: color-mix(in srgb, var(--blue) 48%, var(--line)); }
.move-card > * { min-width: 0; }
.analysis-face { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.move-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 10px; }
.move-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 10px; border-radius: var(--pill); background: var(--page); font-size: var(--text-xs); font-weight: 700; line-height: 1.2; }
.move-badge.is-move-lead { background: var(--soft-blue); color: var(--blue); }
.move-badge.is-note { background: none; color: var(--muted); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-strong); }
.move-kickoff { margin-left: auto; padding: 2px 9px; border-radius: var(--pill); background: var(--page); color: var(--muted); font-size: var(--text-xs); font-weight: 600; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.move-kickoff time { color: var(--ink); font-weight: 700; }
.move-detected { margin-left: auto; color: var(--muted); font-size: var(--text-xs); font-weight: 600; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.move-detected time { color: var(--ink); font-weight: 700; }
.move-match { margin: 0; font-size: 1.0625rem; line-height: 1.35; letter-spacing: -.01em; overflow-wrap: anywhere; text-wrap: balance; }
.move-match a { color: inherit; text-decoration: none; border-radius: 4px; }
.move-match a:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.move-vs { color: var(--muted); font-weight: 400; }
.move-meta { margin: 2px 0 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.45; }
.move-meta time { color: var(--ink); font-weight: 700; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
/* Compact face hooks and detail popover fallback: without Popover API support, full blocks render inline once. */
.analysis-face-only, .analysis-open { display: none; }
.face-pick { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 12px; border: 1px solid color-mix(in srgb, var(--blue) 28%, var(--line)); border-radius: var(--radius-sm); background: var(--soft-blue); font-variant-numeric: lining-nums tabular-nums; }
.face-pick-main { display: grid; gap: 1px; min-width: 0; }
.face-pick-label { color: var(--blue-deep); font-size: 0.6875rem; font-weight: 700; line-height: 1.2; }
.face-pick-selection { color: var(--ink); font-size: var(--text-sm); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.face-pick-price { flex: none; display: inline-grid; place-items: center; min-width: 3.25rem; min-height: 34px; padding: 4px 10px; border-radius: 8px; background: var(--blue); color: var(--on-blue); font-size: var(--text-md); font-weight: 700; line-height: 1; box-shadow: var(--shadow-magnet); }
.face-move { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; font-variant-numeric: lining-nums tabular-nums; }
.face-move-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--page); color: var(--ink); font-size: var(--text-sm); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.face-move-pill .move-arrow { width: 12px; }
.face-agencies { color: var(--muted); font-size: var(--text-xs); font-weight: 600; }
.face-stats { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: var(--text-xs); line-height: 1.4; font-variant-numeric: lining-nums tabular-nums; }
.face-stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.face-runs { display: grid; gap: 6px; margin: 0; }
.face-run { display: grid; gap: 4px; margin: 0; }
.face-run-team { color: var(--muted); font-size: var(--text-xs); font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.face-run-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.face-chip { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 0.6875rem; font-weight: 700; line-height: 1; }
.face-chip.is-win { background: var(--soft-green); color: var(--green); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 30%, var(--line)); }
.face-chip.is-draw { background: var(--page); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); }
.face-chip.is-loss { background: var(--soft-red); color: var(--red); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 30%, var(--line)); }
.analysis-sheet { display: block; }
.analysis-sheet > .info-scrim, .analysis-sheet .analysis-sheet-head { display: none; }
.analysis-panel { max-height: none; padding: 0; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
.move-body { display: grid; justify-items: start; gap: 6px; margin-top: 14px; }
.move-subject { margin: 0; color: var(--muted); font-size: var(--text-xs); font-weight: 600; line-height: 1.35; }
.move-subject b { color: var(--ink); font-weight: 700; }
.move-market > .move-body { margin-top: 4px; }
.move-figure { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; }
.move-tile { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-sm); font-size: var(--text-lg); font-weight: 700; line-height: 1; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.move-tile.is-before { color: var(--muted); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-strong); }
.move-tile.is-after { background: var(--page); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.move-book { color: var(--muted); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; }
/* A drawn arrow from the earlier tile to the later one. */
.move-arrow { position: relative; flex: none; width: 18px; height: 1.5px; background: var(--muted); }
.move-arrow::after { content: ""; position: absolute; top: 50%; right: 0; width: 7px; height: 7px; border: solid var(--muted); border-width: 1.5px 1.5px 0 0; transform: translate(-1px, -50%) rotate(45deg); }
/* A 1.5px chevron: down when the figure fell, up when it rose. */
.move-direction { width: 7px; height: 7px; border: solid var(--ink); border-width: 0 1.5px 1.5px 0; }
.move-direction.is-down { transform: translateY(-2px) rotate(45deg); }
.move-direction.is-up { transform: translateY(2px) rotate(-135deg); }
.move-agencies { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; color: var(--muted); font-size: var(--text-xs); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.move-dots { display: inline-flex; gap: 3px; }
.move-dots > span { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.move-dots > .is-on { background: var(--ink); box-shadow: none; }
/* The track: widths come from the shared .wN classes, so each mark sits at its percentage. */
.move-scale { margin-top: 20px; }
.move-track { position: relative; height: 6px; margin: 8px 7px; border-radius: var(--pill); background: var(--line); }
.move-run { position: absolute; inset: 0; display: flex; }
.move-skip, .move-span { flex: none; }
.move-span { border-radius: var(--pill); background: color-mix(in srgb, var(--ink) 30%, var(--line)); }
.move-mark-from, .move-mark-to { position: absolute; inset: 0 auto 0 0; }
.move-mark-from::after { content: ""; position: absolute; top: 50%; right: -6px; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line-strong); }
.move-mark-to::after { content: ""; position: absolute; top: 50%; right: -7px; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--surface), 0 4px 10px -4px rgb(13 27 58 / .55); }
.move-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 12px 0 0; color: var(--muted); font-size: var(--text-xs); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.move-key { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.move-key::before { content: ""; flex: none; }
.move-key.is-market::before { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.move-key b { color: var(--ink); font-weight: 700; }
/* A card's labelled blocks: the proposal, the market, the statistics, the Scouter, the figures and the analyst's
   note; each opens on a line rule with its name. */
.move-block { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.move-label { margin: 0 0 8px; color: var(--muted); font-size: var(--text-xs); font-weight: 700; }
.proposal-line { margin: 0; color: var(--ink); }
.proposal-record { max-width: 760px; margin: 40px auto 0; }
.proposal-record .proposal-line + .proposal-line { margin-top: 4px; }
.proposal-reason { margin: 4px 0 0; color: var(--muted); font-size: var(--text-sm); }
/* The statistics rows: up to three rows whose names, lines, chances and Home/Away
   mini-bars read down the card. The line is the one bold run and never breaks. */
.stat-rows { display: grid; grid-template-columns: minmax(0, max-content) max-content max-content minmax(0, 1fr); justify-content: start; align-items: center; column-gap: 16px; row-gap: 8px; margin: 0; padding: 0; list-style: none; font-size: var(--text-md); line-height: 1.45; font-variant-numeric: lining-nums tabular-nums; }
/* A row is `.stat-item`, never the stat tiles' own row class, which styles tiles on every other page. */
.stat-item { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; align-items: center; gap: 8px 14px; margin: 0; }
.stat-name { color: var(--muted); }
.stat-pick { color: var(--ink); font-weight: 700; white-space: nowrap; }
.stat-chance { color: var(--ink); white-space: nowrap; }
.stat-mini-bars { display: grid; grid-template-columns: repeat(2, minmax(52px, 84px)); gap: 8px; align-items: center; }
.stat-mini { display: grid; gap: 3px; font-size: var(--text-xs); font-weight: 600; color: var(--muted); line-height: 1; }
.stat-mini-count { text-align: end; color: var(--ink); font-weight: 700; }
.stat-mini .fig-track { height: 6px; }
@media (max-width: 560px) {
  .stat-rows { grid-template-columns: minmax(0, max-content) max-content max-content; }
  .stat-mini-bars { grid-column: 1 / -1; margin-top: 2px; }
}
@media (max-width: 359px) {
  .stat-rows, .stat-item { display: block; }
  .stat-item + .stat-item { margin-top: 8px; }
  .stat-name { display: block; }
  .stat-pick { margin-right: 10px; }
  .stat-mini-bars { margin-top: 6px; }
}
/* The visual Match Scouter: standout badges + five goal markets as per-team count bars. */
.scout-badges { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding: 0; list-style: none; }
.scout-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 3px 6px 3px 10px; border-radius: var(--pill); background: var(--soft-blue); color: var(--blue); font-size: var(--text-xs); font-weight: 700; line-height: 1.2; }
.scout-badge .stat-icon { flex: none; width: 15px; height: 15px; }
.scout-badge-label { font-weight: 700; }
.scout-badge-hit { padding: 2px 7px; border-radius: var(--pill); background: var(--blue); color: var(--on-blue); font-variant-numeric: lining-nums tabular-nums; }
.scout-badges + .move-label { margin-top: 14px; }
.scout-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 6px; padding: 0 13px; color: var(--muted); font-size: var(--text-xs); line-height: 1.2; }
.scout-team-head { min-width: 0; overflow-wrap: anywhere; }
.scout-team-head b { color: var(--ink); font-weight: 700; }
.scout-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 16px; margin: 0; padding: 0; list-style: none; font-variant-numeric: lining-nums tabular-nums; }
.scout-row { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--page); }
.scout-market { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: var(--text-sm); font-weight: 700; line-height: 1.3; }
.scout-market .stat-icon { flex: none; width: 16px; height: 16px; color: var(--blue); }
.scout-bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.scout-side { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 6px; row-gap: 4px; font-size: var(--text-xs); line-height: 1.2; }
.scout-count { color: var(--ink); font-weight: 700; white-space: nowrap; }
.scout-side .fig-track { height: 8px; background: var(--surface); }
/* "Clasament și formă" (analysis-conclusion-reading, D10): the Scouter's tiles, a short stack of figures a team. */
.mctx-side { display: grid; align-content: start; justify-items: start; gap: 3px; min-width: 0; font-size: var(--text-xs); line-height: 1.25; font-variant-numeric: lining-nums tabular-nums; }
.mctx-value { color: var(--ink); font-weight: 700; }
.mctx-note { color: var(--muted); font-weight: 600; overflow-wrap: anywhere; }
.mctx-run { justify-self: stretch; grid-auto-columns: minmax(0, 24px); margin: 0 0 3px; }
.mctx-run .fig-chip { height: 24px; border-radius: 7px; }
.stat-record .check-table { margin-bottom: 8px; }
.stat-record .check-table th[scope="row"] { white-space: normal; }
@media (max-width: 700px) { .stat-record .check-table th, .stat-record .check-table td { padding: 8px 6px; } }
/* The card's fold: the match facts, closed, under one rule. */
.move-folds { margin-top: 12px; padding-top: 4px; border-top: 1px solid var(--line); }
.move-folds > .ctx-more > summary { margin-top: 0; }
/* The match facts as a scores site lists them: a list title, then one ruled row a match. The date spans the
   two team lines, the goals align at the right with the winner in bold, and a team's own list ends each row in
   its result chip (the strip's chip, smaller). "Directe" rows keep the chip column empty, so the goals line up
   from list to list. */
.ctx-more > summary { display: flex; align-items: center; width: fit-content; min-height: 44px; margin-top: -8px; cursor: pointer; list-style: none; color: var(--blue); font-size: var(--text-sm); font-weight: 600; transition: color .2s var(--ease-out); }
.ctx-more > summary::-webkit-details-marker { display: none; }
.ctx-more > summary::before { content: ""; flex: none; width: 6px; height: 6px; margin: 0 10px 2px 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .25s var(--ease-out); }
.ctx-more[open] > summary::before { transform: rotate(45deg); }
.ctx-more > summary:hover { color: var(--blue-deep); }
.ctx-more[open] > summary { margin-bottom: 6px; }
.ctx-group + .ctx-group { margin-top: 18px; }
.ctx-head { margin: 0 0 4px; font-size: var(--text-sm); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.ctx-rows { margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); line-height: 1.3; font-variant-numeric: lining-nums tabular-nums; }
.ctx-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 24px; column-gap: 12px; row-gap: 3px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.ctx-date { grid-column: 1; grid-row: 1 / 3; color: var(--muted); font-size: var(--text-xs); font-weight: 600; }
.ctx-team { grid-column: 2; min-width: 0; overflow-wrap: anywhere; }
.ctx-goals { grid-column: 3; min-width: 1.5ch; text-align: end; }
.ctx-team.is-home, .ctx-goals.is-home { grid-row: 1; }
.ctx-team.is-away, .ctx-goals.is-away { grid-row: 2; }
.ctx-row .is-won { font-weight: 700; }
.ctx-chip { grid-column: 4; grid-row: 1 / 3; width: 24px; height: 24px; }
.ctx-more > .fig-span { margin-top: 10px; }
/* The analyst's note, a block of its own after the notes: automated and unverified output, so its label is
   trial amber where the other blocks' labels are muted. The block keeps a 72ch measure on a wide card. */
.move-analysis { padding-right: max(0px, 100% - 72ch); }
.move-label.is-ai { color: var(--amber); }
.move-analysis-text { margin: 0; font-size: var(--text-sm); line-height: 1.55; text-wrap: pretty; }
.move-analysis-text + .move-analysis-text { margin-top: 8px; }
.move-analysis-sources { margin: 4px 0 0; color: var(--muted); font-size: var(--text-xs); overflow-wrap: anywhere; }
.move-empty { align-items: flex-start; }
.move-empty .assembly-empty-mark { margin-top: 1px; }
.move-empty p { margin: 0; text-wrap: pretty; }
/* The figures of a card (analysis-page): one group a team, each note a sentence, then the team's results as
   lettered chips and two bars on one scale. The chips are settled results, so they take a settled card's
   soft green and red; the letter still says it without colour. Each bar sits under its label and figure (a
   long label never squeezes the track), and is decoration under text. */
.fig-block { display: grid; gap: 28px; }
.fig-team { display: grid; gap: 16px; min-width: 0; }
.fig-name { margin: 0; font-size: var(--text-md); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.fig-note { min-width: 0; }
.fig-run { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 28px); gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; }
.fig-chip { display: grid; place-items: center; height: 28px; border-radius: 8px; font-size: var(--text-xs); font-weight: 700; line-height: 1; }
.fig-chip.is-win { background: var(--soft-green); color: var(--green); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 30%, var(--line)); }
.fig-chip.is-draw { background: var(--page); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); }
.fig-chip.is-loss { background: var(--soft-red); color: var(--red); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 30%, var(--line)); }
.fig-span { margin: 6px 0 0; color: var(--muted); font-size: var(--text-xs); line-height: 1.4; }
.fig-tag { margin: 0; }
.fig-pair { display: grid; gap: 10px; max-width: 460px; margin: 14px 0 0; }
.fig-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px; row-gap: 5px; margin: 0; font-size: var(--text-sm); line-height: 1.3; font-variant-numeric: lining-nums tabular-nums; }
.fig-label { color: var(--muted); font-weight: 600; }
.fig-row > b { font-weight: 700; text-align: right; white-space: nowrap; }
.fig-track { grid-column: 1 / -1; display: block; height: 10px; border-radius: var(--pill); background: var(--page); box-shadow: inset 0 0 0 1px var(--line); }
.fig-fill { display: block; height: 100%; min-width: 0; border-radius: var(--pill); background: var(--ink); }
.fig-fill.is-high { background: var(--blue); }
.fig-row.is-taken .fig-fill { background: var(--ink); }
.fig-row.is-reference .fig-fill { background: color-mix(in srgb, var(--blue) 42%, var(--soft-blue)); }
/* From 701px the card uses its width. The move and its track share a row; a points note puts its words (the
   sentence, the strip, the caption) at the left and its measure (the bars and their plain line) at the right;
   the open Context block puts the meetings on full-width scoreboard rows (date, home, score, away, the score at
   the middle) and the two teams' lists side by side under them. */
@media (min-width: 701px) {
  .move-market:has(.move-scale) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 40px; }
  .move-market:has(.move-scale) > :not(.move-body, .move-scale) { grid-column: 1 / -1; }
  .move-market .move-scale { align-self: end; margin-top: 0; }
  .fig-note.has-measure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; column-gap: 40px; }
  .fig-note.has-measure .fig-pair { margin-top: 2px; }
  .ctx-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px 40px; }
  .ctx-group + .ctx-group { margin-top: 0; }
  .ctx-group.is-h2h { grid-column: 1 / -1; }
  .ctx-group.is-h2h .ctx-row { grid-template-columns: auto minmax(0, 1fr) auto auto minmax(0, 1fr); column-gap: 14px; }
  .ctx-group.is-h2h :is(.ctx-date, .ctx-team, .ctx-goals) { grid-row: 1; }
  .ctx-group.is-h2h .ctx-team.is-home { grid-column: 2; text-align: end; }
  .ctx-group.is-h2h .ctx-goals.is-home { grid-column: 3; }
  .ctx-group.is-h2h .ctx-goals.is-home::after { content: "–" / ""; margin-left: 14px; color: var(--muted); font-weight: 400; }
  .ctx-group.is-h2h .ctx-goals.is-away { grid-column: 4; text-align: start; }
  .ctx-group.is-h2h .ctx-team.is-away { grid-column: 5; }
}
@media (max-width: 700px) {
  .move-day { margin-top: 24px; }
  .move-card { padding: 14px 16px 18px; }
}
/* The trial header: six pills in four groups, then a quiet link and an outlined pill at the right end.
   It takes the wide measure on every page, so the brand keeps one position. Above 700px it stays on one
   row and sheds width in a fixed order: the tagline below 1200px, the name below 1024px, the pill padding,
   then Despre below 900px. A phone keeps Meciuri, Schema X, Daily and Weekend in its row and moves the
   rest into a menu. */
.nav-more { display: none; }
.site-header:has(.navigation.has-more) { --page-width: 2880px; }
.header-inner:has(.navigation.has-more) .brand-text small { display: none; }
@media (min-width: 701px) {
  .navigation.has-more { flex: 1; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 4px; }
  .navigation.has-more .starts-group { position: relative; margin-left: 9px; }
  .navigation.has-more .starts-group::before { content: ""; position: absolute; left: -7px; top: 50%; width: 1px; height: 18px; margin-top: -9px; background: var(--line); }
  .navigation.has-more .is-quiet { margin-left: auto; color: var(--muted); }
  .navigation.has-more .is-action { box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue); }
  .navigation.has-more .is-quiet:hover:not([aria-current]), .navigation.has-more .is-action:hover:not([aria-current]) { background: var(--soft-blue); color: var(--blue); }
  .navigation.has-more a[aria-current] { background: var(--blue); color: var(--on-blue); box-shadow: var(--shadow-magnet); }
}
@media (min-width: 701px) and (max-width: 1199px) {
  .navigation.has-more a { padding-inline: 12px; }
}
@media (min-width: 701px) and (max-width: 799px) {
  .header-inner:has(.navigation.has-more) { gap: 12px; }
  .navigation.has-more a { padding-inline: 8px; }
}
@media (min-width: 701px) and (max-width: 1023px) {
  .header-inner:has(.navigation.has-more) .brand-text { display: none; }
}
@media (min-width: 701px) and (max-width: 899px) {
  .navigation.has-more > .is-quiet { display: none; }
  .navigation.has-more > .is-action { margin-left: auto; }
}
@media (min-width: 1200px) {
  .header-inner:has(.navigation.has-more) .brand-text small { display: block; }
}
/* The language switch (site-english-locale): RO · EN at the header's right end, the current language in ink and
   the other a quiet link; from 701 to 899px only the other language; on a phone, the last row of the menu. */
.lang-switch { display: flex; flex-shrink: 0; align-items: center; gap: 2px; }
.lang-switch a, .nav-lang a { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 8px; border-radius: var(--pill); color: var(--muted); font-size: var(--text-sm); font-weight: 600; text-decoration: none; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.lang-switch a:hover:not([aria-current]), .nav-lang a:hover:not([aria-current]) { background: var(--soft-blue); color: var(--blue); }
.lang-switch a[aria-current], .nav-lang a[aria-current] { color: var(--ink); font-weight: 700; }
.lang-sep { color: var(--line-strong); }
.nav-lang { display: none; }
@media (min-width: 701px) and (max-width: 1199px) {
  .header-inner:has(> .lang-switch) { gap: 12px; }
}
@media (min-width: 701px) and (max-width: 899px) {
  .lang-switch a[aria-current], .lang-switch .lang-sep { display: none; }
}
@media (max-width: 700px) {
  .header-inner > .lang-switch { display: none; }
  .navigation.has-more .nav-more-panel .nav-lang { display: flex; gap: 4px; margin-top: 2px; padding-top: 4px; border-top: 1px solid var(--line); }
  .navigation.has-more .nav-more-panel .nav-lang { align-items: center; }
  .navigation.has-more .nav-more-panel .nav-lang a { place-items: center; min-height: 44px; padding: 0 14px; }
  /* The current language reads as on the desktop switch: ink, bold, no fill; the menu's blue fill marks pages, not languages. */
  .navigation .nav-lang a[aria-current] { background: none; box-shadow: none; color: var(--ink); font-weight: 700; }
}
@media (max-width: 700px) {
  /* Equal shares down to each label's width; labels never break, so enlarged text moves whole pills to a second row. */
  .navigation.has-more { position: relative; display: flex; flex-wrap: wrap; gap: 4px; }
  .navigation.has-more > a { flex: 1 1 0; min-width: min-content; }
  .navigation.has-more > .is-secondary { display: none; }
  /* The button keeps the row's right end; its panel hangs from the whole row, so it stays on screen. */
  .nav-more { display: block; flex: 0 0 44px; margin-left: auto; }
  .nav-more summary { display: grid; place-items: center; min-height: 44px; border-radius: var(--pill); color: var(--ink); cursor: pointer; list-style: none; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
  .nav-more summary::-webkit-details-marker { display: none; }
  .nav-more summary:hover, .nav-more[open] summary { background: var(--soft-blue); color: var(--blue); }
  .nav-more summary.is-current { background: var(--blue); color: var(--on-blue); box-shadow: var(--shadow-magnet); }
  .nav-burger { display: block; width: 18px; height: 12px; background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 50% / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; }
  .nav-more-panel { position: absolute; top: calc(100% + 2px); right: 0; z-index: 30; display: grid; gap: 2px; min-width: min(11rem, calc(100vw - 24px)); max-width: calc(100vw - 24px); padding: 6px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
  .navigation.has-more .nav-more-panel a { place-items: center start; padding: 0 14px; border-radius: var(--radius-sm); font-size: var(--text-sm); text-align: left; }
  .subscribe-channel { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .subscribe-join { grid-area: auto; margin-top: 10px; }
  .assemblies .head-inner { padding-top: 24px; }
  .assembly-switches { flex-direction: column; align-items: stretch; gap: 8px; width: 100%; margin-top: 20px; }
  .assembly-days { flex-wrap: nowrap; }
  .assembly-days a { flex: 1; gap: 6px; padding-inline: 8px; font-size: var(--text-xs); line-height: 1.25; text-align: center; text-wrap: balance; }
  .assembly-notice { flex-direction: column; gap: 10px; padding: 16px; }
  .assembly-skip-note { padding-inline: 16px; }
}
@media (max-width: 380px) {
  .assembly-days a { gap: 4px; padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; transition: none !important; }
  .x-board::details-content, .bare-list::details-content, .chart-values::details-content, .perf-more::details-content, .match-lab::details-content { transition: none; }
  .match:hover .probability.is-pick, .is-picks .match:hover .price-tile.is-pick, .button-link:hover, .match:hover .score-grid td.is-top, .lab-button:active, .kickoff-rail a:hover::before { transform: none; }
}
.w0 { width: 0%; }
.w1 { width: 1%; }
.w2 { width: 2%; }
.w3 { width: 3%; }
.w4 { width: 4%; }
.w5 { width: 5%; }
.w6 { width: 6%; }
.w7 { width: 7%; }
.w8 { width: 8%; }
.w9 { width: 9%; }
.w10 { width: 10%; }
.w11 { width: 11%; }
.w12 { width: 12%; }
.w13 { width: 13%; }
.w14 { width: 14%; }
.w15 { width: 15%; }
.w16 { width: 16%; }
.w17 { width: 17%; }
.w18 { width: 18%; }
.w19 { width: 19%; }
.w20 { width: 20%; }
.w21 { width: 21%; }
.w22 { width: 22%; }
.w23 { width: 23%; }
.w24 { width: 24%; }
.w25 { width: 25%; }
.w26 { width: 26%; }
.w27 { width: 27%; }
.w28 { width: 28%; }
.w29 { width: 29%; }
.w30 { width: 30%; }
.w31 { width: 31%; }
.w32 { width: 32%; }
.w33 { width: 33%; }
.w34 { width: 34%; }
.w35 { width: 35%; }
.w36 { width: 36%; }
.w37 { width: 37%; }
.w38 { width: 38%; }
.w39 { width: 39%; }
.w40 { width: 40%; }
.w41 { width: 41%; }
.w42 { width: 42%; }
.w43 { width: 43%; }
.w44 { width: 44%; }
.w45 { width: 45%; }
.w46 { width: 46%; }
.w47 { width: 47%; }
.w48 { width: 48%; }
.w49 { width: 49%; }
.w50 { width: 50%; }
.w51 { width: 51%; }
.w52 { width: 52%; }
.w53 { width: 53%; }
.w54 { width: 54%; }
.w55 { width: 55%; }
.w56 { width: 56%; }
.w57 { width: 57%; }
.w58 { width: 58%; }
.w59 { width: 59%; }
.w60 { width: 60%; }
.w61 { width: 61%; }
.w62 { width: 62%; }
.w63 { width: 63%; }
.w64 { width: 64%; }
.w65 { width: 65%; }
.w66 { width: 66%; }
.w67 { width: 67%; }
.w68 { width: 68%; }
.w69 { width: 69%; }
.w70 { width: 70%; }
.w71 { width: 71%; }
.w72 { width: 72%; }
.w73 { width: 73%; }
.w74 { width: 74%; }
.w75 { width: 75%; }
.w76 { width: 76%; }
.w77 { width: 77%; }
.w78 { width: 78%; }
.w79 { width: 79%; }
.w80 { width: 80%; }
.w81 { width: 81%; }
.w82 { width: 82%; }
.w83 { width: 83%; }
.w84 { width: 84%; }
.w85 { width: 85%; }
.w86 { width: 86%; }
.w87 { width: 87%; }
.w88 { width: 88%; }
.w89 { width: 89%; }
.w90 { width: 90%; }
.w91 { width: 91%; }
.w92 { width: 92%; }
.w93 { width: 93%; }
.w94 { width: 94%; }
.w95 { width: 95%; }
.w96 { width: 96%; }
.w97 { width: 97%; }
.w98 { width: 98%; }
.w99 { width: 99%; }
.w100 { width: 100%; }
/* The trial generator: the home strip, its native form, a drawn result and a refusal. Styled by class
   only; the strict guard rejects the generator's data marks, so no attribute selectors here. */
.generator-entry { max-width: 760px; margin: 0 auto 24px; padding: 18px 24px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.generator-entry-title { margin: 0 0 12px; font-size: 1.0625rem; line-height: 1.35; letter-spacing: -.01em; }
.generator-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; margin: 0; container: generator-form / inline-size; }
.assembly-board > .generator-form { max-width: 760px; margin: 0 auto; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.generator-field { position: relative; display: grid; flex: 1 1 8rem; gap: 6px; min-width: 0; }
/* The days select holds the longest label ("Today and tomorrow"), so it takes the larger share of the row. */
.generator-field:last-of-type { flex: 1.6 1 12rem; }
.generator-field label { color: var(--muted); font-size: var(--text-xs); font-weight: 600; line-height: 1.25; }
.generator-field select { width: 100%; min-height: 44px; margin: 0; padding: 0 40px 0 16px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); color: var(--ink); font: inherit; font-size: var(--text-sm); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; cursor: pointer; appearance: none; transition: border-color .2s var(--ease-out); }
.generator-field select:hover, .generator-field select:focus-visible { border-color: var(--blue); }
.generator-field select:focus-visible { border-radius: var(--pill); }
/* The select's chevron: the back link's 1.5px stroke, turned down, in blue. */
.generator-field::after { content: ""; position: absolute; right: 18px; bottom: 19px; width: 7px; height: 7px; border-right: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: rotate(45deg); pointer-events: none; }
.generator-submit { flex: 0 0 auto; margin: 0; border: 0; font-family: inherit; line-height: inherit; cursor: pointer; }
.generator-submit:active { transform: none; box-shadow: var(--shadow-magnet); }
.generator-submit:focus-visible { border-radius: var(--pill); }
/* "Mă simt norocos": the second button, outlined so the normal one stays the main action. */
.generator-submit.is-lucky { background: var(--surface); color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.generator-submit.is-lucky:hover { box-shadow: inset 0 0 0 1.5px var(--blue), var(--shadow-magnet); }
@container generator-form (max-width: 30em) {
  .generator-field, .generator-field:last-of-type { flex-basis: calc(50% - 8px); }
  .generator-submit { flex-basis: 100%; }
}
/* Enlarged text on a phone: one control per row, so no select clips its value. */
@container generator-form (max-width: 20em) { .generator-field, .generator-field:last-of-type { flex-basis: 100%; } }
.generator-rules-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; font-size: var(--text-sm); font-weight: 600; }
.generator-rules { max-width: 760px; margin-inline: auto; }
.generator-rules ul { margin: 0; padding: 16px 24px 20px 42px; color: var(--muted); font-size: var(--text-sm); line-height: 1.55; }
.generator-rules li + li { margin-top: 6px; }
/* A drawn result leads the page; the form under it is headed "another one". */
.generator-result { max-width: 760px; margin: 0 auto 8px; }
.generator-tiles { flex-basis: 100%; max-width: none; }
.generator-request { flex-basis: 100%; gap: 4px 16px; }
.generator-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 24px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--wash); }
.generator-foot > .generator-form { flex: 0 0 auto; container-type: normal; }
.generator-note { flex: 1 1 16rem; margin: 0; color: var(--muted); font-size: var(--text-sm); }
.generator-next { margin: 32px 0 12px; font-size: var(--text-lg); line-height: 1.3; letter-spacing: -.01em; }
.generator-message { margin-bottom: 24px; }
/* The Bilanț Generator tiles fold two by two in their own container, like a ledger board's. */
.generator-record-tiles { margin: 16px 0 12px; container-type: inline-size; }
@container daily-ticket (max-width: 30em) {
  .generator-foot { padding: 16px; }
  .generator-foot > .generator-form, .generator-foot .generator-submit { flex-basis: 100%; }
}

/* Bilanț notes on a phone (bilant-phone-distill): each opens from its i as a bottom sheet, a native
   popover with no script. Elsewhere the note stays inline, and the wrappers leave no box. */
.info-mark, .info-sheet { display: none; }
.info-head, .head-title-row { display: contents; }
.info-glyph { width: 24px; height: 24px; overflow: visible; }
/* Clip, never hidden: a hidden box can still scroll, and the pill's autofocus would scroll it mid-slide. */
.info-sheet:popover-open { display: flex; flex-direction: column; position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; overflow: clip; border: 0; background: rgb(13 27 58 / .4); text-align: left; }
.info-scrim { flex: 1 1 0; min-height: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.info-panel { flex: 0 1 auto; min-height: 0; max-height: 80dvh; padding: 0 16px 20px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-card); transition: translate .28s var(--ease-out); }
@starting-style { .info-sheet:popover-open .info-panel { translate: 0 100%; } }
.info-sheet p { max-width: 72ch; margin: 0 0 12px; color: var(--ink); font-size: var(--text-md); font-weight: 400; line-height: 1.55; text-wrap: pretty; }
.info-sheet p:last-child { margin-bottom: 0; }
.info-sheet time { font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.info-sheet-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -16px 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.info-sheet .info-sheet-title { min-width: 0; margin: 0; font-family: var(--display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
.info-close { flex: none; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); color: var(--ink); font: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out); }
.info-close:hover { border-color: var(--blue); background: var(--soft-blue); color: var(--blue); }
html:has(.info-sheet:popover-open) { overflow: hidden; }
@supports selector(:popover-open) {
  /* Schema X's "Cum se alege" (schema-x-system-slip): the button at every width, the fallback disclosure hidden. */
  .scheme-info-mark { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); color: var(--blue-deep); font: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out); }
  .scheme-info-mark:hover { border-color: var(--blue); background: var(--soft-blue); }
  .scheme-rules-fallback { display: none; }
  /* The notes sit behind their i at every width (site-i18n-compliance-wording, D5); a browser without the
     Popover API never reaches this block, so it keeps its notes inline and shows no mark. */
  .note-inline { display: none; }
  .info-mark { display: inline-grid; flex: none; place-items: center; width: 44px; height: 44px; margin-block: -10px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--blue); cursor: pointer; transition: background-color .2s var(--ease-out); }
  .info-mark:active { background: var(--soft-blue); }
  @media (hover: hover) { .info-mark:hover { background: var(--soft-blue); } }
  .info-head { display: flex; align-items: center; gap: 2px; margin-bottom: 8px; }
  .assembly-section-head > .info-head { margin-bottom: 0; }
  .page-body .info-head > :is(h2, h3) { margin: 0; }
  /* A heading beside its mark may break a long word rather than push the mark off a narrow screen (2026-11-21). */
  .info-head > :is(h2, h3) { min-width: 0; overflow-wrap: anywhere; }
  .head-title-row { display: flex; align-items: center; justify-content: center; gap: 2px; }
  .matchday .head-title-row, .assemblies.is-weekend .head-title-row { justify-content: flex-start; }
  .fun-record-scroll + .note-inline + .ticket-card-list { margin-top: 16px; }
  @media screen and (min-width: 701px) {
    /* Wider than a phone the sheet is a centred panel, never full width. */
    .info-sheet:popover-open { align-items: center; }
    .info-scrim { align-self: stretch; }
    .info-panel { width: min(100%, 36rem); max-height: 70dvh; border-bottom: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 15dvh; }
  }
  @media screen and (max-width: 700px) {
    /* Each side keeps the mark's 44px, so a long title (or 200% text) wraps instead of pushing the mark off a
       320px screen; the empty left column keeps the title centred (2026-11-21). */
    .head-title-row { display: grid; grid-template-columns: minmax(44px, 1fr) minmax(0, auto) minmax(44px, 1fr); align-items: center; justify-items: start; width: 100%; }
    .head-title-row > h1 { grid-column: 2; min-width: 0; overflow-wrap: anywhere; }
    .assemblies.is-analysis .head-inner { padding: 16px 0 12px; gap: 8px 12px; }
    .assemblies.is-analysis .head-title-row, .assemblies.is-weekend .head-title-row { display: flex; justify-content: flex-start; width: auto; }
    .assemblies.is-analysis .head-title-row > h1 { font-size: 2rem; }
    .assemblies.is-analysis .head-meta { margin-left: 0; text-align: left; }
  }
  /* Analysis card compact face + native popover detail sheet (`analysis-compact-grid`). */
  .analysis-face-only { display: grid; gap: 8px; margin: 10px 0 12px; }
  .analysis-face-only:empty { display: none; }
  .analysis-face > .move-meta:has(+ .analysis-face-only:empty) { margin-bottom: 12px; }
  .analysis-open { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; margin-top: auto; padding: 10px 0 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--blue); font: inherit; font-size: var(--text-sm); font-weight: 600; text-align: left; cursor: pointer; transition: color .2s var(--ease-out); }
  .analysis-open:hover { color: var(--blue-deep); }
  .analysis-open-arrow { position: relative; flex: none; width: 14px; height: 1.5px; background: currentColor; }
  .analysis-open-arrow::after { content: ""; position: absolute; top: 50%; right: 0; width: 6px; height: 6px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: translate(-1px, -50%) rotate(45deg); }
  .analysis-sheet { display: none; }
  .analysis-sheet:popover-open { display: flex; flex-direction: column; position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; overflow: clip; border: 0; background: rgb(13 27 58 / .4); text-align: left; }
  .analysis-sheet:popover-open > .info-scrim { display: block; }
  .analysis-sheet:popover-open .analysis-sheet-head { display: flex; align-items: flex-start; margin: 0 -20px 14px; padding: 14px 20px; z-index: 2; }
  .analysis-sheet:popover-open .analysis-panel { flex: 0 1 auto; min-height: 0; max-height: 88dvh; padding: 0 20px 24px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-card); transition: translate .28s var(--ease-out); }
  @starting-style { .analysis-sheet:popover-open .analysis-panel { translate: 0 100%; } }
  .analysis-sheet-title { min-width: 0; }
  .analysis-sheet-meta { margin: 2px 0 0; color: var(--muted); font-size: var(--text-xs); font-weight: 600; line-height: 1.35; font-variant-numeric: lining-nums tabular-nums; }
  .analysis-sheet-meta time { color: var(--ink); font-weight: 700; }
  .analysis-sheet-body > .move-block:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
  .analysis-sheet-body .scout-grid { gap: 6px; }
  .analysis-sheet-body .scout-row { gap: 4px; padding: 8px 10px; }
  html:has(.analysis-sheet:popover-open) { overflow: hidden; }
  @media screen and (min-width: 701px) {
    .analysis-sheet:popover-open { align-items: center; justify-content: center; padding: 24px; }
    .analysis-sheet:popover-open > .info-scrim { position: fixed; inset: 0; }
    .analysis-sheet:popover-open .analysis-panel { position: relative; z-index: 1; width: min(100%, 48rem); max-height: 86dvh; border-bottom: 1px solid var(--line); border-radius: var(--radius-lg); margin: 0; }
  }
  @media screen and (max-width: 700px) {
    .analysis-sheet:popover-open .analysis-panel { padding: 0 16px 20px; }
    .analysis-sheet:popover-open .analysis-sheet-head { margin: 0 -16px 12px; padding: 12px 16px; }
  }
}

/* The lasting match and competition pages (public-indexable-site, group 5): one card in a single column, the card's
   links in its own colours, and compact rows that wrap to two lines on a phone. */
.match-grid.is-single { grid-template-columns: minmax(0, 26rem); margin: 0 0 8px; }
/* A link the eye cannot tell from its text gets a faint permanent underline (touch has no hover); it strengthens on
   hover and focus. Only an indexable build has these links. */
.match-title :is(h2, h3) a, .match-league a, .head-date a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; }
.match-title :is(h2, h3) a:is(:hover, :focus-visible), .match-league a:is(:hover, :focus-visible), .head-date a:is(:hover, :focus-visible) { text-decoration-color: currentColor; }
.match-reading .stat { background: var(--surface); }
.match-reading .stat dt .price-symbol { grid-column: 1; grid-row: 1 / span 2; align-self: center; justify-self: center; color: var(--muted); font-size: var(--text-sm); font-weight: 700; }
.match-reading ul { margin: 0; padding-left: 20px; line-height: 1.75; }
.league-rows { margin: 0; padding: 0; list-style: none; }
.league-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.league-row:first-child { border-top: 0; }
.row-when { flex: 0 0 auto; min-width: 9.5em; color: var(--muted); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.row-teams { flex: 1 1 12rem; min-width: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
a.row-teams { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; }
a.row-teams:is(:hover, :focus-visible) { text-decoration-color: currentColor; }
/* A competition's page carries the Bilanț row (three fixed columns) beside text: it gets the list's own width, the
   running text keeps its measure, and the competition's name wraps rather than truncates. */
.prose.league-reading { max-width: 960px; }
.league-reading > section > p { max-width: 72ch; }
.league-reading .perf-name strong { overflow: visible; text-overflow: clip; white-space: normal; }
.row-chances, .row-result { display: inline-flex; gap: 10px; font-variant-numeric: tabular-nums; }
.row-chance { color: var(--muted); font-size: var(--text-sm); }
.row-chance.is-pick { color: var(--ink); font-weight: 700; }
.row-pick { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: var(--text-sm); }
.row-pick strong { color: var(--ink); }
