/* ============================================================
   SLIM SPORTS PICKS — slimsportspicks.com v1
   Dark sportsbook aesthetic. Vanilla CSS, no frameworks.
   Fonts are self-hosted in ../fonts (zero external requests).
   ============================================================ */
@import url('../fonts/fonts.css');

:root {
  /* Palette */
  --bg: #08090c;
  --bg-soft: #0c0e13;
  --surface: #11141b;
  --surface-2: #161a23;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f6f9;
  --muted: #a3abb9;
  --faint: #8a93a3;
  --accent: #e8b33c;
  --accent-bright: #f5c542;
  --accent-deep: #7c5a17;
  --accent-glow: rgba(232, 179, 60, 0.13);
  --on-accent: #1a1206;
  --danger: #f87171;
  --win: #35d07f;
  --win-bright: #7dedb0;

  /* Type */
  --font-display: 'Archivo', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Shape & rhythm */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --wrap: 1160px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg) url("../img/brand-wallpaper.png") repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }

/* Accessible skip link */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 18px; border-radius: 999px; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
section { scroll-margin-top: calc(var(--nav-h) + 24px); }
.section { padding: clamp(5rem, 9vw, 7.5rem) 0; position: relative; }
.section + .section { border-top: 1px solid rgba(255, 255, 255, 0.05); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--accent);
}
.eyebrow.centered::after {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--accent);
}
.eyebrow.centered { justify-content: center; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.028em; }
.section-title {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 1rem;
  max-width: 16ch;
}
.section-title.centered, .lede.centered { margin-inline: auto; text-align: center; }
.section-title.centered { max-width: 20ch; }
.lede {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  max-width: 62ch;
  margin-bottom: 3.25rem;
}
.lede.centered { max-width: 58ch; }
.lede strong { color: var(--text); font-weight: 600; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 9, 12, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 16px;
}
/* Wider header container: 12 links + CTA + language toggle need the room. */
.nav .wrap { --wrap: 1400px; }
.nav-links { margin-inline: auto; }
/* Right-side action cluster: language toggle + hamburger. Never shrinks. */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #b8860b);
  color: var(--on-accent);
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em;
  box-shadow: 0 4px 18px rgba(232, 179, 60, 0.35);
}
.brand-name { font-weight: 800; font-size: 0.95rem; letter-spacing: 0.06em; line-height: 1.15; }
.brand-name small { display: block; font-weight: 600; font-size: 0.62rem; letter-spacing: 0.3em; color: var(--faint); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--muted);
  padding: 9px 10px; border-radius: 999px; white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-cta { margin-left: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s, border-color 0.22s;
}
.btn-primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 8px 28px rgba(232, 179, 60, 0.28);
}
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(232, 179, 60, 0.36); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: 0.86rem; }
.btn:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible,
button:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border-strong); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--text);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* Language toggle (Phase 1: index.html only) */
.lang-toggle {
  background: none; border: 1px solid var(--border-strong); border-radius: 999px;
  color: var(--text); font: inherit; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.08em; padding: 10px 14px; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent-bright); }
.lang-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* FOUC guard: hide body until the ES bundle swaps in (removed by i18n.js,
   2.5s failsafe, noscript override in <head>) */
html.es-boot body { visibility: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 420px at 12% 8%, var(--accent-glow), transparent 65%),
    radial-gradient(900px 600px at 88% 90%, rgba(232, 179, 60, 0.05), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 100% 72px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
/* ===== Audience toggle (Sports Betting / Fantasy Sports) ===== */
.audience-toggle {
  position: relative; z-index: 1;
  display: inline-flex; gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px;
  margin-bottom: 2.5rem;
  max-width: 100%;
}
.aud-btn {
  appearance: none; border: 0; cursor: pointer;
  padding: 0.85rem 1.75rem;
  font-size: 1rem; font-weight: 800; letter-spacing: 0.01em;
  border-radius: 999px;
  background: transparent; color: var(--muted);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.aud-btn:hover { color: var(--text); }
.aud-btn.is-active {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 4px 18px rgba(232, 179, 60, 0.35);
}
.aud-btn:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
/* Audience-gated blocks: no-JS default = betting page as before */
body[data-audience="fantasy"] [data-audience="betting"] { display: none !important; }
body:not([data-audience="fantasy"]) [data-audience="fantasy"] { display: none !important; }
@media (max-width: 560px) {
  .audience-toggle { display: flex; width: 100%; }
  .aud-btn { flex: 1; padding: 0.85rem 0.5rem; font-size: 0.95rem; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent-bright);
  background: rgba(232, 179, 60, 0.08);
  border: 1px solid rgba(232, 179, 60, 0.25);
  padding: 9px 18px; border-radius: 999px;
  margin-bottom: 1.75rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.hero h1 {
  font-size: clamp(2.9rem, 7.2vw, 5.2rem);
  font-weight: 800;
  margin-bottom: 1.4rem;
}
.hero h1 .accent-word { color: var(--accent); }
.hero-sub {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  max-width: 46ch;
  margin-bottom: 2.4rem;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.75rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  padding: 10px 16px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
}
.chip svg { width: 14px; height: 14px; color: var(--accent); flex: none; }

/* Hero portrait card */
.hero-art { position: relative; }
.portrait-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(232, 179, 60, 0.06),
    0 0 90px rgba(232, 179, 60, 0.08);
  transform: rotate(1.5deg);
  transition: transform 0.5s var(--ease);
}
.portrait-card:hover { transform: rotate(0deg) scale(1.01); }
.portrait-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.portrait-caption {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px;
  background: linear-gradient(to top, rgba(8, 9, 12, 0.92), rgba(8, 9, 12, 0.55));
  position: absolute; inset: auto 0 0 0;
  font-size: 0.85rem;
}
.portrait-caption strong { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.04em; }
.portrait-caption span { color: var(--muted); font-size: 0.78rem; }
.portrait-ticket {
  position: absolute; z-index: 2;
  left: -28px; bottom: 44px;
  background: rgba(13, 16, 20, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 179, 60, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  transform: rotate(-2deg);
}
.portrait-ticket .t-label { font-size: 0.68rem; letter-spacing: 0.2em; color: var(--faint); text-transform: uppercase; font-weight: 700; }
.portrait-ticket .t-value { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--accent-bright); letter-spacing: -0.01em; }

/* ===== The two pillars: Projection Explorer + Fantasy Room =====
   Always visible in both audience modes. Uses only existing palette
   tokens (see specs/accessibility.md) — no new colors. */
.pillars {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.2rem 2rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.pillar-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.pillar-card .eyebrow { margin-bottom: 0; }
.pillar-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
.pillar-card > p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }
.pillar-card > p strong { color: var(--text); font-weight: 600; }
.pillar-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.pillar-points li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--text); font-size: 0.93rem; font-weight: 600; }
.pillar-points svg { width: 20px; height: 20px; flex: none; color: var(--accent-bright); margin-top: 1px; }
.pillar-meta { font-size: 0.82rem; color: var(--faint); }
.pillar-meta time { font-variant-numeric: tabular-nums; }
.pillar-card .btn { margin-top: auto; align-self: flex-start; }
.pillar-fantasy { background: linear-gradient(160deg, rgba(232, 179, 60, 0.07), var(--surface) 60%); }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar-card .btn { align-self: stretch; }
}

/* ---------- Transparency statement ---------- */
.transparency { text-align: center; }
.transparency blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.18;
  max-width: 22ch; margin: 0 auto 1.5rem;
}
.transparency blockquote .q { color: var(--accent); }
.transparency p { color: var(--muted); max-width: 60ch; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.4rem 2.1rem;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 179, 60, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(232, 179, 60, 0.06);
}
.step-num {
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.24em;
  color: var(--accent);
  display: block; margin-bottom: 1.4rem;
}
.step-card h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 0.85rem; }
.step-card p { color: var(--muted); font-size: 0.98rem; }
.step-card p strong { color: var(--text); font-weight: 600; }
.process-note {
  margin-top: 2.75rem;
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(232, 179, 60, 0.05);
  border: 1px solid rgba(232, 179, 60, 0.22);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  max-width: 860px;
}
.process-note svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }
.process-note p { color: var(--muted); font-size: 0.97rem; }
.process-note strong { color: var(--text); }

/* ---------- Record ---------- */
.record-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.record-head .section-title { margin-bottom: 0; }
.status-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #ffd479;
  background: rgba(255, 212, 121, 0.07);
  border: 1px solid rgba(255, 212, 121, 0.28);
  padding: 10px 20px; border-radius: 999px;
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #ffd479; animation: pulse 2.4s infinite; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  text-align: left;
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.7;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.4rem;
}
.stat-value.pending { color: var(--faint); }
.stat-label { font-size: 0.85rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.stat-sub { font-size: 0.76rem; color: var(--faint); margin-top: 0.35rem; }
.record-gates {
  margin-top: 2.5rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: flex; gap: 18px; align-items: flex-start;
  max-width: 880px;
}
.record-gates svg { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 2px; }
.record-gates p { color: var(--muted); font-size: 0.98rem; }
.record-gates strong { color: var(--text); }
.record-gates .gate-numbers { color: var(--accent-bright); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- What's inside ---------- */
.inside-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.inside-grid .inside-card:last-child { grid-column: span 1; }
.inside-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.2rem 2rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.inside-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.inside-card.featured {
  background: linear-gradient(160deg, rgba(232, 179, 60, 0.1), var(--surface-2) 55%);
  border-color: rgba(232, 179, 60, 0.35);
}
.inside-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(232, 179, 60, 0.1);
  border: 1px solid rgba(232, 179, 60, 0.25);
  display: grid; place-items: center;
  margin-bottom: 1.4rem;
}
.inside-icon svg { width: 22px; height: 22px; color: var(--accent); }
.inside-card h3 { font-size: 1.22rem; font-weight: 800; margin-bottom: 0.7rem; }
.inside-card p { color: var(--muted); font-size: 0.95rem; }
.inside-tag {
  display: inline-block; margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-bright);
}

/* ---------- Pricing ---------- */
.pricing-wrap { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; align-items: stretch; }
.price-card {
  width: min(340px, 100%);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(232, 179, 60, 0.4);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  position: relative;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 70px rgba(232, 179, 60, 0.07);
}
.price-card::before {
  content: "MEMBERSHIP";
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.28em;
  background: var(--accent); color: var(--on-accent);
  padding: 7px 20px 7px 24px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(232, 179, 60, 0.4);
}
.price-card.popular {
  border-color: rgba(232, 179, 60, 0.75);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 90px rgba(232, 179, 60, 0.16);
}
.price-card.popular::before { content: "BEST VALUE"; }
.price-card.saver::before { content: "SAVE 17%"; }
.price-card.fantasy::before { content: "FANTASY ONLY"; }
.price { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 0.5rem 0 0.25rem; }
.price .amount { font-size: clamp(3.4rem, 8vw, 4.6rem); }
.price .per { font-size: 1.15rem; color: var(--muted); font-weight: 600; letter-spacing: -0.01em; }
.price-launch { color: var(--accent-bright); font-weight: 600; font-size: 0.98rem; margin: 1rem 0 1.75rem; }
.price-features { list-style: none; text-align: left; margin: 0 0 2.25rem; display: grid; gap: 0; }
.price-features li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 13px 4px;
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.97rem;
}
.price-features li:last-child { border-bottom: 1px solid var(--border); }
.price-features svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 4px; }
.price-features strong { color: var(--text); font-weight: 600; }
.price-card .btn { width: 100%; }
.price-cancel { margin-top: 1.25rem; font-size: 0.85rem; color: var(--faint); }
.price-note { margin-top: 1.75rem; font-size: 0.85rem; color: var(--faint); }

/* ---------- Waitlist ---------- */
.waitlist { text-align: center; }
.waitlist-box {
  max-width: 620px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.25rem);
}
.waitlist-form { display: flex; gap: 12px; margin-top: 2rem; }
.waitlist-form input {
  flex: 1; min-width: 0;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 15px 24px;
  color: var(--text); font-size: 0.97rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist-form input::placeholder { color: var(--faint); }
.waitlist-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 179, 60, 0.15); }
.waitlist-msg { margin-top: 1.1rem; font-size: 0.9rem; min-height: 1.4em; }
.waitlist-msg.success { color: var(--accent-bright); }
.waitlist-msg.error { color: var(--danger); }
/* Honeypot: invisible to humans, fillable by bots (never display:none). */
.waitlist-honey { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; opacity: 0; }
.waitlist-alt { margin-top: 0.6rem; font-size: 0.86rem; color: var(--faint); }
.waitlist-alt a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.waitlist-alt a:hover { color: var(--accent-bright); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 1.6rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-bright); }
.faq-icon {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s;
}
.faq-icon svg { width: 15px; height: 15px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.faq-answer {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq-item[open] .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { color: var(--muted); padding: 0 0.25rem 1.8rem; max-width: 68ch; font-size: 0.99rem; }
.faq-answer strong { color: var(--text); }

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0;
}
.disclaimer-box {
  max-width: 860px; margin: 0 auto; text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  background: rgba(255, 255, 255, 0.015);
}
.disclaimer-box h2 {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 1.25rem;
}
.disclaimer-box p { color: var(--muted); font-size: 0.88rem; max-width: 70ch; margin: 0 auto 1rem; }
.disclaimer-box p:last-child { margin-bottom: 0; }
.disclaimer-box .helpline { color: var(--text); font-weight: 700; font-size: 1rem; }
.disclaimer-box .helpline a { color: var(--accent-bright); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px;
  margin-bottom: 3rem;
}
.footer-brand p { color: var(--faint); font-size: 0.9rem; margin-top: 1rem; max-width: 34ch; }
.footer-col h3 {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.7rem; }
.footer-col a { color: var(--muted); font-size: 0.93rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-bright); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 2rem; border-top: 1px solid var(--border);
  color: var(--faint); font-size: 0.82rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.35s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  /* Comprehensive kill-switch: no pulses, ticker scroll, or transitions.
     (JS reveal-on-scroll already short-circuits via matchMedia.) */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */
/* Nav collapses early: 12 links + CTA + toggle never fit a row below ~1400px. */
@media (max-width: 1400px) {
  .nav-links {
    display: none;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8, 9, 12, 0.97);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 8px; border-radius: 10px; font-size: 1rem; }
  .nav-links .nav-cta { margin: 10px 0 0; }
  .nav-links .nav-cta .btn { width: 100%; }
  .nav-toggle { display: grid; place-items: center; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-art { max-width: 480px; margin: 0 auto; width: 100%; }
  .portrait-ticket { left: 12px; }
  .steps { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .inside-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .inside-grid { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn { width: 100%; }
  .record-head { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 1.5rem 1.25rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .portrait-ticket { bottom: 70px; padding: 11px 16px; }
  .portrait-ticket .t-value { font-size: 1.1rem; }
}

/* ============================================================
   APP PAGES — Projection Explorer / Sim Lab / Fantasy Room
   Extends the v1 design system. Same dark premium aesthetic.
   ============================================================ */

.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.accent-text { color: var(--accent-bright); }

.app-hero { padding-bottom: clamp(2rem, 4vw, 3rem); }
.app-hero .section { padding: 0; }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  margin: 0 0 1.25rem;
}
.app-body { padding-top: 0; }

.error-card, .empty-card {
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  background: var(--surface); padding: 2.5rem; text-align: center; margin: 2rem 0;
}
.error-card h3 { margin-bottom: 0.5rem; }
.fineprint { margin-top: 2rem; max-width: 72ch; }

/* ---------- Filters ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: flex-end;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin-bottom: 1rem;
}
.filter { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.filter select, .filter input[type="search"], .leg-search, .stake-input,
.fantasy-controls select, .slot select {
  font: inherit; color: var(--text); background: var(--bg-soft);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem; min-width: 0; text-transform: none; letter-spacing: normal;
}
.filter select:focus, .filter input:focus, .leg-search:focus, .stake-input:focus,
.slot select:focus, .fantasy-controls select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow);
}
.filter-search { flex: 1 1 220px; }
.filter-check { flex-direction: row; align-items: center; gap: 0.6rem; padding-bottom: 0.65rem; }
.filter-check input { width: 18px; height: 18px; accent-color: var(--accent); }

/* Standalone dark-theme select (e.g. state picker on Play Responsibly) */
.slot-select {
  font: inherit; color: var(--text); background: var(--bg-soft);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
}
.slot-select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ---------- Data table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 760px; }
.data-table thead th {
  text-align: left; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--faint); padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border-strong); white-space: nowrap;
  cursor: pointer; user-select: none;
}
.data-table thead th.num { text-align: right; }
.data-table thead th[data-sort]:hover { color: var(--text); }
.data-table thead th.sorted-asc::after { content: " ▲"; color: var(--accent); }
.data-table thead th.sorted-desc::after { content: " ▼"; color: var(--accent); }
.data-table tbody td { padding: 0.95rem 1.1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tbody tr.proj-row { cursor: pointer; transition: background 0.15s var(--ease); }
.data-table tbody tr.proj-row:hover { background: rgba(232, 179, 60, 0.05); }
.data-table tbody tr.proj-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.data-table td.c-num { text-align: right; font-variant-numeric: tabular-nums; }
.sel-name { font-weight: 600; display: block; }
.sel-game { display: block; font-size: 0.8rem; color: var(--faint); margin-top: 2px; }
.pill {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-strong); color: var(--muted);
}
.feat-badge {
  display: inline-block; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em;
  background: var(--accent); color: var(--on-accent); border-radius: 6px;
  padding: 2px 7px; margin-left: 8px; vertical-align: 2px;
}
.feat-badge.house-fade {
  background: transparent; color: var(--danger);
  border: 1px solid var(--danger);
}
.dir { font-size: 0.78rem; color: var(--faint); }
.edge-hot { color: var(--accent-bright); font-weight: 700; }
.edge-warm { color: #fb923c; font-weight: 600; }
.edge-cool { color: var(--muted); }
.edge-none { color: var(--faint); }
.edge-bad { color: var(--danger); font-weight: 700; }

/* ---------- Projection detail card ---------- */
.proj-detail-row td { background: var(--bg-soft); padding: 0 !important; }
.pcard { padding: 1.75rem 1.75rem 2rem; border-left: 3px solid var(--accent); }
.pc-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1rem; }
.pc-name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; }
.pc-sub { color: var(--muted); font-size: 0.88rem; }
.comfort { margin-left: auto; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: 999px; border: 1px solid var(--border-strong); }
.comfort-green { color: var(--win-bright); border-color: rgba(53,208,127,.4); background: rgba(53,208,127,.08); }
.comfort-yellow { color: #fb923c; border-color: rgba(251,146,60,.4); background: rgba(251,146,60,.08); }
.comfort-red { color: var(--danger); border-color: rgba(248,113,113,.4); background: rgba(248,113,113,.08); }
.pc-basis { color: var(--muted); font-size: 0.92rem; max-width: 80ch; }
.pc-basis.dim { color: var(--faint); font-size: 0.85rem; margin-top: 0.35rem; }

.avatar { position: relative; display: inline-block; border-radius: 50%; overflow: hidden; flex: none;
  background: linear-gradient(135deg, var(--surface-2), var(--accent-deep)); border: 1px solid var(--border-strong); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .avatar-initials {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; color: var(--accent-bright);
  font-size: 1.1rem; letter-spacing: 0.04em; opacity: 0; pointer-events: none;
}
.avatar.avatar-fallback .avatar-initials { opacity: 1; }

.pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.pc-sec h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 0.9rem; }
.statline { display: flex; gap: 1.75rem; margin-bottom: 1rem; font-size: 0.92rem; color: var(--muted); }
.statline strong { color: var(--text); }
.last5 { display: flex; gap: 10px; align-items: flex-end; }
.last5-bar { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--muted); }
.last5-bar i { display: block; width: 26px; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep)); }

.mini-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.mini-table th { text-align: left; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--border-strong); }
.mini-table td { padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--border); }
.mv-up { color: var(--accent-bright); font-weight: 700; }
.mv-dn { color: var(--danger); font-weight: 700; }
.mv-flat { color: var(--faint); }

.articles { list-style: none; display: grid; gap: 0.8rem; }
.articles a { display: block; padding: 0.8rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--surface); transition: border-color 0.15s var(--ease); }
.articles a:hover { border-color: var(--accent); }
.art-title { display: block; font-weight: 600; font-size: 0.9rem; line-height: 1.45; margin-bottom: 0.4rem; }
.art-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.75rem; }
.art-source { color: var(--accent-bright); font-weight: 700; }
.topic { background: rgba(255,255,255,0.06); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 1px 9px; color: var(--muted); }

/* ---------- Adjustment slider ---------- */
.adj-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem; margin-top: 1.25rem; max-width: 560px; }
.adj-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.6rem; }
.adj-top label { font-size: 0.85rem; font-weight: 600; }
.adj-val { font-size: 1.4rem; font-weight: 800; color: var(--accent-bright); }
.adj-edge { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted); }
.adj-edge span { font-weight: 700; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent)); outline-offset: 4px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-bright); border: 3px solid var(--on-accent); box-shadow: 0 2px 10px rgba(0,0,0,.5); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-bright); border: 3px solid var(--on-accent); cursor: pointer; }
input[type="range"]:focus-visible { outline: 2px solid var(--accent); }

/* ---------- Sim Lab ---------- */
.sim-grid { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 2rem; align-items: start; }
.sim-col h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; letter-spacing: 0.02em; margin: 1.75rem 0 0.9rem; }
.sim-col h3:first-child { margin-top: 0; }
.leg-search { width: 100%; margin-bottom: 0.9rem; }
.leg-list { display: grid; gap: 0.6rem; max-height: 560px; overflow-y: auto; padding-right: 4px; }
.leg-pick { text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.8rem 1rem; cursor: pointer; color: var(--text); transition: border-color 0.15s var(--ease), transform 0.15s var(--ease); width: 100%; }
.leg-pick:hover { border-color: var(--accent); transform: translateY(-1px); }
.leg-pick-main { display: block; margin-bottom: 3px; }
.leg-pick-sub { font-size: 0.8rem; color: var(--faint); }

.bankroll-card { display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(232,179,60,.35); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; }
.bankroll-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--accent-bright); }
.tray { display: grid; gap: 0.6rem; margin-bottom: 0.4rem; }
.tray-leg { display: flex; justify-content: space-between; align-items: center;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 0.75rem 1rem; font-size: 0.92rem; }
.tray-x { background: none; border: none; color: var(--faint); font-size: 1.3rem; cursor: pointer; line-height: 1;
  /* 44px touch target: visual × stays small, hit area does not */
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.tray-x:hover { color: var(--danger); }
.stake-row { display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap; margin: 1.1rem 0; }
.stake-row label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.stake-input { width: 130px; }
.sim-result { border-radius: var(--radius-sm); padding: 1rem 1.25rem; font-size: 0.95rem; display: none; margin-bottom: 0.5rem; }
.sim-result.show { display: block; }
.sim-result.ok { background: rgba(232,179,60,.08); border: 1px solid rgba(232,179,60,.35); }
.sim-result.err { background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.4); }

.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-bottom: 0.5rem; }
.score-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.25rem; }
.score-card strong { font-size: 1.35rem; font-weight: 800; }

.ticket-list { display: grid; gap: 0.9rem; }
.ticket { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; }
.ticket-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; }
.ticket-legs { list-style: none; display: grid; gap: 3px; font-size: 0.88rem; margin-bottom: 0.7rem; }
.ticket-meta { font-size: 0.85rem; color: var(--muted); }
.t-badge { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; padding: 0.3rem 0.7rem; border-radius: 999px; }
.t-w { background: rgba(53,208,127,.15); color: var(--win-bright); border: 1px solid rgba(53,208,127,.4); }
.t-l { background: rgba(248,113,113,.12); color: var(--danger); border: 1px solid rgba(248,113,113,.4); }
.t-p { background: rgba(251,146,60,.1); color: #fb923c; border: 1px solid rgba(251,146,60,.35); }
.t-pend { background: rgba(255,255,255,.05); color: var(--muted); border: 1px solid var(--border-strong); }

/* ---------- Fantasy Room ---------- */
.fantasy-grid { display: grid; gap: 1.5rem; }
.fantasy-controls { display: flex; gap: 1.25rem; align-items: flex-end; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; }
.lineup-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.lineup-col h3, .bench-h { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; margin-bottom: 0.9rem; }
.bench-h { margin-top: 1.75rem; font-size: 0.95rem; }
.slots { display: grid; gap: 0.7rem; }
.slot { display: grid; grid-template-columns: 92px 1fr; gap: 0.8rem; align-items: center; }
.slot-name { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--faint); }
.slot select { width: 100%; }
.sim-cta { justify-self: start; margin-top: 0.5rem; }
.fantasy-result { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.75rem; }
.matchup-line { margin-bottom: 1.5rem; }
.mu-teams { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-bottom: 0.8rem; }
.mu-teams > div { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.mu-teams strong { font-size: 2rem; font-weight: 800; font-family: var(--font-display); }
.mu-v { color: var(--faint); font-size: 0.85rem; letter-spacing: 0.2em; }
.mu-win { text-align: center; font-size: 1.05rem; }
.calls h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 0.8rem; }
.call { display: grid; grid-template-columns: 70px 1fr auto; gap: 1rem; align-items: center;
  padding: 0.7rem 0; border-top: 1px solid var(--border); font-size: 0.92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .sim-grid { grid-template-columns: 1fr; }
  .pc-grid { grid-template-columns: 1fr; }
  .lineup-cols { grid-template-columns: 1fr; }
  .score-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .filters { padding: 1rem; }
  .call { grid-template-columns: 56px 1fr; }
  .call > :last-child { grid-column: 2; }
  .stake-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .data-table tbody tr.proj-row, .leg-pick, .articles a { transition: none; }
}

/* ============================================================
   Bankroll Manager
   ============================================================ */
.pos { color: var(--win-bright); }
.neg { color: var(--danger); }
.inline-link { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; }

.app-h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 3rem 0 1.1rem;
}
.app-h3:first-child { margin-top: 0; }
.section-sub { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; margin-bottom: 0; }
.money-h3 { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.money-badge {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--on-accent); background: var(--accent);
  padding: 0.3rem 0.7rem; border-radius: 999px;
}
.tier-explainer { max-width: 78ch; margin-bottom: 1.2rem; }
.tier-explainer strong { color: var(--text); }

/* Tabs */
.bank-tabs { display: flex; gap: 0.6rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.bank-tab {
  appearance: none; border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--muted); font-weight: 700; font-size: 0.95rem; padding: 0.8rem 1.5rem;
  border-radius: 999px; cursor: pointer; transition: all 0.15s var(--ease);
}
.bank-tab:hover { color: var(--text); border-color: var(--accent); }
.bank-tab.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* Chart */
.chart-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.2rem; }
.chart-svg { width: 100%; height: auto; display: block; }
.chart-axis { fill: var(--faint); font-size: 11px; font-family: var(--font-body); }
.chart-end { font-size: 15px; font-weight: 800; font-family: var(--font-display); }

/* Calendar */
.cal-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.cal-title { font-family: var(--font-display); font-size: 1.1rem; min-width: 150px; text-align: center; }
.cal-layout { display: grid; grid-template-columns: 1fr minmax(280px, 340px); gap: 1.5rem; align-items: start; }
.cal-grid { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem; }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 0.4rem; }
.cal-dow span { text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; }
.cal-grid-inner { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-cell {
  appearance: none; border: 1px solid transparent; background: transparent; color: var(--text);
  border-radius: var(--radius-sm); padding: 0.45rem 0.2rem; min-height: 58px; cursor: default;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.cal-cell.has-data { cursor: pointer; background: var(--surface-2); border-color: var(--border); }
.cal-cell.has-data:hover { border-color: var(--accent); }
.cal-cell:disabled { cursor: default; }
.cal-pad { visibility: hidden; }
.cal-num { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.cal-today .cal-num { color: var(--on-accent); background: var(--accent); border-radius: 50%; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.cal-net { font-size: 0.78rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.cal-none { color: var(--faint); font-size: 0.8rem; }

/* Day panel */
.day-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.2rem; }
.day-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.9rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--border); }
.day-total { font-weight: 800; font-variant-numeric: tabular-nums; }
.day-play { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.day-play:last-child { border-bottom: none; }
.day-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Play log */
.log-controls { display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.filter-label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.play-list { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.2rem; }
.play-row {
  display: flex; align-items: center; gap: 0.9rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.8rem 1rem;
}
.play-main { flex: 1; min-width: 0; }
.play-top { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.play-net { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.play-del {
  appearance: none; background: transparent; border: none; color: var(--faint); cursor: pointer;
  font-size: 0.9rem; border-radius: 6px; line-height: 1;
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.play-del:hover { color: var(--danger); background: rgba(248,113,113,0.1); }
.play-badge {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; padding: 0.25rem 0.55rem;
  border-radius: 6px; border: 1px solid; flex: none;
}
.badge-w { color: var(--accent-bright); border-color: rgba(232,179,60,0.4); background: rgba(232,179,60,0.08); }
.badge-l { color: var(--danger); border-color: rgba(248,113,113,0.4); background: rgba(248,113,113,0.08); }
.badge-pending { color: #ffd479; border-color: rgba(255,212,121,0.4); background: rgba(255,212,121,0.08); }
.badge-push { color: var(--muted); border-color: var(--border-strong); background: rgba(255,255,255,0.04); }
.src-tag { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; padding: 0.2rem 0.5rem; border-radius: 999px; }
.src-manual { color: var(--muted); border: 1px solid var(--border-strong); }
.src-sim { color: #9db8ff; border: 1px solid rgba(157,184,255,0.35); background: rgba(157,184,255,0.06); }

/* Forms */
.bank-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1.5rem; margin-top: 2rem;
}
.bank-form h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 1rem; }
.bank-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 0.8rem; }
.bank-form-grid label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.bank-form-grid .leg-search { margin-bottom: 0; width: 100%; }
.form-error { color: var(--danger); font-size: 0.85rem; min-height: 1.4em; margin: 0.4rem 0; }
.settings-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.8rem; }

/* Official tab */
.status-live .dot { background: var(--accent); animation: none; }

/* Responsive */
@media (max-width: 900px) {
  .cal-layout { grid-template-columns: 1fr; }
  .bank-form-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .bank-form-grid { grid-template-columns: 1fr; }
  .cal-cell { min-height: 48px; }
  .play-row { flex-wrap: wrap; }
  .play-net { margin-left: auto; }
}

/* Unit & risk calculator */
.calc-form .calc-grid { margin-bottom: 0.4rem; }
.calc-out { margin-top: 1rem; }
.calc-out .stat-grid { margin-bottom: 1rem; }
.calc-edge { margin-bottom: 0.8rem; }
.calc-noedge { margin-top: 0; }
.calc-noedge h3 { margin-bottom: 0.6rem; }

/* ============================================================
   Bottom news/edge ticker — stock-wire style
   Static snapshot (data/ticker.json), labelled "wire" not "live".
   ============================================================ */
:root { --ticker-h: 38px; }
body.has-ticker { padding-bottom: var(--ticker-h); }
.ticker {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  min-height: var(--ticker-h);
  display: flex; align-items: stretch;
  background: rgba(8, 9, 12, 0.96);
  border-top: 1px solid var(--border);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.78rem; line-height: 1.4;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.ticker-label {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0 14px; flex: 0 0 auto;
  font-family: var(--font-display); font-weight: 700; font-size: 0.66rem;
  letter-spacing: 0.2em; color: var(--accent);
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.ticker-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  animation: ticker-pulse 1.8s ease-in-out infinite;
}
.ticker-viewport { flex: 1 1 auto; overflow: hidden; display: flex; align-items: center; min-width: 0; }
.ticker-track {
  display: inline-flex; align-items: center;
  white-space: nowrap; will-change: transform;
  animation: ticker-scroll 40s linear infinite;
}
.ticker-half { display: inline-flex; align-items: center; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 18px; color: var(--muted);
}
a.ticker-item:hover { color: var(--text); }
a.ticker-item:focus-visible, .ticker-close:focus-visible {
  outline: 2px solid var(--accent); outline-offset: -2px;
}
.ticker-edge { color: var(--text); font-weight: 600; }
.ticker-edge .t-up { color: var(--accent); font-size: 0.7em; }
.ticker-sep { color: var(--faint); flex: 0 0 auto; }
.ticker-close {
  flex: 0 0 auto; background: none; border: 0; border-left: 1px solid var(--border);
  color: var(--faint); font-size: 1.05rem; line-height: 1;
  padding: 0 13px; cursor: pointer;
}
.ticker-close:hover { color: var(--text); }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
@keyframes ticker-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Reduced motion: static, horizontally scrollable strip */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-dot { animation: none; }
  .ticker-viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 640px) {
  :root { --ticker-h: 32px; }
  .ticker { font-size: 0.68rem; }
  .ticker-label { padding: 0 9px; font-size: 0.6rem; }
  .ticker-item { padding: 0 12px; }
  .ticker-close { padding: 0 10px; }
}

/* ================= Fantasy command center ================= */
.tool-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.75rem; margin-top: 1.5rem; }
.tool-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; margin: 0 0 .4rem; }
.tool-card > .dim { margin-top: 0; margin-bottom: 1rem; }
.tool-card .btn { margin-top: 1rem; }

/* ---------- Sleeper league sync ---------- */
.sync-form { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.sync-form input[type="text"] { flex: 1 1 220px; background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text); padding: .65rem .9rem; font-size: .95rem; }
.sync-form input[type="text"]::placeholder { color: var(--faint); }
.sync-err { color: var(--danger); font-size: .9rem; margin-top: .8rem; }
.sync-league-list { display: grid; gap: .6rem; margin-top: 1rem; }
.sync-league { display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; width: 100%; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .8rem 1rem; color: var(--text); cursor: pointer; font: inherit; }
.sync-league:hover { border-color: var(--accent); }
.sync-league strong { display: block; }
.sync-league .dim { font-size: .85rem; }
.sync-status { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; padding: .9rem 1.1rem; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.sync-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.sync-actions .btn { margin-top: 0; }
.sync-roster { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.sync-chip { font-size: .82rem; border: 1px solid var(--border); background: rgba(255, 255, 255, .025); padding: .35rem .65rem; border-radius: 999px; color: var(--muted); display: inline-flex; align-items: center; gap: .45rem; }
.sync-chip .tnum { color: var(--text); font-weight: 700; }
.sync-chip.noproj { opacity: .55; }
.sync-note { margin-top: .8rem; }
.tool-result { margin-top: 1.25rem; }
.f101 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.5rem; }
.f101-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .9rem 1rem; }
.f101-card h4 { font-family: var(--font-display); font-size: .95rem; margin: 0 0 .3rem; color: var(--accent-bright); }
.f101-card p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.45; }

/* Player picker (searchable multi-select) */
.ppick-search { width: 100%; background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text); padding: .65rem .9rem; font-size: .95rem; }
.ppick-search::placeholder { color: var(--faint); }
.ppick-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.ppick-chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--accent-glow); border: 1px solid var(--border-strong); color: var(--text); border-radius: 999px; padding: .28rem .35rem .28rem .7rem; font-size: .82rem; }
.chip button { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1rem; line-height: 1;
  border-radius: 50%; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.chip button:hover { color: var(--danger); }
.ppick-list { max-height: 230px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-top: .6rem; background: var(--bg-soft); }
.ppick-row { display: flex; align-items: center; gap: .65rem; padding: .55rem .8rem; border-bottom: 1px solid var(--border); cursor: pointer; font-size: .92rem; }
.ppick-row:last-child { border-bottom: none; }
.ppick-row:hover { background: var(--surface-2); }
.ppick-row input { accent-color: var(--accent); width: 1rem; height: 1rem; flex: none; }
.ppick-row .pp-pos { font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: var(--faint); width: 2.2rem; flex: none; }
.ppick-row .pp-fp { margin-left: auto; color: var(--muted); font-size: .85rem; flex: none; }
.ppick-empty { padding: 1rem; color: var(--faint); font-size: .9rem; text-align: center; }
/* Mobile picker upgrades: sticky search + position chips + capped render */
.ppick-scroll { max-height: 380px; overflow-y: auto; }
.ppick-head { position: sticky; top: 0; z-index: 2; background: var(--bg); padding: .6rem 0 .55rem; }
.ppick-posfilters { display: flex; gap: .4rem; overflow-x: auto; margin-top: .55rem; padding-bottom: .15rem; -webkit-overflow-scrolling: touch; }
.ppick-pos { flex: none; min-width: 44px; min-height: 44px; padding: 0 .95rem; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--bg-soft); color: var(--muted);
  font-size: .85rem; font-weight: 700; letter-spacing: .04em; cursor: pointer; }
.ppick-pos[aria-pressed="true"] { background: var(--accent-glow); border-color: var(--accent); color: var(--text); }
.ppick-row { min-height: 44px; }
.ppick-showall { display: block; width: 100%; min-height: 44px; margin: .6rem 0 0; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); background: var(--surface-2); color: var(--accent-bright);
  font-size: .9rem; font-weight: 700; cursor: pointer; }
.ppick-showall[hidden] { display: none; }

/* Trade analyzer */
.trade-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.verdict { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; text-align: center; padding: 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.verdict-win { background: rgba(53, 208, 127, .12); border: 1px solid var(--win); color: var(--win-bright); }
.verdict-fair { background: rgba(163, 171, 185, .1); border: 1px solid var(--border-strong); color: var(--text); }
.verdict-lose { background: rgba(248, 113, 113, .1); border: 1px solid var(--danger); color: var(--danger); }
.trade-totals { display: flex; justify-content: space-around; text-align: center; margin-bottom: 1rem; }
.trade-totals strong { display: block; font-size: 1.5rem; }
.trade-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.trade-side h5 { font-size: .78rem; letter-spacing: .1em; color: var(--faint); margin: 0 0 .5rem; text-transform: uppercase; }
.trade-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.trade-side li { display: flex; justify-content: space-between; gap: .5rem; font-size: .9rem; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .5rem .7rem; }
.why-line { margin-top: 1rem; padding: .9rem 1rem; background: var(--bg-soft); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; color: var(--text); }

/* Packages / wire / optimizer rows */
.pkg { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.1rem; margin-top: .8rem; background: var(--bg-soft); }
.pkg h5 { font-family: var(--font-display); margin: 0 0 .4rem; font-size: 1rem; }
.pkg .pkg-math { font-size: .9rem; color: var(--muted); margin: .2rem 0; }
.pkg .pkg-why { font-size: .9rem; margin: .5rem 0 0; }
.wire-row { display: flex; align-items: center; gap: .8rem; padding: .6rem .2rem; border-bottom: 1px solid var(--border); font-size: .93rem; }
.wire-row:last-child { border-bottom: none; }
.wire-rank { font-family: var(--font-display); font-weight: 800; color: var(--faint); width: 1.8rem; flex: none; }
.wire-row .pp-fp { margin-left: auto; }
.drop-flag { background: rgba(232, 179, 60, .08); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: .8rem 1rem; margin-top: .8rem; font-size: .93rem; }
.opt-flag { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm); font-size: .95rem; background: rgba(232, 179, 60, .08); border: 1px solid var(--border-strong); }
.opt-flag.bad { background: rgba(248, 113, 113, .08); }

@media (max-width: 640px) {
  .trade-cols, .trade-sides { grid-template-columns: 1fr; }
  .f101 { grid-template-columns: 1fr 1fr; }
  .tool-card { padding: 1.25rem; }
  .verdict { font-size: 1.15rem; }
}

/* ---------- Founding-member scarcity ---------- */
.founding-scarcity { max-width: 560px; margin: 0 auto 2.75rem; text-align: center; }
.founding-count { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.15rem, 3.4vw, 1.5rem); letter-spacing: -0.01em; }
.founding-count strong { color: var(--accent-bright); }
.founding-bar { height: 10px; margin: 0.9rem 0 0.8rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.founding-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); }
.founding-sub { color: var(--muted); font-size: 0.95rem; }
.founding-sub strong { color: var(--text); }
.founding-hero { margin-top: 1.1rem; color: var(--muted); font-size: 0.95rem; }
.founding-hero strong { color: var(--accent-bright); }
.founding-tag { display: inline-block; font-family: var(--font-display); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-bright); border: 1px solid rgba(232, 179, 60, 0.5); border-radius: 999px; padding: 6px 16px 6px 19px; margin-bottom: 1.25rem; background: rgba(232, 179, 60, 0.07); }
.founding-tag.closed, .founding-soldout .founding-tag { opacity: 0.45; }
@media (max-width: 640px) {
  .founding-tag { letter-spacing: 0.14em; }
}

/* ============================================================
   Mobile: tables, player cards, filters (added 2026-10-08)
   Keeps the black/gold language; no third-party patterns.
   ============================================================ */
.mini-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -0.25rem; padding: 0 0.25rem; }
.mini-scroll .mini-table { min-width: 560px; }

@media (max-width: 760px) {
  /* Projection table: denser cells, sticky player column so the
     name stays visible while scrolling the numbers sideways. */
  .data-table { font-size: 0.85rem; }
  .data-table thead th { padding: 0.7rem 0.75rem; font-size: 0.66rem; }
  .data-table tbody td { padding: 0.7rem 0.75rem; }
  .table-scroll { border-radius: var(--radius-sm); }
  .data-table thead th:first-child,
  .data-table tbody td.c-sel {
    position: sticky; left: 0; z-index: 2;
    background: var(--surface);
    box-shadow: 1px 0 0 var(--border);
    min-width: 150px; max-width: 180px;
  }
  .data-table thead th:first-child { background: var(--surface-2); z-index: 3; }
  .sel-name { font-size: 0.9rem; }
  .sel-game { font-size: 0.72rem; }

  /* Detail card: head wraps, comfort badge drops below on narrow. */
  .pcard { padding: 1.25rem 1rem 1.5rem; }
  .pc-head { flex-wrap: wrap; gap: 0.8rem; }
  .pc-name { font-size: 1.1rem; }
  .comfort { margin-left: 0; }
  .statline { flex-wrap: wrap; gap: 0.9rem; font-size: 0.85rem; }
  .last5 { gap: 7px; }
  .last5-bar i { width: 20px; }
  .adj-block { padding: 1rem 1.1rem; }

  /* Filters: two-up grid, search full width. */
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; padding: 1rem; }
  .filter-search { grid-column: 1 / -1; }
  .filter-check { grid-column: 1 / -1; padding-bottom: 0.25rem; }
  .filter select, .filter input[type="search"] { width: 100%; font-size: 16px; /* stops iOS zoom */ }

  /* Bankroll + misc tables get the same sticky treatment. */
  .pc-basis { font-size: 0.85rem; }
  .articles a { padding: 0.7rem 0.85rem; }
}
