/* ThePropDealer subscriber site — design system.
   Palette source of truth: betslip_landing/books.py TPD dict.
   Type: Barlow Condensed (display) / Manrope (body, UI) / Geist Mono (odds, prices, dates). */

:root {
  --bg: #070f17;
  --panel: #0c1a29;
  --panel-2: #13293b;
  --line: rgba(53, 217, 128, 0.16);
  --line-soft: rgba(234, 242, 248, 0.08);
  --green: #35d980;
  --green-bright: #3fe08a;
  --green-press: #2ecc75;
  --cyan: #34c6e0;
  --gold: #f5d23a;
  --text: #eaf2f8;
  --muted: #6b8299;
  --muted-2: #55697d;
  --danger: #e5484d;

  /* printed-ticket surfaces (signature: FREE TODAY card + slip drawer only) */
  --paper: #f4f2ec;
  --paper-ink: #17222d;
  --paper-muted: #6d6e63;
  --paper-line: #d6cfbe;
  --paper-green: #0f7a44;

  /* chart tokens (validated vs --panel, dark mode) */
  --viz-over: #2fca79;
  --viz-under: #7d94ab;
  --viz-line: #f5d23a;
  --viz-1b: #3987e5;
  --viz-2b: #008300;
  --viz-3b: #d55181;
  --viz-hr: #c98500;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --radius: 8px;      /* cards */
  --radius-sm: 6px;   /* buttons, inputs */
  --radius-xs: 4px;   /* chips, tags */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(120% 90% at 50% -10%, #13293b 0%, #0c1a29 42%, #070f17 78%) fixed,
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-bright); }
img { max-width: 100%; }
[x-cloak] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }

/* every numeric surface reads in tabular mono */
.odds, .odds-price, .ai-chip, .pick-proj, .pick-rank, .date-chip, .sub-chip,
.tag, .badge-day, .badge-free, .odds-stamp, .intel-cell .v, .game-card .score,
.bet-btn .px, .free-stamp, .sealed-label {
  font-variant-numeric: tabular-nums;
}

/* inline icon sizing (stroke SVGs, currentColor) */
.ic { display: inline-flex; line-height: 0; }
.ic svg { width: 22px; height: 22px; }
.ic-check { width: 14px; height: 14px; flex: none; }
.ic-lock { width: 15px; height: 15px; color: var(--muted-2); flex: none; }
.ic-page { width: 32px; height: 32px; color: var(--muted); margin-bottom: 6px; }
.chev-ic { width: 14px; height: 14px; vertical-align: -2px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 15, 23, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 18px;
  height: 60px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; letter-spacing: 0.2px;
  color: var(--text); white-space: nowrap;
}
.brand img {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--green);
}
.brand b { color: var(--green); font-weight: 700; }

.nav {
  display: flex; gap: 4px; align-items: center;
  flex: 1;   /* overflow:visible — the Models hub means the bar never overflows,
                and any clip would hide the dropdown menu that drops below it */
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: var(--muted); font-weight: 600; font-size: 13px;
  padding: 7px 11px; border-radius: var(--radius-sm); white-space: nowrap;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.nav a.active, .nav a:hover { color: var(--text); background: var(--panel-2); }

/* Models hub dropdown — one nav slot, scales to any number of models */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--muted); font-family: var(--font-body); font-weight: 600; font-size: 13px;
  padding: 7px 11px; border: 0; background: transparent; border-radius: var(--radius-sm);
  cursor: pointer; white-space: nowrap;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.nav-drop-btn:hover, .nav-drop-btn.active { color: var(--text); background: var(--panel-2); }
.nav-drop-btn .chev-ic { width: 14px; height: 14px; }
.nav-menu {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  min-width: 320px; padding: 6px;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius); box-shadow: 0 14px 40px rgba(0,0,0,0.5);
}
.nav-menu a {
  color: var(--muted); font-weight: 600; font-size: 13px;
  padding: 9px 11px; border-radius: var(--radius-sm); white-space: nowrap;
}
.nav-menu a:hover { color: var(--text); background: var(--panel-2); }
.nav-menu a.on { color: var(--green-bright); background: rgba(53, 217, 128, 0.08); }

.auth-zone { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.avatar { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--panel-2); }
.viewer-name { font-size: 13px; font-weight: 700; }
.sub-chip {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  color: var(--bg); background: var(--green);
  padding: 2px 8px; border-radius: var(--radius-xs); letter-spacing: 0.06em;
}
.logout-link { color: var(--muted-2); font-size: 12px; }

/* ---------- buttons (flat, no glow, no movement) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  border-radius: var(--radius-sm); padding: 11px 20px; border: 0; cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.btn-primary { background: var(--green); color: #05230f; }
.btn-primary:hover { background: var(--green-press); color: #05230f; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-bright); }
.btn-discord { background: #5865f2; color: #fff; }
.btn-discord:hover { background: #4f5ce8; color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 12.5px; border-radius: var(--radius-sm); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 34px; padding: 46px 0 30px; align-items: center; }
.eyebrow {
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  color: var(--muted);
  margin: 0 0 14px;
}
.display {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 5vw, 52px); line-height: 1.05;
  letter-spacing: 0;
  margin: 0 0 16px; color: var(--text);
}
.display em { font-style: normal; color: var(--green); }
.lede { color: var(--muted); font-size: 15.5px; margin: 0 0 24px; max-width: 46ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- the free card: printed ticket (signature) ---------- */
/* Night mode: the free ticket prints on dark stock; the light theme
   restores the cream paper. Tokens are SCOPED here so the slip keeps its own
   surfaces. */
.free-card {
  --paper: #1d2530;
  --paper-ink: #e9eef4;
  --paper-muted: #94a2b0;
  --paper-line: #33414f;
  --paper-green: #2fca79;
  --paper-wm: rgba(255, 255, 255, 0.045);
  --paper-chip: #141b23;
  position: relative; isolation: isolate;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: var(--radius);
  padding: 20px 22px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.free-card::before {
  content: 'ThePropDealer';
  position: absolute; inset: 0; z-index: -1;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-16deg);
  font-family: var(--font-mono); font-weight: 500; font-size: 42px;
  letter-spacing: 0.04em; white-space: nowrap;
  color: var(--paper-wm, rgba(23, 34, 45, 0.05));
  overflow: hidden; pointer-events: none;
}
/* punched notches at the tear line (fixed 48px stub) */
.free-card.has-stub {
  padding-bottom: 0;
  -webkit-mask:
    radial-gradient(circle 9px at 0 calc(100% - 48px), transparent 98%, #000 100%),
    radial-gradient(circle 9px at 100% calc(100% - 48px), transparent 98%, #000 100%);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle 9px at 0 calc(100% - 48px), transparent 98%, #000 100%),
    radial-gradient(circle 9px at 100% calc(100% - 48px), transparent 98%, #000 100%);
  mask-composite: intersect;
}

.free-stamp {
  position: absolute; top: 14px; right: 14px; transform: rotate(-3deg);
  font-family: var(--font-mono); font-weight: 500; font-size: 11px;
  letter-spacing: 0.14em; color: #231a00;
  background: var(--gold);
  padding: 4px 10px; border-radius: var(--radius-xs);
}
.free-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; padding-right: 100px; }
.free-head h2 {
  font-family: var(--font-mono); font-weight: 500; font-size: 15px;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin: 0; color: var(--paper-ink);
}
.free-sub { font-family: var(--font-mono); color: var(--paper-muted); font-size: 11px; line-height: 1.5; margin: 0 0 12px; }

.free-card .tear { margin: 12px -22px 0; border-top: 2px dashed var(--paper-line); }
.free-more {
  display: flex; align-items: center; justify-content: center;
  height: 48px; margin: 0; padding: 0;
  font-family: var(--font-mono); font-weight: 500; font-size: 12.5px;
  color: var(--paper-green);
}
.free-more:hover { color: #0c6338; }

/* paper overrides for shared components inside the ticket */
.free-card .mini-rows { gap: 0; }
.free-card .mini-row {
  background: none; border: 0; border-bottom: 1px dashed var(--paper-line);
  border-radius: 0; padding: 9px 0;
}
.free-card .mini-row:last-child { border-bottom: 0; }
.free-card .mini-row .who .p { font-family: var(--font-mono); font-weight: 500; font-size: 13px; color: var(--paper-ink); }
.free-card .mini-row .who .m { color: var(--paper-muted); font-family: var(--font-mono); font-size: 11px; }
.free-card .mini-row .who .m b { color: var(--paper-ink); }
.free-card .odds { color: var(--paper-ink); }
.free-card .ai-chip {
  color: var(--paper-green);
  background: rgba(15, 122, 68, 0.08);
  border-color: rgba(15, 122, 68, 0.3);
}
.free-card .ai-chip .lbl { color: var(--paper-muted); }
.free-card .headshot { background: var(--paper-line); }
.free-card .chart-summary { color: var(--paper-muted); }
.free-card .empty-note { border-color: var(--paper-line); color: var(--paper-muted); }

/* ---------- mini pick rows (teasers on dark cards) ---------- */
.mini-rows { display: flex; flex-direction: column; gap: 6px; }
.mini-row {
  display: flex; align-items: center; gap: 10px;
  background: rgba(7, 15, 23, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
/* overflow:hidden on the flex ITEM too — Safari won't shrink it when only
   the grandchild clips, which drew the A.I. chip over long team names. */
.mini-row .who { flex: 1; min-width: 0; overflow: hidden; }
.mini-row .ai-chip { flex: none; }
.mini-row .who .p { font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row .who .m { color: var(--muted); font-size: 11.5px; }
.headshot {
  width: 40px; height: 30px; object-fit: cover; border-radius: var(--radius-xs);
  background: var(--panel-2); flex: none;
}
.team-logo { width: 20px; height: 20px; object-fit: contain; flex: none; }

.ai-chip {
  font-family: var(--font-mono); font-weight: 500; font-size: 12.5px;
  color: var(--green-bright);
  background: rgba(53, 217, 128, 0.1);
  border: 1px solid rgba(53, 217, 128, 0.35);
  padding: 3px 9px; border-radius: var(--radius-xs); white-space: nowrap;
}
.ai-chip .lbl { color: var(--muted); font-size: 9.5px; letter-spacing: 0.1em; margin-right: 5px; }
.odds { font-family: var(--font-mono); font-weight: 500; color: var(--text); }

/* ---------- sections / cards grid ---------- */
.section-head { display: flex; align-items: baseline; gap: 14px; margin: 34px 0 16px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 26px; letter-spacing: 0; margin: 0;
}
.section-head .hint { color: var(--muted-2); font-size: 12.5px; }

.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.model-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color 0.12s ease;
}
.model-card:hover { border-color: var(--line); }
/* centered model title; badges sit top-right without pushing it off-center */
.model-card .head { display: flex; align-items: center; justify-content: center; gap: 9px; position: relative; min-height: 24px; }
.model-card .head h3 {
  max-width: calc(100% - 160px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-family: var(--font-display); font-weight: 600; font-size: 19px;
  letter-spacing: 0.01em; margin: 0; color: var(--text); text-align: center;
}
.model-card .head .badge-free,
.model-card .head .badge-day { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.model-card .blurb { color: var(--muted); font-size: 12.5px; margin: 0; }
.model-card .foot { display: flex; align-items: center; justify-content: space-between; color: var(--muted-2); font-size: 12px; margin-top: auto; }
.model-card .locked-note { display: flex; align-items: center; gap: 6px; }
.badge-free {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.14em; color: #231a00; background: var(--gold);
  padding: 2px 8px; border-radius: var(--radius-xs);
}
.badge-day {
  font-family: var(--font-mono); font-size: 10px; color: var(--muted);
  border: 1px solid var(--line-soft); padding: 2px 8px; border-radius: var(--radius-xs);
}

/* ---------- shells / ufc strip ---------- */
.shell-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.shell-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(12, 26, 41, 0.6);
  border: 1px dashed var(--line-soft);
  border-radius: var(--radius);
  padding: 14px 16px; color: var(--muted);
}
.shell-card .t { font-weight: 700; color: var(--text); font-size: 14px; }
.shell-card .r { font-size: 12px; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 8px 0 10px; }
.step {
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 18px;
}
.step .n {
  font-family: var(--font-body); font-weight: 600; color: var(--muted); font-size: 12px;
  margin-bottom: 8px;
}
.step .t { font-weight: 700; margin-bottom: 6px; }
.step .d { color: var(--muted); font-size: 13px; }

/* ---------- model page ---------- */
.page-head { padding: 34px 0 6px; }
.page-head .top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.page-head h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 4vw, 40px); margin: 0; letter-spacing: 0;
}
.page-blurb { color: var(--muted); margin: 8px 0 0; max-width: 62ch; }

.date-chips { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0 4px; scrollbar-width: none; }
.date-chips::-webkit-scrollbar { display: none; }
.date-chip {
  font-family: var(--font-mono); font-size: 12px; font-weight: 400; white-space: nowrap;
  color: var(--muted); background: var(--panel);
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 6px 13px;
  transition: border-color 0.12s ease, color 0.12s ease;
}
.date-chip.active { color: var(--bg); background: var(--green); border-color: var(--green); font-weight: 500; }
.date-chip:hover:not(.active) { color: var(--text); border-color: var(--line); }

.filter-bar {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 10px 14px; margin: 12px 0 16px;
}
.filter-bar input[type="search"], .filter-bar select {
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 13px; padding: 8px 11px;
}
.filter-bar input[type="search"] { min-width: 170px; }
.seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 3px; }
.seg button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  padding: 6px 12px; border-radius: var(--radius-xs);
}
.seg button.on { background: var(--panel-2); color: var(--green-bright); }
.filter-count { color: var(--muted-2); font-size: 12px; margin-left: auto; }

/* ---------- pick table ---------- */
.pick-list { display: flex; flex-direction: column; gap: 8px; }
.pick {
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); overflow: hidden;
}
.pick.top-pick { border-color: rgba(53, 217, 128, 0.4); }
/* Grid, not a flex squeeze: [rank] [headshot] [name+meta] [prop+score].
   The name column owns the flexible track and WRAPS — a player's name never
   truncates; the old flex layout collapsed it to "K…" on phones. */
.pick-main {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center; column-gap: 10px;
  padding: 11px 14px; cursor: pointer; width: 100%;
  background: transparent; border: 0; color: inherit; text-align: left;
  font: inherit;
}
.pick-main:hover { background: rgba(19, 41, 59, 0.5); }
.pick-rank { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }
.pick-who { min-width: 0; display: flex; align-items: center; gap: 10px; grid-column: 3; }
.pick-who .names { min-width: 0; }
.pick-who .p { font-weight: 700; font-size: 14.5px; line-height: 1.25; overflow-wrap: anywhere; }
.pick-who .m { color: var(--muted); font-size: 12px; line-height: 1.35; }
.pick-right {
  grid-column: 4; display: flex; flex-direction: column;
  align-items: flex-end; gap: 4px; text-align: right; min-width: 0;
}
.pick-right .chev-row { display: flex; align-items: center; gap: 7px; }
.pick-prop { font-weight: 700; font-size: 13.5px; }
.pick-prop .dir-over { color: var(--green-bright); }
.pick-prop .dir-under { color: var(--cyan); }
.pick-proj { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.chev { color: var(--muted-2); flex: none; transition: transform 0.18s ease; line-height: 0; }
.chev svg { width: 16px; height: 16px; }
.pick.open .chev { transform: rotate(180deg); }

.pick-detail { border-top: 1px solid var(--line-soft); padding: 14px; background: rgba(7, 15, 23, 0.45); }
.detail-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.detail-tabs button {
  border: 1px solid var(--line-soft); background: transparent; color: var(--muted);
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  border-radius: var(--radius-sm); padding: 6px 13px; cursor: pointer;
}
.detail-tabs button.on { color: var(--green-bright); border-color: rgba(53, 217, 128, 0.4); background: rgba(53, 217, 128, 0.08); }
.detail-body { min-height: 120px; }
.detail-note { color: var(--muted-2); font-size: 12px; margin-top: 8px; }

/* sealed (locked) rows */
.pick.sealed {
  position: relative;
  background:
    repeating-linear-gradient(-45deg, rgba(19, 41, 59, 0.55) 0 10px, rgba(12, 26, 41, 0.55) 10px 20px),
    var(--panel);
  border-style: dashed;
}
.pick.sealed .pick-main { cursor: default; }
.sealed-bar {
  height: 12px; border-radius: var(--radius-xs); flex: 1; max-width: 260px;
  background: linear-gradient(90deg, var(--panel-2), rgba(107, 130, 153, 0.35));
}
.sealed-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted-2); }

.locked-cta {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px; margin-top: 14px;
}
.locked-cta h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; margin: 0; }
.locked-cta p { color: var(--muted); font-size: 13.5px; margin: 0; max-width: 52ch; }
.locked-cta .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ---------- cheat sheet ---------- */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.game-card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 15px; }
.game-card .teams { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.game-card .team { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; min-width: 0; }
.game-card .team span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-card .at { color: var(--muted-2); font-family: var(--font-mono); font-size: 11px; }
.game-card .score { font-family: var(--font-mono); font-weight: 500; font-size: 15px; color: var(--text); }
.game-picks { display: flex; flex-direction: column; gap: 6px; }
.game-pick-row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: rgba(7, 15, 23, 0.5); border-radius: var(--radius-sm); padding: 7px 11px; font-size: 12.5px;
}
.game-pick-row .k { color: var(--muted); font-weight: 600; font-size: 10.5px; letter-spacing: 0.08em; }
.game-pick-row .v { font-weight: 700; }
.game-pick-row .v .mono { font-family: var(--font-mono); font-weight: 400; color: var(--muted); font-size: 11.5px; }
.game-card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.intel-btn {
  border: 1px solid var(--line-soft); background: transparent; color: var(--text);
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  border-radius: var(--radius-sm); padding: 6px 12px; cursor: pointer;
  transition: border-color 0.12s ease;
}
.intel-btn:hover { border-color: var(--green); }

/* drawer */
.drawer-scrim { position: fixed; inset: 0; background: rgba(3, 8, 13, 0.7); z-index: 90; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 94vw); z-index: 95;
  background: var(--panel); border-left: 1px solid var(--line);
  padding: 20px; overflow-y: auto;
}
.drawer h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0 0 4px; }
.drawer .close {
  position: absolute; top: 14px; right: 14px;
  background: var(--panel-2); border: 0; color: var(--muted);
  width: 30px; height: 30px; border-radius: var(--radius-sm); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.drawer .close svg { width: 15px; height: 15px; }
.intel-block { margin: 16px 0; }
.intel-block .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; }
.intel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.intel-cell { background: rgba(7, 15, 23, 0.5); border-radius: var(--radius-sm); padding: 9px 11px; }
.intel-cell .l { color: var(--muted-2); font-size: 10.5px; }
.intel-cell .v { font-weight: 500; font-size: 14px; font-family: var(--font-mono); }

/* ---------- ufc ---------- */
.fight-card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 13px 15px; }
.fight-card .fighters { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.fight-card .fighters .vs { color: var(--muted-2); font-family: var(--font-mono); font-size: 10.5px; }
.fight-card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tag {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  border: 1px solid var(--line-soft); border-radius: var(--radius-xs); padding: 3px 8px;
}
.tag.win { color: var(--green-bright); border-color: rgba(53, 217, 128, 0.35); }
.prob-bar { height: 5px; border-radius: 3px; background: var(--panel-2); margin-top: 10px; overflow: hidden; }
.prob-bar i { display: block; height: 100%; background: var(--green); }

/* ---------- odds + bet links ---------- */
.book-picker { position: relative; }
.book-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--panel-2); border: 1px solid var(--line-soft);
  color: var(--text); font-family: var(--font-body); font-weight: 600; font-size: 12px;
  border-radius: var(--radius-sm); padding: 6px 10px; cursor: pointer; white-space: nowrap;
  transition: border-color 0.12s ease;
}
.book-btn:hover { border-color: var(--line); }
.book-btn .cap { color: var(--muted-2); font-size: 10px; letter-spacing: 0.08em; }
.book-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 6px; min-width: 168px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.book-menu .hd {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--muted-2); padding: 6px 10px 8px;
}
.book-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: var(--radius-sm); color: var(--text);
  font-size: 13px; font-weight: 600;
}
.book-menu a:hover { background: var(--panel-2); }
.book-menu a.on { color: var(--green-bright); }

.odds-line { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.odds-price {
  font-family: var(--font-mono); font-weight: 500; font-size: 13px;
  color: var(--text);
}
.odds-book { color: var(--muted-2); font-size: 10.5px; font-weight: 600; }
.best-tag {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em;
  color: #231a00; background: var(--gold);
  padding: 1px 6px; border-radius: var(--radius-xs);
}

.bet-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--green);
  color: #05230f; font-weight: 700; font-size: 12.5px;
  border-radius: var(--radius-sm); padding: 10px 14px;   /* >=40px tap target */
  max-width: 100%; min-width: 0;
  transition: background-color 0.12s ease;
}
.bet-btn:hover { background: var(--green-press); color: #05230f; }
.bet-btn .px { font-family: var(--font-mono); font-weight: 500; opacity: 0.85; }

.bet-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 9px 14px; border-top: 1px solid var(--line-soft);
  background: rgba(7, 15, 23, 0.4);
}
.bet-row .alt {
  color: var(--muted-2); font-size: 11.5px; font-family: var(--font-mono);
}
.bet-row .alt a { color: var(--muted); }
.bet-row .alt a:hover { color: var(--green-bright); }
.odds-stamp {
  color: var(--muted-2); font-size: 11px; margin-left: auto;
  font-family: var(--font-mono);
}

/* ---------- charts ---------- */
.chart-box { width: 100%; }
.chart-box svg { display: block; width: 100%; height: auto; }
.chart-box svg[aria-label*="spray"] { max-width: 560px; margin: 0 auto; }
.chart-legend { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.chart-legend .item { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.chart-legend .swatch { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.chart-legend .swatch.outline { background: transparent; border: 1.6px solid var(--viz-under); }
.chart-legend .swatch.rule { width: 14px; height: 0; border-top: 2px dashed var(--viz-line); border-radius: 0; }
.viz-tooltip {
  position: fixed; z-index: 120; pointer-events: none;
  background: #04121f; border: 1px solid var(--line);
  color: var(--text); font-size: 12px; line-height: 1.45;
  border-radius: var(--radius-sm); padding: 7px 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 230px;
}
.viz-tooltip .tt-title { font-weight: 700; }
.viz-tooltip .tt-muted { color: var(--muted); }
.chart-summary { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.chart-summary b { color: var(--text); }

/* ---------- misc pages ---------- */
.center-card {
  max-width: 460px; margin: 70px auto; text-align: center;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 34px 26px;
}
.center-card h1 { font-family: var(--font-display); font-weight: 600; font-size: 28px; margin: 0 0 10px; }
.center-card p { color: var(--muted); }

.empty-note {
  text-align: center; color: var(--muted); padding: 40px 0;
  border: 1px dashed var(--line-soft); border-radius: var(--radius);
}

/* ---------- footer ---------- */
.site-footer { margin-top: 60px; border-top: 1px solid var(--line-soft); padding: 30px 0 40px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.footer-wordmark { font-weight: 700; font-size: 15px; }
.footer-wordmark b { color: var(--green); }
.site-footer p { color: var(--muted-2); font-size: 11.5px; margin: 0; max-width: 68ch; }
.site-footer .rg { color: var(--muted); font-weight: 600; font-size: 12px; }

/* ---------- sealed stack (replaces N identical locked rows) ---------- */
.sealed-stack {
  position: relative; margin-top: 10px;
  border: 1px dashed var(--line-soft); border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(-45deg, rgba(19, 41, 59, 0.55) 0 10px, rgba(12, 26, 41, 0.55) 10px 20px),
    var(--panel);
  padding: 18px 16px 14px; text-align: center;
}
.sealed-stack::before, .sealed-stack::after {
  content: ''; position: absolute; left: 8px; right: 8px; height: 8px;
  border: 1px dashed var(--line-soft); border-bottom: 0;
  border-radius: 8px 8px 0 0; background: rgba(12, 26, 41, 0.8);
}
.sealed-stack::before { top: -6px; }
.sealed-stack::after { top: -11px; left: 16px; right: 16px; opacity: 0.6; }
.sealed-stack .n {
  font-family: var(--font-display); font-weight: 600; font-size: 24px;
  letter-spacing: 0.01em; color: var(--text);
}
.sealed-stack .t { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted-2); margin-top: 2px; text-transform: uppercase; }

/* ---------- bottom tab bar (mobile app frame) ---------- */
.tabbar { display: none; }
@media (max-width: 860px) {
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: rgba(7, 15, 23, 0.92); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-soft);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: var(--muted-2); font-size: 10px; font-weight: 600;
    padding: 5px 2px; border-radius: var(--radius-sm); min-height: 44px; justify-content: center;
  }
  .tabbar a .ic svg { width: 22px; height: 22px; }
  .tabbar a.active { color: var(--green); }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  /* compact single-row header; the bottom tab bar replaces the nav */
  .site-header .wrap { height: 56px; gap: 10px; }
  .nav { display: none; }
  .brand { font-size: 15px; }
  .brand img { width: 28px; height: 28px; }
  .auth-zone { margin-left: auto; gap: 8px; }
  .auth-zone .btn-discord { padding: 8px 12px; font-size: 12px; }
  .book-btn { padding: 7px 9px; }
  .book-btn .cap { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 22px; gap: 22px; }
  .steps { grid-template-columns: 1fr; }
  .pick-prop { font-size: 12.5px; }
  .pick-proj { display: none; }
  .viewer-name { display: none; }
  .page-head { padding-top: 20px; }
  .bet-row { padding: 9px 12px; }
  .bet-row .alt { flex-basis: 100%; }
}
@media (max-width: 480px) {
  .pick-rank { display: none; }
  .pick-main { grid-template-columns: auto minmax(0, 1fr) auto; }
  .pick-who { grid-column: 2; }
  .pick-right { grid-column: 3; }
  .headshot { width: 34px; height: 26px; }
  .mini-row .who .p { white-space: normal; overflow-wrap: anywhere; }
  .free-card .mini-row .who .p { white-space: normal; }
}
html, body { overflow-x: clip; }

/* Full team names on desktop, codes on phones */
.t-code { display: none; font-weight: 700; }
@media (max-width: 700px) {
  .t-name { display: none; }
  .t-code { display: inline; }
  .game-card .team span.t-code { overflow: visible; }
}
.mini-row .who .m {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
/* iOS zooms any focused input under 16px — keep inputs at 16 on touch widths */
@media (max-width: 860px) {
  .filter-bar input[type="search"], .filter-bar select { font-size: 16px; }
}

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

/* bars grow-in */
.chart-box.animate rect.bar { transform-origin: bottom; animation: bar-in 0.5s ease both; }
@keyframes bar-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }
/* On phones the tab bar owns login — drop the header button, give the row back
   to brand + book picker */
@media (max-width: 860px) {
  .auth-zone .btn-discord, .auth-zone .logout-link { display: none; }
}
/* Desktop nav: tighter spacing. No mask/overflow clip — the Models hub keeps
   the bar to 4 items that fit at every width, and a clip would eat the
   dropdown that opens below the bar. */
@media (min-width: 861px) {
  .site-header .wrap { gap: 12px; }
  .nav { gap: 2px; }
  .nav a { padding: 7px 9px; font-size: 12.5px; }
  .auth-zone { gap: 8px; }
}

/* ==========================================================================
   Models dropdown — sport-grouped drill-in (desktop nav only)
   ========================================================================== */
.nav-menu-drill { display: block; grid-template-columns: none; min-width: 252px; }
.nav-pane { display: flex; flex-direction: column; gap: 2px; }
.nav-sport {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 9px 11px; border: 0; background: transparent;
  color: var(--muted); font-family: var(--font-body); font-weight: 600;
  font-size: 13px; border-radius: var(--radius-sm); cursor: pointer; text-align: left;
}
.nav-sport:hover { color: var(--text); background: var(--panel-2); }
.nav-sport.on { background: rgba(53, 217, 128, 0.08); }
.nav-sport .ns-ic { width: 18px; text-align: center; font-size: 14px; flex: none; }
.nav-sport .ns-nm { font-weight: 700; color: var(--text); }
.nav-sport .ns-ct { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-2); }
.nav-sport .ns-soon { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--gold); opacity: 0.85; }
.nav-sport .ns-chev { width: 14px; height: 14px; margin-left: 6px; color: var(--muted-2); flex: none; }
.nav-sport.is-soon .ns-nm { color: var(--muted); }
.nav-back {
  display: flex; align-items: center; gap: 6px; width: 100%;
  padding: 7px 10px; margin-bottom: 4px; border: 0; background: transparent;
  color: var(--muted-2); font-family: var(--font-body); font-weight: 700; font-size: 11px;
  letter-spacing: 0.04em; text-transform: uppercase; border-radius: var(--radius-sm);
  cursor: pointer; text-align: left; border-bottom: 1px solid var(--line-soft);
}
.nav-back:hover { color: var(--text); }
.nav-back svg { width: 14px; height: 14px; }
.nav-pane-list a { display: flex; align-items: center; gap: 8px; }
.nav-pane-list .nl-ic { width: 16px; text-align: center; flex: none; }

/* ==========================================================================
   ThePropDealer Bets page
   ========================================================================== */
.bets-note {
  color: var(--muted); font-size: 13.5px; margin: -2px 0 16px;
}
.bets-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px; align-items: start;
}
.bet-card {
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.bet-card-head { padding: 13px 15px 0; }
.bet-tagrow { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.bet-tag {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--green); background: rgba(53, 217, 128, 0.1);
  border: 1px solid var(--line); padding: 2px 8px; border-radius: var(--radius-xs);
}
.bet-time { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); margin-left: auto; }
.bet-title {
  font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.15;
  color: var(--text); letter-spacing: 0.01em; margin: 0 0 4px;
}
.bet-blurb { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 6px 0 0; }
.bet-shot {
  display: block; margin: 13px 0 2px; border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft); background: #05101a;
}
.bet-shot img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; }
.bet-legs { padding: 6px 15px 14px; display: flex; flex-direction: column; }
.bet-leg {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft);
}
.bet-leg:last-child { border-bottom: 0; }
.bl-info { min-width: 0; flex: 1 1 auto; }
.bl-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bl-label { font-weight: 700; font-size: 14px; color: var(--text); }
.bl-odds { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; color: var(--green); }
.bl-payout { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 3px; }
.bl-placed {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 6px;
  font-size: 11.5px; font-weight: 600; color: var(--gold);
}
/* countdown → LIVE chip (countdown.js fills [data-start-ms]) */
.bl-count {
  display: block; margin-top: 5px;
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
}
.bl-count b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.bl-count.is-live {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--danger); font-weight: 700; letter-spacing: 0.1em; font-size: 10.5px;
}
.bl-count .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--danger);
  animation: live-pulse 1.2s ease-in-out infinite;
}
@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.bl-place {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  color: #05230f; background: var(--green); padding: 9px 15px;
  border-radius: var(--radius-sm); white-space: nowrap;
  transition: background-color 0.12s ease;
}
.bl-place:hover { background: var(--green-press); color: #05230f; }
.bl-place svg { width: 14px; height: 14px; }
.bets-empty {
  text-align: center; color: var(--muted); padding: 48px 20px;
  border: 1px dashed var(--line-soft); border-radius: var(--radius);
}
.bets-empty .hd {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  color: var(--text); margin-bottom: 6px;
}
@media (max-width: 720px) {
  .bets-grid { grid-template-columns: 1fr; gap: 12px; }
  .bet-title { font-size: 18px; }
}

/* calendar date picker (collapses older Bets days into a dropdown) */
.date-cal { position: relative; display: inline-flex; flex: none; }
.date-cal-btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.date-cal-btn .cal-ic { width: 14px; height: 14px; }
.date-cal-input {
  position: absolute; left: 0; bottom: 0; width: 1px; height: 1px;
  opacity: 0; border: 0; padding: 0; margin: 0; pointer-events: none;
}

/* ==========================================================================
   Join / membership pricing (/join)
   ========================================================================== */
.join-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; margin: 20px 0 8px; align-items: stretch;
}
.join-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 22px 18px 18px; text-align: center;
}
.join-card.featured { border-color: var(--green); background: var(--panel-2); }
.join-note {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase; white-space: nowrap;
  color: var(--muted); background: var(--panel); border: 1px solid var(--line-soft);
  padding: 3px 10px; border-radius: 999px;
}
.join-card.featured .join-note { color: var(--bg); background: var(--green); border-color: var(--green); }
.join-name {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  letter-spacing: 0.02em; color: var(--text); margin-top: 4px;
}
.join-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.join-price .amt { font-family: var(--font-display); font-weight: 700; font-size: 38px; color: var(--text); }
.join-price .per { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.join-cta { margin-top: auto; width: 100%; }
.join-perks {
  list-style: none; margin: 22px auto 0; max-width: 560px; padding: 0;
  display: grid; gap: 9px;
}
.join-perks li {
  position: relative; padding-left: 26px; color: var(--muted); font-size: 14px; line-height: 1.4;
}
.join-perks li::before {
  content: ""; position: absolute; left: 4px; top: 6px; width: 8px; height: 8px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
}
.join-already { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 22px; }
.join-trust {
  text-align: center; color: var(--muted); font-size: 13px; line-height: 1.5;
  max-width: 560px; margin: 18px auto 0;
}
.join-active {
  border: 1px solid var(--line); background: rgba(53, 217, 128, 0.06);
  border-radius: var(--radius); padding: 22px; text-align: center; color: var(--muted);
}
.join-active .hd {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--text); margin-bottom: 6px;
}
@media (max-width: 640px) {
  .join-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ==========================================================================
   Promo popup (set from /ops)
   ========================================================================== */
.promo-overlay {
  position: fixed; inset: 0; z-index: 200; padding: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3, 8, 13, 0.74); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.promo-box {
  position: relative; width: 100%; max-width: 420px; text-align: center;
  background: var(--panel); border: 1px solid var(--line-soft); border-top: 4px solid var(--gold);
  border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: 0 24px 70px rgba(0,0,0,0.6);
}
.promo-green .promo-box { border-top-color: var(--green); }
.promo-red .promo-box { border-top-color: var(--danger); }
.promo-x {
  position: absolute; top: 9px; right: 9px; width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--muted-2); cursor: pointer; border-radius: var(--radius-xs);
}
.promo-x:hover { color: var(--text); background: var(--panel-2); }
.promo-x svg { width: 16px; height: 16px; }
.promo-tag {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px;
}
.promo-head {
  font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.08;
  letter-spacing: 0.01em; color: var(--text);
}
.promo-sub { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 10px; }
.promo-cta {
  display: block; margin-top: 20px; padding: 13px 20px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  background: var(--gold); color: #1a1400;
}
.promo-green .promo-cta { background: var(--green); color: #05230f; }
.promo-red .promo-cta { background: var(--danger); color: #fff; }
.promo-cta:hover { filter: brightness(1.06); }

/* ==========================================================================
   Ops / marketing dashboard (/ops)
   ========================================================================== */
.ops-body { background: var(--bg); }
.ops-wrap { max-width: 720px; margin: 0 auto; padding: 22px 16px 60px; }
.ops-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.ops-brand { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 0.04em; color: var(--text); }
.ops-brand span { color: var(--muted-2); }
.ops-login { max-width: 320px; margin: 60px auto; display: grid; gap: 12px; text-align: center; }
.ops-login h1 { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--text); }
.ops-err { color: var(--danger); font-size: 13px; }
.ops-input {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; padding: 10px 12px;
}
.ops-input:focus { outline: none; border-color: var(--green); }
.ops-sec { margin-bottom: 26px; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 16px 18px; background: var(--panel); }
.ops-h { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.02em; color: var(--text); margin-bottom: 14px; }
.ops-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ops-stat { background: var(--panel-2); border-radius: var(--radius-sm); padding: 14px 10px; text-align: center; }
.ops-stat .n { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--text); }
.ops-stat .l { font-size: 11px; color: var(--muted); margin-top: 2px; }
.ops-top-bets { margin-top: 14px; }
.ops-sub { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.ops-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line-soft); font-size: 13px; }
.ops-row .d { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); flex: none; }
.ops-row .t { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ops-row .p { margin-left: auto; color: var(--gold); font-weight: 600; flex: none; }
.ops-form { display: grid; gap: 12px; }
.ops-form label { display: grid; gap: 5px; font-size: 12px; color: var(--muted); font-weight: 600; }
.ops-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ops-check { flex-direction: row; align-items: center; gap: 8px; }
.ops-check input { width: 16px; height: 16px; }
.ops-hint { color: var(--muted-2); font-weight: 400; font-family: var(--font-mono); font-size: 10px; }
.ops-actions { display: flex; gap: 10px; margin-top: 4px; }
.ops-link { background: none; border: 0; color: var(--muted); font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: var(--font-body); padding: 0; }
.ops-link:hover { color: var(--text); }
.ops-link.danger:hover { color: var(--danger); }
.ops-promos { display: grid; gap: 8px; }
.ops-promo { display: flex; align-items: center; gap: 12px; padding: 11px 12px; background: var(--panel-2); border-radius: var(--radius-sm); border: 1px solid transparent; }
.ops-promo.live { border-color: var(--green); }
.op-main { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.op-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--gold); }
.op-green { background: var(--green); } .op-red { background: var(--danger); } .op-gold { background: var(--gold); }
.op-head { font-weight: 700; font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.op-meta .on { color: var(--green); } .op-meta .off { color: var(--muted-2); }
.op-btns { display: flex; gap: 12px; flex: none; }
.op-btns form { display: inline; }
@media (max-width: 560px) { .ops-2col { grid-template-columns: 1fr; } .ops-stats { grid-template-columns: 1fr; } }

/* 🔥 bet reaction pill (popularity — tap to add/remove) */
.bet-fire {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 999px; cursor: pointer;
  background: var(--panel-2); border: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--muted);
  transition: border-color 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}
.bet-fire .ff { font-size: 12px; line-height: 1; filter: grayscale(0.55); transition: filter 0.12s ease; }
.bet-fire .fn { font-variant-numeric: tabular-nums; }
.bet-fire:hover { border-color: var(--line); color: var(--text); }
.bet-fire.on {
  background: rgba(245, 210, 58, 0.12); border-color: var(--gold); color: var(--gold);
}
.bet-fire.on .ff { filter: none; }

/* settings gear (header) + settings page */
.settings-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.03em; padding: 6px 9px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft); white-space: nowrap;
}
.settings-link:hover, .settings-link.active { color: var(--text); background: var(--panel-2); }
.settings-link svg { width: 15px; height: 15px; flex: none; }
.settings-link .sl-book { text-transform: capitalize; }
@media (max-width: 480px) { .settings-link .sl-book { display: none; } }  /* gear only on tiny screens */

.set-sec {
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 18px; max-width: 560px;
}
.set-h {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.02em; color: var(--text); margin-bottom: 14px;
}
.set-books { display: grid; gap: 8px; }
.set-book {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--panel-2); border: 1px solid var(--line-soft);
  color: var(--text); transition: border-color 0.12s ease;
}
.set-book:hover { border-color: var(--line); }
.set-book.on { border-color: var(--green); background: rgba(53, 217, 128, 0.08); }
.set-book .sb-name { font-weight: 700; font-size: 15px; text-transform: capitalize; }
.set-book .sb-pick { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.set-book .sb-tick { display: inline-flex; color: var(--green); }
.set-book .sb-tick svg { width: 18px; height: 18px; }
.set-note { color: var(--muted-2); font-size: 12px; line-height: 1.5; margin-top: 14px; }

/* --- Suggested Parlays (home) ----------------------------------------------
   On-brand card strip. Data is precomputed (tpd_site_build_suggested); the
   page reads stored rows only. Green = combined price, gold accent = the angle. */
.parlays-strip {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 14px;
}
.parlay-card {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 15px 16px 14px;
  position: relative; overflow: hidden;
}
.parlay-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--green), var(--gold));
}
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-tag {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.pc-odds {
  font-family: var(--font-mono); font-weight: 500; font-size: 17px;
  color: var(--green-bright);
}
.pc-odds.is-sgp { color: var(--gold); font-size: 13px; letter-spacing: 0.06em; }
.pc-title {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: 0.01em; color: var(--text); margin: 3px 0 10px;
}
.pc-legs { display: flex; flex-direction: column; gap: 9px; margin-bottom: 12px; }
.pc-leg { display: flex; align-items: flex-start; gap: 10px; }
.pc-leg .headshot { width: 34px; height: 34px; border-radius: 50%; margin-top: 1px; }
.pc-who { flex: 1; min-width: 0; }
.pc-who .p { font-weight: 700; font-size: 13.5px; color: var(--text); }
.pc-who .m { color: var(--muted); font-size: 11.5px; margin-top: 1px; }
.pc-fact {
  display: flex; align-items: flex-start; gap: 5px;
  color: var(--green-bright); font-size: 11.5px; font-weight: 600;
  line-height: 1.35; margin-top: 3px;
}
.pc-fact svg { width: 13px; height: 13px; flex: none; margin-top: 2px; color: var(--green); }
.pc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: wrap;   /* the "$10 wins $427" CTA is wide — wrap, don't crush */
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft);
}
.pc-note { color: var(--muted-2); font-size: 11px; line-height: 1.4; flex: 1; min-width: 130px; }
.parlay-card .bet-btn { flex: none; }
.parlays-fineprint { color: var(--muted-2); font-size: 11.5px; margin: 12px 0 0; line-height: 1.5; }

/* suggested parlays — locked teaser for non-subscribers (no pick data) */
.parlay-locked {
  align-items: center; text-align: center; justify-content: center;
  display: flex; flex-direction: column; gap: 10px; padding: 26px 22px;
}
.parlay-locked .ic-page { margin-bottom: 0; }
.parlay-locked .pl-hd {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  letter-spacing: 0.01em; color: var(--text);
}
.parlay-locked .pl-sub { color: var(--muted); font-size: 13.5px; line-height: 1.5; max-width: 420px; }

/* footer wordmark with logo */
.footer-wordmark { display: inline-flex; align-items: center; gap: 8px; }
.footer-wordmark img { border-radius: 50%; border: 1px solid var(--panel-2); }

/* compact game matchup in home mini-rows: [logo] AWY @ [logo] HOM */
.mini-teams { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.mini-teams .team-logo { width: 18px; height: 18px; object-fit: contain; flex: none; }
.mini-teams .at { color: var(--muted-2); font-weight: 400; }

/* ops nav link (admins only) */
.nav-ops { color: var(--gold) !important; }
.nav-ops:hover, .nav-ops.active { background: rgba(245, 210, 58, 0.10) !important; }

/* ops: 4-tile row + per-day click dashboard */
.ops-stats-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .ops-stats-4 { grid-template-columns: repeat(2, 1fr); } }
.ops-top-links { display: flex; align-items: center; gap: 14px; }
.ops-h-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ops-h-row .ops-h { margin-bottom: 0; }
.ops-dayform { margin: 0; }
.ops-day { width: auto; padding: 6px 10px; font-family: var(--font-mono); font-size: 12.5px; }
.ops-marketrow { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 14px; }
.ops-market {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  background: var(--panel-2); border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 3px 10px;
}
.ops-market b { color: var(--gold); font-weight: 600; }
.ops-clicktable { display: grid; gap: 2px; }
.ops-crow {
  display: grid; grid-template-columns: 58px minmax(0, 2.2fr) minmax(0, 1.2fr) 90px 70px;
  gap: 10px; align-items: center; padding: 8px 10px;
  background: var(--panel-2); border-radius: var(--radius-xs); font-size: 12.5px;
}
.ops-chead { background: transparent; color: var(--muted-2); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; padding-bottom: 2px; }
.ops-crow .t { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ops-crow .t em { color: var(--muted-2); font-style: normal; font-size: 11px; }
.ops-crow .n { color: var(--gold); font-weight: 600; text-align: right; }
.ops-crow .ck-bet { color: var(--green); font-weight: 700; font-size: 11px; }
.ops-crow .ck-parlay { color: var(--cyan); font-weight: 700; font-size: 11px; }
@media (max-width: 640px) { .ops-crow { grid-template-columns: 48px minmax(0,2fr) minmax(0,1fr) 60px; } .ops-crow > span:nth-child(4) { display: none; } }

/* ==========================================================================
   TPD LIGHT THEME — same brand greens/golds on daylight surfaces.
   Dark stays the default; html[data-theme="light"] flips the tokens.
   ========================================================================== */
:root[data-theme="light"] {
  --bg: #f2f5f7;
  --panel: #ffffff;
  --panel-2: #e8eef2;
  --line: rgba(15, 122, 68, 0.28);
  --line-soft: rgba(23, 34, 45, 0.12);
  --green: #0f7a44;          /* TPD paper-green: brand green with light-bg contrast */
  --green-bright: #0c6a3b;
  --green-press: #0a5f34;
  --cyan: #0e7d95;
  --gold: #a8850b;
  --text: #17222d;
  --muted: #51626f;
  --muted-2: #75828e;
  --danger: #c02f36;
}
:root[data-theme="light"] body {
  background:
    radial-gradient(120% 90% at 50% -10%, #ffffff 0%, #eef2f5 42%, #f2f5f7 78%) fixed,
    var(--bg);
}
:root[data-theme="light"] .site-header { background: rgba(255, 255, 255, 0.88); }
:root[data-theme="light"] .free-card {
  --paper: #f4f2ec;
  --paper-ink: #17222d;
  --paper-muted: #6d6e63;
  --paper-line: #d6cfbe;
  --paper-green: #0f7a44;
  --paper-wm: rgba(23, 34, 45, 0.05);
  --paper-chip: #fff;
}
/* dark-ink-on-green literals -> white text where green got darker */
:root[data-theme="light"] .btn-primary,
:root[data-theme="light"] .bl-place,
:root[data-theme="light"] .slip-pill,
:root[data-theme="light"] .bet-btn { color: #fff; }
:root[data-theme="light"] .btn-primary:hover,
:root[data-theme="light"] .bl-place:hover { color: #fff; }
:root[data-theme="light"] .sub-chip { color: #fff; }
:root[data-theme="light"] .promo-green .promo-cta { color: #fff; }
:root[data-theme="light"] .bet-shot { background: #dfe6ea; }
:root[data-theme="light"] .nav-menu,
:root[data-theme="light"] .book-menu { box-shadow: 0 14px 40px rgba(23, 34, 45, 0.18); }
:root[data-theme="light"] .slip-pill .n { background: #fff; color: var(--green); }
:root[data-theme="light"] .promo-overlay { background: rgba(23, 34, 45, 0.45); }

/* theme toggle button */
.theme-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); color: var(--muted);
}
.theme-btn:hover { color: var(--text); background: var(--panel-2); }
.theme-btn svg { width: 16px; height: 16px; }
.theme-btn .th-sun { display: none; }
:root[data-theme="light"] .theme-btn .th-sun { display: block; }
:root[data-theme="light"] .theme-btn .th-moon { display: none; }

/* nav Betslip button (desktop) */
.nav-slip-btn {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-family: var(--font-body); font-weight: 600; font-size: 13px;
  padding: 7px 11px; border: 0; background: transparent; border-radius: var(--radius-sm);
  cursor: pointer; white-space: nowrap;
}
.nav-slip-btn:hover { color: var(--text); background: var(--panel-2); }
.nav-slip-btn .ns-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--green); color: #05230f;
  font-family: var(--font-mono); font-size: 11px; font-variant-numeric: tabular-nums;
}
:root[data-theme="light"] .nav-slip-btn .ns-count { color: #fff; }

/* ==========================================================================
   BET-CHIP SYSTEM — book-branded ticket chips [book][bet][price]
   (design spec 2026-07-21; replaces .bet-btn on bet surfaces)
   ========================================================================== */
:root {
  /* sportsbook brand colors — source: betslip_landing/books.py (+ bet365 house green) */
  --book-fd: #0172fb;        /* FanDuel blue  — white ink */
  --book-fd-ink: #ffffff;
  --book-dk: #61b510;        /* DraftKings green — dark ink (white fails contrast) */
  --book-dk-ink: #0b2e13;
  --book-b365: #14805e;      /* bet365 green — brand yellow ink */
  --book-b365-ink: #ffe800;
}

.bet-group { display: flex; align-items: stretch; gap: 8px; min-width: 0; }

.bet-chip {
  display: inline-flex; align-items: stretch;
  min-height: 44px;                       /* touch floor everywhere */
  min-width: 0; max-width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;                       /* book cell bleeds to the edge */
  color: var(--text); text-decoration: none;
  transition: border-color .12s ease, background-color .12s ease;
}
.bet-chip:hover { border-color: var(--line); background: rgba(19, 41, 59, .9); color: var(--text); }

/* book identity cell — full-bleed brand color, monogram in Barlow Condensed */
.bet-chip .bc-book {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; padding: 0 2px; flex: none;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: .05em;
}
.bet-chip.book-fanduel    .bc-book { background: var(--book-fd);   color: var(--book-fd-ink); }
.bet-chip.book-draftkings .bc-book { background: var(--book-dk);   color: var(--book-dk-ink); }
.bet-chip.book-bet365     .bc-book { background: var(--book-b365); color: var(--book-b365-ink); }
.bet-chip.book-fanduel:hover    { border-color: var(--book-fd); }
.bet-chip.book-draftkings:hover { border-color: var(--book-dk); }
.bet-chip.book-bet365:hover     { border-color: var(--book-b365); }

/* the bet: team logo + short market text */
.bet-chip .bc-bet {
  display: flex; align-items: center; gap: 7px;
  padding: 0 12px; min-width: 0;
}
.bet-chip .bc-logo { width: 18px; height: 18px; object-fit: contain; flex: none; }
.bet-chip .bc-txt {
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* the price: the loudest thing in the chip, mono + tabular */
.bet-chip .bc-px {
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
  margin-left: auto; padding: 0 12px; flex: none;
  border-left: 1px solid var(--line-soft);       /* stub perforation */
  font-family: var(--font-mono); font-weight: 500; font-size: 14.5px;
  font-variant-numeric: tabular-nums; color: var(--green);
  line-height: 1.1;
}
.bet-chip .bc-tag {                              /* BEST / Started lives inside the price cell */
  font-size: 8.5px; font-weight: 700; letter-spacing: .12em;
  color: var(--gold); text-transform: uppercase;
}

/* "+" add-to-slip grows to the same touch height inside a bet-group */
.bet-group .slip-add { width: 44px; height: auto; min-height: 44px; align-self: stretch; }

/* ---- states ---- */
/* game started — deeplink dead. Render it, don't remove it (no layout shift). */
.bet-chip.is-live { pointer-events: none; opacity: .5; }
.bet-chip.is-live .bc-px { color: var(--muted); text-decoration: line-through; }
.bet-chip.is-live .bc-tag { color: var(--muted-2); text-decoration: none; }
.bet-chip:focus-visible { outline-offset: 1px; }

/* ---- mini variant: alt-book line shopping (34px visual, 44px hit) ---- */
.bet-chip--mini { min-height: 34px; border-radius: var(--radius-xs); position: relative; }
.bet-chip--mini .bc-book { min-width: 28px; font-size: 11px; }
.bet-chip--mini .bc-px { padding: 0 9px; font-size: 12.5px; border-left: 0; }
.bet-chip--mini::after { content: ''; position: absolute; inset: -5px 0; }  /* 44px hit area */
.bet-chip--mini.pays-more { border-color: rgba(245, 210, 58, 0.55); }
.alt-books { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 860px) { .alt-books { flex-basis: 100%; } }

/* ---- sm variant: cheat-sheet market rows (34px visual, 44px hit) ---- */
.bet-chip--sm { min-height: 34px; border-radius: var(--radius-xs); position: relative; }
.bet-chip--sm .bc-book { min-width: 26px; font-size: 10.5px; }
.bet-chip--sm .bc-px { padding: 0 9px; font-size: 13px; border-left: 0; }
.bet-chip--sm::after { content: ''; position: absolute; inset: -5px 0; }    /* 44px hit area */

/* ---- paper variant: home free-card ticket rows ---- */
.free-card .bet-chip--paper {
  background: var(--paper-chip, #fff); border: 1px solid var(--paper-line); min-height: 38px; position: relative;
}
.free-card .bet-chip--paper .bc-px { color: var(--paper-green); border-left-color: var(--paper-line); }
.free-card .bet-chip--paper::after { content: ''; position: absolute; inset: -3px 0; }

/* ---- CTA variant: the one place the brand color fills the whole button ---- */
.bet-chip--cta { border: 0; }
.bet-chip--cta.book-fanduel    { background: var(--book-fd);   color: var(--book-fd-ink); }
.bet-chip--cta.book-draftkings { background: var(--book-dk);   color: var(--book-dk-ink); }
.bet-chip--cta.book-bet365     { background: var(--book-b365); color: var(--book-b365-ink); }
.bet-chip--cta .bc-book { background: rgba(0, 0, 0, .22) !important; color: inherit !important; }
.bet-chip--cta .bc-px { color: inherit; border-left-color: rgba(0, 0, 0, .18); font-weight: 600; }
.bet-chip--cta:hover { filter: brightness(1.07); color: inherit; }
.bet-chip--cta.book-fanduel:hover,
.bet-chip--cta.book-draftkings:hover,
.bet-chip--cta.book-bet365:hover { border-color: transparent; }

/* ---- slip-drawer variant (paper surface, full width) ---- */
.bet-chip--slip { width: 100%; min-height: 48px; font-family: var(--font-body); }
.bet-chip--slip .bc-tag { color: inherit; opacity: .85; }

/* model rows: chip stretches on phones, "+" stays fixed, nothing wraps */
@media (max-width: 860px) {
  .bet-row .bet-group { width: 100%; }
  .bet-row .bet-chip { flex: 1; }
}

/* ---- cheat-sheet market rows: aligned odds column (4-track grid) ---- */
.game-pick-row.gp-grid {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) auto 30px;
  align-items: center; gap: 8px;
}
.game-pick-row.gp-grid .v {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.game-pick-row.gp-grid .gp-chip { justify-self: end; display: inline-flex; }
.game-pick-row.gp-grid .gp-plus { display: inline-flex; justify-content: center; }

/* cheat-sheet card foot: A.I. chip / time+live / intel — no more overlap */
.game-card .foot {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px; align-items: center;
}
.game-card .foot .foot-meta {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--muted-2); font-size: 11.5px;
}
.game-card .foot .foot-meta .live-chip { margin-left: 6px; }

/* suggested-parlay CTA chip stays compact in the card foot */
.parlay-card .bet-chip--cta { flex: none; }

/* /bets place-bet chip stays compact beside the leg info */
.bl-chip { flex: none; align-self: center; }

/* suggested-parlays pre-build / all-started empty state (section never vanishes) */
.parlay-empty {
  align-items: center; text-align: center; justify-content: center;
  display: flex; flex-direction: column; gap: 8px; padding: 26px 22px;
  border-style: dashed;
}
.parlay-empty::before { display: none; }
.parlay-empty .pl-hd {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: 0.01em; color: var(--text);
}
.parlay-empty .pl-sub { color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 420px; margin: 0; }

/* ---- odds freshness chip (sits in the date-chip row) ---- */
.odds-fresh {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 6px 12px; white-space: nowrap;
}
.odds-fresh::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex: none;
}

/* ---- A.I. legend line (under board titles) ---- */
.ai-legend { color: var(--muted-2); font-size: 12px; margin: 6px 0 0; }

/* over/under coloring inside chips (the .pick-prop rules don't reach here) */
.bet-chip .dir-over { color: var(--green-bright); }
.bet-chip .dir-under { color: var(--cyan); }

/* sealed stack: separate muted posting-time line (never "unlocks at 8") */
.sealed-stack .s {
  color: var(--muted-2); font-size: 11px; margin-top: 6px;
  font-family: var(--font-mono);
}

/* ---- projected score pair: labeled, never styled as odds ---- */
.proj-score {
  font-family: var(--font-mono); font-weight: 500; font-size: 12.5px;
  color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.proj-score .lbl { color: var(--muted-2); font-size: 9.5px; letter-spacing: .1em; margin-right: 4px; }

/* ---- mobile chrome: tab-bar Slip badge (the pill hides on phones) ---- */
.tabbar a { position: relative; }
.tabbar .tab-count {
  position: absolute; top: 3px; left: calc(50% + 6px);
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  background: var(--green); color: #05230f;
  font-family: var(--font-mono); font-size: 10px; font-variant-numeric: tabular-nums;
}

/* ---- light theme ---- */
:root[data-theme="light"] .bet-chip { background: #fff; }
:root[data-theme="light"] .bet-chip:hover { background: var(--panel-2); }
:root[data-theme="light"] .tab-count { color: #fff; }
/* brand cells + inks intentionally unchanged; --green/--gold/--line-soft already flip */

/* ==========================================================================
   Parlay Builder (/parlay-builder)
   ========================================================================== */
.section-head .sh-link { margin-left: auto; font-size: 12.5px; font-weight: 600; white-space: nowrap; }

.builder-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 16px; align-items: start; margin-top: 16px;
}
@media (max-width: 860px) { .builder-grid { grid-template-columns: 1fr; } }

.bld-panel {
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 16px;
}
.bld-lbl {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin: 16px 0 8px;
}
.bld-panel .bld-lbl:first-child { margin-top: 0; }
.bld-hint { color: var(--muted-2); text-transform: none; letter-spacing: 0.02em; }

.bld-chiprow { display: flex; flex-wrap: wrap; gap: 7px; }
.bld-chip {
  font-family: var(--font-body); font-weight: 600; font-size: 12.5px;
  color: var(--muted); background: var(--bg);
  border: 1px solid var(--line-soft); border-radius: 999px;
  padding: 7px 13px; min-height: 34px; cursor: pointer;
  transition: border-color 0.12s ease, color 0.12s ease, background-color 0.12s ease;
}
.bld-chip:hover { color: var(--text); border-color: var(--line); }
.bld-chip.on {
  color: var(--green-bright); border-color: rgba(53, 217, 128, 0.45);
  background: rgba(53, 217, 128, 0.08);
}

.bld-step {
  display: inline-flex; align-items: center;
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
}
.bld-step button {
  width: 42px; height: 40px; border: 0; background: transparent; cursor: pointer;
  color: var(--text); font-size: 18px; font-family: var(--font-mono);
}
.bld-step button:disabled { color: var(--muted-2); cursor: default; }
.bld-step .n {
  min-width: 46px; text-align: center;
  font-family: var(--font-mono); font-weight: 500; font-size: 17px;
  font-variant-numeric: tabular-nums; color: var(--green-bright);
}

.bld-odds { display: flex; align-items: center; gap: 8px; }
.bld-odds input {
  width: 96px; background: var(--bg); color: var(--text);
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: 13px; padding: 9px 10px;
}
.bld-odds input:focus { outline: none; border-color: var(--green); }
.bld-odds .dash { color: var(--muted-2); font-size: 12px; }
@media (max-width: 860px) { .bld-odds input { font-size: 16px; } }  /* no iOS zoom */

.bld-switch {
  display: flex; align-items: flex-start; gap: 9px; margin-top: 16px;
  color: var(--muted); font-size: 12.5px; line-height: 1.45; cursor: pointer;
}
.bld-switch input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--green); }
.bld-switch b { color: var(--text); }

.bld-build { width: 100%; margin-top: 16px; padding: 13px 20px; font-size: 15px; }
.bld-note { color: var(--muted-2); font-size: 11.5px; line-height: 1.5; margin: 10px 0 0; }

.bld-err {
  border: 1px solid rgba(245, 210, 58, 0.5); background: rgba(245, 210, 58, 0.07);
  border-radius: var(--radius); padding: 12px 14px; margin-bottom: 12px;
  font-size: 13px; color: var(--text); line-height: 1.5;
}

.bld-card .pc-leg .headshot.is-logo { object-fit: contain; background: transparent; border-radius: 0; }
.bld-model { color: var(--muted-2); font-family: var(--font-mono); font-size: 10.5px; margin-top: 2px; }
.bld-price-note { color: var(--muted-2); font-size: 11px; line-height: 1.45; margin: 0 0 6px; }
.bld-ctas { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 0; }
.bld-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.bld-uses { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-left: auto; }

.bld-b365 { margin-top: 10px; }
.bld-b365 .hd { color: var(--muted-2); font-size: 11px; margin-bottom: 6px; }
.bld-b365 a {
  display: flex; align-items: center; gap: 8px; padding: 7px 9px;
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  margin-bottom: 6px; color: var(--text); font-size: 12px;
}
.bld-b365 a:hover { border-color: var(--book-b365); }
.bld-b365 .mono365 {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 22px; border-radius: var(--radius-xs);
  background: var(--book-b365); color: var(--book-b365-ink);
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
}
.bld-b365 .lg { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bld-b365 .px { font-family: var(--font-mono); font-size: 12px; color: var(--green); }

/* non-sub explainer steps */
.bld-how { display: grid; gap: 12px; }
.bh-step { display: flex; gap: 11px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.bh-step b { color: var(--text); }
.bh-step .n {
  flex: none; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(53, 217, 128, 0.1); border: 1px solid rgba(53, 217, 128, 0.35);
  color: var(--green-bright); font-family: var(--font-mono); font-size: 12px;
}

/* slip drawer empty-state builder pointer */
.slip-empty .se-builder { display: block; margin-top: 10px; font-weight: 600; }

/* admin: parlay-builder limits editor */
.ops-limit-grid { display: grid; gap: 6px; }
.ops-lrow { display: grid; grid-template-columns: 1fr 110px 110px 110px; gap: 10px; align-items: center; }
.ops-lhead { color: var(--muted-2); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; }
.ops-lrow .lt { font-weight: 700; color: var(--text); }
.ops-lrow .ld { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
@media (max-width: 560px) { .ops-lrow { grid-template-columns: 1fr 70px 80px 80px; gap: 6px; } }
.ops-stats-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 720px) { .ops-stats-5 { grid-template-columns: repeat(2, 1fr); } }

/* builder: Auto leg count + market select-all (all knobs optional) */
.bld-lbl-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.bld-linkbtn {
  border: 0; background: none; padding: 0; cursor: pointer;
  color: var(--green); font-family: var(--font-body); font-weight: 600; font-size: 11px;
  letter-spacing: 0.02em; text-transform: none;
}
.bld-linkbtn:hover { color: var(--green-bright); }
.bld-step .n.is-auto { font-size: 12px; letter-spacing: 0.08em; }
.bld-autobtn { margin: 0 12px 0 4px; }

/* home bets strip */
.bet-fire.is-static { cursor: default; }
.home-bets .bet-shot img { max-height: 300px; }
