/* Self-hosted fonts + metric-adjusted fallbacks to keep CLS near zero on swap. */
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 103%;
  ascent-override: 100%;
  descent-override: 28%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Oswald Fallback";
  src: local("Arial Narrow"), local("Arial"), local("Helvetica Neue");
  size-adjust: 86%;
  ascent-override: 108%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "IBM Plex Mono Fallback";
  src: local("Courier New"), local("Courier");
  size-adjust: 100%;
  ascent-override: 102%;
  descent-override: 27%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oswald";
  src: url("/fonts/oswald.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #090807;
  --bg-2: #110e0c;
  --card: #16110f;
  --card-2: #1c1613;
  --line: rgba(255, 122, 46, 0.18);
  --line-strong: rgba(255, 122, 46, 0.42);
  --gold: #ff8a3d;
  --gold-2: #e24a1f;
  --heat: #ff8a3d;
  --ember: #ff4d1a;
  --ink: #f6ece4;
  --muted: #9a8b80;
  --dim: #6a5d54;
  --green: #3ee0a0;
  --green-dim: rgba(62, 224, 160, 0.14);
  --red: #ff5d6c;
  --red-dim: rgba(255, 93, 108, 0.14);
  --amber: #f0a44a;
  --ice: #8eb6ff;
  --font: "Manrope", "Manrope Fallback", system-ui, sans-serif;
  --display: "Oswald", "Oswald Fallback", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", "IBM Plex Mono Fallback", ui-monospace, monospace;
  --radius: 14px;
  --max: 1220px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); overflow-x: clip; max-width: 100%; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background-image:
    radial-gradient(1100px 480px at 82% -12%, rgba(255, 77, 26, 0.14), transparent 55%),
    radial-gradient(800px 380px at 0% 0%, rgba(255, 138, 61, 0.07), transparent 50%),
    linear-gradient(180deg, #120c0a 0%, var(--bg) 220px);
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
code { font-family: var(--mono); font-size: 0.86em; color: var(--gold); }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(9, 8, 7, 0.84);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.top-inner, .hero-inner, main, .foot {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo-mark { display: block; flex: 0 0 auto; width: 28px; height: 28px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-wordmark {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.w-heat { color: var(--heat); }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-wrap {
  min-width: 0;
  flex: 1 1 auto;
  margin-left: auto;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.nav { display: flex; gap: 4px; width: max-content; min-width: 100%; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 12px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  flex: 0 0 auto;
}
.nav a.is-on, .nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.nav-short { display: none; }

.hero { padding: 36px 0 8px; min-height: 248px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.45;
  max-width: 100%;
  min-height: 1.5em;
}
html.signed-in .hero,
html.has-pass .hero,
.hero.compact { padding-top: 10px; padding-bottom: 0; min-height: 0; }
html.signed-in .hero h1,
html.signed-in .hero .lede,
html.has-pass .hero h1,
html.has-pass .hero .lede,
.hero.compact h1,
.hero.compact .lede { display: none; }
.hero h1, .section-head h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 12px;
  line-height: 1.05;
}
.hero h1 { font-size: clamp(32px, 5vw, 56px); max-width: 16ch; }
.lede, .section-head p { max-width: 62ch; color: var(--muted); margin: 0; }
.section-head { margin: 12px 0 22px; }
.section-head h2 { font-size: 32px; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  padding: 16px 0 18px;
  position: sticky;
  top: 68px;
  z-index: 15;
  background: #090807;
  isolation: isolate;
}
.toolbar .sel, .toolbar .search { position: relative; z-index: 2; }

.sport-tabs { display: flex; border: 1px solid var(--line); overflow: hidden; }
.sport {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 12px 16px;
  min-height: 44px;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.sport.is-on { background: var(--gold); color: #1a0c08; }
.sport-tabs.compact { margin-bottom: 16px; width: max-content; }
.search, .sel { display: flex; flex-direction: column; gap: 4px; }
.search { flex: 1 1 220px; min-width: 180px; }
.sel span, .search .sr { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
input, select {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 9px 11px;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  border-radius: 0;
}
input:focus, select:focus { outline: 1px solid var(--gold); border-color: var(--gold); }
.chk {
  display: flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 13px; padding-bottom: 8px;
  user-select: none;
}
.chk input { width: auto; accent-color: var(--gold); }

.slate {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 4px 0 16px;
  min-height: 72px;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.game-chip { flex: 0 0 auto; }
.game-chip {
  border: 1px solid var(--line);
  padding: 10px 12px;
  min-height: 44px;
  font-size: 12px;
  color: var(--muted);
  background: var(--bg-2);
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 0;
}
.game-chip:hover, .game-chip:focus { border-color: var(--gold); color: var(--ink); outline: none; }
.game-chip b { color: var(--ink); font-weight: 700; }
.game-chip .chip-lines { font-family: var(--mono, "IBM Plex Mono", monospace); font-size: 11px; color: var(--dim); }
.game-chip.next { opacity: 0.7; }
.game-chip.live { border-color: #c41e12; }
.count { margin: 0 0 12px; color: var(--dim); font-size: 12px; letter-spacing: 0.04em; min-height: 36px; }

.board { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
#board-wrap { min-height: 320px; }
.skel-board:not([hidden]) + .board { min-height: 0; }
.prop {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 14px 16px;
  min-height: 132px;
  display: grid;
  grid-template-columns: minmax(160px, 1.3fr) minmax(140px, 0.9fr) 1fr 1fr minmax(130px, 0.8fr);
  gap: 14px 16px;
  align-items: center;
  box-shadow: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.prop:hover { border-color: var(--line-strong); }
.prop.agree {
  border-color: rgba(62, 224, 160, 0.45);
  background:
    linear-gradient(90deg, rgba(62, 224, 160, 0.08), transparent 22%),
    var(--card);
}
.prop.split { border-color: rgba(240, 164, 74, 0.4); }
.prop.unavailable { opacity: 0.92; }

.who .name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.who .meta, .market .meta, .def .meta, .rate-sub {
  color: var(--muted);
  font-size: 12px;
}
.inj {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(240, 164, 74, 0.4);
  padding: 1px 5px;
}

.market .line {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
}
.market .stat { color: var(--gold); font-weight: 700; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 7px;
  margin-bottom: 6px;
  width: max-content;
}
.badge.agree { color: var(--green); background: var(--green-dim); }
.badge.split { color: var(--amber); background: rgba(240, 164, 74, 0.12); }
.badge.thin { color: var(--ice); background: rgba(142, 182, 255, 0.1); }

.rates { display: contents; }
.rate {
  background: var(--card-2);
  padding: 10px 12px;
  min-height: 88px;
}
.rate-kicker {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}
.rate-val {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}
.rate-val.hi { color: var(--green); }
.rate-val.mid { color: var(--gold); }
.rate-val.lo { color: var(--red); }
.rate-val.na { color: var(--dim); font-size: 22px; }
.meter {
  height: 4px;
  background: #2a2d36;
  margin: 8px 0 6px;
  overflow: hidden;
}
.meter > i { display: block; height: 100%; background: var(--gold); }
.meter.hi > i { background: var(--green); }
.meter.lo > i { background: var(--red); }
.meter.na > i { width: 0 !important; }

.def .rank {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.def .rank.soft { color: var(--green); }
.def .rank.tough { color: var(--red); }

.more {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--muted);
  font-size: 12px;
}
.more b { color: var(--ink); font-weight: 600; }

.pager { display: flex; gap: 8px; justify-content: center; padding: 18px 0 8px; }
.pager button {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 14px;
  cursor: pointer;
  font-family: inherit;
}
.pager button:disabled { opacity: 0.4; cursor: default; }

.notes {
  margin: 28px 0 10px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 12px 16px;
  color: var(--muted);
  min-height: 48px;
}
.notes summary { cursor: pointer; color: var(--ink); font-weight: 600; }
.notes-body { padding-top: 10px; }
.notes-body ul { margin: 8px 0 0; padding-left: 18px; }
.notes-body li { margin: 6px 0; }

.slips { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.slip {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: var(--shadow);
}
.slip-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.slip h3 {
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  font-size: 22px;
}
.odds { font-family: var(--mono); color: var(--gold); font-size: 22px; }
.slip-sub { color: var(--muted); font-size: 12px; margin: 0 0 14px; }
.leg {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.leg:last-child { padding-bottom: 0; }
.leg .nm { font-weight: 700; }
.leg .pick { font-family: var(--mono); font-size: 13px; color: var(--gold); }
.leg .pair { display: flex; gap: 16px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.leg .pair strong { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.caveat { color: var(--muted); font-size: 13px; margin: 0 0 16px; }

.record-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 24px; }
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px;
}
.tile .k { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tile .v { font-family: var(--mono); font-size: 32px; margin-top: 4px; }
.tile .s { color: var(--dim); font-size: 12px; }

.history { display: flex; flex-direction: column; gap: 10px; }
.hist {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 14px 16px;
}
.hist-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.res {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 2px 7px;
}
.res.hit, .res.win { color: var(--green); background: var(--green-dim); }
.res.miss, .res.loss { color: var(--red); background: var(--red-dim); }
.res.pending { color: var(--amber); background: rgba(240, 164, 74, 0.12); }
.hist-legs { margin-top: 10px; font-size: 13px; color: var(--muted); }
.hist-legs div { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 5px 0; border-top: 1px solid rgba(255,255,255,0.04); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px 20px;
}
.plan.featured {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(255, 138, 61, 0.10), transparent 40%),
    var(--card);
}
.plan-tag { margin: 0 0 8px; color: var(--gold); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.plan h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; margin: 0; }
.price { font-family: var(--mono); font-size: 40px; margin: 8px 0 16px; }
.price span { font-size: 14px; color: var(--muted); }
.plan ul { margin: 0 0 20px; padding-left: 18px; color: var(--muted); }
.plan li { margin: 6px 0; }
.btn {
  width: 100%;
  padding: 11px 14px;
  border: 0;
  background: var(--gold);
  color: #1a0c08;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: not-allowed;
}
.btn.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.paywall-note { color: var(--dim); font-size: 13px; margin-top: 18px; }

.foot { padding: 36px 0 48px; color: var(--dim); font-size: 12px; border-top: 1px solid var(--line); margin-top: 40px; }
.foot p { margin: 0 0 8px; max-width: 80ch; }
.foot-legal { color: var(--muted); letter-spacing: 0.02em; }

.empty { padding: 40px 10px; color: var(--muted); text-align: center; }

@media (max-width: 900px) {
  .prop {
    grid-template-columns: 1fr 1fr;
  }
  .who, .market { grid-column: 1 / -1; }
  .def { grid-column: 1 / -1; }
  .plans { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .top-inner { flex-wrap: wrap; min-height: 56px; padding: 8px 0; }
  .toolbar { top: 88px; }
  .rate-val { font-size: 24px; }
}

@media (max-width: 430px) {
  .top-inner, .hero-inner, main, .foot { width: min(var(--max), calc(100% - 20px)); }
  .top-inner { flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 0; padding: 4px 0 0; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .account { width: auto; margin-left: auto; flex: 0 0 auto; }
  .nav-wrap { flex: 1 1 100%; margin-left: 0; order: 3; }
  .nav { gap: 0; }
  .nav a { padding: 10px 8px; font-size: 12px; letter-spacing: 0.04em; min-height: 44px; flex: 0 0 auto; }
  .nav-full { display: none; }
  .nav-short { display: inline; }
  .account { margin-left: auto; min-width: 0; }
  .account .who-email { display: none; }
  .brand-sub { display: none; }
  .hero { padding: 12px 0 0; min-height: 0; }
  html:not(.signed-in):not(.has-pass) .hero { min-height: 156px; }
  html.signed-in .hero,
  html.has-pass .hero,
  .hero.compact { padding-top: 8px; padding-bottom: 0; min-height: 0; }
  .hero h1 { font-size: 26px; margin-bottom: 8px; }
  .lede { font-size: 13px; overflow: visible; }
  .eyebrow { font-size: 11px; margin-bottom: 6px; min-height: 1.45em; }
  .toolbar { top: 88px; padding: 8px 0 10px; gap: 8px; }
  .slate { margin: 0 0 10px; }
  .count { margin-bottom: 8px; }
  .rate { min-height: 76px; }
  .best-picks { min-height: 0; padding: 10px 0 4px; margin-bottom: 8px; }
  .best-picks h2 { font-size: 20px; }
  .best-picks .sub { margin-bottom: 8px; overflow: visible; }
  #hero-sample { display: none !important; }
}

/* Account + freemium */
.account { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-left: 12px; min-width: 108px; min-height: 44px; flex: 0 0 auto; }
.account .who-email { font-size: 12px; color: var(--muted); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-mini {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  padding: 10px 14px;
  min-height: 44px;
  font-family: var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
}
.btn-mini.solid { background: var(--gold); color: #1a0c08; border-color: var(--gold); }

.free-picks { margin: 8px 0 18px; }
.free-picks h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 22px;
  margin: 0 0 6px;
}
.free-picks .sub { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.free-picks .board { margin-bottom: 8px; }
.free-picks .prop { border-color: rgba(62, 224, 160, 0.4); }

.board-wrap { position: relative; }
.lock-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px 24px;
  background: linear-gradient(180deg, rgba(9,8,7,0.15) 0%, rgba(9,8,7,0.72) 28%, rgba(9,8,7,0.88) 100%);
  z-index: 5;
}
#parlay-lock:not([hidden]),
#board-lock:not([hidden]) {
  position: relative;
  inset: auto;
  min-height: 0;
  padding: 8px 0 28px;
  background: none;
  z-index: 2;
}
#parlay-wrap:has(#parlay-lock:not([hidden])) {
  min-height: 0;
  margin-bottom: 8px;
}
#board-wrap:has(#board-lock:not([hidden])),
#board-wrap.is-locked {
  min-height: 320px;
  margin-bottom: 8px;
}
#view-parlays { padding-bottom: 12px; }
.foot { position: relative; z-index: 1; }
.lines-head {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 18px;
  margin: 22px 0 6px;
}
.board-wrap.is-locked .board,
.board-wrap.is-locked .slips,
.board-wrap.is-locked .pager { filter: blur(7px); pointer-events: none; user-select: none; }
.lock-card {
  width: min(460px, 100%);
  background: var(--card);
  border: 1px solid var(--gold);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  text-align: center;
}
.lock-card h3 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  font-size: 22px;
}
.lock-card p { color: var(--muted); margin: 0 0 16px; }
.lock-card .btn { width: auto; padding: 11px 22px; cursor: pointer; }
.lock-card .btn[disabled] { cursor: not-allowed; }

.toolbar.is-locked { opacity: 0.55; pointer-events: none; }
.prop.locked { filter: blur(6px); pointer-events: none; user-select: none; }
.prop.lock-stub {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
}
.lock-stub-face { text-align: center; max-width: 28ch; }
.lock-stub-kicker {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--gold);
  margin-bottom: 6px;
}
.lock-stub-title {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 18px;
  margin-bottom: 6px;
}
.lock-stub-sub { color: var(--muted); font-size: 13px; }

.badge.none { color: var(--dim); background: rgba(255,255,255,0.05); }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: grid;
  place-items: center;
  z-index: 50;
  padding: 16px;
}
.modal[hidden] { display: none; }
.modal-card {
  width: min(420px, 100%);
  background: var(--card);
  border: 1px solid var(--line-strong);
  padding: 24px 22px 22px;
  position: relative;
  box-shadow: var(--shadow);
}
.modal-card h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}
.modal-card p { color: var(--muted); margin: 0 0 16px; }
.modal-close {
  position: absolute;
  top: 8px; right: 10px;
  background: none; border: 0; color: var(--muted);
  font-size: 24px; cursor: pointer; line-height: 1;
}
.form-error { color: var(--red); font-size: 13px; margin: 0 0 10px; }
#signup-form .btn { width: 100%; cursor: pointer; margin-top: 12px; }

.plans { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

@media (max-width: 900px) {
  .account { margin-left: auto; flex: 0 0 auto; }
  .top-inner { align-items: center; }
}

.site-notice[hidden] { display: none !important; margin: 0; padding: 0; border: 0; }
.site-notice {
  width: min(var(--max), calc(100% - 48px));
  margin: 12px auto 0;
  padding: 12px 16px;
  border: 1px solid var(--red);
  background: var(--red-dim);
  color: var(--ink);
  border-radius: var(--radius);
  font-size: 14px;
}

html.has-pass [data-open-signup],
html.has-pass #signup-modal {
  display: none !important;
}

/* Best picks + segment tabs + game pages */
.seg-tabs-wrap { position: relative; margin: 0 0 14px; }
.seg-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
@media (max-width: 799px) {
  .seg-tabs-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 36px;
    pointer-events: none;
    background: linear-gradient(to right, rgba(9, 8, 7, 0), #090807);
    z-index: 1;
  }
  .seg-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 32px;
    scrollbar-width: thin;
  }
  .seg-tab { flex: 0 0 auto; }
}
.seg-tab {
  min-height: 44px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 7px 12px;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
}
.seg-tab.is-on { background: var(--gold); color: #1a0c08; border-color: var(--gold); }
.seg-tab .seg-n { font-family: var(--mono, "IBM Plex Mono", monospace); letter-spacing: 0; margin-left: 6px; opacity: 0.7; }

.best-picks { margin: 0 0 22px; padding: 16px 0 4px; border-top: 1px solid var(--line); min-height: 148px; }
/* Signed-in first paint: keep #board-wrap at or below the fold until picks
   hydrate, so the long list does not shift visible content (CLS). Final
   best-picks height is much larger when picks exist, so this is not a gap. */
html.signed-in .best-picks,
html.has-pass .best-picks { min-height: 460px; }
/* Anon Best picks is title + one line only. Don't reserve a 148/360px hole. */
html:not(.signed-in):not(.has-pass) .best-picks { min-height: 0; }
@media (max-width: 430px) {
  html:not(.signed-in):not(.has-pass) .best-picks { padding: 10px 0 4px; margin-bottom: 8px; }
}
@media (min-width: 800px) {
  html.signed-in #book-chips[hidden],
  html.has-pass #book-chips[hidden] {
    display: flex !important;
    min-height: 56px;
    visibility: hidden;
    pointer-events: none;
  }
}
.best-picks h2 { font-size: 22px; margin: 0 0 6px; }
.best-picks .sub, .game-head .sub { color: var(--muted); font-size: 13px; margin: 0 0 14px; max-width: 72ch; }
.best-grid { display: flex; flex-direction: column; gap: 10px; }
.no-lines {
  border: 1px dashed var(--line);
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  background: var(--bg-2);
}
.no-lines strong { color: var(--ink); display: block; margin-bottom: 6px; letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px; }

.back-link {
  display: inline-block;
  color: var(--gold);
  text-decoration: none;
  font-size: 13px;
  margin: 8px 0 16px;
  letter-spacing: 0.04em;
}
.back-link:hover { text-decoration: underline; }
.game-head h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 8px; letter-spacing: 0.02em; text-transform: uppercase; }
.game-head .when { color: var(--muted); margin: 0 0 16px; }
.live-flag { display: inline-block; background: #c41e12; color: #fff; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 2px 6px; margin-left: 8px; vertical-align: middle; }

.lines-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 0 0 20px;
}
.line-box { border: 1px solid var(--line); background: var(--card); padding: 12px 14px; }
.line-box .k { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.line-box .v { font-family: var(--mono, "IBM Plex Mono", monospace); font-size: 16px; color: var(--ink); }
.line-box .s { color: var(--muted); font-size: 12px; margin-top: 4px; }
.book-note { font-size: 12px; color: var(--dim); margin: -8px 0 18px; }

.prop.live { border-color: rgba(196,30,18,0.45); }
.prop .kalshi { font-family: var(--mono, "IBM Plex Mono", monospace); font-size: 12px; color: var(--gold); }
.toolbar.is-racket .js-ball-only { display: none; }
.next-list { margin: 0; padding-left: 18px; color: var(--muted); }
.next-list li { margin: 0 0 8px; }

@media (max-width: 430px) {
  .seg-tab { padding: 12px 12px; font-size: 12px; min-height: 44px; }
  .game-head h1 { font-size: 26px; }
  .lines-card { grid-template-columns: 1fr 1fr; }
  .sport-tabs { overflow-x: auto; max-width: 100%; }
  .sport { padding: 12px 14px; white-space: nowrap; min-height: 44px; }
}

/* —— Design system extras: sticky rail, chips, sheet, sparks, slip drawer —— */
#sport-tabs {
  position: sticky;
  top: 68px;
  z-index: 16;
  background: #090807;
  padding: 10px 0 0;
  width: 100%;
  max-width: 100%;
  pointer-events: auto;
  box-sizing: border-box;
}
#sport-tabs .sport {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
}
@media (min-width: 900px) {
  #sport-tabs {
    width: min(480px, 100%);
    max-width: 480px;
    margin-left: 0;
    margin-right: auto;
  }
}
.filter-rail {
  position: sticky;
  top: 114px;
  z-index: 16;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  padding: 10px 0 12px;
  background: #090807;
  border-bottom: 1px solid var(--line);
}
.filter-rail .search { flex: 1 1 220px; }
.sort-sticky { min-width: 140px; }
.filter-toggle { display: none; }
.book-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 8px 0 4px;
}
.book-chips .chip-label,
.chip-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.chip {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.chip:hover { color: var(--ink); border-color: var(--gold); }
.chip.is-on { background: var(--gold); color: #1a0c08; border-color: var(--gold); }

.prop, .game-chip, .plan, .hist, .lock-card {
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.prop { animation: cardIn 0.28s ease both; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.sparks { display: grid; gap: 4px; margin: 6px 0 2px; }
.spark { display: grid; grid-template-columns: 36px 1fr 42px; gap: 6px; align-items: center; font-size: 11px; color: var(--muted); }
.spark i { display: block; height: 6px; border-radius: 99px; background: var(--gold); max-width: 100%; }
.spark i.hot, .spark .high { background: var(--green); }
.spark b { font-family: var(--mono); font-weight: 500; color: var(--ink); text-align: right; }

.books { margin-top: 8px; }
.books summary { cursor: pointer; color: var(--gold); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.books table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12px; }
.books th, .books td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.books tr.is-best { background: var(--green-dim); }
.books tr.is-best td:last-child { color: var(--green); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.books tr.is-missing { color: var(--dim); }

.skel-board { display: grid; gap: 10px; padding: 8px 0 24px; }
.skel-board[hidden], #board-skel[hidden], #board-lock[hidden] { display: none !important; }
.skel-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  min-height: 132px;
}
.skel-card i {
  display: block;
  height: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #1c1613, #2a221e, #1c1613);
  background-size: 200% 100%;
  animation: shimmer 1.1s linear infinite;
}
.skel-card i:nth-child(2) { width: 70%; }
.skel-card i:nth-child(3) { width: 40%; margin-bottom: 0; }
@keyframes shimmer { to { background-position: -200% 0; } }

.sheet {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 40;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sheet[hidden] { display: none; }
.sheet-card {
  width: min(640px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 20px 20px 0 0;
  padding: 12px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  box-shadow: var(--shadow);
  animation: sheetUp 0.22s ease;
}
@keyframes sheetUp { from { transform: translateY(24px); opacity: 0.6; } to { transform: none; opacity: 1; } }
.sheet-handle { width: 42px; height: 4px; border-radius: 4px; background: var(--line-strong); margin: 4px auto 12px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-head h2 { margin: 0; font-size: 22px; }
.sheet-body .toolbar { position: static; padding: 8px 0; }
.sheet-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; }
.form-ok { color: var(--green); font-size: 13px; margin: 8px 0 0; }

.slip-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: rgba(16, 12, 11, 0.96);
  border-top: 1px solid var(--line-strong);
  backdrop-filter: blur(16px);
  box-shadow: 0 -16px 40px rgba(0,0,0,0.35);
}
.slip-drawer[hidden] { display: none; }
.slip-toggle {
  min-height: 44px;
  width: 100%;
  background: transparent;
  color: var(--ink);
  border: 0;
  padding: 12px 18px;
  font-family: var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slip-toggle span {
  background: var(--gold);
  color: #1a0c08;
  border-radius: 999px;
  padding: 2px 8px;
  font-family: var(--mono);
  font-size: 12px;
}
.slip-body { display: none; padding: 0 16px 18px; max-height: 50vh; overflow: auto; }
.slip-drawer.is-open .slip-body { display: block; }
.slip-leg { display: flex; justify-content: space-between; gap: 12px; align-items: start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.slip-combined { font-family: var(--mono); color: var(--gold); margin: 10px 0 4px; }
.slip-play { color: var(--muted); font-size: 12px; margin: 0 0 10px; }
.slip-actions { display: flex; flex-wrap: wrap; gap: 8px; }
body.has-slip { padding-bottom: 64px; }
.empty-track .v { font-size: 22px; }

@media (min-width: 900px) {
  .slip-drawer { left: auto; width: min(380px, 100%); right: 16px; bottom: 16px; border-radius: var(--radius); border: 1px solid var(--line-strong); }
  .slip-body { display: block; }
}

@media (max-width: 799px) {
  .filter-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 10px 14px; }
  .toolbar { display: none; }
  .toolbar.in-sheet { display: flex; }
  #sport-tabs { top: 88px; }
  .filter-rail { top: 140px; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 0; }
  .filter-rail .search { flex: 1 1 100%; width: 100%; min-width: 0; }
  .filter-rail .sort-sticky { display: none; }
  #filter-sheet .sort-sticky,
  .sort-sticky.in-sheet { display: flex; flex-direction: column; min-width: 0; }
  #book-chips:not(.in-sheet) { display: none !important; }
  #book-chips.in-sheet { display: flex !important; flex-wrap: wrap; padding: 8px 0 0; }
}

.foot-times {
  color: var(--dim);
  font-size: 11px;
  margin: 8px 0 0;
  max-width: 80ch;
}
.hero-inner { display: block; }
.hero-sample { display: none; }
@media (min-width: 1100px) {
  html:not(.signed-in):not(.has-pass) .hero { min-height: 328px; }
  html.signed-in .hero,
  html.has-pass .hero,
  .hero.compact { min-height: 0; }
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.9fr);
    gap: 28px;
    align-items: start;
  }
  html:not(.signed-in):not(.has-pass) .hero-sample {
    display: block;
    min-height: 180px;
  }
  html.signed-in .hero-sample,
  html.has-pass .hero-sample { display: none !important; }
  .hero-sample .prop { margin: 0; max-height: 180px; overflow: hidden; }
  .hero-sample .prop.teaser {
    filter: none;
    opacity: 1;
    background: var(--card);
    border-color: var(--line-strong);
    color: var(--ink);
  }
  .hero-sample .prop.teaser .name { color: #ffd2b0; }
  .hero-sample .prop.teaser .meta { color: var(--ink); }
}

.lines-stale, .eyebrow .stale { color: var(--amber); }


button.game-chip {
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
}
.game-chip.is-on {
  border-color: var(--accent, #f07a3c);
  box-shadow: 0 0 0 1px var(--accent, #f07a3c);
}

/* Anon first paint: reserve one preview-card so teasers do not push the lock CTA in-view (CLS). */
html:not(.signed-in):not(.has-pass) #board-wrap .board { min-height: 560px; }
html.signed-in #board-wrap .board,
html.has-pass #board-wrap .board { min-height: 0; }
