/* ===========================================================================
   Where Is Enoch? — Vice-dusk  (v2.6.0)  seed 346ab9af

   One low sun over deep indigo night. Everything on this page is lit by the
   horizon at the top of the document: warm rim light on upper edges, cool
   shadow beneath.
   =========================================================================== */

:root {
  /* Ground — night, deepening downward */
  --night-deep: #0b0618;
  --night:      #140a33;
  --night-2:    #1d1145;
  --night-3:    #2a1a5e;

  /* The sun, low on the horizon */
  --violet:     #6a2cff;
  --magenta:    #ff2d95;
  --orange:     #ff5e3a;
  --gold:       #ffb347;

  /* Counter-light off the sea */
  --aqua:       #2de2e6;

  /* Text — tinted from the ground's hue, never gray */
  --paper:      #fdf7ff;
  --paper-2:    #d9c8f5;
  --paper-3:    #a893d4;

  --line:       rgba(217, 200, 245, .16);
  --line-warm:  rgba(255, 179, 71, .28);

  /* Chrome. Hard break at 50%, warm underside catching the sun. */
  --chrome: linear-gradient(
    177deg,
    #ffffff 0%, #e8effb 16%, #9aabc6 42%, #6d7f9c 49.6%,
    #ffffff 50.4%, #ffe9c2 62%, #d9a15f 82%, #fff6e6 100%
  );

  --shell:  1280px;
  --r:      14px;
  --r-lg:   22px;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Lift: a real offset and a soft blur, never a zero-offset halo */
  --lift:    0 10px 30px -12px rgba(6, 2, 20, .85);
  --lift-lg: 0 26px 70px -28px rgba(6, 2, 20, .95);
  /* Warm rim light on the upper edge of every lit object */
  --rim: inset 0 1px 0 rgba(255, 214, 160, .30);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  accent-color: var(--magenta);
  color-scheme: dark;
  scrollbar-color: var(--night-3) var(--night-deep);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--font);
  font-variation-settings: "wdth" 100;
  font-weight: 450;
  font-size: clamp(.95rem, .9rem + .3vw, 1.03rem);
  line-height: 1.6;
  color: var(--paper);
  background: var(--night-deep);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

::selection { background: var(--magenta); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--night-deep); }
::-webkit-scrollbar-thumb {
  background: var(--night-3);
  border-radius: 99px;
  border: 2px solid var(--night-deep);
}
::-webkit-scrollbar-thumb:hover { background: var(--violet); }

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 4px;
}

a { color: var(--gold); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--paper); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1.05em; height: 1.05em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell {
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto;
  padding-inline: max(clamp(1rem, 3.5vw, 2.5rem), env(safe-area-inset-left)) max(clamp(1rem, 3.5vw, 2.5rem), env(safe-area-inset-right));
}

.skip-link {
  position: fixed;
  left: -9999px; top: 0;
  z-index: 3000;
  background: var(--magenta);
  color: #fff;
  font-weight: 700;
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; }

/* ============================ THE LIGHT SOURCE ============================ */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(112% 62% at 50% -14%, rgba(255, 179, 71, .95) 0%, rgba(255, 179, 71, 0) 58%),
    radial-gradient(128% 74% at 50% -8%,  rgba(255, 45, 149, .78) 0%, rgba(255, 45, 149, 0) 62%),
    radial-gradient(150% 96% at 50% 2%,   rgba(106, 44, 255, .55) 0%, rgba(106, 44, 255, 0) 68%),
    linear-gradient(180deg, var(--night) 0%, var(--night-deep) 62%);
}

.sky-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: .85;
}

/* ============================== HERO SECTION ============================== */
.hero {
  position: relative;
  z-index: 2;
  padding-top: max(clamp(1.5rem, 4vw, 3rem), env(safe-area-inset-top));
  padding-bottom: clamp(1.2rem, 3vw, 2.2rem);
}

.hero__inner {
  display: grid;
  gap: 1.4rem;
}

.marquee {
  position: relative;
  max-width: 48rem;
  width: 100%;
}

.wordmark {
  margin: 0;
  display: grid;
  gap: .1em;
  line-height: .82;
  text-wrap: balance;
  max-width: 100%;
}

.wordmark__where {
  font-size: clamp(.85rem, .75rem + 1vw, 1.5rem);
  font-variation-settings: "wdth" 118;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: .28em;
  max-width: 100%;
}

.wordmark__name {
  font-size: clamp(2.6rem, 1.8rem + 9vw, 7.5rem);
  font-variation-settings: "wdth" 112;
  font-weight: 900;
  letter-spacing: -.045em;
  text-transform: uppercase;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgba(11, 6, 24, .5)) drop-shadow(0 14px 26px rgba(11, 6, 24, .7));
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}
@supports not (background-clip: text) {
  .wordmark__name { color: #f4f7ff; background: none; }
}
.wordmark__q { color: transparent; }

.locator {
  margin-top: clamp(.8rem, 2vw, 1.4rem);
  max-width: 36rem;
  width: 100%;
  background: linear-gradient(180deg, rgba(42, 26, 94, .86), rgba(11, 6, 24, .9));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--lift-lg), var(--rim);
  padding: clamp(.85rem, 2vw, 1.2rem) clamp(1rem, 2.2vw, 1.4rem);
  word-break: break-word;
  overflow-wrap: anywhere;
  backdrop-filter: blur(8px);
}

.locator__eyeline {
  margin: 0 0 .45rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--paper-3);
  max-width: 100%;
}

.locator__pip {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(45, 226, 230, .18);
  animation: pip 2.8s ease-in-out infinite;
  flex: none;
}
@keyframes pip {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(45, 226, 230, .18); }
  50%      { opacity: .55; box-shadow: 0 0 0 7px rgba(45, 226, 230, .05); }
}

.locator__pip--live {
  background: var(--magenta);
  box-shadow: 0 0 0 4px rgba(255, 45, 149, .25);
  animation: pipLive 1.4s ease-in-out infinite;
}
@keyframes pipLive {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(255, 45, 149, .4); }
  50%      { opacity: .55; box-shadow: 0 0 0 8px rgba(255, 45, 149, .08); }
}

.locator__head {
  margin: 0;
  font-size: clamp(1rem, .92rem + .4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -.015em;
  text-wrap: pretty;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.ticket {
  margin: .7rem 0 0;
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  max-width: 100%;
}

.ticket__outlet {
  position: relative;
  padding: .18rem .6rem;
  color: var(--night-deep);
  background: var(--gold);
  border-radius: 3px;
  -webkit-mask: radial-gradient(circle at left, transparent 3px, #000 3.5px),
                radial-gradient(circle at right, transparent 3px, #000 3.5px);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle at left, transparent 3px, #000 3.5px),
        radial-gradient(circle at right, transparent 3px, #000 3.5px);
  mask-composite: intersect;
}

.ticket__when { color: var(--paper-3); letter-spacing: .1em; }

.ticket__link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: var(--aqua);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 226, 230, .35);
}
.ticket__link:hover { color: var(--paper); border-bottom-color: var(--paper); }

/* ========================= SCROLLING QUOTE TICKER ========================= */
.quote-ticker {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: linear-gradient(90deg, rgba(29, 17, 69, .95) 0%, rgba(11, 6, 24, .95) 100%);
  border: 1px solid var(--line-warm);
  border-radius: 99px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .6), 0 0 20px rgba(255, 45, 149, .15), var(--rim);
  padding: .32rem .5rem;
  margin-top: .4rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.quote-ticker__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--night-deep);
  background: linear-gradient(90deg, var(--gold) 0%, var(--orange) 100%);
  padding: .28rem .75rem;
  border-radius: 99px;
  flex: none;
  z-index: 2;
  box-shadow: 0 0 14px rgba(255, 179, 71, .4);
}

.quote-ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  animation: pipLive 1.2s infinite;
}

.quote-ticker__viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.quote-ticker__track {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  white-space: nowrap;
  width: max-content;
  animation: tickerSlide 48s linear infinite;
}
.quote-ticker:hover .quote-ticker__track {
  animation-play-state: paused;
}
@keyframes tickerSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.quote-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  font-size: .84rem;
  font-weight: 700;
  color: var(--paper);
}

.quote-ticker__quote {
  color: var(--paper-2);
  transition: color .2s ease;
}
.quote-ticker:hover .quote-ticker__quote {
  color: var(--gold);
}

.quote-ticker__sep {
  color: var(--magenta);
  font-size: .95rem;
}

/* ============================ 3D HUNT LAUNCH CARD ============================ */
.hunt-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1.4rem, 3.5vw, 2.5rem);
  background: linear-gradient(135deg, rgba(42, 26, 94, .88) 0%, rgba(20, 10, 48, .94) 55%, rgba(11, 6, 24, .98) 100%);
  border: 2px solid rgba(255, 179, 71, .35);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, .85), 0 0 35px rgba(255, 45, 149, .15), var(--rim);
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  margin-top: .6rem;
  overflow: visible;
  backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .24s ease, border-color .24s ease;
}
.hunt-card:hover {
  border-color: rgba(255, 179, 71, .65);
  box-shadow: 0 32px 80px -12px rgba(0, 0, 0, .95), 0 0 45px rgba(255, 45, 149, .3), var(--rim);
}
.hunt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle 360px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, .12) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .3s ease;
}
.hunt-card--active-tilt::after { opacity: 1; }

.hunt-card__character {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 160px;
  cursor: pointer;
  transform-style: preserve-3d;
  user-select: none;
}

/* 3D Hologram Radar Stage */
.holo-stage {
  position: absolute;
  bottom: -4px;
  width: 160px;
  height: 90px;
  transform: rotateX(68deg) translateZ(-6px);
  transform-style: preserve-3d;
  pointer-events: none;
}

.holo-grid {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(45, 226, 230, .14) 0%, transparent 70%),
    repeating-radial-gradient(circle, rgba(45, 226, 230, .2) 0 2px, transparent 2px 18px);
  box-shadow: 0 0 25px rgba(45, 226, 230, .3);
}

.holo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(45, 226, 230, .45);
  animation: holoSpin 16s linear infinite;
}
.holo-ring--2 {
  inset: 12px;
  border-style: dotted;
  border-color: rgba(255, 45, 149, .4);
  animation: holoSpinRev 12s linear infinite;
}
.holo-ring--3 {
  inset: 26px;
  border-style: solid;
  border-width: 1px;
  border-color: rgba(255, 179, 71, .4);
}
@keyframes holoSpin { 0% { transform: rotateZ(0deg); } 100% { transform: rotateZ(360deg); } }
@keyframes holoSpinRev { 0% { transform: rotateZ(360deg); } 100% { transform: rotateZ(0deg); } }

.holo-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(45, 226, 230, .55) 0deg, rgba(255, 45, 149, 0) 70deg, transparent 72deg);
  animation: holoSpin 3.2s linear infinite;
}

.holo-ping {
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 16px var(--gold);
  animation: holoPing 2.4s ease-in-out infinite;
}
@keyframes holoPing {
  0%, 100% { transform: translate(-50%, -50%) scale(.8); opacity: .7; }
  50%      { transform: translate(-50%, -50%) scale(1.4); opacity: 1; box-shadow: 0 0 24px var(--magenta); }
}

.hero-speech {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: .8rem;
  z-index: 10;
  transform: translateZ(50px);
  animation: heroSpeechPop 3s ease-in-out infinite alternate;
}
@keyframes heroSpeechPop {
  0%   { transform: translateZ(50px) translateY(0) scale(1); }
  100% { transform: translateZ(50px) translateY(-5px) scale(1.04) rotate(-1.2deg); }
}

.speech-wiggle {
  animation: speechWiggle .5s cubic-bezier(.16, 1, .3, 1) !important;
}
@keyframes speechWiggle {
  0%, 100% { transform: translateZ(50px) scale(1); }
  25%      { transform: translateZ(60px) scale(1.15) rotate(4deg); }
  75%      { transform: translateZ(60px) scale(1.1) rotate(-4deg); }
}

.hero-speech__bubble {
  background: #ffffff;
  color: #0b0618;
  border: 2px solid #ff2d95;
  border-radius: 14px;
  padding: .4rem .75rem;
  font-family: var(--font);
  font-size: .74rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(11, 6, 24, .7), 0 0 16px rgba(255, 45, 149, .5);
}

.hero-speech__tail {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #ff2d95;
  margin-top: -1px;
}

.hero-enoch {
  position: relative;
  display: inline-block;
  z-index: 5;
  transform: translateZ(35px);
  animation: heroBob 3.6s ease-in-out infinite alternate;
  transition: transform .2s ease;
}
.hunt-card__character:hover .hero-enoch {
  transform: translateZ(45px) scale(1.05);
}
@keyframes heroBob {
  0%   { transform: translateZ(35px) translateY(0); }
  100% { transform: translateZ(35px) translateY(-8px); }
}
.hero-jump {
  animation: heroJump .65s cubic-bezier(.16, 1, .3, 1) !important;
}
@keyframes heroJump {
  0%   { transform: translateZ(35px) translateY(0) scale(1) rotate(0deg); }
  35%  { transform: translateZ(80px) translateY(-34px) scale(1.18) rotate(-4deg); }
  65%  { transform: translateZ(55px) translateY(-14px) scale(1.08) rotate(3deg); }
  100% { transform: translateZ(35px) translateY(0) scale(1) rotate(0deg); }
}
.hero-enoch__svg {
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .95)) drop-shadow(0 10px 22px rgba(11, 6, 24, .85));
}

.hunt-card__content {
  display: grid;
  gap: .75rem;
  transform: translateZ(25px);
}

.hunt-card__tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 179, 71, .14);
  border: 1px solid rgba(255, 179, 71, .35);
  border-radius: 99px;
  padding: .28rem .85rem;
  width: fit-content;
  box-shadow: 0 0 12px rgba(255, 179, 71, .2);
}

.hunt-card__pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pipLive 1.4s infinite;
}

.hunt-card__heading {
  margin: 0;
  font-size: clamp(1.3rem, 1.05rem + 1.25vw, 1.95rem);
  font-weight: 900;
  color: var(--paper);
  line-height: 1.18;
  letter-spacing: -.02em;
}

.hunt-card__desc {
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--paper-2);
  max-width: 56ch;
}
.hunt-card__desc strong { color: var(--gold); }

.hunt-card__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: .4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .75rem 1.35rem;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(42, 26, 94, .92), rgba(11, 6, 24, .92));
  color: var(--paper);
  box-shadow: var(--lift), var(--rim);
  cursor: pointer;
  text-decoration: none;
  transition: transform .22s cubic-bezier(.16, 1, .3, 1),
              box-shadow .22s cubic-bezier(.16, 1, .3, 1),
              border-color .22s ease;
}
.btn:hover { transform: translateY(-3px) scale(1.02); border-color: var(--line-warm); color: var(--paper); }
.btn:active { transform: translateY(0) scale(1); }

.btn--primary {
  border-color: transparent;
  color: var(--night-deep);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 46%),
    linear-gradient(96deg, var(--magenta) 0%, var(--orange) 58%, var(--gold) 100%);
  box-shadow: 0 14px 38px -12px rgba(255, 45, 149, .95), 0 0 20px rgba(255, 179, 71, .4), var(--rim);
}
.btn--primary:hover { box-shadow: 0 20px 48px -12px rgba(255, 45, 149, 1), 0 0 28px rgba(255, 179, 71, .6), var(--rim); color: var(--night-deep); }

.btn--ghost { background: rgba(11, 6, 24, .68); backdrop-filter: blur(6px); }
.btn--play { padding: .9rem 1.65rem; font-size: .88rem; }

.btn--pulse {
  animation: btnPulse 2.4s infinite;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 14px 38px -12px rgba(255, 45, 149, .95), 0 0 20px rgba(255, 179, 71, .4), var(--rim); transform: scale(1); }
  50%      { box-shadow: 0 18px 48px -10px rgba(255, 45, 149, 1), 0 0 28px rgba(255, 179, 71, .7), var(--rim); transform: scale(1.03); }
}

.btn--sm { padding: .45rem .85rem; font-size: .72rem; }
.btn--icon { padding: .48rem; }
.btn--icon .ico { width: 1.15em; height: 1.15em; }

/* --------------------------- 3D Instrument tally ----------------------------- */
.tally {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.tally__heading {
  margin: 1.8rem 0 .7rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--paper-3);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.tally__heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.tally__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(.6rem, 1.5vw, 1rem);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: .4rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.tally__list::-webkit-scrollbar { display: none; }

.gauge {
  --gauge: var(--aqua);
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 8.8rem;
  padding: .75rem 1rem .85rem;
  background: linear-gradient(180deg, rgba(42, 26, 94, .82), rgba(11, 6, 24, .88));
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--lift), var(--rim);
  display: grid;
  gap: .12rem;
  backdrop-filter: blur(8px);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease, border-color .25s ease;
}
.gauge:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--line-warm);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .9), 0 0 24px rgba(45, 226, 230, .25), var(--rim);
}

.gauge__value {
  font-size: clamp(1.55rem, 1.25rem + 1.15vw, 2.15rem);
  font-variation-settings: "wdth" 88;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--gauge);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 16px rgba(45, 226, 230, .3);
}
.gauge__value--pending { color: var(--paper-3); text-shadow: none; }

.gauge__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--paper-2);
  line-height: 1.3;
}

.gauge__sub    { font-size: .64rem; color: var(--paper-3); line-height: 1.35; }
.gauge__anchor { font-size: .62rem; font-weight: 700; letter-spacing: .08em;
                 text-transform: uppercase; color: var(--paper-3); }

.gauge__tick {
  justify-self: start;
  margin-top: .2rem;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.gauge__tick--prov {
  color: var(--night-deep);
  padding: .05rem .4rem;
  border-radius: 3px;
  background-color: var(--gold);
  background-image: repeating-linear-gradient(
    -45deg, rgba(11, 6, 24, .34) 0 2px, transparent 2px 5px);
}
.gauge__tick--pending { color: var(--paper-3); }

.gauge--idle { border-style: dashed; }
.gauge--idle .gauge__label { color: var(--paper-3); }
.gauge--prov { border-color: var(--line-warm); }

/* =============================== LEDGER =================================== */
.ledger {
  position: relative;
  z-index: 2;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem);
  background:
    radial-gradient(90% 50% at 50% 0%, rgba(106, 44, 255, .22) 0%, transparent 62%),
    var(--night-deep);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.ledger__title {
  margin: 0 0 .7rem;
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 3.1rem);
  font-variation-settings: "wdth" 106;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
  max-width: 18ch;
}

.ledger__intro {
  margin: 0 0 clamp(1.4rem, 3vw, 2.2rem);
  max-width: 68ch;
  color: var(--paper-2);
  font-size: .95rem;
}

.ledger__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(.7rem, 1.6vw, 1.1rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr));
}

.cut {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(42, 26, 94, .55), rgba(11, 6, 24, .6));
  box-shadow: var(--lift), var(--rim);
  display: grid;
  gap: .55rem;
  align-content: start;
  backdrop-filter: blur(6px);
  transition: transform .26s cubic-bezier(.16, 1, .3, 1), border-color .26s ease, box-shadow .26s ease;
}
.cut:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: var(--line-warm);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, .9), 0 0 20px rgba(255, 179, 71, .2), var(--rim);
}
.cut .ticket { margin: 0; }

.cut__head {
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.012em;
  color: var(--paper);
  text-decoration: none;
  text-wrap: pretty;
  word-break: break-word;
  overflow-wrap: anywhere;
}
a.cut__head:hover { color: var(--gold); text-decoration: underline; }

.cut__match {
  margin: 0;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--paper-3);
}

.ledger__empty {
  grid-column: 1 / -1;
  padding: 1.4rem;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  color: var(--paper-2);
  font-weight: 600;
}

/* Scroll Reveal States */
.reveal-init {
  opacity: 0;
  transform: translateY(22px) scale(.97);
  transition: opacity .65s cubic-bezier(.16, 1, .3, 1), transform .65s cubic-bezier(.16, 1, .3, 1);
}
.reveal-init.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ======================== PEEKING ENOCH POP-UP =========================== */
.peeking-enoch {
  position: fixed;
  bottom: -110px;
  right: 1.5rem;
  z-index: 3500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), bottom .45s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}
.peeking-enoch--visible {
  bottom: 0;
  pointer-events: auto;
}

.peek-speech {
  background: #ffffff;
  color: #0b0618;
  border: 2px solid var(--magenta);
  border-radius: 16px;
  padding: .75rem 1rem .65rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .65), 0 0 24px rgba(255, 45, 149, .4);
  max-width: min(300px, 80vw);
  margin-bottom: .45rem;
  transform-origin: bottom right;
  animation: peekPop .35s cubic-bezier(.16, 1, .3, 1) forwards;
  position: relative;
}
@keyframes peekPop {
  0%   { transform: scale(.6) translateY(12px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.peek-speech__text {
  margin: 0 0 .5rem;
  font-size: .82rem;
  font-weight: 850;
  line-height: 1.32;
  color: #0b0618;
}

.peek-speech__actions {
  display: flex;
  gap: .4rem;
  justify-content: flex-end;
}

.peek-btn {
  border: none;
  background: none;
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: .28rem .6rem;
  border-radius: 99px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.peek-btn--hunt {
  background: var(--magenta);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 45, 149, .4);
}
.peek-btn--hunt:hover { background: #d81b7a; transform: scale(1.05); }
.peek-btn--next {
  background: rgba(11, 6, 24, .09);
  color: #0b0618;
}
.peek-btn--next:hover { background: rgba(11, 6, 24, .18); }

.peek-speech__tail {
  position: absolute;
  bottom: -7px;
  right: 28px;
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--magenta);
}

.peek-avatar {
  cursor: pointer;
  filter: drop-shadow(0 -4px 10px rgba(0, 0, 0, .7));
  transform: translateY(0);
  transition: transform .2s cubic-bezier(.16, 1, .3, 1);
  user-select: none;
}
.peek-avatar:hover {
  transform: translateY(-8px) scale(1.08);
}
.peek-avatar__svg { display: block; }

/* =============================== FOOTER =================================== */
.foot {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 4vw, 3.5rem) 0 max(clamp(2rem, 4vw, 3rem), env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #080412;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.foot__brief {
  max-width: 68ch;
  padding: 1.2rem 1.35rem;
  background: rgba(42, 26, 94, .4);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 1.4rem;
}
.foot__satire {
  margin: 0 0 .75rem;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--paper-2);
}
.foot__satire strong { color: var(--gold); }
.foot__links {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.foot__link { color: var(--aqua); text-decoration: none; border-bottom: 1px solid rgba(45, 226, 230, .35); }
.foot__link:hover { color: var(--paper); border-bottom-color: var(--paper); }
.foot__sep { color: var(--paper-3); }

.foot__meta {
  margin: 0;
  font-size: .72rem;
  color: var(--paper-3);
}

/* ===========================================================================
   FULL-SCREEN GAME MODE (v2.6)
   =========================================================================== */
.game {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  background: #0d1b2a;
  width: 100vw;
  max-width: 100vw;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
}
.game[hidden] { display: none; }

.game__stage {
  grid-row: 2;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.game__stage > .map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.game__bar {
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 2vw, 1.4rem);
  flex-wrap: wrap;
  padding: max(.8rem, env(safe-area-inset-top)) max(clamp(.9rem, 3vw, 1.8rem), env(safe-area-inset-right)) .8rem max(clamp(.9rem, 3vw, 1.8rem), env(safe-area-inset-left));
  background: linear-gradient(180deg, #1b1040 0%, #12082c 100%);
  border-bottom: 1px solid var(--line-warm);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.game__lead { flex: 1 1 16rem; min-width: 0; }

.game__brief {
  margin: 0;
  font-size: clamp(.9rem, .85rem + .4vw, 1.1rem);
  font-weight: 650;
  line-height: 1.3;
  color: var(--paper);
}
.game__brief b { color: var(--gold); font-weight: 800; }

.game__hint {
  margin: .2rem 0 0;
  font-size: .72rem;
  font-weight: 600;
  color: var(--paper-3);
}

.game__heat { display: grid; gap: .3rem; min-width: 10rem; flex: none; }

.game__heatlabel {
  font-size: 1rem;
  font-variation-settings: "wdth" 108;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold);
}

.game__track {
  display: block;
  height: 10px;
  border-radius: 99px;
  background: rgba(11, 6, 24, .7);
  border: 1px solid var(--line);
  overflow: hidden;
}
.game__fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s cubic-bezier(.16, 1, .3, 1), background .3s ease;
}

.game__timer {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
  font-variation-settings: "wdth" 88;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
  flex: none;
}

.game__actions { display: flex; gap: .45rem; flex-wrap: wrap; flex: none; }

.game__status {
  grid-row: 3;
  margin: 0;
  padding: .7rem max(clamp(.9rem, 3vw, 1.8rem), env(safe-area-inset-left)) max(.7rem, env(safe-area-inset-bottom)) max(clamp(.9rem, 3vw, 1.8rem), env(safe-area-inset-right));
  min-height: 2.6rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--paper);
  background: #12082c;
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.game--found .game__status { background: #0f2e1c; color: #b8f5cf; }

body.is-playing { overflow: hidden; }

/* --------------------------- Game Win Card -------------------------------- */
.game__win-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5000;
  width: min(90vw, 360px);
  pointer-events: auto;
}
.game__win-card[hidden] { display: none; }

.win-card {
  background: linear-gradient(180deg, rgba(29, 17, 69, .98), rgba(11, 6, 24, .98));
  border: 2px solid var(--gold);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .9), 0 0 30px rgba(255, 179, 71, .3), var(--rim);
  padding: 1.4rem;
  text-align: center;
  animation: winPop .4s cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes winPop {
  0%   { transform: scale(.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.win-card__trophy { font-size: 2.2rem; display: block; margin-bottom: .2rem; }
.win-card__title { margin: 0 0 .2rem; font-size: 1.35rem; font-weight: 900; color: var(--gold); }
.win-card__time { margin: 0 0 .9rem; font-size: 2.2rem; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--aqua); }
.win-card__form { display: grid; gap: .6rem; }
.win-card__label { font-size: .72rem; font-weight: 700; color: var(--paper-2); }
.win-card__input-row { display: flex; gap: .45rem; }
.win-card__input {
  flex: 1;
  background: rgba(11, 6, 24, .8);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: .5rem .85rem;
  font-family: var(--font);
  font-size: .85rem;
  color: var(--paper);
  outline: none;
}
.win-card__input:focus { border-color: var(--aqua); }
.win-card__rank {
  margin: .8rem 0 0;
  font-size: .82rem;
  color: var(--paper);
  background: rgba(45, 226, 230, .12);
  border: 1px solid rgba(45, 226, 230, .3);
  border-radius: 8px;
  padding: .4rem .6rem;
}
.win-card__rank[hidden] { display: none; }

/* --------------------------- Leaderboard Modal ---------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 3, 15, .82);
  backdrop-filter: blur(4px);
}
.modal__card {
  position: relative;
  z-index: 1;
  width: min(92vw, 520px);
  max-height: 85vh;
  background: linear-gradient(180deg, #1d1145 0%, #0d061f 100%);
  border: 1px solid var(--line-warm);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .9), var(--rim);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlide .28s cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes modalSlide {
  0%   { transform: translateY(16px) scale(.96); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 6, 24, .5);
}
.modal__title { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--gold); }
.modal__tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 6, 24, .3);
}
.modal__tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: .65rem 1rem;
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--paper-3);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.modal__tab:hover { color: var(--paper); }
.modal__tab--active { color: var(--gold); border-bottom-color: var(--gold); background: rgba(255, 179, 71, .06); }
.modal__body {
  padding: 1rem 1.2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal__loading, .modal__empty {
  text-align: center;
  color: var(--paper-3);
  padding: 2rem 1rem;
  font-size: .88rem;
}
.board-table-wrap { overflow-x: auto; }
.board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
}
.board-table th {
  text-align: left;
  padding: .4rem .6rem;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--paper-3);
  border-bottom: 1px solid var(--line);
}
.board-table td {
  padding: .55rem .6rem;
  border-bottom: 1px solid rgba(217, 200, 245, .08);
}
.board-rank { font-weight: 800; color: var(--gold); }
.board-user { color: var(--paper); }
.board-time { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--aqua); }
.board-venue { font-size: .75rem; color: var(--paper-3); }

/* --------------------------- Standalone Disclaimer Page ------------------- */
.page-disclaimer {
  min-height: 100vh;
  background: var(--night-deep);
  color: var(--paper);
}
.disclaimer-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 6, 24, .85);
  padding: max(.8rem, env(safe-area-inset-top)) 0 .8rem;
}
.disclaimer-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark-mini {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  text-decoration: none;
}
.wordmark-mini__where {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.wordmark-mini__name {
  font-size: 1.25rem;
  font-weight: 900;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
}
.disclaimer-main {
  position: relative;
  z-index: 10;
  padding: 2.5rem 0 4rem;
}
.disclaimer-card {
  background: linear-gradient(180deg, rgba(42, 26, 94, .75), rgba(11, 6, 24, .85));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--lift-lg), var(--rim);
  padding: clamp(1.4rem, 4vw, 2.5rem);
  max-width: 800px;
  margin: 0 auto;
}
.disclaimer-card__title {
  margin: 0 0 1.4rem;
  font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.2rem);
  font-weight: 900;
  color: var(--paper);
  line-height: 1.15;
}
.foot__lead {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--gold);
  margin-bottom: 1.8rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 179, 71, .1);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
}
.foot__body {
  display: grid;
  gap: 1.25rem;
  color: var(--paper-2);
  font-size: .96rem;
  line-height: 1.65;
}
.foot__body h3 {
  margin: 1.2rem 0 .3rem;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: -.01em;
}
.foot__body p {
  margin: 0;
}
.foot__body a {
  color: var(--aqua);
  border-bottom: 1px solid rgba(45, 226, 230, .35);
  text-decoration: none;
}
.foot__body a:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}
.disclaimer-card__foot {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.disclaimer-meta {
  margin-top: 1.8rem;
  text-align: center;
  font-size: .7rem;
  color: var(--paper-3);
}

.btn-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

/* ========================= CLEAN COOKIE BANNER ========================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5500;
  padding: clamp(.75rem, 2.5vw, 1.1rem) clamp(1rem, 3.5vw, 2.5rem) max(clamp(.75rem, 2.5vw, 1.1rem), env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(29, 17, 69, .96) 0%, rgba(11, 6, 24, .98) 100%);
  border-top: 1px solid var(--line-warm);
  box-shadow: 0 -12px 36px rgba(0, 0, 0, .85), 0 0 25px rgba(255, 45, 149, .15);
  backdrop-filter: blur(14px);
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}
.cookie-banner--visible {
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner__inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vw, 2rem);
  flex-wrap: wrap;
}

.cookie-banner__text-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 22rem;
}

.cookie-banner__icon {
  font-size: 1.8rem;
  flex: none;
}

.cookie-banner__title {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: .2rem;
  letter-spacing: .02em;
}

.cookie-banner__desc {
  margin: 0;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--paper-2);
}

.cookie-banner__link {
  color: var(--aqua);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__link:hover {
  color: var(--paper);
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}

/* ======================== ENOCH-MAN ARCADE CABINET ======================== */
.btn--accent {
  background: linear-gradient(135deg, #ff2d95 0%, #b537f2 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 45, 149, 0.6);
  box-shadow: 0 4px 18px rgba(255, 45, 149, 0.35), 0 0 12px rgba(181, 55, 242, 0.3);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 45, 149, 0.55), 0 0 18px rgba(181, 55, 242, 0.45);
  filter: brightness(1.1);
}

.arcade-modal {
  position: fixed;
  inset: 0;
  z-index: 7000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 2vw, 1.5rem);
  background: rgba(11, 6, 24, 0.88);
  backdrop-filter: blur(12px);
}
.arcade-modal[hidden] {
  display: none !important;
}

.arcade-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.arcade-cabinet {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: linear-gradient(180deg, #171029 0%, #0b0618 100%);
  border: 2px solid #ff2d95;
  border-radius: 24px;
  box-shadow: 0 0 45px rgba(255, 45, 149, 0.4), 0 24px 70px rgba(0, 0, 0, 0.95), inset 0 0 25px rgba(45, 226, 230, 0.2);
  padding: clamp(0.75rem, 2.5vw, 1.4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.5rem, 1.8vw, 0.85rem);
  max-height: 96dvh;
  overflow-y: auto;
}

.arcade-cabinet__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
}

.arcade-cabinet__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.arcade-cabinet__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff2d95;
  box-shadow: 0 0 12px #ff2d95;
  animation: pulse-dot 1.2s infinite alternate;
}

.arcade-cabinet__title {
  margin: 0;
  font-size: clamp(0.88rem, 2.6vw, 1.12rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-shadow: 0 0 14px rgba(255, 179, 71, 0.45);
}

.arcade-cabinet__controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* Retro HUD */
.arcade-hud {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.35rem, 1.2vw, 0.6rem);
  background: rgba(11, 6, 24, 0.75);
  border: 1px solid rgba(45, 226, 230, 0.3);
  border-radius: 12px;
  padding: clamp(0.45rem, 1.5vw, 0.65rem) clamp(0.6rem, 2vw, 0.9rem);
  text-align: center;
}

.arcade-hud__col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arcade-hud__label {
  font-size: clamp(0.58rem, 1.6vw, 0.68rem);
  font-weight: 800;
  letter-spacing: 0.09em;
  color: var(--paper-3);
  text-transform: uppercase;
}

.arcade-hud__val {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  font-weight: 900;
  color: var(--paper);
  font-family: monospace, sans-serif;
  letter-spacing: 0.05em;
  text-shadow: 0 0 8px rgba(45, 226, 230, 0.3);
}

.arcade-hud__val--lives {
  font-size: clamp(0.76rem, 2vw, 0.92rem);
  white-space: nowrap;
}

/* Canvas Stage */
.arcade-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  border-radius: 16px;
  border: 2px solid #2a1a5e;
  box-shadow: inset 0 0 25px rgba(106, 44, 255, 0.45), 0 8px 24px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

#arcade-canvas {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: 21 / 23;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* Overlays */
.arcade-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 6, 24, 0.88);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  text-align: center;
  gap: 0.65rem;
  z-index: 10;
}
.arcade-overlay[hidden] {
  display: none !important;
}

.arcade-overlay__title {
  margin: 0;
  font-size: clamp(0.85rem, 2.5vw, 1.05rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.04em;
  animation: pulse-dot 1s infinite alternate;
}

.arcade-overlay__tip {
  margin: 0;
  font-size: clamp(0.74rem, 2vw, 0.85rem);
  line-height: 1.45;
  color: var(--paper-2);
}

.arcade-overlay__big {
  margin: 0;
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 900;
  color: #ff2d95;
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px rgba(255, 45, 149, 0.7);
}

.arcade-overlay__desc {
  margin: 0;
  font-size: clamp(0.82rem, 2.2vw, 0.92rem);
  color: var(--paper-2);
}

/* Mobile Virtual D-Pad */
.arcade-dpad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  max-width: 250px;
  user-select: none;
  touch-action: manipulation;
  margin-top: 0.2rem;
}

.arcade-dpad__row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  justify-content: center;
}

.arcade-dpad__center {
  width: 50px;
  height: 48px;
  border-radius: 10px;
  background: rgba(29, 17, 69, 0.45);
  border: 1px solid var(--line);
}

.arcade-dpad__btn {
  width: 54px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--paper);
  background: linear-gradient(180deg, #2a1a5e 0%, #171029 100%);
  border: 1px solid var(--line-warm);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45), 0 0 10px rgba(255, 45, 149, 0.15);
  cursor: pointer;
  transition: transform 0.1s, background 0.1s;
}
.arcade-dpad__btn:active {
  transform: scale(0.9);
  background: var(--magenta);
  border-color: var(--magenta);
  box-shadow: 0 0 16px rgba(255, 45, 149, 0.6);
}

/* =============================== RESPONSIVE =============================== */
@media (max-width: 640px) {
  .wordmark__where {
    font-size: clamp(.72rem, .65rem + .6vw, .92rem);
    letter-spacing: .22em;
  }

  .wordmark__name {
    font-size: clamp(2rem, 1.4rem + 6.5vw, 3.8rem);
    line-height: .88;
    letter-spacing: -.03em;
  }

  .locator {
    margin-top: clamp(.55rem, 1.8vw, 1rem);
    padding: .75rem .95rem;
    border-radius: var(--r);
  }

  .locator__eyeline {
    margin: 0 0 .35rem;
    font-size: .64rem;
  }

  .locator__head {
    font-size: clamp(.92rem, .85rem + .3vw, 1.15rem);
    line-height: 1.28;
  }

  .ticket {
    margin-top: .5rem;
    gap: .35rem .5rem;
    font-size: .65rem;
  }

  .hunt-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.2rem;
    padding: 1.2rem 1rem;
  }
  .hunt-card__character {
    margin: 0 auto;
  }
  .hunt-card__tag {
    margin: 0 auto;
  }
  .hunt-card__actions {
    justify-content: center;
  }
  .hunt-card__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .gauge {
    min-width: 7.2rem;
    padding: .5rem .7rem .55rem;
    border-radius: 12px;
  }
  .gauge__value {
    font-size: clamp(1.35rem, 1.15rem + 1vw, 1.85rem);
  }
  .gauge__label {
    font-size: .62rem;
  }

  .ledger {
    padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.8rem, 4vw, 2.8rem);
  }

  .ledger__list { grid-template-columns: 1fr; }

  .cut {
    padding: .85rem 1rem .95rem;
  }

  .cut__head {
    font-size: .94rem;
  }

  .game__bar {
    gap: .5rem .75rem;
    padding: max(.6rem, env(safe-area-inset-top)) max(.85rem, env(safe-area-inset-right)) .6rem max(.85rem, env(safe-area-inset-left));
  }
  .game__lead {
    flex-basis: 100%;
    order: 1;
  }
  .game__brief {
    font-size: .88rem;
  }
  .game__hint {
    font-size: .68rem;
  }
  .game__heat {
    order: 2;
    flex: 1 1 auto;
    min-width: 7rem;
  }
  .game__heatlabel {
    font-size: .85rem;
  }
  .game__timer {
    order: 3;
    font-size: 1.4rem;
  }
  .game__actions {
    order: 4;
    flex-basis: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .4rem;
  }
  .game__actions .btn {
    flex: 1 1 auto;
    padding: .5rem .75rem;
    font-size: .72rem;
    min-height: 40px;
    justify-content: center;
  }
  .game__actions .btn--icon {
    flex: 0 0 auto;
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .game__status {
    padding: .6rem max(.85rem, env(safe-area-inset-left)) max(.6rem, env(safe-area-inset-bottom)) max(.85rem, env(safe-area-inset-right));
    font-size: .82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
