:root {
  --bg: #0c0c0e;
  --ink: #ebe6da;
  --dim: #77736b;
  --acid: #c6ff3a;
  --hot: #ff4d2e;
  --beat: 0;            /* 0..1, дёргается под бит из main.js */
  --display: 'Unbounded', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); }
body {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.4;
  overflow-x: hidden;
  /* сетка-миллиметровка, линии чуть вспыхивают на бит */
  background:
    linear-gradient(rgb(235 230 218 / calc(.035 + var(--beat) * .05)) 1px, transparent 1px) 0 0 / 100% 80px,
    linear-gradient(90deg, rgb(235 230 218 / .035) 1px, transparent 1px) 0 0 / 80px 100%,
    var(--bg);
}
body.locked { overflow: hidden; height: 100vh; }
body.shake { animation: shake .35s; }
@keyframes shake {
  20% { transform: translate(-10px, 4px) } 40% { transform: translate(9px, -5px) }
  60% { transform: translate(-6px, 2px) } 80% { transform: translate(4px, -1px) }
}
@media (hover: hover) { body, button { cursor: none; } }
b { font-weight: 700; }
i { font-style: normal; color: var(--acid); }
::selection { background: var(--acid); color: var(--bg); }

#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 70; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: 39; pointer-events: none; opacity: .13; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───── стартовый экран ───── */
#gate {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  clip-path: circle(150% at 50% 50%);
  transition: clip-path .9s cubic-bezier(.7, 0, .2, 1);
  text-transform: uppercase; letter-spacing: .08em; font-size: 12px;
}
#gate.open { clip-path: circle(0 at 50% 50%); }
.gate-tl { position: absolute; top: 28px; left: 28px; }
.gate-br { position: absolute; bottom: 28px; right: 28px; text-align: right; color: var(--dim); }
.gate-mid { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 56px; }
#start {
  position: relative; width: 150px; height: 150px; border-radius: 50%;
  background: none; border: 5px solid var(--ink); color: var(--ink);
  font: 900 54px var(--display);
}
#start::before {            /* сжимающееся кольцо */
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 3px solid var(--acid); animation: approach 1.3s linear infinite;
}
@keyframes approach { from { transform: scale(2.8); opacity: 0 } 30% { opacity: 1 } to { transform: scale(1) } }
#start:hover { background: var(--ink); color: var(--bg); }

/* ───── оверлей ───── */
.hud {
  position: fixed; left: 0; right: 0; z-index: 30; padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: flex-end;
  pointer-events: none; text-transform: uppercase; letter-spacing: .06em; font-size: 12px;
  mix-blend-mode: difference;
}
.hud-top { top: 0; align-items: flex-start; }
.hud-bot { bottom: 6px; }
.hud-top b { display: block; font: 700 14px var(--display); letter-spacing: 0; }
.hud-top span { color: var(--dim); }
.acc { font: 700 20px var(--display); letter-spacing: 0; }
.combo {
  font: 900 clamp(40px, 6vw, 84px)/.9 var(--display); letter-spacing: -.04em;
  transform-origin: 100% 100%; transform: scale(calc(1 + var(--beat) * .06));
}
.combo.pop { animation: pop .25s; }
@keyframes pop { from { transform: scale(1.45) } }
.keys { display: flex; gap: 6px; }
.keys i {
  width: 46px; height: 46px; border: 2px solid var(--ink); color: var(--ink);
  display: grid; place-content: center; text-align: center; font-weight: 700; line-height: 1.1;
}
.keys em { display: block; font-style: normal; font-weight: 400; font-size: 9px; color: var(--dim); }
.keys i.on { background: var(--ink); color: #000; transform: scale(.92); }
.keys i.on em { color: #000; }
.timeline { position: fixed; left: 0; right: 0; bottom: 0; height: 6px; z-index: 31; background: rgb(235 230 218 / .12); }
#tl-fill { height: 100%; width: 0; background: var(--acid); }
#miss {
  position: fixed; inset: 0; z-index: 35; display: grid; place-content: center; pointer-events: none;
  font: 900 22vw var(--display); color: var(--hot); text-transform: uppercase; letter-spacing: -.06em;
  opacity: 0;
}
#miss.show { animation: miss .9s cubic-bezier(.2, .8, .2, 1); }
@keyframes miss { 0% { opacity: 1; transform: scale(1.3) rotate(-4deg) } 60% { opacity: 1 } 100% { opacity: 0; transform: translateY(60px) rotate(-7deg) } }

/* ───── слайды ───── */
.slide {
  position: relative; min-height: 100vh; padding: 110px 6vw 170px;
  display: flex; flex-direction: column; justify-content: center;
  --p: 0;               /* 0..1 — прогресс слайда через экран */
}
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--dim); margin-bottom: 26px; }
.kicker::before { content: '// '; color: var(--acid); }

[data-rv] { opacity: 0; transform: translateY(28px); transition: opacity .6s, transform .8s cubic-bezier(.2, .8, .2, 1); }
[data-rv].in { opacity: 1; transform: none; }

.mega {
  font: 900 clamp(54px, 13.5vw, 230px)/.86 var(--display);
  letter-spacing: -.055em; text-transform: uppercase;
}
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span {
  display: block; transform: translateY(112%) rotate(4deg); transform-origin: 0 100%;
  transition: transform .85s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 110ms);
}
.in .line > span { transform: none; }

/* заглавный */
.s-title { justify-content: flex-end; padding-bottom: 150px; }
.s-title .mega {
  margin-left: -.05em; white-space: nowrap;
  transform: translateX(calc((var(--p) - .5) * -28vw)) scale(calc(1 + var(--beat) * .012)); transform-origin: 0 100%;
}
.s-title .mega.in { transition: none; }
.diffline { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; margin-top: 30px; font: 700 clamp(15px, 2vw, 26px) var(--display); }
.diffline .stars { color: var(--acid); }
.diffline .by { font: 400 12px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .12em; }
.sticker {
  position: absolute; top: 16vh; right: 7vw; width: clamp(120px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%;
  background: var(--acid); color: var(--bg); display: grid; place-content: center; text-align: center;
  font: 900 clamp(13px, 1.5vw, 20px)/1.05 var(--display); text-transform: uppercase;
  transform: rotate(calc(-14deg + var(--p) * 90deg)) scale(calc(1 + var(--beat) * .07));
}
.scrollhint { position: absolute; left: 6vw; bottom: 70px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); animation: bob 1.2s steps(2) infinite; }
@keyframes bob { 50% { transform: translateY(8px) } }

/* текст */
.s-text { min-height: 120vh; }
.s-text .mega { font-size: clamp(44px, 10.5vw, 180px); }
.s-text.right { align-items: flex-end; text-align: right; }
.s-text.right .line > span { transform-origin: 100% 100%; transform: translateY(112%) rotate(-4deg); }
.s-text.right.slide .in .line > span { transform: none; }
.note {
  align-self: flex-end; margin-top: 40px; max-width: 280px; padding: 10px 14px;
  background: var(--ink); color: var(--bg); font-weight: 700;
  transform: rotate(calc(3deg - var(--p) * 8deg)) translateY(calc(var(--p) * -70px));
}
.s-text.right .note { align-self: flex-start; }

/* цифры */
.s-stats ul { list-style: none; padding: 0; border-top: 2px solid var(--ink); }
.s-stats li {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: end;
  padding: 18px 0 14px; border-bottom: 1px solid rgb(235 230 218 / .25);
}
.s-stats .val { font: 900 clamp(36px, 8vw, 128px)/.9 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-stats li:nth-child(even) .val { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.s-stats .lab { padding-bottom: .6em; max-width: 300px; }

/* ленты */
.s-tape { min-height: 70vh; padding: 0; overflow: hidden; justify-content: center; }
.tape {
  white-space: nowrap; font: 900 clamp(26px, 5vw, 70px)/1 var(--display); text-transform: uppercase;
  padding: .28em 0; width: 130vw; margin-left: -15vw;
}
.tape span { display: inline-block; will-change: transform; }
.tape.a { background: var(--acid); color: var(--bg); transform: rotate(-4deg); }
.tape.a span { transform: translateX(calc(var(--p) * -60vw)); }
.tape.b { background: var(--ink); color: var(--bg); transform: rotate(3deg) translateY(-30%); }
.tape.b span { transform: translateX(calc(-70vw + var(--p) * 60vw)); }

/* медиа */
.s-media { min-height: 120vh; }
.frame { --ar: 1.6; position: relative; width: min(62vw, 880px, calc(56vh * var(--ar))); transform: rotate(calc(-2.5deg + var(--p) * 3deg)); }
.s-media.right .frame { align-self: flex-end; transform: rotate(calc(2.5deg - var(--p) * 3deg)); }
.frame .pic { position: relative; aspect-ratio: var(--ar); background: #000; overflow: hidden; outline: 2px solid var(--ink); outline-offset: 10px; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(calc(1.15 - var(--p) * .15)); }
.frame .empty {
  height: 100%; display: grid; place-content: center; text-align: center; color: var(--dim); text-transform: uppercase; letter-spacing: .14em; font-size: 12px;
  background: repeating-linear-gradient(-45deg, transparent 0 14px, rgb(235 230 218 / .07) 14px 15px);
}
.frame .tag {
  position: absolute; top: -34px; left: -10px; background: var(--hot); color: var(--bg);
  padding: 3px 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12px;
}
.frame figcaption { margin-top: 26px; font: 700 clamp(15px, 1.8vw, 24px)/1.2 var(--display); max-width: 22em; }
@media (max-width: 700px) { .frame { width: min(86vw, calc(60vh * var(--ar))); } }
.snd {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; background: var(--ink); color: var(--bg);
  padding: 3px 9px; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; pointer-events: none;
}
.sound .snd { background: var(--acid); }
.sound .snd::after { content: ' ✓'; }

/* стопка фото */
.pile { position: relative; flex: 1; min-height: 0; }
.snap {
  --k: clamp(0, calc(var(--q) * (var(--n) + .6) - var(--i)), 1);
  position: absolute; left: 50%; top: 50%; width: min(52vw, 46vh); margin: 0;
  background: var(--ink); color: var(--bg); padding: 10px 10px 0;
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) + (1 - var(--k)) * 120vh)) rotate(calc(var(--r) + (1 - var(--k)) * 40deg));
}
.snap img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.snap figcaption { padding: 10px 2px 12px; font-weight: 700; line-height: 1.25; min-height: 3.6em; }

/* тест на нажимание */
.s-mash { align-items: flex-start; }
.s-mash h2 { font: 900 clamp(34px, 7vw, 110px)/.9 var(--display); letter-spacing: -.05em; text-transform: uppercase; }
.mash-box { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 36px 60px; align-items: flex-end; width: 100%; }
.pads { display: flex; gap: 12px; }
.pad {
  width: clamp(92px, 12vw, 150px); aspect-ratio: 1; background: none; border: 4px solid var(--ink); color: var(--ink);
  font: 900 clamp(32px, 4vw, 56px) var(--display); touch-action: manipulation; user-select: none;
}
.pad.on { background: var(--acid); border-color: var(--acid); color: var(--bg); transform: scale(.93); }
.readout .bpm { font: 900 clamp(56px, 11vw, 170px)/.85 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.readout .bpm small { font: 700 16px var(--mono); letter-spacing: .1em; color: var(--dim); margin-left: 8px; }
.readout .verdict { margin-top: 14px; min-height: 2.8em; max-width: 420px; }
.mash-bar { width: 100%; height: 10px; background: rgb(235 230 218 / .15); margin-top: 34px; }
.mash-bar div { height: 100%; width: 100%; background: var(--hot); transform-origin: 0 50%; transform: scaleX(0); }

/* финал */
.s-finale { min-height: 130vh; display: grid; grid-template-columns: auto 1fr; gap: 5vw; align-items: center; align-content: center; }
.grade {
  font: 900 clamp(150px, 30vw, 520px)/.74 var(--display); letter-spacing: -.09em; color: var(--acid);
  transform: scale(calc(1 + var(--beat) * .03)) rotate(-6deg); transform-origin: 40% 60%; padding-right: .08em;
}
.grade[data-rv] { opacity: 0; transition: none; }
.grade.in { opacity: 1; animation: stamp .55s cubic-bezier(.2, 1.6, .3, 1); }
@keyframes stamp { from { transform: scale(4) rotate(14deg); opacity: 0 } }
.s-finale h2 { font: 900 clamp(30px, 5.4vw, 92px)/.92 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.s-finale dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 26px; margin: 34px 0; padding: 16px 0; border-block: 2px solid var(--ink); text-transform: uppercase; letter-spacing: .08em; max-width: 460px; }
.s-finale dt { color: var(--dim); }
.s-finale dd { font-weight: 700; text-align: right; }
.wish { max-width: 520px; font-size: 16px; }
#retry {
  margin-top: 36px; background: none; border: 2px solid var(--ink); color: var(--ink);
  font: 700 13px var(--mono); text-transform: uppercase; letter-spacing: .16em; padding: 12px 22px;
}
#retry:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 800px) { .s-finale { grid-template-columns: 1fr; } .keys { display: none; } }

/* ───── громкость ───── */
.hud-r { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
#vol { display: flex; align-items: center; gap: 8px; pointer-events: auto; color: var(--dim); font-size: 11px; }
#vol-bar { display: flex; gap: 3px; padding: 6px 0; touch-action: none; }
#vol-bar i { width: 5px; height: 14px; background: rgb(235 230 218 / .25); }
#vol-bar i.on { background: var(--ink); }
#vol-num { background: none; border: 0; color: var(--ink); font: 700 11px var(--mono); width: 34px; text-align: right; text-transform: uppercase; padding: 4px 0; }

/* ───── разгон: киаи и громкие куски трека ───── */
#flashbang { position: fixed; inset: 0; z-index: 38; background: var(--ink); opacity: 0; pointer-events: none; }
#flashbang.go { animation: flashbang .5s ease-out; }
@keyframes flashbang { from { opacity: .5 } to { opacity: 0 } }
.edge { position: fixed; top: 0; bottom: 0; width: 8px; z-index: 32; background: var(--acid); opacity: 0; pointer-events: none; transform-origin: 0 50%; }
.edge.r { right: 0; transform-origin: 100% 50%; }
.hype .edge { opacity: calc(.15 + var(--beat) * .85); transform: scaleX(calc(1 + var(--beat) * 2.5)); }
.hype .mega, .hype .flash-word, .hype .rank, .hype .run-text {
  text-shadow: calc(var(--beat) * 7px) 0 var(--hot), calc(var(--beat) * -7px) 0 #3ae0ff;
}
.hype #tl-fill { background: var(--hot); }

/* ───── финальный отрезок трека: стробоскоп и тряска ───── */
#strobe { position: fixed; inset: 0; z-index: 37; background: #fff; mix-blend-mode: difference; opacity: 0; pointer-events: none; }
#strobe.on { opacity: 1; }
.rave #deck { animation: rave-a .11s steps(1) infinite; }
.rave .hud, .rave .timeline { animation: rave-b .13s steps(1) infinite; }
.rave .edge { width: 22px; background: var(--hot); }
.rave .mega, .rave .flash-word, .rave .rank, .rave .run-text, .rave .grade, .rave .s-finale h2 {
  text-shadow: 14px 0 var(--hot), -14px 0 #3ae0ff;
}
@keyframes rave-a {
  0% { transform: translate(-14px, 8px) rotate(-.6deg) } 25% { transform: translate(12px, -10px) rotate(.5deg) }
  50% { transform: translate(-8px, -12px) rotate(.3deg) } 75% { transform: translate(15px, 9px) rotate(-.4deg) }
}
@keyframes rave-b {
  0% { transform: translate(6px, -4px) } 33% { transform: translate(-7px, 5px) } 66% { transform: translate(4px, 6px) }
}
@media (prefers-reduced-motion: reduce) {
  #strobe { display: none; }
  .rave #deck, .rave .hud, .rave .timeline { animation: none; }
}

/* ───── закреплённые слайды ───── */
.pin { display: block; padding: 0; min-height: 0; height: var(--len, 250vh); --q: 0; }
.stick {
  position: sticky; top: 0; height: 100vh; overflow: hidden; padding: 110px 6vw 150px;
  display: flex; flex-direction: column; justify-content: center;
}

/* слова в такт */
.flash-word {
  font: 900 clamp(60px, 17vw, 300px)/.9 var(--display); letter-spacing: -.06em; text-transform: uppercase;
  white-space: nowrap; transform-origin: 0 60%;
}
.flash-word.alt { color: var(--acid); }
.flash-word.punch { animation: punch .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes punch { from { transform: scale(1.12) skewX(-8deg) } }
.flash-n { margin-top: 30px; color: var(--dim); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }

/* бегущая строка на весь экран */
.s-run .stick { padding-inline: 0; }
.run-text {
  display: inline-block; align-self: flex-start; white-space: nowrap;
  font: 900 34vh/1 var(--display); letter-spacing: -.05em; text-transform: uppercase;
  transform: translateX(calc(100vw - var(--q) * (100% + 100vw)));
}
.run-text i { -webkit-text-stroke: 3px var(--acid); color: transparent; }

/* график ранга */
.rank { font: 900 clamp(48px, 11vw, 190px)/.9 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.s-graph svg { width: 100%; height: 34vh; margin-top: 24px; overflow: visible; border-bottom: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.s-graph path {
  fill: none; stroke: var(--acid); stroke-width: 4; vector-effect: non-scaling-stroke; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--q) * 1.04);
}
.graph-ax { display: flex; justify-content: space-between; margin-top: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }

/* достижения */
.s-list ol { list-style: none; padding: 0; display: grid; gap: 14px; max-width: 760px; }
.s-list li {
  display: flex; gap: 18px; align-items: center; border: 2px solid var(--ink); padding: 14px 18px;
  transform: translateX(70vw) rotate(3deg); transition: transform .8s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 120ms);
}
.s-list ol.in li { transform: none; }
.s-list li:nth-child(even) { margin-left: 8vw; }
.s-list em { font: 900 clamp(26px, 3.4vw, 46px) var(--display); font-style: normal; color: var(--acid); }
.s-list b { display: block; font: 700 clamp(15px, 1.8vw, 24px) var(--display); text-transform: uppercase; }
.s-list span { color: var(--dim); }

/* шкалы */
.s-bars ul { list-style: none; padding: 0; display: grid; gap: 22px; }
.s-bars li { display: grid; grid-template-columns: minmax(110px, 20%) 1fr 4ch; gap: 18px; align-items: center; }
.s-bars .bl { text-transform: uppercase; letter-spacing: .1em; }
.s-bars .bt { height: clamp(26px, 5vh, 54px); border: 2px solid var(--ink); }
.s-bars .bt i { display: block; height: 100%; width: 0; background: var(--ink); transition: width 1.4s cubic-bezier(.2, .8, .2, 1) .2s; }
.s-bars li.in .bt i { width: calc(var(--v) * 1%); }
.s-bars li:last-child .bt i { background: var(--hot); }
.s-bars .bv { font: 900 clamp(18px, 2.4vw, 34px) var(--display); text-align: right; }

/* кубик */
.cube-top { display: flex; justify-content: space-between; font: 700 clamp(18px, 3vw, 40px) var(--display); text-transform: uppercase; }
.cube-top b { color: var(--acid); }
.lane { position: relative; height: 190px; margin-top: 20px; border-bottom: 4px solid var(--ink); }
.cube { position: absolute; left: 0; bottom: 0; width: 44px; height: 44px; border: 4px solid var(--ink); background: var(--acid); }
.cube::after { content: ''; position: absolute; inset: 9px; background: var(--bg); }
.spike { position: absolute; bottom: 0; width: 36px; height: 38px; margin-left: 4px; background: var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.spike.last { background: var(--hot); height: 60px; }
.s-cube.dead .cube { visibility: hidden; }
.cube-msg { margin-top: 26px; font: 900 clamp(22px, 4.6vw, 70px)/1 var(--display); text-transform: uppercase; letter-spacing: -.04em; }
.s-cube.dead .cube-msg { color: var(--hot); }

/* колесо */
.s-spin { min-height: 130vh; align-items: center; overflow: hidden; }
.wheel { width: min(92vw, 88vh); transform: rotate(calc(var(--sy, 0) * .12deg)) scale(calc(1 + var(--beat) * .025)); }
.wheel text { font: 900 35px var(--display); fill: var(--ink); text-transform: uppercase; }
.spin-mid {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(calc(var(--sy, 0) * -.04deg));
  font: 900 clamp(40px, 9vw, 130px)/.9 var(--display); color: var(--acid); text-align: center; letter-spacing: -.05em;
}

/* возраст */
.age-num { position: relative; align-self: flex-start; font: 900 clamp(200px, 46vw, 640px)/.78 var(--display); letter-spacing: -.08em; padding-right: .08em; }
.age-num .o { color: transparent; -webkit-text-stroke: 3px var(--ink); }
.age-num .f { position: absolute; inset: 0; color: var(--acid); clip-path: inset(calc((1 - var(--q)) * 100%) 0 0 0); }
.age-cap { margin-top: 24px; text-transform: uppercase; letter-spacing: .12em; }
.age-cap b { color: var(--acid); margin-right: 10px; }

/* кислотная тема текста */
.s-text.acid { background: var(--acid); color: var(--bg); }
.s-text.acid i { color: var(--bg); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .08em; }
.s-text.acid .kicker, .s-text.acid .kicker::before { color: var(--bg); }
.s-text.acid .note { background: var(--bg); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  [data-rv], .line > span { transition: none; }
  body.shake, #start::before { animation: none; }
}
