/*!
 * VOLTLINE — game styles (adapted from voltline-v14 single-file build).
 * Everything is scoped to #vl-stage so the kit page (header, SEO content,
 * dock, modals) keeps its own styles. The original used position:fixed on a
 * fullscreen body; here the stage is the coordinate system: web mode gets a
 * 16:9 surface card, app mode goes full-bleed via tz-app-mode.css
 * (.tz-game-surface rules). All class names are vl- prefixed to avoid
 * colliding with tools.css (.btn/.card/.overlay are taken there).
 */

#vl-stage{
  --panel:rgba(16,10,38,.9);
  --edge:rgba(130,90,255,.35);
  --ink:#eef0ff; --dim:#9a93c8;
  --hot:#ff3d5a; --go:#36f9b3; --gold:#ffd166; --cyan:#41e8ff; --pink:#ff2d95;

  position:relative;
  width:100%;
  aspect-ratio:16/9;
  max-height:78vh;
  min-height:300px;
  overflow:hidden;
  border-radius:14px;
  background:#070313;
  color:var(--ink);
  font-family:"Segoe UI",system-ui,sans-serif;
  -webkit-user-select:none;user-select:none;
  touch-action:none;-webkit-touch-callout:none;
}
#vl-stage *{margin:0;padding:0;box-sizing:border-box;}
#vl-stage button{font-family:inherit;}
#vl-stage #game{position:absolute;inset:0;}
#vl-stage canvas{display:block;}

/* App mode: kit makes .tz-game-surface fill the screen; fullscreen toggles
   are pointless inside the native shell. */
html.tz-app-mode #vl-stage{border-radius:0;max-height:none;min-height:0;}
html.tz-app-mode #vl-stage .vl-fs{display:none;}

#vl-stage #grade{position:absolute;inset:0;pointer-events:none;z-index:3;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.14) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.45) 100%);
  opacity:.5;}

/* ---------- HUD ----------
   One translucent stat panel (left) + one round-button control cluster
   (right). No kit dock bar — everything the game needs lives up here, in the
   game's own neon style. Both are flex siblings → never overlap at any width. */
#vl-stage #hud{position:absolute;top:0;left:0;right:0;z-index:6;display:flex;justify-content:space-between;
  align-items:flex-start;pointer-events:none;gap:8px;
  padding:calc(8px + var(--tz-safe-top, 0px)) calc(10px + var(--tz-safe-right, 0px)) 0 calc(10px + var(--tz-safe-left, 0px));}

/* unified stat panel — segments divided by hairlines, one glassy pill */
#vl-stage #statBar{display:flex;align-items:stretch;gap:0;flex-wrap:wrap;
  background:var(--panel);border:1px solid var(--edge);border-radius:13px;
  backdrop-filter:blur(7px);overflow:hidden;
  box-shadow:0 4px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);}
#vl-stage .seg{display:flex;flex-direction:column;justify-content:center;
  padding:5px 12px;text-align:center;min-width:0;
  border-left:1px solid rgba(130,90,255,.18);}
#vl-stage .seg:first-child{border-left:0;}
#vl-stage .seg .l{font-size:8px;letter-spacing:2px;text-transform:uppercase;color:var(--dim);line-height:1.3;}
#vl-stage .seg .v{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.15;white-space:nowrap;}
#vl-stage #lvlName{color:var(--cyan);} #vl-stage #buzzVal{color:var(--hot);}
#vl-stage #timeVal{color:var(--gold);} #vl-stage .seg-score .v{color:var(--go);}
#vl-stage #streakPill{display:none;} #vl-stage #streakPill .v{color:#ff9f1c;}
#vl-stage .seg-lvl{max-width:148px;} #vl-stage .seg-lvl .v{overflow:hidden;text-overflow:ellipsis;}

/* control cluster — round neon buttons, glassy, in the same panel language */
#vl-stage #ctrlBar{display:flex;gap:7px;align-items:center;flex:0 0 auto;pointer-events:auto;}
#vl-stage .vl-ic{display:flex;align-items:center;justify-content:center;flex:0 0 auto;
  width:42px;height:42px;border-radius:50%;border:1px solid var(--edge);
  background:var(--panel);color:var(--ink);font-size:17px;line-height:1;cursor:pointer;
  backdrop-filter:blur(7px);transition:transform .08s, box-shadow .15s, border-color .15s;
  box-shadow:0 4px 14px rgba(0,0,0,.3);}
#vl-stage .vl-ic:hover{border-color:var(--cyan);box-shadow:0 0 14px rgba(65,232,255,.35);}
#vl-stage .vl-ic:active{transform:scale(.9);filter:brightness(1.2);}
#vl-stage #lbBtn{color:var(--gold);}
#vl-stage .vl-ic.vl-rec-on{border-color:var(--hot);color:var(--hot);
  box-shadow:0 0 16px rgba(255,61,90,.6);animation:vlRecPulse 1s ease-in-out infinite;}
@keyframes vlRecPulse{0%,100%{opacity:1;}50%{opacity:.55;}}

/* ---------- real SVG icons (no emoji/text glyphs on buttons) ---------- */
#vl-stage .vl-i{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;}
#vl-stage .vl-i svg{display:block;width:20px;height:20px;}
#vl-stage .vl-ic .vl-i svg,#vl-stage .vl-pc .vl-i svg{width:20px;height:20px;}
#vl-stage .vl-iconBtn{display:inline-flex;align-items:center;justify-content:center;}
#vl-stage .vl-iconBtn .vl-i svg{width:20px;height:20px;}
#vl-stage .vl-btn{display:flex;align-items:center;justify-content:center;gap:8px;}
#vl-stage .vl-btn .vl-i svg{width:18px;height:18px;}
#vl-stage .vl-l{display:inline-flex;align-items:baseline;gap:6px;}
#vl-stage .vl-sub{font-size:11px;opacity:.75;font-weight:600;}
#vl-stage.vl-short .vl-btn .vl-i svg{width:16px;height:16px;}

/* ---------- globe joystick: rotate the whole world 360° (bottom-left) ---------- */
#vl-stage #orbitPad{position:absolute;z-index:6;display:none;touch-action:none;cursor:grab;
  left:calc(8px + var(--tz-safe-left, 0px));
  bottom:calc(8px + var(--tz-safe-bottom, 0px));
  width:86px;height:86px;border-radius:50%;
  background:radial-gradient(circle at 50% 38%, rgba(65,232,255,.12), var(--panel) 72%);
  border:1px solid var(--edge);backdrop-filter:blur(7px);
  box-shadow:0 4px 16px rgba(0,0,0,.35), inset 0 0 18px rgba(65,232,255,.08);}
#vl-stage.vl-playing #orbitPad{display:block;}
#vl-stage #orbitPad:active{cursor:grabbing;}
#vl-stage #orbitRing{position:absolute;inset:13px;border-radius:50%;
  border:1px dashed rgba(130,90,255,.4);
  background:
    linear-gradient(rgba(130,90,255,.22),rgba(130,90,255,.22)) center/100% 1px no-repeat,
    linear-gradient(rgba(130,90,255,.22),rgba(130,90,255,.22)) center/1px 100% no-repeat,
    radial-gradient(circle, transparent 58%, rgba(130,90,255,.14) 60%) center/100% 100% no-repeat;}
#vl-stage #orbitNub{position:absolute;left:50%;top:50%;width:30px;height:30px;margin:-15px 0 0 -15px;
  border-radius:50%;background:linear-gradient(135deg,var(--cyan),var(--pink));
  box-shadow:0 0 12px rgba(65,232,255,.6), inset 0 1px 2px rgba(255,255,255,.4);
  pointer-events:none;transition:transform .05s linear;}
#vl-stage.vl-short #orbitPad{width:72px;height:72px;}
#vl-stage.vl-short #orbitNub{width:26px;height:26px;margin:-13px 0 0 -13px;}

/* below the HUD pill row (48px overlapped the pills on tall-font/retina) */
#vl-stage #progWrap{position:absolute;top:66px;left:50%;transform:translateX(-50%);
  width:min(380px,40%);z-index:6;pointer-events:none;}
#vl-stage #progBar{height:7px;background:rgba(255,255,255,.08);border:1px solid var(--edge);
  border-radius:6px;position:relative;}
#vl-stage #progFill{height:100%;width:0%;border-radius:6px;
  background:linear-gradient(90deg,var(--cyan),var(--pink));
  box-shadow:0 0 10px var(--cyan);transition:width .1s linear;}
#vl-stage #bestTick{position:absolute;top:-7px;width:0;height:0;border-left:5px solid transparent;
  border-right:5px solid transparent;border-top:7px solid var(--gold);
  transform:translateX(-50%);display:none;filter:drop-shadow(0 0 4px var(--gold));}
#vl-stage #cpTick{position:absolute;top:-2px;bottom:-2px;width:2px;background:var(--go);
  box-shadow:0 0 6px var(--go);display:none;left:50%;}

/* ---------- toasts / banner / countdown / grab tag ---------- */
#vl-stage #vlToasts{position:absolute;top:64px;left:50%;transform:translateX(-50%);z-index:7;
  display:flex;flex-direction:column;align-items:center;gap:5px;pointer-events:none;}
#vl-stage .vl-toast{background:var(--panel);border:1px solid var(--edge);border-radius:18px;
  padding:5px 14px;font-size:12px;font-weight:700;letter-spacing:.5px;
  animation:vlTIn .25s ease-out, vlTOut .4s ease-in 1.4s forwards;text-shadow:0 0 12px currentColor;}
@keyframes vlTIn{from{opacity:0;transform:translateY(-12px) scale(.85);}to{opacity:1;transform:none;}}
@keyframes vlTOut{to{opacity:0;transform:translateY(-10px);}}

#vl-stage #banner{position:absolute;top:36%;left:0;right:0;text-align:center;z-index:8;pointer-events:none;}
#vl-stage #bannerSub{font-size:11px;letter-spacing:5px;color:var(--dim);text-transform:uppercase;opacity:0;}
#vl-stage #bannerMain{font-size:42px;font-weight:900;letter-spacing:8px;font-style:italic;
  color:var(--cyan);opacity:0;}
#vl-stage #bannerMain span{text-shadow:0 0 18px currentColor;}
#vl-stage #banner.show #bannerMain{animation:vlBIn .45s .08s cubic-bezier(.2,1.4,.3,1) forwards, vlBOut .35s 1.25s ease-in forwards;}
#vl-stage #banner.show #bannerSub{animation:vlBIn .4s ease-out forwards, vlBOut .35s 1.25s ease-in forwards;}
@keyframes vlBIn{from{opacity:0;transform:translateX(-60px) skewX(-8deg);}to{opacity:1;transform:skewX(-8deg);}}
@keyframes vlBOut{to{opacity:0;transform:translateX(60px) skewX(-8deg);}}

#vl-stage #bigCount{position:absolute;top:32%;left:0;right:0;text-align:center;z-index:8;pointer-events:none;
  font-size:84px;font-weight:900;color:var(--gold);
  text-shadow:0 0 30px var(--gold), 0 3px 10px rgba(0,0,0,.85);opacity:0;}
#vl-stage #bigCount.pop{animation:vlCPop .82s cubic-bezier(.2,1.5,.4,1);}
@keyframes vlCPop{0%{opacity:0;transform:scale(2.2);}25%{opacity:1;transform:scale(1);}
  80%{opacity:1;}100%{opacity:0;transform:scale(.7);}}

/* on-screen view/handle controls — bottom-right, visible only during play (#2)
   so the user finds them without opening the menu. */
#vl-stage #playControls{position:absolute;z-index:6;display:none;gap:6px;
  right:calc(8px + var(--tz-safe-right, 0px));
  bottom:calc(8px + var(--tz-safe-bottom, 0px));}
#vl-stage.vl-playing #playControls{display:flex;}
#vl-stage .vl-pc{width:38px;height:38px;border-radius:50%;border:1px solid var(--edge);
  background:var(--panel);color:var(--ink);font-size:15px;line-height:1;cursor:pointer;
  pointer-events:auto;backdrop-filter:blur(7px);box-shadow:0 4px 14px rgba(0,0,0,.3);
  transition:transform .08s, border-color .15s;}
#vl-stage .vl-pc:hover{border-color:var(--cyan);}
#vl-stage .vl-pc:active{transform:scale(.9);filter:brightness(1.2);}
#vl-stage.vl-short .vl-pc{width:34px;height:34px;font-size:14px;}

/* unmissable STOP button while recording (top-centre) */
#vl-stage #recStop{position:absolute;z-index:9;top:calc(10px + var(--tz-safe-top, 0px));
  left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;
  padding:9px 18px;border-radius:22px;border:1px solid var(--hot);cursor:pointer;
  background:rgba(20,8,16,.92);color:#fff;font-weight:800;font-size:13px;letter-spacing:1px;
  box-shadow:0 0 18px rgba(255,61,90,.55);backdrop-filter:blur(6px);pointer-events:auto;}
#vl-stage #recStop .vl-rec-dot{width:12px;height:12px;border-radius:50%;background:var(--hot);
  box-shadow:0 0 8px var(--hot);animation:vlRecPulse 1s ease-in-out infinite;}

#vl-stage #grabTag{position:absolute;left:0;top:0;z-index:7;pointer-events:none;display:none;
  background:rgba(20,14,46,.92);border:1px solid var(--gold);color:var(--gold);
  border-radius:18px;padding:6px 14px;font-size:12px;font-weight:800;letter-spacing:1.5px;
  box-shadow:0 0 16px rgba(255,209,102,.45);white-space:nowrap;
  animation:vlTagBob 1.2s ease-in-out infinite;}
#vl-stage #grabTag::after{content:"";position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);
  border-left:6px solid transparent;border-right:6px solid transparent;
  border-top:6px solid var(--gold);}
@keyframes vlTagBob{0%,100%{margin-top:0;}50%{margin-top:-7px;}}

/* ---------- danger & flash ---------- */
#vl-stage #vignette{position:absolute;inset:0;pointer-events:none;z-index:4;opacity:0;
  box-shadow:inset 0 0 140px 50px rgba(255,40,70,.55);transition:opacity .1s;}
#vl-stage #flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none;z-index:8;transition:opacity .2s;}

/* ---------- overlays ----------
   16px inset so cards always have breathing room from the screen edges (#2 —
   the level-clear card used to sit flush top/bottom). */
#vl-stage .vl-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:7;
  background:rgba(5,2,16,.8);backdrop-filter:blur(6px);padding:16px;}
/* on-demand info sheets — must beat whichever game overlay is already open */
#vl-stage #howOverlay,#vl-stage #adjustOverlay{z-index:9;}
#vl-stage .vl-adjrow{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:8px;}

/* The kit auto-injects floating buttons (orientation top-left, leaderboard
   top-right, platform dock) when those features are enabled. Voltline provides
   ALL of them inside its own neon control cluster, so hide the kit's floats to
   avoid duplicates overlapping the HUD/splash (#5). */
#tz-orientation-btn,#tz-leaderboard-btn,#tz-platform-dock{display:none !important;}
#vl-stage .vl-card{background:var(--panel);border:1px solid var(--edge);border-radius:18px;
  padding:18px 24px;text-align:center;width:min(430px,94%);max-height:92%;overflow:auto;
  box-shadow:0 0 50px rgba(130,90,255,.3), inset 0 1px 0 rgba(255,255,255,.07);}
/* Logo text = per-letter SOLID colors + text-shadow glow. The original
   gradient background-clip:text clipped glyph bottoms on retina/2x raster
   (L read as I, E as F — the "spelling mistake" bug). Solid spans cannot clip. */
#vl-stage .vl-logo{font-size:30px;font-weight:900;letter-spacing:6px;font-style:italic;
  color:var(--cyan);}
#vl-stage .vl-logo span,#vl-stage #splashLogo span{text-shadow:0 0 16px currentColor;}
#vl-stage .vl-logo .bolt,#vl-stage #splashLogo .bolt{color:var(--gold);font-style:normal;
  text-shadow:0 0 12px var(--gold);}
#vl-stage .vl-tag{font-size:10px;color:var(--dim);letter-spacing:3px;text-transform:uppercase;margin:3px 0 10px;}
#vl-stage .vl-btn{pointer-events:auto;border:none;border-radius:12px;padding:12px 24px;font-size:14px;
  font-weight:800;cursor:pointer;letter-spacing:.5px;margin:3px;transition:transform .08s, filter .15s;
  min-height:44px;}
#vl-stage .vl-btn:active{transform:scale(.94);filter:brightness(1.2);}
#vl-stage .vl-btn-go{background:linear-gradient(135deg,#36f9b3,#1fd0c0);color:#04261a;
  box-shadow:0 0 18px rgba(54,249,179,.45);}
#vl-stage .vl-btn-ghost{background:rgba(255,255,255,.04);color:var(--dim);border:1px solid var(--edge);}
#vl-stage .vl-btn-share{background:rgba(255,209,102,.08);color:var(--gold);border:1px solid var(--gold);
  box-shadow:0 0 14px rgba(255,209,102,.25);}
#vl-stage .vl-btn-reward{background:rgba(65,232,255,.08);color:var(--cyan);border:1px solid var(--cyan);
  box-shadow:0 0 14px rgba(65,232,255,.25);}
/* win-card actions tile so all buttons fit a short landscape screen (#1) —
   wide ones full width, Replay/Levels share a row; card scrolls as a safety net */
#vl-stage .vl-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:8px;}
#vl-stage .vl-actions .vl-btn{margin:0;flex:1 1 46%;min-width:120px;}
#vl-stage .vl-actions .vl-wide{flex-basis:100%;}
/* 48 stages → the grid scrolls inside the card; header + footer stay put */
#vl-stage #lvlGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0 4px;
  max-height:min(48vh,320px);overflow-y:auto;overscroll-behavior:contain;padding:2px;}
#vl-stage.vl-short #lvlGrid{max-height:40vh;}
#vl-stage .vl-lvlBtn{pointer-events:auto;background:rgba(255,255,255,.05);border:1px solid var(--edge);
  border-radius:13px;padding:8px 2px 6px;cursor:pointer;color:var(--ink);
  transition:transform .08s, box-shadow .15s;min-height:62px;}
#vl-stage .vl-lvlBtn:not(.locked):hover{box-shadow:0 0 14px rgba(65,232,255,.35);}
#vl-stage .vl-lvlBtn:active{transform:scale(.94);}
#vl-stage .vl-lvlBtn .n{font-size:17px;font-weight:900;}
#vl-stage .vl-lvlBtn .nm{font-size:8px;letter-spacing:1px;color:var(--dim);text-transform:uppercase;margin-top:1px;}
#vl-stage .vl-lvlBtn .st{font-size:10px;margin-top:2px;color:var(--gold);letter-spacing:1px;min-height:13px;}
#vl-stage .vl-lvlBtn .bt{font-size:8px;color:var(--dim);}
#vl-stage .vl-lvlBtn.locked{opacity:.32;cursor:not-allowed;}
#vl-stage #footerLine{font-size:9px;color:var(--dim);margin-top:8px;letter-spacing:1px;opacity:.7;}
#vl-stage #totalScoreLine{font-size:12px;color:var(--dim);margin-top:6px;}
#vl-stage #totalScoreLine b{color:var(--go);font-size:15px;}
#vl-stage .vl-iconRow{display:flex;justify-content:center;gap:8px;margin-top:8px;}
#vl-stage .vl-iconBtn{pointer-events:auto;width:44px;height:44px;border-radius:50%;border:1px solid var(--edge);
  background:rgba(255,255,255,.05);color:var(--ink);font-size:18px;cursor:pointer;}
#vl-stage .vl-iconBtn.off{opacity:.35;}

#vl-stage .vl-stars{font-size:36px;letter-spacing:6px;margin:2px 0 0;min-height:46px;}
#vl-stage .vl-stars span{display:inline-block;opacity:.18;transform:scale(.5);}
#vl-stage .vl-stars span.on{animation:vlSPop .45s cubic-bezier(.2,1.6,.4,1) forwards;
  color:var(--gold);text-shadow:0 0 18px var(--gold);}
@keyframes vlSPop{to{opacity:1;transform:scale(1);}}
#vl-stage .vl-breakdown{font-size:12px;color:var(--dim);line-height:1.55;margin:6px 0 8px;}
#vl-stage .vl-breakdown b{color:var(--ink);}
#vl-stage #winTitle{font-size:21px;font-weight:900;letter-spacing:2px;color:var(--go);
  text-shadow:0 0 16px rgba(54,249,179,.6);}
#vl-stage #newBest{display:none;font-size:11px;color:var(--gold);letter-spacing:2px;font-weight:800;
  animation:vlHintPulse 1s ease-in-out infinite;}
@keyframes vlHintPulse{0%,100%{opacity:.5;}50%{opacity:1;}}
#vl-stage .vl-hidden{display:none !important;}

/* splash */
#vl-stage #splash{position:absolute;inset:0;z-index:20;background:#070313;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:10px;cursor:pointer;}
#vl-stage #studio{font-size:11px;letter-spacing:6px;color:var(--dim);text-transform:uppercase;
  animation:vlFadeUp 1s ease-out;}
#vl-stage #splashLogo{font-size:54px;font-weight:900;letter-spacing:10px;font-style:italic;
  color:var(--cyan);animation:vlFlicker 2.4s linear infinite;}
/* loading wire: the game's own mechanic as the loader — neon track, cyan→pink
   fill, the gold ring rides the fill tip with a spark pulse. */
#vl-stage #loadWire{position:relative;width:min(320px,64vw);height:6px;margin-top:22px;
  border-radius:3px;background:rgba(120,130,200,.18);
  box-shadow:0 0 12px rgba(65,232,255,.12) inset;overflow:visible;}
#vl-stage #loadFill{position:absolute;left:0;top:0;bottom:0;width:0%;border-radius:3px;
  background:linear-gradient(90deg,#41e8ff,#9a7dff,#ff2d95);
  box-shadow:0 0 14px rgba(65,232,255,.7),0 0 26px rgba(255,45,149,.35);
  transition:width .25s ease-out;}
#vl-stage #loadRing{position:absolute;left:0%;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;
  border:4px solid var(--gold);border-radius:50%;background:transparent;
  box-shadow:0 0 12px var(--gold),0 0 26px rgba(255,210,80,.55);
  transition:left .25s ease-out;animation:vlRingPulse .9s ease-in-out infinite;}
#vl-stage #loadMsg{font-size:11px;letter-spacing:4px;color:var(--ink);margin-top:14px;
  text-transform:uppercase;animation:vlHintPulse 1.6s ease-in-out infinite;min-height:14px;}
@keyframes vlRingPulse{0%,100%{transform:scale(1);}50%{transform:scale(1.22);}}
@keyframes vlFadeUp{from{opacity:0;transform:translateY(14px);}to{opacity:1;}}
@keyframes vlFlicker{0%,93%,95%,97%,100%{opacity:1;}94%,96%{opacity:.55;}}

/* Narrow / portrait stages are PLAYABLE — geometry-based classes set by JS
   in fit() (NOT touch-based: a narrow desktop window compacts too).
   .vl-compact = stage narrow (<560px) or taller than wide → small pills, HUD
   wraps, and padding (not a margin on one row) reserves the mute/pause corner
   so wrapped rows never slide under the buttons. .vl-tall = portrait web card.
   #progWrap/#vlToasts top offsets are set by layoutHud() from the REAL hud
   height — a fixed offset broke as soon as the pills wrapped. */
#vl-stage.vl-tall{aspect-ratio:4/5;max-height:72vh;}
html.tz-app-mode #vl-stage.vl-tall{aspect-ratio:unset;max-height:none;}
#vl-stage.vl-compact #hud{gap:6px;}
#vl-stage.vl-compact .seg{padding:3px 8px;}
#vl-stage.vl-compact .seg .l{font-size:7px;letter-spacing:1px;}
#vl-stage.vl-compact .seg .v{font-size:12px;}
#vl-stage.vl-compact .seg-lvl{max-width:96px;}
#vl-stage.vl-compact #ctrlBar{gap:5px;}
#vl-stage.vl-compact .vl-ic{width:37px;height:37px;font-size:15px;}
#vl-stage.vl-compact #progWrap{width:64%;}
#vl-stage.vl-compact #bannerMain{font-size:26px;letter-spacing:4px;}
#vl-stage.vl-compact #bigCount{font-size:60px;}

/* short stage (landscape phone) — JS sets .vl-short when SH()<470 (more
   reliable than a viewport media query inside the 16:9 web card). Compacts
   every card so the win-card buttons are never cut off (#1). */
#vl-stage.vl-short .vl-card{padding:10px 16px;max-height:96%;}
#vl-stage.vl-short #winTitle{font-size:16px;}
#vl-stage.vl-short .vl-logo{font-size:20px;}
#vl-stage.vl-short .vl-stars{font-size:22px;min-height:26px;margin:0;}
#vl-stage.vl-short #newBest{font-size:10px;}
#vl-stage.vl-short .vl-breakdown{font-size:10px;line-height:1.4;margin:3px 0 5px;}
#vl-stage.vl-short .vl-btn{padding:8px 14px;font-size:12px;min-height:34px;}
#vl-stage.vl-short .vl-actions{gap:4px;margin-top:5px;}
#vl-stage.vl-short #lvlGrid{grid-template-columns:repeat(6,1fr);gap:6px;}
#vl-stage.vl-short .vl-lvlBtn{min-height:54px;} #vl-stage.vl-short .vl-lvlBtn .nm{display:none;}

@media (max-height:430px){
  #vl-stage #bannerMain{font-size:32px;} #vl-stage #bigCount{font-size:64px;}
}
@media (prefers-reduced-motion: reduce){
  #vl-stage .vl-toast,#vl-stage #grabTag,#vl-stage .vl-stars span.on,#vl-stage #splashLogo,#vl-stage #rotate .ph{
    animation-duration:.01s !important;animation-iteration-count:1 !important;}
}

/* Web hints row under the title (web only — kit hides .tz-web-only in app) */
.vl-hint-row{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;color:var(--text-secondary,#9a93c8);
  margin:0 0 10px;}
.vl-hint-row .vl-dot{display:inline-block;width:9px;height:9px;border-radius:50%;
  background:#ffd166;box-shadow:0 0 8px #ffd166;margin-right:6px;vertical-align:middle;}

@media (max-width: 600px){
  #vl-stage{border-radius:10px;}
  .vl-hint-row{gap:10px;font-size:12px;}
}
