/* Layout: a court-green scoreboard header, one scannable column of time-led match rows, thumb-reach tab bar. */
/* Theming: neutral graphite by default. Picking a player or team sets <html data-team="XX">, which re-tints the
   hero, buttons and accents in that team's colour (light-dark() follows the active light/dark scheme). */
:root {
  --bg: #f2f3f4;
  --surface: #ffffff;
  --surface-2: #e7e9eb;
  --ink: #151a1f;
  --muted: #5b6670;
  --line: #d9dde0;
  --court: #2c3640;        /* hero / primary */
  --court-deep: #1b232b;
  --on-court: #f6f7f8;
  --on-court-muted: rgba(255, 255, 255, .74);
  --accent: #2c3640;       /* links, selected controls */
  --on-accent: #ffffff;
  --sun: #ffd23f;          /* shuttle-cork yellow: "you", live, next */
  --on-sun: #2a2100;
  --sun-soft: #fff4c7;
  --win: #14794a;
  --warn: #b4530a;
  --warn-soft: #fdeedd;
  --t-CSK: #c8102e;        /* Chera crimson */
  --t-UC: #d97706;         /* Chola tiger amber */
  --t-PP: #6d3fc9;         /* Pallava violet */
  --t-BP: #0f79b8;         /* Pandya sea blue */
  --t-none: #8a959d;
  --g-adult: #cfe3d8;
  --g-teen: #d6dcf7;
  --g-u10: #f9d9c8;
  --shadow: 0 1px 2px rgba(16, 24, 30, .06), 0 6px 20px rgba(16, 24, 30, .06);
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 14px;
  --nav-h: 62px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101417; --surface: #181e23; --surface-2: #222a30; --ink: #eceff1; --muted: #9aa6ae; --line: #2c353c;
    --court: #29333b; --court-deep: #171e24; --on-court: #f6f7f8;
    --accent: #c9d3da; --on-accent: #11181d; --sun-soft: #3a3210;
    --win: #5fd0a7; --warn: #f0a35b; --warn-soft: #3a2713;
    --t-CSK: #ff5a70; --t-UC: #f5a53a; --t-PP: #a98bff; --t-BP: #4db5ec; --t-none: #7d8a93;
    --g-adult: #1f4a3a; --g-teen: #2b3566; --g-u10: #5a3423;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101417; --surface: #181e23; --surface-2: #222a30; --ink: #eceff1; --muted: #9aa6ae; --line: #2c353c;
  --court: #29333b; --court-deep: #171e24; --on-court: #f6f7f8;
  --accent: #c9d3da; --on-accent: #11181d; --sun-soft: #3a3210;
  --win: #5fd0a7; --warn: #f0a35b; --warn-soft: #3a2713;
  --t-CSK: #ff5a70; --t-UC: #f5a53a; --t-PP: #a98bff; --t-BP: #4db5ec; --t-none: #7d8a93;
  --g-adult: #1f4a3a; --g-teen: #2b3566; --g-u10: #5a3423;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
  color-scheme: dark;
}
/* Team themes (declared after the scheme blocks so they win at equal specificity) */
:root[data-team="CSK"] { --court: light-dark(#b30f2b, #8a1226); --court-deep: light-dark(#7d0a1e, #560a18); --accent: light-dark(#b30f2b, #ff8496); --on-accent: light-dark(#ffffff, #1c0a0e); --surface-2: light-dark(#f3e6e8, #301a1f); }
:root[data-team="UC"]  { --court: light-dark(#a14a00, #7d3a05); --court-deep: light-dark(#6e3200, #512402); --accent: light-dark(#a14a00, #ffb454); --on-accent: light-dark(#ffffff, #1c1206); --surface-2: light-dark(#f4eadf, #31261a); }
:root[data-team="PP"]  { --court: light-dark(#5b34b5, #47298f); --court-deep: light-dark(#3d2279, #2f1b63); --accent: light-dark(#5b34b5, #bba5ff); --on-accent: light-dark(#ffffff, #130c26); --surface-2: light-dark(#ece7f6, #261e3c); }
:root[data-team="BP"]  { --court: light-dark(#0a6aa3, #07547f); --court-deep: light-dark(#064a74, #043a58); --accent: light-dark(#0a6aa3, #6cc3f5); --on-accent: light-dark(#ffffff, #06141d); --surface-2: light-dark(#e1edf5, #162a38); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.45 var(--body);
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 24px);
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--court-deep); }
[hidden] { display: none !important; }
a { color: var(--accent); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 760px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3, p { margin: 0; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; color: var(--on-court); background: linear-gradient(170deg, var(--court) 0%, var(--court-deep) 100%); }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--on-court); opacity: .1; }
.hero-in { position: relative; padding-block: 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.hero-top { display: flex; align-items: center; gap: 10px; }
.shuttle { width: 30px; height: 30px; color: var(--on-court); transform: rotate(-24deg); flex: none; }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }
.brand { display: flex; align-items: center; gap: 14px; margin-block: 4px; }
.logo { width: clamp(64px, 19vw, 88px); height: auto; aspect-ratio: 154 / 153; flex: none; background: #fff; border-radius: 50%; padding: 3px; box-shadow: 0 2px 10px rgba(0, 0, 0, .28); }
.brand h1 { min-width: 0; }
.hero h1 { font: 700 clamp(38px, 11vw, 60px)/.92 var(--display); text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.hero h1 span { display: block; color: var(--on-court-muted); font-weight: 600; font-size: .62em; line-height: 1.1; }
.venue a { color: var(--on-court); font-size: 14px; text-underline-offset: 3px; text-decoration-color: var(--on-court-muted); }
.status { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.stat { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 8px 12px; min-width: 0; flex: 1 1 96px; }
.stat b { display: block; font: 700 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.stat span { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-court-muted); margin-top: 3px; }
.stat.hot { background: var(--sun); border-color: var(--sun); color: var(--on-sun); }
.stat.hot span { color: var(--on-sun); opacity: .75; }

/* ── Shared bits ── */
main { padding-block: 18px 8px; display: flex; flex-direction: column; gap: 16px; outline: none; }
.loading { color: var(--muted); padding-block: 40px; text-align: center; }
.h2 { font: 700 26px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.sub { color: var(--muted); font-size: 14px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.btn { appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14px; cursor: pointer; min-height: 40px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.ghost { background: transparent; }
.dot { width: 10px; height: 10px; border-radius: 3px; flex: none; background: var(--t-none); display: inline-block; }
.t-CSK { --tc: var(--t-CSK); } .t-UC { --tc: var(--t-UC); } .t-PP { --tc: var(--t-PP); } .t-BP { --tc: var(--t-BP); } .t-none { --tc: var(--t-none); }
.dot { background: var(--tc, var(--t-none)); }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.pill.live { background: var(--sun); color: var(--on-sun); }
.pill.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.4s ease-in-out infinite; }
.pill.done { background: transparent; border: 1px solid var(--line); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .pill.live::before { animation: none; } * { scroll-behavior: auto !important; } }

/* ── Match row ── */
.slot { display: flex; flex-direction: column; gap: 8px; }
.slot-h { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 3; background: var(--bg); padding-block: 8px 6px; display: flex; align-items: baseline; gap: 10px; border-bottom: 2px solid var(--ink); }
.slot-h b { font: 700 24px/1 var(--display); font-variant-numeric: tabular-nums; }
.slot-h b small { font-size: .6em; font-weight: 600; margin-left: 2px; }
.slot-h span { color: var(--muted); font-size: 13px; }
.mc { display: grid; grid-template-columns: 58px minmax(0, 1fr); background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); text-align: left; width: 100%; border: 0; padding: 0; color: inherit; }
.mc-court { background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 8px 4px; }
.mc-court small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.mc-court b { font: 700 34px/.9 var(--display); }
.mc-court em { font: 600 13px/1.1 var(--display); font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: 3px; }
.mc.live .mc-court, .mc.mine.next .mc-court { background: var(--sun); color: var(--on-sun); }
.mc.live .mc-court small, .mc.live .mc-court em, .mc.mine.next .mc-court small, .mc.mine.next .mc-court em { color: var(--on-sun); opacity: .8; }
.mc-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mc-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.mc-meta > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.side { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.side .nm { font-weight: 600; font-size: 15.5px; line-height: 1.25; overflow-wrap: anywhere; }
.side .nm small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.side .sc { font: 700 24px/1 var(--display); font-variant-numeric: tabular-nums; color: var(--muted); min-width: 1.4ch; text-align: right; }
.side.win .sc { color: var(--win); }
.side.win .nm { font-weight: 700; }
.side.lose .nm { color: var(--muted); }
.side.tbd .nm { color: var(--muted); font-weight: 500; font-style: italic; }
.side mark { background: var(--sun); color: var(--on-sun); border-radius: 4px; padding: 0 4px; font-weight: 700; }
.past { opacity: .62; }

/* ── My day ── */
.who { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px; border-top: 5px solid var(--tc, var(--t-none)); display: flex; flex-direction: column; gap: 10px; }
.who h2 { font: 700 34px/1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.who .facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.who .facts b { color: var(--ink); font: 700 19px/1 var(--display); font-variant-numeric: tabular-nums; margin-right: 4px; }
.nextup { background: var(--court); color: var(--on-court); border-radius: var(--r); padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; }
.nextup .lbl { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); font-weight: 700; }
.nextup .big { font: 700 32px/1 var(--display); text-transform: uppercase; }
.nextup .vs { font-size: 14px; color: var(--on-court-muted); grid-column: 1 / -1; overflow-wrap: anywhere; }
.nextup .cnum { grid-row: 1 / span 2; grid-column: 2; background: var(--sun); color: var(--on-sun); border-radius: 12px; padding: 6px 12px; text-align: center; }
.nextup .cnum small { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.nextup .cnum b { font: 700 38px/.9 var(--display); }
.gap { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding-left: 22px; position: relative; }
.gap::before { content: ""; position: absolute; left: 28px; top: -8px; bottom: -8px; border-left: 2px dotted var(--line); }
.gap span { background: var(--bg); position: relative; padding: 2px 0 2px 24px; }
.gap.tight span { color: var(--warn); font-weight: 700; }
.search { width: 100%; border: 2px solid var(--line); background: var(--surface); border-radius: 12px; padding: 12px 14px; font-size: 16px; min-height: 48px; }
.search:focus { border-color: var(--accent); outline: none; }
.team-card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.team-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px; border-left: 6px solid var(--tc, var(--t-none)); }
.team-card h3 { font: 700 22px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.team-card header .btn { padding: 6px 12px; min-height: 34px; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 12px 14px 16px; }
.chip { appearance: none; border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 7px 12px; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 36px; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ── Filters ── */
.scroller { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; margin-inline: -16px; padding-inline: 16px; }
.scroller::-webkit-scrollbar { display: none; }
.scroller .chip { flex: none; background: var(--surface); }
.scroller .chip[aria-pressed="true"] { background: var(--ink); }
.selects { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.selects label { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); min-width: 0; }
.selects select { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 9px 10px; font-size: 15px; min-height: 42px; width: 100%; text-transform: none; letter-spacing: 0; font-weight: 500; }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; background: var(--surface); border-radius: var(--r); }

/* ── Courts ── */
.board { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.board-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); border-top: 1px solid var(--line); width: 100%; text-align: left; background: none; border-inline: 0; border-bottom: 0; padding: 0; color: inherit; cursor: pointer; }
.board-row:first-child { border-top: 0; }
.board-row .c { font: 700 30px/1 var(--display); display: grid; place-items: center; background: var(--surface-2); }
.board-row.on .c { background: var(--sun); color: var(--on-sun); }
.board-row .t { padding: 9px 12px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.board-row .l1 { font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; }
.board-row .l2 { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; vertical-align: -1px; margin-right: 5px; }
.map { display: grid; grid-template-columns: 34px repeat(6, minmax(0, 1fr)); gap: 0 3px; grid-auto-rows: 13px; position: relative; }
.map .ch { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 2; background: var(--bg); font: 700 15px/26px var(--display); text-align: center; grid-row: 1 / span 2; border-bottom: 2px solid var(--ink); }
.map .hr { grid-column: 1 / -1; border-top: 1px solid var(--line); font: 600 12px/1 var(--display); color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; pointer-events: none; }
.map .cell { appearance: none; border: 0; padding: 0 2px; margin: 1px 0 0; border-radius: 4px; font: 700 10px/1 var(--display); letter-spacing: .02em; color: var(--ink); cursor: pointer; overflow: hidden; min-width: 0; z-index: 1; }
.map .g-Adult { background: var(--g-adult); } .map .g-Teen { background: var(--g-teen); } .map .g-Under-10 { background: var(--g-u10); }
.map.has-sel .cell { opacity: .5; }
.map.has-sel .cell.mine { opacity: 1; background: var(--sun); color: var(--on-sun); box-shadow: 0 0 0 2px var(--ink); z-index: 2; }
.map .nowline { grid-column: 1 / -1; border-top: 2px solid var(--t-CSK); z-index: 3; pointer-events: none; height: 0; }

/* ── Tables ── */
.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tally div { background: var(--surface); border-radius: 12px; padding: 10px 8px 8px; text-align: center; border-top: 5px solid var(--tc); box-shadow: var(--shadow); min-width: 0; }
.tally b { font: 700 34px/1 var(--display); font-variant-numeric: tabular-nums; display: block; }
.tally span { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); overflow-wrap: anywhere; }
.tbl-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { padding: 9px 6px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
td { border-top: 1px solid var(--line); }
th:nth-child(2), td:nth-child(2) { text-align: left; white-space: normal; min-width: 112px; font-weight: 600; }
td:first-child, th:first-child { text-align: center; color: var(--muted); width: 26px; padding-left: 10px; }
td:last-child, th:last-child { padding-right: 12px; }
td.w { font-weight: 700; color: var(--win); }
td .dot { margin-right: 7px; }
tr.mine td { background: var(--sun-soft); }

/* ── Rules ── */
.card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font: 700 21px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.card p, .card li { font-size: 15px; max-width: 65ch; }
.rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rules li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; align-items: center; }
.rules li b { font: 700 24px/1 var(--display); background: var(--court); color: var(--on-court); border-radius: 10px; padding: 9px 4px; text-align: center; }
.rules li b small { display: block; font: 700 9.5px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--sun); margin-top: 2px; }
.callout { background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.card table th:nth-child(2), .card table td:nth-child(2) { text-align: right; min-width: 0; white-space: nowrap; font-weight: 400; }
.card table th:first-child, .card table td:first-child { text-align: left; color: var(--ink); font-weight: 600; white-space: normal; width: auto; padding-left: 0; min-width: 96px; }
.card table th, .card table td { padding: 9px 5px; }
.card table { font-size: 14px; }
.card .tbl-wrap { box-shadow: none; border-radius: 0; }
.foot { text-align: center; color: var(--muted); font-size: 12.5px; padding-block: 8px; }

/* ── Tab bar, sheet, toast ── */
.tabs { position: fixed; inset: auto 0 0; z-index: 20; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: max(8px, env(safe-area-inset-left, 0px)); padding-right: max(8px, env(safe-area-inset-right, 0px)); }
.tabs-in { max-width: 760px; margin-inline: auto; display: grid; grid-template-columns: repeat(var(--tabs, 5), minmax(0, 1fr)); height: var(--nav-h); }
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: 11.5px; font-weight: 600; position: relative; }
.tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabs a[aria-current="page"] { color: var(--ink); }
.tabs a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 22%; right: 22%; height: 4px; border-radius: 0 0 4px 4px; background: var(--sun); }
dialog { border: 0; padding: 16px; border-radius: 20px 20px 0 0; background: var(--bg); color: var(--ink); width: 100%; max-width: 560px; margin: auto auto 0; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
dialog::backdrop { background: rgba(4, 20, 15, .55); }
dialog > div { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
dialog .btn { width: 100%; justify-content: center; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 14px); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; z-index: 30; max-width: calc(100% - 32px); }

@media (min-width: 700px) {
  .hero-in { padding-block: 28px 24px; }
  .stat { flex: 0 1 150px; }
  .picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
}
.picker-grid { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 700px) { .picker-grid { display: grid; } }
