/* poly322.com public site. Tokens from design/DESIGN.md.
   Near-black canvas, flat neutral surfaces (canvas -> card -> elevated), one lime accent for the primary CTA, the
   wordmark, the headline claim and big stat numbers. Mint / red only ever mean won / lost.
   Space Grotesk 700 in caps for headings, nav and buttons; Inter for text; JetBrains Mono for every number. */

:root {
  color-scheme: dark;

  --primary: #cbfb45;
  --primary-hover: #d8ff6e;
  --primary-active: #b4e52c;
  --primary-disabled: #262d12;
  --canvas: #0a0a0a;
  --card: #131313;
  --elevated: #1c1c1c;
  --hover: #262626;
  --hairline: #242424;
  --on-dark: #ffffff;
  --body: #e5e5e5;
  --muted-strong: #a3a3a3;
  --muted: #7a7a7a;
  --ink: #0a0a0a;
  --up: #34d399;
  --down: #ff4d6d;
  --ring: 0 0 0 2px rgba(203, 251, 69, .55);

  --font: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", -apple-system, "Segoe UI", sans-serif;
  --num: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --r-xs: 2px; --r-sm: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-pill: 9999px;
  --wrap: 1280px;
  --gutter: 16px;
  --section: 48px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 24px; --section: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--body);
  font: 400 14px/1.5 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column;
}
body.sheet-open { overflow: hidden; }
main { flex: 1; }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
/* a number inside a running sentence stays in the text face (mono mid-sentence reads like code) */
.page-head p .num, .hero-sub .num, .cta-band p .num, .faq .a .num { font-family: var(--font); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus { outline: none; }
:focus-visible { box-shadow: var(--ring); border-radius: var(--r-sm); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Top nav ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.hdr-in { display: flex; align-items: center; gap: 32px; height: 64px; }
/* logo: lime mark (rising line, the dot is the pick) + POLY322 in caps, so the letters and the digits share one
   cap height. POLY white, 322 lime. */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark); font: 700 22px/1 var(--display); letter-spacing: -.7px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand .wm { display: inline-flex; align-items: baseline; text-transform: uppercase; }
.brand .wm-n { color: var(--primary); margin-left: 1px; }
.brand:hover .wm-n { color: var(--primary-hover); }
.nav { display: flex; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--r-md);
  color: var(--body); text-decoration: none; font: 700 13px/1.4 var(--display); letter-spacing: .02em; text-transform: uppercase;
  transition: color .15s var(--ease);
}
.nav a:hover { color: var(--primary); }
.nav a[aria-current="page"] { color: var(--primary); }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.hdr-live {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: var(--r-md);
  background: var(--card); font: 500 13px/1 var(--font); color: var(--body); text-decoration: none; white-space: nowrap;
}
.hdr-live { border: 1px solid var(--hairline); }
.hdr-live:hover { background: var(--elevated); }
.hdr-live[hidden] { display: none; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; border-radius: var(--r-md); background: transparent; cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.sheet { position: fixed; inset: 64px 0 0; z-index: 29; background: var(--canvas); padding: 16px var(--gutter) 32px; display: none; flex-direction: column; overflow-y: auto; }
.sheet.open { display: flex; }
.sheet a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--hairline); color: var(--on-dark); text-decoration: none; font: 700 20px/1.35 var(--display); text-transform: uppercase; letter-spacing: -.2px; }
.sheet a[aria-current="page"] { color: var(--primary); }
.sheet a svg { width: 18px; height: 18px; color: var(--muted); }
.sheet .btn { margin-top: 24px; }
@media (max-width: 767px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .hdr-in { gap: 12px; }
}
@media (min-width: 768px) { .sheet { display: none !important; } }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on-dark); flex: none; animation: blink 1.6s ease-in-out infinite; }
.dot.up { background: var(--up); animation: none; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 12px 24px;
  border: 0; border-radius: var(--r-md); font: 700 13px/1 var(--display); letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--primary); color: var(--ink); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:active { background: var(--primary-active); }
.btn-pill { border-radius: var(--r-pill); height: 48px; padding: 14px 32px; font-size: 14px; }
.btn-secondary { background: var(--card); color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-secondary:hover { background: var(--elevated); }
/* on a card the card-coloured secondary would vanish: step it up one surface */
.card .btn-secondary, .card-xl .btn-secondary { background: var(--elevated); }
.card .btn-secondary:hover, .card-xl .btn-secondary:hover { background: var(--hover); }
.btn[aria-disabled="true"] { cursor: not-allowed; }
.btn-primary[aria-disabled="true"] { background: var(--primary-disabled); color: var(--muted); }
.btn-secondary[aria-disabled="true"] { background: var(--card); color: var(--muted); }
/* coming-soon action: looks like a normal secondary button (not greyed out); the "Soon" tag says it isn't live yet */
.btn-soon { background: var(--elevated); color: var(--on-dark); cursor: default; }
.btn-soon[aria-disabled="true"] { cursor: default; }
.btn-soon .soon { background: var(--card); color: var(--body); }
.soon { font: 600 10px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 4px 6px; border-radius: var(--r-sm); background: var(--elevated); color: var(--muted-strong); }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font: 700 13px/1.4 var(--display); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 var(--section); }
.hero-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .hero { padding-top: 80px; } .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 11px/1.4 var(--font); letter-spacing: 2.5px; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.hero h1 { font: 700 clamp(36px, 6vw, 64px)/1 var(--display); letter-spacing: -1px; text-transform: uppercase; color: var(--on-dark); max-width: 15ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-sub { margin-top: 20px; font: 400 16px/1.6 var(--font); color: var(--muted-strong); max-width: 52ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 479px) { .cta .btn { flex: 1 1 100%; } }

.callouts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px 32px; margin-top: 48px; container-type: inline-size; }
.callouts.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .callouts.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.callout { min-width: 0; }
.c-num { font: 700 clamp(20px, 6cqi, 36px)/1.1 var(--num); letter-spacing: -1px; color: var(--primary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-label { margin-top: 8px; font: 500 14px/1.4 var(--font); color: var(--body); }
.c-sub { margin-top: 2px; font: 400 13px/1.5 var(--font); color: var(--muted); }
@media (max-width: 479px) { .callouts { gap: 12px; margin-top: 40px; } .c-label { font-size: 13px; } .c-sub { font-size: 12px; } }

.units-note, .page-head .units-note { margin-top: 24px; font: 500 12px/1.4 var(--font); color: var(--muted); }

/* hero side card: latest picks */
.side { padding: 24px; }
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.side-head h2 { font: 700 16px/1.4 var(--display); letter-spacing: -.2px; text-transform: uppercase; color: var(--on-dark); }

.page-head { padding: 48px 0 0; }
.page-head h1 { font: 700 clamp(32px, 5vw, 48px)/1.05 var(--display); letter-spacing: -.5px; text-transform: uppercase; color: var(--on-dark); }
.page-head h1 em { font-style: normal; color: var(--primary); }
.page-head p { margin-top: 12px; color: var(--muted-strong); font-size: 16px; line-height: 1.6; max-width: 62ch; }

/* ---------- Sections & surfaces ---------- */
.section { padding: 0 0 var(--section); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font: 700 26px/1.2 var(--display); letter-spacing: -.5px; text-transform: uppercase; color: var(--on-dark); }
.section-head .meta { font: 500 12px/1.4 var(--font); color: var(--muted); }
.card { background: var(--card); border-radius: var(--r-lg); }
.card-xl { background: var(--card); border-radius: var(--r-xl); }
/* contrast: on cards the small muted text steps up to #8F8F8F; #7A7A7A stays for text on the canvas */
.card, .card-xl { --muted: #8f8f8f; }
.pos { color: var(--up); }
.neg { color: var(--down); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--hairline); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; white-space: nowrap;
  font: 700 14px/1.4 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--muted); transition: color .15s var(--ease);
}
.tab:hover { color: var(--body); }
.tab[aria-pressed="true"] { color: var(--on-dark); }
.tab[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--primary); }
.subtabs { display: inline-flex; gap: 4px; }
.subtab {
  height: 32px; padding: 0 12px; border: 0; border-radius: var(--r-md); background: transparent; cursor: pointer;
  font: 500 13px/1 var(--font); color: var(--muted-strong); white-space: nowrap;
}
.subtab:hover { color: var(--body); }
.subtab[aria-pressed="true"] { background: var(--elevated); color: var(--on-dark); }
.subtab .num { margin-left: 4px; color: var(--muted); font-size: 12px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 8px; }
.bar .tabs { flex: 1 1 auto; border-bottom: 0; }
.tbl-top { border-bottom: 1px solid var(--hairline); margin-bottom: 4px; }
@media (max-width: 767px) {
  .subtabs { width: 100%; justify-content: space-between; padding: 8px 0; }
  .subtab { flex: 1; padding: 0 4px; height: 36px; }
  .subtab .num { display: none; }
}

/* ---------- Chart ---------- */
.chart-card { padding: 24px; }
.chart-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.chart-title { font: 500 14px/1.4 var(--font); color: var(--muted-strong); }
.chart-bal { margin-top: 8px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.chart-bal .big { font: 700 clamp(26px, 4.6vw, 36px)/1.1 var(--num); letter-spacing: -1px; color: var(--on-dark); }
.chart-bal .delta { font: 500 16px/1.4 var(--num); }
.chart-meta { margin-top: 8px; font: 500 12px/1.4 var(--font); color: var(--muted); }
.chart-meta .num { color: var(--muted-strong); }
.tf { display: inline-flex; gap: 4px; padding: 4px; background: var(--canvas); border-radius: var(--r-md); }
.tf button { height: 28px; min-width: 44px; padding: 0 10px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--muted-strong); font: 600 12px/1 var(--num); cursor: pointer; }
.tf button:hover { color: var(--on-dark); }
.tf button[aria-pressed="true"] { background: var(--elevated); color: var(--on-dark); }
.chart-panel { margin-top: 20px; background: var(--elevated); border-radius: var(--r-lg); padding: 16px 12px 8px; }
.chart { position: relative; height: 240px; touch-action: pan-y; }
@media (min-width: 768px) { .chart { height: 320px; } }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .grid line { stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.chart .grid text, .chart .xaxis text { fill: var(--muted-strong); font: 500 11px var(--num); font-variant-numeric: tabular-nums; }
.chart .base { stroke: var(--muted); stroke-dasharray: 3 4; }
.chart .line { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .xaxis .tick { stroke: rgba(255, 255, 255, .04); stroke-width: 1; }
.chart .hover-line { stroke: var(--muted-strong); stroke-width: 1; stroke-dasharray: 2 3; }
.chart .hover-line.hy { stroke-opacity: .6; }
.chart .hover-dot { fill: var(--elevated); stroke: var(--primary); stroke-width: 2; }
.chart .end-dot { fill: var(--primary); }
.tip {
  position: absolute; top: 0; pointer-events: none; padding: 8px 12px; border-radius: var(--r-md); background: var(--canvas);
  font: 500 12px/1.4 var(--font); color: var(--muted-strong); white-space: nowrap; transform: translateX(-50%);
  opacity: 0; transition: opacity .12s var(--ease);
}
.tip.on { opacity: 1; }
.tip b { display: block; font: 600 16px/1.4 var(--num); color: var(--on-dark); }
.chart-empty { display: grid; place-items: center; height: 100%; color: var(--muted-strong); text-align: center; padding: 0 16px; }

/* ---------- Predictions table (markets-list style) ---------- */
.tbl { padding: 24px; }
@media (max-width: 767px) { .tbl { padding: 16px; } }
.trow {
  display: grid; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--hairline);
  grid-template-columns: minmax(0, 1.6fr) 48px minmax(0, 1.1fr) 104px 52px 80px 96px;
}
.trow.head { border-top: 0; padding: 8px 0; font: 500 12px/1.4 var(--font); color: var(--muted); }
.trow.head + .trow { border-top: 0; }
.trow .r { text-align: right; justify-self: end; }
.t-match { min-width: 0; }
.t-teams { font: 500 14px/1.4 var(--font); color: var(--on-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-teams .vs { color: var(--muted); margin: 0 4px; font-weight: 400; }
.t-league { font: 400 12px/1.4 var(--font); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-map { font: 500 14px/1.4 var(--num); color: var(--muted-strong); white-space: nowrap; }
.t-pick { font: 500 14px/1.4 var(--font); color: var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.t-pick.locked { display: flex; align-items: center; gap: 6px; color: var(--muted-strong); }
.t-pick.locked svg { width: 14px; height: 14px; flex: none; color: var(--muted); }
.t-date { display: none; }
/* confidence tier chip: Lean / Solid neutral, Strong carries the yellow accent (text + hairline, no fill) */
.tier { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: var(--r-sm); border: 1px solid transparent; background: var(--elevated); font: 500 12px/1 var(--font); color: var(--body); white-space: nowrap; }
.tier .num { font-weight: 600; color: var(--on-dark); }
.tier.strong { background: transparent; border-color: rgba(203, 251, 69, .45); color: var(--primary); }
.tier.strong .num { color: var(--primary); }
.t-odds { font: 500 14px/1.4 var(--num); color: var(--body); }
.t-res { font: 500 14px/1.4 var(--font); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.t-res.won { color: var(--up); }
.t-res.lost { color: var(--down); }
.t-res.open { color: var(--muted-strong); }
.t-res .dot { width: 6px; height: 6px; }
.t-pl { font: 500 14px/1.4 var(--num); white-space: nowrap; }
.t-pl.zero { color: var(--muted); }
.nudge { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--hairline); font: 400 13px/1.5 var(--font); color: var(--muted-strong); }
.nudge svg { width: 16px; height: 16px; color: var(--primary); flex: none; }
.side .trow { grid-template-columns: minmax(0, 1fr) 64px 88px; }
.side .t-pick { font-weight: 500; }
.side .t-sub { font: 400 12px/1.4 var(--font); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* below 1024: card list (tablet too: in 7 columns the team names were crushed to initials) */
@media (max-width: 1023px) {
  .tbl .trow.head { display: none; }
  .tbl .trow {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "match res" "pick pl" "meta odds";
    gap: 4px 12px; padding: 16px 0;
  }
  .tbl .trow.head + .trow { border-top: 0; }
  .tbl .t-match { grid-area: match; }
  .tbl .t-map { display: none; }
  .tbl .t-pickcell { grid-area: pick; min-width: 0; }
  .tbl .t-confcell { grid-area: meta; }
  .tbl .t-oddscell { grid-area: odds; }
  .tbl .t-rescell { grid-area: res; }
  .tbl .t-plcell { grid-area: pl; }
  .tbl .t-league { display: none; }
  .tbl .t-date { display: inline; }
  .tbl .t-pick { font-weight: 600; }
  .tbl .t-confcell { display: flex; align-items: center; gap: 8px; font: 400 12px/1.4 var(--font); color: var(--muted); min-width: 0; }
  .tbl .t-confcell.r { justify-self: start; text-align: left; }
  .tbl .tier { height: 22px; padding: 0 6px; }
  .tbl .t-odds { font-size: 13px; color: var(--muted-strong); }
  .tbl .t-oddscell:not(:empty)::before { content: "Odds "; font: 400 12px/1.4 var(--font); color: var(--muted); }
}
/* narrow phones: the match line drops its small team logos so both names fit (the pick keeps its logo) */
@media (max-width: 479px) {
  .tbl .t-teams .logo { display: none; }
}

.more { display: flex; justify-content: center; padding-top: 16px; }
.empty { padding: 40px 16px; text-align: center; color: var(--muted-strong); }
.empty h3 { font: 600 16px/1.4 var(--font); color: var(--on-dark); margin-bottom: 4px; }
.empty p { font-size: 14px; max-width: 46ch; margin: 0 auto; }
.empty svg { width: 28px; height: 28px; margin: 0 auto 12px; color: var(--muted); }
.err { color: var(--down); font-size: 13px; margin-top: 8px; }
.err:empty { display: none; }

/* ---------- Game / BO tags ---------- */
.gtag { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: var(--r-sm); background: var(--elevated); font: 600 10px/1 var(--font); letter-spacing: .05em; color: var(--muted-strong); white-space: nowrap; text-transform: uppercase; }
.bo { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: var(--r-sm); background: var(--elevated); font: 600 11px/1 var(--num); color: var(--muted-strong); white-space: nowrap; }

/* ---------- Matches ---------- */
.mgrid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mgrid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mcard { padding: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mcard-top { display: flex; align-items: center; gap: 8px; font: 400 12px/1.4 var(--font); color: var(--muted); min-width: 0; }
.mcard-top .lg { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mcard-top .right { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; flex: none; color: var(--muted-strong); }
.live-tag { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--font); color: var(--on-dark); }
.mteams { display: flex; flex-direction: column; gap: 12px; }
.mteam { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mteam .nm { font: 500 14px/1.4 var(--font); color: var(--on-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mteam .sc { margin-left: auto; font: 700 20px/1 var(--num); font-variant-numeric: tabular-nums; }
.mteam .sc.lead { color: var(--on-dark); }
.mteam .sc.trail { color: var(--muted); }
.logo { width: 28px; height: 28px; flex: none; border-radius: var(--r-md); background: var(--elevated); display: grid; place-items: center; overflow: hidden; font: 600 10px/1 var(--num); color: var(--muted-strong); }
.logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.logo.lg { width: 56px; height: 56px; border-radius: var(--r-lg); font-size: 14px; }
.mcard-foot { font: 400 12px/1.4 var(--font); color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }

.next { padding: 32px; display: grid; gap: 24px; }
@media (min-width: 768px) { .next { grid-template-columns: 1fr auto 1fr; align-items: center; } }
@media (max-width: 767px) { .next { padding: 24px; } }
.next-team { display: flex; align-items: center; gap: 16px; min-width: 0; }
.next-team .nm { font: 700 20px/1.3 var(--display); text-transform: uppercase; letter-spacing: -.3px; color: var(--on-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
@media (min-width: 768px) { .next-team.b { flex-direction: row-reverse; text-align: right; } }
.next-mid { text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.next-mid .when { font: 500 13px/1.4 var(--font); color: var(--muted-strong); }
.next-mid .cd-l { font: 500 12px/1.4 var(--font); color: var(--muted); }
.next-mid .cd { font: 700 36px/1.1 var(--num); font-variant-numeric: tabular-nums; letter-spacing: -1px; color: var(--primary); }
.next-mid .lgline { font: 400 12px/1.4 var(--font); color: var(--muted); display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: center; }
@media (max-width: 767px) { .next-mid { order: -1; align-items: flex-start; text-align: left; } .next-mid .lgline { justify-content: flex-start; } }

.sched { padding: 8px 24px; }
@media (max-width: 767px) { .sched { padding: 4px 16px; } }
.sched-day { padding: 16px 0 8px; font: 500 12px/1.4 var(--font); color: var(--muted); }
.srow { display: grid; grid-template-columns: 80px 56px minmax(0, 1fr) minmax(0, 240px) 48px; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--hairline); }
.srow .t { font: 500 14px/1.4 var(--num); color: var(--body); white-space: nowrap; }
.srow .vs { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.srow .lg { font: 400 12px/1.4 var(--font); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow .bo { justify-self: end; }
.srow .logo { width: 22px; height: 22px; border-radius: var(--r-sm); font-size: 9px; }
@media (max-width: 767px) {
  .srow { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "t vs bo" "g vs bo" ". lg lg"; row-gap: 6px; gap: 6px 12px; }
  .srow .t { grid-area: t; align-self: start; }
  .srow .gtag { grid-area: g; justify-self: start; }
  .srow .vs { grid-area: vs; }
  .srow .lg { grid-area: lg; }
  .srow .lg:empty { display: none; }
  .srow .bo { grid-area: bo; align-self: start; }
}

/* ---------- CTA band ---------- */
.cta-band { padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cta-band h2 { font: 700 32px/1.1 var(--display); letter-spacing: -.5px; text-transform: uppercase; color: var(--on-dark); max-width: 22ch; }
.cta-band p { margin-top: 8px; color: var(--muted-strong); font-size: 14px; max-width: 52ch; }
@media (max-width: 767px) { .cta-band { padding: 24px; } .cta-band h2 { font-size: 24px; line-height: 1.3; } .cta-band .btn { width: 100%; } }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq details:first-of-type { border-top: 1px solid var(--hairline); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none;
  font: 600 16px/1.4 var(--font); color: var(--on-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; color: var(--muted-strong); transition: transform .2s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .a { padding: 0 0 20px; color: var(--muted-strong); font-size: 14px; line-height: 1.6; max-width: 68ch; }

/* ---------- Skeleton ---------- */
.sk { display: block; background: var(--elevated); border-radius: var(--r-sm); animation: blink 1.4s ease-in-out infinite; }
.sk-line { height: 14px; }

/* ---------- Footer (dark, one step below the canvas line) ---------- */
.ftr { background: #070707; color: var(--body); border-top: 1px solid var(--hairline); padding: 48px 0; font-size: 13px; }
.ftr-in { display: grid; gap: 32px; }
@media (min-width: 900px) { .ftr-in { grid-template-columns: 1fr auto; align-items: start; } }
.ftr .brand { font-size: 19px; letter-spacing: -.6px; }
.ftr .brand svg { width: 26px; height: 26px; }
.ftr p { margin-top: 12px; max-width: 68ch; line-height: 1.6; color: var(--muted); }
.ftr nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.ftr nav a { color: var(--muted-strong); text-decoration: none; font: 700 12px/1.4 var(--display); letter-spacing: .04em; text-transform: uppercase; min-height: 32px; display: inline-flex; align-items: center; }
.ftr nav a:hover { color: var(--on-dark); }
.ftr :focus-visible { box-shadow: var(--ring); }
.age { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid var(--muted-strong); border-radius: 50%; font: 700 10px/1 var(--num); color: var(--muted-strong); margin-right: 8px; vertical-align: middle; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Borders on data (the user, 2026-11-16: "add some border on data and on the calendar") ----------
   Every data surface gets a 1px line: cards, the stat callouts, the chart panel, the table rows (cards below 1024). */
:root { --line: #242424; --line-strong: #2f2f2f; }
.card, .card-xl { border: 1px solid var(--line); }
.callouts { gap: 12px; }
.callout { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 20px; --muted: #8f8f8f; }
.chart-panel { border: 1px solid var(--line-strong); }
.trow { border-top-color: var(--line-strong); }
.trow:not(.head):hover { background: rgba(255, 255, 255, .02); }
.trow.head { border-bottom: 1px solid var(--line-strong); }
@media (max-width: 1023px) {
  .tbl .trow { border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: 14px 16px; margin-top: 8px; }
  .tbl .trow.head + .trow { border-top: 1px solid var(--line-strong); }
}
@media (max-width: 479px) { .callout { padding: 14px 16px; } }

/* ---------- Telegram + Polymarket bot CTAs (2026-11-16) ----------
   Telegram (free picks, live now) is the lime primary everywhere: header, hero, the "get" cards, the mobile sheet.
   The Polymarket bot is "Soon": neutral buttons that open the waitlist dialog, plus an inline form in its card. */
.btn-tg svg.tg-ico { width: 17px; height: 17px; }
.hdr-tg { height: 36px; padding: 0 14px; }
.hdr-bot { height: 36px; padding: 0 12px; background: transparent; color: var(--body); box-shadow: inset 0 0 0 1px var(--line-strong); }
.hdr-bot:hover { background: var(--elevated); color: var(--on-dark); }
.hdr-bot svg { width: 16px; height: 16px; }
.hdr-bot .soon, .btn-bot .soon { background: var(--elevated); color: var(--muted-strong); }
@media (max-width: 1099px) { .hdr-bot { display: none; } }
@media (max-width: 767px) {
  .hdr-tg { width: 40px; height: 40px; padding: 0; border-radius: var(--r-md); }
  .hdr-tg span { display: none; }
  .hdr-tg svg.tg-ico { width: 20px; height: 20px; }
}

/* mobile sheet: the two buttons are buttons, not menu rows */
.sheet a.btn { min-height: 48px; height: 48px; border: 0; justify-content: center; font: 700 14px/1 var(--display); color: var(--ink); }
.sheet a.btn svg { width: 18px; height: 18px; color: currentColor; }
.sheet .btn-bot { height: 48px; margin-top: 12px; }

/* hero: waitlist chip under the buttons */
.bot-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; height: 36px; padding: 0 14px 0 5px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--card); color: var(--body);
  font: 500 13px/1 var(--font); cursor: pointer; max-width: 100%; transition: border-color .15s var(--ease), color .15s var(--ease);
}
.bot-chip:hover { border-color: rgba(203, 251, 69, .5); color: var(--on-dark); }
.bot-chip > svg { width: 16px; height: 16px; flex: none; }
.bot-chip > span:not(.soon) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bot-chip .soon { background: var(--primary); color: var(--ink); border-radius: var(--r-pill); padding: 5px 8px; }
@media (max-width: 479px) { .cta .btn-secondary { flex: 1 1 100%; } }

/* the two "get" cards (replace the old CTA band) */
.get { display: grid; gap: 16px; }
@media (min-width: 900px) { .get { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.get > .card-xl { padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.get-tg { background: color-mix(in srgb, var(--primary) 5%, var(--card)); border-color: rgba(203, 251, 69, .3); }
.get h2 { font: 700 28px/1.1 var(--display); letter-spacing: -.5px; text-transform: uppercase; color: var(--on-dark); max-width: 20ch; }
.get p { color: var(--muted-strong); font-size: 14px; line-height: 1.6; max-width: 54ch; }
.get .btn-pill, .get .wl { margin-top: auto; }
.get .btn-pill { margin-top: 8px; }
.get-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 11px/1.4 var(--font); letter-spacing: 2.5px; text-transform: uppercase; color: var(--primary); }
.get-eyebrow svg { width: 16px; height: 16px; flex: none; }
.get-bot .get-eyebrow, .wl-dlg .get-eyebrow { color: var(--muted-strong); }
.get-eyebrow .soon { letter-spacing: .06em; background: var(--primary); color: var(--ink); }
@media (max-width: 767px) {
  .get > .card-xl { padding: 24px; }
  .get h2 { font-size: 24px; }
  .get .btn-pill { width: 100%; }
}

/* waitlist form (card + dialog) */
.wl { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; max-width: 480px; margin-top: 8px; }
.wl input {
  flex: 1 1 220px; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--canvas); color: var(--on-dark); font: 400 14px/1 var(--font);
}
.wl input::placeholder { color: var(--muted); }
.wl input:focus-visible { border-color: var(--primary); box-shadow: var(--ring); border-radius: var(--r-md); }
.wl .btn { height: 44px; }
.wl .btn[disabled] { opacity: .6; cursor: wait; }
.wl-msg { flex-basis: 100%; font: 400 13px/1.5 var(--font); color: var(--muted-strong); }
.wl-msg:empty { display: none; }
.wl-msg.bad { color: var(--down); }
.wl-done { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--up) 45%, var(--line-strong)); border-radius: var(--r-md); font: 500 14px/1.4 var(--font); color: var(--on-dark); }
.wl-done svg { width: 18px; height: 18px; color: var(--up); flex: none; }
@media (max-width: 479px) { .wl .btn { flex: 1 1 100%; } }

.wl-dlg {
  width: min(480px, calc(100vw - 32px)); padding: 32px; border: 1px solid var(--line-strong); border-radius: var(--r-xl);
  background: var(--card); color: var(--body); --muted: #8f8f8f;
}
.wl-dlg::backdrop { background: rgba(0, 0, 0, .72); }
.wl-dlg h2 { margin: 12px 0 8px; font: 700 28px/1.1 var(--display); letter-spacing: -.5px; text-transform: uppercase; color: var(--on-dark); }
.wl-dlg p { color: var(--muted-strong); font-size: 14px; line-height: 1.6; }
.wl-dlg .wl-alt { margin-top: 16px; font-size: 13px; color: var(--muted); }
.wl-dlg .wl-alt a { color: var(--primary); }
.wl-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: var(--r-md); background: transparent; color: var(--muted-strong); cursor: pointer; }
.wl-x:hover { background: var(--elevated); color: var(--on-dark); }
.wl-x svg { width: 18px; height: 18px; }
@media (max-width: 479px) { .wl-dlg { padding: 24px; } .wl-dlg h2 { font-size: 24px; } }

/* footer + inline */
.ftr-bot { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--muted-strong); font: 700 12px/1.4 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.ftr-bot:hover { color: var(--on-dark); }
.ftr-bot .soon { padding: 3px 5px; font-size: 9px; }
.inline-link { padding: 0; border: 0; background: none; color: var(--primary); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.faq .a a { color: var(--primary); }

/* the table's "N live picks hidden" row links to Telegram */
a.nudge { text-decoration: none; }
a.nudge:hover { color: var(--on-dark); }
.nudge svg.tg-ico { width: 16px; height: 16px; color: var(--primary); }
.nudge .go { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--primary); font: 700 12px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.nudge .go svg { width: 14px; height: 14px; color: currentColor; }
