/* ════════════════════════════════════════════════════════════════════════
   SHOWDOWN PROTOCOL — "THE ASCENT" (Jake v9, 2026-06-05).
   The BLACK VOID stays — that's how Loryn looks. Minimal, pure black, the orb
   the only light, cyan (#7ab8f5) + white, losses grey. What changed: real
   CINEMATICS (camera glides into the void → light BURST births the scene → the
   total rushes in from depth → the equity curve DRAWS its climb → the account
   cards FLY into a flippable stack → receipts), and the flex Jake asked for —
   the numbers, the curve, and gorgeous Vault-style account cards that scale to
   any number of accounts via a stacked deck (top few + "+N more").

     ACT 0  is-on      — chamber dissolved; the void, motes drifting (depth)
     BEAT 1 is-ignite  — the orb, a point of light far off, glides in
     BEAT 2 is-burst   — the orb blooms a shock of light; orb glides up to crown
     BEAT 3 is-number  — the total RUSHES in from depth + counts up, glint rakes
     BEAT 4 is-curve   — the equity curve draws its climb, head lands at the peak
     BEAT 5 is-cards   — the account cards fly in and rack into a stacked deck
     BEAT 6 is-receipts— the flex stats resolve, one per beat
     HOLD   is-hold    — living tableau: number breathes, curve glows, motes drift
     EXIT   collapse to a black curtain that becomes the command entrance
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --sd-ink:   rgba(240, 246, 255, 0.99);
  --sd-ink-2: rgba(238, 244, 255, 0.5);
  --sd-ink-q: rgba(238, 244, 255, 0.26);
  --sd-blue:  #7ab8f5;
  --sd-cine:  cubic-bezier(0.16, 1, 0.3, 1);
  --sd-soft:  cubic-bezier(0.45, 0, 0.15, 1);
  --sd-mono:  var(--vv-font-numerals, 'SF Mono', ui-monospace, Menlo, monospace);
}

body.showdown-active { overflow: hidden !important; }

/* ACT 0 — the command chamber dissolves: dims, recedes, blurs. Slow + reversible. */
body.showdown-active .atrium-stage,
body.showdown-active [class*="cc-rail"] {
  transition: opacity 1700ms var(--sd-soft), transform 1900ms var(--sd-cine), filter 1700ms var(--sd-soft) !important;
  opacity: 0 !important; transform: scale(0.96) !important; filter: blur(5px) !important; pointer-events: none !important;
}

.showdown-stage {
  position: fixed; inset: 0; z-index: 9000; background: #000; overflow: hidden;
  opacity: 0; transition: opacity 1400ms var(--sd-soft);
  -webkit-font-smoothing: antialiased;
  font-family: var(--vv-font-display, -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif);
}
.showdown-stage.is-on { opacity: 1; }

/* ── atmosphere + depth motes (the void, given depth) ─────────────────────── */
.showdown-atmos {
  position: fixed; left: 50%; top: 30%; width: 140vmax; height: 140vmax; transform: translate(-50%, -50%);
  z-index: 9000; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(122,184,245,0.10) 0%, rgba(122,184,245,0.03) 22%, transparent 50%);
}
.showdown-stage.is-on .showdown-atmos { animation: sdAtmosIn 2400ms ease both, sdAtmosBreath 8s ease-in-out 2400ms infinite; }
@keyframes sdAtmosIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sdAtmosBreath { 0%,100% { opacity: 0.85; } 50% { opacity: 1.12; } }

.showdown-motes { position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: 0; }
.showdown-stage.is-on .showdown-motes { animation: sdFadeIn 2600ms ease both; }
.sd-mote { position: absolute; left: var(--mx); top: var(--my); width: 2px; height: 2px; border-radius: 50%; background: rgba(160,200,255,0.4); animation: sdMote var(--md, 9s) ease-in-out var(--mdl, 0s) infinite; }
@keyframes sdMote { 0%,100% { opacity: 0; transform: translateY(7px); } 50% { opacity: 0.3; transform: translateY(-7px); } }

/* ── BEAT 2 — the burst: a soft shock of light births the scene ───────────── */
.showdown-burst {
  position: fixed; left: 50%; top: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%);
  border-radius: 50%; z-index: 9001; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(210,232,255,0.95) 0%, rgba(122,184,245,0.34) 38%, transparent 72%);
}
.showdown-stage.is-burst .showdown-burst { animation: sdBurst 950ms var(--sd-cine); }
@keyframes sdBurst { 0% { opacity: 0; transform: translate(-50%,-50%) scale(0.4); } 16% { opacity: 0.92; } 100% { opacity: 0; transform: translate(-50%,-50%) scale(40); } }

/* ── BEAT 1 — the orb, the single light ───────────────────────────────────── */
.showdown-orb {
  position: fixed; left: 50%; top: 50%; width: 132px; height: 132px;
  transform: translate(-50%, -50%) scale(0.1); z-index: 9002; pointer-events: none; opacity: 0;
  filter: drop-shadow(0 0 30px rgba(122,184,245,0.5));
}
.showdown-orb .loryn-orb-svg { width: 100%; height: 100%; display: block; }
.showdown-stage.is-ignite .showdown-orb { animation: sdOrbIgnite 2300ms var(--sd-cine) 100ms both; }
@keyframes sdOrbIgnite {
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(0.04); filter: drop-shadow(0 0 3px rgba(122,184,245,0.2)) brightness(2.6); }
  35%  { opacity: 1; transform: translate(-50%,-50%) scale(0.88); filter: drop-shadow(0 0 70px rgba(168,212,255,0.9)) brightness(1.5); }
  100% { opacity: 0.92; transform: translate(-50%,-50%) scale(0.66); filter: drop-shadow(0 0 32px rgba(122,184,245,0.48)) brightness(1); }
}
@keyframes sdOrbBreath { 0%,100% { filter: drop-shadow(0 0 32px rgba(122,184,245,0.48)); } 50% { filter: drop-shadow(0 0 50px rgba(122,184,245,0.68)); } }
.showdown-stage.is-burst .showdown-orb { animation: sdOrbCrown 1600ms var(--sd-cine) both, sdOrbBreath 4s ease-in-out 1600ms infinite; }
@keyframes sdOrbCrown {
  0%   { opacity: 0.92; transform: translate(-50%,-50%) scale(0.66); filter: drop-shadow(0 0 32px rgba(122,184,245,0.48)); }
  35%  { opacity: 1;    transform: translate(-50%,-50%) scale(0.78); filter: drop-shadow(0 0 64px rgba(168,212,255,0.85)); }
  100% { opacity: 0.55; transform: translate(-50%, calc(-50% - 39vh)) scale(0.32); filter: drop-shadow(0 0 24px rgba(122,184,245,0.42)); }
}

/* ── BEAT 3 — the label + the hero total (rushes in from depth) ───────────── */
.showdown-center { position: fixed; left: 50%; top: 21%; transform: translate(-50%, -50%); z-index: 9003; text-align: center; pointer-events: none; }
.showdown-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 0.46em; text-transform: uppercase; color: var(--sd-ink-2); margin-bottom: 16px; padding-left: 0.46em; opacity: 0; }
.showdown-stage.is-burst .showdown-eyebrow { animation: sdFadeUp 1000ms var(--sd-cine) 380ms both; }
@keyframes sdFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.showdown-number {
  position: relative; display: inline-block;
  font-family: var(--sd-mono); font-weight: 600; line-height: 1;
  font-size: clamp(46px, 6.4vw, 104px); letter-spacing: -0.012em; color: #fff;
  font-variant-numeric: tabular-nums; opacity: 0;
  text-shadow: 0 0 26px rgba(122,184,245,0.3), 0 0 84px rgba(122,184,245,0.12);
}
.showdown-number.is-loss { color: rgba(210,220,236,0.95); text-shadow: 0 0 16px rgba(122,184,245,0.12); }
.showdown-stage.is-number .showdown-number { animation: sdNumberRush 1100ms var(--sd-cine) both; }
@keyframes sdNumberRush { 0% { opacity: 0; transform: scale(1.5); filter: blur(16px); } 45% { opacity: 1; } 100% { opacity: 1; transform: scale(1); filter: blur(0); } }
.showdown-stage.is-hold .showdown-number { animation: sdNumberRush 1100ms var(--sd-cine) -1400ms both, sdNumBreath 4.6s ease-in-out infinite; }
.showdown-stage.is-hold .showdown-number.is-loss { animation: sdNumberRush 1100ms var(--sd-cine) -1400ms both; }
@keyframes sdNumBreath {
  0%,100% { text-shadow: 0 0 26px rgba(122,184,245,0.28), 0 0 84px rgba(122,184,245,0.12); }
  50%     { text-shadow: 0 0 38px rgba(122,184,245,0.4), 0 0 116px rgba(122,184,245,0.18); }
}

/* ── BEAT 4 — the ASCENT: the equity curve draws its climb ────────────────── */
/* confined to the upper-middle band so it never spills into the lower cards/stats */
.showdown-curve { position: fixed; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 9001; width: min(1180px, 86vw); height: clamp(92px, 15vh, 136px); pointer-events: none; opacity: 0; }
.showdown-stage.is-curve .showdown-curve { animation: sdFadeIn 600ms ease both; }
.sd-curve-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.sd-curve-area { opacity: 0; }
.showdown-stage.is-curve .sd-curve-area { animation: sdFadeIn 1500ms ease 200ms both; }
.sd-curve-line { stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(122,184,245,0.5)); }
.showdown-stage.is-curve .sd-curve-line { animation: sdDraw 1550ms var(--sd-cine) forwards; }
@keyframes sdDraw { to { stroke-dashoffset: 0; } }
.sd-curve-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; opacity: 0; transform: translate(-50%, -50%) scale(0); background: #d6e9ff; box-shadow: 0 0 13px rgba(122,184,245,0.9), 0 0 28px rgba(122,184,245,0.55); }
.showdown-stage.is-curve .sd-curve-dot { animation: sdDotIn 600ms var(--sd-cine) 1400ms both; }
@keyframes sdDotIn { from { opacity: 0; transform: translate(-50%,-50%) scale(0); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.showdown-stage.is-hold .sd-curve-dot { animation: sdDotPulse 2.6s ease-in-out infinite; }
@keyframes sdDotPulse {
  0%,100% { opacity: 1; transform: translate(-50%,-50%) scale(1);    box-shadow: 0 0 13px rgba(122,184,245,0.9), 0 0 28px rgba(122,184,245,0.5); }
  50%     { opacity: 1; transform: translate(-50%,-50%) scale(1.12); box-shadow: 0 0 20px rgba(122,184,245,1),   0 0 44px rgba(122,184,245,0.72); }
}

/* ── BEAT 5 — the EMPIRE: account cards fly into a flippable stack ─────────── */
.showdown-deck { position: fixed; left: 24%; top: 76%; transform: translate(-50%, -50%); z-index: 9003; width: 300px; height: 168px; pointer-events: auto; cursor: pointer; }
/* .sd-card = deck positioning + cinematic stack / fly-in; .health-card (journal-base.css)
   owns the surface, typography, and the three prop bars — the REAL Vault card. */
.showdown-deck .sd-card {
  position: absolute; left: 50%; top: 0; width: 300px; box-sizing: border-box; text-align: left;
  opacity: 0; transform: translate(-50%, 90px) scale(0.6);
  transition: transform 680ms var(--sd-cine), opacity 480ms ease;
  z-index: calc(60 - var(--d));
}
.showdown-deck .sd-card.in,
.showdown-deck .sd-card.health-card:hover { opacity: calc(1 - var(--d) * 0.14); transform: translate(-50%, calc(var(--d) * -18px)) scale(calc(1 - var(--d) * 0.045)); }
/* opaque + lifted off pure black so stacked cards behind don't bleed through */
/* match the real Vault card exactly — neutral --surface (#0d0d0d), never a blue tint */
.showdown-deck .sd-card.health-card { box-shadow: 0 24px 64px rgba(0,0,0,0.72); }
.sd-card-today { margin: -1px 0 10px; font-size: 11px; font-family: var(--sd-mono); }
.sd-card-today.up { color: var(--sd-blue); }
.sd-card-today.down { color: rgba(176,190,210,0.72); }
.sd-deck-more { position: absolute; left: 50%; bottom: -32px; transform: translateX(-50%); white-space: nowrap; font-size: 8.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sd-ink-q); opacity: 0; }
.showdown-stage.is-cards .sd-deck-more { animation: sdFadeIn 900ms ease 700ms both; }

/* ── BEAT 6 — the receipts (clean premium text) ──────────────────────────── */
/* receipts anchor the lower-RIGHT (balancing the deck lower-left) — a 2×2 flex block */
/* receipts = a premium right-side flex column (big numbers, hairline-divided),
   balancing the deck on the left — not a boring number/label grid. */
.showdown-strip { position: fixed; right: 8%; left: auto; top: 76%; transform: translateY(-50%); z-index: 9003; display: flex; flex-direction: column; align-items: flex-end; gap: 0; pointer-events: none; }
.sd-rc { text-align: right; opacity: 0; padding: clamp(11px, 1.7vh, 19px) 0; min-width: 170px; }
.sd-rc + .sd-rc { border-top: 1px solid rgba(122,184,245,0.1); }
.sd-rc-v { font-family: var(--sd-mono); font-size: clamp(30px, 2.7vw, 42px); font-weight: 600; color: var(--sd-ink); font-variant-numeric: tabular-nums; line-height: 1; }
.sd-rc-l { margin-top: 9px; font-size: 9px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--sd-ink-q); }
.showdown-stage.is-receipts .sd-rc { animation: sdRcIn 820ms var(--sd-cine) both; animation-delay: calc(var(--i) * 105ms); }
@keyframes sdRcIn { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: translateY(0); } }

/* the title — whisper quiet, top-left */
.showdown-title { position: fixed; left: 52px; top: 40px; z-index: 9004; font-size: 10px; font-weight: 600; letter-spacing: 0.5em; text-transform: uppercase; color: var(--sd-ink-q); padding-left: 0.5em; opacity: 0; }
.showdown-stage.is-on .showdown-title { animation: sdFadeIn 1400ms ease 900ms both; }
@keyframes sdFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── HOVER-REVEAL command bar — hidden until the cursor drops to the bottom ── */
.showdown-cmd-wrap {
  position: fixed; left: 50%; bottom: 24px; z-index: 9006; width: min(420px, 60vw);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  transform: translate(-50%, 150%); opacity: 0; pointer-events: none;
  transition: transform 460ms var(--sd-cine), opacity 320ms ease;
}
.showdown-cmd-wrap.is-near { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.showdown-cmd-hint { font-size: 9px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--sd-ink-q); }
.showdown-cmd {
  width: 100%; text-align: center; background: rgba(255,255,255,0.02); border: none; outline: none;
  border-bottom: 1px solid rgba(122,184,245,0.16); padding: 9px 4px; border-radius: 2px;
  font-family: inherit; font-size: 12px; font-weight: 400; letter-spacing: 0.16em;
  color: var(--sd-ink); caret-color: var(--sd-blue);
  transition: border-color 240ms ease;
}
.showdown-cmd::placeholder { color: var(--sd-ink-q); letter-spacing: 0.16em; }
.showdown-cmd:focus { border-bottom-color: rgba(122,184,245,0.4); }
.showdown-cmd.miss { animation: sdMiss 460ms ease; }
@keyframes sdMiss { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-4px); } }

/* ── EXIT — content collapses to a black curtain, then the curtain lifts ──── */
.showdown-stage.is-collapsing .showdown-flexline,
.showdown-stage.is-collapsing .showdown-carousel,
.showdown-stage.is-collapsing .showdown-title,
.showdown-stage.is-collapsing .showdown-orb,
.showdown-stage.is-collapsing .showdown-motes,
.showdown-stage.is-collapsing .showdown-atmos,
.showdown-stage.is-collapsing .showdown-cmd-wrap { animation: sdSink 520ms var(--sd-soft) both; }
@keyframes sdSink { to { opacity: 0; transform: translateY(10px) scale(0.97); filter: blur(6px); } }
.showdown-stage.is-collapsing .showdown-center { animation: sdSinkC 520ms var(--sd-soft) both; }
@keyframes sdSinkC { to { opacity: 0; transform: translate(-50%, calc(-50% + 10px)) scale(0.97); filter: blur(6px); } }
.showdown-stage.is-curtain { opacity: 0; transition: opacity 1000ms var(--sd-soft); }

@media (prefers-reduced-motion: reduce) {
  body.showdown-active .atrium-stage, body.showdown-active [class*="cc-rail"],
  .showdown-stage, .showdown-stage * {
    transition-duration: 1ms !important; animation-duration: 1ms !important; animation-delay: 0ms !important;
  }
}

/* ── FLEX account card (sd-flexcard) — the good Vault surface, but FLEX content:
   balance + total profit made + the account's own equity climb. No risk bars
   (drawdown/DLL/target are the Vault's analytical job; this is the kicking-ass view). ── */
.sd-flexcard .sd-fc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 7px; }
.sd-flexcard .hc-name { margin-bottom: 0; }
.sd-fc-tag { font-size: 7.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sd-blue); border: 1px solid rgba(122,184,245,0.32); border-radius: 20px; padding: 2px 9px; white-space: nowrap; }
.sd-flexcard .hc-balance { margin-bottom: 7px; }
.sd-fc-profit { display: flex; align-items: baseline; gap: 8px; font-family: var(--sd-mono); font-size: 15px; font-weight: 600; color: var(--sd-blue); }
.sd-fc-profit.down { color: rgba(176,190,210,0.72); }
.sd-fc-sub { font-size: 8px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sd-ink-q); }
.sd-fc-spark { margin: 12px 0 10px; height: 32px; }
.sd-fc-spark-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 5px rgba(122,184,245,0.45)); }
.sd-fc-today { font-family: var(--sd-mono); font-size: 11px; color: var(--sd-blue); }
.sd-fc-today.down { color: rgba(176,190,210,0.72); }

/* ════════════════════════════════════════════════════════════════════════
   THE EMPIRE (v10) — committed to status theater. The flex line + a legion of
   light: every funded account a glowing node, the mass = the operation.
   ════════════════════════════════════════════════════════════════════════ */

/* one clean flex line under the hero number (not a stat grid) */
.showdown-flexline {
  position: fixed; left: 50%; top: 35%; transform: translate(-50%, -50%); z-index: 9003;
  display: flex; align-items: baseline; justify-content: center; gap: clamp(12px, 1.4vw, 22px);
  white-space: nowrap; max-width: 92vw; opacity: 0; pointer-events: none;
}
.showdown-stage.is-flex .showdown-flexline { animation: sdFadeIn 1000ms var(--sd-cine) both; }
.sd-fl-item { font-family: var(--sd-mono); font-size: clamp(13px, 1.15vw, 17px); color: var(--sd-ink-2); }
.sd-fl-item b { color: var(--sd-ink); font-weight: 600; }
.sd-fl-l { color: var(--sd-ink-q); font-size: 0.76em; letter-spacing: 0.08em; text-transform: uppercase; }
.sd-fl-sep { color: var(--sd-ink-q); opacity: 0.6; }

/* the empire — a dense legion of glowing account-nodes; the MASS is the flex */
.showdown-empirefield {
  position: fixed; left: 50%; top: 65%; transform: translate(-50%, -50%); z-index: 9002;
  width: min(560px, 48vw); display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(13px, 1.5vw, 22px); pointer-events: none;
}
/* a collective aura so the legion reads as ONE luminous mass, not scattered dots */
.showdown-empirefield::before {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 130%; height: 150%; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse at center, rgba(122,184,245,0.14), rgba(122,184,245,0.04) 45%, transparent 70%);
  filter: blur(8px);
}
.showdown-stage.is-field .showdown-empirefield::before { animation: sdFadeIn 1600ms ease 400ms both; }
.sd-unit {
  width: var(--sz, 14px); height: var(--sz, 14px); border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(circle at 38% 33%, #e6f1ff 0%, #7ab8f5 55%, rgba(122,184,245,0) 100%);
  box-shadow: 0 0 14px rgba(122,184,245,0.7), 0 0 30px rgba(122,184,245,0.3);
  transform: translate(var(--jx,0), var(--jy,0)) scale(0); opacity: 0;
}
.sd-unit.is-loss {
  background: radial-gradient(circle at 38% 33%, #ccd4e0 0%, #8f8f8f 55%, rgba(143,143,143,0) 100%);
  box-shadow: 0 0 8px rgba(176,190,210,0.28);
}
.showdown-stage.is-field .sd-unit { animation: sdUnitIgnite 640ms var(--sd-cine) both; animation-delay: calc(var(--i) * 42ms); }
@keyframes sdUnitIgnite {
  0%   { opacity: 0; transform: translate(var(--jx,0), var(--jy,0)) scale(0); }
  55%  { opacity: 1; transform: translate(var(--jx,0), var(--jy,0)) scale(1.32); }
  100% { opacity: 1; transform: translate(var(--jx,0), var(--jy,0)) scale(1); }
}
/* living pulse — a slow shimmer travels across the legion */
.showdown-stage.is-hold .sd-unit:not(.is-loss) { animation: sdUnitPulse 3.1s ease-in-out infinite; animation-delay: calc(var(--i) * 70ms); }
@keyframes sdUnitPulse {
  0%,100% { opacity: 0.92; transform: translate(var(--jx,0), var(--jy,0)) scale(1);    box-shadow: 0 0 12px rgba(122,184,245,0.6), 0 0 26px rgba(122,184,245,0.25); }
  50%     { opacity: 1;    transform: translate(var(--jx,0), var(--jy,0)) scale(1.08); box-shadow: 0 0 18px rgba(122,184,245,0.95), 0 0 42px rgba(122,184,245,0.5); }
}

/* ── THE ROLL — your funded accounts as a legible ranked leaderboard of the empire.
   Engraved rows, hairline rules, no card chrome. The rank + gain + balance read
   instantly; the "+N more" carries the scale. ── */
.showdown-roll {
  position: fixed; left: 50%; top: 65%; transform: translate(-50%, -50%); z-index: 9003;
  width: min(620px, 56vw); pointer-events: none;
}
.sd-roll-row {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: baseline;
  gap: clamp(12px, 1.3vw, 20px); padding: clamp(9px, 1.3vh, 14px) 2px;
  border-bottom: 1px solid rgba(122,184,245,0.1); opacity: 0;
}
.sd-roll-row:first-child { border-top: 1px solid rgba(122,184,245,0.1); }
.sd-roll-rank { font-family: var(--sd-mono); font-size: 12px; color: var(--sd-ink-q); font-variant-numeric: tabular-nums; }
.sd-roll-name { font-family: var(--sd-mono); font-size: clamp(13px, 1.15vw, 16px); color: var(--sd-ink-2); letter-spacing: 0.04em; text-align: left; }
.sd-roll-gain { font-family: var(--sd-mono); font-size: clamp(12px, 1vw, 14px); color: var(--sd-blue); font-variant-numeric: tabular-nums; }
.sd-roll-row.is-loss .sd-roll-gain { color: rgba(176,190,210,0.66); }
.sd-roll-bal { font-family: var(--sd-mono); font-size: clamp(15px, 1.35vw, 19px); font-weight: 600; color: var(--sd-ink); font-variant-numeric: tabular-nums; min-width: 96px; text-align: right; }
.sd-roll-more { margin-top: 14px; text-align: center; font-size: 9.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sd-ink-q); opacity: 0; }
.showdown-stage.is-field .sd-roll-row { animation: sdRollIn 620ms var(--sd-cine) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes sdRollIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.showdown-stage.is-field .sd-roll-more { animation: sdFadeIn 800ms ease 700ms both; }

/* ── THE CAROUSEL — your account cards glide through center stage, the featured one
   large + lit, neighbors peeking + dim, auto-advancing every few seconds. ── */
.showdown-carousel { position: fixed; left: 50%; top: 55%; transform: translate(-50%, -50%); z-index: 9003; width: min(1240px, 92vw); height: 300px; pointer-events: none; perspective: 1700px; perspective-origin: 50% 50%; overflow: visible; }
.sd-cara-card {
  position: absolute; left: 50%; top: 50%; width: 300px; box-sizing: border-box;
  transform: translate(-50%, -50%) scale(0.66); opacity: 0;
  transition: transform 660ms var(--sd-cine), opacity 560ms ease, box-shadow 420ms ease;
  will-change: transform, opacity;
}
/* the ARMY glows — a faint cyan edge so the empire reads luminous, not murky black-on-black */
.sd-cara-card.health-card { box-shadow: 0 0 0 1px rgba(122,184,245,0.16), 0 18px 48px rgba(0,0,0,0.72), 0 0 34px rgba(122,184,245,0.10); }
.sd-cara-card.is-center.health-card { box-shadow: 0 0 0 1px rgba(122,184,245,0.34), 0 28px 74px rgba(0,0,0,0.8), 0 0 56px rgba(122,184,245,0.2); -webkit-box-reflect: below 8px linear-gradient(transparent 58%, rgba(150,196,255,0.13)); }
