/* =====================================================================
   ParlayDesk Homepage 3.0 (2026-11-19, docs/OVERNIGHT_BETA_20261119.md §2)
   3.1 (same day, docs/HOMEPAGE31_20261119.md): the examples wear the
   app's real current markup and styles (see "the app's own cards").
   Page: backend/site-pages/home.html, rendered by backend/lib/home2.js.
   Supersedes 2.1's "app cards only" composition with a sports-technology
   layout: a wider grid (1360), full-width bands for rhythm, a hero "stage"
   around the real Active card, league doorways in team colours, a connected
   step path and an uneven review grid. Still built on the app's layers —
   shared.css tokens, navbar.css (shared header, untouched), parlay-view.css
   (the real leg rows), team-badges.css and /plans.css — and the app's colour
   roles: blue = action / live focus, green / amber / red = leg states, gold
   = PRO only, team colours only where a team is named.
   No web fonts, images or libraries; motion = one-time entrance of the
   hero's floating details + the app's LIVE pulse, all off under
   prefers-reduced-motion.
   ===================================================================== */
@import url("/plans.css?v=3");

.hp {
  --hp-soft: #cbd5e1;
  --hp-card: rgba(15, 23, 42, .72);
  --hp-card-bd: rgba(148, 163, 184, .16);
  --hp-line: rgba(148, 163, 184, .14);
  --hp-band: #0a1224;
  --hp-deep: #050a16;
  --hp-blue: #3b82f6;
  --hp-blue-2: #60a5fa;
  --hp-gold: #f5b400;
  --hp-max: 1360px;
  --hp-pad: clamp(16px, 3vw, 40px);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}
/* The page paints its own navy foundation (covers shared.css's body glow). */
body.hp3 { background: linear-gradient(180deg, #071022 0%, var(--hp-deep) 900px); }

.hp [hidden] { display: none !important; }
.hp-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp .skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; border-radius: 10px; background: #fff; color: #0b1222; font-weight: 700; text-decoration: none; }
.hp .skip-link:focus { top: 12px; }
.hp a { color: inherit; }
.hp :focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; border-radius: 6px; }
.hp .topbar-right.auth-loading { visibility: hidden; }

.hp-wrap { width: 100%; max-width: var(--hp-max); margin: 0 auto; padding-inline: var(--hp-pad); box-sizing: border-box; }

/* ---------- type ---------- */
:where(.hp) :is(h1, h2, h3) { color: #fff; margin: 0; }
.hp h2 { font-size: clamp(26px, 2.9vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; max-width: 22ch; text-wrap: balance; }
.hp h3 { font-size: 17px; font-weight: 750; letter-spacing: -.005em; }
:where(.hp) p { margin: 0; }
.hp-copy > p:not(.hp-kicker) { margin-top: 14px; max-width: 56ch; color: var(--hp-soft); font-size: 16px; line-height: 1.6; }
.hp-kicker {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.hp-kicker span {
  display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 6px; border-radius: 6px;
  background: rgba(59,130,246,.14); color: #93c5fd; font-variant-numeric: tabular-nums; letter-spacing: .04em;
}
.hp-note { color: var(--text) !important; font-weight: 650; }
.hp-fine { margin-top: 14px !important; font-size: 13px !important; color: var(--muted) !important; }

/* ---------- buttons ---------- */
.hp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 12px; font-size: 15px; font-weight: 650; text-decoration: none; box-sizing: border-box;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.hp-btn--primary { background: linear-gradient(135deg, var(--hp-blue), #2563eb); color: #fff !important; box-shadow: 0 6px 18px -6px rgba(59,130,246,.55); }
.hp-btn--primary:hover { box-shadow: 0 10px 24px -8px rgba(59,130,246,.7); transform: translateY(-1px); }
.hp-btn--quiet { background: rgba(255,255,255,.04); color: var(--text) !important; border: 1px solid rgba(148,163,184,.28); }
.hp-btn--quiet:hover { background: rgba(255,255,255,.08); border-color: rgba(148,163,184,.45); }

/* ---------- product frame ---------- */
.hp-frame {
  position: relative; min-width: 0; background: #0b1324; border: 1px solid var(--hp-card-bd); border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 30px 60px -30px rgba(0,0,0,.75);
  overflow: hidden; color: var(--text); font-size: 14px; line-height: 1.4;
}
.hp-frame-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--hp-line); background: rgba(255,255,255,.02);
  font-size: 11px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}
.hp-frame-name { display: inline-flex; align-items: center; gap: 8px; color: #e2e8f0; }
.hp-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hit); box-shadow: 0 0 0 3px rgba(34,197,94,.18); animation: pdLivePulse 2s ease-in-out infinite; }
.hp-example {
  padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.05); border: 1px solid var(--hp-line);
  font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--muted);
}

/* =========================== HERO =========================== */
.hp-hero { position: relative; padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(28px, 3.5vw, 48px); overflow: hidden; }
.hp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hp-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 22px; }
.hp-leagues { display: inline-flex; gap: 6px; }
.hp-leagues span { padding: 3px 9px; border-radius: 7px; background: rgba(255,255,255,.04); border: 1px solid var(--hp-line); font-size: 11.5px; font-weight: 750; letter-spacing: .05em; color: var(--hp-soft); }
.hp-hero h1 { font-size: clamp(42px, 5.6vw, 82px); font-weight: 800; line-height: 1.0; letter-spacing: -.04em; }
.hp-h1-line { display: block; }
.hp-h1-live { color: var(--hp-blue-2); white-space: nowrap; }
.hp-h1-live::after {
  content: ""; display: inline-block; width: .16em; height: .16em; margin-left: .08em; vertical-align: .42em;
  border-radius: 50%; background: var(--hit); box-shadow: 0 0 0 .07em rgba(34,197,94,.2);
  animation: pdLivePulse 2s ease-in-out infinite;
}
.hp-lede { margin-top: 22px; max-width: 46ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--hp-soft); }
.hp-hero .hp-ctas { margin-top: 30px; }
.hp-reassure { margin-top: 16px; max-width: 56ch; font-size: 13.5px; color: var(--muted); }

/* The stage: the real Active card with live moments around it. */
.hp-stage { position: relative; margin: 0; padding: 34px 0 70px; }
.hp-stage-glow { position: absolute; inset: 6% 0 0 6%; z-index: 0; pointer-events: none; background: radial-gradient(closest-side, rgba(59,130,246,.16), transparent 72%); }
.hp-frame--hero { z-index: 1; max-width: 600px; margin-left: auto; }
.hp-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px; background: rgba(12,19,36,.96); border: 1px solid rgba(148,163,184,.22);
  box-shadow: 0 18px 36px -16px rgba(0,0,0,.85); font-size: 12.5px; color: var(--hp-soft); white-space: nowrap;
  animation: hpRise .6s cubic-bezier(.2,.7,.2,1) both;
}
.hp-float b { color: #fff; font-variant-numeric: tabular-nums; }
.hp-float-k { font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hp-float--clock { top: 0; left: clamp(-8px, 2vw, 40px); animation-delay: .25s; }
.hp-float--toast { bottom: 0; left: clamp(-24px, -1vw, 0px); max-width: 320px; padding-left: 10px; animation-delay: .55s; }
.hp-float--tonight { bottom: 0; right: clamp(-20px, -1vw, 0px); flex-direction: column; align-items: flex-start; gap: 4px; animation-delay: .85s; }
.hp-mini-segs { display: flex; gap: 3px; width: 100%; }
.hp-mini-segs i { flex: 1; height: 4px; border-radius: 2px; background: var(--pending); }
.hp-mini-segs i.is-hit { background: var(--hit); }
.hp-mini-segs i.is-missed { background: var(--missed); }
.hp-toast-icon { flex: none; width: 34px; height: 34px; border-radius: 9px; background: url("/icons/icon-192.png") center / cover no-repeat; }
.hp-toast-text { display: grid; gap: 1px; font-size: 12.5px; line-height: 1.3; color: var(--hp-soft); white-space: normal; }
.hp-toast-text b { color: #fff; font-size: 13px; }
@keyframes hpRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- the app's own cards (Homepage 3.1) ----------
   Active / Tonight / History examples are the app's real 2.0 markup, styled
   by /apps/track2.css + /apps/tonight2.css (linked by the page, scoped to
   .pd-track2 / .pd-tn2). These few rules are the base card chrome those
   layers sit on in the app (apps/styles.css .pdc-card / .pdc-head /
   .pdc-toggle / .pdc-chev / .pdc-body / .pdc-game-head, gameCenter.css
   .pdc-game-link, research.css .pdc-research-link), copied value for value
   and scoped to .hp-app — the app's 254 KB stylesheet isn't loaded here.
   The examples' controls are plain elements (never focusable), so the
   open state is a class, not aria-expanded. */
.hp-app { font-size: 14px; line-height: 1.4; text-align: left; }
.hp-app .pdc-card { position: relative; background: var(--panel2); border: 1px solid var(--border); border-radius: 14px; }
.hp-frame .hp-app .pdc-card { border: 0; border-radius: 0; background: transparent; }
.hp-app .pdc-head { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px 10px 6px; }
.hp-app .pdc-toggle { flex: 1 1 auto; min-width: 0; display: flex; align-items: flex-start; gap: 8px; padding: 5px 8px; border-radius: 10px; }
.hp-app .pdc-chev { flex: 0 0 auto; position: relative; width: 16px; height: 16px; margin-top: 3px; }
.hp-app .pdc-chev::before { content: ""; position: absolute; left: 4px; top: 4px; width: 6px; height: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); }
.hp-app .is-open > .pdc-chev::before { transform: rotate(45deg); top: 2px; border-color: var(--pdt-quiet, #94a3b8); }
.hp-app .pdc-head-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.hp-app .pdc-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.hp-app .pdc-title { min-width: 0; font-size: 15.5px; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; color: var(--text); }
.hp-app .pdc-card.is-expanded > .pdc-head { box-shadow: inset 0 -1px 0 rgba(255,255,255,.06); }
.hp-app .pdc-body { display: flex; flex-direction: column; gap: 12px; padding: 12px 14px 14px; }
.hp-app .pdc-game-head { display: flex; align-items: flex-start; gap: 8px; width: 100%; padding: 6px; border-radius: 10px; }
.hp-app .pdc-game-head .pdc-chev { margin-top: 1px; }
.hp-app .pdc-game-foot { display: flex; justify-content: flex-end; padding: 2px 6px 6px; }
.hp-app .pdc-game-link { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 8px; color: var(--accent2, #60a5fa); font-size: 13px; font-weight: 600; }
.hp-app .pdc-game-link > span { margin-left: 5px; }
.hp-app .pdc-report-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.hp-app .pdc-research-link { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel2); color: var(--text); font-size: 13px; font-weight: 600; }
.hp-app .pdc-research-link .hp-pro-tag { margin-left: 2px; }
.hp-frame .hp-app .pdc-legs { margin: 0; }
/* Leg rows inside the example frames (3.1 polish): a player's name and team
   badge always share one line. Frames are narrower than the app's page, so
   the row follows the FRAME's width (container query), not the viewport's:
   a roomy frame keeps the app's desktop row with a wider identity column; a
   narrow one (the hero beside the headline, Tonight at ~1100 px) uses the
   app's own narrow row — parlay-view.css / tonight2.css ≤640 px: name +
   status, then market + value, then the bar. Below a 340 px frame (small
   phones) the badge may wrap, as in the app, rather than cut the name. */
.hp-frame { container-type: inline-size; }
@container (min-width: 340px) {
  .hp-frame .pd-track2 .pdc-leg-id { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hp-frame .pd-track2 .pdc-leg-id > .pdc-name { overflow-wrap: normal; }
}
@media (min-width: 641px) {
  .hp-frame .pd-track2 .pdc-leg { grid-template-columns: minmax(16.25em, 1.7fr) minmax(0, 1fr) minmax(88px, .75fr) 76px; column-gap: 12px; }
}
@container (max-width: 579px) {
  .hp-frame .pd-track2 .pdc-leg { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id status" "market val" "bar bar"; column-gap: 10px; row-gap: 5px; }
  .hp-frame .pd-tn2 .pdc-leg.tn2-leg { grid-template-areas: "id status" "market val" "bar bar" "foot foot"; }
  .hp-frame .pd-track2 .pdc-leg-val { align-self: center; justify-self: end; }
  .hp-frame .pd-track2 .pdc-leg-status { align-self: start; }
  .hp-frame .pd-track2 .pdc-leg-bar:empty { display: none; }
}

/* League doorways: one tile per league, edged in a team colour. */
.hp-league-row { list-style: none; margin: clamp(28px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hp-lg { position: relative; display: grid; border-radius: 14px; background: var(--hp-card); border: 1px solid var(--hp-card-bd); overflow: hidden; transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }
.hp-lg::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--lg-edge, var(--hp-blue)); }
.hp-lg-main { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 14px; padding: 14px 16px 12px 18px; text-decoration: none; }
.hp-lg-main b { grid-row: span 2; font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.hp-lg-sub { font-size: 13px; font-weight: 650; color: var(--hp-soft); }
.hp-lg-badges { display: flex; gap: 4px; }
.hp-lg-badges .pd-tb--sm { --tb-h: 19px; --tb-w: 32px; font-size: 10.5px; }
.hp-lg-alt { grid-column: 1 / -1; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
/* One card = one link (3.1 polish): the whole tile opens the league's Game
   Center (whose hub carries the schedule); hover lifts the card, never
   underlines a word; keyboard focus rings the card from inside (it clips). */
a.hp-lg-main { color: inherit; text-decoration: none; }
a.hp-lg-main:focus-visible { outline: 2px solid var(--accent2); outline-offset: -3px; border-radius: 13px; }
@media (hover: hover) {
  .hp-lg:has(> a.hp-lg-main:hover) { border-color: rgba(148,163,184,.36); background-color: rgba(22,32,54,.9); transform: translateY(-1px); }
  .hp-lg:has(> a.hp-lg-main:hover) .hp-lg-sub { color: #fff; }
}

/* ---------- the path: four connected steps ---------- */
.hp-flow { padding-block: clamp(20px, 3vw, 36px) 0; }
.hp-flow ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; }
.hp-flow ol::before { content: ""; position: absolute; left: 14px; right: 14px; top: 14px; height: 1px; background: linear-gradient(90deg, rgba(59,130,246,.6), rgba(59,130,246,.15)); }
.hp-flow a { position: relative; display: grid; gap: 4px; padding-top: 42px; text-decoration: none; }
.hp-flow-n {
  position: absolute; top: 0; left: 0; display: inline-grid; place-items: center; width: 29px; height: 29px; border-radius: 50%;
  background: #0b1324; border: 1px solid rgba(59,130,246,.55); color: #93c5fd; font-size: 11.5px; font-weight: 750; font-variant-numeric: tabular-nums;
}
.hp-flow b { font-size: 17px; color: #fff; }
.hp-flow a span:last-child { font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 30ch; }
.hp-flow a:hover b { color: var(--hp-blue-2); }
.hp-flow a:hover .hp-flow-n { background: rgba(59,130,246,.18); }

/* ========================= SECTIONS ========================= */
.hp-sec { padding-block: clamp(56px, 7vw, 104px) 0; }
.hp-band { margin-top: clamp(56px, 7vw, 104px); padding-block: clamp(48px, 6vw, 88px); background: var(--hp-band); border-block: 1px solid var(--hp-line); }
.hp-band--gc { background: linear-gradient(180deg, #0a1224, #08101f); }
.hp-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }

.hp-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; max-width: 56ch; }
.hp-points li { position: relative; padding-left: 22px; font-size: 15px; color: var(--hp-soft); }
.hp-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--hp-blue); transform: rotate(45deg); }
.hp-points b { color: var(--text); font-weight: 650; }

/* ---------- 01 import example ---------- */
.hp-import-body { display: grid; grid-template-columns: minmax(0, .78fr) 28px minmax(0, 1.22fr); gap: 0; align-items: center; }
.hp-slip { margin: 14px; padding: 14px; border-radius: 12px; background: #f4f6fa; color: #1f2937; font-size: 12px; line-height: 1.35; align-self: start; }
.hp-slip-top { display: flex; justify-content: space-between; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid #dfe3ea; font-weight: 800; font-size: 12.5px; }
.hp-slip-top b { color: #15803d; }
.hp-slip-row { padding: 7px 0; border-bottom: 1px solid #eceff4; font-weight: 700; }
.hp-slip-row span { display: block; font-weight: 500; color: #4b5563; }
.hp-slip-foot { padding-top: 8px; font-size: 11px; color: #6b7280; }
.hp-review { border-left: 1px solid var(--hp-line); align-self: stretch; padding: 14px 14px 14px; display: grid; gap: 8px; align-content: start; }
/* The importer's Review Selections screen (app.html renderScreenshotReview):
   the header + counts, one card per selection with its checkbox, the
   amber "needs confirmation" card with the choice it waits for, and
   Back / "Add 4 of 5 Selections". */
.hp-review-top { display: grid; gap: 2px; padding: 0 2px 4px; font-size: 12px; color: var(--muted); }
.hp-review-top b { color: #fff; font-size: 13.5px; }
.hp-review-sum { font-size: 12.5px; }
.hp-review-top i { font-style: normal; }
.is-ok { color: #4ade80; }
.is-ask { color: #f59e0b; }
.hp-review-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); font-size: 13.5px; }
.hp-review-who { display: grid; gap: 1px; min-width: 0; }
.hp-review-row b { color: #fff; font-weight: 600; }
.hp-review-row em { font-style: normal; font-size: 12px; color: var(--muted); }
.hp-review-row em i { font-style: italic; }
.hp-check { width: 16px; height: 16px; border-radius: 4px; background: #3b82f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.hp-ok, .hp-ask { font-size: 13px; font-weight: 700; }
.hp-ok { color: #4ade80; }
.hp-ask { color: #f59e0b; align-self: start; }
.hp-review-row.is-ask { grid-template-columns: minmax(0, 1fr) auto; border-color: rgba(245,158,11,.35); background: rgba(245,158,11,.06); }
.hp-choose { display: flex; gap: 6px; margin-top: 7px; }
.hp-choose-sel { flex: 1; min-width: 0; padding: 6px 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.25); color: var(--hp-soft); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-choose-btn { padding: 6px 10px; border-radius: 6px; background: rgba(59,130,246,.18); color: #cbd5e1; font-size: 12.5px; font-weight: 600; }
.hp-review-foot { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding-top: 6px; }
.hp-fakebtn { padding: 9px 12px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), #2563eb); color: #fff; font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.hp-fakebtn--ghost { background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--text); }

.hp-slip { transform: rotate(-1.5deg); box-shadow: 0 14px 30px -14px rgba(0,0,0,.7); }
.hp-import-arrow { justify-self: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(59,130,246,.18); position: relative; }
.hp-import-arrow::after { content: ""; position: absolute; left: 7px; top: 7px; width: 6px; height: 6px; border-top: 2px solid #93c5fd; border-right: 2px solid #93c5fd; transform: rotate(45deg); }

/* ---------- 02 research (band) ---------- */
.hp-research-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hp-tiers { margin: 26px 0 0; display: grid; max-width: 60ch; border-top: 1px solid var(--hp-line); }
.hp-tier { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--hp-line); }
.hp-tiers dt { margin: 0; padding-top: 1px; }
.hp-tiers dd { margin: 0; font-size: 14.5px; color: var(--hp-soft); }
.hp-tiers dd b { color: var(--text); }
.hp-plan, .hp-pro-tag {
  display: inline-block; padding: 1px 7px; border-radius: 6px; font-size: 10.5px; font-weight: 750; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); border: 1px solid var(--hp-line); background: rgba(255,255,255,.04);
}
.hp-plan--pro, .hp-pro-tag { color: var(--hp-gold); border-color: rgba(245,180,0,.45); background: rgba(245,180,0,.08); }
/* Research example in Research's own layout (Homepage 3.1): the player card
   (jersey tile in team colours), Market / Side / Line, the free "Available
   history" summary (big rate, hit / missed split, counts), then Advanced
   Research (PRO): the window tiles and the game-by-game chart — filled
   green hits, outlined red misses, the dashed blue line with its value. */
.hp-rs { padding: 16px 18px 18px; display: grid; gap: 14px; }
.hp-rs-player { display: flex; align-items: center; gap: 12px; }
.hp-rs-jersey { flex: none; display: grid; place-items: center; align-content: center; width: 50px; height: 50px; border-radius: 12px; background: var(--rs-bg, #1e3a8a); color: var(--rs-fg, #fff); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 1px rgba(255,255,255,.12); }
.hp-rs-jersey b { font-size: 19px; font-weight: 800; line-height: 1; }
.hp-rs-jersey i { font-style: normal; font-size: 11px; vertical-align: 6px; margin-right: 1px; }
.hp-rs-jersey span { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; opacity: .85; }
.hp-rs-who { display: grid; gap: 4px; min-width: 0; }
.hp-rs-who b { font-size: 17px; color: #fff; font-weight: 750; }
.hp-rs-who > span { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--hp-soft); }
.hp-rs-controls { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, .8fr); gap: 10px; align-items: end; }
.hp-rs-field { display: grid; gap: 6px; min-width: 0; }
.hp-rs-lbl { font-size: 10.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hp-rs-select {
  height: 40px; padding: 0 30px 0 12px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.035) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%2394a3b8'/%3E%3C/svg%3E") right 12px center / 10px 6px no-repeat;
  color: #fff; font: inherit; font-size: 14px; font-weight: 600; -webkit-appearance: none; appearance: none; min-width: 0;
}
.hp-rs-select.is-static { display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
select.hp-rs-select { cursor: pointer; color-scheme: dark; }
.hp-seg { display: inline-flex; align-items: stretch; height: 40px; border-radius: 10px; background: rgba(255,255,255,.035); border: 1px solid var(--border); overflow: hidden; }
.hp-seg-b { min-width: 64px; padding: 0 14px; border: 0; background: transparent; font: inherit; font-size: 12.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.hp-seg-b[aria-pressed="true"] { background: var(--accent); color: #fff; border-radius: 9px; }
@media (hover: hover) { .hp-seg-b:hover:not([aria-pressed="true"]) { color: #fff; } }
.hp-rs-sum { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel2); }
.hp-rs-mkt { display: flex; align-items: center; gap: 10px; }
.hp-rs-mkt b { color: #fff; font-size: 15.5px; }
.hp-rs-pick { padding: 2px 8px; border-radius: 6px; border: 1px solid rgba(96,165,250,.45); background: rgba(59,130,246,.12); color: #bfdbfe; font-size: 12.5px; font-weight: 750; }
.hp-rs-k { margin-top: 10px !important; font-size: 10.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hp-rs-result { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 2px !important; }
.hp-rs-pct { font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; }
.hp-rs-txt { font-size: 14px; color: var(--hp-soft); }
.hp-rs-txt b { color: #fff; font-variant-numeric: tabular-nums; }
.hp-rs-split { display: flex; gap: 3px; height: 5px; margin-top: 10px; }
.hp-rs-split i { display: block; height: 100%; border-radius: 3px; background: var(--missed); transition: width .2s ease; }
.hp-rs-split i.is-hit { background: var(--hit); }
.hp-rs-split i.is-miss { flex: 1; }
.hp-rs-nums { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 12px 0 0; }
.hp-rs-nums div { display: flex; flex-direction: column-reverse; }
.hp-rs-nums dd { margin: 0; font-size: 19px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.2; }
.hp-rs-nums dt { font-size: 10.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hp-rs-nums .is-hit dd { color: #4ade80; }
.hp-rs-nums .is-miss dd { color: #f87171; }
.hp-rs-adv { display: grid; gap: 10px; padding-top: 4px; }
.hp-rs-advhead { display: flex; align-items: center; gap: 10px; }
.hp-rs-advhead b { color: #fff; font-size: 15px; }
.hp-rs-wins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hp-rs-win { display: grid; gap: 1px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.02); }
.hp-rs-win.is-on { border-color: rgba(96,165,250,.6); background: rgba(59,130,246,.1); }
.hp-rs-win-k { font-size: 10.5px; font-weight: 750; letter-spacing: .08em; color: var(--muted); }
.hp-rs-win.is-on .hp-rs-win-k { color: #bfdbfe; }
.hp-rs-win b { font-size: 18px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.hp-rs-win-n { font-size: 11.5px; color: var(--muted); }
.hp-rs-showing { font-size: 13px; color: var(--muted); }
.hp-rs-showing b { color: #fff; margin-right: 6px; }
.hp-rs-chart {
  position: relative; display: flex; align-items: flex-end; gap: clamp(3px, .45vw, 6px);
  height: 150px; padding: 18px 10px 0 34px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(2,6,23,.35);
}
.hp-rs-chart i {
  position: relative; flex: 1; min-width: 0; border-radius: 3px 3px 0 0; box-sizing: border-box;
  background: rgba(127,29,29,.35); border: 1.5px solid #ef4444; border-bottom: 0; transition: background .2s ease, border-color .2s ease;
}
.hp-rs-chart i.is-hit { background: var(--hit); border-color: var(--hit); }
.hp-rs-chart i span { position: absolute; left: -4px; right: -4px; top: -16px; text-align: center; font-size: 10.5px; font-style: normal; font-weight: 700; color: #e2e8f0; font-variant-numeric: tabular-nums; }
.hp-rs-lineat { position: absolute; left: 30px; right: 10px; z-index: 1; height: 0; border-top: 1.5px dashed #3b82f6; pointer-events: none; transition: bottom .2s ease; }
.hp-rs-lineat em { position: absolute; left: -30px; top: -8px; width: 26px; text-align: right; color: #60a5fa; font-size: 10.5px; font-weight: 800; font-style: normal; }
.hp-rs-axis { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11.5px; color: var(--muted); }
.hp-rs-key { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; font-size: 10.5px; }
.hp-rs-key i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: var(--hit); }
.hp-rs-key i.is-miss { margin-left: 6px; background: transparent; border: 1.5px solid #ef4444; }
.hp-rs-key i.is-line { margin-left: 6px; width: 14px; height: 0; border-radius: 0; background: none; border-top: 1.5px dashed #3b82f6; }

/* ---------- 03 track ---------- */
.hp-track-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hp-track-grid > .hp-copy { position: sticky; top: 96px; }
.hp-frame--tonight .tn2 { padding: 14px; }
/* The homepage's 10.5 px floor (tonight2.css sets these labels smaller on phones). */
.hp-frame--tonight .tn2-stat dt, .hp-frame--tonight .tn2-pstate { font-size: 10.5px; }
.hp-frame--tonight .tn2 > * + * { margin-top: 12px; }

.hp-facts { margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; max-width: 60ch; }
.hp-facts > div { padding: 14px 0; border-top: 1px solid var(--hp-line); }
.hp-facts dt { font-size: 14.5px; font-weight: 750; color: #fff; }
.hp-facts dd { margin: 4px 0 0; font-size: 14px; color: var(--hp-soft); }

/* ---------- Game Center (band) ---------- */
.hp-split--gc { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.hp-ctas--inline { margin-top: 24px; }
/* One game the way its public page shows it (pageKit.js gameHero +
   lineCard, gc-detail.js Team stats), then one game per league as on the
   hub. Team stats = the app's own renderer + /gc-detail.css. */
.hp-gc { padding: 14px; display: grid; gap: 12px; }
.hp-gc-board { padding: 12px 14px 14px; border-radius: 14px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); }
.hp-gc-eyebrow { font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hp-gc-eyebrow span { color: #60a5fa; }
.hp-gc-sb { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 10px; }
.hp-gc-team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hp-gc-team--home { flex-direction: row-reverse; text-align: right; }
.hp-gc-tile { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--gt-bg, #334155); color: var(--gt-fg, #fff); font-size: 14px; font-weight: 800; letter-spacing: .02em; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 14px -8px rgba(0,0,0,.8); }
.hp-gc-name { display: grid; min-width: 0; }
.hp-gc-name b { color: #fff; font-size: 14px; font-weight: 750; line-height: 1.25; }
.hp-gc-name span { font-size: 10.5px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hp-gc-mid { display: grid; justify-items: center; gap: 4px; }
.hp-gc-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(34,197,94,.12); color: #4ade80; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hp-gc-pill .hp-live-dot { width: 6px; height: 6px; box-shadow: none; }
.hp-gc-score { display: flex; align-items: baseline; gap: 8px; font-size: 34px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.hp-gc-n.is-lead { color: #fff; }
.hp-gc-n.is-trail { color: #94a3b8; }
.hp-gc-dash { color: #475569; font-size: 22px; }
.hp-gc-period { font-size: 11.5px; font-weight: 700; color: var(--hp-soft); }
.hp-gc-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 12px; align-items: start; }
.hp-gc-ts { margin: 0; padding: 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel2); }
.hp-gc-ts .gc-ts-list { grid-template-columns: minmax(0, 1fr); padding: 0 4px; }
.hp-gc-ts .gc-ts-head { margin-bottom: 4px; }
.hp-gc-ts .gc-ts-badge { --tb-h: 22px; --tb-w: 40px; }
.hp-gc-ts .gc-ts-row { padding: 7px 0 8px; }
.hp-gc-ts .gc-ts-v { font-size: 15px; }
.hp-gc-ts .gc-ts-label { font-size: 12px; }
.hp-gc-periods { padding: 12px 12px 6px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel2); }
.hp-gc-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: #fff; font-size: 14px; font-weight: 750; }
.hp-gc-h span { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.hp-gc-ptable { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.hp-gc-ptable th, .hp-gc-ptable td { padding: 8px 4px; text-align: center; border-top: 1px solid rgba(148,163,184,.1); }
.hp-gc-ptable thead th { border-top: 0; font-size: 10.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hp-gc-ptable tbody th { text-align: left; font-weight: 600; }
.hp-gc-ptable tbody th span { display: none; }
.hp-gc-ptable td { color: var(--hp-soft); font-weight: 650; }
.hp-gc-ptable .is-na { color: #475569; }
.hp-gc-ptable .is-total { background: rgba(59,130,246,.08); color: #fff; font-weight: 800; }
.hp-gc-ptable thead .is-total { color: #93c5fd; }
.hp-gc-todayhead { font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 2px; }
.hp-gc-today { list-style: none; margin: -4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hp-gc-game { display: grid; gap: 5px; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,.025); }
.hp-gc-game.is-open { border-color: rgba(96,165,250,.45); }
.hp-gc-lg { font-size: 10.5px; font-weight: 750; letter-spacing: .1em; color: var(--muted); }
.hp-gc-st { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.hp-gc-clock { color: var(--hp-soft); font-weight: 650; }
.hp-gc-trow { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.hp-gc-trow b { color: #94a3b8; font-size: 14px; font-variant-numeric: tabular-nums; }
.hp-gc-trow.is-lead b { color: #fff; }
.hp-frame--gc .pd-tb--sm, .hp-frame .pd-tb--sm { --tb-h: 20px; --tb-w: 34px; font-size: 11px; }

/* ---------- 04 review: an uneven grid ---------- */
.hp-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.hp-col { padding: 22px 22px 20px; border-radius: 18px; background: var(--hp-card); border: 1px solid var(--hp-card-bd); min-width: 0; }
.hp-col > p, .hp-community-copy > p { margin-top: 8px; font-size: 14.5px; color: var(--hp-soft); }
.hp-col > p.hp-fine { font-size: 12.5px !important; margin-top: 10px !important; }
.hp-col--stats { grid-column: span 7; }
.hp-col--hist { grid-column: span 5; }
.hp-col--community { grid-column: span 12; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.hp-community-demo { position: relative; }
.hp-post { border-radius: 14px; background: #0b1324; border: 1px solid var(--hp-line); overflow: hidden; }
.hp-post-head { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--hp-line); }
.hp-post-head b { display: block; color: #fff; font-size: 14px; }
.hp-post-head em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.hp-post-av { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(59,130,246,.2); color: #bfdbfe; font-size: 12px; font-weight: 800; }
.hp-post .pdc-legs { padding: 2px 6px; }
.hp-post .pdc-leg { padding: 9px 10px; }
.hp-post-foot { display: flex; align-items: center; gap: 18px; padding: 10px 14px; border-top: 1px solid var(--hp-line); font-size: 12.5px; color: var(--muted); }
.hp-post-foot .hp-example { margin-left: auto; }
.hp-hist { margin-top: 14px; display: grid; gap: 8px; }
.hp-hist .pdc-head { padding: 6px 8px 6px 2px; }
.hp-hist .pdc-segs { max-width: 260px; }
.hp-stats-cap { caption-side: top; text-align: left; padding: 0 0 6px; color: #fff; font-size: 14px; font-weight: 700; }
.hp-stats-cap span { margin-left: 8px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.hp-stats { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.hp-stats th, .hp-stats td { padding: 9px 0; text-align: left; border-bottom: 1px solid var(--border); font-weight: 400; }
.hp-stats thead th { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hp-stats tbody th { color: #fff; font-weight: 600; }
.hp-stats td { color: var(--hp-soft); white-space: nowrap; }
.hp-stats td:last-child { text-align: right; }
.hp-bar { display: inline-block; width: 52px; height: 5px; margin-right: 8px; vertical-align: 2px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.hp-bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.hp-mini { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--border); }
.hp-mini li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; color: var(--text); }
.hp-mini li:last-child { border-bottom: 0; }


/* ---------- plans ---------- */
.hp-plans-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 40px; align-items: end; margin-bottom: 28px; }
.hp-plans-sub { color: var(--hp-soft); max-width: 52ch; justify-self: end; font-size: 15.5px; }
.hp-plans-sub b { color: #fff; }

/* ---------- final call to action ---------- */
.hp-final { padding-block: clamp(56px, 7vw, 104px) 8px; }
.hp-final-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  padding: clamp(24px, 3.5vw, 44px) clamp(20px, 3.5vw, 48px); border-radius: 20px;
  border: 1px solid rgba(59,130,246,.38); background: linear-gradient(120deg, rgba(37,99,235,.22), rgba(15,23,42,.6) 70%);
}
.hp-final h2 { max-width: 24ch; }
.hp-final-sub { margin-top: 8px; color: var(--hp-soft); font-size: 16px; }

.hp .site-footer-note { flex-basis: 100%; margin: 0 0 2px; line-height: 1.5; }
.hp .site-footer-note a { text-decoration: underline; text-underline-offset: 2px; }

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1180px) {
  .hp-float--tonight { display: none; }
}
@media (max-width: 1080px) {
  .hp-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hp-hero-copy { max-width: 760px; }
  .hp-frame--hero { margin-left: 0; max-width: none; }
  .hp-float--clock { left: auto; right: 12px; }
  .hp-float--toast { left: 12px; }
  .hp-split, .hp-research-grid, .hp-track-grid, .hp-split--gc { grid-template-columns: minmax(0, 1fr); }
  .hp-research-grid > .hp-copy { order: -1; }
  .hp-track-grid > .hp-copy { position: static; }
  .hp-plans-head { grid-template-columns: minmax(0, 1fr); }
  .hp-plans-sub { justify-self: start; }
  .hp-league-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-col--stats, .hp-col--hist { grid-column: span 6; }
}
@media (max-width: 860px) {
  .hp-col--stats, .hp-col--hist, .hp-col--community { grid-column: 1 / -1; }
  .hp-col--community { grid-template-columns: minmax(0, 1fr); }
  .hp-flow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .hp-flow ol::before { display: none; }
}
@media (max-width: 640px) {
  .hp-hero { padding-top: 24px; }
  .hp-hero h1 { font-size: clamp(38px, 11.5vw, 50px); letter-spacing: -.035em; }
  .hp-h1-live { white-space: normal; }
  .hp-eyebrow { margin-bottom: 16px; }
  .hp-lede { font-size: 17px; line-height: 1.5; margin-top: 16px; }
  .hp-hero .hp-ctas { margin-top: 22px; }
  .hp-hero .hp-btn { flex: 1 1 100%; }
  .hp-stage { padding: 0 0 8px; margin-top: 4px; }
  .hp-stage-glow { display: none; }
  .hp-float--clock { display: none; }
  .hp-float--toast { position: relative; left: auto; bottom: auto; margin: 10px 0 0; max-width: none; }
  .hp-league-row { gap: 8px; }
  .hp-lg-main { grid-template-columns: 1fr; row-gap: 6px; padding: 12px 12px 8px 15px; }
  .hp-lg-main b { grid-row: auto; font-size: 19px; }
  .hp-lg-alt { margin-top: 6px; }
  /* The path: a vertical rail. */
  .hp-flow ol { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hp-flow ol::before { display: block; left: 14px; right: auto; top: 14px; bottom: 14px; width: 1px; height: auto; background: linear-gradient(180deg, rgba(59,130,246,.6), rgba(59,130,246,.15)); }
  .hp-flow a { padding: 4px 0 18px 46px; }
  .hp-flow li:last-child a { padding-bottom: 0; }
  .hp-sec { padding-top: 56px; }
  .hp-band { margin-top: 56px; padding-block: 44px; }
  .hp-copy > p:not(.hp-kicker) { font-size: 15.5px; line-height: 1.6; }
  .hp-copy > p.hp-fine { line-height: 1.5; }
  .hp-points { gap: 12px; }
  .hp-points li { font-size: 15px; line-height: 1.55; }
  .hp-import-body { grid-template-columns: minmax(0, 1fr); }
  .hp-slip, .hp-import-arrow { display: none; }
  .hp-review { border-left: 0; }
  .hp-rs { padding: 14px 12px 16px; }
  .hp-rs-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hp-rs-controls > :first-child { grid-column: 1 / -1; }
  .hp-seg { display: flex; }
  .hp-seg-b { flex: 1; min-width: 0; }
  .hp-rs-pct { font-size: 34px; }
  .hp-rs-chart { height: 140px; padding-left: 30px; }
  .hp-rs-chart i span { display: none; }
  .hp-rs-win { padding: 7px 8px; }
  .hp-rs-win-n { display: none; }
  .hp-review { padding: 12px 10px; }
  .hp-review-row { padding: 9px 10px; gap: 10px; }
  .hp-facts { grid-template-columns: minmax(0, 1fr); }
  .hp-tier { grid-template-columns: 46px 1fr; gap: 10px; }
  .hp-tiers dd, .hp-facts dd { line-height: 1.5; }
  .hp-gc { padding: 10px; }
  .hp-gc-sb { gap: 6px; }
  .hp-gc-team, .hp-gc-team--home { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .hp-gc-name b { font-size: 12.5px; }
  .hp-gc-tile { width: 40px; height: 40px; font-size: 13px; }
  .hp-gc-score { font-size: 28px; }
  .hp-gc-grid { grid-template-columns: minmax(0, 1fr); }
  .hp-gc-today { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-frame--tonight .tn2 { padding: 10px; }
  .hp-col { padding: 18px 16px; }
  .hp-final { padding-block: 56px 0; }
  .hp-final-card { display: grid; }
  .hp-final .hp-ctas { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hp-final .hp-btn { width: 100%; }
  /* Final CTA: only the content INSIDE the card is centred (owner 2026-11-17). */
  .hp-final-card { justify-items: center; text-align: center; }
  .hp-final h2 { margin-inline: auto; }
  .hp-final-sub { text-wrap: balance; }
  .hp-final .hp-ctas { width: 100%; max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-h1-live::after, .hp-live-dot { animation: none; }
  .hp-float { animation: none; }
  .hp-lg { transition: none; }
  .hp-lg:has(> a.hp-lg-main:hover) { transform: none; }
  .hp-rs-lineat, .hp-rs-chart i, .hp-rs-split i, .hp-btn { transition: none; }
  .hp-btn--primary:hover { transform: none; }
}
html:has(body.hp) { scroll-behavior: smooth; scroll-padding-top: 84px; }
/* v2.2.3 RC3: phones have the two-row sticky header (119 px: brand row +
   section menu, navbar.css ≤ 720 px) — an anchor (#pricing-pro, #pricing,
   #how…) must land below it, not under it. */
@media (max-width: 720px) { html:has(body.hp) { scroll-padding-top: 132px; } }
/* Root scrollbar track (Homepage 3.1, 2026-11-19). navbar.css gives the root
   a transparent track over html's background-color (shared.css --bg1,
   #020617): on every other page that IS the colour around the scrollbar
   (app pages: their body gradient ends in it). This page paints its own
   navy (body.hp3 above), so the track read as a darker strip. Same rule as
   the app pages: html = the page's own base colour (= .hp --hp-deep). */
html:has(body.hp3) { background-color: #050a16; }
@media (prefers-reduced-motion: reduce) { html:has(body.hp) { scroll-behavior: auto; } }

/* PRO trial note under the plan cards (2026-11-18) — server-answered only. */
.hp-trial { margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(245,180,0,.26); background: rgba(245,180,0,.05); color: var(--hp-soft); font-size: 14px; line-height: 1.55; }
.hp-trial b { color: #fff; }
.hp-trial a { color: #fcd34d; font-weight: 650; }
.pl-trial-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 750; color: #1a1300; background: var(--pro-gold, #f5b400); white-space: nowrap; }

/* v2.2.3: signed-out PRO trial offer under the hero CTAs (shown only while
   the plan has a trial; /pd-pro-offer.js plan()). */
.hp-hero-trial { margin-top: 18px; max-width: 520px; }
.hp-hero-trial[hidden] { display: none; }
.hp-hero-trial-cta { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: var(--hp-soft);
  border: 1px solid rgba(245,180,0,.38); background: linear-gradient(135deg, rgba(245,180,0,.12), rgba(245,180,0,.04)); transition: border-color 150ms, transform 150ms; }
.hp-hero-trial-cta:hover { border-color: rgba(245,180,0,.65); transform: translateY(-1px); }
.hp-hero-trial-cta:focus-visible { outline: 2px solid #fcd34d; outline-offset: 2px; }
.hp-hero-trial-badge { flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; color: #1a1300; background: var(--pro-gold, #f5b400); }
.hp-hero-trial-tx { display: grid; gap: 2px; min-width: 0; font-size: 13px; line-height: 1.35; }
.hp-hero-trial-tx b { color: #fff; font-size: 15.5px; font-weight: 750; }
.hp-hero-trial-go { margin-left: auto; flex: none; color: #fcd34d; font-size: 18px; font-weight: 700; }
.hp-hero-trial .pd-trial-fine { margin-top: 8px; }
