/* Matatu Rush. Bundled OFL fonts only (fonts/ folder, relative urls, works from file://).
   Barlow Condensed Black Italic for display, Rajdhani for body and UI. No network assets. */
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 900; font-display: swap; src: url("../fonts/BarlowCondensed-BlackItalic.ttf") format("truetype"); }
@font-face { font-family: "Rajdhani"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Rajdhani-Medium.ttf") format("truetype"); }
@font-face { font-family: "Rajdhani"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Rajdhani-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Rajdhani"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("../fonts/Rajdhani-Bold.ttf") format("truetype"); }
:root {
  --pink: #ff2d95;
  --cyan: #21e6ff;
  --yellow: #ffe14a;
  --lime: #b6ff3c;
  --red: #ff3b5c;
  --ink: #07070f;
  --panel: rgba(10, 9, 26, 0.86);
  --display: "Barlow Condensed", "Arial Narrow Bold", "Roboto Condensed", "Archivo Narrow", "DejaVu Sans Condensed", "Arial Black", sans-serif;
  --body: "Rajdhani", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ctl-h: 64px;
  --accent: var(--pink);
}
* { box-sizing: border-box; }
html, body {
  margin: 0; height: 100%; overflow: hidden;
  background: var(--ink); color: #f3f4ff;
  font-family: var(--body); font-weight: 600;
  -webkit-text-size-adjust: 100%;
}
body { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#game { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }

button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
kbd {
  display: inline-block; min-width: 1.7em; padding: 0.12em 0.45em; margin: 0 0.12em;
  font: 700 max(14px, 0.82em)/1.4 var(--body); text-align: center; color: #fff;
  background: #1c1b3a; border: 1px solid #4a4a86; border-bottom-width: 3px; border-radius: 6px;
}

/* ---------- HUD ---------- */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 2; }
.hud-top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 8px;
  padding: max(10px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 26px max(14px, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(4, 4, 14, 0.9), rgba(4, 4, 14, 0.55) 60%, rgba(4, 4, 14, 0));
}
.hud-score { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.lbl { font: 800 14px/1 var(--body); letter-spacing: 0.22em; color: var(--cyan); }
.val {
  font: italic 900 clamp(26px, 6.2vw, 44px)/1.05 var(--display); color: var(--yellow); letter-spacing: 0.01em;
  text-shadow: 2px 2px 0 #a3125a, 0 0 18px rgba(255, 225, 74, 0.35); white-space: nowrap;
}
.val.bump { animation: bump 0.22s ease-out; }
.sub { font: 700 14px/1.3 var(--body); color: #b9bfe6; letter-spacing: 0.06em; white-space: nowrap; }
.hud-mid { display: flex; flex-direction: column; align-items: center; padding-top: 2px; }
.zone {
  font: italic 900 clamp(14px, 3.4vw, 20px)/1 var(--display); letter-spacing: 0.08em; color: #0a0a14;
  background: var(--accent); padding: 5px 10px 4px; border-radius: 4px; transform: skewX(-8deg); white-space: nowrap;
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 60%, transparent);
}
.hud-mid .sub { margin-top: 5px; }
.hud-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
#hearts { display: flex; gap: 4px; }
#hearts svg { width: clamp(22px, 5.5vw, 30px); height: clamp(22px, 5.5vw, 30px); filter: drop-shadow(0 0 6px rgba(255, 45, 149, 0.7)); }
#hearts svg path { fill: var(--pink); stroke: #fff; stroke-width: 1.4; }
#hearts svg.off { filter: none; }
#hearts svg.off path { fill: rgba(255, 255, 255, 0.08); stroke: rgba(255, 255, 255, 0.35); }
#hearts svg.pop { animation: bump 0.3s ease-out; }
.hud-btns { display: flex; gap: 8px; pointer-events: auto; }
/* narrow road-side gutter (portrait phones): stack pause and mute so they stay off the tarmac */
#hud.narrow .hud-btns { flex-direction: column; }
.ic {
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0;
  background: rgba(16, 15, 40, 0.8); border: 1.5px solid #4a4a86; border-radius: 12px;
}
.ic svg { width: 22px; height: 22px; fill: #fff; stroke: #fff; }
.ic:hover { border-color: var(--cyan); }
.mute .cross { display: none; }
.mute[aria-pressed="true"] .wave { display: none; }
.mute[aria-pressed="true"] .cross { display: block; stroke: var(--red); }
.mute[aria-pressed="true"] { border-color: var(--red); }

.combo {
  position: absolute; left: max(14px, env(safe-area-inset-left)); top: calc(var(--hud-b, 80px) + 14px);
  display: grid; grid-template-columns: auto auto; column-gap: 6px; align-items: baseline;
  padding: 6px 10px 8px; background: rgba(8, 8, 22, 0.78); border: 2px solid var(--lime); border-radius: 10px;
  transform: rotate(-4deg); box-shadow: 0 0 18px rgba(182, 255, 60, 0.35);
}
.combo.pulse { animation: bump 0.25s ease-out; }
.cx { font: italic 900 30px/1 var(--display); color: var(--lime); }
.cl { font: 800 14px/1 var(--body); letter-spacing: 0.18em; color: #e9ffd0; }
.bar { grid-column: 1 / -1; height: 5px; margin-top: 5px; background: rgba(255, 255, 255, 0.15); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: left center; }
.demo {
  position: absolute; left: 50%; top: calc(var(--hud-b, 80px) + 4px); transform: translateX(-50%);
  font: 700 14px/1.3 var(--body); letter-spacing: 0.04em; color: #0a0a14; background: var(--cyan);
  padding: 5px 10px; border-radius: 999px; white-space: nowrap; max-width: 94vw; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- on-screen controls (touch and mouse) ---------- */
#controls {
  position: fixed; left: 0; right: 0; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 3;
  display: flex; justify-content: center; align-items: stretch; gap: 10px; height: var(--ctl-h);
  padding: 0 max(12px, env(safe-area-inset-left)); pointer-events: none;
}
#controls button { pointer-events: auto; }
.pad {
  flex: 0 1 96px; min-width: 64px; display: flex; align-items: center; justify-content: center; gap: 4px;
  background: rgba(16, 15, 40, 0.78); border: 2px solid #5b5ba6; border-radius: 16px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.pad svg { width: 30px; height: 30px; fill: #fff; }
.pad:active, .pad.down { background: rgba(33, 230, 255, 0.3); border-color: var(--cyan); transform: scale(0.96); }
.horn, .ovl {
  position: relative; flex: 0 1 230px; min-width: 120px; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(16, 15, 40, 0.82); border: 2px solid #5b5ba6; border-radius: 16px; padding: 0 12px;
}
.horn i, .ovl i {
  position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transform-origin: left center; transform: scaleX(0);
  background: linear-gradient(90deg, #5b2cff, var(--pink)); opacity: 0.85;
}
.horn .hl, .horn kbd, .ovl .hl, .ovl kbd { position: relative; }
.horn .hl, .ovl .hl { font: italic 900 24px/1 var(--display); letter-spacing: 0.08em; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5); }
.horn.ready { border-color: var(--yellow); box-shadow: 0 0 22px rgba(255, 225, 74, 0.55); animation: ready 0.9s ease-in-out infinite; }
.horn.ready i { background: linear-gradient(90deg, #ff8a1f, var(--yellow)); }
.horn.ready .hl { color: #14100a; text-shadow: none; }
.horn.nitro { border-color: var(--cyan); box-shadow: 0 0 26px rgba(33, 230, 255, 0.7); }
.horn.nitro i { background: linear-gradient(90deg, #1b7bff, var(--cyan)); }
.horn:active, .ovl:active { transform: scale(0.97); }
/* OVERLAP: its own accent (green / lime) so it is never mistaken for the horn (pink / yellow / cyan) */
.ovl { flex-basis: 190px; border-color: #3f8f6a; }
.ovl i { background: linear-gradient(90deg, #0e5a46, #1fbf86); }
.ovl.ready { border-color: var(--lime); box-shadow: 0 0 22px rgba(182, 255, 60, 0.55); animation: ready 0.9s ease-in-out infinite; }
.ovl.ready i { background: linear-gradient(90deg, #5fd13a, var(--lime)); }
.ovl.ready .hl { color: #0b1405; text-shadow: none; }
.ovl.active { border-color: var(--lime); border-style: dashed; box-shadow: 0 0 26px rgba(182, 255, 60, 0.6); }
.ovl.active i { background: linear-gradient(90deg, #2c8f3a, #7fe04a); }

/* ---------- screens ---------- */
.screen {
  position: fixed; inset: 0; z-index: 5; display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: max(16px, env(safe-area-inset-top)) 14px max(16px, env(safe-area-inset-bottom));
  background: radial-gradient(120% 90% at 50% 40%, rgba(10, 6, 30, 0.72), rgba(4, 3, 12, 0.93));
}
.panel { width: min(680px, 100%); margin: auto 0; text-align: center; }
.panel.small { width: min(460px, 100%); background: var(--panel); border: 2px solid #3b3b78; border-radius: 22px; padding: 26px 20px 22px; box-shadow: 0 0 60px rgba(255, 45, 149, 0.2); }
.logo { margin: 0 0 6px; line-height: 0.86; transform: rotate(-4deg) skewX(-6deg); font-family: var(--display); font-style: italic; font-weight: 900; }
.logo span { display: block; }
.l1 {
  font-size: clamp(60px, 17vw, 138px); color: var(--yellow); letter-spacing: 0.01em;
  text-shadow: 3px 3px 0 var(--pink), 7px 7px 0 #5b1cff, 0 0 44px rgba(255, 45, 149, 0.65);
}
.l2 {
  font-size: clamp(50px, 14vw, 112px); color: var(--cyan); letter-spacing: 0.16em; margin-left: 0.5em;
  text-shadow: 3px 3px 0 #0b3bd6, 0 0 30px rgba(33, 230, 255, 0.8);
}
.tag { margin: 16px auto 14px; max-width: 34em; font-size: clamp(14px, 3.6vw, 17px); line-height: 1.4; color: #dfe2ff; }
/* compact how-to-play icon row: five tiles, never clipped; details live in the How to play sheet */
.legend { list-style: none; margin: 0 auto 12px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 520px; }
.legend li {
  display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 2px 5px; min-width: 0;
  background: rgba(14, 12, 36, 0.8); border: 1.5px solid rgba(255, 59, 92, 0.6); border-radius: 12px;
}
.legend li.good { border-color: rgba(182, 255, 60, 0.65); }
.legend canvas { width: 44px; height: 44px; flex: none; }
.legend b { display: block; font-size: 15px; line-height: 1.15; letter-spacing: 0.02em; color: #fff; white-space: nowrap; }
.legend span { display: block; font-size: 14px; line-height: 1.15; font-weight: 700; color: #ff8fa3; white-space: nowrap; }
.legend li.good span { color: var(--lime); }
.rules { list-style: none; margin: 14px 0 12px; padding: 0; display: grid; gap: 6px; text-align: left; }
.rules li {
  display: flex; gap: 10px; align-items: center; padding: 5px 10px 5px 6px; min-width: 0;
  background: rgba(14, 12, 36, 0.8); border: 1.5px solid rgba(255, 59, 92, 0.55); border-radius: 12px;
}
.rules li.good { border-color: rgba(182, 255, 60, 0.6); }
.rules canvas { width: 40px; height: 40px; flex: none; }
.rules b { display: block; font-size: 15px; line-height: 1.2; letter-spacing: 0.03em; color: #fff; }
.rules span { display: block; font-size: 14px; line-height: 1.25; color: #cfd3f2; }
#howto { z-index: 6; background: radial-gradient(120% 90% at 50% 40%, rgba(10, 6, 30, 0.9), rgba(4, 3, 12, 0.97)); }
#howto .panel.small { width: min(560px, 100%); padding: 18px 16px 16px; }
#howto .h2 { font-size: clamp(30px, 8vw, 44px); }
#howto .keys { margin-bottom: 12px; }
.keys { margin: 0 auto 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 14px; color: #dfe2ff; }
.keys p { margin: 3px 0; }
.keys .touch { flex-basis: 100%; color: #aeb4dc; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cta {
  flex: 1 1 100%; max-width: 420px; min-height: 60px; padding: 8px 22px;
  font: italic 900 32px/1 var(--display); letter-spacing: 0.05em; color: #171005;
  background: linear-gradient(180deg, #fff06a, #ffc21a); border: 0; border-radius: 16px;
  box-shadow: 0 6px 0 #b0147a, 0 0 36px rgba(255, 225, 74, 0.45);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.cta small { font: 800 14px/1 var(--body); font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; margin-left: 8px; vertical-align: middle; opacity: 0.75; }
.cta:hover { transform: translateY(-1px); }
.cta:active { transform: translateY(4px); box-shadow: 0 2px 0 #b0147a; }
.ghost {
  min-height: 46px; padding: 8px 18px; font: 700 15px/1 var(--body); color: #fff;
  background: rgba(20, 18, 50, 0.85); border: 1.5px solid #5b5ba6; border-radius: 12px;
}
.ghost:hover { border-color: var(--cyan); }
.ghost[aria-pressed="true"] { border-color: var(--red); color: #ffb3c0; }
.bestline { margin: 14px 0 0; font: 700 14px/1 var(--body); letter-spacing: 0.08em; color: var(--lime); }
.h2 { margin: 0; font: italic 900 clamp(38px, 11vw, 60px)/0.95 var(--display); color: var(--cyan); letter-spacing: 0.03em; text-shadow: 3px 3px 0 #0b3bd6, 0 0 26px rgba(33, 230, 255, 0.6); transform: rotate(-2deg); }
.h2.over { color: var(--pink); text-shadow: 3px 3px 0 #5b1cff, 0 0 30px rgba(255, 45, 149, 0.7); }
.newbest { margin: 0 0 12px; display: inline-block; padding: 6px 12px; font: italic 900 20px/1 var(--display); letter-spacing: 0.06em; color: #14100a; background: var(--lime); border-radius: 6px; transform: rotate(-2deg); animation: ready 0.9s ease-in-out infinite; }
.stats { margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stats div { background: rgba(255, 255, 255, 0.06); border-radius: 10px; padding: 8px 6px; }
.stats .big { grid-column: 1 / -1; background: rgba(255, 225, 74, 0.1); border: 1.5px solid rgba(255, 225, 74, 0.5); }
.stats dt { font: 800 14px/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: #aeb4dc; }
.stats dd { margin: 5px 0 0; font: italic 900 24px/1 var(--display); color: #fff; }
.stats .big dd { font-size: 42px; color: var(--yellow); }

/* ---------- Top 5 board and name entry ---------- */
.nameform { margin: 0 0 14px; padding: 10px 12px 12px; background: rgba(33, 230, 255, 0.07); border: 1.5px solid rgba(33, 230, 255, 0.5); border-radius: 12px; }
.namerank { margin: 0 0 6px; font: italic 900 22px/1.1 var(--display); letter-spacing: 0.04em; color: var(--cyan); }
.nameform label { display: block; margin: 0 0 4px; font: 800 14px/1.2 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: #aeb4dc; }
#nameInput {
  display: block; width: 100%; min-height: 46px; margin: 0 0 10px; padding: 8px 12px;
  font: 700 18px/1.2 var(--body); text-align: center; color: #fff;
  background: rgba(8, 8, 22, 0.9); border: 1.5px solid #5b5ba6; border-radius: 12px;
  -webkit-user-select: text; user-select: text;
}
#nameInput::placeholder { color: #8d93bd; opacity: 1; }
#nameInput:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-color: var(--cyan); }
.ghost.save { border-color: var(--lime); color: var(--lime); }
.namesaved { margin: 0 0 12px; font: 800 16px/1.2 var(--body); letter-spacing: 0.04em; color: var(--lime); }
.h3 { margin: 0 0 6px; font: 800 14px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); }
.boardbox { margin: 0 0 16px; }
.board { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 5px; text-align: left; }
.boardbox .board { margin: 0; }
.board li {
  display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; align-items: baseline; column-gap: 8px;
  padding: 6px 10px; background: rgba(255, 255, 255, 0.06); border: 1.5px solid transparent; border-radius: 10px;
  font: 700 17px/1.2 var(--body); color: #fff;
}
.board .rk { font: italic 900 18px/1.2 var(--display); color: var(--yellow); }
.board .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .sc { font: italic 900 18px/1.2 var(--display); color: var(--yellow); white-space: nowrap; }
.board li.me { background: rgba(182, 255, 60, 0.12); border-color: var(--lime); }
.board li.me .nm { color: var(--lime); }
#board { z-index: 6; background: radial-gradient(120% 90% at 50% 40%, rgba(10, 6, 30, 0.9), rgba(4, 3, 12, 0.97)); }
#board .h2 { font-size: clamp(30px, 8vw, 44px); margin-bottom: 12px; }
#board .tag { margin: 8px auto 14px; }

@keyframes bump { 0% { transform: scale(1.28); } 100% { transform: scale(1); } }
.combo.pulse { animation-name: bumpc; }
@keyframes bumpc { 0% { scale: 1.3; } 100% { scale: 1; } }
@keyframes ready { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.25); } }

@media (max-width: 700px), (pointer: coarse) {
  :root { --ctl-h: 76px; }
  .pad kbd, .horn kbd, .ovl kbd { display: none; }
  .pad { flex-basis: 84px; min-width: 52px; }
  .horn, .ovl { flex: 1 1 0; min-width: 0; max-width: 200px; padding: 0 6px; }
  .keys p:not(.touch) { display: none; }
  .keys .touch { color: #dfe2ff; font-size: 14px; }
}
@media (max-width: 520px) {
  #controls { gap: 6px; padding: 0 max(8px, env(safe-area-inset-left)); }
  .pad { flex-basis: 56px; min-width: 48px; }
  .pad svg { width: 26px; height: 26px; }
  .horn .hl, .ovl .hl { font-size: 20px; letter-spacing: 0.04em; }
  .ovl .hl { font-size: 18px; letter-spacing: 0.02em; }
  .legend { gap: 4px; }
  .legend canvas { width: 38px; height: 38px; }
  .legend b { font-size: 14px; letter-spacing: 0; }
  .hud-mid .sub { display: none; }
  .hud-top { gap: 6px; padding-left: max(10px, env(safe-area-inset-left)); padding-right: max(10px, env(safe-area-inset-right)); }
  .zone { letter-spacing: 0.03em; padding: 5px 7px 4px; }
  .lbl { letter-spacing: 0.14em; }
  .sub { letter-spacing: 0.02em; }
}
@media (max-width: 300px) {
  /* the OVERLAP! ready label is 67 px at 18 px; the button has 63 px inside its border, so shrink it a little (still >= 14 px) */
  .ovl .hl { font-size: 16px; letter-spacing: 0; }
}
/* narrow gutter: the combo chip sits in the left road-side strip, one column */
#hud.narrow .combo { left: max(4px, env(safe-area-inset-left)); grid-template-columns: auto; justify-items: center; row-gap: 2px; padding: 5px 6px 6px; transform: rotate(-3deg); }
#hud.narrow .cl { letter-spacing: 0.06em; }
#hud.narrow .cx { font-size: 26px; }
@media (max-height: 520px) {
  .logo { transform: rotate(-2deg) skewX(-6deg); }
  .l1 { font-size: clamp(40px, 15vh, 80px); }
  .l2 { font-size: clamp(34px, 12vh, 66px); }
  .tag { margin: 8px auto; }
  :root { --ctl-h: 56px; }
}
/* Short screens (small phones, landscape phones): the Start row moves directly under the
   tagline so it is always on screen without scrolling. How-to-play follows below. */
@media (max-height: 700px) {
  #title .panel { display: flex; flex-direction: column; }
  #title .actions { order: 1; gap: 8px; }
  #title .bestline { order: 2; margin: 10px 0 0; }
  #title .legend { order: 3; margin: 12px auto 0; width: 100%; }
  #title .keys { display: none; }
  #title .tag { margin: 10px auto 12px; }
  #title .cta { align-self: center; width: 100%; min-height: 56px; }
}
@media (max-height: 700px) and (min-width: 700px) {
  #title .cta { flex: 0 1 300px; width: auto; }
  .rules { grid-template-columns: 1fr 1fr; margin: 10px 0; }
  #howto .panel.small { width: min(720px, 100%); padding: 12px 16px; }
  /* five buttons in the title row (Top 5 added): trim the Start width and the ghost padding so they stay on one row */
  #title .cta { flex-basis: 260px; }
  #title .actions .ghost { padding: 8px 14px; }
}
@media (max-height: 700px) and (max-width: 420px) {
  #howto .panel.small { padding: 12px 10px 12px; }
  .rules { margin: 8px 0; gap: 5px; }
  .rules canvas { width: 36px; height: 36px; }
  #howto .keys { margin-bottom: 8px; }
}
@media (max-height: 700px) and (max-width: 520px) {
  .l1 { font-size: clamp(48px, 16vw, 72px); }
  .l2 { font-size: clamp(40px, 13vw, 60px); }
}
@media (max-width: 420px) {
  .board li { grid-template-columns: 1.9em minmax(0, 1fr) auto; column-gap: 6px; padding: 5px 8px; font-size: 16px; }
  .board .rk, .board .sc { font-size: 17px; }
  #board .panel.small { padding: 16px 10px 14px; }
}
@media (max-height: 700px) {
  #over .panel.small { padding: 16px 14px 14px; }
  #over .stats { margin-bottom: 12px; gap: 6px; }
  #over .stats .big dd { font-size: 34px; }
  .board li { padding: 4px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .horn.ready, .ovl.ready, .newbest, .val.bump, .combo.pulse, #hearts svg.pop { animation: none; }
  .cta { transition: none; }
}
