/* CREST Guided Tour — styles
   Uses Crest_Android_R0 theme: navy #0A0E14, blue #3B82F6, gold #F59E0B, Barlow.
   Fully responsive — fills viewport, no fixed phone frame. */

* { box-sizing: border-box; }

/* ── Brand design tokens (mirrors app/globals.css) ──────────────────────────
   Editorial-keynote reskin: brand fonts (Saira Condensed display + Inter body),
   brand navy palette, one blue accent + muted gold reserved for Elite. */
:root {
  --tw-display: 'Saira Condensed', 'Impact', sans-serif;
  --tw-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --tw-bg: linear-gradient(165deg, #0a1220 0%, #0f1923 25%, #132640 50%, #0f1923 75%, #0b1018 100%);
  --tw-blue: #3B82F6;
  --tw-blue-hover: #2563EB;
  --tw-gold: #D4A017;
  --tw-text: #FFFFFF;
  --tw-text-2: #9ab5d2;
  --tw-text-3: #6f8dac;
  --tw-border: rgba(255,255,255,0.06);
  --tw-border-2: rgba(255,255,255,0.12);
}

html, body, #root {
  margin: 0; padding: 0;
  width: 100%; height: 100%;
  background: #0b1018;
  color: var(--tw-text);
  font-family: var(--tw-body);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.dd-open { overflow: hidden; }
button { font-family: inherit; cursor: pointer; }

/* ── Tour shell ─────────────────────────────────────────────────────────── */

/* Tour shell — broadcast-grade dark canvas: deep navy + one soft bloom
   + tight technical grid. No particles, no conic sweep, no rainbow orbs. */
.tour {
  position: relative;
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(59,130,246,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 92% 100%, rgba(245,158,11,0.06) 0%, transparent 60%),
    #06080F;
}
.tour > * { position: relative; z-index: 2; }

/* FX overlay — single fine technical grid, masked to centre */
.tour-fx {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
}
.tour-fx::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.035) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000 0%, transparent 70%);
  opacity: 0.5;
}
/* horizon line — broadcast-style hairline glow band, no rotation */
.tour-fx::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 24%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59,130,246,0.35) 50%, transparent 100%);
  filter: blur(0.5px);
  opacity: 0.35;
}

/* Cricket FX — faint wagon-wheel / ball-tracking layer (the app's signature
   visual): a field boundary + pitch, with deliveries arcing out from the
   batting point, each trailed by a travelling, glowing ball. */
.tour-fx .tfx {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 1;
  mask-image: radial-gradient(ellipse 96% 96% at 50% 50%, #000 62%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 96% 96% at 50% 50%, #000 62%, transparent 100%);
}
.tfx-boundary { fill: none; stroke: rgba(59,130,246,0.15); stroke-width: 1.6; }
.tfx-boundary-inner { stroke: rgba(59,130,246,0.10); stroke-dasharray: 3 11; }
.tfx-pitch { fill: rgba(245,158,11,0.03); stroke: rgba(245,158,11,0.11); stroke-width: 1; }
.tfx-shot { fill: none; stroke: rgba(96,165,250,0.18); stroke-width: 1.6; stroke-linecap: round; }
.tfx-shot-gold { stroke: rgba(245,158,11,0.18); }
.tfx-ball { fill: #e3eeff; filter: drop-shadow(0 0 8px rgba(147,197,253,1)); }
.tfx-ball-gold { fill: #ffeec2; filter: drop-shadow(0 0 8px rgba(245,158,11,1)); }
@media (prefers-reduced-motion: reduce) {
  .tfx-ball { display: none; }
}

/* Logo nested inside a card's top corner — sits *inside* the bracket
   registration marks, opposite the MENU x/8 eyebrow.
   - Default cards: MENU is top-left, logo is top-right.
   - Reverse module cards (.card-module-reverse): MENU flips to right, logo to left. */
.card > .card-corner-logo {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 64px; height: 64px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  z-index: 3;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.45));
  opacity: 0.9;
}
.card-module-reverse > .card-corner-logo {
  right: auto;
  left: 18px;
}
/* Rail-right landscape cards: rail occupies the top-right, so move the
   watermark to the opposite corner to avoid painting over the first tabs. */
.card-module-landscape.rail-right > .card-corner-logo {
  right: auto;
  left: 18px;
}
@media (max-width: 760px) {
  .card > .card-corner-logo { width: 46px; height: 46px; top: 12px; right: 12px; }
  .card-module-reverse > .card-corner-logo { left: 12px; right: auto; }
}

/* Top bar */
.tour-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px 0;
  flex: 0 0 auto;
}
.tour-progress { display: flex; gap: 8px; }
.tour-dot {
  width: 10px; height: 10px; padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  transition: all .25s ease;
}
.tour-dot.done { background: rgba(255,255,255,0.4); border-color: transparent; }
.tour-dot.active {
  width: 28px; background: var(--accent); border-color: transparent;
  box-shadow: 0 0 12px var(--accent-soft);
}
/* Sub-dot — between two parent dots, visually nested */
.tour-dot-sub {
  width: 6px; height: 6px;
  border: 1px solid rgba(255,255,255,0.20);
  background: transparent;
  margin: 0 -2px;
  align-self: center;
}
.tour-dot-sub.done { background: rgba(255,255,255,0.35); border-color: transparent; }
.tour-dot-sub.active {
  width: 8px; height: 8px;
  background: var(--accent);
  border-color: transparent;
  box-shadow: 0 0 10px var(--accent-soft);
}
.tour-skip {
  background: transparent; border: 0;
  color: #8293A8;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em;
  padding: 8px 4px;
}
.tour-skip:hover { color: #fff; }

/* Stage */
.tour-stage {
  position: relative; flex: 1 1 auto;
  perspective: 1400px;
  overflow: hidden;
  min-height: 0;
}
.tour-track {
  display: flex;
  width: 100%; height: 100%;
  transition: transform .55s cubic-bezier(.22,.9,.32,1.05);
}
.tour-trans-fade .tour-track { transition: none; transform: none !important; }
.tour-trans-fade .tour-slot { position: absolute; inset: 0; flex: 0 0 100%; }
.tour-slot {
  flex: 0 0 100%;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  transition: opacity .35s ease, transform .55s cubic-bezier(.22,.9,.32,1.05);
  transform-style: preserve-3d;
}
.tour-trans-fade .tour-slot { transition: opacity .45s ease; }

/* Bottom */
.tour-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px 22px;
  flex: 0 0 auto;
  font-size: 12px; letter-spacing: 0.16em;
  color: #8293A8;
}
.tour-counter { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.tour-counter-sep { opacity: 0.4; margin: 0 4px; }
.tour-counter-sub {
  color: var(--accent);
  font-weight: 800;
  margin-left: 8px;
  letter-spacing: 0.20em;
  font-size: 10px;
}
.tour-hint { font-weight: 600; }
.tour-counter-label {
  color: #8293A8;
  font-weight: 800;
  letter-spacing: 0.28em;
}

/* ── Card base ──────────────────────────────────────────────────────────── */

/* Card — broadcast tile: glass with a single corner-bloom, hairline edges,
   and a 1px top "lightband" accent. No particles, no orbs. */
.card {
  width: 100%; max-width: 1320px;
  height: 100%; max-height: 900px;
  background:
    radial-gradient(ellipse 90% 60% at 0% 0%, rgba(59,130,246,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(245,158,11,0.04) 0%, transparent 55%),
    linear-gradient(180deg, rgba(17,24,39,0.55) 0%, rgba(11,16,26,0.70) 100%);
  border: 1px solid rgba(148,163,184,0.10);
  border-radius: 20px;
  padding: 36px 40px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 1px 0 rgba(255,255,255,0.05) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
/* lightband — 1px top accent that slowly migrates */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(59,130,246,0.45) 30%,
    rgba(245,158,11,0.35) 70%,
    transparent 100%);
  z-index: 2;
}
/* tick marks — broadcast-grade corner registration */
.card::after {
  content: '';
  position: absolute;
  inset: 14px;
  pointer-events: none;
  background:
    /* top-left L */
    linear-gradient(90deg, rgba(148,163,184,0.16) 0 12px, transparent 12px) top left / 12px 1px no-repeat,
    linear-gradient(180deg, rgba(148,163,184,0.16) 0 12px, transparent 12px) top left / 1px 12px no-repeat,
    /* top-right L */
    linear-gradient(-90deg, rgba(148,163,184,0.16) 0 12px, transparent 12px) top right / 12px 1px no-repeat,
    linear-gradient(180deg, rgba(148,163,184,0.16) 0 12px, transparent 12px) top right / 1px 12px no-repeat,
    /* bottom-left L */
    linear-gradient(90deg, rgba(148,163,184,0.16) 0 12px, transparent 12px) bottom left / 12px 1px no-repeat,
    linear-gradient(0deg, rgba(148,163,184,0.16) 0 12px, transparent 12px) bottom left / 1px 12px no-repeat,
    /* bottom-right L */
    linear-gradient(-90deg, rgba(148,163,184,0.16) 0 12px, transparent 12px) bottom right / 12px 1px no-repeat,
    linear-gradient(0deg, rgba(148,163,184,0.16) 0 12px, transparent 12px) bottom right / 1px 12px no-repeat;
  z-index: 2;
}
.card > * { position: relative; z-index: 1; }

/* ── Hero card ──────────────────────────────────────────────────────────── */

.card-hero {
  align-items: center; justify-content: center;
  text-align: center;
  cursor: pointer;
  background:
    radial-gradient(ellipse 70% 55% at 50% 22%, rgba(59,130,246,0.20) 0%, transparent 68%),
    radial-gradient(ellipse 80% 50% at 50% 120%, rgba(245,158,11,0.05) 0%, transparent 60%),
    linear-gradient(180deg, #0e1726 0%, #090e18 100%);
}
/* subtle film grain so the flat fields read richer */
.hero-grain {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 18% 32%, rgba(59,130,246,0.10), transparent 12%),
    radial-gradient(circle at 82% 68%, rgba(245,158,11,0.06), transparent 14%);
  mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000 30%, transparent 80%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center;
  width: 100%;
}
/* staggered entrance for every direct child */
.hero-inner > * {
  opacity: 0;
  transform: translateY(16px);
  animation: heroRise .7s cubic-bezier(.2,.8,.25,1) forwards;
}
@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}
.hero-pulse {
  position: relative;
  width: 168px; height: 168px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 30px;
}
/* Concentric rangefinder rings — broadcast HUD, no pulsing throb */
.hero-pulse::before,
.hero-pulse::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.20);
  pointer-events: none;
}
.hero-pulse::before { inset: 0; }
.hero-pulse::after  { inset: 14px; border-color: rgba(59,130,246,0.12); }
/* tick marks on outer ring */
.hero-pulse-ring {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(59,130,246,0.35) !important;
  animation: spinSlow 60s linear infinite;
}
.hero-pulse-ring.delay {
  inset: -12px;
  border-style: solid !important;
  border-color: transparent rgba(59,130,246,0.45) transparent rgba(245,158,11,0.45) !important;
  animation: spinSlow 28s linear reverse infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.hero-logo {
  width: 108px; height: 108px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(59,130,246,0.55)) drop-shadow(0 8px 16px rgba(0,0,0,0.55));
  position: relative; z-index: 1;
}
/* ── Eyebrow chip — mono, live dot, broadcast meta ── */
.hero-chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(148,163,184,0.06);
  border: 1px solid rgba(148,163,184,0.16);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
  margin-bottom: 26px;
  font-family: var(--tw-body); letter-spacing: 0.04em;
}
.hero-chip-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: blink 1.8s steps(2) infinite;
}
.hero-chip-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.26em;
  color: #E2E8F0;
}
.hero-chip-sep { width: 1px; height: 12px; background: rgba(148,163,184,0.22); }
.hero-chip-meta {
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em;
  color: #7E8DA3;
}

/* ── Display tagline ── */
.hero-tagline {
  font-family: var(--tw-body);
  font-size: clamp(54px, 8.2vw, 116px);
  font-weight: 800; letter-spacing: -0.045em;
  line-height: 0.9;
  margin: 0 0 24px;
  margin: 0 0 22px;
  color: #fff;
  display: flex; flex-direction: column;
}
.hero-tagline-line { display: block; }
.hero-tagline em {
  font-style: normal;
  background: linear-gradient(180deg, #fff 0%, var(--accent) 165%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-tagline-line-2 {
  color: #8C9BB2;
  font-weight: 600;
}

.hero-body {
  max-width: 560px;
  font-size: 18px; line-height: 1.6;
  color: #93A1B5;
  margin: 0 0 32px;
  text-wrap: pretty;
}

/* ── CTA pill ── */
.hero-cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 0;
  padding: 0 6px 0 22px; height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  transition: transform .25s cubic-bezier(.2,.8,.25,1), border-color .25s ease;
}
.hero-cta:hover { transform: translateY(-2px); border-color: var(--accent); }
.hero-cta:active { transform: translateY(0) scale(0.985); }
.hero-cta-label {
  font-family: var(--tw-body);
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  margin-right: 14px;
}
.hero-cta-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-soft);
  transition: transform .3s cubic-bezier(.2,.8,.25,1);
}
.hero-cta:hover .hero-cta-arrow { transform: translateX(3px); }
.hero-cta-shine {
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-18deg);
  animation: heroShine 4.5s ease-in-out infinite;
}
@keyframes heroShine {
  0%, 60% { left: -60%; }
  85%, 100% { left: 140%; }
}

.hero-foot {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--tw-body); letter-spacing: 0.04em;
  font-size: 10.5px; letter-spacing: 0.12em;
  color: #5E6C82;
}
.hero-foot-dot { width: 3px; height: 3px; border-radius: 50%; background: #5E6C82; }

@keyframes blink { 50% { opacity: 0.3; } }

/* ── Module card (cards 2–5) ────────────────────────────────────────────── */

.card-module {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  padding: 32px 44px;
}
.card-module-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
}
.card-module-reverse .mod-left  { order: 2; }
.card-module-reverse .mod-mock-wrap { order: 1; }
.mod-left {
  display: flex; flex-direction: column;
  justify-content: safe center;
  min-width: 0; min-height: 0;
  overflow: hidden;
}
.mod-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.24em; font-weight: 700;
  color: #94A3B8;
  font-family: var(--tw-body);
  text-transform: uppercase;
  white-space: nowrap;
}
.mod-elite {
  background: rgba(245,158,11,0.15);
  color: #F59E0B;
  padding: 4px 8px; border-radius: 4px;
  font-size: 10px; letter-spacing: 0.18em;
}
.mod-title { display: none; } /* old card title — explainer title takes over */

/* Explainer panel */
.mod-exp {
  flex: 0 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 8px 0 0 0;
  margin-top: 6px;
  animation: expFade .35s ease both;
  display: flex; flex-direction: column;
  opacity: 1; /* fallback if animation never runs */
}
@keyframes expFade {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.mod-exp-eyebrow {
  font-size: 11px; letter-spacing: 0.24em; font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  font-family: var(--tw-body);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mod-exp-title {
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--tw-body);
}
.mod-exp-intro {
  font-size: 16.5px; line-height: 1.55;
  color: #CBD5E1;
  margin: 0 0 22px;
  max-width: 640px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Action cards grid */
.mod-exp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
  min-height: 0;
  flex: 0 0 auto;
}
/* Futuristic explainer cards — floating gradient numbers, hairline top accent */
.mod-exp-card {
  position: relative;
  display: block;
  background: linear-gradient(135deg, rgba(59,130,246,0.06) 0%, rgba(15,23,36,0.55) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 18px 18px 16px 18px;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  min-height: 108px;
}
.mod-exp-card::before {
  content: '';
  position: absolute; top: 0; left: 14%; right: 14%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.65;
}
.mod-exp-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59,130,246,0.35);
  background: linear-gradient(135deg, rgba(59,130,246,0.12) 0%, rgba(15,23,36,0.65) 100%);
}
.mod-exp-card-num {
  position: absolute;
  right: 8px; bottom: -20px;
  font-size: 92px; font-weight: 800;
  font-family: var(--tw-body);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.mod-exp-card-body {
  position: relative;
  z-index: 1;
  padding: 0;
}
.mod-exp-card-head {
  font-size: 17px; font-weight: 700;
  color: #fff;
  line-height: 1.28;
  letter-spacing: -0.005em;
  margin-bottom: 7px;
  font-family: var(--tw-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mod-exp-card-sub {
  font-size: 14px; line-height: 1.48;
  color: #CBD5E1;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* When there's no separate head, the card is just body text — give it the
   primary text colour and a slightly larger clamp. */
.mod-exp-card-headless .mod-exp-card-sub {
  color: #fff;
  font-size: 13.5px;
  -webkit-line-clamp: 6;
}

.mod-exp-note {
  display: flex; gap: 12px;
  background: linear-gradient(135deg, rgba(245,158,11,0.10), rgba(245,158,11,0.02));
  border: 1px solid rgba(245,158,11,0.30);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 16px; line-height: 1.55;
  color: #FDE68A;
  margin-bottom: 4px;
  font-weight: 400;
  flex: 0 0 auto;
}
.mod-exp-note-mark { color: #F59E0B; flex: 0 0 auto; font-size: 16px; line-height: 1.4; }

.mod-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  margin-top: 22px;
  align-items: center;
}
.mod-next {
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 88%, #fff) 0%, var(--accent) 100%);
  border: none;
  color: #fff;
  padding: 13px 24px;
  border-radius: 13px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.05em;
  transition: transform .18s ease, box-shadow .18s ease;
  text-transform: uppercase;
  box-shadow:
    0 8px 22px -8px color-mix(in oklab, var(--accent) 70%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.28);
}
.mod-next:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 32px -10px color-mix(in oklab, var(--accent) 75%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.30);
}
.mod-next:active { transform: translateY(0); }

.mod-learn {
  display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(148,163,184,0.16);
  color: #CBD5E1;
  padding: 13px 20px;
  border-radius: 13px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em;
  transition: all .18s ease;
  text-transform: uppercase;
}
.mod-learn:hover {
  border-color: color-mix(in oklab, var(--accent) 55%, transparent);
  color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}
.mod-learn-icon { font-size: 15px; line-height: 1; opacity: 0.85; }

/* Mock screen wrapper */
.mod-mock-wrap {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  perspective: 1200px;
  container-type: size;
  min-width: 0; min-height: 0;
}
.mod-mock-hint {
  font-size: 11px; letter-spacing: 0.14em; font-weight: 700;
  color: var(--accent);
  text-align: center;
  text-transform: uppercase;
  z-index: 3;
  opacity: 0.85;
}
.mod-mock-stage {
  /* Fit-both: phone is bounded by the column width AND the available height,
     whichever is smaller, so it is never clipped in short viewports.
     52cqh ≈ height-bound width for a 9:17 portrait frame, leaving room
     for the caption + gap below. */
  width: min(340px, 100%, 52cqh);
  height: auto;
  max-height: 100%;
  aspect-ratio: var(--stage-ar, 9 / 17);
  border-radius: 30px;
  overflow: hidden;
  transform: rotateY(calc(var(--tilt, 8deg) * -1)) rotateX(2deg);
  transition: transform .4s ease;
  cursor: default;
  position: relative; z-index: 2;
}
/* Premium brushed-metal bezel — applies ONLY to the synthetic (CSS-drawn)
   phone mocks. Screenshot mocks render their own metal frame on .scrn-device,
   and their outer stage is intentionally transparent + padding-free so the
   tap-to-explore tab strip below the device never gets clipped. */
.mod-mock-stage:not(:has(.scrn)) {
  padding: 10px;
  background:
    linear-gradient(145deg,
      #6b7587 0%, #3a4254 13%, #20262f 30%,
      #181d27 50%,
      #20262f 70%, #3a4254 87%, #707a8d 100%);
  border: 1px solid #04060a;
  box-shadow:
    /* studio drop + contact shadow */
    0 40px 90px rgba(0,0,0,0.62),
    0 10px 28px rgba(0,0,0,0.48),
    /* crisp machined outline */
    0 0 0 1px rgba(0,0,0,0.55),
    /* chamfer: bright top catch, dark underside, soft side rails */
    inset 0 1.5px 1px rgba(255,255,255,0.50),
    inset 0 -2px 3px rgba(0,0,0,0.70),
    inset 2px 0 2px rgba(255,255,255,0.12),
    inset -2px 0 2px rgba(0,0,0,0.50);
}
/* Inner screen — rounded so the metal rim curves cleanly around it */
.mod-mock-stage:not(:has(.scrn)) > * {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.55);
}
/* Glass glare — a single soft key light raking across frame + screen */
.mod-mock-stage:not(:has(.scrn))::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 7; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(125deg,
    rgba(255,255,255,0.24) 0%,
    rgba(255,255,255,0.07) 13%,
    transparent 33%,
    transparent 64%,
    rgba(255,255,255,0.05) 100%);
  mix-blend-mode: screen;
}
.mod-mock-stage:hover { transform: rotateY(calc(var(--tilt, 8deg) * -0.4)) rotateX(0deg); }
.mod-mock-glow {
  position: absolute; inset: 10% -5% 5% 5%;
  background: radial-gradient(ellipse at center, var(--accent-soft) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;   /* decorative — must never intercept clicks (was swallowing the action buttons on flip cards) */
}

/* ── Mock screens — chrome ──────────────────────────────────────────────── */

.mock-screen {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  background: #0A0E14;
  font-size: 11px;
}
.mock-statusbar {
  flex: 0 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 14px 6px;
  font-size: 10px; font-weight: 700;
  color: #fff;
}
.mock-statusbar-mid {
  font-size: 9px; letter-spacing: 0.18em;
  color: #8293A8;
}
.mock-statusbar-right { font-family: ui-monospace, monospace; font-size: 9px; color: #94A3B8; }
.mock-tabs-wrap {
  position: relative;
  flex: 0 0 auto;
  border-bottom: 1px solid #1F293A;
}
.mock-tabs {
  display: flex; gap: 4px;
  padding: 2px 8px 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.mock-tabs::-webkit-scrollbar { display: none; }
.mock-tabs-fade-l, .mock-tabs-fade-r {
  position: absolute; top: 0; bottom: 1px;
  width: 18px;
  pointer-events: none;
}
.mock-tabs-fade-l { left: 0; background: linear-gradient(90deg, #0A0E14, transparent); }
.mock-tabs-fade-r { right: 0; background: linear-gradient(-90deg, #0A0E14, transparent); }
.mock-tab {
  background: transparent; border: 0;
  color: #8293A8;
  padding: 6px 10px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em;
  white-space: nowrap;
  border-radius: 4px;
  flex: 0 0 auto;
}
.mock-tab.active {
  color: #fff;
  background: rgba(59,130,246,0.18);
  box-shadow: inset 0 -2px 0 #3B82F6;
}
.mock-body {
  flex: 1 1 auto;
  padding: 10px 12px;
  overflow: hidden;
}

.mock-pill {
  display: inline-block;
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
  padding: 2px 7px; border-radius: 4px;
}
.mock-pill-accent { background: rgba(59,130,246,0.18); color: #93C5FD; }
.mock-pill-gold   { background: rgba(245,158,11,0.18); color: #F59E0B; }
.mock-pill-muted  { background: rgba(255,255,255,0.06); color: #94A3B8; }
.mock-pill-ghost  { background: transparent; color: #94A3B8; border: 1px solid #334155; }
.mock-pill-success{ background: rgba(34,197,94,0.18); color: #4ADE80; }
.mock-pill-danger { background: rgba(239,68,68,0.18); color: #FCA5A5; }

/* ── Match Center mocks ─────────────────────────────────────────────────── */

.mc-fixtures { display: flex; flex-direction: column; gap: 8px; }
.mc-fixture-card {
  display: flex; align-items: center; gap: 10px;
  background: #111827;
  border: 1px solid #1F293A;
  border-radius: 8px;
  padding: 10px;
}
.mc-fixture-date {
  width: 44px; flex: 0 0 auto;
  background: linear-gradient(135deg, #3B82F6, #1E40AF);
  border-radius: 6px;
  text-align: center;
  padding: 6px 4px;
}
.mc-fixture-day { font-size: 14px; font-weight: 800; line-height: 1; }
.mc-fixture-mon { font-size: 8px; letter-spacing: 0.14em; opacity: 0.85; margin-top: 2px; }
.mc-fixture-body { flex: 1; min-width: 0; }
.mc-fixture-opp { font-size: 11px; font-weight: 700; }
.mc-fixture-meta { font-size: 9px; color: #8293A8; margin: 2px 0 4px; }
.mc-fixture-tags { display: flex; gap: 4px; }
.mc-fixture-cta { color: #3B82F6; font-size: 14px; }

.mc-scorebook { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.mc-score-header {
  position: relative;
  background: linear-gradient(135deg, #1F293A, #0d131e);
  border-radius: 8px;
  padding: 10px 12px;
}
.mc-score-team { font-size: 10px; letter-spacing: 0.15em; color: #94A3B8; font-weight: 700; }
.mc-score-runs { font-size: 30px; font-weight: 800; line-height: 1; margin: 2px 0; }
.mc-score-runs span { font-size: 18px; color: #94A3B8; font-weight: 600; }
.mc-score-overs { font-size: 9px; color: #8293A8; }
.mc-pulse-bar {
  position: absolute; right: 12px; top: 12px; bottom: 12px;
  width: 4px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.mc-pulse-fill {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, #F59E0B 0%, #3B82F6 100%);
  border-radius: 999px;
  animation: pulseFill 2s ease-in-out infinite alternate;
}
@keyframes pulseFill {
  from { opacity: 0.7; }
  to   { opacity: 1; box-shadow: 0 0 12px #3B82F6; }
}
.mc-batters { display: flex; flex-direction: column; gap: 4px; }
.mc-batter-row {
  display: flex; justify-content: space-between;
  background: #111827; padding: 6px 10px; border-radius: 6px;
  font-size: 10px;
}
.mc-batter-name { font-weight: 700; }
.mc-batter-stat { color: #94A3B8; }
.mc-batter-stat b { color: #fff; font-weight: 800; }
.mc-batter-stat i { font-style: normal; opacity: 0.7; }
.mc-over-strip {
  display: flex; gap: 4px; padding: 4px;
  background: #111827; border-radius: 6px;
}
.mc-ball {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 10px; font-weight: 800;
}
.mc-ball-dot { background: #1F293A; color: #8293A8; }
.mc-ball-run { background: rgba(59,130,246,0.18); color: #93C5FD; }
.mc-ball-four{ background: #3B82F6; color: #fff; }
.mc-ball-w   { background: #EF4444; color: #fff; }
.mc-keypad {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px;
  margin-top: auto;
}
.mc-key {
  background: #1F293A;
  border: 0; color: #fff;
  padding: 8px 0;
  border-radius: 6px;
  font-size: 12px; font-weight: 800;
}
.mc-key-boundary { background: rgba(59,130,246,0.18); color: #93C5FD; }
.mc-key-w { background: #EF4444; }

.mc-history { display: flex; flex-direction: column; gap: 4px; }
.mc-hist-row {
  display: grid; grid-template-columns: 50px 1fr auto;
  align-items: center; gap: 6px;
  background: #111827; padding: 7px 10px; border-radius: 6px;
  font-size: 10px;
}
.mc-hist-res {
  font-size: 9px; font-weight: 800; letter-spacing: 0.1em;
  text-align: center;
  padding: 3px 0; border-radius: 4px;
}
.mc-hist-res-won { background: rgba(34,197,94,0.18); color: #4ADE80; }
.mc-hist-res-lost{ background: rgba(239,68,68,0.18); color: #FCA5A5; }
.mc-hist-opp { font-weight: 700; }
.mc-hist-margin { color: #94A3B8; font-size: 9px; }

/* ── Roster mocks ───────────────────────────────────────────────────────── */

.rs-split { display: grid; grid-template-columns: 110px 1fr; gap: 8px; height: 100%; min-height: 0; }
.rs-sidebar { display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.rs-side-head { font-size: 8px; font-weight: 800; letter-spacing: 0.16em; color: #8293A8; padding: 0 4px 4px; border-bottom: 1px solid #1F293A; }
.rs-card {
  display: grid; grid-template-columns: 12px 24px 1fr; gap: 6px; align-items: center;
  background: transparent; border: 0;
  padding: 5px 4px;
  border-radius: 6px;
  text-align: left;
  color: #fff;
  font-family: inherit;
}
.rs-card.sel { background: rgba(59,130,246,0.18); }
.rs-card.self { border-bottom: 1px solid #1F293A; padding-bottom: 8px; margin-bottom: 4px; }
.rs-radio { font-size: 10px; color: #3B82F6; }
.rs-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800;
  color: #fff;
}
.rs-meta { display: flex; flex-direction: column; min-width: 0; }
.rs-name { font-size: 9px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-sub  { font-size: 8px; color: #8293A8; }

.rs-detail { display: flex; flex-direction: column; gap: 8px; min-width: 0; overflow: hidden; }
.rs-hero {
  border-radius: 10px;
  padding: 14px 12px;
  position: relative;
  overflow: hidden;
}
.rs-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.12), transparent 50%);
}
.rs-hero-num { font-size: 28px; font-weight: 800; opacity: 0.5; line-height: 1; }
.rs-hero-name { font-size: 14px; font-weight: 800; margin: 4px 0 2px; }
.rs-hero-role { font-size: 9px; letter-spacing: 0.18em; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.rs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.rs-stat {
  background: #111827; padding: 8px 4px; border-radius: 6px;
  text-align: center;
}
.rs-stat b { display: block; font-size: 14px; font-weight: 800; }
.rs-stat span { font-size: 7px; letter-spacing: 0.14em; color: #8293A8; }

.rs-self {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1F293A, #0d131e);
  border-radius: 10px;
  padding: 24px;
}
.rs-self-mark { font-size: 36px; color: #F59E0B; margin-bottom: 8px; }
.rs-self-title { font-size: 14px; font-weight: 800; }
.rs-self-body { font-size: 10px; color: #94A3B8; margin-top: 4px; }

/* ── Intel Hub mocks ────────────────────────────────────────────────────── */

.ih-filters {
  display: flex; gap: 4px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.ih-chip {
  font-size: 8px; letter-spacing: 0.08em; font-weight: 700;
  padding: 3px 7px; border-radius: 999px;
  border: 1px solid #334155;
  color: #94A3B8;
  white-space: nowrap;
}
.ih-chip-active { border-color: #F59E0B; color: #F59E0B; background: rgba(245,158,11,0.08); }

.ih-strategy { display: flex; flex-direction: column; gap: 6px; }
.ih-insight {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px; align-items: start;
  background:
    linear-gradient(135deg, rgba(15,23,36,0.6), rgba(15,23,36,0.2));
  border: 1px solid rgba(148,163,184,0.10);
  border-left: 2px solid var(--tag-c, #3B82F6);
  padding: 9px 10px; border-radius: 6px;
}
.ih-ins-tag {
  font-size: 8px; font-weight: 800; letter-spacing: 0.16em;
  padding: 4px 6px; border-radius: 3px;
  background: var(--tag-bg, rgba(59,130,246,0.18));
  color: var(--tag-c, #93C5FD);
  align-self: center;
}
.ih-tag-bat  { --tag-bg: rgba(59,130,246,0.18); --tag-c: #93C5FD; }
.ih-tag-bowl { --tag-bg: rgba(34,197,94,0.18);  --tag-c: #4ADE80; }
.ih-tag-mu   { --tag-bg: rgba(245,158,11,0.18); --tag-c: #F59E0B; }
.ih-ins-title { font-size: 10px; font-weight: 800; letter-spacing: 0.01em; }
.ih-ins-body { font-size: 9px; color: #94A3B8; margin-top: 2px; line-height: 1.4; }
.ih-ins-body b { color: #fff; font-weight: 800; }

.ih-h2h-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-bottom: 12px; }
.ih-h2h-col { text-align: center; }
.ih-h2h-name { font-size: 9px; letter-spacing: 0.14em; color: #94A3B8; font-weight: 700; }
.ih-h2h-num { font-size: 28px; font-weight: 800; line-height: 1; margin: 4px 0 2px; }
.ih-h2h-lab { font-size: 8px; color: #8293A8; }
.ih-h2h-vs { font-size: 12px; font-weight: 800; color: #F59E0B; }
.ih-h2h-bars { display: flex; flex-direction: column; gap: 6px; }
.ih-h2h-bar { display: grid; grid-template-columns: 30px 1fr 60px; gap: 6px; align-items: center; font-size: 9px; }
.ih-h2h-bar-track { height: 6px; background: #1F293A; border-radius: 999px; overflow: hidden; }
.ih-h2h-bar-a { height: 100%; background: linear-gradient(90deg, #3B82F6, #93C5FD); }

.ih-perf-title { font-size: 9px; letter-spacing: 0.16em; color: #8293A8; margin-bottom: 6px; }
.ih-spark { width: 100%; height: 90px; }
.ih-perf-row { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid #1F293A; font-size: 10px; }
.ih-perf-row b { font-weight: 800; }

.ih-spatial { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.ih-wagon {
  position: relative;
  width: 180px; height: 180px;
  margin-top: 4px;
}
.ih-wagon-circle {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.18);
  background: radial-gradient(circle at center, rgba(34,197,94,0.06), transparent 70%);
}
.ih-pitch {
  position: absolute; left: 50%; top: 50%;
  width: 14px; height: 36px;
  transform: translate(-50%, -50%);
  background: #FBBF24; opacity: 0.5;
  border-radius: 2px;
}
.ih-wagon-line {
  position: absolute;
  left: 90px; top: 90px;
  width: var(--len);
  height: 2px;
  background: var(--c);
  transform-origin: 0 50%;
  transform: rotate(var(--ang));
  border-radius: 2px;
}
.ih-spatial-leg { display: flex; gap: 10px; font-size: 8px; color: #94A3B8; }
.ih-spatial-leg span { display: inline-flex; align-items: center; gap: 4px; }
.ih-spatial-leg i { width: 8px; height: 8px; border-radius: 50%; }

.ih-venue { display: flex; flex-direction: column; gap: 6px; }
.ih-venue-row {
  display: grid; grid-template-columns: 1fr auto;
  background: #111827; padding: 8px 10px; border-radius: 6px;
  gap: 4px 8px;
}
.ih-venue-name { font-size: 10px; font-weight: 700; grid-column: 1; }
.ih-venue-stats { grid-column: 2; display: flex; gap: 8px; font-size: 9px; color: #94A3B8; }
.ih-venue-stats b { color: #fff; }
.ih-venue-bar {
  grid-column: 1 / -1;
  height: 4px; background: #1F293A; border-radius: 999px; overflow: hidden;
}
.ih-venue-bar > div { height: 100%; background: linear-gradient(90deg, #F59E0B, #3B82F6); }

.ih-opp-card {
  background: linear-gradient(135deg, #1F293A, #0d131e);
  border-radius: 10px; padding: 12px;
}
.ih-opp-name { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }
.ih-opp-meta { font-size: 9px; color: #8293A8; margin: 2px 0 10px; }
.ih-opp-row { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid #1F293A; font-size: 9px; }
.ih-opp-row b { font-weight: 700; }

/* ── Dashboard mocks ────────────────────────────────────────────────────── */

.dg-welcome { font-size: 9px; letter-spacing: 0.18em; font-weight: 800; color: #8293A8; margin-bottom: 8px; }
.dg-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.dg-stat {
  background: #0E1623; border: 1px solid #1F293A;
  border-radius: 8px;
  padding: 10px 10px 9px;
  position: relative; overflow: hidden;
}
.dg-stat::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent-stripe, #3B82F6);
}
.dg-stat::after {
  content: ''; position: absolute; right: -20%; top: -50%;
  width: 80px; height: 80px;
  background: radial-gradient(circle, var(--g) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
.dg-stat-blue   { --g: #3B82F6; --accent-stripe: #3B82F6; }
.dg-stat-purple { --g: #94A3B8; --accent-stripe: #94A3B8; }
.dg-stat-green  { --g: #F59E0B; --accent-stripe: #F59E0B; }
.dg-stat-corner { position: absolute; top: 6px; right: 6px; display: flex; gap: 2px; }
.dg-stat-corner span { width: 3px; height: 3px; border-radius: 50%; background: var(--accent-stripe); opacity: 0.8; }
.dg-stat-corner span:nth-child(2) { opacity: 0.35; }
.dg-stat-num { font-size: 22px; font-weight: 800; line-height: 1; font-family: var(--tw-body); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dg-stat-num span { font-size: 12px; opacity: 0.7; margin-left: 1px; }
.dg-stat-lab { font-size: 8px; letter-spacing: 0.18em; color: #94A3B8; font-weight: 800; margin-bottom: 5px; }
.dg-stat-delta { font-size: 8px; color: #8293A8; margin-top: 5px; display: inline-flex; align-items: center; gap: 4px; letter-spacing: 0.06em; }
.dg-up, .dg-dot { display: inline-block; }
.dg-up { width: 0; height: 0; border-left: 3px solid transparent; border-right: 3px solid transparent; border-bottom: 5px solid #4ADE80; }
.dg-dot { width: 5px; height: 5px; border-radius: 50%; background: #F59E0B; }

.dg-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.dg-fixtures, .dg-perfs {
  background: #111827; border: 1px solid #1F293A;
  border-radius: 8px; padding: 8px 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.dg-section-title {
  display: flex; justify-content: space-between;
  font-size: 8px; letter-spacing: 0.16em; font-weight: 800; color: #94A3B8;
  border-bottom: 1px solid #1F293A; padding-bottom: 4px;
}
.dg-section-title span { color: #3B82F6; font-weight: 700; }
.dg-fix { display: flex; flex-direction: column; padding: 4px 0; }
.dg-fix-d { font-size: 9px; font-weight: 800; color: #3B82F6; letter-spacing: 0.1em; }
.dg-fix-opp { font-size: 10px; font-weight: 700; }
.dg-fix-v { font-size: 8px; color: #8293A8; }

.dg-perf-card {
  background: linear-gradient(135deg, var(--g, #3B82F6), transparent 70%), #0A0E14;
  border-radius: 6px;
  padding: 6px 8px;
  position: relative;
}
.dg-perf-bat  { --g: rgba(59,130,246,0.4); }
.dg-perf-bowl { --g: rgba(34,197,94,0.4); }
.dg-perf-rank { font-size: 7px; letter-spacing: 0.18em; font-weight: 800; color: rgba(255,255,255,0.7); }
.dg-perf-name { font-size: 11px; font-weight: 800; margin-top: 2px; }
.dg-perf-num  { font-size: 16px; font-weight: 800; line-height: 1; }
.dg-perf-num span { font-size: 9px; opacity: 0.7; }

/* ── Finish card — broadcast "Tour Complete" control panel ─────────────── */

.card-finish {
  align-items: stretch; justify-content: stretch;
  text-align: left;
  padding: 44px 52px;
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(59,130,246,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(245,158,11,0.08) 0%, transparent 55%),
    linear-gradient(180deg, rgba(17,24,39,0.65) 0%, rgba(11,16,26,0.82) 100%);
}
.finish-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  width: 100%; height: 100%;
  align-items: center;
}
.finish-left { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.finish-right { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.finish-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 22px;
  font-family: var(--tw-body);
}
.finish-eyebrow-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: blink 1.8s steps(2) infinite;
}
.finish-title {
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 28px;
  color: #fff;
  font-family: var(--tw-body);
}
.finish-title-accent {
  display: block;
  line-height: 1.1;
  background: linear-gradient(135deg, #93C5FD 0%, #F59E0B 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.finish-body {
  font-size: 17px; line-height: 1.55;
  color: #CBD5E1;
  margin: 0 0 36px;
  max-width: 460px;
}
.finish-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.finish-cta {
  display: inline-flex; align-items: center; gap: 12px;
  border: 0;
  color: #fff;
  font-size: 13px; font-weight: 800; letter-spacing: 0.16em;
  padding: 15px 26px;
  border-radius: 999px;
  box-shadow:
    0 12px 32px rgba(59,130,246,0.35),
    0 0 0 1px rgba(255,255,255,0.08) inset;
  transition: transform .15s ease, box-shadow .2s ease;
  text-transform: uppercase;
  font-family: var(--tw-body);
  cursor: pointer;
}
.finish-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(59,130,246,0.5), 0 0 0 1px rgba(255,255,255,0.12) inset; }
.finish-cta:active { transform: translateY(0); }

.finish-cta-test {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #060810;
  box-shadow:
    0 16px 36px rgba(245,158,11,0.45),
    0 0 0 1px rgba(255,255,255,0.10) inset;
}
.finish-cta-test:hover { box-shadow: 0 22px 44px rgba(245,158,11,0.60), 0 0 0 1px rgba(255,255,255,0.14) inset; }

.finish-cta-secondary {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: none;
  font-weight: 700;
}
.finish-cta-secondary:hover {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.28);
  box-shadow: none;
}

.finish-test-hint {
  margin-top: 14px;
  font: 600 11px var(--tw-body); letter-spacing: 0.08em;
  color: var(--tw-gold);
  text-transform: uppercase;
  max-width: 460px;
}
.finish-restart {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 0;
  color: #94A3B8;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  padding: 8px 4px;
  text-transform: uppercase;
  font-family: var(--tw-body);
  transition: color .2s ease;
}
.finish-restart:hover { color: #fff; }

/* Platform Map (right column) */
.finish-map-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2px;
}
.finish-map-label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.28em;
  color: #94A3B8;
  font-family: var(--tw-body);
}
.finish-map-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.18em;
  color: #4ADE80;
  font-family: var(--tw-body);
}
.finish-map-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
}
.finish-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.finish-tile {
  position: relative;
  background: linear-gradient(180deg, rgba(15,23,36,0.7) 0%, rgba(11,16,26,0.7) 100%);
  border: 1px solid rgba(148,163,184,0.10);
  border-radius: 10px;
  padding: 14px 12px 12px;
  min-height: 96px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.finish-tile::before {
  content: '';
  position: absolute; left: 12px; right: 12px; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.55), transparent);
}
.finish-tile-idx {
  position: absolute;
  right: 10px; top: 8px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.1em;
  color: #475569;
  font-family: var(--tw-body);
  font-variant-numeric: tabular-nums;
}
.finish-tile-k {
  font-size: 13px; font-weight: 800; letter-spacing: 0.06em;
  color: #fff;
  font-family: var(--tw-body);
  margin-top: 6px;
  margin-bottom: 4px;
}
.finish-tile-t {
  font-size: 11px;
  color: #94A3B8;
  margin-top: auto;
}
.finish-tile-tick {
  position: absolute;
  left: 12px; bottom: 12px;
  color: #4ADE80;
  filter: drop-shadow(0 0 4px rgba(74,222,128,0.5));
  display: none; /* Show only the elite tick; remove this if want tick on every tile */
}
.finish-tile:hover {
  border-color: rgba(59,130,246,0.30);
  transform: translateY(-2px);
  transition: transform .2s ease, border-color .2s ease;
}
.finish-tile-elite {
  border-color: rgba(245,158,11,0.30);
  background:
    linear-gradient(180deg, rgba(60,42,12,0.50) 0%, rgba(20,15,5,0.65) 100%);
}
.finish-tile-elite::before {
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.70), transparent);
}
.finish-tile-elite .finish-tile-idx { color: rgba(245,158,11,0.55); }
.finish-tile-elite-mark {
  position: absolute;
  right: 10px; bottom: 8px;
  font-size: 10px;
  color: #F59E0B;
  filter: drop-shadow(0 0 6px rgba(245,158,11,0.6));
}

.finish-tagline {
  align-self: center;
  font-size: 12px; letter-spacing: 0.22em; font-weight: 600;
  color: #64748B;
  font-style: italic;
  margin-top: 4px;
  font-family: var(--tw-body);
}

/* Stack the grid on narrow viewports */
@media (max-width: 880px) {
  .card-finish { padding: 28px; }
  .finish-grid { grid-template-columns: 1fr; gap: 28px; }
  .finish-map { grid-template-columns: repeat(2, 1fr); }
  .finish-body { margin-bottom: 24px; }
}
@media (max-width: 760px) {
  /* Finish card on a phone: single column, top-aligned, compacted so the copy
     + 8-tile map fit within the card; scroll only as a last-resort safety so
     nothing is ever clipped by the card's overflow:hidden. */
  .card-finish { overflow-y: auto; padding: 16px 14px; }
  .finish-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
    align-content: start;
    gap: 18px;
  }
  .finish-eyebrow { margin-bottom: 12px; }
  .finish-title { font-size: clamp(24px, 7.5vw, 32px); margin: 0 0 12px; }
  .finish-body { font-size: 14px; line-height: 1.5; margin: 0 0 16px; }
  .finish-actions { gap: 10px; }
  .finish-cta { padding: 13px 20px; font-size: 12px; }
  .finish-test-hint { margin-top: 10px; }
  .finish-map { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .finish-tile { min-height: 62px; padding: 10px 10px 9px; border-radius: 9px; }
}

/* ── Side nav arrows ───────────────────────────────────────────────────── */
.tour-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,23,36,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148,163,184,0.18);
  color: #fff;
  border-radius: 999px;
  z-index: 8;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.04) inset;
}
.tour-nav::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(59,130,246,0.5), rgba(245,158,11,0.5)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.tour-nav:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.08);
  background: rgba(20,30,48,0.75);
  border-color: rgba(59,130,246,0.5);
}
.tour-nav:hover:not(:disabled)::before { opacity: 1; }
.tour-nav:active:not(:disabled) { transform: translateY(-50%) scale(0.96); }
.tour-nav:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  pointer-events: none;
}
.tour-nav-prev { left: 6px; }
.tour-nav-next { right: 6px; }
@media (max-width: 720px) {
  .tour-nav { width: 40px; height: 40px; }
  .tour-nav-prev { left: 6px; }
  .tour-nav-next { right: 6px; }
}

/* ── Done state ─────────────────────────────────────────────────────────── */

.tour-done {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.tour-done-card {
  text-align: center;
  background: #111827;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 48px 60px;
  max-width: 440px;
}
.tour-done-logo { width: 80px; height: 80px; object-fit: contain; margin-bottom: 16px; }
.tour-done-text { font-size: 18px; font-weight: 800; }
.tour-done-sub  { font-size: 13px; color: #8293A8; margin: 8px 0 24px; }
.tour-done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.tour-done-restart {
  background: transparent; border: 1px solid #334155;
  color: #fff; padding: 10px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-decoration: none; display: inline-flex; align-items: center;
}
.tour-done-restart:hover { border-color: #3B82F6; }

/* ── Deep Dive ──────────────────────────────────────────────────────────── */

.dd-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: ddFadeIn .3s ease;
}
@keyframes ddFadeIn { from { opacity: 0; } to { opacity: 1; } }
.dd-sheet {
  width: 100%; max-width: 720px;
  height: 88vh;
  background: #0d131e;
  border-top: 1px solid #334155;
  border-radius: 24px 24px 0 0;
  display: flex; flex-direction: column;
  animation: ddSlideUp .4s cubic-bezier(.22,.9,.32,1.05);
  overflow: hidden;
}
@media (min-width: 720px) {
  .dd-sheet { border-radius: 24px; max-height: 720px; margin-bottom: 24px; }
}
@keyframes ddSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.dd-handle {
  align-self: center;
  width: 40px; height: 4px;
  background: #334155;
  border-radius: 999px;
  margin: 10px 0 4px;
}
.dd-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 12px 24px 16px;
  border-bottom: 1px solid #1F293A;
}
.dd-eyebrow { font-size: 11px; letter-spacing: 0.24em; font-weight: 700; color: #8293A8; }
.dd-title {
  font-size: 24px; font-weight: 800;
  display: flex; align-items: center; gap: 12px;
  margin-top: 4px;
}
.dd-elite {
  background: rgba(245,158,11,0.18);
  color: #F59E0B;
  font-size: 10px; letter-spacing: 0.16em;
  padding: 4px 8px; border-radius: 4px;
}
.dd-close {
  background: transparent; border: 1px solid #334155;
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 999px;
  font-size: 14px;
}
.dd-close:hover { background: #1F293A; }
.dd-scroll {
  flex: 1; overflow-y: auto;
  padding: 16px 24px;
  scrollbar-width: thin;
  scrollbar-color: #334155 transparent;
}
.dd-scroll::-webkit-scrollbar { width: 8px; }
.dd-scroll::-webkit-scrollbar-thumb { background: #334155; border-radius: 999px; }

.dd-section { margin-bottom: 24px; }
.dd-section-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
  padding: 6px 12px;
  background: linear-gradient(90deg, var(--sec-accent, #3B82F6) 0%, transparent 80%);
  background-color: rgba(59,130,246,0.05);
  border-left: 3px solid var(--sec-accent, #3B82F6);
  border-radius: 0 6px 6px 0;
}
.dd-section-name {
  font-size: 13px; font-weight: 800; letter-spacing: 0.1em;
  color: #fff;
}
.dd-elite-pill {
  font-size: 9px; letter-spacing: 0.14em; font-weight: 700;
  background: rgba(245,158,11,0.18);
  color: #F59E0B;
  padding: 3px 6px; border-radius: 4px;
}

.dd-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.dd-feat {
  display: grid; grid-template-columns: 32px 1fr; gap: 10px;
  background: #111827;
  border: 1px solid #1F293A;
  border-radius: 8px;
  padding: 10px 12px;
  transition: border-color .2s ease, transform .2s ease;
}
.dd-feat:hover { border-color: #334155; transform: translateY(-1px); }
.dd-feat-highlight { border-color: rgba(34,197,94,0.4); background: linear-gradient(135deg, rgba(34,197,94,0.08), transparent 60%), #111827; }
.dd-feat-icon { font-size: 18px; line-height: 1.4; }
.dd-feat-name {
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 6px;
}
.dd-avail-chip {
  background: rgba(34,197,94,0.2);
  color: #4ADE80;
  font-size: 8px; font-weight: 800; letter-spacing: 0.14em;
  padding: 2px 5px; border-radius: 3px;
}
.dd-feat-desc { font-size: 12px; line-height: 1.45; color: #94A3B8; margin-top: 2px; }

.dd-bottom-spacer { height: 32px; }

/* ── Home mock ──────────────────────────────────────────────────────────── */

.hm-stage {
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 35%, rgba(59,130,246,0.18) 0%, transparent 70%),
    #0A0E14;
  padding: 20px;
}
.hm-pulse {
  position: relative;
  width: 90px; height: 90px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.hm-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid #3B82F6;
  animation: pulse 2.4s cubic-bezier(.22,.9,.32,1) infinite;
}
.hm-ring.delay { animation-delay: 1.2s; }
.hm-logo { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 4px 16px rgba(59,130,246,0.5)); }
.hm-club { font-size: 16px; font-weight: 800; letter-spacing: 0.06em; }
.hm-tag { font-size: 9px; letter-spacing: 0.24em; color: #94A3B8; margin: 6px 0 16px; font-weight: 700; }
.hm-season {
  font-size: 8px; letter-spacing: 0.2em; font-weight: 800;
  color: #F59E0B;
  border: 1px solid rgba(245,158,11,0.4);
  padding: 4px 10px; border-radius: 999px;
}

/* ── Squads mocks ───────────────────────────────────────────────────────── */

.sq-gallery {
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  perspective: 600px; gap: 6px;
}
.sq-team-card {
  width: 56px; height: 80px;
  background: linear-gradient(180deg, #1F293A, #0d131e);
  border: 1px solid #334155;
  border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  transform-style: preserve-3d;
}
.sq-team-crest {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6, #1E40AF);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 800;
}
.sq-team-name { font-size: 7px; text-align: center; padding: 0 2px; }

.sq-subtabs { display: flex; gap: 4px; margin-bottom: 6px; }
.sq-subtab {
  flex: 1;
  background: #111827; border: 1px solid #1F293A;
  color: #8293A8; font-family: inherit;
  font-size: 8px; font-weight: 800; letter-spacing: 0.1em;
  padding: 5px 4px; border-radius: 4px;
}
.sq-subtab.active { background: rgba(34,197,94,0.18); color: #4ADE80; border-color: rgba(34,197,94,0.4); }

.sq-sessions { display: flex; flex-direction: column; gap: 6px; }
.sq-sess {
  background: #111827; border: 1px solid #1F293A;
  border-left: 3px solid #F59E0B;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.sq-sess-head { display: flex; justify-content: space-between; align-items: center; }
.sq-sess-d { font-size: 10px; font-weight: 800; letter-spacing: 0.04em; }
.sq-sess-t { font-size: 9px; color: #94A3B8; font-variant-numeric: tabular-nums; }
.sq-sess-foci { display: flex; gap: 4px; flex-wrap: wrap; }
.sq-foci {
  display: inline-block;
  font-size: 8px; padding: 3px 7px; border-radius: 999px;
  font-weight: 700; letter-spacing: 0.06em;
  line-height: 1.2;
}
.sq-foci-batting { background: rgba(59,130,246,0.18); color: #93C5FD; }
.sq-foci-bowling { background: rgba(34,197,94,0.18); color: #4ADE80; }
.sq-foci-fielding{ background: rgba(245,158,11,0.18); color: #F59E0B; }
.sq-foci-fitness { background: rgba(139,92,246,0.18); color: #C4B5FD; }
.sq-sess-rsvp { font-size: 9px; color: #8293A8; }
.sq-sess-rsvp b { color: #fff; font-weight: 800; }

.sq-avail { display: flex; flex-direction: column; gap: 4px; }
.sq-avail-row {
  display: flex; justify-content: space-between; align-items: center;
  background: #111827; padding: 6px 10px; border-radius: 6px;
}
.sq-avail-name { font-size: 10px; font-weight: 700; }
.sq-avail-pill {
  font-size: 8px; font-weight: 800; letter-spacing: 0.1em;
  padding: 3px 7px; border-radius: 999px;
}
.sq-avail-avail { background: rgba(34,197,94,0.18); color: #4ADE80; }
.sq-avail-tbc   { background: rgba(245,158,11,0.18); color: #F59E0B; }
.sq-avail-not   { background: rgba(239,68,68,0.18); color: #FCA5A5; }
.sq-avail-counts {
  display: flex; gap: 6px; margin-top: 6px;
  font-size: 8px; color: #8293A8; letter-spacing: 0.08em;
}
.sq-avail-counts span { background: #111827; padding: 4px 6px; border-radius: 4px; }
.sq-avail-counts b { color: #fff; }
.sq-avail-counts .sq-pending { color: #F59E0B; }

.sq-lab { display: flex; flex-direction: column; gap: 6px; }
.sq-lab-head { font-size: 9px; letter-spacing: 0.14em; color: #94A3B8; font-weight: 800; }
.sq-lab-form {
  display: flex; gap: 3px; align-items: flex-end;
  height: 30px;
  background: #111827; padding: 4px; border-radius: 6px;
}
.sq-lab-bar {
  flex: 1;
  background: linear-gradient(180deg, #3B82F6, #1E40AF);
  border-radius: 2px;
  min-height: 4px;
}
.sq-lab-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: #111827; padding: 4px; border-radius: 6px;
}
.sq-lab-cell { aspect-ratio: 1; border-radius: 2px; }
.sq-lab-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.sq-lab-tiles div {
  background: #111827; padding: 6px 2px; border-radius: 4px;
  text-align: center;
}
.sq-lab-tiles b { display: block; font-size: 11px; font-weight: 800; }
.sq-lab-tiles span { font-size: 7px; color: #8293A8; letter-spacing: 0.1em; }

.sq-teams { display: flex; flex-direction: column; gap: 6px; }
.sq-team-row {
  display: flex; align-items: center; gap: 8px;
  background: #111827; padding: 8px 10px; border-radius: 6px;
}
.sq-team-bullet { width: 8px; height: 8px; border-radius: 50%; }
.sq-team-rname { font-size: 10px; font-weight: 700; flex: 1; }
.sq-team-rsub { font-size: 9px; color: #8293A8; }

.sq-museum { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; height: 100%; }
.sq-museum-frame {
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.06);
  padding: 8px;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
}
.sq-museum-cap { font-size: 8px; letter-spacing: 0.16em; font-weight: 800; color: rgba(255,255,255,0.85); }

/* ── Statistics mocks ───────────────────────────────────────────────────── */

.st-filters { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
.st-chip {
  font-size: 8px; letter-spacing: 0.1em; font-weight: 700;
  padding: 3px 7px; border-radius: 999px;
  border: 1px solid #334155;
  color: #94A3B8;
}
.st-chip-export { color: #F59E0B; border-color: rgba(245,158,11,0.4); margin-left: auto; }

.st-podium {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 4px; margin-bottom: 8px;
}
.st-podium-card {
  background: #111827; border: 1px solid #334155; border-radius: 6px;
  padding: 8px 4px; text-align: center;
}
.st-podium-rank { font-size: 14px; font-weight: 800; line-height: 1; }
.st-podium-name { font-size: 9px; font-weight: 700; margin: 2px 0; letter-spacing: 0.06em; }
.st-podium-num { font-size: 14px; font-weight: 800; }
.st-podium-num span { font-size: 8px; color: #94A3B8; }

.st-table { width: 100%; border-collapse: collapse; font-size: 9px; }
.st-table th {
  text-align: left; padding: 4px 4px; color: #8293A8;
  font-weight: 800; letter-spacing: 0.08em;
  border-bottom: 1px solid #1F293A;
  font-size: 8px;
}
.st-table td {
  padding: 5px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-variant-numeric: tabular-nums;
}
.st-table td b { font-weight: 800; }
.st-econ-g { color: #4ADE80; font-weight: 800; }
.st-econ-r { color: #FCA5A5; font-weight: 800; }
.st-econ-n { color: #fff; }

.st-mvp-hero {
  background: linear-gradient(135deg, #1F293A, #0d131e);
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 8px;
  padding: 12px;
}
.st-mvp-rank { font-size: 8px; letter-spacing: 0.18em; color: #F59E0B; font-weight: 800; }
.st-mvp-name { font-size: 18px; font-weight: 800; margin: 4px 0 2px; }
.st-mvp-score { font-size: 10px; color: #94A3B8; margin-bottom: 8px; }
.st-mvp-bars { display: flex; flex-direction: column; gap: 4px; }
.st-mvp-bars > div { display: grid; grid-template-columns: 36px 1fr; gap: 6px; align-items: center; font-size: 8px; color: #94A3B8; }
.st-mvp-bars i { display: block; height: 5px; border-radius: 999px; }

.st-trophy { display: flex; flex-direction: column; gap: 6px; }
.st-trophy-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.st-trophy-card {
  background: #111827; border: 1px solid #1F293A;
  border-radius: 6px; padding: 8px;
  text-align: center;
}
.st-orange { border-color: rgba(245,158,11,0.4); }
.st-purple { border-color: rgba(139,92,246,0.4); }
.st-gold   { border-color: rgba(255,215,0,0.4); }
.st-pos    { border-color: rgba(59,130,246,0.4); }
.st-trophy-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.04em;
  font-family: var(--tw-body);
  margin: 0 auto;
  border: 1px solid currentColor;
}
.st-bdg-orange { color: #F59E0B; background: rgba(245,158,11,0.12); }
.st-bdg-purple { color: #C4B5FD; background: rgba(139,92,246,0.12); }
.st-bdg-gold   { color: #FACC15; background: rgba(250,204,21,0.12); }
.st-bdg-pos    { color: #93C5FD; background: rgba(59,130,246,0.12); }
.st-trophy-icon { font-size: 18px; }
.st-trophy-lab { font-size: 7px; letter-spacing: 0.16em; color: #8293A8; font-weight: 800; margin: 2px 0; }
.st-trophy-name { font-size: 9px; font-weight: 700; }

/* ── Settings mocks ─────────────────────────────────────────────────────── */

.se-acct { display: flex; flex-direction: column; gap: 6px; }
.se-card {
  background: #111827; border: 1px solid #1F293A;
  border-radius: 8px; padding: 10px 12px;
}
.se-card-lab { font-size: 8px; letter-spacing: 0.18em; color: #8293A8; font-weight: 800; }
.se-card-val {
  font-size: 14px; font-weight: 800; margin-top: 2px;
  display: flex; align-items: center; gap: 6px;
}
.se-card-sub { font-size: 9px; color: #94A3B8; margin-top: 2px; }
.se-chip-elite {
  background: rgba(245,158,11,0.18); color: #F59E0B;
  font-size: 8px; letter-spacing: 0.14em; font-weight: 800;
  padding: 2px 5px; border-radius: 3px;
}

.se-rows { display: flex; flex-direction: column; gap: 4px; }
.se-row {
  display: flex; justify-content: space-between; align-items: center;
  background: #111827; padding: 8px 10px; border-radius: 6px;
  font-size: 10px;
}
.se-row span { color: #94A3B8; }
.se-row b { font-weight: 700; }

.se-btn {
  background: rgba(59,130,246,0.18); color: #93C5FD;
  border: 1px solid rgba(59,130,246,0.4);
  padding: 8px; border-radius: 6px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.14em;
  font-family: inherit;
}
.se-btn-ghost { background: transparent; color: #94A3B8; border-color: #334155; }

.se-themes-lab { font-size: 8px; letter-spacing: 0.18em; color: #8293A8; font-weight: 800; margin-bottom: 6px; }
.se-theme-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
}
.se-swatch {
  position: relative;
  background: #111827; border: 1px solid #1F293A;
  border-radius: 6px;
  padding: 8px 6px; cursor: pointer;
  font-family: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.se-swatch.sel { border-color: #F59E0B; box-shadow: 0 0 0 2px rgba(245,158,11,0.2); }
.se-sw-a, .se-sw-b {
  width: 18px; height: 8px;
  border-radius: 2px;
}
.se-sw-b { width: 12px; }
.se-sw-name {
  font-size: 8px; font-weight: 800; letter-spacing: 0.1em;
  color: #fff;
}

.se-comm { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.se-comm-chip {
  font-size: 8px; font-weight: 800; letter-spacing: 0.12em;
  padding: 4px 8px; border-radius: 999px;
  border: 1px solid #334155; color: #94A3B8;
}
.se-comm-chip.sel { border-color: #3B82F6; color: #93C5FD; background: rgba(59,130,246,0.12); }

.se-assets { display: flex; flex-direction: column; gap: 4px; }
.se-asset-row {
  display: flex; justify-content: space-between; align-items: center;
  background: #111827; padding: 8px 10px; border-radius: 6px;
}
.se-asset-n { font-size: 10px; font-weight: 700; }
.se-asset-sub { font-size: 8px; color: #8293A8; margin-top: 2px; }
.se-asset-tag {
  font-size: 8px; font-weight: 800; letter-spacing: 0.12em;
  padding: 3px 6px; border-radius: 4px;
}
.se-asset-tag.cloud { background: rgba(59,130,246,0.18); color: #93C5FD; }
.se-asset-tag.local { background: rgba(255,255,255,0.06); color: #94A3B8; }

/* ── Scorebook deep-dive mock ───────────────────────────────────────────── */

.sb-details { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.sb-row {
  display: flex; justify-content: space-between; align-items: center;
  background: #111827; padding: 7px 10px; border-radius: 6px;
  font-size: 10px;
}
.sb-row span { color: #8293A8; font-weight: 700; letter-spacing: 0.1em; font-size: 8px; }
.sb-row b { font-weight: 800; }
.sb-toss {
  background: linear-gradient(135deg, #1F293A, #0d131e);
  border-radius: 8px; padding: 10px;
  border-left: 3px solid #F59E0B;
}
.sb-toss-head { font-size: 8px; letter-spacing: 0.18em; color: #F59E0B; font-weight: 800; }
.sb-toss-body { font-size: 11px; margin-top: 4px; }

.sb-squads { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sb-sq-col { background: #111827; border-radius: 6px; padding: 6px; }
.sb-sq-head { display: flex; justify-content: space-between; font-size: 9px; font-weight: 800; letter-spacing: 0.1em; padding-bottom: 4px; border-bottom: 1px solid #1F293A; }
.sb-sq-head span { color: #4ADE80; }
.sb-sq-row { font-size: 9px; padding: 3px 2px; color: #CBD5E1; }
.sb-sq-subs { font-size: 8px; color: #F59E0B; font-weight: 800; padding-top: 4px; border-top: 1px solid #1F293A; margin-top: 4px; letter-spacing: 0.08em; }

.sb-summary { padding: 4px 0; }
.sb-result { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: #F59E0B; text-align: center; margin-bottom: 8px; }
.sb-inn { font-size: 10px; text-align: center; color: #94A3B8; margin-bottom: 12px; }
.sb-inn b { color: #fff; }
.sb-mvp { background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(59,130,246,0.06)); border: 1px solid rgba(245,158,11,0.3); border-radius: 8px; padding: 10px; text-align: center; }
.sb-mvp-lab { font-size: 8px; letter-spacing: 0.16em; color: #F59E0B; font-weight: 800; }
.sb-mvp-name { font-size: 11px; font-weight: 800; margin-top: 4px; }

.sb-insights { display: flex; flex-direction: column; gap: 6px; }
.sb-ins { display: flex; gap: 8px; background: #111827; padding: 8px 10px; border-radius: 6px; font-size: 10px; align-items: flex-start; }
.sb-ins-tag { font-size: 8px; font-weight: 800; letter-spacing: 0.1em; padding: 3px 6px; border-radius: 4px; flex: 0 0 auto; }
.sb-ins > div:last-child { color: #CBD5E1; line-height: 1.4; }

.sb-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.sb-stats-tile {
  background: #111827; border: 1px solid #1F293A;
  border-radius: 6px;
  padding: 12px 4px;
  text-align: center;
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em;
  color: #93C5FD;
}

.sb-flip { display: flex; align-items: center; justify-content: center; height: 100%; }
.sb-flip-card {
  background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(59,130,246,0.12));
  border: 1.5px solid #F59E0B;
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  animation: sbFlipIn .6s cubic-bezier(.22,.9,.32,1.05);
}
@keyframes sbFlipIn {
  from { transform: rotateX(-90deg) scale(0.8); opacity: 0; }
  to   { transform: rotateX(0) scale(1); opacity: 1; }
}
.sb-flip-eye { font-size: 8px; letter-spacing: 0.2em; color: #F59E0B; font-weight: 800; }
.sb-flip-name { font-size: 12px; font-weight: 800; margin: 6px 0 2px; }
.sb-flip-big { font-size: 42px; font-weight: 800; line-height: 1; background: linear-gradient(135deg, #F59E0B, #fff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sb-flip-sub { font-size: 9px; color: #94A3B8; margin-top: 4px; }

.sb-pulse { display: flex; align-items: center; justify-content: center; height: 100%; }
.sb-pulse-card {
  background: linear-gradient(135deg, #1F293A, #0d131e);
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  position: relative; overflow: hidden;
}
.sb-pulse-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 11px;
  margin: 0 auto;
}
.sb-pulse-name { font-size: 11px; font-weight: 800; margin-top: 6px; }
.sb-pulse-tier { font-size: 9px; letter-spacing: 0.18em; color: #F59E0B; font-weight: 800; margin-top: 2px; }
.sb-pulse-tag { font-size: 9px; font-style: italic; color: #fff; margin-top: 8px; line-height: 1.4; }
.sb-pulse-grad {
  height: 6px; width: 80%; margin: 10px auto 0;
  background: linear-gradient(90deg, #8293A8 0%, #EAB308 30%, #3B82F6 60%, #EF4444 80%, #F59E0B 100%);
  border-radius: 999px;
}

.sb-fan { display: flex; flex-direction: column; gap: 4px; }
.sb-fan-head { font-size: 8px; letter-spacing: 0.18em; color: #F59E0B; font-weight: 800; padding: 4px 2px; }
.sb-fan-row {
  display: flex; justify-content: space-between; align-items: center;
  background: #111827; padding: 6px 10px; border-radius: 6px;
}
.sb-fan-n { font-size: 9px; font-weight: 800; }
.sb-fan-m { font-size: 9px; color: #CBD5E1; font-style: italic; margin-top: 1px; }
.sb-fan-acts { display: flex; gap: 6px; }
.sb-fan-yes, .sb-fan-no {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.sb-fan-yes { background: rgba(34,197,94,0.18); color: #4ADE80; }
.sb-fan-no  { background: rgba(239,68,68,0.18); color: #FCA5A5; }

/* ── Scorebook commentary mock ──────────────────────────────────────────── */

.sb-comm { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.sb-comm-row {
  display: grid; grid-template-columns: 32px 1fr;
  gap: 8px;
  background: #111827;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 9px;
  line-height: 1.4;
  color: #CBD5E1;
}
.sb-comm-ov {
  font-weight: 800;
  color: #F59E0B;
  letter-spacing: 0.04em;
}
.sb-comm-w { background: rgba(239,68,68,0.10); border-left: 2px solid #EF4444; padding-left: 8px; }
.sb-comm-w .sb-comm-ov { color: #FCA5A5; }
.sb-comm-tone {
  margin-top: 6px;
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: #94A3B8;
  font-weight: 700;
}

/* ── CrestSmart mock ────────────────────────────────────────────────────── */

.sb-cs { display: flex; flex-direction: column; gap: 8px; padding-top: 2px; }
.sb-cs-head {
  font-size: 9px; letter-spacing: 0.18em; font-weight: 800;
  color: #F59E0B;
  display: inline-flex; align-items: center; gap: 6px;
}
.sb-cs-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #0B0E14;
  font-size: 8px; font-weight: 900; letter-spacing: 0;
  font-family: var(--tw-body);
}
.sb-cs-head > span:not(.sb-cs-mark) { color: #fff; background: rgba(245,158,11,0.2); padding: 2px 6px; border-radius: 3px; font-size: 8px; margin-left: 4px; }
.sb-cs-hero {
  display: grid; grid-template-columns: 1fr 1px 1fr;
  gap: 10px;
  background: linear-gradient(135deg, rgba(59,130,246,0.10), rgba(15,23,36,0.55));
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 10px;
  padding: 12px;
}
.sb-cs-hero::before { content: ''; }
.sb-cs-num {
  font-size: 48px; font-weight: 800; line-height: 1;
  text-align: center; align-self: center;
  color: transparent;
  background: linear-gradient(180deg, #F59E0B, #fff);
  -webkit-background-clip: text; background-clip: text;
}
.sb-cs-hero > :nth-child(2) {
  background: rgba(255,255,255,0.08);
  width: 1px;
}
.sb-cs-side { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.sb-cs-row { display: flex; justify-content: space-between; font-size: 10px; color: #94A3B8; }
.sb-cs-row b { color: #fff; font-weight: 800; }
.sb-cs-balls {
  display: flex; gap: 3px;
  background: #111827; padding: 6px; border-radius: 6px;
}
.sb-cs-ball {
  flex: 1;
  font-size: 9px; font-weight: 800;
  text-align: center;
  background: rgba(255,255,255,0.05);
  padding: 4px 0; border-radius: 3px;
  color: #94A3B8;
}
.sb-cs-ball.b { background: rgba(59,130,246,0.18); color: #93C5FD; }
.sb-cs-dots {
  display: flex; gap: 6px; justify-content: center; padding-top: 4px;
}
.sb-cs-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.sb-cs-dots span.on { width: 16px; border-radius: 999px; background: #F59E0B; }

/* ── Broadcast Kit mock ─────────────────────────────────────────────────── */

.bk-assets {
  display: flex; flex-direction: column;
  padding: 12px 14px 16px;
  gap: 12px;
  height: 100%;
  overflow: hidden;
}
.bk-assets-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  color: #94A3B8;
  text-transform: uppercase;
}
.bk-assets-count {
  font-size: 9px; color: #5B6679; font-weight: 600;
  font-feature-settings: 'tnum';
}
.bk-asset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
}
.bk-asset-tile {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(148,163,184,0.10);
  border-radius: 10px;
  padding: 10px 10px 8px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative; overflow: hidden;
}
.bk-asset-mini {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  min-height: 40px;
}
.bk-asset-label {
  font-size: 9px; font-weight: 800; letter-spacing: 0.14em;
  color: #B8C1CE; text-transform: uppercase;
  text-align: left;
}
.bk-asset-faces span {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1F2937, #0F172A);
  border: 1.5px solid rgba(59,130,246,0.40);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 800; color: #93C5FD;
  margin-left: -4px;
}
.bk-asset-faces span:first-child { margin-left: 0; }
.bk-asset-faces span:last-child {
  background: rgba(59,130,246,0.18);
  border-color: rgba(59,130,246,0.45);
  color: #BFDBFE;
}
.bk-asset-logos { gap: 4px; flex-wrap: wrap; }
.bk-logo-chip {
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.30);
  color: #FCD34D;
  font-size: 8px; font-weight: 800; letter-spacing: 0.06em;
  padding: 3px 6px;
  border-radius: 4px;
}
.bk-asset-wp {
  flex-direction: column; gap: 3px; padding: 4px; width: 100%;
}
.bk-wp-strip {
  width: 100%; height: 8px; border-radius: 2px;
}
.bk-wp-strip-a { background: linear-gradient(90deg, #1E3A8A, #3B82F6); }
.bk-wp-strip-b { background: linear-gradient(90deg, #064E3B, #10B981); opacity: 0.65; }
.bk-wp-strip-c { background: linear-gradient(90deg, #78350F, #F59E0B); opacity: 0.4; }
.bk-asset-grounds { gap: 3px; }
.bk-ground-tile {
  width: 18px; height: 22px; border-radius: 3px;
  background:
    linear-gradient(180deg, #1E293B 0%, #0F172A 50%, #14532D 50%, #166534 100%);
  border: 1px solid rgba(34,197,94,0.20);
}
.bk-asset-music { gap: 2px; align-items: flex-end; }
.bk-bar {
  width: 3px; background: linear-gradient(180deg, #3B82F6, #1E40AF);
  border-radius: 1px;
}
.bk-bar-1 { height: 10px; }
.bk-bar-2 { height: 18px; }
.bk-bar-3 { height: 14px; }
.bk-bar-4 { height: 22px; }
.bk-bar-5 { height: 16px; }
.bk-bar-6 { height: 8px; }
.bk-asset-add {
  border-style: dashed;
  border-color: rgba(59,130,246,0.30);
}
.bk-asset-plus {
  font-size: 28px; font-weight: 300;
  color: #3B82F6;
}
.bk-asset-add .bk-asset-label { color: #3B82F6; }

/* Shared card stage */
.bk-card-stage {
  padding: 12px 14px 14px;
  display: flex; flex-direction: column;
  align-items: stretch;
  gap: 8px;
  height: 100%;
  overflow: hidden;
}
.bk-card {
  flex: 1 1 auto;
  border-radius: 12px;
  padding: 14px 14px 12px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245,158,11,0.10) 0%, transparent 60%),
    linear-gradient(180deg, #0E1014 0%, #07080C 100%);
  border: 1px solid rgba(245,158,11,0.20);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  min-height: 0;
}
.bk-card-eyebrow {
  font-size: 9px; font-weight: 700; letter-spacing: 0.18em;
  color: #94A3B8; text-align: center;
  text-transform: uppercase;
}
.bk-card-eyebrow-gold { color: #F59E0B; }
.bk-card-eyebrow-light { color: #C7CED9; }
.bk-card-foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 8px; font-weight: 700; letter-spacing: 0.10em;
  color: #6B7280;
  text-transform: uppercase;
  border-top: 1px solid rgba(148,163,184,0.10);
}
.bk-card-tag {
  background: rgba(59,130,246,0.18);
  color: #93C5FD;
  padding: 2px 6px; border-radius: 3px;
}
.bk-card-tag-gold { background: rgba(245,158,11,0.18); color: #FCD34D; }
.bk-card-counter {
  text-align: center;
  font-size: 9px; font-weight: 700; letter-spacing: 0.16em;
  color: #5B6679;
  text-transform: uppercase;
}

/* FIXTURE — Side-by-Side */
.bk-fx-row {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: space-around;
  padding: 10px 0;
  gap: 8px;
}
.bk-fx-team {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
}
.bk-fx-logo {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, #1E40AF, #3B82F6);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 900;
  color: white;
  box-shadow: 0 4px 12px rgba(59,130,246,0.40);
}
.bk-fx-logo-alt {
  background: linear-gradient(135deg, #7F1D1D, #DC2626);
  box-shadow: 0 4px 12px rgba(220,38,38,0.40);
}
.bk-fx-name {
  font-size: 11px; font-weight: 800; letter-spacing: 0.10em;
  color: #fff;
}
.bk-fx-vs {
  font-size: 14px; font-weight: 900; letter-spacing: 0.10em;
  color: #F59E0B;
  text-shadow: 0 0 12px rgba(245,158,11,0.50);
}

/* LINEUP — Announcement grid */
.bk-card-lineup { padding: 10px 10px 10px; }
.bk-xi-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 8px 0;
  min-height: 0;
}
.bk-xi-tile {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 6px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  border-left: 2px solid rgba(59,130,246,0.50);
  min-width: 0;
}
.bk-xi-num {
  font-size: 8px; font-weight: 800;
  color: #6B7280; flex-shrink: 0;
}
.bk-xi-name {
  font-size: 8.5px; font-weight: 700;
  color: #E5E7EB;
  letter-spacing: 0.02em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.bk-xi-c { border-left-color: #F59E0B; }
.bk-xi-c .bk-xi-name { color: #FCD34D; }
.bk-xi-wk { border-left-color: #10B981; }
.bk-xi-wk .bk-xi-name { color: #6EE7B7; }

/* WINNER — Clash */
.bk-win-banner {
  text-align: center;
  font-size: 18px; font-weight: 900;
  letter-spacing: 0.10em;
  color: #fff;
  margin-top: 4px;
}
.bk-win-banner-sub {
  text-align: center;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em;
  color: #F59E0B;
  margin-bottom: 4px;
}
.bk-win-clash {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: space-around;
  padding: 4px 0 8px;
}
.bk-win-side {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
}
.bk-win-logo {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #1E40AF, #3B82F6);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900;
  color: white;
  box-shadow: 0 4px 12px rgba(59,130,246,0.40);
}
.bk-win-logo-loss {
  background: linear-gradient(135deg, #4B5563, #9CA3AF);
  filter: grayscale(1);
  box-shadow: none;
}
.bk-win-side-loss { opacity: 0.55; }
.bk-win-score {
  font-size: 18px; font-weight: 800;
  color: #fff;
  font-feature-settings: 'tnum';
}
.bk-win-score span {
  font-size: 11px; color: #94A3B8; font-weight: 700;
}
.bk-win-side-loss .bk-win-score { font-size: 14px; color: #94A3B8; }

/* POTM — Portrait */
.bk-card-potm {
  padding: 0 0 10px;
  align-items: center;
}
.bk-potm-photo {
  width: 100%;
  height: 110px;
  margin: 0;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(245,158,11,0.20) 0%, transparent 60%),
    linear-gradient(180deg, #1F2937 0%, #0F172A 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 900;
  color: #F59E0B;
  letter-spacing: 0.08em;
  position: relative;
}
.bk-potm-photo::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
  background: linear-gradient(180deg, transparent 0%, #07080C 100%);
}
.bk-potm-kicker {
  margin-top: 8px;
  font-size: 8px; font-weight: 700; letter-spacing: 0.20em;
  color: #94A3B8;
  text-transform: uppercase;
}
.bk-potm-name {
  margin-top: 2px;
  font-size: 14px; font-weight: 400; letter-spacing: 0.06em;
  color: #fff;
}
.bk-potm-name b { font-weight: 900; }
.bk-potm-tag {
  margin-top: 4px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.16em;
  color: #FCD34D;
}
.bk-potm-hero {
  margin-top: 6px;
  display: flex; align-items: baseline; justify-content: center; gap: 6px;
}
.bk-potm-num {
  font-size: 34px; font-weight: 900;
  color: #fff;
  line-height: 1;
  font-feature-settings: 'tnum';
}
.bk-potm-unit {
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  color: #F59E0B;
}
.bk-potm-rail {
  width: calc(100% - 24px);
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2px;
  padding-top: 6px;
  border-top: 1px solid rgba(148,163,184,0.12);
}
.bk-potm-rail > div {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.bk-potm-rail span {
  font-size: 7.5px; font-weight: 700; letter-spacing: 0.10em;
  color: #6B7280; text-transform: uppercase;
}
.bk-potm-rail b {
  font-size: 13px; font-weight: 800;
  color: #fff;
  font-feature-settings: 'tnum';
}

/* INTEL — Dossier */
.bk-card-intel {
  padding: 12px 14px 12px;
  gap: 8px;
}
.bk-intel-title {
  text-align: center;
  font-size: 14px; font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff;
}
.bk-intel-title span {
  color: #F59E0B; font-weight: 600;
  margin: 0 3px;
}
.bk-intel-block { display: flex; flex-direction: column; gap: 4px; }
.bk-intel-label {
  font-size: 8px; font-weight: 800; letter-spacing: 0.16em;
  color: #6B7280; text-transform: uppercase;
}
.bk-intel-h2h {
  display: flex; gap: 4px;
}
.bk-h2h-w, .bk-h2h-l, .bk-h2h-d {
  flex: 1; text-align: center;
  font-size: 12px; font-weight: 900;
  padding: 4px 0;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.bk-h2h-w { background: rgba(34,197,94,0.18); color: #6EE7B7; }
.bk-h2h-l { background: rgba(239,68,68,0.16); color: #FCA5A5; }
.bk-h2h-d { background: rgba(148,163,184,0.16); color: #CBD5E1; }
.bk-intel-form { display: flex; gap: 4px; }
.bk-form {
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 900;
}
.bk-form-w { background: rgba(34,197,94,0.30); color: #6EE7B7; }
.bk-form-l { background: rgba(239,68,68,0.28); color: #FCA5A5; }
.bk-form-d { background: rgba(148,163,184,0.28); color: #CBD5E1; }
.bk-intel-row {
  display: flex; justify-content: space-between; gap: 12px;
}
.bk-intel-row > div { display: flex; flex-direction: column; gap: 2px; }
.bk-intel-val {
  font-size: 18px; font-weight: 900;
  color: #F59E0B;
  font-feature-settings: 'tnum';
}
.bk-intel-val-sm { font-size: 13px; color: #fff; }
.bk-intel-watch {
  display: flex; flex-direction: column; gap: 3px;
  font-size: 9px; font-weight: 700;
  color: #C7CED9;
}
.bk-intel-watch b { color: #fff; font-weight: 800; }

/* Short viewports — compress vertical rhythm so the left column never clips
   the explainer note or the action buttons. */
@media (max-height: 680px) and (min-width: 761px) {
  .card-module { padding: 22px 40px; }
  .mod-exp { margin-top: 2px; padding-top: 4px; }
  .mod-exp-eyebrow { margin-bottom: 6px; }
  .mod-exp-title { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 8px; }
  .mod-exp-intro { -webkit-line-clamp: 1; margin-bottom: 10px; }
  .mod-exp-cards { gap: 8px; margin-bottom: 10px; }
  .mod-exp-card { min-height: 78px; padding: 14px 14px 12px; }
  .mod-exp-card-sub { -webkit-line-clamp: 3; }
  .mod-exp-note { padding: 10px 14px; font-size: 13px; line-height: 1.45; }
  .mod-actions { margin-top: 10px; }
  .mod-next, .mod-learn { padding: 9px 18px; }
}

@media (max-width: 760px) {
  /* Minimal margins so the screenshot runs nearly edge-to-edge. */
  .tour-slot { padding: 6px; }
  .card { padding: 12px 10px; border-radius: 14px; }
  .tour-top { padding: 10px 12px 0; }
  .tour-bottom { padding: 8px 12px 12px; }
  .hero-pulse { width: 120px; height: 120px; }
  .hero-logo { width: 80px; height: 80px; }
  .mod-exp { overflow: visible; }

  /* Screenshot mocks fill the width; only synthetic phone mocks keep a cap. */
  .mod-mock-stage { max-width: none; }
  .mod-mock-stage:not(:has(.scrn)) { max-width: 240px; padding: 8px; border-radius: 26px; }
  .mod-mock-stage:not(:has(.scrn)) > * { border-radius: 18px; }
  .card-module:not(.card-module-landscape) .scrn-frame-phone  .scrn-img,
  .card-module:not(.card-module-landscape) .scrn-frame-tablet .scrn-img { max-width: 100%; }
  .card-module:not(.card-module-landscape) .mod-mock-stage:has(.scrn-frame-tablet) { max-width: none; }

  /* Landscape modules read top-to-bottom on a phone: eyebrow → title → tablet
     → cards → actions. display:contents lifts the copy's children into the card
     grid so the tablet can sit between the title and the numbered cards. */
  /* Swipe/tap/keys advance on a phone — the side arrows just overlap the card. */
  .tour-nav { display: none; }
  /* An empty actions row (no deep dive → no buttons) shouldn't eat a grid gap. */
  .mod-actions:empty { display: none; }

  .card-module-landscape,
  .card-module-landscape.mod-flip {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: min-content;
    align-content: safe center;
    column-gap: 0;
    row-gap: 10px;
    padding: 12px 12px 14px;
  }
  .card-module-landscape .mod-left,
  .card-module-landscape .mod-exp { display: contents; }
  .card-module-landscape .mod-eyebrow { order: 1; margin: 0; }
  .card-module-landscape .mod-exp-title {
    order: 2; margin: 0;
    font-size: clamp(18px, 5.2vw, 23px); line-height: 1.2;
  }
  .card-module-landscape .mod-mock-wrap,
  .card-module-landscape.mod-flip .mod-mock-wrap { order: 3; min-height: 0; margin: 0; }
  /* Tabs are removed on phones — hide the whole explore strip (cue + progress +
     pills) so each module shows one clean screenshot. Scoped to .card-module
     (0,2,0) so it beats the unconditional `.scrn-explore { display:flex }` that
     loads later in tour-screenshot-mocks.css at equal (0,1,0) specificity. */
  .card-module .scrn-explore { display: none; }
  /* Give the device a DEFINITE height so its container-query image sizing
     resolves. grid-auto-rows:min-content left the row indefinite, so the
     cqh-sized screenshot collapsed to zero and the tablet vanished. */
  /* width:100% (definite, fills the grid column) anchors the image's
     max-width:100%; height:auto lets the device shrink-wrap the image, which is
     sized directly off the viewport in the mobile block at the end of
     tour-screenshot-mocks.css (container-query cqh doesn't resolve on a flex
     item, so the shot collapsed to nothing). Specificity bumped so this beats
     the unconditional rule in the later-loaded tour-screenshot-mocks.css. */
  .card-module.card-module-landscape .scrn-device { transform: none; width: 100%; height: auto; }
  .card-module-landscape .mod-exp-cards { order: 4; margin: 0; gap: 8px; }
  .card-module-landscape .mod-actions { order: 5; margin: 0; }
  .card-module-landscape .mod-exp-intro,
  .card-module-landscape .mod-exp-note { display: none; }   /* keep title + tablet + cards tight */
  .card-module-landscape .mod-exp-card-sub { -webkit-line-clamp: 3; }

  /* Roster (the one PORTRAIT module): collapse to a single column — compact
     title on top, then the phone screenshot (height-bound hero) with its tab
     rail stacked BELOW the device. The pinched side-copy is trimmed. */
  .card-module:not(.card-module-landscape) {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: min-content;
    align-content: safe center;
    gap: 8px;
    padding: 12px 10px;
  }
  .card-module:not(.card-module-landscape) .mod-left { order: 1; display: block; min-height: 0; }
  .card-module:not(.card-module-landscape) .mod-mock-wrap { order: 2; min-height: 0; margin: 0; perspective: none; height: auto; }
  .card-module:not(.card-module-landscape) .mod-exp-intro,
  .card-module:not(.card-module-landscape) .mod-exp-cards,
  .card-module:not(.card-module-landscape) .mod-exp-note { display: none; }
  .card-module:not(.card-module-landscape) .mod-exp-title { font-size: clamp(16px, 4.6vw, 20px); margin: 0; }
  .card-module:not(.card-module-landscape) .mod-mock-stage { transform: none; }   /* no tilt on phone */

  /* Phone screenshot: give the device a DEFINITE height (portrait, so taller)
     so the container-query image sizing resolves and it actually renders. */
  .card-module:not(.card-module-landscape) .scrn-port { flex-direction: column; gap: 0; height: auto; }
  /* Extra .mod-mock-stage in the chain bumps specificity above the equal
     (0,4,0) rule in the later-loaded tour-screenshot-mocks.css, which would
     otherwise force width:auto/height:100% and hide the phone shot. Height is
     driven by the image's viewport-based max-height (mobile block at the end of
     tour-screenshot-mocks.css); width:100% anchors the image's max-width. */
  .card-module:not(.card-module-landscape) .mod-mock-stage .scrn-port .scrn-device { width: 100%; height: auto; min-height: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════
   EDITORIAL-KEYNOTE RESKIN — layered overrides (2026-08)
   Modernizes typography, colour and buttons toward the brand system
   (Saira Condensed + Inter, brand navy + one blue accent, muted gold for
   Elite). Device bezels and ambient FX/animations are intentionally KEPT.
   Appended last so it wins the cascade without disturbing the base rules.
   ══════════════════════════════════════════════════════════════════════════ */

/* Warmer brand canvas — keep the blue/gold blooms, swap the flat base for the
   site's navy gradient (the animated field FX still overlays on top). */
.tour {
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(59,130,246,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 92% 100%, rgba(212,160,23,0.05) 0%, transparent 60%),
    linear-gradient(165deg, #0a1220 0%, #0f1923 25%, #132640 50%, #0f1923 75%, #0b1018 100%);
}

/* Display headings → Saira Condensed, near-neutral tracking + lighter weight
   for an editorial read (base rules used Barlow 800 with tight -0.045em). */
.hero-tagline,
.mod-exp-title,
.finish-title,
.tour-counter,
.mod-exp-card-num,
.finish-tile-idx,
.finish-map-label {
  font-family: var(--tw-display);
}
.hero-tagline { letter-spacing: -0.005em; line-height: 0.94; font-weight: 600; }
.mod-exp-title { letter-spacing: 0; font-weight: 600; }
.finish-title { letter-spacing: 0; font-weight: 600; }

/* Flat solid accent instead of clip-gradient headline text (cleaner, modern) */
.hero-tagline em,
.finish-title-accent {
  background: none;
  -webkit-text-fill-color: var(--tw-blue);
  color: var(--tw-blue);
}

/* Calmer eyebrows — pull the extreme tracking (0.24–0.32em) back to editorial */
.hero-chip-label,
.mod-eyebrow,
.dd-eyebrow { letter-spacing: 0.14em; }
.finish-eyebrow,
.finish-map-label,
.tour-counter-label { letter-spacing: 0.16em; }

/* Muted brand gold on visible chrome (the FX + mocks keep their own gold) */
.mod-elite,
.dd-elite,
.dd-elite-pill,
.finish-tile-elite .finish-tile-idx,
.finish-tile-elite-mark { color: var(--tw-gold); }

/* Flatten the hero CTA — solid accent pill, single soft shadow */
.hero-cta {
  background: var(--tw-blue);
  border-color: transparent;
  box-shadow: 0 12px 28px -10px rgba(59,130,246,0.6);
}
.hero-cta:hover { background: var(--tw-blue-hover); border-color: transparent; }
.hero-cta-arrow { background: rgba(255,255,255,0.20); box-shadow: none; }

/* Deep-dive feature markers — uniform accent diamond replaces per-item emoji */
.dd-feat-icon {
  font-size: 0;
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex: 0 0 22px;
  margin-top: 2px;
  color: var(--tw-blue);
}
.dd-feat-highlight .dd-feat-icon { color: var(--tw-gold); }

/* Flat buttons — solid fills + single soft shadow (no gloss gradient / inset
   highlight / heavy coloured glow). */
.mod-next {
  background: var(--tw-blue);
  box-shadow: 0 10px 24px -10px rgba(59,130,246,0.6);
}
.mod-next:hover {
  background: var(--tw-blue-hover);
  box-shadow: 0 14px 28px -10px rgba(59,130,246,0.6);
}
.finish-cta { box-shadow: 0 10px 26px -12px rgba(0,0,0,0.55); }
.finish-cta:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,0.55); }
.finish-cta-test {
  background: var(--tw-gold);
  box-shadow: 0 12px 28px -12px rgba(212,160,23,0.55);
}
.finish-cta-test:hover { box-shadow: 0 16px 32px -12px rgba(212,160,23,0.65); }

/* Softer single card shadow (was a 3-layer stack) */
.card {
  box-shadow:
    0 20px 60px rgba(0,0,0,0.42),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
