:root {
  --bg: #05070b;
  --charge: #2ad8ff; /* Voltra's cyan */
  --gold: #ffc53d; /* JRok Systems' gold */
  --win: #3ddc84;
  --surface: rgba(12, 17, 27, 0.82);
  --surface-2: rgba(22, 30, 46, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #f4f6fb;
  --ink-2: rgba(236, 240, 248, 0.74);
  --ink-3: rgba(236, 240, 248, 0.58);
  --volt: #d7ff3a;
  --volt-ink: #0b0f17;
  --discord: #5865f2;
  --away: #6ab7ff;
  --home: #ff8a3d;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1500px;
  --pad: clamp(14px, 1.9vw, 24px);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body { background: radial-gradient(ellipse 70% 40% at 50% 34%, rgba(215,255,58,.07), transparent 70%), linear-gradient(180deg, #05070b 0%, #060a0d 45%, #08130a 100%); background-attachment: fixed; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 8px; }
.lock { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.vignette { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 55%, rgba(5,7,11,.05) 20%, rgba(5,7,11,.85) 85%); }

/* One screen, no scroll: the stage is exactly the visible viewport and its rows share the height.
   Below 360px of height (phones sideways with browser bars, heavy zoom) the page may scroll instead of cutting content off. */
.stage {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100dvh;
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
@media (min-height: 360px) {
  html, body { height: 100%; overflow: hidden; }
  .stage { height: 100vh; height: 100dvh; }
}

/* ------------------------------------------------------------------ bar */
.bar { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter) 0; width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.logo { font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: .5px; line-height: 1; }
.logo b { color: var(--volt); font-weight: 900; }
.bar-right { display: flex; align-items: center; gap: 10px; }
.signin, .join { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 800; padding: 0 16px; border-radius: 12px; white-space: nowrap; transition: background .2s, border-color .2s, transform .2s; }
.signin { border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; }
.signin:hover { background: var(--surface-2); border-color: rgba(255,255,255,.3); }
.join { background: var(--volt); color: var(--volt-ink); }
.join:hover { transform: translateY(-1px); }

/* ------------------------------------------------------------------ hero */
.hero {
  min-height: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 64px);
  align-items: center; padding: clamp(12px, 3vh, 40px) var(--gutter);
  max-width: calc(var(--max) + 2 * var(--gutter)); width: 100%; margin: 0 auto;
}
.copy { min-width: 0; container-type: inline-size; }
.eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--volt); }
h1 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, min(12.4cqi, 11vh), 120px); line-height: .9; letter-spacing: -.5px;
  margin: clamp(8px, 1.6vh, 16px) 0 clamp(10px, 2vh, 18px);
}
h1 em { font-style: italic; color: var(--volt); text-shadow: 0 0 40px rgba(215,255,58,.28); white-space: nowrap; }
.sub { margin: 0; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 540px; }

/* ------------------------------------------------------------------ CTAs */
.actions { position: relative; z-index: 2; }
/* the Discord button never gets narrower than its label */
.ctas { display: grid; grid-template-columns: 1.5fr minmax(max-content, 1fr); gap: 10px; margin-top: clamp(16px, 3vh, 30px); max-width: 560px; }
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: clamp(50px, 6.8vh, 62px); padding: 0 18px; border-radius: 14px;
  font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--volt); color: var(--volt-ink); font-size: 19px; box-shadow: 0 10px 40px rgba(215,255,58,.28), inset 0 -2px 0 rgba(0,0,0,.12); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 4.5s ease-in-out 1.2s infinite; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(215,255,58,.4); }
.btn-primary svg { transition: transform .2s; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-discord { background: rgba(32,38,82,.92); border: 1px solid rgba(88,101,242,.6); }
.btn-discord svg { fill: #fff; stroke: none; width: 22px; height: 22px; }
.btn-discord:hover { background: var(--discord); transform: translateY(-2px); }

/* ------------------------------------------------------------------ proof numbers */
.proof { display: flex; gap: clamp(18px, 2.6vw, 36px); margin-top: clamp(16px, 3vh, 30px); max-width: 560px; }
.proof li { display: flex; flex-direction: column; min-width: 0; padding-left: 14px; border-left: 2px solid rgba(215,255,58,.5); }
.proof b { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.4vw, 36px); line-height: 1; font-variant-numeric: tabular-nums; }
.proof span { font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; white-space: nowrap; }

/* ------------------------------------------------------------------ the console: one card, three models */
.console {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  height: min(100%, 640px); min-height: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16,22,35,.95), rgba(8,11,18,.97));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px rgba(0,0,0,.55), 0 0 80px rgba(215,255,58,.06);
  overflow: hidden;
}
.console::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(215,255,58,.55), transparent 35%, transparent 65%, rgba(106,183,255,.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 3; }

.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); flex: none; }
.tab { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: clamp(10px, 1.6vh, 16px) var(--pad); text-align: left; color: var(--ink-3); transition: background .2s, color .2s; }
.tab + .tab { border-left: 1px solid var(--line); }
.tab b { font-family: var(--display); font-weight: 800; font-size: clamp(18px, 1.6vw, 22px); line-height: 1; text-transform: uppercase; letter-spacing: .4px; }
.tab small { font-size: 11px; font-weight: 700; letter-spacing: .6px; }
.tab:hover { color: var(--ink-2); background: rgba(255,255,255,.02); }
.tab[aria-selected="true"] { color: var(--ink); background: linear-gradient(180deg, rgba(215,255,58,.08), transparent); }
.tab[aria-selected="true"] b { color: var(--volt); }
#tab-jrok[aria-selected="true"] { background: linear-gradient(180deg, rgba(255,197,61,.13), transparent); }
#tab-jrok[aria-selected="true"] b { color: var(--gold); text-shadow: 0 0 18px rgba(255,197,61,.45); }
#tab-jrok i { background: linear-gradient(90deg, #c4861a, var(--gold), #fff0b5); }
.console[data-tab="jrok"] .unlock { color: var(--gold); border-color: var(--gold); background: rgba(255,197,61,.07); }
.console[data-tab="jrok"] .unlock:hover { background: var(--gold); color: var(--volt-ink); }
#tab-voltra[aria-selected="true"] { background: linear-gradient(180deg, rgba(42,216,255,.1), transparent); }
#tab-voltra[aria-selected="true"] b { color: var(--charge); }
#tab-voltra i { background: var(--charge); }
.console[data-tab="voltra"] .unlock { color: var(--charge); border-color: var(--charge); background: rgba(42,216,255,.06); }
.console[data-tab="voltra"] .unlock:hover { background: var(--charge); color: var(--volt-ink); }
.tab i { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--volt); transform: scaleX(0); transform-origin: left; }
.tab[aria-selected="true"] i { transform: scaleX(1); }
.tab.run i { animation: fill var(--dwell, 8s) linear both; }
.console.paused .tab.run i { animation-play-state: paused; }
.panel:focus-visible { outline-offset: -3px; }

.panels { position: relative; flex: 1; min-height: 0; container-type: size; }
.panel { position: absolute; inset: 0; display: flex; flex-direction: column; padding: clamp(12px, 1.8vh, 20px) var(--pad) 8px; animation: fadein .45s ease both; }
.panel[hidden] { display: none; }
.p-top { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; color: var(--ink-2); flex: none; }
.rec { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink); font-size: 11px; white-space: nowrap; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); animation: pulse 1.2s ease-in-out infinite; }
.p-when { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { font-size: 10px; font-weight: 900; letter-spacing: 1.2px; padding: 4px 8px; border-radius: 6px; background: var(--volt); color: var(--volt-ink); white-space: nowrap; }
.tag.free { background: transparent; color: var(--volt); border: 1px solid rgba(215,255,58,.5); padding: 3px 7px; }
.tag.locked { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); }

.unlock {
  flex: none; display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 6px var(--pad) clamp(12px, 1.8vh, 20px); min-height: 48px; border-radius: 12px;
  font-size: 15px; font-weight: 800; color: var(--volt); border: 1.5px solid var(--volt); background: rgba(215,255,58,.06);
  transition: background .2s, color .2s;
}
.unlock .lock { width: 17px; height: 17px; }
.unlock .arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.unlock:hover { background: var(--volt); color: var(--volt-ink); }
.unlock:hover .arrow { transform: translateX(3px); }

/* JRok AI panel: JRok Systems' gold, its artwork with the Ascent ladder run, the latest graded VIP wins
   and today's card held back */
.coin { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: 0 0 12px rgba(255,197,61,.55); animation: glint 3.4s ease-in-out infinite; }
.panel.jrok .rec { gap: 8px; }
.panel.jrok .tag { background: linear-gradient(180deg, #ffe9a8, var(--gold) 55%, #d4931b); color: #1d1304; }
.drop b { color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.drop.live b { color: var(--win); }
.drop.live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--win); box-shadow: 0 0 8px var(--win); vertical-align: 1px; animation: pulse 1.2s ease-in-out infinite; }

.j-art {
  position: relative; flex: 1; min-height: 64px; margin-top: clamp(8px, 1.4vh, 12px); border-radius: 14px; overflow: hidden;
  background: #070a14; border: 1px solid rgba(255,197,61,.5);
  box-shadow: 0 0 44px rgba(255,197,61,.16), inset 0 0 0 1px rgba(0,0,0,.4);
}
.j-pic { position: absolute; inset: 0; background: url(jrok-hero.jpg) 0% 70% / cover no-repeat; transform-origin: 30% 60%; }
.panel.jrok.go .j-pic { animation: charge 1.1s ease-out both, drift 16s ease-in-out 1.1s infinite alternate; }
/* the run plate sits on a dark fade at the bottom right, over the ladder */
.j-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(5,7,11,.55) 62%, rgba(5,7,11,.9) 100%), linear-gradient(0deg, rgba(5,7,11,.85), transparent 55%); pointer-events: none; }
.j-sheen { position: absolute; inset: 0; z-index: 2; background: linear-gradient(110deg, transparent 35%, rgba(255,226,140,.28) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.panel.jrok.go .j-sheen { animation: sheen 3.4s ease-in-out .6s infinite; }
/* embers drifting up the ladder */
.j-em { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.j-em i { position: absolute; bottom: -6px; width: 3px; height: 3px; border-radius: 50%; background: #ffd970; box-shadow: 0 0 6px 1px rgba(255,176,32,.9); opacity: 0; animation: ember 4.2s linear infinite; }
.j-em i:nth-child(1) { left: 52%; animation-delay: .2s; } .j-em i:nth-child(2) { left: 61%; animation-delay: 1.4s; --dx: -14px; }
.j-em i:nth-child(3) { left: 70%; animation-delay: 2.3s; } .j-em i:nth-child(4) { left: 78%; animation-delay: .9s; --dx: 10px; }
.j-em i:nth-child(5) { left: 86%; animation-delay: 3.1s; --dx: -8px; } .j-em i:nth-child(6) { left: 93%; animation-delay: 1.9s; }
.j-em i:nth-child(7) { left: 44%; animation-delay: 3.6s; --dx: 12px; }

.j-run { position: absolute; right: 12px; bottom: 10px; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.jr-k { font-size: 10px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); white-space: nowrap; text-shadow: 0 1px 6px rgba(0,0,0,.9); }
.jr-v { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 900; font-size: clamp(24px, min(6.4cqi, 9cqh), 46px); line-height: .95; letter-spacing: .2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.jr-v > span:first-child { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.9); }
.jr-v svg { width: .62em; height: .62em; fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: none; filter: drop-shadow(0 0 6px rgba(255,197,61,.7)); }
.gold { background: linear-gradient(180deg, #fff7d6 0%, #ffd45c 45%, #f0a822 70%, #b87a12 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 14px rgba(255,190,50,.45)) drop-shadow(0 2px 2px rgba(0,0,0,.8)); }
.jr-s { font-size: 10.5px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: #06140c; background: var(--win); border-radius: 6px; padding: 3px 7px; white-space: nowrap; box-shadow: 0 0 14px rgba(61,220,132,.45); }
.panel.jrok.go .j-run { animation: rowin .6s cubic-bezier(.2,.8,.2,1) .35s both; }
.panel.jrok.go .jr-s { animation: pop .5s cubic-bezier(.2,1.6,.4,1) 1.9s both; }
/* the current run: day, a gold rule, then the bankroll; its as-of tag is quieter than a win */
.jr-v i { width: 2px; height: .8em; border-radius: 1px; background: linear-gradient(180deg, #ffe08a, #b87a12); box-shadow: 0 0 8px rgba(255,197,61,.6); flex: none; }
.j-run.now .jr-s { color: var(--ink); background: rgba(5,7,11,.78); border: 1px solid rgba(255,197,61,.45); box-shadow: none; }
.panel.jrok.go .j-run.now .jr-s { animation-delay: .9s; }
.j-run.wait { visibility: hidden; }
.panel.jrok.go .j-run.wait, .panel.jrok.go .j-run.wait .jr-s { animation: none; }

/* the latest graded wins, scrolling up one at a time */
.j-wins { flex: none; margin-top: 10px; --rh: 34px; --rows: 1; }
.jw-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 5px; font-size: 10px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.jw-head > span:first-child { color: var(--win); }
.jw-src { font-weight: 700; letter-spacing: .6px; text-transform: none; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; }
.jw-view { height: calc(var(--rows) * var(--rh)); overflow: hidden; border-radius: 10px; }
.jw-list.shift { transform: translateY(calc(-1 * var(--rh))); transition: transform .55s cubic-bezier(.3,.7,.2,1); }
.jw-list li {
  height: calc(var(--rh) - 4px); margin-bottom: 4px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 10px;
  padding: 0 8px 0 10px; border-radius: 9px; background: linear-gradient(90deg, rgba(61,220,132,.09), rgba(255,255,255,.025) 40%); border: 1px solid rgba(61,220,132,.16);
}
.jw-list em { font-style: normal; font-size: 9.5px; font-weight: 900; letter-spacing: 1px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 5px; }
.jw-list b { display: flex; gap: .3em; min-width: 0; font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.jw-list b .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.jw-list b .x { flex: none; }
.jw-list .od { font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.jw-list .dt { font-size: 11px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.jw-list .ok { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 900; letter-spacing: 1px; color: #06140c; background: var(--win); border-radius: 5px; padding: 3px 6px; }
.jw-list .ok svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.jw-list li.hot { animation: hot 1.2s ease-out both; }
.jw-list li.hot .ok { animation: pop .45s cubic-bezier(.2,1.6,.4,1) both; }
.panel.jrok.go .jw-list li { animation: rowin .5s cubic-bezier(.2,.8,.2,1) both; }
.panel.jrok.go .jw-list li:nth-child(2) { animation-delay: .12s; } .panel.jrok.go .jw-list li:nth-child(3) { animation-delay: .24s; } .panel.jrok.go .jw-list li:nth-child(4) { animation-delay: .36s; }

/* today's card, held back */
.j-today { position: relative; flex: none; display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 6px 6px 6px 12px; border-radius: 12px; border: 1px solid rgba(255,197,61,.4); background: linear-gradient(90deg, rgba(255,197,61,.1), rgba(255,197,61,.03)); overflow: hidden; }
.j-today::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255,214,110,.22) 50%, transparent 60%); transform: translateX(-120%); pointer-events: none; }
.panel.jrok.go .j-today::after { animation: sheen 3s ease-in-out 1.4s infinite; }
.jt-k { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 900; letter-spacing: 1.3px; text-transform: uppercase; color: var(--gold); white-space: nowrap; flex: none; }
.jt-k .lock { width: 13px; height: 13px; }
.j-today ul { flex: 1; min-width: 0; display: flex; gap: 5px; }
.j-today li { flex: 1 1 auto; min-width: 0; text-align: center; font-size: 11.5px; font-weight: 800; color: var(--ink); padding: 6px 7px; border-radius: 8px; background: rgba(5,7,11,.7); border: 1px solid rgba(255,197,61,.2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.panel.jrok.no-wins .j-wins { display: none; }
/* taller cards: more wins in view */
@container (min-height: 300px) { .j-wins { --rows: 2; } }
@container (min-height: 400px) { .j-wins { --rows: 3; --rh: 38px; } .jw-list b { font-size: 14px; } .j-today li { padding: 8px 7px; font-size: 12px; } .jt-k { font-size: 11px; } }
@container (min-height: 560px) { .j-wins { --rows: 4; } }
/* narrow cards: shorter labels */
@container (max-width: 480px) {
  .jw-src .wide, .j-run .wide, .j-today .wide { display: none; }
  .jt-k { font-size: 0; letter-spacing: 0; gap: 0; }
  .jr-k { font-size: 9px; letter-spacing: .9px; }
  .jr-v { font-size: 22px; gap: 5px; }
  .jr-s { font-size: 9.5px; padding: 2px 6px; }
  .j-run { right: 10px; bottom: 8px; }
  .jt-k .lock { width: 14px; height: 14px; }
  .j-today { gap: 7px; padding: 5px 5px 5px 9px; }
  .j-today ul { gap: 4px; }
  .j-today li { font-size: 11px; padding: 6px 4px; }
  .jw-list li { gap: 8px; padding: 0 6px 0 8px; }
  .jw-list b { font-size: 13px; }
  .jw-list .od { font-size: 15px; }
}
@container (max-width: 330px) {
  .jw-list .dt, .j-run .mid { display: none; }
  .jr-v { font-size: 20px; }
  .j-today li { font-size: 10.5px; padding: 6px 2px; }
}
/* very short cards (phones held sideways): the wins heading goes, the art keeps what's left */
@container (max-height: 230px) {
  .jw-head { display: none; }
  .j-wins, .j-today { margin-top: 6px; }
  .j-today li { padding: 4px 4px; }
  .jr-k { font-size: 9px; } .jr-s { font-size: 9px; padding: 2px 6px; }
  .j-run { bottom: 6px; gap: 2px; }
}

/* Voltra panel */
.quote { margin: auto 0 0; padding-top: 10px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(20px, min(7.6cqi, 12cqh), 76px); line-height: .95; flex: none; }
.quote em { color: var(--volt); font-style: italic; }
/* Voltra's own artwork: the robot, the chrome wordmark and "Read the game. Feel the charge." */
.v-art {
  position: relative; flex: 1; min-height: 0; margin: clamp(8px, 1.4vh, 14px) 0 10px; border-radius: 14px; overflow: hidden;
  background: #050a12 url(voltra-hero.jpg) center 92% / cover no-repeat;
  border: 1px solid rgba(42,216,255,.35); box-shadow: 0 0 40px rgba(42,216,255,.12), inset 0 0 30px rgba(0,0,0,.5);
}
.v-art i { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(170,240,255,.22) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.panel.voltra.go .v-art i { animation: sheen 3.2s ease-in-out .5s 2 both; }
.panel.voltra.go .v-art { animation: charge 1.1s ease-out both; }
.v-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: none; }
.v-list li { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.v-list b { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-list .bolt { width: 16px; height: 16px; flex: none; fill: var(--charge); filter: drop-shadow(0 0 6px rgba(42,216,255,.7)); }
.panel.voltra .rec i { background: var(--charge); box-shadow: 0 0 10px var(--charge); }
.panel.voltra .v-list li { border-color: rgba(42,216,255,.16); }
/* tall cards: everything grows into the space */
@container (min-height: 470px) {
  .v-list li { padding: 15px 16px; }
  .v-list b { font-size: 15px; }
}

.panel.voltra.go .v-list li { animation: rowin .5s cubic-bezier(.2,.8,.2,1) both; }
.panel.voltra.go .v-list li:nth-child(2) { animation-delay: .1s; } .panel.voltra.go .v-list li:nth-child(3) { animation-delay: .2s; } .panel.voltra.go .v-list li:nth-child(4) { animation-delay: .3s; }

/* Sim Lab panel: the real replay */
.sim-empty { display: none; }
.panel.sim.empty > * { display: none; }
.panel.sim.empty > .sim-empty { display: block; margin: auto 0; padding: 0; }
.matchup { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-top: clamp(8px, 1.4vh, 14px); flex: none; }
.side { display: flex; align-items: center; gap: 12px; min-width: 0; }
.side.home { justify-content: flex-end; }
.side b { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(34px, min(4.6vw, 7.6vh), 76px); line-height: .85; letter-spacing: -1px; }
.side.away b { color: var(--away); }
.side.home b { color: var(--home); }
.pct { display: flex; flex-direction: column; font-family: var(--display); font-weight: 800; font-size: clamp(22px, min(2.4vw, 4.2vh), 38px); line-height: 1; font-variant-numeric: tabular-nums; }
.side.home .pct { align-items: flex-end; }
.pct small { font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.vs { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--volt); border: 1.5px solid rgba(215,255,58,.5); }
.split { display: flex; height: 6px; border-radius: 99px; overflow: hidden; margin-top: clamp(8px, 1.2vh, 12px); background: rgba(255,255,255,.18); gap: 2px; justify-content: space-between; flex: none; }
.split i { display: block; height: 100%; transition: width .35s ease; }
#splitAway { background: var(--away); width: 50%; }
#splitHome { background: var(--home); width: 50%; }
.plot { position: relative; flex: 1; min-height: 70px; margin-top: 6px; display: flex; flex-direction: column; }
#hist { flex: 1; width: 100%; min-height: 0; display: block; }
.axis { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-3); padding-top: 4px; border-top: 1px solid var(--line); }
.axis span:first-child { color: var(--away); }
.axis span:last-child { color: var(--home); }
.eng-foot { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex: none; }
.counter { display: flex; flex-direction: column; min-width: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.count { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.count b { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: .3px; }
.last { font-size: 11px; font-weight: 600; color: var(--ink-3); min-height: 14px; }
.last b { color: var(--ink-2); font-weight: 700; }
.pick { flex: 1; min-width: 0; display: flex; justify-content: flex-end; }
.pick span { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 800; color: var(--volt); border: 1px solid rgba(215,255,58,.45); background: rgba(215,255,58,.07); border-radius: 999px; padding: 6px 12px; }
.pick span em { font-style: normal; color: var(--ink-2); font-weight: 600; }
.pick span.none { color: var(--ink-3); border-color: var(--line-2); background: transparent; }

/* ------------------------------------------------------------------ ticker: what's inside */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(5,7,11,.88); -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tick 80s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker:active .ticker-track { animation-play-state: paused; }
.tk { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 20px; font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; border-right: 1px solid var(--line); }
.tk b { color: var(--ink); font-weight: 800; }
.tk.vt .m { color: var(--charge); }
.tk .m { font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-3); }
.tk svg { width: 46px; height: 18px; flex: none; }
.tk .w { font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--volt); letter-spacing: .3px; }
.tk .v { font-size: 11px; font-weight: 900; letter-spacing: 1px; color: var(--volt-ink); background: var(--volt); border-radius: 4px; padding: 2px 5px; }
.tk .f { font-size: 11px; font-weight: 900; letter-spacing: 1px; color: var(--volt); border: 1px solid rgba(215,255,58,.5); border-radius: 4px; padding: 1px 5px; }
a.tk:hover { color: var(--ink); background: rgba(255,255,255,.04); }

.legal { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px var(--gutter) 6px; font-size: 11px; color: var(--ink-3); width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.legal .links { display: flex; gap: 4px; }
.legal a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 8px; border-radius: 6px; }
.legal a:hover { color: var(--ink); }
.legal .x { width: 11px; height: 11px; fill: currentColor; margin-right: 5px; }

@keyframes pulse { 50% { opacity: .35; } }
@keyframes sheen { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rowin { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes charge { 0% { filter: brightness(.4) saturate(.6); } 35% { filter: brightness(1.35) saturate(1.3); } 100% { filter: none; } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
@keyframes ember { 0% { opacity: 0; transform: translate(0, 0) scale(1); } 12% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx, 6px), -150px) scale(.4); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes hot { 0% { border-color: rgba(255,197,61,.9); box-shadow: 0 0 18px rgba(255,197,61,.45); background-color: rgba(255,197,61,.12); } 100% { border-color: rgba(61,220,132,.16); box-shadow: none; background-color: transparent; } }
@keyframes glint { 0%, 70%, 100% { filter: none; } 80% { filter: brightness(1.5) saturate(1.2); } }
@keyframes flow { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.head, .actions, .console { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.console { animation-delay: .1s; }
.actions { animation-delay: .2s; }

/* ------------------------------------------------------------------ short desktop windows */
@media (max-height: 780px) { .sub { display: none; } }
@media (max-height: 640px) { .proof { display: none; } }
/* phones held sideways and very short windows: two compact columns, no ticker */
@media (max-height: 500px) {
  .bar { padding-top: 10px; }
  .logo { font-size: 22px; }
  .eyebrow, .ticker, .legal .wide, .legal .wide-link { display: none; }
  .signin, .join { min-height: 36px; padding: 0 12px; font-size: 13px; }
  .hero { padding-top: 8px; padding-bottom: 8px; gap: 20px; }
  h1 { font-size: clamp(28px, min(9cqi, 12vh), 64px); margin: 0 0 4px; }
  .ctas { margin-top: 10px; gap: 8px; }
  .btn { height: 44px; font-size: 14px; border-radius: 12px; }
  .btn-primary { font-size: 16px; }
  .tab { padding: 7px 12px; }
  .tab small { display: none; }
  .tab b { font-size: 16px; }
  .panel { padding: 8px 12px 4px; }
  .unlock { min-height: 36px; margin: 4px 12px 8px; font-size: 13px; }
  .v-list li { padding: 6px 8px; gap: 6px; } .v-list b { font-size: 12px; }
  .matchup { margin-top: 4px; }
  .side b { font-size: 30px; }
  .pct { font-size: 20px; }
  .pct small { display: none; }
  .vs { width: 24px; height: 24px; font-size: 11px; }
  .split { margin-top: 6px; }
  .plot { min-height: 50px; }
  .last, .pick, .stad, .axis, .count .of { display: none; }
  .count b { font-size: 17px; }
  .eng-foot { margin-top: 4px; }
}

/* ------------------------------------------------------------------ stacked: phones and tablets held upright */
@media (max-width: 699px), (max-width: 899px) and (min-height: 501px), (max-aspect-ratio: 4/5) {
  .bar { padding-top: 10px; }
  .logo { font-size: 23px; }
  .signin, .join { min-height: 42px; padding: 0 13px; font-size: 13px; }
  .hero {
    grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px; align-items: stretch; padding-top: 10px; padding-bottom: 12px;
  }
  /* the copy column is split so the console sits between the headline and the buttons */
  .copy { display: contents; }
  .head { grid-row: 1; }
  .console { grid-row: 2; align-self: center; height: 100%; max-height: 620px; border-radius: 18px; box-shadow: 0 12px 40px rgba(0,0,0,.45), 0 0 60px rgba(215,255,58,.05); }
  .actions { grid-row: 3; }
  .eyebrow { font-size: 10.5px; letter-spacing: 1.6px; }
  h1 { font-size: clamp(34px, min(11.6vw, 6.8vh), 88px); margin: 6px 0 0; }
  .sub { display: none; }
  .ctas, .proof { max-width: none; }
  .ctas { margin-top: 0; gap: 8px; }
  .btn { height: clamp(48px, 6.4vh, 58px); font-size: 15px; padding: 0 12px; border-radius: 12px; }
  .btn-primary { font-size: 18px; }
  .proof { display: none; }
  .tab { padding: 9px 12px; }
  .tab b { font-size: 17px; }
  .tab small { font-size: 10px; }
  .panel { padding: 10px 14px 4px; }
  .unlock { margin: 4px 14px 12px; min-height: 44px; font-size: 14px; }
  .p-top { font-size: 11px; gap: 8px; }
  .side b { font-size: clamp(34px, min(11vw, 6vh), 68px); }
  .pct { font-size: clamp(22px, min(6.6vw, 3.6vh), 38px); }
  .vs { width: 28px; height: 28px; font-size: 12px; }
  .count b { font-size: 19px; }
  .tk { padding: 0 16px; font-size: 12px; min-height: 40px; }
  .legal { font-size: 10px; padding-top: 2px; padding-bottom: 4px; }
  .legal .wide, .legal .wide-link { display: none; }
  .legal a { min-height: 40px; padding: 0 10px; }
}
/* narrow phones: the Open app button sits right under the card, so the card's own unlock button goes */
@media (max-width: 599px) {
  .unlock { display: none; }
  .panel { padding-bottom: 12px; }
  .ctas { grid-template-columns: 1.35fr minmax(max-content, 1fr); }
  .btn-discord span { font-size: 14px; }
  .stad, .last, .axis, .count .of { display: none; }
  .pick span { padding: 5px 9px; font-size: 11px; gap: 5px; }
  .eng-foot { gap: 8px; }
  .count { font-size: 13px; }
  .p-when .wide { display: none; }
  .v-list { gap: 6px; }
  .v-list li { padding: 8px 9px; gap: 6px; }
  .v-list b { font-size: 12px; white-space: normal; line-height: 1.15; }
  .v-list .bolt { width: 13px; height: 13px; }
}
@media (max-width: 379px) {
  .bar .join { display: none; }
  .p-top { font-size: 10.5px; gap: 6px; }
  .rec { letter-spacing: 1px; }
  .tab small { display: none; }
  .panel.jrok .tag { display: none; }
  .ctas { grid-template-columns: 1fr minmax(max-content, 1fr); }
  .btn-primary { gap: 6px; padding: 0 8px; }
  .btn-discord { gap: 6px; padding: 0 8px; }
  .btn-discord svg { width: 19px; height: 19px; }
  .btn-discord span { font-size: 13px; }
  .v-list li { padding: 8px 6px 8px 8px; gap: 4px; }
  .v-list b { font-size: 10.5px; }
}
/* tablets in the stacked layout: the card stops growing and the stack is centred */
@media (min-width: 600px) and (max-aspect-ratio: 4/5), (min-width: 600px) and (max-width: 899px) and (min-height: 501px) {
  .hero { grid-template-rows: auto minmax(0, 640px) auto; align-content: center; gap: 20px; }
  .console { max-height: none; }
  .proof { display: flex; justify-content: center; margin-top: 16px; }
}
/* tablets held upright: room for the sub line */
@media (min-width: 600px) and (min-height: 900px) and (max-aspect-ratio: 4/5) {
  .sub { display: block; margin-top: 12px; max-width: 640px; font-size: 18px; }
  .eyebrow { font-size: 12px; }
}
@media (max-height: 760px) and (max-width: 899px) and (min-width: 600px) { .proof { display: none; } }
@media (max-width: 599px) and (min-height: 780px) {
  .proof { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
  .proof li { padding-left: 10px; }
  .proof span { font-size: 10px; letter-spacing: .8px; }
}
@media (max-height: 620px) and (max-width: 699px) {
  .ticker { display: none; }
  .eyebrow { display: none; }
}

/* tall, narrow cards (bigger phones): Voltra's list goes to one column of short rows */
@container (min-height: 330px) and (max-width: 560px) {
  .v-list { grid-template-columns: 1fr; gap: 6px; }
  .v-list li { padding: 9px 12px; }
  .v-list b { font-size: 13px; white-space: nowrap; }
}

/* scroll mode (under 360px of height): the console keeps a real height instead of collapsing */
@media (max-height: 359px) { .console { height: 300px; max-height: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tab[aria-selected="true"] i { transform: scaleX(1); }
}
