/* =====================================================================
   Shenanigo Live: the big screen (#/live/TOKEN, public/views/live.js)
   Designed on a fixed 1920×1080 stage that live.js scales to fit (letterboxed). Sizes here are stage pixels:
   nothing under 22px, so it reads from across a room. Themes: night (default), paper, brand. Event colors come in
   as --ev / --ev2 on .lv-root; crew colors as --c on each element that needs one.
   ===================================================================== */

/* ---------- the site's chrome steps aside: no top bar, tab bar, backdrop, grain, custom cursor or help button ---------- */
body[data-route='live'] { overflow: hidden; background: #0b0d11; }
body[data-route='live'] #nav, body[data-route='live'] #tabbar, body[data-route='live'] #topo, body[data-route='live'] .vignette, body[data-route='live'] .grain,
body[data-route='live'] .cursor, body[data-route='live'] .cursor-ring, body[data-route='live'] #helpFab, body[data-route='live'] .help-fab { display: none !important; }
body[data-route='live'] main#app { min-height: 0; padding: 0; animation: none !important; }
body[data-route='live'].cursor-on, body[data-route='live'].cursor-on a, body[data-route='live'].cursor-on button { cursor: default; }
body[data-route='live'] .lv-idle, body[data-route='live'] .lv-idle * { cursor: none !important; }

/* ---------- themes ---------- */
.lv-root {
  --ev: #e2c37a; --ev2: #a3b86c; --ev-on: #1a1508;
  --ev-hi: #f0d38a; --ev-soft: rgba(226, 195, 122, 0.18); --ev-mid: rgba(226, 195, 122, 0.5);
  --lv-bg: #101318; --lv-card: rgba(27, 33, 43, 0.82); --lv-card-2: rgba(255, 255, 255, 0.045);
  --lv-text: #f3ecdc; --lv-muted: #b5ae9d; --lv-dim: #8f8a7c; --lv-line: rgba(255, 255, 255, 0.08); --lv-line-2: rgba(255, 255, 255, 0.16);
  --lv-acc: var(--ev-hi); --lv-eye: var(--ev2); --lv-live: #e0674f; --lv-good: #9fc25e; --lv-gold: #f0d38a;
  --lv-contour: #ffffff; --lv-contour-o: 0.06;
  --lv-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--lv-line), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --grad: linear-gradient(110deg, var(--ev-hi) 0%, var(--ev) 38%, var(--ev2) 72%, var(--ev-hi) 100%);
  --ease: cubic-bezier(0.16, 1, 0.3, 1); --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  position: fixed; inset: 0; z-index: 40; overflow: hidden; isolation: isolate;
  background: var(--lv-bg); color: var(--lv-text); font: 26px/1.35 var(--f-body); -webkit-font-smoothing: antialiased; color-scheme: dark;
}
@supports (color: color-mix(in oklab, red 50%, blue)) {
  .lv-root { --ev-hi: color-mix(in oklab, var(--ev) 55%, #fff); --ev-soft: color-mix(in oklab, var(--ev) 18%, transparent); --ev-mid: color-mix(in oklab, var(--ev) 50%, transparent); }
}
/* paper: the site's light journal palette */
.lv-root[data-theme='paper'] {
  --lv-bg: #f3ecdc; --lv-card: #fbf1d6; --lv-card-2: rgba(43, 38, 29, 0.05);
  --lv-text: #2b261d; --lv-muted: #5f5544; --lv-dim: #857a63; --lv-line: rgba(43, 38, 29, 0.12); --lv-line-2: rgba(43, 38, 29, 0.22);
  --lv-acc: #8a3d2c; --lv-eye: #8a3d2c; --lv-live: #b8452f; --lv-good: #5d7a2a; --lv-gold: #a9853a;
  --lv-contour: #2b261d; --lv-contour-o: 0.07;
  --lv-shadow: 0 24px 50px -30px rgba(80, 60, 30, 0.45), 0 0 0 1px var(--lv-line), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --grad: linear-gradient(110deg, #8a3d2c 0%, #b8452f 40%, #5d6c33 80%, #8a3d2c 100%);
  color-scheme: light;
}
@supports (color: color-mix(in oklab, red 50%, blue)) {
  .lv-root[data-theme='paper'] { --lv-acc: color-mix(in oklab, var(--ev) 45%, #2b261d); --grad: linear-gradient(110deg, #8a3d2c 0%, color-mix(in oklab, var(--ev) 55%, #2b261d) 45%, #5d6c33 85%, #8a3d2c 100%); }
}
/* brand: the event color leads, on dark */
.lv-root[data-theme='brand'] { --lv-acc: var(--ev); --lv-eye: var(--ev); --lv-bg: #0d1014; }
@supports (color: color-mix(in oklab, red 50%, blue)) {
  .lv-root[data-theme='brand'] { --lv-bg: color-mix(in oklab, var(--ev) 14%, #0b0d11); --lv-card: color-mix(in oklab, var(--ev) 9%, rgba(22, 26, 33, 0.86)); --lv-acc: color-mix(in oklab, var(--ev) 75%, #fff); }
}

/* backdrop: slow contour lines and a soft glow in the event colors */
.lv-bgart { position: absolute; inset: -4%; z-index: -2; opacity: var(--lv-contour-o); pointer-events: none; animation: lvDrift 90s ease-in-out infinite alternate; }
.lv-bgart svg { width: 100%; height: 100%; }
.lv-bgart polyline { stroke: var(--lv-contour); }
@keyframes lvDrift { to { transform: translate(-2%, 1.5%) scale(1.04); } }
.lv-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 55% at 8% 0%, var(--ev-soft), transparent 70%), radial-gradient(50% 50% at 100% 100%, rgba(163, 184, 108, 0.1), transparent 70%); }
.lv-root[data-theme='paper'] .lv-glow { background: radial-gradient(70% 60% at 0% 0%, rgba(240, 211, 138, 0.35), transparent 70%), radial-gradient(60% 60% at 100% 100%, rgba(138, 61, 44, 0.08), transparent 70%); }
.lv-root[data-theme='brand'] .lv-glow { background: radial-gradient(70% 60% at 10% 0%, var(--ev-mid), transparent 70%), radial-gradient(60% 60% at 100% 100%, var(--ev-soft), transparent 70%); opacity: 0.6; }

/* ---------- the stage ---------- */
.lv-stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 112px minmax(0, 1fr) auto; column-gap: 36px; row-gap: 30px; padding: 34px 64px 30px; }
.lv-stage.has-rail { grid-template-columns: minmax(0, 1fr) 320px; }
.lv-scenes { grid-column: 1; grid-row: 2; position: relative; min-height: 0; }
.lv-rail { grid-column: 2; grid-row: 2; display: none; }
.lv-stage.has-rail .lv-rail { display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; min-height: 0; }
.lv-ticker { grid-column: 1 / -1; grid-row: 3; display: none; }
.lv-stage.has-ticker .lv-ticker { display: flex; }

/* shared pieces */
.lv-card { position: relative; border-radius: 28px; background: var(--lv-card); box-shadow: var(--lv-shadow); }
.lv-mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.lv-eyebrow { display: inline-flex; align-items: center; gap: 14px; font: 600 22px/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--lv-eye); }
.lv-eyebrow::before { content: ''; width: 30px; height: 2px; border-radius: 2px; background: currentColor; flex: none; }
.lv-chip { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; background: var(--lv-card); box-shadow: inset 0 0 0 1px var(--lv-line-2); font: 600 22px/1 var(--f-mono); color: var(--lv-muted); white-space: nowrap; }
.lv-chip.gold { background: var(--ev-soft); color: var(--lv-acc); box-shadow: inset 0 0 0 1px var(--ev-mid); }
.lv-empty { margin-top: 18px; font-size: 24px; color: var(--lv-muted); }
.lv-tok { --tk: 56px; position: relative; display: inline-grid; place-items: center; flex: none; width: var(--tk); height: var(--tk); border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.55), transparent 42%), var(--c, var(--ev)); box-shadow: 0 0 0 3px var(--lv-bg), 0 10px 24px -8px rgba(0, 0, 0, 0.6); }
.lv-tok > span { font-size: calc(var(--tk) * 0.58); line-height: 1; }
.lv-tok.lg { --tk: 72px; } .lv-tok.xl { --tk: 124px; }
.lv-cem { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--c, var(--ev)); font-size: 24px; line-height: 1; }
.lv-ctag { display: inline-flex; align-items: center; gap: 12px; min-width: 0; font-size: 26px; }
.lv-ctag b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-cn { color: var(--c); font-weight: 700; }
.lv-root[data-theme='paper'] .lv-cn { color: #2b261d; box-shadow: inset 0 -0.32em 0 var(--c); }
.lv-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--lv-card); }
.lv-av.lv-sm { width: 34px; height: 34px; } .lv-av.lv-md { width: 54px; height: 54px; }
.lv-more { display: inline-grid; place-items: center; min-width: 40px; height: 34px; padding: 0 10px; border-radius: 999px; margin-left: 4px; background: var(--lv-card-2); box-shadow: inset 0 0 0 1px var(--lv-line-2); font: 700 22px/1 var(--f-mono); color: var(--lv-muted); }
.lv-dot { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--ev); }
.lv-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: lvPing 1.8s ease-out infinite; }
@keyframes lvPing { from { transform: scale(1); opacity: 0.8; } to { transform: scale(3); opacity: 0; } }
@keyframes lvRise { from { opacity: 0; transform: translateY(30px); } }
@keyframes lvBob { 50% { transform: translateY(-10px); } }

/* ---------- top bar ---------- */
.lv-top { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; gap: 34px; min-width: 0; padding: 0 32px 0 22px; border-radius: 30px; background: var(--lv-card); box-shadow: var(--lv-shadow); }
.lv-brand { flex: none; display: grid; place-items: center; height: 84px; min-width: 84px; }
.lv-brand img { max-height: 80px; max-width: 220px; width: auto; object-fit: contain; border-radius: 14px; }
.lv-brand .lv-sg { height: 78px; filter: drop-shadow(0 6px 14px rgba(216, 178, 90, 0.3)); }
.lv-titles { flex: 1; min-width: 0; }
.lv-name { margin: 0; font: 800 46px/1.05 var(--f-display); letter-spacing: -0.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-org { margin-top: 8px; font: 600 22px/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-org:empty { display: none; }
.lv-state { flex: none; }
.lv-live { display: inline-flex; align-items: center; gap: 14px; padding: 14px 24px; border-radius: 999px; font: 800 24px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.lv-live i { position: relative; width: 14px; height: 14px; border-radius: 50%; background: currentColor; }
.lv-live.st-live { background: var(--lv-live); color: #fff; box-shadow: 0 10px 34px -10px var(--lv-live); }
.lv-live.st-live i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #fff; animation: lvPing 1.4s ease-out infinite; }
.lv-live.st-setup { background: var(--ev); color: var(--ev-on); }
.lv-live.st-setup i { animation: lvBlink 1.6s ease-in-out infinite; }
.lv-live.st-ended { background: var(--lv-text); color: var(--lv-bg); }
.lv-live.st-ended i { display: none; }
.lv-live.st-ended::before { content: '🏁'; letter-spacing: 0; }
@keyframes lvBlink { 50% { opacity: 0.25; } }
.lv-clock { flex: none; display: flex; flex-direction: column; align-items: flex-end; min-width: 170px; }
.lv-clock b { font: 700 52px/1 var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.lv-clock small { margin-top: 8px; font: 600 22px/1 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--lv-muted); }
.lv-clock small:empty { display: none; }
.lv-prog { flex: none; width: 300px; }
.lv-prog-l { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; font: 600 24px/1 var(--f-body); white-space: nowrap; }
.lv-prog-l span { overflow: hidden; text-overflow: ellipsis; }
.lv-prog-l small { font: 600 22px/1 var(--f-mono); color: var(--lv-muted); }
.lv-segs { display: flex; gap: 8px; }
.lv-segs i { position: relative; flex: 1; height: 10px; border-radius: 99px; overflow: hidden; background: var(--lv-line-2); }
.lv-segs i.done { background: var(--ev-mid); }
.lv-segs b { position: absolute; inset: 0; border-radius: inherit; background: var(--ev); transform: scaleX(0); transform-origin: left;
  animation: lvFill var(--sd, 18s) linear var(--sdl, 0s) forwards; }
.lv-hold .lv-segs b { animation-play-state: paused; }
@keyframes lvFill { to { transform: scaleX(1); } }
.lv-root[data-status='setup'] .lv-prog { display: none; }

/* ---------- scenes ---------- */
.lv-scene { position: absolute; inset: 0; display: flex; flex-direction: column; min-height: 0; animation: lvSceneIn 0.9s var(--ease) both; }
.lv-scene.out { animation: lvSceneOut 0.6s ease both; pointer-events: none; }
@keyframes lvSceneIn { from { opacity: 0; transform: translateY(28px); } }
@keyframes lvSceneOut { to { opacity: 0; transform: translateY(-20px); } }
.lv-sh { flex: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.lv-h2 { margin: 14px 0 0; font: 800 62px/1 var(--f-display); letter-spacing: -0.03em; }
.lv-h2 .serif { font-weight: 400; }
.lv-sh-side { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- race ---------- */
.lv-s-race .lv-sh { margin-bottom: 14px; }
.lv-s-race .lv-h2 { font-size: 50px; margin-top: 12px; }
.lv-race-h { flex: none; }
.lv-lanes { --rkw: 76px; --whow: 400px; --ptw: 170px; --ltk: 64px; --lmax: 104px; --lgap: 14px; --lgx: 22px;
  flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 0 40px; }
.lv-lanes[data-cols='2'] { grid-template-columns: repeat(2, minmax(0, 1fr)); --rkw: 54px; --whow: 230px; --ptw: 112px; --lgx: 16px; }
.lv-lanes[data-dense='cozy'] { --ltk: 52px; --lmax: 80px; --lgap: 10px; }
.lv-lanes[data-dense='tight'] { --ltk: 40px; --lmax: 56px; --lgap: 6px; }
.lv-col { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.lv-lns { flex: 1; min-height: 0; display: grid; grid-template-rows: repeat(var(--rows, 1), minmax(0, 1fr)); gap: var(--lgap); align-content: start;
  max-height: calc(var(--rows, 1) * var(--lmax) + (var(--rows, 1) - 1) * var(--lgap)); }
.lv-scale, .lv-lane { display: grid; grid-template-columns: var(--rkw) var(--whow) minmax(0, 1fr) var(--ptw); column-gap: var(--lgx); padding: 0 24px 0 12px; }
.lv-scale { flex: none; height: 34px; margin-bottom: 10px; align-items: end; }
.lv-scale-t { position: relative; height: 100%; font: 600 22px/1 var(--f-mono); color: var(--lv-dim); }
.lv-scale-t b { position: absolute; bottom: 0; transform: translateX(-50%); font-weight: 600; }
.lv-st0 { position: absolute; right: 100%; bottom: 0; margin-right: 12px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.lv-stf { position: absolute; bottom: -4px; transform: translateX(-50%); font-size: 28px; }
.lv-lanes[data-cols='2'] .lv-st0 { display: none; }

.lv-lane { position: relative; align-items: center; min-height: 0; border-radius: 22px; background: var(--lv-card); box-shadow: inset 0 0 0 1px var(--lv-line);
  transition: transform 0.95s var(--ease), background 0.5s, box-shadow 0.5s; }
.lv-lane.enter { animation: lvLane 0.8s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms + 150ms); }
@keyframes lvLane { from { opacity: 0; transform: translateX(-46px); } }
.lv-lane.moving { z-index: 2; }
.lv-lane.is-lead { background: linear-gradient(90deg, rgba(240, 211, 138, 0.16), var(--lv-card) 55%); box-shadow: inset 0 0 0 2px rgba(240, 211, 138, 0.6), 0 0 60px -14px rgba(240, 211, 138, 0.55); }
.lv-root[data-theme='paper'] .lv-lane.is-lead { background: linear-gradient(90deg, rgba(216, 178, 90, 0.3), var(--lv-card) 55%); box-shadow: inset 0 0 0 2px #c9a24a, 0 16px 40px -18px rgba(169, 133, 58, 0.7); }
.lv-lane.is-lead::after { content: ''; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none; box-shadow: 0 0 46px -6px rgba(240, 211, 138, 0.6); opacity: 0; animation: lvGlow 2.8s ease-in-out infinite; }
@keyframes lvGlow { 50% { opacity: 1; } }
.lv-rk { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.lv-rk b { font: 800 42px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.lv-lane.is-lead .lv-rk b { color: var(--lv-gold); }
.lv-dl { font: 800 22px/1 var(--f-mono); font-style: normal; }
.lv-dl:empty { display: none; }
.lv-dl.up { color: var(--lv-good); } .lv-dl.down { color: var(--lv-live); }
.lv-who { min-width: 0; }
.lv-nm { font: 700 34px/1.1 var(--f-body); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-sub { display: flex; align-items: center; gap: 14px; margin-top: 8px; min-width: 0; }
.lv-avs { display: flex; align-items: center; flex: none; }
.lv-avs .lv-av + .lv-av { margin-left: -9px; }
.lv-at { min-width: 0; font-size: 22px; color: var(--lv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-lanes[data-dense='cozy'] .lv-nm { font-size: 30px; }
.lv-lanes[data-dense='cozy'] .lv-at { display: none; }
.lv-lanes[data-dense='cozy'] .lv-sub { margin-top: 5px; }
.lv-lanes[data-dense='cozy'] .lv-av { width: 30px; height: 30px; }
.lv-lanes[data-dense='tight'] .lv-nm { font-size: 26px; }
.lv-lanes[data-dense='tight'] .lv-sub { display: none; }
.lv-lanes[data-dense='tight'] .lv-rk b { font-size: 30px; }
.lv-lanes[data-dense='tight'] .lv-rk { flex-direction: row; gap: 6px; }
.lv-lanes[data-dense='tight'] .lv-pts b { font-size: 30px; }
.lv-lanes[data-dense='tight'] .lv-pts small { display: none; }

.lv-track { position: relative; align-self: stretch; min-width: 0; }
.lv-rail-l { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 99px; background: var(--lv-line-2); }
.lv-ticks i { position: absolute; top: 50%; width: 4px; height: 22px; margin: -11px 0 0 -2px; border-radius: 2px; background: var(--lv-line-2); transition: background 0.6s; }
.lv-ticks i.on { background: var(--c); }
.lv-lanes[data-dense='tight'] .lv-ticks i { height: 16px; margin-top: -8px; }
.lv-trail { position: absolute; left: 0; top: 50%; width: 100%; height: 8px; margin-top: -4px; border-radius: 99px; background: linear-gradient(90deg, transparent, var(--c) 70%);
  transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 1.6s var(--ease); }
.lv-finish { position: absolute; top: 12%; bottom: 12%; left: 90%; width: 16px; margin-left: -8px; border-radius: 4px;
  background: repeating-conic-gradient(#f3ecdc 0 25%, #1b212b 0 50%) 0 0 / 8px 8px; box-shadow: 0 0 0 2px var(--lv-card), 0 0 18px rgba(0, 0, 0, 0.35); }
.lv-run { position: absolute; inset: 0; pointer-events: none; transform: translateX(calc(var(--p, 0) * 100%)); transition: transform 1.6s var(--ease); }
.lv-lane.enter .lv-run, .lv-lane.enter .lv-trail { transition-delay: calc(var(--i, 0) * 70ms + 550ms); }
.lv-run .lv-tok { --tk: var(--ltk, 56px); position: absolute; left: 0; top: 50%; transform: translate(-50%, -50%); }
.lv-lane.is-lead .lv-run .lv-tok { box-shadow: 0 0 0 3px var(--lv-bg), 0 0 0 6px var(--lv-gold), 0 0 36px 4px rgba(240, 211, 138, 0.65); }
.lv-lane.hot .lv-run .lv-tok::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 3px solid var(--c); animation: lvPing 1.9s ease-out infinite; }
.lv-lane.idle .lv-run .lv-tok { filter: grayscale(0.7); opacity: 0.6; }
.lv-flag { position: absolute; left: 0; top: 50%; transform: translate(6px, calc(-50% - var(--ltk, 56px) * 0.55)); padding: 4px 9px; border-radius: 9px;
  background: var(--lv-gold); color: #1a1508; font: 800 22px/1 var(--f-mono); white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.6); }
.lv-flag:empty { display: none; }
.lv-pts { display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; white-space: nowrap; }
.lv-pts b { font: 800 42px/1 var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.lv-pts small { font: 600 22px/1 var(--f-mono); color: var(--lv-muted); }
.lv-lane.is-lead .lv-pts b { color: var(--lv-gold); }

/* ---------- feed ---------- */
.lv-feed { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1.4fr 1fr 1fr; gap: 22px; }
.lv-fc { position: relative; display: flex; align-items: center; gap: 28px; min-width: 0; min-height: 0; padding: 22px 34px 22px 38px; overflow: hidden; border-radius: 28px; background: var(--lv-card); box-shadow: var(--lv-shadow); }
.lv-fc::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 7px; border-radius: 0 6px 6px 0; background: var(--c); }
.lv-fc.hero { grid-column: 1 / -1; padding: 28px 46px; }
.lv-fc-ic { flex: none; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 26px; background: var(--lv-card-2); box-shadow: inset 0 0 0 2px var(--c); font-size: 50px; line-height: 1; }
.lv-fc.hero .lv-fc-ic { width: 128px; height: 128px; border-radius: 34px; font-size: 76px; }
.lv-fc-b { min-width: 0; }
.lv-fc p { margin: 0; font: 600 30px/1.22 var(--f-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lv-fc.hero p { font: 700 48px/1.1 var(--f-display); letter-spacing: -0.02em; }
.lv-fc-m { display: flex; align-items: center; gap: 16px; margin-top: 14px; font-size: 22px; color: var(--lv-muted); }
.lv-fc.first .lv-fc-ic { box-shadow: inset 0 0 0 3px var(--lv-gold), 0 0 30px -6px rgba(240, 211, 138, 0.7); }
.lv-fc.big { background: linear-gradient(110deg, var(--ev-soft), var(--lv-card) 60%); }
.lv-fc.ann { background: linear-gradient(110deg, var(--ev-mid), var(--lv-card) 70%); }
.lv-fc.ann::before { background: var(--ev); }
.lv-fc.enter { animation: lvRise 0.8s var(--ease) backwards; animation-delay: calc(var(--i) * 110ms + 200ms); }
.lv-fc.new { animation: lvPop 0.9s var(--spring) backwards; }
.lv-fc.new::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 3px var(--ev); animation: lvFlash 2.4s ease-out forwards; }
@keyframes lvPop { from { opacity: 0; transform: scale(0.92) translateY(-20px); } }
@keyframes lvFlash { to { opacity: 0; } }

/* ---------- map ---------- */
.lv-mapwrap { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 450px; grid-template-rows: minmax(0, 1fr); gap: 26px; }
.lv-mapslot { overflow: hidden; min-height: 0; background: #12161c; }
.lv-mapslot .lv-map { position: absolute; inset: 0; }   /* beats maplibre-gl.css's .maplibregl-map { position: relative } */
.lv-map .maplibregl-ctrl-attrib { font-size: 12px; opacity: 0.6; }
.lv-maploading { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; }
.lv-maplist { list-style: none; margin: 0; padding: 24px 28px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.lv-maplist li { display: flex; align-items: center; gap: 16px; min-width: 0; animation: lvRise 0.7s var(--ease) backwards; }
.lv-maplist li > div { min-width: 0; }
.lv-maplist b { display: block; font-size: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-maplist small { display: block; font-size: 22px; color: var(--lv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-maplist .lv-tok { --tk: 50px; }
.lv-maplist li.more { font: 600 22px/1 var(--f-mono); color: var(--lv-muted); padding-left: 50px; }
.lv-rkn { flex: none; width: 34px; text-align: right; font: 700 24px/1 var(--f-mono); color: var(--lv-dim); }
.lv-pin { position: relative; padding-bottom: 12px; }
.lv-pin b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ev); color: var(--ev-on); font: 800 22px/1 var(--f-mono); box-shadow: 0 0 0 3px #12161c, 0 8px 20px -6px rgba(0, 0, 0, 0.8); }
.lv-pin::after { content: ''; position: absolute; left: 50%; bottom: 0; margin-left: -8px; border: 8px solid transparent; border-top: 13px solid var(--ev); border-bottom: 0; }
.lv-pin.fin b { background: #f3ecdc; font-size: 24px; }
.lv-pin.fin::after { border-top-color: #f3ecdc; }
.lv-mtok > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c); font-size: 30px; line-height: 1; box-shadow: 0 0 0 3px #fff, 0 10px 24px -6px rgba(0, 0, 0, 0.8); }
.lv-mtok.is-lead > span { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #f0d38a, 0 0 30px 4px rgba(240, 211, 138, 0.7); }

/* ---------- photo wall ---------- */
.lv-wall { flex: 1; min-height: 0; display: grid; gap: 18px; }
.lv-wall.n2 { grid-template-columns: 1fr 1fr; }
.lv-wall.n3 { grid-template: 1fr 1fr / 2fr 1fr; }
.lv-wall.n3 .lv-ph:first-child { grid-row: span 2; }
.lv-wall.n4 { grid-template: 1fr 1fr / 1fr 1fr; }
.lv-wall.n5 { grid-template: 1fr 1fr / 2fr 1fr 1fr; }
.lv-wall.n5 .lv-ph:first-child { grid-row: span 2; }
.lv-ph { position: relative; margin: 0; min-width: 0; min-height: 0; overflow: hidden; border-radius: 26px; background: var(--lv-card); box-shadow: var(--lv-shadow);
  animation: lvPhIn 1s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 140ms + 150ms); }
.lv-ph.gone { display: none; }
.lv-ph img { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--kx, 50%) var(--ky, 50%); animation: lvKen var(--kd, 24s) ease-in-out both; }
@keyframes lvPhIn { from { opacity: 0; transform: scale(0.94); } }
@keyframes lvKen { from { transform: scale(1.02); } to { transform: scale(1.17); } }
.lv-cap { position: absolute; left: 18px; bottom: 18px; max-width: calc(100% - 36px); display: inline-flex; align-items: center; gap: 12px; padding: 9px 20px 9px 9px; border-radius: 999px;
  background: rgba(12, 14, 18, 0.78); color: #f3ecdc; font-size: 24px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7); }
.lv-cap b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-cap .lv-mono { font-size: 22px; color: #d9d2c0; white-space: nowrap; }
.lv-ph.lv-sm .lv-cap { left: 12px; bottom: 12px; padding: 7px 14px; }

/* ---------- stats ---------- */
.lv-kpis { flex: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.lv-kpi { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; min-width: 0; animation: lvRise 0.8s var(--ease) backwards; animation-delay: calc(var(--i) * 80ms + 150ms); }
.lv-kpi-ic { font-size: 36px; line-height: 1; }
.lv-kpi > div { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; white-space: nowrap; }
.lv-kpi b { font: 800 50px/1 var(--f-mono); letter-spacing: -0.03em; }
.lv-kpi-of { font: 600 22px/1 var(--f-mono); color: var(--lv-muted); }
.lv-kpi-l { font-size: 22px; color: var(--lv-muted); line-height: 1.2; }
.lv-statrow { flex: 1; min-height: 0; display: grid; grid-template-columns: 340px minmax(0, 1fr) 380px; grid-template-rows: minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.lv-donut { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 22px; min-height: 0; }
.lv-donut-v { position: relative; width: 260px; height: 260px; flex: none; }
.lv-donut-v svg { width: 100%; height: 100%; }
.lv-dn-bg { fill: none; stroke: var(--lv-line-2); stroke-width: 26; }
.lv-dn-arc { fill: none; stroke: var(--ev); stroke-width: 26; stroke-linecap: round; stroke-dasharray: var(--c); stroke-dashoffset: var(--o); animation: lvDash 1.8s var(--ease) 0.3s backwards; }
@keyframes lvDash { from { stroke-dashoffset: var(--c); } }
.lv-dn-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lv-dn-in b { font: 800 64px/1 var(--f-mono); letter-spacing: -0.04em; }
.lv-dn-in small { font: 600 22px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--lv-muted); margin-top: 8px; }
.lv-dn-l { margin: 0; font-size: 22px; color: var(--lv-muted); text-align: center; }
.lv-bars { display: flex; flex-direction: column; padding: 24px 30px; min-width: 0; min-height: 0; }
.lv-bars svg { flex: 1; min-height: 0; width: 100%; margin-top: 10px; overflow: visible; }
.lv-bar rect { fill: var(--ev); opacity: 0.82; transform-box: fill-box; transform-origin: bottom; animation: lvGrow 1.1s var(--ease) backwards; animation-delay: calc(var(--i) * 60ms + 300ms); }
.lv-bar.hot rect { fill: var(--lv-live); opacity: 1; }
@keyframes lvGrow { from { transform: scaleY(0); } }
.lv-bv { font: 700 24px var(--f-mono); fill: var(--lv-text); text-anchor: middle; }
.lv-bar.hot .lv-bv { fill: var(--lv-live); }
.lv-bn { font: 600 22px var(--f-mono); fill: var(--lv-dim); text-anchor: middle; }
.lv-axis { stroke: var(--lv-line-2); stroke-width: 2; }
.lv-callouts { display: flex; flex-direction: column; gap: 18px; min-height: 0; }
.lv-call { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 24px 28px; min-height: 0; }
.lv-call b { font: 700 30px/1.15 var(--f-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lv-call b.lv-mono { font: 800 44px/1 var(--f-mono); }
.lv-call small { font-size: 22px; color: var(--lv-muted); }
.lv-call.hard { background: linear-gradient(140deg, rgba(224, 103, 79, 0.16), var(--lv-card) 65%); }
.lv-call.fast { background: linear-gradient(140deg, var(--ev-soft), var(--lv-card) 65%); }

/* ---------- awards ---------- */
.lv-awards { flex: 1; min-height: 0; display: grid; grid-auto-rows: minmax(0, 1fr); gap: 22px; perspective: 1800px; }
.lv-awards.c1 { grid-template-columns: minmax(0, 620px); justify-content: center; }
.lv-awards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lv-awards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lv-awards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lv-aw { position: relative; min-height: 0; }
.lv-aw-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(180deg); transition: transform 1.1s var(--spring); }
.lv-aw.on .lv-aw-in { transform: none; }
.lv-aw-back, .lv-aw-front { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 26px; text-align: center;
  border-radius: 28px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: var(--lv-shadow); }
.lv-aw-back { transform: rotateY(180deg); background: repeating-linear-gradient(45deg, transparent 0 18px, var(--lv-card-2) 18px 36px), var(--lv-card); }
.lv-aw-back span { font-size: 84px; line-height: 1; color: var(--ev); animation: lvBob 2.4s ease-in-out infinite; }
.lv-aw-back small { margin-top: 16px; font: 600 22px/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--lv-muted); }
.lv-aw-front { background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), transparent 50%), var(--lv-card); box-shadow: var(--lv-shadow), inset 0 0 0 2px var(--c); }
.lv-aw-front::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(80% 60% at 50% 0%, var(--c), transparent 70%); opacity: 0.22; pointer-events: none; }
.lv-aw-em { position: relative; font-size: 84px; line-height: 1; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35)); }
.lv-aw-t { position: relative; margin: 14px 0 12px; font: 800 36px/1.05 var(--f-display); letter-spacing: -0.02em; }
.lv-aw-w { position: relative; margin: 12px 0 0; font-size: 22px; line-height: 1.3; color: var(--lv-muted); }
.lv-aw .lv-ctag { position: relative; max-width: 100%; }
.lv-awards.c4 .lv-aw-em { font-size: 68px; }
.lv-awards.c4 .lv-aw-t { font-size: 30px; }
.lv-awards.c4 .lv-ctag { font-size: 24px; }

/* ---------- spotlight ---------- */
.lv-spot { flex: 1; min-height: 0; display: grid; grid-template-columns: 540px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 36px; }
.lv-spot-hero { display: flex; flex-direction: column; justify-content: center; min-width: 0; animation: lvRise 0.9s var(--ease) 0.1s backwards; }
.lv-spot-tok { position: relative; display: grid; place-items: center; width: 190px; height: 190px; margin: 26px 0 26px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.55), transparent 45%), var(--c); box-shadow: 0 0 0 10px var(--lv-card), 0 0 0 13px var(--c), 0 30px 90px -20px var(--c); animation: lvBob 5s ease-in-out infinite; }
.lv-spot-tok > span { font-size: 108px; line-height: 1; }
.lv-spot-rk { position: absolute; right: -14px; top: 6px; padding: 10px 18px; border-radius: 999px; background: var(--lv-text); color: var(--lv-bg); font: 800 30px/1 var(--f-mono); font-style: normal; }
.lv-spot-name { margin: 0; font: 800 68px/1 var(--f-display); letter-spacing: -0.03em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lv-spot-at { margin: 16px 0 0; font-size: 28px; color: var(--lv-muted); }
.lv-spot-nums { display: flex; gap: 44px; margin-top: 32px; }
.lv-spot-nums div { display: flex; flex-direction: column; gap: 10px; }
.lv-spot-nums b { font: 800 46px/1 var(--f-mono); letter-spacing: -0.03em; white-space: nowrap; }
.lv-spot-nums small { font: 600 22px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--lv-muted); }
.lv-spot-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; min-height: 0; overflow: hidden; }
.lv-spot-crew { flex: none; padding: 24px 28px; animation: lvRise 0.8s var(--ease) 0.25s backwards; }
.lv-members { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 20px; margin-top: 18px; }
.lv-members.faces { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.lv-mem { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 24px; }
.lv-mem span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-mem.more { font: 700 24px/1 var(--f-mono); color: var(--lv-muted); }
.lv-spot-spark { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 22px 28px; animation: lvRise 0.8s var(--ease) 0.4s backwards; }
.lv-spot-spark svg { flex: 1; min-height: 0; width: 100%; margin-top: 8px; overflow: visible; }
.lv-legend { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; padding-left: 24px; letter-spacing: 0.06em; text-transform: none; color: var(--lv-muted); white-space: nowrap; }
.lv-legend i { display: inline-block; width: 28px; height: 5px; border-radius: 3px; margin-left: 12px; }
.lv-legend i.me { background: var(--c); }
.lv-legend i.med { background: repeating-linear-gradient(90deg, var(--lv-muted) 0 7px, transparent 7px 12px); }
.lv-spot-spark .lv-eyebrow { width: 100%; white-space: nowrap; flex-wrap: wrap; row-gap: 10px; }
.lv-wel-join .lv-eyebrow { letter-spacing: 0.14em; }
.lv-sp-line { fill: none; stroke: var(--c); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.lv-sp-med { fill: none; stroke: var(--lv-muted); stroke-width: 3; stroke-dasharray: 8 10; opacity: 0.75; }
.lv-sp-dot { fill: var(--lv-bg); stroke: var(--c); stroke-width: 4; }
.lv-sp-dot.best { fill: var(--c); }
.lv-spot-ph { flex: none; height: 190px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lv-spot-ph .lv-ph { border-radius: 20px; }

/* ---------- podium ---------- */
.lv-podwrap { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 540px; grid-template-rows: minmax(0, 1fr); gap: 44px; }
.lv-podwrap.solo { grid-template-columns: minmax(0, 1fr); }
.lv-podium { display: flex; align-items: flex-end; justify-content: center; gap: 26px; min-height: 0; }
.lv-pd { flex: 1; max-width: 340px; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.lv-pd-who { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; margin-bottom: 22px; text-align: center; animation: lvRise 0.9s var(--ease) backwards; }
.lv-pd-who b { max-width: 100%; font: 800 34px/1.1 var(--f-display); letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lv-pd-who small { font-size: 26px; color: var(--lv-acc); }
.lv-pd-av { display: flex; }
.lv-pd-av .lv-av + .lv-av { margin-left: -8px; }
.lv-pd .lv-tok.xl { margin-bottom: 8px; }
.lv-pd.p1 .lv-tok.xl { --tk: 150px; box-shadow: 0 0 0 4px var(--lv-bg), 0 0 0 8px var(--lv-gold), 0 0 70px 6px rgba(240, 211, 138, 0.55); }
.lv-pd-block { width: 100%; display: flex; flex-direction: column; align-items: center; padding-top: 22px; border-radius: 24px 24px 0 0; transform-origin: bottom;
  background: linear-gradient(180deg, var(--c), transparent 140%), var(--lv-card); box-shadow: var(--lv-shadow); animation: lvGrowY 1s var(--ease) backwards; }
.lv-pd-block span { font: 800 96px/1 var(--f-display); color: #fff8ea; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35); }
.lv-pd-block small { margin-top: 8px; font: 700 22px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 248, 234, 0.85); }
.lv-pd.p1 .lv-pd-block { height: 290px; background: linear-gradient(180deg, #f0d38a, #a9853a 120%); }
.lv-pd.p1 .lv-pd-block span, .lv-pd.p1 .lv-pd-block small { color: #1a1508; text-shadow: none; }
.lv-pd.p2 .lv-pd-block { height: 210px; }
.lv-pd.p3 .lv-pd-block { height: 150px; }
.lv-pd.p3 .lv-pd-block, .lv-pd.p3 .lv-pd-who { animation-delay: 0.3s; }
.lv-pd.p2 .lv-pd-block, .lv-pd.p2 .lv-pd-who { animation-delay: 0.7s; }
.lv-pd.p1 .lv-pd-block, .lv-pd.p1 .lv-pd-who { animation-delay: 1.1s; }
@keyframes lvGrowY { from { transform: scaleY(0); } }
.lv-rest { list-style: none; margin: 0; padding: 18px 30px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.lv-rest li { display: grid; grid-template-columns: 46px 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 0; font-size: 26px; border-bottom: 1px solid var(--lv-line);
  animation: lvRise 0.7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms + 1.4s); }
.lv-rest li:last-child { border-bottom: 0; }
.lv-rest b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-rest .lv-mono { font-size: 24px; color: var(--lv-muted); }
.lv-rest li.more { display: block; font: 600 22px/1 var(--f-mono); color: var(--lv-muted); padding-top: 16px; }

/* ---------- welcome (before the start) ---------- */
.lv-wel { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 640px; grid-template-rows: minmax(0, 1fr) auto; gap: 34px 56px; }
.lv-wel:not(.has-join) { grid-template-columns: minmax(0, 1fr); }
.lv-wel-main { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 0; animation: lvRise 1s var(--ease) 0.1s backwards; }
.lv-wel-logo { align-self: flex-start; max-height: 120px; max-width: 380px; width: auto; object-fit: contain; margin-bottom: 30px; border-radius: 16px; }
.lv-wel-h { margin: 20px 0 0; font: 800 100px/0.98 var(--f-display); letter-spacing: -0.035em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lv-wel-msg { margin: 24px 0 0; max-width: 1000px; font-size: 32px; line-height: 1.35; color: var(--lv-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lv-soon { align-self: flex-start; display: inline-flex; align-items: center; gap: 18px; margin-top: 36px; padding: 18px 30px; border-radius: 999px; background: var(--ev-soft); box-shadow: inset 0 0 0 1px var(--ev-mid); font: 700 30px/1 var(--f-body); }
.lv-soon b { font-size: 30px; color: var(--lv-acc); }
.lv-soon b:empty { display: none; }
.lv-wel-join { align-self: center; display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: center; gap: 30px; padding: 32px; animation: lvRise 1s var(--ease) 0.35s backwards; }
.lv-wel-how { margin: 16px 0 14px; font-size: 24px; line-height: 1.3; color: var(--lv-muted); }
.lv-wel-crews { grid-column: 1 / -1; min-width: 0; }
.lv-crewgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.lv-wcrew { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px 18px 14px 14px; border-radius: 22px; background: var(--lv-card); box-shadow: var(--lv-shadow);
  animation: lvRise 0.7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 60ms + 500ms); }
.lv-wcrew > div { min-width: 0; }
.lv-wcrew b { display: block; font-size: 25px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-wcrew small { display: block; font-size: 22px; color: var(--lv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-wcrew .lv-tok { --tk: 54px; }
.lv-wcrew.more { justify-content: center; color: var(--lv-muted); }
.lv-wcrew.bump { animation: lvBump 0.9s var(--spring); box-shadow: var(--lv-shadow), inset 0 0 0 2px var(--c); }
@keyframes lvBump { 40% { transform: scale(1.06); } }

/* ---------- join card + QR ---------- */
.lv-qr { aspect-ratio: 1; padding: 14px; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.7); }
.lv-qr svg { display: block; width: 100%; height: 100%; }
.lv-qr svg path, .lv-qr svg rect[fill='#000000'] { fill: #111; }
.lv-qr.xl { width: 300px; }
.lv-code { font: 800 46px/1 var(--f-mono); letter-spacing: 0.14em; color: var(--lv-acc); white-space: nowrap; }
.lv-code.xl { font-size: 56px; letter-spacing: 0.1em; }

/* ---------- right rail ---------- */
.lv-rail .lv-card { padding: 24px 26px; }
.lv-rail .lv-eyebrow { letter-spacing: 0.12em; gap: 10px; }
.lv-rail .lv-eyebrow::before { width: 18px; }
.lv-lead { animation: lvRise 0.8s var(--ease) backwards; }
.lv-lead-row { display: flex; align-items: center; gap: 16px; margin-top: 18px; min-width: 0; }
.lv-lead-row > div { min-width: 0; }
.lv-lead-row b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 700 28px/1.15 var(--f-body); }
.lv-lead-row small { display: block; margin-top: 6px; font: 700 24px/1 var(--f-mono); color: var(--lv-gold); }
.lv-lead .lv-tok { box-shadow: 0 0 0 3px var(--lv-card), 0 0 0 6px var(--lv-gold), 0 0 30px rgba(240, 211, 138, 0.5); }
.lv-lead-n { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.lv-lead-n b { font: 800 58px/1 var(--f-mono); }
.lv-lead-n small, .lv-lead-s { font-size: 24px; color: var(--lv-muted); }
.lv-join { display: flex; flex-direction: column; align-items: center; text-align: center; animation: lvRise 0.8s var(--ease) 0.15s backwards; }
.lv-join .lv-qr { width: 236px; margin: 20px 0 16px; }
.lv-join-l { font-size: 22px; color: var(--lv-muted); margin-bottom: 10px; }

/* ---------- ticker ---------- */
.lv-ticker { align-items: stretch; height: 72px; overflow: hidden; border-radius: 22px; background: var(--lv-card); box-shadow: var(--lv-shadow); }
.lv-tk-l { flex: none; display: flex; align-items: center; gap: 12px; padding: 0 28px; background: var(--ev); color: var(--ev-on); font: 800 22px/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; }
.lv-tk-l i { width: 12px; height: 12px; border-radius: 50%; background: currentColor; animation: lvBlink 1.6s ease-in-out infinite; }
.lv-tk-v { flex: 1; min-width: 0; display: flex; align-items: center; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.lv-tk-run { display: flex; width: max-content; animation: lvMarquee var(--dur, 40s) linear infinite; }
.lv-tk-set { display: flex; flex: none; }
.lv-tk-i { display: inline-flex; align-items: center; gap: 12px; padding: 0 30px; font-size: 26px; white-space: nowrap; }
.lv-tk-i::after { content: '•'; margin-left: 30px; color: var(--lv-dim); }
.lv-tk-i em { font-style: normal; }
@keyframes lvMarquee { to { transform: translateX(-50%); } }

/* ---------- takeovers: announcements, finishes, the start and the end ---------- */
.lv-take { position: absolute; inset: 0; z-index: 20; display: none; place-items: center; padding: 80px 150px; text-align: center;
  background: radial-gradient(70% 70% at 50% 42%, var(--ev-mid), transparent 70%), var(--lv-bg); }
.lv-take.on, .lv-take.out { display: grid; }
.lv-take.on { animation: lvTakeIn 0.7s var(--ease) both; }
.lv-take.out { animation: lvTakeOut 0.6s ease both; }
@keyframes lvTakeIn { from { opacity: 0; } }
@keyframes lvTakeOut { to { opacity: 0; } }
.lv-take .lv-eyebrow { font-size: 26px; }
.lv-tk-wrap { display: flex; flex-direction: column; align-items: center; max-width: 1500px; animation: lvZoom 0.9s var(--spring) 0.1s backwards; }
@keyframes lvZoom { from { opacity: 0; transform: scale(0.86) translateY(30px); } }
.lv-ann { margin: 36px 0 0; font: 700 88px/1.1 var(--f-display); letter-spacing: -0.025em; }
.lv-ann.long { font-size: 64px; }
.lv-tk-from { margin-top: 44px; font: 600 26px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--lv-muted); }
.lv-fin-tok { display: grid; place-items: center; width: 260px; height: 260px; margin-bottom: 40px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.55), transparent 45%), var(--c); box-shadow: 0 0 0 14px var(--lv-card), 0 0 0 18px var(--c), 0 0 160px -10px var(--c);
  animation: lvSlam 1s var(--spring) backwards; }
.lv-fin-tok > span { font-size: 150px; line-height: 1; }
@keyframes lvSlam { from { opacity: 0; transform: scale(2.4) rotate(-20deg); } }
.lv-fin-h { margin: 26px 0 0; font: 800 100px/1 var(--f-display); letter-spacing: -0.03em; }
.lv-fin-place { margin-top: 24px; font: 400 italic 68px/1 var(--f-display); color: var(--lv-acc); }
.lv-fin-time { margin-top: 20px; font: 600 32px/1 var(--f-mono); color: var(--lv-muted); }
.lv-go-h { margin: 28px 0 0; font: 800 140px/1 var(--f-display); letter-spacing: -0.04em; }
.lv-go-p { margin: 26px 0 0; font-size: 36px; color: var(--lv-muted); }

/* ---------- small overlays: reconnecting, paused, sound, keyboard hint ---------- */
.lv-pills { position: absolute; top: 162px; left: 50%; z-index: 30; display: flex; gap: 12px; transform: translateX(-50%); }
.lv-pill { display: inline-flex; align-items: center; gap: 12px; padding: 12px 24px; border-radius: 999px; background: rgba(12, 14, 18, 0.88); color: #f3ecdc; font: 600 22px/1 var(--f-body); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.8); animation: lvRise 0.5s var(--ease) both; }
.lv-pill[hidden], .lv-sound[hidden] { display: none; }
.lv-recon i { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(243, 236, 220, 0.3); border-top-color: #f3ecdc; animation: lvSpin 0.9s linear infinite; }
@keyframes lvSpin { to { transform: rotate(360deg); } }
.lv-sound { position: absolute; left: 50%; bottom: 122px; z-index: 30; transform: translateX(-50%); padding: 14px 26px; border: 0; border-radius: 999px; background: var(--ev); color: var(--ev-on);
  font: 700 22px/1 var(--f-body); box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.8); animation: lvNudge 2.6s ease-in-out infinite; }
@keyframes lvNudge { 50% { transform: translateX(-50%) translateY(-6px); } }
.lv-hint { position: absolute; left: 64px; bottom: 122px; z-index: 30; display: flex; align-items: center; gap: 12px; transition: opacity 0.6s; }
.lv-stage:not(.has-ticker) .lv-hint, .lv-stage:not(.has-ticker) .lv-sound { bottom: 40px; }
.lv-hint-b { width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(12, 14, 18, 0.8); color: #f3ecdc; font: 700 24px/1 var(--f-mono); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.lv-hint-p { display: none; align-items: center; gap: 28px; padding: 14px 26px; border-radius: 18px; background: rgba(12, 14, 18, 0.9); color: #f3ecdc; font-size: 22px; white-space: nowrap; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.8); }
.lv-hint.open .lv-hint-p { display: flex; animation: lvRise 0.5s var(--ease) both; }
.lv-hint kbd { display: inline-block; min-width: 36px; margin-right: 6px; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.14); font: 700 22px/1 var(--f-mono); text-align: center; }
.lv-idle .lv-hint:not(.open) { opacity: 0; }

/* ---------- boot + changed link ---------- */
.lv-boot, .lv-gone { grid-column: 1 / -1; grid-row: 1 / -1; place-self: center; }
.lv-boot { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.lv-boot-b { height: 150px; width: auto; animation: lvBob 3s ease-in-out infinite; filter: drop-shadow(0 12px 30px rgba(216, 178, 90, 0.35)); }
.lv-boot p { margin: 0; font-size: 30px; color: var(--lv-muted); }
.lv-gone-card { width: 1000px; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 70px 90px; text-align: center; }
.lv-gone-card img { height: 130px; width: auto; }
.lv-gone-card h1 { margin: 8px 0 0; font: 800 72px/1.04 var(--f-display); letter-spacing: -0.03em; }
.lv-gone-card p { margin: 0; font-size: 30px; line-height: 1.4; color: var(--lv-muted); }

/* a block redrawn by a poll keeps still (live.js paint()); a crew that just gained a player still bumps */
.lv-calm, .lv-calm * { animation: none !important; }
.lv-calm .lv-wcrew.bump { animation: lvBump 0.9s var(--spring) !important; }

/* ---------- reduced motion: no Ken Burns, no FLIP, no confetti (live.js), instant scene changes ---------- */
.lv-rm *, .lv-rm *::before, .lv-rm *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
.lv-rm .lv-segs b { animation-duration: var(--sd, 18s) !important; animation-delay: var(--sdl, 0s) !important; }   /* the scene timer is information, not motion */
.lv-rm .lv-tk-run { animation: none !important; }
.lv-rm .lv-bgart { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .lv-ph img { animation: none !important; }
  .lv-dot::after, .lv-live i::after, .lv-lane.hot .lv-run .lv-tok::after { display: none; }
}
