/* The Harness · cassette player. Everything on the stage is sized in cqw (1% of stage width),
   so the 16:9 scene scales as one picture from phone to desktop. */

:root {
  --ink: #12081d;
  --night: #0b0612;
  --pink: #ff3ea5;
  --gold: #ffc23d;
  --cream: #f3e9d2;
  --plum: #6a1b4d;
  --text: #fff7ea;
  --muted: #c9c2d4;
  --metal-hi: #3a3542;
  --metal-lo: #232029;
  --pulse: 0;
  --beam: 0deg;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--night); color: var(--text); }
body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.player {
  width: min(100%, 1280px);
  min-height: 100vh; min-height: 100dvh;
  padding: 12px 16px;
  display: grid;
  gap: 10px;
  align-content: center;
}

/* The video + its lyrics. Width is capped by the window height so the video and the deck
   always fit on one screen (deck + footnote + gaps ≈ 140px). */
.screen, .deck, .footnote {
  justify-self: center;
  width: min(100%, calc((100vh - 150px) * 16 / 9));
  width: min(100%, calc((100dvh - 150px) * 16 / 9));
}
.screen { position: relative; container-type: inline-size; }
.screen:has(.stage[data-scene="cold"]) .lyrics,
.screen:has(.stage[data-scene="sideb"]) .lyrics { visibility: hidden; }

/* ---------- stage ---------- */

.stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: var(--ink);
  container-type: inline-size;
  box-shadow: 0 20px 60px #000c;
}

.scene { position: absolute; inset: 0; transition: opacity 0.9s ease, transform 1.4s cubic-bezier(.6, 0, .2, 1); }

.scene--cassette {
  background: radial-gradient(ellipse 42cqw 34cqw at 50% 34%, #3a2a4a 0%, var(--ink) 75%);
}
.stage[data-scene="floor"] .scene--cassette { opacity: 0; transform: scale(3.4) translateY(4cqw); pointer-events: none; }
.stage[data-scene="cold"] .scene--floor,
.stage[data-scene="sideb"] .scene--floor { opacity: 0; }
.stage[data-scene="floor"] .scene--floor { animation: lights-on 1.6s steps(1) both; }
@keyframes lights-on {
  0% { opacity: 0; } 20% { opacity: 1; } 30% { opacity: .2; } 45% { opacity: 1; } 55% { opacity: .5; } 70%, 100% { opacity: 1; }
}

/* ---------- cassette ---------- */

.cassette {
  position: absolute; left: 50%; top: 44%;
  width: 46cqw; aspect-ratio: 560 / 350;
  transform: translate(-50%, -50%);
  perspective: 120cqw;
}
.cassette__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1.1s cubic-bezier(.5, 0, .2, 1); }
.stage[data-scene="sideb"] .cassette__inner { transform: rotateY(180deg); }
.cassette__face { position: absolute; inset: 0; backface-visibility: hidden; }
.cassette__face--b { transform: rotateY(180deg); }

.shell {
  position: absolute; inset: 0;
  border-radius: 1.4cqw;
  background: #2a2233;
  border: 0.25cqw solid #4a3f58;
  box-shadow: 0 2.5cqw 5cqw #000a, 0 0 4cqw #ff3ea533;
}
.screw { position: absolute; width: 0.95cqw; height: 0.95cqw; border-radius: 50%; background: #6b5f7a; }
.screw--tl { left: 2%; top: 3%; } .screw--tr { right: 2%; top: 3%; }
.screw--bl { left: 2%; bottom: 3%; } .screw--br { right: 2%; bottom: 3%; }

.label {
  position: absolute; left: 5.4%; right: 5.4%; top: 7.5%; height: 63%;
  border-radius: 0.6cqw; background: var(--cream); overflow: hidden; color: #1d1530;
}
.label__side {
  position: absolute; left: 3.6%; top: 6%;
  width: 3.4cqw; height: 3.4cqw; border-radius: 50%;
  border: 0.25cqw solid #1d1530;
  display: grid; place-items: center; font-weight: 700; font-size: 1.9cqw;
}
.label__title {
  position: absolute; left: 15%; top: 2.5%;
  font-family: "Permanent Marker", cursive; font-size: 2.6cqw; transform: rotate(-2deg);
}
.label__note { position: absolute; right: 4%; top: 9%; font-family: "Caveat", cursive; font-size: 1.8cqw; color: var(--plum); }
.label__stripes {
  position: absolute; left: 0; right: 0; bottom: 8%; height: 15%;
  background: linear-gradient(var(--gold) 0 33%, var(--pink) 33% 66%, var(--plum) 66%);
}
.label--b .label__title { font-size: 2.4cqw; }

.window {
  position: absolute; left: 21%; right: 21%; top: 31%; height: 25%;
  border-radius: 99cqw; background: #1a1422; border: 0.18cqw solid #3d3349; overflow: hidden;
  --packL: 0.95; --packR: 0.5; --spin: 0deg;
}
.tape-run { position: absolute; left: 25%; right: 25%; top: 36%; height: 30%; background: #5a3b22; }
.reel {
  position: absolute; top: 50%; aspect-ratio: 1; border-radius: 50%; background: #5a3b22;
  transform: translate(-50%, -50%); display: grid; place-items: center;
}
.reel--l { left: 17%; height: calc(var(--packL) * 100%); }
.reel--r { left: 83%; height: calc(var(--packR) * 100%); }
.hub {
  width: 2.6cqw; height: 2.6cqw; border-radius: 50%;
  background: repeating-conic-gradient(var(--cream) 0 22deg, #1a1422 22deg 60deg);
  transform: rotate(var(--spin));
}
.shell__foot {
  position: absolute; left: 21%; right: 21%; bottom: 0; height: 20%;
  border-radius: 0.8cqw 0.8cqw 0 0; background: #221b2b; border: 0.18cqw solid #4a3f58; border-bottom: 0;
}
.shell__foot span { position: absolute; top: 38%; width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: var(--night); }
.shell__foot span:first-child { left: 22%; } .shell__foot span:last-child { right: 22%; }

.hint {
  position: absolute; left: 0; right: 0; bottom: 8%; margin: 0; text-align: center;
  font-family: "VT323", monospace; font-size: 3cqw; letter-spacing: 0.2em; color: var(--gold);
  animation: blink 1.2s steps(1) infinite; opacity: 0;
}
.stage[data-scene="cold"] .hint--cold { opacity: 1; }
.stage[data-scene="sideb"] .hint--b { opacity: 1; }
@keyframes blink { 50% { visibility: hidden; } }

/* ---------- dance floor ---------- */

.beam {
  position: absolute; left: 50%; top: 3cqw; width: 0.3cqw; height: 62cqw; transform-origin: top center;
  transition: transform 0.6s ease;
}
.beam--1 { transform: rotate(calc(28deg + var(--beam))); background: linear-gradient(#ffc23d66, transparent 70%); }
.beam--2 { transform: rotate(calc(-28deg - var(--beam))); background: linear-gradient(#ff3ea566, transparent 70%); }
.beam--3 { transform: rotate(calc(52deg - var(--beam))); background: linear-gradient(#ff3ea544, transparent 60%); }
.beam--4 { transform: rotate(calc(-52deg + var(--beam))); background: linear-gradient(#ffc23d44, transparent 60%); }

.ball {
  position: absolute; left: 46.9cqw; top: -0.8cqw; width: 6.25cqw; height: 6.25cqw; border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, #fff3 0 0.15cqw, transparent 0.15cqw 0.8cqw),
    repeating-linear-gradient(90deg, #fff3 0 0.15cqw, transparent 0.15cqw 0.8cqw),
    radial-gradient(circle at 35% 35%, #fff, #b9b2c8 45%, #4a3f5c);
  box-shadow: 0 0 calc(2cqw + var(--pulse) * 3cqw) #ffc23d88;
}

.floor { position: absolute; left: 0; right: 0; bottom: -3cqw; height: 26cqw; perspective: 40cqw; overflow: hidden; }
.floor__grid {
  position: absolute; left: -47cqw; width: 194cqw; top: 0; height: 70cqw;
  transform: rotateX(62deg); transform-origin: top center;
  background: repeating-conic-gradient(var(--pink) 0 25%, #241238 0 50%) 0 0 / 12.5cqw 12.5cqw;
  opacity: 0.75;
  filter: brightness(calc(0.65 + var(--pulse) * 0.7));
}
.floor__fade { position: absolute; left: 0; right: 0; top: 29.7cqw; height: 9.4cqw; background: linear-gradient(var(--ink), transparent); }

.meter {
  position: absolute; left: 50%; top: 8.6cqw; transform: translate(-50%, 1cqw);
  font-family: "VT323", monospace; font-size: 2.3cqw; letter-spacing: 0.08em;
  padding: 0.3cqw 1.2cqw; border: 0.2cqw solid var(--gold); border-radius: 0.5cqw; color: var(--gold);
  background: #12081dcc; opacity: 0; transition: opacity .3s, transform .3s;
}
.meter.on { opacity: 1; transform: translate(-50%, 0); }

.ring {
  position: absolute; left: 28.9cqw; top: 11.7cqw; width: 42.2cqw; height: 23.4cqw; border-radius: 50%;
  border: 0.25cqw solid var(--gold); box-shadow: 0 0 2cqw var(--gold), inset 0 0 2cqw #ffc23d66;
  opacity: 0; transform: scale(1.25); transition: opacity .5s, transform .6s cubic-bezier(.2, 1.4, .4, 1);
}
.ring--dash { left: 31.25cqw; top: 13.3cqw; width: 37.5cqw; height: 20.3cqw; border: 0.16cqw dashed var(--pink); box-shadow: none; }
.ring.on { opacity: 1; transform: scale(1); }

.orb {
  position: absolute; left: 42.2cqw; top: 15.6cqw; width: 15.6cqw; height: 15.6cqw; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff, #ffd77a 22%, var(--pink) 62%, #4a1240);
  box-shadow: 0 0 calc(5cqw + var(--pulse) * 3cqw) var(--pink), 0 0 12cqw #ffc23d66;
  transform: scale(calc(1 + var(--pulse) * 0.04));
  transition: left .8s, top .8s, width .8s, height .8s, background .8s;
}
.orb__badge, .orb__zz {
  position: absolute; left: 50%; top: -2.6cqw; transform: translateX(-50%);
  font-family: "VT323", monospace; font-size: 1.9cqw; letter-spacing: .1em; white-space: nowrap;
  padding: 0 0.8cqw; border-radius: 99cqw; background: var(--ink); border: 0.16cqw solid var(--gold); color: var(--gold);
  opacity: 0; transition: opacity .3s;
}
.orb__zz { top: 40%; left: auto; right: -5cqw; transform: none; border: 0; background: none; color: #9fb4ff; }
.orb.agent .orb__badge, .stage.night .orb__zz { opacity: 1; }

/* Name the two big ideas on screen: the orb is the (rented) model, the ring is your harness. */
.orb__label {
  position: absolute; left: 50%; top: calc(100% + 1cqw); transform: translateX(-50%);
  padding: 0.3cqw 1.1cqw; border-radius: 99cqw; white-space: nowrap;
  background: var(--ink); border: 0.16cqw solid var(--pink); color: var(--text);
  font-weight: 700; font-size: 1.5cqw; letter-spacing: 0.14em; box-shadow: 0 0 1.2cqw #ff3ea566;
}
.ring-label {
  position: absolute; left: 50%; top: 10.4cqw; transform: translate(-50%, 1cqw);
  padding: 0.3cqw 1.1cqw; border-radius: 99cqw; white-space: nowrap;
  background: var(--ink); border: 0.16cqw solid var(--gold); color: var(--gold);
  font-weight: 700; font-size: 1.5cqw; letter-spacing: 0.14em;
  opacity: 0; transition: opacity .4s, transform .5s cubic-bezier(.2, 1.4, .4, 1);
}
.ring-label.on { opacity: 1; transform: translate(-50%, 0); }
.stage[data-view="bridge"] .ring-label,
.stage[data-view="outro"] .ring-label { opacity: 0; }
.stage[data-view="outro"] .orb__label { font-size: 1.1cqw; top: calc(100% + 0.6cqw); }

.chips { position: absolute; top: 13.3cqw; display: flex; flex-direction: column; gap: 3.1cqw; }
.chips--left { right: 75cqw; align-items: flex-end; }
.chips--right { left: 75cqw; align-items: flex-start; }
.chip {
  position: relative; display: flex; align-items: center; gap: 0.8cqw;
  padding: 0.8cqw 1.4cqw; border-radius: 99cqw; white-space: nowrap;
  border: 0.16cqw solid var(--gold); background: #1d0f2ecc; box-shadow: 0 0 1.25cqw #ffc23d88;
  font-weight: 700; font-size: 1.4cqw; letter-spacing: 0.06em;
  opacity: 0; transition: opacity .35s, transform .45s cubic-bezier(.2, 1.6, .4, 1), background .2s;
}
.chips--left .chip { transform: translateX(-4cqw); }
.chips--right .chip { transform: translateX(4cqw); }
.chip.on { opacity: 1; transform: none; }
.chip svg { width: 1.7cqw; height: 1.7cqw; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip .rec, .chip .blocked, .chip .handback {
  font-family: "VT323", monospace; font-size: 1.5cqw; letter-spacing: .08em; padding: 0 0.6cqw; border-radius: 0.4cqw;
  display: none;
}
.chip .rec { color: #ff4b4b; }
.chip.rec-on .rec { display: inline; animation: blink .8s steps(1) infinite; }
.chip .blocked { background: #ff4b4b; color: var(--text); }
.chip.blocked .blocked { display: inline; }
.chip.blocked { background: #3a0b1acc; }
.tries { display: none; gap: 0.4cqw; }
.tries i { width: 0.9cqw; height: 0.9cqw; border-radius: 50%; border: 0.16cqw solid var(--gold); }
.tries i.lit { background: var(--gold); }
.chip.trying .tries { display: inline-flex; }
.chip.handback .handback { display: inline; color: var(--gold); }
.chip.flash { background: var(--gold); color: var(--ink); }
.chip.flash svg { stroke: var(--ink); }

.bigword {
  position: absolute; left: 0; right: 0; top: 36cqw; text-align: center; pointer-events: none;
  opacity: 0; transition: opacity .25s;
}
.bigword__main {
  display: block; font-family: "Monoton", cursive; font-size: 10.3cqw; line-height: 1; color: var(--pink);
  text-shadow: 0 0 1.4cqw var(--pink), 0.3cqw 0.3cqw 0 var(--gold);
}
.bigword__echo { display: block; margin-top: 0.3cqw; font-family: "Monoton", cursive; font-size: 3.1cqw; color: var(--gold); letter-spacing: .1em; opacity: .85; }
.bigword.chorus { opacity: .35; }
.bigword.hit { opacity: 1; }
.bigword.hit .bigword__main { animation: stamp .45s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes stamp { from { transform: scale(1.18); } to { transform: scale(1); } }

/* Night: "running while I sleep" */
.stage.night .floor__grid { filter: brightness(0.25) hue-rotate(-40deg); }
.stage.night .scene--floor::after { content: ""; position: absolute; inset: 0; background: #0a1a5a55; pointer-events: none; }

/* Bridge: rubric, the 95% trap, goal vs baseline */
.bridge {
  position: absolute; left: 7cqw; right: 7cqw; top: 9cqw;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2cqw;
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.stage[data-view="bridge"] .bridge { opacity: 1; }
.stage[data-view="bridge"] .chips,
.stage[data-view="bridge"] .ring,
.stage[data-view="bridge"] .orb { opacity: 0; }
.card {
  padding: 1.6cqw; border-radius: 1cqw; background: #1d0f2ee6; border: 0.16cqw solid var(--gold);
  min-height: 17cqw; opacity: 0; transform: translateY(2cqw); transition: opacity .35s, transform .45s cubic-bezier(.2, 1.4, .4, 1);
}
.card.on { opacity: 1; transform: none; }
.card p { margin: 0; }
.card__k { font-family: "VT323", monospace; font-size: 1.8cqw; letter-spacing: .1em; color: var(--gold); margin-bottom: 0.8cqw !important; }
.card__check { font-size: 1.6cqw; line-height: 1.7; }
.card__big { font-family: "Monoton", cursive; font-size: 7cqw; line-height: 1; color: var(--pink); text-shadow: 0 0 1.2cqw var(--pink); }
.card__wrong { margin-top: 0.8cqw !important; font-family: "VT323", monospace; font-size: 2.4cqw; color: #ff6b6b; }
.card__note { margin-top: 0.8cqw !important; font-family: "Caveat", cursive; font-size: 2.2cqw; color: var(--cream); }
.gauge {
  position: relative; height: 8cqw; border-radius: 9cqw 9cqw 0.4cqw 0.4cqw; background: var(--cream); overflow: hidden;
}
.gauge::before { content: ""; position: absolute; left: 8%; right: 8%; top: 12%; height: 0.35cqw; background: linear-gradient(90deg, #1d1530 70%, #d12f6d 70%); }
.gauge__needle {
  position: absolute; left: calc(50% - 0.12cqw); bottom: 0.4cqw; width: 0.24cqw; height: 6.6cqw; background: #d12f6d;
  transform-origin: bottom center; transform: rotate(-50deg);
}

/* Outro: six surfaces as dance-floor tiles */
.tiles {
  position: absolute; left: 13.7cqw; right: 13.7cqw; top: 22cqw;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4cqw;
  transform: perspective(70cqw) rotateX(18deg); transform-origin: center top;
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.stage[data-view="outro"] .tiles { opacity: 1; }
.stage[data-view="outro"] .chips { opacity: 0; }
.stage[data-view="outro"] .orb { left: 46.1cqw; top: 6cqw; width: 7.8cqw; height: 7.8cqw; }
.stage[data-view="outro"] .ring { left: 44.5cqw; top: 4.4cqw; width: 11cqw; height: 11cqw; }
.stage[data-view="outro"] .ring--dash { opacity: 0; }
.stage.finale .orb { background: radial-gradient(circle at 38% 34%, #fff, #ffe7a8 25%, var(--gold) 60%, #7a4a00); box-shadow: 0 0 6cqw var(--gold); }
.tile {
  height: 10cqw; border-radius: 0.8cqw; display: grid; place-items: center;
  font-weight: 700; font-size: 2cqw; letter-spacing: .08em; color: #ffffff55;
  background: #241238; border: 0.16cqw solid #3d2a55; transition: background .2s, color .2s, box-shadow .2s;
}
.tile.on { color: var(--ink); background: var(--pink); box-shadow: 0 0 2cqw var(--pink); }
.tile.on:nth-child(even) { background: var(--gold); box-shadow: 0 0 2cqw var(--gold); }
.tile.on.now { background: var(--text); box-shadow: 0 0 3cqw #fff, 0 0 7cqw var(--gold); }

/* HUD + tape look */
.hud {
  position: absolute; top: 1.6cqw; margin: 0; font-family: "VT323", monospace; font-size: 2.4cqw; color: var(--text);
  text-shadow: 0.15cqw 0 var(--pink), -0.15cqw 0 #2de2e6; letter-spacing: .06em;
}
.hud--state { left: 2.4cqw; }
.hud--section { right: 2.4cqw; }
.scanlines { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, #0003 0 2px, transparent 2px 4px); }
.vignette { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 12cqw #000c; }

/* ---------- lyrics ---------- */

/* Phones: a strip under the video. */
.lyrics {
  margin-top: 10px; min-height: 84px; padding: 12px 16px; border-radius: 12px; text-align: center;
  background: #160c22; border: 1px solid #2c1d3d;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.lyrics[hidden] { display: none; }
.lyrics__now { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; color: #ffffff66; }
.lyrics__now .w { transition: color .12s; }
.lyrics__now .w.sung { color: var(--gold); text-shadow: 0 0 12px #ffc23d66; }

/* Wider screens: subtitles over the bottom of the video, so eyes never leave the picture. */
@media (min-width: 700px) {
  .lyrics {
    position: absolute; left: 0; right: 0; bottom: 0; margin: 0; min-height: 0;
    padding: 6cqw 4cqw 1.8cqw; border: 0; border-radius: 0 0 14px 14px; pointer-events: none;
    background: linear-gradient(transparent, #0b0612d9 55%);
  }
  .lyrics__now { font-size: clamp(17px, 2.7cqw, 36px); color: #ffffffa6; text-shadow: 0 2px 8px #000; }
  .screen:has(.lyrics:not([hidden])) .bigword__echo { display: none; }
}

/* ---------- deck ---------- */

.deck {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 10px 16px 14px; border-radius: 16px;
  background: linear-gradient(var(--metal-hi), var(--metal-lo)); border: 1px solid #4d4757;
}
.transport { display: flex; gap: 10px; flex-wrap: wrap; }
.key {
  width: 60px; height: 48px; border-radius: 8px; cursor: pointer;
  border: 2px solid #5b5566; background: #d9d4cc; box-shadow: 0 6px 0 #6f6878;
  display: grid; place-items: center; transition: transform .06s, box-shadow .06s, background .15s;
}
.key svg { width: 26px; height: 26px; fill: #2b2733; }
.key:active, .key[aria-pressed="true"] { transform: translateY(5px); box-shadow: 0 1px 0 #6f6878; }
.key[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); box-shadow: 0 1px 0 #6f6878, 0 0 20px #ffc23d99; }
.key:focus-visible, .pill:focus-visible { outline: 3px solid #2de2e6; outline-offset: 3px; }
.key--play .i-pause { display: none; }
.key--play.is-playing .i-play { display: none; }
.key--play.is-playing .i-pause { display: block; }


.extras { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font: 700 14px/1 "Space Grotesk", sans-serif; letter-spacing: .04em;
  color: var(--ink); background: var(--cream); border: 2px solid #5b5566;
}
.pill[aria-pressed="false"] { background: transparent; color: var(--muted); }
.pill--dark { background: #1d1530; color: var(--cream); border-color: #1d1530; }

.footnote { margin: 0; text-align: center; font-size: 12px; color: var(--muted); }

/* ---------- lyric card (J-card) ---------- */

.jcard {
  width: min(92vw, 560px); max-height: 86vh; padding: 0; border: 0; border-radius: 10px;
  background: var(--cream); color: #1d1530; box-shadow: 0 30px 80px #000c;
}
.jcard::backdrop { background: #0b0612cc; }
.jcard__head {
  position: sticky; top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px;
  padding: 18px 22px 14px; background: var(--cream); border-bottom: 6px solid var(--pink);
}
.jcard__head h2 { margin: 0; font: 400 34px/1 "Permanent Marker", cursive; }
.jcard__head p { margin: 0; flex: 1; font: 600 22px/1 "Caveat", cursive; color: var(--plum); }
.jcard__body { padding: 8px 22px 24px; }
.jcard__body h3 { margin: 18px 0 4px; font: 400 15px/1 "VT323", monospace; letter-spacing: .15em; color: var(--plum); }
.jcard__body p { margin: 0; font-size: 17px; line-height: 1.6; }

/* Preview links (#t=…, #sideb) show the final state of a moment, without transitions. */
.stage.preview *, .stage.preview { transition: none !important; animation: none !important; }

/* ---------- small screens / motion ---------- */

@media (max-width: 640px) {
  .player { padding: 12px; gap: 10px; }
  .deck { padding: 14px; justify-content: center; }
  .key { width: 54px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .stage[data-scene="floor"] .scene--floor { animation: none; }
  .hint { animation: none; }
  .scene, .chip, .card, .ring { transition-duration: .01s; }
  .bigword.hit .bigword__main { animation: none; }
}
