/* Hallmark · shape: Scoreboard Index · genre: atmospheric · theme: custom (design.md: floodlit turf) · job: book · idea: "the time bands are the scoreboard, a venue is a ticket stub" · vibe: "floodlit turf, chalk lines, lime ball"
 * paper: oklch(18.1% 0.016 165) · accent: oklch(93.8% 0.211 122) · display: Barlow Condensed · body: Figtree · hero: Index, the scoreboard beside a short head and one action · nav: edge-aligned bar, wordmark, the city as a list, four sections · footer: mast · imagery: our own captures of the venues' websites in the stubs, a map of the venues · signature: the scoreboard of activities by time band, the current band lit
 * axes: dark/display-condensed/chromatic-lime · posture: restrained (lime is the live band and the one action) · surface: tinted · contrast: pass · fold: pass · motion: design.md grammar (board digits roll once, stubs rise once, floodlight sweeps once) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5 · weakest: E, a board of live counts ships empty when hours are unknown; every cell is a real count and the unknowns are said in the caption under it */
/* Hallmark · dismissed 58 · the first window holds the scoreboard, forty of its words the counts in the cells and nine the nav, read as one object; the second holds six ticket stubs whose name, place, price and state are facts, not copy */
/* Hallmark · dismissed 23 · the lit band is one column of eight cells, under 3% of the fold; the floodlight is a 0.7 s sweep that ends at opacity 0 */
/* Hallmark · waive 79 · the hero's content is the scoreboard table, whose note ends about 110 px above the next section · the measure stops at the head block because the scoreboard is a table rather than text, and that table is the hero itself */
/* Hallmark · waive 77 · the band holds one line and the one action for venue owners, once on the page · the listing call is a band, not a section */
/* Hallmark · answered F25 · the scoreboard's first column, the activity names, is pinned with position: sticky while the bands scroll inside their own container */
/* Hallmark · hero-review: fix · 5 findings · 5 resolved (the contradicting open count, the dash rule and the hours parser, the catch-all row and the void beside the board, the phone board's lit band, the am/pm heads and the note's voice) */
/* Hallmark · finish-review: subagent · 8 findings · 8 resolved (a failed capture now falls to the chalk mark and the mismatched website left the record; gyms are an activity of their own and the open-now lists rank courts, turfs and arenas first with an honest count; the void under the listing band and the thin areas rail; the lead stub set after the clock's sort; the stat strip dropped; price rows labelled by their own words, one pincode, one date; the venue head centred and the channels as rows beside the map; the open-now page with the sticky filters) · earlier in-thread pass: the map sketch and the map head */
/* Hallmark · waive 82 · the dots of the map sketch are the venues' own positions, one per venue on a map of real data, replaced by the street map's pins when scripts run · a map of where the venues are is the page's evidence, not a device for a count */
/* Hallmark · answered F19 · the scoreboard and the wordmark take Barlow 800 and 700, the body 400 and 600, the data face 400 and 600: figures need their own weights */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- type ---------- */
body { font-size: var(--text-md); line-height: 1.55; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: var(--tracking-display); line-height: 1; }
h1 { font-size: var(--text-display); font-weight: 800; line-height: 0.94; max-width: 20ch; }
h2 { font-size: var(--text-section); max-width: 30ch; }
h3 { font-size: var(--text-title); max-width: 40ch; }
.lead { font-size: var(--text-lead); line-height: 1.4; color: var(--color-ink-2); max-width: 44ch; }
.num, .unit { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
.unit { color: var(--color-muted); font-size: var(--text-sm); }
a:hover { color: var(--color-accent); }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
.mark { width: 24px; height: 24px; flex-shrink: 0; color: var(--color-muted); }
.mark--big { width: 32px; height: 32px; color: var(--color-ink-2); }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-accent); border-radius: var(--radius-card); background: var(--color-accent); color: var(--color-accent-ink); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { color: var(--color-accent-ink); background: color-mix(in oklab, var(--color-accent) 88%, var(--color-ink)); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-rule-2); }
.btn--quiet:hover { background: var(--color-paper-2); color: var(--color-ink); }
@media (prefers-reduced-motion: reduce) { .btn, .stub, .row { transition: background-color var(--dur-short) linear; } .stub:hover, .row:hover { transform: none; } }

/* ---------- the top bar ---------- */
.top { position: relative; overflow: hidden; border-bottom: 1px solid var(--color-rule); background: var(--color-paper); }
.flood { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(100deg, transparent 30%, color-mix(in oklab, var(--color-accent) 28%, transparent) 50%, transparent 70%); }
.top-row { display: flex; align-items: center; gap: var(--space-lg); min-height: 64px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; letter-spacing: -0.01em; text-decoration: none; color: var(--color-ink); line-height: 1; }
.brand:hover { color: var(--color-ink); }
.tld { color: var(--color-accent); }
.pick { position: relative; }
.pick summary { list-style: none; display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 40px; padding: 0 var(--space-sm); border: 1px solid var(--color-rule-2); border-radius: var(--radius-card); cursor: pointer; color: var(--color-ink); font-weight: 600; white-space: nowrap; }
.pick summary::-webkit-details-marker { display: none; }
.pick summary:hover { border-color: var(--color-muted); }
.pick-in { color: var(--color-muted); font-weight: 400; }
.pick-list { position: absolute; left: 0; top: calc(100% + var(--space-xs)); z-index: var(--z-dropdown); min-width: 14rem; margin: 0; padding: var(--space-xs); list-style: none; background: var(--color-paper-2); border: 1px solid var(--color-rule-2); border-radius: var(--radius-card); }
.pick-list a { display: block; padding: var(--space-xs) var(--space-sm); text-decoration: none; border-radius: var(--radius-card); }
.pick-list a:hover, .pick-list a[aria-current] { background: var(--color-paper-3); color: var(--color-ink); }
.pick-list a[aria-current] { color: var(--color-accent); }
.nav { display: flex; gap: var(--space-lg); margin-left: auto; }
.nav a { text-decoration: none; color: var(--color-ink-2); font-weight: 600; white-space: nowrap; padding-block: var(--space-xs); border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--color-ink); }
.nav a[aria-current] { color: var(--color-ink); border-bottom-color: var(--color-accent); }
.menu-link, .menu-close { display: none; }

/* ---------- the hero: the scoreboard beside a short head ---------- */
.hero { padding-block: var(--space-xl) var(--space-xl); }
.hero + .section { padding-top: var(--space-3xl); }
.hero-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-xl); }
.hero-head h1 { font-size: var(--text-display-s); max-width: none; }
.hero-head .lead { justify-self: end; max-width: 34ch; }
.hero-board { min-width: 0; max-width: 100%; }
.hero-foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-md) var(--space-xl); align-items: center; margin-top: var(--space-lg); }
.hero-foot .board-note { margin-top: 0; }
.hero-foot .hero-hint { grid-column: 1 / -1; }
.hero-actions { margin: 0; }
.hero-hint { font-size: var(--text-sm); color: var(--color-muted); }
.board-wrap { position: relative; overflow-x: auto; overscroll-behavior-x: contain; max-width: 100%; min-width: 0; }
.board { width: 100%; min-width: 36rem; border-collapse: collapse; }
.board th.board-act { width: 30%; }
.board th, .board td { padding: var(--space-md) var(--space-sm); text-align: left; border-top: 1px solid var(--color-rule); vertical-align: middle; }
.board thead th { border-top: 0; padding-top: 0; padding-bottom: var(--space-sm); color: var(--color-muted); font-weight: 400; font-size: var(--text-sm); }
.board thead th.board-act { color: var(--color-ink); font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); letter-spacing: var(--tracking-display); }
.board th.board-act { position: sticky; left: 0; z-index: var(--z-base); background: var(--color-paper); box-shadow: 1px 0 0 var(--color-rule); }
.board th.board-act a { display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; color: var(--color-ink); font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); letter-spacing: 0; }
.board th.board-act a:hover { color: var(--color-accent); }
.board th.board-act a:hover .mark { color: var(--color-accent); }
.board td.num { font-size: var(--text-3xl); font-weight: 600; text-align: center; min-width: 4.5rem; font-variant-numeric: tabular-nums; line-height: 1; }
.board td[data-count=""] { color: var(--color-muted); font-weight: 400; }
.board td[data-band] { background: var(--color-paper-3); border-left: 2px solid var(--color-paper); }
.board td[data-band][data-count="0"] { color: var(--color-muted); font-weight: 400; }
.board thead th[data-band] { text-align: center; }
.board td[data-band].now { background: var(--color-accent); color: var(--color-accent-ink); font-weight: 600; }
.board thead th[data-band].now { color: var(--color-accent); font-weight: 600; }
.board .board-total { text-align: right; color: var(--color-ink-2); font-weight: 400; }
.board-note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); max-width: 70ch; }

/* ---------- a venue as a ticket stub ---------- */
.stubs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.stub { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: var(--space-md); align-items: center; padding: var(--space-md); background: var(--color-paper-2); border-radius: var(--radius-card); box-shadow: var(--shadow-card); transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.stub:hover { transform: translateY(-2px); }
.stub--lead { grid-template-columns: 120px minmax(0, 1fr) auto; }
.stub-pic { display: block; width: 84px; height: 112px; border-radius: 2px; overflow: hidden; background: var(--color-paper-3); }
.stub--lead .stub-pic { width: 120px; height: 160px; }
.stub-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
.stub-pic--mark { display: grid; place-items: center; }
.stub-body { display: grid; gap: var(--space-2xs); min-width: 0; }
.stub-name { font-size: var(--text-title); }
.stub-name a { text-decoration: none; color: var(--color-ink); }
.stub-name a::after { content: ""; position: absolute; inset: 0; }
.stub-name a:hover { color: var(--color-accent); }
.stub-where { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); color: var(--color-ink-2); font-size: var(--text-sm); }
.where-act { color: var(--color-muted); }
.stub-price { font-size: var(--text-md); }
.stub-price .num { font-weight: 600; }
.stub-end { position: relative; align-self: stretch; display: grid; align-content: center; gap: var(--space-2xs); min-width: 11rem; padding-left: var(--space-md); border-left: 1px dashed var(--color-rule-2); text-align: right; font-size: var(--text-sm); }
.stub-end::before, .stub-end::after { content: ""; position: absolute; left: -7px; width: 14px; height: 14px; border-radius: var(--radius-pill); background: var(--color-paper); }
.stub-end::before { top: calc(-1 * var(--space-md) - 7px); }
.stub-end::after { bottom: calc(-1 * var(--space-md) - 7px); }
.stub-state { color: var(--color-ink-2); }
.stub-state[data-state="open"] { color: var(--color-accent); font-weight: 600; }
.stub-state[data-state="closing"] { color: var(--color-amber); font-weight: 600; }
.stub-state[data-state="closed"] { color: var(--color-coral); }
.stub-state[data-state="unknown"] { color: var(--color-muted); }
.stub-fact { color: var(--color-muted); }
html.js-motion .stub:not(.is-in), html.js-motion .row:not(.is-in) { opacity: 0; }

/* ---------- sections ---------- */
.section { padding-block: var(--section-gap-s); }
.section--band { background: var(--color-paper-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.section-head .lead { justify-self: end; max-width: 36ch; }
.section-foot { margin-top: var(--space-lg); }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-md) var(--space-lg); align-items: baseline; padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.row-title { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-title); }
.row-title a { text-decoration: none; color: var(--color-ink); }
.row-title a:hover { color: var(--color-accent); }
.row-line { color: var(--color-ink-2); }
.row-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); font-size: var(--text-sm); }
.row-links a { text-decoration: none; color: var(--color-ink-2); }
.row-links a:hover { color: var(--color-accent); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(13rem, 18%); gap: var(--space-md); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-inline: var(--gutter); overscroll-behavior-x: contain; list-style: none; margin: 0; padding-block: var(--space-2xs); }
.rail > li { scroll-snap-align: start; }
.rail:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.rail a { display: grid; gap: var(--space-2xs); padding: var(--space-md); min-height: 7rem; background: var(--color-paper-2); border-radius: var(--radius-card); text-decoration: none; color: var(--color-ink); }
.rail a:hover { background: var(--color-paper-3); color: var(--color-ink); }
.rail .rail-name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1; }
.rail .rail-count { color: var(--color-ink-2); font-size: var(--text-sm); align-self: end; }
.map { position: relative; height: 420px; border-radius: var(--radius-card); background: var(--color-paper-3); outline: 1px solid var(--color-rule); outline-offset: -1px; }
.map-sketch { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-sketch-grid path { stroke: var(--color-rule); stroke-width: 1; }
.map-sketch-dots circle { fill: var(--color-accent); fill-opacity: 0.85; }
.map-fallback { position: absolute; left: var(--space-md); bottom: var(--space-md); margin: 0; padding: var(--space-xs) var(--space-sm); background: var(--color-paper-2); color: var(--color-ink-2); font-size: var(--text-sm); border-radius: var(--radius-card); }
.foot-theme { margin-top: var(--space-2xl); }
.map-pin { width: 12px; height: 12px; border-radius: var(--radius-pill); background: var(--color-accent); outline: 2px solid var(--color-paper); cursor: pointer; }
.map-note { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.figures > div { padding-left: var(--space-lg); border-left: 1px solid var(--color-rule); }
.figures > div:first-child { padding-left: 0; border-left: 0; }
.figures b { display: block; font: 700 var(--text-3xl)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.figures span { color: var(--color-ink-2); }
.band-row { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gap-columns); align-items: center; }
.band-row .btn { justify-self: end; }

/* ---------- lists with filters ---------- */
.filters { position: sticky; top: 0; z-index: var(--z-sticky); display: flex; flex-wrap: wrap; gap: var(--space-sm); padding-block: var(--space-sm); margin-bottom: var(--space-lg); background: var(--color-paper); border-bottom: 1px solid var(--color-rule); }
.filters label { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.filters select, .filters input { min-height: 44px; padding: 0 var(--space-sm); border: 1px solid var(--color-muted); border-radius: 2px; background: var(--color-paper-2); color: var(--color-ink); }
.filters select:focus-visible, .filters input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.filter-count { margin-left: auto; align-self: center; font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- the venue page ---------- */
.venue-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: center; }
.venue-pic { margin: 0; aspect-ratio: 4 / 5; max-height: 520px; border-radius: var(--radius-card); overflow: hidden; background: var(--color-paper-2); display: grid; place-items: center; }
.venue-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.venue-head { display: grid; gap: var(--space-md); }
.venue-head .lead { max-width: 60ch; }
.venue-state { font-size: var(--text-lg); }
.venue-state[data-state="open"] { color: var(--color-accent); font-weight: 600; }
.venue-state[data-state="closing"] { color: var(--color-amber); font-weight: 600; }
.venue-state[data-state="closed"] { color: var(--color-coral); }
.venue-state[data-state="unknown"] { color: var(--color-muted); }
.venue-price { font-size: var(--text-lg); }
.venue-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hours-table { width: 100%; max-width: 36rem; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: var(--space-xs) 0; border-top: 1px solid var(--color-rule); text-align: left; font-weight: 400; }
.hours-table td { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--color-accent); font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm) var(--space-xl); margin: 0; }
.facts div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-md); padding-block: var(--space-xs); border-top: 1px solid var(--color-rule); }
.facts dt { color: var(--color-muted); }
.facts dd { margin: 0; }
.source-line { font-size: var(--text-sm); color: var(--color-muted); }
.venue-section { padding-block: var(--space-2xl); border-top: 1px solid var(--color-rule); }
.venue-section h2 { margin-bottom: var(--space-lg); }
.venue-grid-2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); }

/* ---------- plain pages and the form ---------- */
.plain { padding-block: var(--space-2xl) var(--section-gap-s); }
.plain--head { padding-block: var(--space-2xl) var(--space-2xl); }
.section--tools { padding-block: var(--space-2xl); }
.section--list { padding-block: var(--space-2xl) var(--section-gap-s); }
.venue-hero { padding-block: var(--space-xl) var(--space-2xl); }
.plain h1 { margin-bottom: var(--space-lg); }
.plain h2 { margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
.plain .lead { margin-bottom: var(--space-xl); }
.plain p + p { margin-top: var(--space-md); }
.narrow { max-width: calc(68ch + 2 * var(--gutter)); margin-inline: auto; }
.plain-list { padding-left: 1.2em; } .plain-list li + li { margin-top: var(--space-xs); }
.form-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
.form-side { display: grid; gap: var(--space-md); position: sticky; top: var(--space-2xl); }
.listing { display: grid; gap: var(--space-lg); }
.field { display: grid; gap: var(--space-xs); }
.field label, .field legend { font-size: var(--text-sm); color: var(--color-ink-2); }
.field input, .field select, .field textarea { min-height: 48px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-muted); border-radius: 2px; background: var(--color-paper-2); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; width: 100%; box-sizing: border-box; }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-color: var(--color-focus); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--color-error); }
.field--checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs) var(--space-md); border: 0; padding: 0; margin: 0; }
.field--checks legend { margin-bottom: var(--space-xs); }
.check { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-ink-2); }
.check input { width: 18px; height: 18px; accent-color: var(--color-accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp input { min-height: 44px; }
.form-help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }
.form-help[data-tone="error"] { color: var(--color-error); }

/* ---------- the footer mast ---------- */
.foot { margin-top: var(--section-gap-s); padding-block: var(--space-3xl) var(--space-2xl); border-top: 1px solid var(--color-rule); background: var(--color-paper-2); }
.foot-mark { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 8vw, 7rem); line-height: 0.9; letter-spacing: -0.02em; }
.foot-line { margin-top: var(--space-md); font-size: var(--text-lead); color: var(--color-ink-2); max-width: 40ch; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 14rem)); gap: var(--space-xl); margin-top: var(--space-2xl); }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.foot-links a { text-decoration: none; color: var(--color-ink-2); }
.foot-links a:hover { color: var(--color-accent); }
.foot-note { margin-top: var(--space-2xl); font-size: var(--text-sm); color: var(--color-muted); max-width: 80ch; }
.foot-note a { color: var(--color-ink-2); }

main:has(> .section--band:last-child) + .foot { margin-top: 0; }
.rail .rail-acts { color: var(--color-ink-2); font-size: var(--text-sm); }
.rail a { min-height: 10rem; grid-template-rows: auto 1fr auto; }
.stub-pic img + .mark { display: none; }
.stub-pic { display: grid; place-items: center; }
.rows--channels .row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.rows--channels .row-title { font-family: var(--font-body); font-weight: 600; font-size: var(--text-md); }
.group-h { margin-top: var(--space-2xl); margin-bottom: var(--space-md); font-size: var(--text-xl); }
.facts--one { grid-template-columns: minmax(0, 1fr); }

/* ---------- phones and narrow screens ---------- */
@media (max-width: 60rem) {
  .top-row { flex-wrap: wrap; gap: var(--space-sm) var(--space-md); padding-block: var(--space-sm); }
  .menu-link { display: inline-flex; align-items: center; min-height: 40px; margin-left: auto; padding: 0 var(--space-sm); border: 1px solid var(--color-rule-2); border-radius: var(--radius-card); text-decoration: none; color: var(--color-ink); font-weight: 600; }
  .nav { display: none; }
  .nav:target { display: flex; flex-direction: column; gap: var(--space-md); position: fixed; inset: 0; z-index: var(--z-modal); padding: var(--space-2xl) var(--gutter); background: var(--color-paper); }
  .nav:target .menu-close { display: inline-flex; align-self: flex-end; min-height: 40px; align-items: center; padding: 0 var(--space-sm); border: 1px solid var(--color-rule-2); border-radius: var(--radius-card); }
  .nav:target a { font-size: var(--text-xl); }
  .hero { padding-block: var(--space-lg) var(--space-xl); }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .hero-head, .venue-top, .venue-grid-2, .form-grid, .band-row, .section-head { grid-template-columns: minmax(0, 1fr); }
  .hero-head .lead { justify-self: start; }
  .section-head .lead { justify-self: start; }
  .band-row .btn { justify-self: start; }
  .form-side { position: static; }
  .stub { grid-template-columns: 64px minmax(0, 1fr); }
  .stub--lead { grid-template-columns: 64px minmax(0, 1fr); }
  .stub-pic, .stub--lead .stub-pic { width: 64px; height: 86px; }
  .stub-end { grid-column: 1 / -1; min-width: 0; padding-left: 0; padding-top: var(--space-sm); border-left: 0; border-top: 1px dashed var(--color-rule-2); text-align: left; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); }
  .stub-end::before, .stub-end::after { top: calc(-1 * 7px); bottom: auto; width: 14px; height: 14px; }
  .stub-end::before { left: calc(-1 * var(--space-md) - 7px); }
  .stub-end::after { left: auto; right: calc(-1 * var(--space-md) - 7px); }
  .row { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .figures { grid-template-columns: minmax(0, 1fr); }
  .figures > div { padding: var(--space-md) 0; border-left: 0; border-top: 1px solid var(--color-rule); }
  .figures > div:first-child { border-top: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .field--checks { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map { height: 300px; }
  .rail { grid-auto-columns: minmax(11rem, 60%); }
}
@media (max-width: 40rem) {
  .pick summary { padding: 0 var(--space-xs); }
  .board th, .board td { padding: var(--space-md) var(--space-xs); }
  .board td.num { min-width: 3.25rem; font-size: var(--text-xl); }
  .board th.board-act { width: 34%; max-width: 34vw; }
  .board th.board-act a { font-size: var(--text-md); white-space: normal; }
  .board thead th.board-act { font-size: var(--text-md); }
  .board thead th[data-band] { white-space: nowrap; font-size: var(--text-xs); }
  .board td.num { min-width: 2.75rem; }
}
