/* ════════════════════════════════════════════════════════════
   mootvey.dev — ARCADE
   coin gate → neon floor of CSS arcade cabinets
   (the sub-pages still use style.css; this file is homepage-only)
   ════════════════════════════════════════════════════════════ */

:root{
  --bg:        #07070d;
  --ink:       #eaf2ff;
  --muted:     #8e9bb3;
  --pink:      #ff2d78;
  --cyan:      #22e6ff;
  --gold:      #ffd23f;
  --green:     #3ef08c;
  --cab-body:  #15151f;
  --cab-edge:  #2c2c44;
  --px:  'Press Start 2P', 'Courier New', monospace;
  --vt:  'VT323', 'Courier New', monospace;
}

*{ box-sizing: border-box; }
html{ scrollbar-color: #333355 #0a0a12; }
body{
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--vt);
  background:
    /* faint 90s arcade-carpet confetti */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='none' stroke-width='3'%3E%3Cpath d='M20 30l16 10-16 10z' fill='%23ff2d78' opacity='.05'/%3E%3Ccircle cx='120' cy='40' r='7' stroke='%2322e6ff' opacity='.05'/%3E%3Cpath d='M180 90q14-16 28 0' stroke='%23ffd23f' opacity='.05'/%3E%3Cpath d='M50 140l12 20H38z' fill='%2322e6ff' opacity='.04'/%3E%3Ccircle cx='190 ' cy='180' r='5' fill='%23b78bff' opacity='.05'/%3E%3Cpath d='M100 190q12-14 24 0' stroke='%23ff2d78' opacity='.05'/%3E%3Crect x='140' y='130' width='12' height='12' stroke='%233ef08c' opacity='.04' transform='rotate(20 146 136)'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(ellipse 120% 70% at 50% -10%, #131322 0%, transparent 60%),
    var(--bg);
}

/* while locked, the floor is hidden behind the gate */
body.locked{ overflow: hidden; }
body.locked #arcade{ display: none; }

a{ color: inherit; }
kbd{
  font-family: var(--px); font-size: .8em;
  border: 1px solid #444; border-bottom-width: 3px; border-radius: 4px;
  padding: 2px 6px; background: #1a1a28;
}
code{
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px; padding: 1px 6px; font-family: var(--vt);
}

/* generic blink */
.blink{ animation: blink 1.1s steps(1) infinite; }
@keyframes blink{ 50%{ opacity: 0; } }

/* ════════════════ CRT OVERLAY ════════════════ */
.crt{
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 130% 100% at 50% 50%, transparent 60%, rgba(0,0,0,.42) 100%);
  mix-blend-mode: multiply;
}
.crt::after{ /* faint phosphor RGB stripe */
  content:""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg,
    rgba(255,0,80,.025) 0 1px, rgba(0,255,140,.02) 1px 2px, rgba(0,120,255,.025) 2px 3px);
}

/* ════════════════ COIN GATE ════════════════ */
#gate{
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: radial-gradient(ellipse 100% 80% at 50% 30%, #0c0c1c 0%, #05050a 70%);
  overflow: hidden;
  transform-origin: 50% 50%;
}
.gate-stars{ position: absolute; inset: 0; }
.star{
  position: absolute; width: 2px; height: 2px; border-radius: 1px;
  background: #cfe6ff; opacity: .7;
  animation: twinkle 2.4s ease-in-out infinite;
}
.star.big{ width: 3px; height: 3px; }
@keyframes twinkle{ 0%,100%{ opacity: .15 } 50%{ opacity: .9 } }

.gate-inner{
  position: relative; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(18px, 4vh, 36px);
  padding: 24px;
}

.neon-title{
  font-family: var(--px);
  font-size: clamp(22px, 6vw, 54px);
  letter-spacing: .04em;
  line-height: 1.25;
}
.nt-pink{
  color: #ffe9f2;
  text-shadow: 0 0 6px var(--pink), 0 0 18px var(--pink), 0 0 46px var(--pink), 0 0 90px rgba(255,45,120,.55);
}
.nt-cyan{
  color: #eafdff;
  text-shadow: 0 0 6px var(--cyan), 0 0 18px var(--cyan), 0 0 46px var(--cyan), 0 0 90px rgba(34,230,255,.55);
}
.flicker{ animation: flicker 5.5s linear infinite; }
@keyframes flicker{
  0%,7%,9%,13%,100%{ opacity: 1; }
  8%, 11.5%{ opacity: .25; }
  12%{ opacity: .6; }
  54%{ opacity: 1; } 54.5%{ opacity: .4; } 55%{ opacity: 1; }
}
.gate-sub{
  font-family: var(--px);
  font-size: clamp(10px, 2vw, 16px);
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255,210,63,.8);
  margin-top: 14px;
}

.insert-coin{
  font-family: var(--px);
  font-size: clamp(12px, 2.4vw, 20px);
  color: #fff;
  text-shadow: 0 0 12px rgba(255,255,255,.7);
}

/* slot + coin */
.coin-rig{
  display: flex; align-items: center; gap: clamp(28px, 7vw, 70px);
}
.coin-slot{ position: relative; }
.slot-plate{
  width: 96px; height: 128px;
  border-radius: 12px;
  background: linear-gradient(160deg, #3a3f4d 0%, #232733 45%, #1a1d27 100%);
  border: 2px solid #0a0b10;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -8px 14px rgba(0,0,0,.5),
    0 10px 26px rgba(0,0,0,.6);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.slot-slit{
  width: 10px; height: 56px; border-radius: 5px;
  background: #04040a;
  box-shadow: inset 0 0 6px #000, 0 0 0 3px #11141c, 0 0 14px rgba(255,210,63,.0);
  transition: box-shadow .25s;
}
.coin-slot.flash .slot-slit{
  box-shadow: inset 0 0 6px #000, 0 0 0 3px #11141c, 0 0 26px rgba(255,210,63,.95);
}
.slot-label{
  font-family: var(--px); font-size: 10px; color: #b9c2d4;
  text-shadow: 0 1px 0 #000;
}

.coin{
  appearance: none; border: 0; padding: 0; background: none; cursor: grab;
  touch-action: none;
  position: relative;
  animation: coin-bob 2.6s ease-in-out infinite;
  filter: drop-shadow(0 14px 14px rgba(0,0,0,.55)) drop-shadow(0 0 18px rgba(255,200,60,.25));
}
.coin:active{ cursor: grabbing; }
.coin:focus-visible{ outline: 3px dashed var(--gold); outline-offset: 8px; border-radius: 50%; }
.coin.dragging{ animation: none; z-index: 50; }
@keyframes coin-bob{ 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-10px) } }
.coin-rim{
  display: grid; place-items: center;
  width: clamp(76px, 12vw, 104px); aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #fff3c4 0%, #ffd76a 28%, #e3a82c 62%, #9c6d12 100%);
  box-shadow:
    inset 0 0 0 5px rgba(124,84,12,.55),
    inset 0 0 0 9px rgba(255,238,170,.5),
    inset 0 -8px 16px rgba(110,70,0,.45);
}
.coin-face{
  font-family: var(--px);
  font-size: clamp(26px, 4.5vw, 40px);
  color: #7c5408;
  text-shadow: 0 2px 0 rgba(255,244,190,.8);
  transform: translateY(2px);
}

.gate-hint{
  font-family: var(--vt); font-size: 19px; color: var(--muted); letter-spacing: .06em;
}
.gate-credit{
  font-family: var(--px); font-size: 14px; min-height: 20px;
  color: var(--green); text-shadow: 0 0 12px rgba(62,240,140,.8);
}

.gate-skip{
  position: absolute; right: 16px; bottom: 14px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--vt); font-size: 17px; color: #5a6478;
  text-decoration: underline dotted;
}
.gate-skip:hover{ color: var(--muted); }

/* CRT power-off — applied by JS when the coin drops */
#gate.off{
  animation: crt-off .45s cubic-bezier(.6,0,.9,1) forwards;
}
@keyframes crt-off{
  0%  { transform: scaleY(1);    filter: brightness(1); }
  60% { transform: scaleY(.006); filter: brightness(6); opacity: 1; }
  100%{ transform: scaleY(.006) scaleX(0); filter: brightness(8); opacity: 0; }
}

/* ════════════════ HUD ════════════════ */
.hud{
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px clamp(14px, 4vw, 40px) 14px;
  flex-wrap: wrap;
}
.hud-logo{ display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hl-main{
  font-family: var(--px); font-size: clamp(15px, 3vw, 24px);
  color: #ffe9f2;
  text-shadow: 0 0 6px var(--pink), 0 0 20px var(--pink), 0 0 44px rgba(255,45,120,.6);
}
.hl-tag{
  font-family: var(--px); font-size: clamp(9px, 1.6vw, 12px);
  color: #eafdff;
  text-shadow: 0 0 6px var(--cyan), 0 0 18px var(--cyan);
  border: 2px solid rgba(34,230,255,.5); border-radius: 6px;
  padding: 5px 8px 4px;
  box-shadow: 0 0 14px rgba(34,230,255,.25), inset 0 0 10px rgba(34,230,255,.12);
}
.hud-right{ display: flex; align-items: center; gap: 10px; }
.hud-credits{
  font-family: var(--px); font-size: 11px; color: var(--gold);
  text-shadow: 0 0 10px rgba(255,210,63,.7);
}
.hud-btn{
  font-family: var(--px); font-size: 10px;
  color: var(--ink); background: #1a1a2a;
  border: 2px solid #34344e; border-bottom-width: 4px; border-radius: 8px;
  padding: 8px 10px; cursor: pointer;
}
.hud-btn:hover{ background: #232338; }
.hud-btn:active{ transform: translateY(2px); border-bottom-width: 2px; }

/* ════════════════ LED TICKER ════════════════ */
.ticker{
  display: block; overflow: hidden; text-decoration: none;
  background: linear-gradient(180deg, #120606, #0b0303);
  border-top: 3px solid #000; border-bottom: 3px solid #000;
  box-shadow: inset 0 0 24px rgba(0,0,0,.9), inset 0 0 60px rgba(255,60,40,.06);
}
.ticker-track{
  display: inline-flex; white-space: nowrap;
  padding: 13px 0 11px;
  font-family: var(--px); font-size: 12px;
  color: #ffb52e;
  text-shadow: 0 0 7px rgba(255,150,40,.9), 0 0 22px rgba(255,110,30,.5);
  animation: tick 22s linear infinite;
}
.ticker:hover .ticker-track{ animation-play-state: paused; color: #ffd23f; }
@keyframes tick{ to{ transform: translateX(-50%); } }

/* ════════════════ FLOOR / ZONES ════════════════ */
.floor{
  max-width: 1120px; margin: 0 auto;
  padding: 10px clamp(14px, 4vw, 40px) 80px;
}
.zone{ margin-top: 46px; }
.neon-sign{
  margin: 0 0 26px;
  font-family: var(--px); font-weight: 400;
  font-size: clamp(13px, 2.6vw, 19px);
  letter-spacing: .12em;
  color: #fff;
  text-shadow: 0 0 6px var(--sign, var(--cyan)), 0 0 20px var(--sign, var(--cyan)), 0 0 44px var(--sign, var(--cyan));
  display: inline-block; width: 100%;
}
.neon-sign::after{
  content:""; display: block; height: 3px; margin-top: 12px; border-radius: 3px;
  background: linear-gradient(90deg, var(--sign, var(--cyan)), transparent 70%);
  box-shadow: 0 0 14px var(--sign, var(--cyan));
  opacity: .8;
}

.zone-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px 26px;
}

/* power-on reveal (JS adds .powered with stagger) */
body:not(.no-reveal) .zone, body:not(.no-reveal) .ticker, body:not(.no-reveal) .hud, body:not(.no-reveal) .exit{
  opacity: 0; transform: translateY(14px);
}
.powered{
  opacity: 1 !important; transform: none !important;
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1);
}

/* ════════════════ CABINET ════════════════ */
.cab{
  --glow: color-mix(in srgb, var(--acc) 60%, transparent);
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #1d1d2e 0%, var(--cab-body) 55%, #101018 100%);
  border: 3px solid #05050a;
  border-radius: 14px 14px 8px 8px;
  box-shadow:
    inset 0 0 0 2px var(--cab-edge),
    inset 0 2px 0 3px rgba(255,255,255,.05),
    0 18px 34px rgba(0,0,0,.6);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cab:hover{
  transform: translateY(-6px);
  box-shadow:
    inset 0 0 0 2px var(--cab-edge),
    inset 0 2px 0 3px rgba(255,255,255,.05),
    0 26px 44px rgba(0,0,0,.7),
    0 0 38px var(--glow);
}

.starburst{
  position: absolute; top: -16px; right: -12px; z-index: 5;
  width: 64px; height: 64px;
  display: grid; place-items: center; text-align: center;
  font-family: var(--px); font-size: 10px; line-height: 1.4; color: #3a2800;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 12%, 76% 6%, 79% 22%, 95% 24%, 89% 39%, 100% 50%, 89% 61%, 95% 76%, 79% 78%, 76% 94%, 61% 88%, 50% 100%, 39% 88%, 24% 94%, 21% 78%, 5% 76%, 11% 61%, 0% 50%, 11% 39%, 5% 24%, 21% 22%, 24% 6%, 39% 12%);
  filter: drop-shadow(0 0 10px rgba(255,210,63,.7));
  animation: burst-wobble 2.4s ease-in-out infinite;
}
@keyframes burst-wobble{ 0%,100%{ transform: rotate(-8deg) } 50%{ transform: rotate(6deg) scale(1.06) } }

.cab-marquee{
  padding: 12px 12px 10px;
  text-align: center;
  border-bottom: 3px solid #05050a;
  border-radius: 11px 11px 0 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--acc) 26%, #0c0c16) 0%, #0c0c16 100%);
  box-shadow: inset 0 0 26px color-mix(in srgb, var(--acc) 22%, transparent);
}
.cab-title{
  display: block;
  font-family: var(--px); font-size: 11px; line-height: 1.6; letter-spacing: .06em;
  color: color-mix(in srgb, var(--acc) 75%, #ffffff);
  text-shadow: 0 0 8px var(--acc), 0 0 24px var(--glow);
}
.cab-desc{
  display: block; margin-top: 5px;
  font-family: var(--vt); font-size: 16px; line-height: 1.2;
  color: rgba(234,242,255,.55);
}

.cab-bezel{
  margin: 12px 12px 8px;
  background: #03030a;
  border-radius: 10px;
  padding: 9px;
  box-shadow: inset 0 0 0 2px #1c1c2c, inset 0 6px 18px rgba(0,0,0,.9);
}
.cab-screen{
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 100% at 50% 40%, #0a1410 0%, #040806 70%);
  cursor: pointer;
  user-select: none; -webkit-user-select: none;
}
.cab-screen::after{ /* in-screen scanlines + glass glare */
  content:""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255,255,255,.07) 0%, transparent 28%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px);
  border-radius: 7px;
}
.cab-screen > *{ position: relative; }

.cab-panel{
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 2px 12px 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, #262640 0%, #17172a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), inset 0 -4px 10px rgba(0,0,0,.5);
}
.cab-controls{ display: flex; align-items: center; gap: 12px; }
.joystick{
  position: relative; width: 16px; height: 30px; display: inline-block;
}
.joystick::before{ /* stick */
  content:""; position: absolute; left: 6px; top: 6px; width: 4px; height: 20px;
  background: linear-gradient(180deg, #555, #222); border-radius: 2px;
}
.joystick::after{ /* ball */
  content:""; position: absolute; left: 0; top: -4px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff7d9d, #d40f4d 70%);
  box-shadow: 0 2px 4px rgba(0,0,0,.6);
  animation: stick-waggle 3.4s ease-in-out infinite;
}
@keyframes stick-waggle{
  0%,100%{ transform: translateX(0) } 18%{ transform: translateX(-3px) }
  40%{ transform: translateX(2px) } 65%{ transform: translateX(-1px) }
}
.btn-dot{
  width: 16px; height: 16px; border-radius: 50%; display: inline-block;
  box-shadow: inset 0 -3px 5px rgba(0,0,0,.5), 0 2px 3px rgba(0,0,0,.6), inset 0 2px 3px rgba(255,255,255,.35);
}
.btn-dot.red{ background: #e8294f; }
.btn-dot.white{ background: #dfe6f2; }

.start-btn{
  font-family: var(--px); font-size: 10px; letter-spacing: .04em;
  text-decoration: none; text-align: center;
  color: #0a0a12;
  background: var(--acc);
  border-radius: 7px;
  padding: 11px 12px 10px;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--acc) 40%, #000), 0 0 18px var(--glow);
  animation: start-pulse 1.6s ease-in-out infinite;
  white-space: nowrap;
}
.start-btn:hover{ filter: brightness(1.15); animation-play-state: paused; }
.start-btn:active{ transform: translateY(3px); box-shadow: 0 1px 0 color-mix(in srgb, var(--acc) 40%, #000); }
@keyframes start-pulse{ 0%,100%{ filter: brightness(.92) } 50%{ filter: brightness(1.12) } }

.cab-coindoor{
  display: flex; align-items: center; gap: 10px;
  margin: 0 12px 12px;
  padding: 8px 12px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, #101018, #0a0a12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.coin-return{
  width: 18px; height: 12px; border-radius: 3px;
  background: #04040a;
  box-shadow: inset 0 0 4px #000, 0 0 0 2px #1e1e30;
}
.cab-path{
  font-family: var(--vt); font-size: 15px; color: #6c7890; letter-spacing: .04em;
}

/* ════════════════ MINI-GAMES ════════════════ */

/* — poker — */
.pk{ height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 10px; }
.pk-cards{ display: flex; gap: 12px; perspective: 400px; }
.pk-card{
  width: 52px; height: 72px; border-radius: 6px;
  display: grid; place-items: center;
  font-family: var(--vt); font-size: 26px; line-height: 1;
  background: #f4f6ff; color: #1b2030;
  box-shadow: 0 4px 10px rgba(0,0,0,.5);
  transition: transform .35s;
}
.pk-card.back{
  background: repeating-linear-gradient(45deg, #5a1430 0 6px, #7a1c42 6px 12px);
  color: transparent;
  box-shadow: inset 0 0 0 3px #f4f6ff, 0 4px 10px rgba(0,0,0,.5);
}
.pk-card.red{ color: #d4204c; }
.pk-card.flipin{ animation: pk-flip .35s ease; }
@keyframes pk-flip{ from{ transform: rotateY(90deg) } to{ transform: rotateY(0) } }
.pk-msg{
  font-family: var(--px); font-size: 9px; color: var(--gold);
  text-shadow: 0 0 8px rgba(255,210,63,.7); text-align: center; line-height: 1.6;
}
.pk-chips{ font-family: var(--vt); font-size: 17px; color: #9ee8ff; }

/* — microwave — */
.mw{ height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 12px; }
.mw-box{
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px;
  background: linear-gradient(180deg, #3a3f4b, #262a33);
  border: 2px solid #0a0b10; border-radius: 8px; padding: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}
.mw-window{
  display: grid; place-items: center;
  background: #0d0f0a; border-radius: 5px; border: 2px solid #14161c;
  min-height: 64px;
  box-shadow: inset 0 0 14px #000;
  transition: box-shadow .3s, background .3s;
}
.mw.cooking .mw-window{
  background: #1d1606;
  box-shadow: inset 0 0 22px rgba(255,176,0,.5);
}
.mw-food{ font-size: 30px; display: inline-block; }
.mw.cooking .mw-food{ animation: mw-spin 2s linear infinite; }
@keyframes mw-spin{ to{ transform: rotate(360deg) } }
.mw-side{ display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.mw-display{
  font-family: var(--vt); font-size: 24px; text-align: center;
  background: #051207; color: #5cff86; border-radius: 4px; padding: 2px 4px 0;
  border: 2px solid #10131c;
  text-shadow: 0 0 8px rgba(92,255,134,.8);
}
.mw-btn{
  font-family: var(--px); font-size: 9px; padding: 8px 6px;
  background: #e8294f; color: #fff; border: 0; border-radius: 5px;
  box-shadow: 0 3px 0 #7c1029; cursor: pointer;
}
.mw-btn:active{ transform: translateY(2px); box-shadow: 0 1px 0 #7c1029; }
.mw-msg{ font-family: var(--vt); font-size: 17px; text-align: center; color: var(--muted); }

/* — cancel subscription — */
.cs{ height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; padding: 12px; text-align: center; }
.cs-plan{
  font-family: var(--vt); font-size: 20px; color: #b7ffd9;
  border: 1px dashed rgba(62,240,140,.5); border-radius: 6px; padding: 5px 12px 3px;
}
.cs-msg{ font-family: var(--px); font-size: 8px; line-height: 1.7; color: var(--ink); min-height: 28px; max-width: 95%; }
.cs-btn{
  font-family: var(--px); font-size: 9px; padding: 10px 16px;
  background: #ff3b5c; color: #fff; border: 0; border-radius: 6px;
  box-shadow: 0 4px 0 #8a1228; cursor: pointer;
  transition: transform .12s;
}
.cs-btn:active{ transform: translateY(3px); box-shadow: 0 1px 0 #8a1228; }
.cs-btn.done{ background: #2fcf76; box-shadow: 0 4px 0 #0e6b38; }
.cs-confetti{
  position: absolute; width: 6px; height: 6px; top: 40%; left: 50%;
  pointer-events: none;
}

/* — reverse captcha — */
.cap{ height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 12px; position: static !important; }
.cap-box{
  display: flex; align-items: center; gap: 10px;
  font-family: var(--px); font-size: 9px; color: #1d2535;
  background: #f1f4fa; border: 0; border-radius: 6px; padding: 12px 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.45);
  cursor: pointer;
}
.cap-check{
  width: 18px; height: 18px; border-radius: 4px; flex: none;
  border: 2px solid #8a94a8; background: #fff;
  display: grid; place-items: center;
  font-size: 14px; line-height: 1;
}
.cap-box.ok .cap-check{ border-color: #1da556; background: #e2ffe9; }
.cap-box.ok .cap-check::after{ content: "✓"; color: #14903f; font-weight: bold; }
.cap-box.no .cap-check{ border-color: #d42045; background: #ffe6ea; }
.cap-box.no .cap-check::after{ content: "✕"; color: #d42045; font-weight: bold; }
.cap-box.shake{ animation: cap-shake .4s; }
@keyframes cap-shake{ 0%,100%{transform:translateX(0)} 20%{transform:translateX(-6px)} 40%{transform:translateX(5px)} 60%{transform:translateX(-4px)} 80%{transform:translateX(3px)} }
.cap-msg{
  font-family: var(--vt); font-size: 17px; color: var(--muted); text-align: center; min-height: 20px;
}
.cap-msg.good{ color: var(--green); text-shadow: 0 0 8px rgba(62,240,140,.6); }
.cap-msg.bad{ color: #ff5d7b; text-shadow: 0 0 8px rgba(255,93,123,.6); }
.cap-cursor{
  position: absolute; font-size: 22px; left: 105%; top: 18%;
  transition: left 1.1s cubic-bezier(.3,.7,.3,1), top 1.1s cubic-bezier(.3,.7,.3,1);
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(34,230,255,.6));
}

/* — rocket — */
.rk{ height: 100%; display: flex; flex-direction: column; }
.rk-canvas{
  flex: 1; width: 100%; height: 100%; display: block;
  image-rendering: pixelated;
}
.rk-hud{
  position: absolute; inset: auto 0 0 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 9px;
  font-family: var(--px); font-size: 8px;
  color: #d9c8ff; text-shadow: 0 0 6px rgba(183,139,255,.8);
  background: linear-gradient(0deg, rgba(0,0,0,.55), transparent);
  pointer-events: none;
}
.rk-hint{ color: rgba(217,200,255,.55); }

/* — awful mic — */
.am{ height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px; }
.am-bars{
  display: flex; align-items: flex-end; gap: 3px;
  height: 56px; width: 80%;
}
.am-bars i{
  flex: 1; min-width: 3px; height: 12%;
  background: #ff8a5e; border-radius: 2px 2px 0 0;
  box-shadow: 0 0 6px rgba(255,94,58,.5);
  transition: height .09s linear;
  animation: am-idle 1.6s ease-in-out infinite;
}
.am-bars i:nth-child(2n){ animation-delay: .2s } .am-bars i:nth-child(3n){ animation-delay: .45s }
.am-bars i:nth-child(4n){ animation-delay: .7s } .am-bars i:nth-child(5n){ animation-delay: .95s }
@keyframes am-idle{ 0%,100%{ height: 8% } 50%{ height: 22% } }
.am.held .am-bars i{ animation: none; }
.am-bars i.clip{ background: #ff2038; box-shadow: 0 0 10px rgba(255,32,56,.9); }
.am-status{ font-family: var(--px); font-size: 9px; color: var(--muted); min-height: 12px; }
.am-status.peak{ color: #ff2038; text-shadow: 0 0 10px rgba(255,32,56,.8); animation: blink .35s steps(1) infinite; }
.am-talk{
  font-family: var(--px); font-size: 9px; padding: 10px 14px;
  background: #2a2a40; color: var(--ink);
  border: 2px solid #44446a; border-bottom-width: 5px; border-radius: 7px; cursor: pointer;
  user-select: none; -webkit-user-select: none; touch-action: none;
}
.am-talk:active{ transform: translateY(3px); border-bottom-width: 2px; }

/* — aeronaut — */
[data-game="aeronaut"]{
  background: linear-gradient(180deg, #0b1f3f 0%, #16365e 55%, #1d4a74 100%);
}
.ae{ height: 100%; }
.ae-cloud{
  position: absolute; height: 12px; width: 44px; border-radius: 10px;
  background: rgba(220,236,255,.22);
  box-shadow: 14px -7px 0 -2px rgba(220,236,255,.18), -12px -5px 0 -3px rgba(220,236,255,.15);
  animation: cloud-drift linear infinite;
}
.ae-cloud.c1{ top: 22%; animation-duration: 13s; }
.ae-cloud.c2{ top: 48%; animation-duration: 19s; animation-delay: -8s; transform: scale(.8); }
.ae-cloud.c3{ top: 70%; animation-duration: 16s; animation-delay: -4s; transform: scale(1.2); }
@keyframes cloud-drift{ from{ left: 105% } to{ left: -30% } }
.ae-ship{
  position: absolute; left: 50%; bottom: 8%;
  font-size: 34px; line-height: 1;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.45));
}
.ae-flame{
  position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%) scaleY(.9);
  font-size: 14px; opacity: 0; transition: opacity .15s;
}
.ae.burning .ae-flame{ opacity: 1; animation: flame-jitter .18s steps(2) infinite; }
@keyframes flame-jitter{ 50%{ transform: translateX(-50%) scaleY(1.25) } }
.ae-alt{
  position: absolute; top: 8px; left: 10px;
  font-family: var(--px); font-size: 9px; color: #cfe9ff;
  text-shadow: 0 0 8px rgba(127,212,255,.8);
}
.ae-hint{
  position: absolute; bottom: 7px; left: 0; right: 0; text-align: center;
  font-family: var(--vt); font-size: 15px; color: rgba(223,240,255,.55);
}

/* — under construction — */
.uc{ height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; padding: 14px; }
.uc-top{ display: flex; align-items: center; gap: 10px; }
.uc-light{
  width: 14px; height: 14px; border-radius: 50%;
  background: #ffb000;
  box-shadow: 0 0 12px rgba(255,176,0,.9);
  animation: blink .8s steps(1) infinite;
}
.uc-pct{ font-family: var(--px); font-size: 9px; color: var(--gold); text-shadow: 0 0 8px rgba(255,210,63,.6); }
.uc-bar{
  width: 84%; height: 16px; border-radius: 8px;
  background: #0a0a12; border: 2px solid #2c2c44; overflow: hidden;
}
.uc-bar i{
  display: block; height: 100%;
  background: repeating-linear-gradient(45deg, #ffd23f 0 10px, #c79b0a 10px 20px);
  transition: width .25s;
}
.uc-btn{
  font-family: var(--px); font-size: 9px; padding: 10px 14px;
  background: #ffd23f; color: #3a2800; border: 0; border-radius: 7px;
  box-shadow: 0 4px 0 #8d6e0a; cursor: pointer;
  transition: transform .1s;
}
.uc-btn:active{ transform: translateY(3px) rotate(-6deg); box-shadow: 0 1px 0 #8d6e0a; }
.uc-stripes{
  position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: repeating-linear-gradient(-45deg, #ffd23f 0 12px, #14141f 12px 24px);
  opacity: .8;
}

/* ════════════════ HIGH SCORES ════════════════ */
.hiscore{
  max-width: 760px;
  border: 3px solid #05050a; border-radius: 12px;
  background: linear-gradient(180deg, #14101f, #0d0a16);
  box-shadow: inset 0 0 0 2px #2c2440, inset 0 0 50px rgba(255,210,63,.05), 0 14px 30px rgba(0,0,0,.5);
  padding: 10px 14px;
}
.hs-row{
  display: grid; grid-template-columns: 70px 1fr 1.4fr; gap: 12px; align-items: center;
  padding: 13px 10px;
  text-decoration: none;
  font-family: var(--px); font-size: clamp(9px, 1.8vw, 11px); line-height: 1.7;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hs-row:last-child{ border-bottom: 0; }
.hs-head{ color: #76819b; font-size: 9px; padding-bottom: 8px; }
a.hs-row{ transition: background .15s, transform .15s; border-radius: 8px; }
a.hs-row:hover{ background: rgba(255,210,63,.08); transform: translateX(4px); }
.hs-rank{ color: var(--gold); text-shadow: 0 0 8px rgba(255,210,63,.6); }
.hs-row:nth-child(3) .hs-rank{ color: #cdd6e6; text-shadow: 0 0 8px rgba(205,214,230,.5); } /* silver */
.hs-name{ color: var(--ink); }
.hs-where{ color: var(--muted); font-family: var(--vt); font-size: 17px; word-break: break-all; }
.hs-you{ opacity: .65; }
.hs-caret{ color: var(--green); }

/* ════════════════ FOOTER / EXIT ════════════════ */
.exit{
  margin-top: 64px; padding-top: 26px; text-align: center;
  border-top: 1px solid rgba(255,255,255,.08);
}
.exit-sign{
  display: inline-block;
  font-family: var(--px); font-size: 13px;
  color: #aef7c8;
  text-shadow: 0 0 8px var(--green), 0 0 24px rgba(62,240,140,.7);
  border: 2px solid rgba(62,240,140,.5); border-radius: 8px;
  padding: 9px 14px 8px;
  box-shadow: 0 0 18px rgba(62,240,140,.25), inset 0 0 12px rgba(62,240,140,.12);
}
.exit-line{ margin: 18px 0 6px; font-family: var(--vt); font-size: 18px; color: var(--muted); letter-spacing: .05em; }
.exit-svc{ margin: 0; font-family: var(--vt); font-size: 16px; color: #5a6478; }

/* ════════════════ RESPONSIVE / MOTION ════════════════ */
@media (max-width: 560px){
  .zone-grid{ grid-template-columns: 1fr; }
  .hs-row{ grid-template-columns: 52px 1fr; }
  .hs-where{ grid-column: 2; }
  .hs-head span:last-child{ display: none; }
  .ticker-track{ font-size: 10px; }
  .coin-rig{ flex-direction: column; gap: 22px; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .ticker-track{ transform: none; padding-left: 14px; }
}
