@font-face {
  font-family: "Rushford Clean";
  src: url("assets/Rushfordclean-rgz89.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #09030f;
  --deep-plum: #130018;
  --panel: rgba(15, 4, 24, 0.86);
  --panel-heavy: rgba(10, 1, 17, 0.96);
  --text: #f8f7ff;
  --muted: #d5d2e8;
  --cyan: #58fff1;
  --blue: #4e83ff;
  --pink: #ff4db8;
  --yellow: #ffe45b;
  --green: #60e695;
  --red: #ff4f69;
  --radius: 24px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; }
body {
  margin: 0;
  color: var(--text);
  background: var(--deep-plum);
  font-family: "Roboto", Arial, sans-serif;
}
button, input { font: inherit; }
button { touch-action: manipulation; }

.brand-background, .background-base, .beam, .grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.brand-background { z-index: 0; overflow: hidden; background: #100015; }
.background-base {
  background:
    radial-gradient(circle at 16% 18%, rgba(255,77,184,.24), transparent 30%),
    radial-gradient(circle at 83% 24%, rgba(78,131,255,.26), transparent 32%),
    radial-gradient(circle at 47% 86%, rgba(88,255,241,.16), transparent 28%),
    linear-gradient(135deg, #0d0012 0%, #21002d 50%, #0b0615 100%);
  animation: backgroundPulse 13s ease-in-out infinite alternate;
}
.beam {
  left: -30vw;
  width: 165vw;
  height: 34px;
  transform: rotate(-15deg);
  filter: drop-shadow(0 0 11px currentColor);
  opacity: .42;
  animation: beamTravel 13s ease-in-out infinite alternate;
}
.beam-a {
  top: 12vh; color: var(--cyan);
  background: linear-gradient(90deg, transparent 9%, currentColor 27%, currentColor 55%, transparent 77%);
}
.beam-b {
  top: 38vh; height: 50px; color: var(--pink);
  background: linear-gradient(90deg, transparent 5%, currentColor 32%, currentColor 49%, transparent 76%);
  animation-duration: 16s; animation-delay: -5s; opacity: .3;
}
.beam-c {
  top: 68vh; height: 25px; color: var(--blue);
  background: linear-gradient(90deg, transparent 11%, currentColor 39%, currentColor 62%, transparent 82%);
  animation-duration: 11s; animation-delay: -3s;
}
.beam-d {
  top: 88vh; height: 15px; color: var(--yellow);
  background: linear-gradient(90deg, transparent 23%, currentColor 42%, currentColor 57%, transparent 73%);
  animation-duration: 18s; animation-delay: -8s; opacity: .23;
}
.grain {
  opacity: .075;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,.035) 0,
    rgba(255,255,255,.035) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}

.game-root {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding:
    calc(12px + var(--safe-top))
    calc(12px + var(--safe-right))
    calc(12px + var(--safe-bottom))
    calc(12px + var(--safe-left));
}
.screen { display: none; width: 100%; height: 100%; }
.screen.is-active { display: grid; }

.glass-panel {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 28px 70px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter: blur(15px);
}

.home-screen, .play-screen, .final-screen { place-items: center; }

.title-card, .final-card {
  width: min(760px, 94vw);
  max-height: 94vh;
  padding: clamp(26px, 5vw, 52px);
  border-radius: 30px;
  text-align: center;
  overflow: hidden;
  animation: cardArrival .6s cubic-bezier(.2,.8,.2,1) both;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: clamp(.66rem, 1.5vw, .84rem);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Stronger compensation for Rushford's unusually high visual baseline. */
.rushford {
  font-family: "Rushford Clean", "Arial Narrow", Impact, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .015em;
  line-height: .80;
  position: relative;
  top: .22em;
  padding-bottom: .12em;
}
.title-logo {
  display: grid;
  gap: .15em;
  margin: 0 auto 24px;
  font-size: clamp(2.05rem, 6.7vw, 4.35rem);
  max-width: 680px;
  text-shadow: 0 0 18px rgba(88,255,241,.22), 4px 5px 0 rgba(78,131,255,.18);
}
.title-copy, .final-copy {
  width: min(600px, 100%);
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: clamp(.96rem, 2.2vw, 1.14rem);
  line-height: 1.5;
}
.game-button {
  min-width: 170px;
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  padding: 12px 24px;
  color: white;
  cursor: pointer;
  box-shadow: 0 15px 34px rgba(0,0,0,.32);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}
.game-button:hover { filter: brightness(1.08); transform: translateY(-2px); }
.game-button:active { transform: translateY(1px) scale(.985); }
.primary-button { background: linear-gradient(135deg, var(--pink), var(--blue) 60%, var(--cyan)); }
.secondary-button { background: linear-gradient(135deg, #47506a, #657190); }
.start-button { min-width: 230px; min-height: 68px; }
.button-label { display: block; font-size: 1.5rem; }
.small-button-label { display: block; font-size: 1.08rem; }
.title-footnote {
  display: flex; justify-content: center; gap: 12px 22px; flex-wrap: wrap;
  margin-top: 24px; color: rgba(255,255,255,.7);
  font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
}

.game-frame {
  width: min(1180px, 100%);
  height: min(760px, 100%);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  animation: cardArrival .45s cubic-bezier(.2,.8,.2,1) both;
}
.hud {
  min-height: 74px;
  padding: 13px 18px;
  display: grid;
  grid-template-columns: minmax(130px, auto) minmax(150px, 1fr) minmax(190px, auto);
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,.045);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hud-group { display: grid; gap: 2px; }
.hud-group-right { text-align: right; }
.hud-label {
  color: var(--muted); font-size: .69rem; font-weight: 900;
  letter-spacing: .09em; text-transform: uppercase;
}
.hud-group strong { font-size: .98rem; }
.hud-progress {
  height: 12px; border-radius: 999px; background: rgba(255,255,255,.09);
  overflow: hidden; border: 1px solid rgba(255,255,255,.08);
}
.hud-progress-fill {
  width: 0; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--blue), var(--cyan));
  box-shadow: 0 0 15px rgba(88,255,241,.36);
  transition: width .35s ease;
}
.level-stage {
  position: relative;
  min-height: 0;
  padding: clamp(20px, 3.5vw, 38px);
  display: grid;
  align-content: center;
  overflow: hidden;
}
.level-content {
  width: min(940px, 100%);
  max-height: 100%;
  margin: auto;
  display: grid;
  align-content: center;
  animation: levelIn .35s cubic-bezier(.2,.8,.2,1) both;
}
.level-kicker {
  margin: 0 0 5px;
  color: var(--cyan);
  font-size: clamp(.66rem, 1.4vw, .82rem);
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.level-title {
  margin: 0 0 17px;
  font-size: clamp(1.8rem, 4.8vw, 3.6rem);
  max-width: 100%;
}
.level-instruction {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: clamp(.94rem, 2vw, 1.08rem);
  line-height: 1.42;
}
.checkbox-list { display: grid; gap: 11px; width: min(690px, 100%); }
.checkbox-row {
  min-height: 58px; padding: 12px 16px;
  display: flex; align-items: center; gap: 14px;
  border-radius: 17px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  cursor: pointer; user-select: none;
}
.checkbox-row input { width: 27px; height: 27px; accent-color: var(--green); }
.checkbox-row span { font-size: clamp(.9rem, 1.9vw, 1rem); font-weight: 700; }
.level-actions { margin-top: 18px; display: flex; gap: 12px; align-items: center; }

.identity-grid {
  width: min(820px, 100%);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.identity-card {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.055);
  border-radius: 22px; padding: 0; color: white; overflow: hidden; cursor: pointer;
}
.identity-image-wrap { aspect-ratio: 10 / 7; overflow: hidden; background: rgba(255,255,255,.04); }
.identity-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.identity-card[data-person="chris"] img { object-position: center 18%; }
.identity-card[data-person="cush"] img { object-position: center center; }
.identity-label {
  padding: 14px 16px 15px; display: flex; justify-content: space-between; gap: 10px; align-items: center;
}
.identity-name { font-size: clamp(1.35rem, 2.8vw, 1.95rem); }
.identity-status {
  color: var(--muted); font-size: .76rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em;
}
.scan-readout {
  margin-top: 14px; min-height: 50px; padding: 12px 15px; border-radius: 15px;
  color: #d9e8ff; background: rgba(5,14,31,.72);
  border: 1px solid rgba(78,131,255,.2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .84rem;
}

.puzzle-board {
  width: min(500px, 60vh, 88%);
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-inline: auto;
}
.puzzle-piece {
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background-image: url("assets/chris-guac.png");
  background-size: 300% 300%;
  cursor: grab;
  touch-action: none;
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}
.puzzle-piece.is-selected {
  outline: 3px solid var(--cyan);
  transform: scale(.96);
}
.puzzle-help {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
  font-size: .86rem;
}

.captcha-wrap {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  width: min(720px, 100%);
  margin-inline: auto;
}
.captcha-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}
.captcha-tile {
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  color: white;
  display: grid;
  place-items: center;
  padding: 3px;
  cursor: pointer;
  text-align: center;
  min-height: 0;
}
.captcha-tile.is-selected {
  border-color: var(--cyan);
  background: rgba(88,255,241,.16);
}
.captcha-emoji { font-size: clamp(1.15rem, 2.6vw, 1.75rem); }
.captcha-name {
  display: block;
  margin-top: 2px;
  font-size: clamp(.46rem, .9vw, .62rem);
  font-weight: 800;
  line-height: 1;
}
.captcha-side {
  min-height: 58px;
  padding: 8px 10px 8px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.captcha-side p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.25;
}
.captcha-side .game-button {
  min-width: 120px;
  min-height: 42px;
  padding: 8px 16px;
}

.fishing-area {
  position: relative;
  width: min(860px, 100%);
  height: min(430px, 55vh);
  min-height: 300px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 50% 15%, rgba(255,255,255,.15), transparent 24%),
    linear-gradient(#195c88 0 18%, #0e426d 18% 100%);
  touch-action: none;
}
.water-lines {
  position: absolute; inset: 18% 0 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,.04) 0,
    rgba(255,255,255,.04) 2px,
    transparent 2px,
    transparent 20px
  );
}
.rod-handle {
  position: absolute;
  left: 24px; top: 24px;
  width: 74px; height: 74px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  border: 3px solid white;
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
  cursor: grab;
  z-index: 4;
  user-select: none;
  font-size: 2rem;
}
.fishing-line {
  position: absolute;
  left: 60px; top: 60px;
  width: 2px; height: 170px;
  background: rgba(255,255,255,.85);
  transform-origin: top center;
  z-index: 2;
}
.hook {
  position: absolute;
  width: 28px; height: 28px;
  border: 4px solid white;
  border-top-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  z-index: 3;
}
.feebas-sprite {
  position: absolute;
  width: 116px;
  height: auto;
  z-index: 3;
  transition: transform .09s linear;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.28));
  user-select: none;
  pointer-events: none;
}

.fishing-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: .84rem;
  text-align: center;
}

.result-dialog {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden;
}
.result-dialog[open] { display: grid; place-items: center; }
.result-dialog::backdrop { background: rgba(3,0,8,.72); backdrop-filter: blur(6px); }
.result-panel {
  width: min(560px, calc(100vw - 28px));
  padding: clamp(26px, 5vw, 42px);
  border-radius: 26px;
  text-align: center;
  animation: resultPop .28s cubic-bezier(.18,.9,.28,1.25) both;
}
.result-panel.is-failure { border-color: rgba(255,79,105,.5); }
.result-title {
  margin: 0 0 22px;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  color: #fff;
  text-shadow: 0 0 14px rgba(255,255,255,.18);
}
.result-message { margin: 0 auto 24px; color: var(--muted); line-height: 1.45; max-width: 430px; }

.final-card { width: min(780px, 95vw); }
.final-title { margin: 0 0 22px; font-size: clamp(2rem, 5.6vw, 4rem); }
.address-card {
  margin: 20px auto;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
}
.address-label {
  display: block; margin-bottom: 10px;
  color: var(--cyan); font-size: .78rem; font-weight: 900;
  letter-spacing: .1em; text-transform: uppercase;
}
.address-text {
  margin-bottom: 16px;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.5;
  font-weight: 900;
}
.final-rules {
  margin: 18px 0 20px;
  color: var(--muted);
  line-height: 1.4;
}
.final-rules p { margin: 8px 0; }
.sea-monkey-final { color: var(--yellow); font-weight: 900; }

@keyframes backgroundPulse {
  from { transform: scale(1); filter: saturate(.95); }
  to { transform: scale(1.035); filter: saturate(1.08); }
}
@keyframes beamTravel {
  from { transform: translateX(-4vw) rotate(-15deg); }
  to { transform: translateX(10vw) rotate(-15deg); }
}
@keyframes cardArrival {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes levelIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes resultPop {
  from { opacity: 0; transform: scale(.88) rotate(-1.5deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}


.checkbox-row {
  position: relative;
  overflow: visible;
}
.truth-pop {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg) scale(.7);
  color: #64ff98;
  font-weight: 900;
  font-size: 1.05rem;
  text-shadow: 0 0 12px rgba(100,255,152,.9);
  pointer-events: none;
  opacity: 0;
  animation: truthBurst .62s ease-out forwards;
}

.identity-card.is-selected {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(88,255,241,.2), 0 0 28px rgba(88,255,241,.22);
  transform: translateY(-3px) scale(1.015);
}

.identity-name {
  display: inline-block;
  transition: transform .35s cubic-bezier(.2,.9,.25,1.25), opacity .2s ease;
}
.identity-name.is-swapping {
  animation: nameSwap .55s cubic-bezier(.2,.8,.2,1);
}

.scan-readout {
  position: relative;
  overflow: hidden;
  min-height: 68px;
  padding-left: 58px;
}
.scan-readout::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 3px solid rgba(88,255,241,.55);
  box-shadow: 0 0 14px rgba(88,255,241,.3);
}
.scan-readout::after {
  content: "";
  position: absolute;
  left: 52px;
  right: 14px;
  top: 50%;
  height: 2px;
  background:
    linear-gradient(90deg, transparent 0 2%, var(--cyan) 2% 7%, transparent 7% 11%, var(--cyan) 11% 15%, transparent 15% 19%, var(--cyan) 19% 23%, transparent 23% 100%);
  opacity: .35;
  animation: lieTrace 1.2s linear infinite;
}

.puzzle-piece {
  transition: transform .28s cubic-bezier(.2,.85,.25,1.15), box-shadow .2s ease;
}
.puzzle-piece.is-moving {
  transform: scale(.88) rotate(3deg);
  box-shadow: 0 0 22px rgba(88,255,241,.35);
}
.puzzle-board {
  max-height: calc(100vh - 250px);
}

.captcha-wrap {
  max-height: calc(100vh - 205px);
}
.captcha-grid {
  max-height: calc(100vh - 275px);
  width: min(620px, 100%);
  margin-inline: auto;
}
.captcha-tile {
  min-width: 0;
  min-height: 0;
}
.captcha-emoji {
  line-height: 1;
}
.captcha-name {
  line-height: 1;
}

.fishing-area {
  background:
    radial-gradient(circle at 50% 15%, rgba(255,255,255,.12), transparent 24%),
    linear-gradient(#1c6b9a 0 18%, #0e426d 18% 100%);
}
.water-lines {
  animation: waterScroll 3.8s linear infinite;
}
.water-ripple {
  position: absolute;
  inset: 18% 0 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255,255,255,.08) 0 2px, transparent 3px),
    radial-gradient(ellipse at 75% 55%, rgba(255,255,255,.08) 0 2px, transparent 3px),
    radial-gradient(ellipse at 45% 78%, rgba(255,255,255,.06) 0 2px, transparent 3px);
  background-size: 130px 65px, 170px 85px, 150px 75px;
  animation: rippleMove 5s linear infinite;
}
.rod-handle {
  width: 118px;
  height: 118px;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  font-size: 0;
  cursor: grab;
}
.rod-handle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.36));
  pointer-events: none;
}
.feebas-sprite {
  width: 118px;
  will-change: left, top, transform;
}
.fireworks-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.result-panel {
  position: relative;
  z-index: 1;
}

@keyframes truthBurst {
  0% { opacity: 0; transform: translateY(-50%) rotate(-8deg) scale(.65); }
  28% { opacity: 1; transform: translateY(-50%) rotate(-8deg) scale(1.22); }
  100% { opacity: 0; transform: translateY(-70%) rotate(-8deg) scale(1); }
}
@keyframes nameSwap {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  45% { transform: translateY(-22px) rotate(-8deg); opacity: 0; }
  55% { transform: translateY(22px) rotate(8deg); opacity: 0; }
  100% { transform: translateY(0) rotate(0); opacity: 1; }
}
@keyframes lieTrace {
  from { transform: translateX(-8%); }
  to { transform: translateX(8%); }
}
@keyframes waterScroll {
  from { background-position: 0 0; }
  to { background-position: 0 20px; }
}
@keyframes rippleMove {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 130px 0, -170px 0, 150px 0; }
}
@keyframes fireworkBurst {
  0% { transform: scale(.1); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: scale(1.45); opacity: 0; }
}

@media (max-width: 760px) {
  .game-root {
    padding:
      calc(7px + var(--safe-top))
      calc(7px + var(--safe-right))
      calc(7px + var(--safe-bottom))
      calc(7px + var(--safe-left));
  }
  .title-card, .final-card { width: 100%; border-radius: 24px; padding: 24px 18px; }
  .game-frame { height: 100%; border-radius: 22px; }
  .hud {
    min-height: 66px; grid-template-columns: auto 1fr auto;
    gap: 10px; padding: 10px 12px;
  }
  .hud-label { font-size: .58rem; }
  .hud-group strong { font-size: .76rem; }
  .level-stage { padding: 15px; }
  .level-title { font-size: clamp(1.75rem, 8.8vw, 3rem); }
  .identity-grid { gap: 10px; }
  .identity-label { display: grid; padding: 10px 11px 11px; }
  .identity-status { font-size: .62rem; }
  .captcha-wrap { grid-template-columns: 1fr; gap: 10px; }
  .captcha-side { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
  .captcha-side p { margin: 0; }
  .captcha-grid { gap: 4px; max-height: none; }
  .captcha-tile { border-radius: 8px; padding: 2px; }
  .captcha-name { font-size: .44rem; }
  .captcha-wrap { max-height: none; }
  .puzzle-board { max-height: calc(100vh - 210px); }
  .puzzle-board { width: min(100%, 58vh); }
  .fishing-area { height: min(470px, 62vh); min-height: 300px; }
}

@media (max-height: 680px) and (min-width: 700px) {
  .game-frame { height: 100%; }
  .hud { min-height: 58px; padding-block: 7px; }
  .level-stage { padding-block: 12px; }
  .level-title { font-size: clamp(1.8rem, 4.2vw, 3rem); margin-bottom: 10px; }
  .level-instruction { margin-bottom: 12px; }
  .puzzle-board { width: min(470px, 67vh); }
  .fishing-area { height: 400px; }
}

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


.identity-chaos {
  position: relative;
  margin-top: 14px;
  min-height: 118px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,228,91,.22), transparent 26%),
    linear-gradient(135deg, rgba(255,77,184,.18), rgba(84,167,255,.12));
  border: 1px solid rgba(255,255,255,.14);
}

.chaos-strip {
  position: absolute;
  left: 0;
  right: 0;
  top: 13px;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 900;
  color: white;
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  transform: rotate(-2deg);
}

.chaos-strip span {
  display: inline-block;
  padding-left: 100%;
  animation: screamScroll 2.2s linear infinite;
}

.chaos-answer {
  position: absolute;
  left: 24px;
  bottom: 18px;
  font-family: "Rushford Clean", Impact, sans-serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  color: var(--yellow);
  transform: rotate(-5deg);
  text-shadow: 0 0 14px rgba(255,228,91,.28);
}

.chaos-shrug {
  position: absolute;
  right: 12px;
  bottom: -12px;
  width: 104px;
  max-height: 118px;
  object-fit: cover;
  object-position: center top;
  transform: rotate(3deg);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

.identity-card.is-chaos {
  animation: cardPanic .12s linear infinite alternate;
}

.captcha-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}



.confetti {
  position: absolute;
  width: 7px;
  height: 18px;
  border-radius: 2px;
  background: var(--cf);
  animation: confettiFall 1.35s cubic-bezier(.15,.7,.25,1) forwards;
}

@keyframes screamScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes cardPanic {
  from { transform: translate(-2px, 1px) rotate(-.4deg); }
  to { transform: translate(2px, -1px) rotate(.4deg); }
}

@keyframes confettiFall {
  0% {
    opacity: 0;
    transform: translateY(-12vh) rotate(0deg);
  }
  10% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translateY(110vh) rotate(760deg);
  }
}


.identity-prompt {
  margin-top: 14px;
  min-height: 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
  padding: 16px;
  transition: opacity .2s ease, transform .2s ease;
}

.identity-prompt.is-hidden {
  opacity: 0;
  transform: scale(.95);
}

.identity-chaos {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255,228,91,.18), transparent 30%),
    linear-gradient(135deg, rgba(255,77,184,.2), rgba(84,167,255,.16)),
    rgba(10,0,18,.82);
  border-radius: 0 0 28px 28px;
}

.identity-chaos.is-active {
  display: block;
}

.chaos-message {
  position: absolute;
  left: 50%;
  top: 16%;
  width: min(90%, 900px);
  transform: translateX(-50%);
  text-align: center;
  font-family: "Rushford Clean", Impact, sans-serif;
  color: white;
  font-size: clamp(1.8rem, 5vw, 4rem);
  text-transform: uppercase;
  line-height: .85;
  text-shadow: 0 0 18px rgba(255,255,255,.24);
  animation: chaosWobble .18s linear infinite alternate;
  z-index: 3;
}

.chaos-message.is-yellow {
  color: var(--yellow);
}

.chaos-scream {
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  white-space: nowrap;
  overflow: hidden;
  font-weight: 900;
  font-size: clamp(1.4rem, 4vw, 3rem);
  color: var(--cyan);
  transform: rotate(-3deg);
  opacity: 0;
  transition: opacity .15s ease;
}

.chaos-scream.is-visible {
  opacity: 1;
}

.chaos-scream span {
  display: inline-block;
  padding-left: 100%;
  animation: screamScroll 1.15s linear infinite;
}

.chaos-shrug-giant {
  position: absolute;
  left: 50%;
  bottom: -110%;
  width: min(88%, 680px);
  max-height: 92%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  filter: drop-shadow(0 24px 36px rgba(0,0,0,.45));
  z-index: 4;
}

.chaos-shrug-giant.is-rising {
  animation: shrugRise .9s cubic-bezier(.1,.9,.2,1) forwards,
             violentShake .09s linear .72s infinite alternate;
}

.identity-card.is-chaos {
  animation: cardPanic .09s linear infinite alternate;
}

.failure-flash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: rgba(255,0,35,.0);
  animation: failurePulse 1.4s ease-in-out infinite;
}

.firework-burst {
  position: absolute;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
}

.firework-ray {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 70px;
  background: linear-gradient(to top, transparent, var(--fw));
  transform-origin: 50% 100%;
  animation: rayBurst .9s cubic-bezier(.1,.75,.2,1) forwards;
}

@keyframes chaosWobble {
  from { transform: translateX(-50%) rotate(-1.5deg) scale(1); }
  to { transform: translateX(-50%) rotate(1.5deg) scale(1.03); }
}

@keyframes shrugRise {
  from { bottom: -110%; transform: translateX(-50%) scale(.82); }
  to { bottom: -2%; transform: translateX(-50%) scale(1.12); }
}

@keyframes violentShake {
  from { margin-left: -10px; transform: translateX(-50%) rotate(-2deg) scale(1.12); }
  to { margin-left: 10px; transform: translateX(-50%) rotate(2deg) scale(1.12); }
}

@keyframes failurePulse {
  0%, 100% { background: rgba(255,0,35,.06); }
  50% { background: rgba(255,0,35,.24); }
}

@keyframes rayBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -100%) rotate(var(--angle)) scaleY(.08);
  }
  15% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(-50%, -100%) rotate(var(--angle)) translateY(-44px) scaleY(1);
  }
}


/* v7: force the 4x4 CAPTCHA and verify bar to fit inside the game frame */
.level-content:has(.captcha-wrap) {
  height: 100%;
  width: min(760px, 100%);
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: stretch;
}

.level-content:has(.captcha-wrap) .level-title {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 3.7vw, 2.75rem);
}

.level-content:has(.captcha-wrap) .level-instruction {
  margin-bottom: 8px;
  font-size: clamp(.78rem, 1.5vw, .92rem);
}

.captcha-wrap {
  width: min(650px, 100%);
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0 auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 48px;
  gap: 8px;
}

.captcha-grid {
  width: min(540px, 100%);
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.captcha-tile {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 8px;
  padding: 2px;
}

.captcha-tile > span {
  display: grid;
  place-items: center;
  align-content: center;
  min-width: 0;
  min-height: 0;
}

.captcha-emoji {
  font-size: clamp(1rem, 2.25vw, 1.55rem);
}

.captcha-name {
  margin-top: 1px;
  font-size: clamp(.4rem, .72vw, .54rem);
  line-height: .95;
}

.captcha-side {
  width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 5px 6px 5px 12px;
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.captcha-side p {
  max-width: none;
  font-size: clamp(.65rem, 1.2vw, .78rem);
  line-height: 1.15;
}

.captcha-side .game-button {
  flex: 0 0 auto;
  min-width: 108px;
  min-height: 36px;
  height: 36px;
  padding: 4px 14px;
  border-radius: 12px;
}

.captcha-side .small-button-label {
  font-size: .88rem;
}

@media (max-width: 760px) {
  .level-content:has(.captcha-wrap) {
    height: 100%;
  }

  .level-content:has(.captcha-wrap) .level-title {
    font-size: clamp(1.4rem, 7vw, 2.1rem);
  }

  .level-content:has(.captcha-wrap) .level-instruction {
    font-size: .74rem;
  }

  .captcha-wrap {
    grid-template-rows: minmax(0, 1fr) 46px;
  }

  .captcha-grid {
    width: min(100%, 440px);
    gap: 4px;
  }

  .captcha-side {
    height: 46px;
    min-height: 46px;
  }

  .captcha-side p {
    font-size: .62rem;
  }

  .captcha-side .game-button {
    min-width: 96px;
    height: 34px;
    min-height: 34px;
  }
}

@media (max-height: 650px) {
  .level-content:has(.captcha-wrap) .level-kicker {
    margin-bottom: 1px;
    font-size: .58rem;
  }

  .level-content:has(.captcha-wrap) .level-title {
    margin-bottom: 5px;
    font-size: clamp(1.35rem, 3.3vw, 2.25rem);
  }

  .level-content:has(.captcha-wrap) .level-instruction {
    margin-bottom: 5px;
    font-size: .7rem;
  }

  .captcha-wrap {
    grid-template-rows: minmax(0, 1fr) 42px;
  }

  .captcha-side {
    height: 42px;
    min-height: 42px;
  }

  .captcha-side .game-button {
    height: 32px;
    min-height: 32px;
  }
}

/* v7: center and contain the Chris/Cush meltdown */
.level-content:has(.identity-grid) {
  position: relative;
  height: 100%;
  align-content: center;
}

.identity-chaos {
  position: absolute;
  inset: 0;
  border-radius: 0;
  display: none;
  overflow: hidden;
  place-items: center;
}

.identity-chaos.is-active {
  display: block;
}

.chaos-message {
  top: 12%;
  left: 50%;
  width: min(86%, 820px);
  transform: translateX(-50%);
  padding-top: .18em;
  line-height: .82;
}

.chaos-scream {
  top: 39%;
}

.chaos-shrug-giant {
  left: 50%;
  bottom: -120%;
  width: min(82%, 620px);
  max-height: 88%;
}

.chaos-shrug-giant.is-rising {
  animation:
    shrugRiseV7 .9s cubic-bezier(.1,.9,.2,1) forwards,
    violentShakeV7 .075s linear .72s infinite alternate;
}

@keyframes shrugRiseV7 {
  from {
    bottom: -120%;
    transform: translateX(-50%) scale(.78);
  }
  to {
    bottom: -4%;
    transform: translateX(-50%) scale(1.06);
  }
}

@keyframes violentShakeV7 {
  from {
    margin-left: -12px;
    transform: translateX(-50%) rotate(-2.5deg) scale(1.06);
  }
  to {
    margin-left: 12px;
    transform: translateX(-50%) rotate(2.5deg) scale(1.06);
  }
}

/* v7: fireworks are launched sequentially */
.firework-burst {
  opacity: 0;
}

.firework-burst.is-launching {
  opacity: 1;
}

.firework-ray {
  opacity: 0;
}

.firework-burst.is-launching .firework-ray {
  animation: rayBurst .72s cubic-bezier(.1,.75,.2,1) forwards;
}


/* v8: allow the CAPTCHA slightly more vertical breathing room */
.level-content:has(.captcha-wrap) {
  width: min(780px, 100%);
}

.captcha-wrap {
  width: min(690px, 100%);
  grid-template-rows: minmax(0, 1fr) 50px;
}

.captcha-grid {
  width: min(580px, 100%);
}

@media (max-height: 650px) {
  .captcha-wrap {
    grid-template-rows: minmax(0, 1fr) 44px;
  }
}


/* v8 fishing polish */
.fishing-line {
  display: none;
}

.hook {
  width: 32px;
  height: 32px;
  border-width: 4px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.28));
}

.water-surface {
  position: absolute;
  left: 0;
  right: 0;
  top: 17%;
  height: 28px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.water-surface::before,
.water-surface::after {
  content: "";
  position: absolute;
  left: -12%;
  width: 124%;
  height: 18px;
  border-radius: 50%;
  border-top: 3px solid rgba(255,255,255,.26);
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,.12) 0 16%, transparent 17%) 0 0 / 82px 18px repeat-x;
}

.water-surface::before {
  top: 1px;
  animation: calmWaveA 5.5s linear infinite;
}

.water-surface::after {
  top: 8px;
  opacity: .55;
  animation: calmWaveB 7.2s linear infinite reverse;
}

@keyframes calmWaveA {
  from { transform: translateX(0); }
  to { transform: translateX(82px); }
}

@keyframes calmWaveB {
  from { transform: translateX(0); }
  to { transform: translateX(64px); }
}


/* v9 fishing: rod image itself is the catch tool */
.hook {
  display: none !important;
}

.water-surface {
  top: 14%;
  height: 64px;
  background:
    url("assets/water-wave.gif") center center / 170px 64px repeat-x;
  opacity: .72;
  animation: waterBob 2.2s ease-in-out infinite alternate;
}

.water-surface::before,
.water-surface::after {
  display: none;
}

@keyframes waterBob {
  from { transform: translateY(-4px); }
  to { transform: translateY(7px); }
}

/* Slightly taller CAPTCHA tiles without hiding the verify bar */
.captcha-wrap {
  width: min(710px, 100%);
}

.captcha-grid {
  width: min(600px, 100%);
}

.captcha-tile {
  aspect-ratio: 1 / 1.08;
}


/* v10: shrink CAPTCHA board by roughly 100px so Verify always remains visible */
.captcha-wrap {
  width: min(610px, 100%);
}

.captcha-grid {
  width: min(500px, 100%);
}

@media (max-width: 760px) {
  .captcha-wrap {
    width: min(560px, 100%);
  }

  .captcha-grid {
    width: min(460px, 100%);
  }
}


/* v11: final CAPTCHA size trim */
.captcha-wrap {
  width: min(590px, 100%);
}

.captcha-grid {
  width: min(480px, 100%);
}

@media (max-width: 760px) {
  .captcha-wrap {
    width: min(540px, 100%);
  }

  .captcha-grid {
    width: min(440px, 100%);
  }
}


/* =========================================================
   LEVEL 6 — FILL THE BURRITO
   ========================================================= */

.level-content:has(.burrito-game),
.level-content:has(.horse-game) {
  height: 100%;
  align-content: stretch;
  grid-template-rows: auto auto minmax(0, 1fr);
}

.burrito-game {
  width: min(850px, 100%);
  height: 100%;
  min-height: 0;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(350px, 1.3fr);
  gap: 18px;
  align-items: stretch;
}

.ingredient-tray,
.burrito-stage {
  min-height: 0;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.045);
  overflow: hidden;
}

.ingredient-tray {
  padding: 13px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 9px;
}

.ingredient {
  position: relative;
  min-height: 62px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  color: white;
  background: rgba(255,255,255,.075);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  cursor: grab;
  touch-action: none;
  transition: opacity .18s ease, transform .18s ease, filter .18s ease;
}

.ingredient:hover {
  transform: scale(1.03) rotate(-1deg);
}

.ingredient.is-used {
  opacity: .24;
  filter: grayscale(1);
  pointer-events: none;
  transform: scale(.88);
}

.ingredient-icon {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
}

.ingredient-name {
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.burrito-stage {
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(255,228,91,.1), transparent 38%),
    linear-gradient(145deg, rgba(255,77,184,.08), rgba(84,167,255,.08));
}

.burrito-drop-zone {
  position: relative;
  width: min(82%, 430px);
  height: min(72%, 330px);
  min-height: 230px;
  border-radius: 42% 42% 18% 18%;
  background:
    radial-gradient(ellipse at 50% 35%, #f2d18d 0 55%, #d8aa61 56% 72%, transparent 73%);
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.28));
  overflow: visible;
  transition: transform .2s ease, filter .2s ease;
}

.burrito-drop-zone.is-over {
  transform: scale(1.035);
  filter:
    drop-shadow(0 18px 22px rgba(0,0,0,.28))
    drop-shadow(0 0 18px rgba(88,255,241,.45));
}

.burrito-fill {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 17%;
  height: 42%;
  border-radius: 45% 45% 26% 26%;
  overflow: visible;
}

.burrito-chunk {
  position: absolute;
  left: var(--x);
  bottom: var(--y);
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  transform: translate(-50%, 0) rotate(var(--r));
  animation: ingredientSplat .34s cubic-bezier(.18,.85,.25,1.2) both;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.25));
}

.burrito-mess {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}

.burrito-mess::before,
.burrito-mess::after {
  content: "";
  position: absolute;
  bottom: 10%;
  width: 22%;
  height: 42%;
  border-radius: 50% 50% 65% 35%;
  background: linear-gradient(#7f4d1d, #9b5d20 35%, #e7d5a1 36% 58%, #82a849 59% 72%, #be3730 73%);
  filter: blur(.2px);
}

.burrito-mess::before {
  left: 9%;
  transform: rotate(19deg);
}

.burrito-mess::after {
  right: 8%;
  transform: rotate(-21deg) scaleX(-1);
}

.burrito-drop-zone.is-disaster .burrito-mess {
  opacity: 1;
}

.burrito-counter {
  position: absolute;
  right: 13px;
  top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--yellow);
  background: rgba(8,0,14,.72);
  border: 1px solid rgba(255,255,255,.13);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.burrito-result {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  place-items: center;
  background: rgba(10,0,16,.88);
  text-align: center;
}

.burrito-result.is-visible {
  display: grid;
  animation: resultPop .3s cubic-bezier(.18,.9,.28,1.25) both;
}

.crying-placeholder {
  position: relative;
  width: min(320px, 74%);
  aspect-ratio: 1;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, #f1c6a7 0 33%, transparent 34%),
    linear-gradient(135deg, rgba(255,77,184,.26), rgba(84,167,255,.26));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 24px 45px rgba(0,0,0,.36);
}

.crying-face {
  font-size: clamp(5rem, 15vw, 9rem);
  animation: cryingBob .24s ease-in-out infinite alternate;
}

.stock-thumb {
  position: absolute;
  right: -14%;
  bottom: -10%;
  font-size: clamp(4rem, 10vw, 7rem);
  transform: rotate(-8deg);
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.35));
}

.burrito-result-caption {
  margin-top: 14px;
  color: white;
  font-weight: 900;
  font-size: clamp(1rem, 2.4vw, 1.45rem);
}

/* =========================================================
   LEVEL 7 — POSTAL WORKER QUESTION
   ========================================================= */

.empathy-grid {
  width: min(760px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.empathy-choice {
  min-height: 108px;
  padding: 17px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: white;
  cursor: pointer;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
  font-size: clamp(.92rem, 2vw, 1.12rem);
  transition: transform .13s ease, border-color .13s ease, background .13s ease;
}

.empathy-choice:hover {
  transform: translateY(-2px);
  border-color: rgba(88,255,241,.5);
  background: rgba(88,255,241,.1);
}

.empathy-choice.is-picked {
  border-color: var(--cyan);
  background: rgba(88,255,241,.15);
  box-shadow: 0 0 24px rgba(88,255,241,.16);
}

/* =========================================================
   LEVEL 8 — DRAW A HORSE
   ========================================================= */

.horse-game {
  width: min(850px, 100%);
  height: 100%;
  min-height: 0;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 12px;
}

.horse-canvas-shell {
  min-height: 0;
  position: relative;
  overflow: hidden;
  border-radius: 19px;
  border: 1px solid rgba(255,255,255,.15);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    #fbf7e9;
  background-size: 24px 24px;
}

#horseCanvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  touch-action: none;
  cursor: crosshair;
}

.horse-watermark {
  position: absolute;
  right: 12px;
  bottom: 9px;
  color: rgba(25,8,34,.2);
  font-weight: 900;
  font-size: .64rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}

.horse-tools {
  display: grid;
  align-content: center;
  gap: 10px;
}

.horse-tool-button {
  min-height: 49px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  color: white;
  background: rgba(255,255,255,.065);
  cursor: pointer;
  font-weight: 900;
}

.horse-tool-button:hover {
  background: rgba(255,255,255,.1);
}

.horse-submit {
  background: linear-gradient(135deg, var(--pink), var(--blue));
}

.horse-question {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  place-items: center;
  background: rgba(9,0,15,.88);
  padding: 22px;
}

.horse-question.is-visible {
  display: grid;
  animation: resultPop .3s cubic-bezier(.18,.9,.28,1.25) both;
}

.horse-question-card {
  width: min(610px, 100%);
  padding: clamp(22px, 4vw, 34px);
  border-radius: 24px;
  background: rgba(20,5,30,.95);
  border: 1px solid rgba(255,255,255,.16);
  text-align: center;
}

.horse-question-card h2 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
}

.horse-answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.horse-answer {
  min-height: 64px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,77,184,.95), rgba(78,131,255,.95));
  color: white;
  font-weight: 900;
  cursor: pointer;
}

@keyframes ingredientSplat {
  from { opacity: 0; transform: translate(-50%, -90px) rotate(var(--r)) scale(.45); }
  to { opacity: 1; transform: translate(-50%, 0) rotate(var(--r)) scale(1); }
}

@keyframes cryingBob {
  from { transform: translateY(-3px) rotate(-1deg); }
  to { transform: translateY(3px) rotate(1deg); }
}

@media (max-width: 760px) {
  .burrito-game {
    grid-template-columns: 1fr;
    grid-template-rows: 132px minmax(0, 1fr);
    gap: 9px;
  }

  .ingredient-tray {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 7px;
    gap: 5px;
  }

  .ingredient {
    min-height: 54px;
    padding: 3px;
  }

  .ingredient-name {
    font-size: .52rem;
  }

  .burrito-drop-zone {
    height: 84%;
    min-height: 210px;
  }

  .empathy-grid {
    gap: 8px;
  }

  .empathy-choice {
    min-height: 86px;
    padding: 10px;
    font-size: .82rem;
  }

  .horse-game {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) 52px;
  }

  .horse-tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: stretch;
    gap: 6px;
  }

  .horse-tool-button {
    min-height: 44px;
  }

  #horseCanvas {
    min-height: 260px;
  }
}


/* =========================================================
   LEVEL 8 — HORSE PREVIEW
   ========================================================= */

.horse-preview {
  width: min(420px, 90%);
  max-height: 240px;
  margin: 0 auto 16px;
  display: block;
  object-fit: contain;
  border-radius: 16px;
  background: #fbf7e9;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 28px rgba(0,0,0,.28);
}

/* =========================================================
   LEVEL 9 — TYPE SEA MONKIES
   ========================================================= */

.sea-monkey-test {
  width: min(700px, 100%);
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.sea-monkey-display {
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(255,228,91,.14), transparent 58%),
    rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
}

.sea-monkey-phrase {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(2rem, 6vw, 4.5rem);
  text-shadow: 0 0 18px rgba(255,228,91,.24);
}

.tris-warning {
  margin: 13px 0 0;
  color: var(--cyan);
  font-weight: 900;
  transform: rotate(-2deg);
}

.sea-monkey-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.sea-monkey-input {
  min-width: 0;
  min-height: 56px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 16px;
  padding: 0 17px;
  color: white;
  background: rgba(255,255,255,.07);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  font-weight: 800;
  outline: none;
  text-transform: uppercase;
}

.sea-monkey-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(88,255,241,.12);
}

/* =========================================================
   LEVEL 10 — SUSPICIOUS BOXES
   ========================================================= */

.box-grid {
  width: min(760px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.suspicious-box {
  position: relative;
  min-height: 138px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  color: white;
  cursor: pointer;
  overflow: hidden;
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.suspicious-box:hover {
  transform: translateY(-3px) rotate(-.5deg);
  border-color: rgba(88,255,241,.45);
}

.suspicious-box.is-selected {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(88,255,241,.13), 0 0 24px rgba(88,255,241,.16);
}

.box-art {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 95px;
  height: 66px;
  transform: translate(-50%, -50%);
  background: linear-gradient(#b98a4d, #8c5e2d);
  border: 3px solid #5f3a19;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.08);
}

.box-art::before {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: -17px;
  height: 18px;
  background: #c79a5b;
  border: 3px solid #5f3a19;
  transform: skewX(-12deg);
}

.box-clue {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.15rem;
  z-index: 2;
  pointer-events: none;
}

.box-caption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 7px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: center;
}

/* =========================================================
   LEVEL 11 — MORAL QUESTION
   ========================================================= */

.moral-grid {
  width: min(790px, 100%);
  margin-inline: auto;
  display: grid;
  gap: 11px;
}

.moral-option {
  min-height: 62px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 13px 16px;
  color: white;
  background: rgba(255,255,255,.055);
  display: flex;
  align-items: center;
  gap: 13px;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.moral-option:hover {
  background: rgba(255,255,255,.09);
}

.moral-option.is-selected {
  border-color: var(--cyan);
  background: rgba(88,255,241,.12);
}

.moral-check {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  border: 2px solid rgba(255,255,255,.35);
  display: grid;
  place-items: center;
}

.moral-option.is-selected .moral-check {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #09121a;
}

.moral-actions {
  margin-top: 13px;
  display: flex;
  justify-content: center;
}

/* =========================================================
   LEVEL 12 — PACKAGE DASH
   ========================================================= */

.dash-game {
  position: relative;
  width: min(900px, 100%);
  height: min(420px, 58vh);
  min-height: 300px;
  margin-inline: auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(#29163a 0 66%, #54345e 66% 70%, #25122f 70%);
  touch-action: manipulation;
  user-select: none;
}

.dash-sky {
  position: absolute;
  inset: 0 0 30%;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,77,184,.16), transparent 25%),
    radial-gradient(circle at 76% 30%, rgba(88,255,241,.13), transparent 27%);
}

.dash-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 31%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 30px, transparent 30px 60px),
    linear-gradient(#44234f, #1d0d25);
  border-top: 4px solid rgba(255,255,255,.12);
}

.dash-package {
  position: absolute;
  left: 13%;
  bottom: 28%;
  width: 62px;
  height: 54px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: linear-gradient(#c79254, #8b592f);
  border: 3px solid #5f371b;
  font-size: 1.6rem;
  z-index: 4;
  transform-origin: center bottom;
}

.dash-package.is-jumping {
  animation: packageJump .58s cubic-bezier(.2,.65,.2,1);
}

.dash-obstacle {
  position: absolute;
  bottom: 28%;
  right: -100px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  z-index: 3;
  animation: obstacleTravel var(--speed) linear forwards;
}

.dash-score {
  position: absolute;
  right: 14px;
  top: 12px;
  z-index: 6;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(9,0,15,.7);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dash-instruction {
  position: absolute;
  left: 50%;
  top: 13px;
  transform: translateX(-50%);
  z-index: 6;
  color: white;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.dash-game.is-hit {
  animation: dashHit .28s linear 3;
}

@keyframes packageJump {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  48% { transform: translateY(-125px) rotate(9deg); }
}

@keyframes obstacleTravel {
  from { right: -80px; }
  to { right: calc(100% + 90px); }
}

@keyframes dashHit {
  from { transform: translateX(-6px); filter: saturate(1); }
  to { transform: translateX(6px); filter: saturate(1.7) brightness(.8); }
}

@media (max-width: 760px) {
  .sea-monkey-input-row {
    grid-template-columns: 1fr;
  }

  .sea-monkey-input-row .game-button {
    width: 100%;
  }

  .box-grid {
    gap: 7px;
  }

  .suspicious-box {
    min-height: 105px;
  }

  .box-art {
    width: 72px;
    height: 50px;
  }

  .box-clue {
    font-size: 1.65rem;
  }

  .box-caption {
    font-size: .55rem;
  }

  .moral-option {
    min-height: 54px;
    padding: 9px 11px;
    font-size: .78rem;
  }

  .dash-game {
    height: min(480px, 63vh);
  }

  .dash-package {
    left: 11%;
  }
}


/* v15: easier, floatier package jump */
.dash-package.is-jumping {
  animation: packageJumpEasy .82s cubic-bezier(.18,.72,.22,1);
}

@keyframes packageJumpEasy {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  28% {
    transform: translateY(-120px) rotate(7deg);
  }
  46% {
    transform: translateY(-132px) rotate(8deg);
  }
  62% {
    transform: translateY(-128px) rotate(7deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}


/* =========================================================
   LEVEL 13 — THE AGREEMENT
   ========================================================= */

.agreement-shell {
  width: min(820px, 100%);
  height: min(470px, 60vh);
  min-height: 330px;
  margin-inline: auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
}

.agreement-scroll {
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  scroll-behavior: smooth;
}

.agreement-scroll h3 {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.agreement-scroll p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.48;
}

.agreement-scroll strong {
  color: white;
}

.agreement-sea-monkey {
  color: var(--yellow) !important;
  font-weight: 900;
  font-size: 1.08rem;
  transform: rotate(-1deg);
}

.agreement-signature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 10px;
}

.agreement-input {
  min-width: 0;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  color: white;
  padding: 0 14px;
  font-weight: 800;
  outline: none;
}

.agreement-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(88,255,241,.12);
}

/* =========================================================
   LEVEL 14 — RED BUTTON
   ========================================================= */

.red-button-stage {
  width: min(780px, 100%);
  margin-inline: auto;
  display: grid;
  place-items: center;
  gap: 18px;
}

.giant-red-button {
  width: min(560px, 90%);
  min-height: 180px;
  border: 0;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 25%, rgba(255,255,255,.22), transparent 28%),
    linear-gradient(#ff5262, #b70d26 65%, #720718);
  color: white;
  cursor: pointer;
  box-shadow:
    0 18px 0 #5a0612,
    0 30px 45px rgba(0,0,0,.42),
    inset 0 -12px 18px rgba(80,0,10,.28);
  transition: transform .1s ease, box-shadow .1s ease;
}

.giant-red-button:hover {
  transform: translateY(-2px);
}

.giant-red-button:active {
  transform: translateY(13px);
  box-shadow:
    0 5px 0 #5a0612,
    0 15px 28px rgba(0,0,0,.36),
    inset 0 -8px 14px rgba(80,0,10,.28);
}

.giant-red-label {
  display: block;
  font-size: clamp(2rem, 6vw, 4.4rem);
}

.red-button-correction {
  display: none;
  width: min(660px, 100%);
  padding: 22px;
  border-radius: 20px;
  text-align: center;
  background: rgba(8,0,14,.82);
  border: 1px solid rgba(255,255,255,.14);
}

.red-button-correction.is-visible {
  display: grid;
  gap: 14px;
  animation: resultPop .3s cubic-bezier(.18,.9,.28,1.2) both;
}

.red-button-correction h3 {
  margin: 0;
  color: white;
  font-size: clamp(1.4rem, 4vw, 2.5rem);
}

.tiny-request-button {
  justify-self: center;
  min-width: 240px;
}

/* =========================================================
   LEVEL 15 — FINAL TEMPTATION
   ========================================================= */

.final-question-grid {
  width: min(780px, 100%);
  margin-inline: auto;
  display: grid;
  gap: 11px;
}

.final-choice {
  min-height: 62px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  color: white;
  background: rgba(255,255,255,.055);
  padding: 13px 16px;
  cursor: pointer;
  text-align: left;
  font-weight: 850;
  transition: transform .13s ease, background .13s ease, border-color .13s ease;
}

.final-choice:hover {
  transform: translateX(3px);
  background: rgba(255,255,255,.09);
}

.final-choice.is-selected {
  border-color: var(--cyan);
  background: rgba(88,255,241,.13);
}

.final-unlock {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(7,0,12,.88);
  z-index: 5;
}

.final-unlock.is-visible {
  display: grid;
  animation: resultPop .32s cubic-bezier(.18,.9,.28,1.2) both;
}

.unlock-card {
  width: min(560px, 90%);
  text-align: center;
  padding: 30px;
  border-radius: 24px;
  background: rgba(19,4,28,.96);
  border: 1px solid rgba(255,255,255,.16);
}

.unlock-card h2 {
  margin: 0 0 14px;
  color: white;
  font-size: clamp(2rem, 6vw, 4rem);
}

.unlock-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .agreement-shell {
    height: min(520px, 65vh);
  }

  .agreement-signature-row {
    grid-template-columns: 1fr;
  }

  .giant-red-button {
    min-height: 150px;
  }

  .final-choice {
    min-height: 54px;
    font-size: .8rem;
  }
}


/* v17: smoother package jump arc */
.dash-package.is-jumping {
  animation: packageJumpSmooth .92s cubic-bezier(.22,.64,.24,1);
}

@keyframes packageJumpSmooth {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  18% {
    transform: translateY(-58px) rotate(2deg);
  }
  38% {
    transform: translateY(-118px) rotate(5deg);
  }
  50% {
    transform: translateY(-132px) rotate(5.5deg);
  }
  62% {
    transform: translateY(-124px) rotate(4.5deg);
  }
  80% {
    transform: translateY(-62px) rotate(1.5deg);
  }
  92% {
    transform: translateY(-15px) rotate(.4deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}


/* v18: real art for the burrito level */
.ingredient {
  min-height: 76px;
  gap: 4px;
  padding: 6px;
}

.ingredient-art {
  width: 54px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.18));
  pointer-events: none;
}

.ingredient-name {
  font-size: .62rem;
  line-height: 1;
}

.burrito-drop-zone {
  background: transparent;
}

.tortilla-base {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(92%, 370px);
  max-height: 94%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 16px 22px rgba(0,0,0,.24));
  pointer-events: none;
  user-select: none;
}

.burrito-fill {
  left: 14%;
  right: 14%;
  bottom: 17%;
  height: 48%;
}

.burrito-chunk {
  width: clamp(46px, 9vw, 82px);
  height: clamp(34px, 7vw, 62px);
  object-fit: contain;
  position: absolute;
  left: var(--x);
  bottom: var(--y);
  transform: translate(-50%, 0) rotate(var(--r));
  animation: ingredientSplat .34s cubic-bezier(.18,.85,.25,1.2) both;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.2));
  pointer-events: none;
}

.burrito-drop-zone.is-disaster .tortilla-base {
  transform: translate(-50%, -50%) rotate(-2deg) scale(1.03);
}

.burrito-result-media {
  position: relative;
  width: min(370px, 84%);
  aspect-ratio: 1;
  margin-inline: auto;
}

.burrito-finish-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 24px 45px rgba(0,0,0,.36);
  display: block;
}

.burrito-cry-face {
  position: absolute;
  left: -8%;
  bottom: -6%;
  width: 34%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,.82);
  box-shadow: 0 18px 24px rgba(0,0,0,.35);
  animation: cryingBob .26s ease-in-out infinite alternate;
}

.burrito-thumb-real {
  position: absolute;
  right: -9%;
  bottom: -9%;
  width: 32%;
  object-fit: contain;
  transform: rotate(-8deg);
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.34));
}

@media (max-width: 760px) {
  .ingredient {
    min-height: 62px;
    padding: 4px;
  }

  .ingredient-art {
    width: 42px;
    height: 30px;
  }

  .ingredient-name {
    font-size: .46rem;
  }

  .burrito-result-media {
    width: min(290px, 88%);
  }
}


/* v19: image CAPTCHA */
.captcha-tile {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #12091a;
}

.captcha-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .18s ease, filter .18s ease;
}

.captcha-tile:hover .captcha-photo {
  transform: scale(1.045);
}

.captcha-tile.is-selected .captcha-photo {
  filter: brightness(.7) saturate(1.15);
}

.captcha-name {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  z-index: 2;
  padding: 4px 5px;
  border-radius: 7px;
  color: white;
  background: rgba(7,0,12,.78);
  font-size: .53rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.captcha-tile.is-selected::after {
  content: "✓";
  position: absolute;
  right: 5px;
  top: 5px;
  z-index: 3;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #071014;
  background: var(--cyan);
  font-size: .9rem;
  font-weight: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
}

/* v19: real Package Dash art */
.dash-package {
  width: 74px;
  height: 64px;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.dash-package img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 7px 7px rgba(0,0,0,.28));
  pointer-events: none;
}

.dash-obstacle {
  width: 72px;
  height: 72px;
  font-size: 0;
}

.dash-obstacle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 7px 7px rgba(0,0,0,.3));
  pointer-events: none;
}

@media (max-width: 760px) {
  .captcha-name {
    font-size: .44rem;
    padding: 3px;
  }

  .captcha-tile.is-selected::after {
    width: 20px;
    height: 20px;
    font-size: .75rem;
  }

  .dash-package {
    width: 65px;
    height: 57px;
  }

  .dash-obstacle {
    width: 62px;
    height: 62px;
  }
}


/* v20 burrito composition cleanup */
.burrito-mess {
  display: none !important;
}

.burrito-fill {
  left: 5%;
  right: 5%;
  bottom: 5%;
  height: 88%;
  overflow: visible;
}

.burrito-chunk {
  width: clamp(42px, 8vw, 76px);
  height: clamp(32px, 6.5vw, 58px);
}

.burrito-reaction-group {
  position: absolute;
  left: -7%;
  bottom: -7%;
  width: 45%;
  aspect-ratio: 1.05;
  z-index: 3;
}

.burrito-cry-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 15px 24px rgba(0,0,0,.34);
  animation: cryingBob .26s ease-in-out infinite alternate;
}

.burrito-thumb-real {
  position: absolute;
  right: -42%;
  bottom: -10%;
  width: 78%;
  max-height: 110%;
  object-fit: contain;
  transform: rotate(-8deg);
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.34));
}

/* Smooth GPU-driven package movement */
.dash-package {
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
}

.dash-package.is-jumping {
  animation: none !important;
}


/* v21: raise the combined burrito reaction */
.burrito-reaction-group {
  bottom: 4%;
}

/* Level 14 ominous hover treatment */
#levelStage {
  position: relative;
}

#levelStage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  background: rgba(125, 0, 12, 0);
  transition: background .28s ease;
}

#levelStage.address-danger-active::after {
  background: rgba(125, 0, 12, .22);
}

#levelStage.address-danger-active .level-content {
  animation: addressDangerShake .12s linear infinite;
  filter: saturate(1.14) contrast(1.04);
}

#levelStage.address-danger-active .giant-red-button {
  position: relative;
  z-index: 30;
}

@keyframes addressDangerShake {
  0% { transform: translate3d(-2px, 0, 0) rotate(-.08deg); }
  25% { transform: translate3d(2px, -1px, 0) rotate(.08deg); }
  50% { transform: translate3d(-1px, 1px, 0) rotate(-.05deg); }
  75% { transform: translate3d(2px, 1px, 0) rotate(.06deg); }
  100% { transform: translate3d(-2px, 0, 0) rotate(-.08deg); }
}

@media (prefers-reduced-motion: reduce) {
  #levelStage.address-danger-active .level-content {
    animation: none;
  }
}
