@font-face {
  font-family: Golos;
  src: url(assets/golos-text-cyrillic.woff2) format('woff2');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Golos;
  src: url(assets/golos-text-latin.woff2) format('woff2');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212;
}
@font-face {
  font-family: Oswald;
  src: url(assets/oswald-cyrillic.woff2) format('woff2');
  font-weight: 200 700;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Oswald;
  src: url(assets/oswald-latin.woff2) format('woff2');
  font-weight: 200 700;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212;
}

:root {
  color-scheme: dark;
  --paper: #fbf8ff;
  --muted: #c5bfd5;
  --yellow: #f5ee72;
  --lime: #cdf398;
  --ink: #171326;
  --edge: #e0d1ff38;
  font-family: -apple-system, BlinkMacSystemFont, Golos, system-ui, sans-serif;
  color: var(--paper);
  background-color: #151321;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 290px;
  min-height: 100vh;
  min-height: 100svh;
  background: radial-gradient(ellipse at 18% 0%, #322649 0%, transparent 52%), #151321;
}
button { font: inherit; color: inherit; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:not(:disabled) { cursor: pointer; }
button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
img { display: block; max-width: 100%; user-select: none; -webkit-user-select: none; }
[hidden] { display: none !important; }

.game-shell {
  --side: clamp(14px, 2.6vw, 25px);
  --pad-top: max(12px, env(safe-area-inset-top, 0px));
  --pad-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  position: relative;
  display: grid;
  grid-template-areas: 'header score' 'arena arena' 'controls controls';
  grid-template-columns: minmax(0, 1fr) minmax(340px, 36%);
  align-items: center;
  align-content: start;
  gap: 14px;
  width: min(1240px, 100%);
  margin-inline: auto;
  padding: var(--pad-top) max(var(--side), env(safe-area-inset-right, 0px)) var(--pad-bottom) max(var(--side), env(safe-area-inset-left, 0px));
}
.top { grid-area: header; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.identity, .toolbar { display: flex; align-items: center; gap: 10px; }
.identity { min-width: 0; }
.identity-copy { display: grid; gap: 2px; min-width: 0; }
.player-name { color: #decff5; font-size: .71rem; font-weight: 720; line-height: 1.15; letter-spacing: .045em; }
h1, .win h2 { font-family: Oswald, 'Arial Narrow', Impact, sans-serif; font-weight: 700; }
h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.55vw, 3.15rem);
  letter-spacing: -.025em;
  line-height: 1.02;
}
h1 em { font-style: normal; color: var(--yellow); }
.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 47px;
  width: 47px;
  height: 47px;
  border: 1px solid #fff2a1;
  border-radius: 15px;
  background: linear-gradient(143deg, #fff4ad, #eddb4d 76%);
  box-shadow: inset 0 1px 2px #fff9, 0 6px 16px #0f0c1e55;
  rotate: -6deg;
}
.brand-mark::after, .action-bolt {
  content: '';
  display: block;
  width: 16px;
  height: 22px;
  background: #261e35;
  clip-path: polygon(53% 0, 100% 0, 66% 39%, 97% 39%, 20% 100%, 37% 56%, 2% 56%);
}
.toolbar { gap: 6px; flex: 0 0 auto; }
.tool-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #f1e7ff42;
  border-radius: 50%;
  background: linear-gradient(145deg, #48405f, #2d253e 76%);
  box-shadow: inset 0 1px 0 #ffffff31, 0 5px 13px #09071440;
  transition: background .16s ease, transform .15s ease, border-color .16s ease;
}
.tool-button:active { transform: scale(.91); background: #625674; border-color: #f1e7ff79; }
.tool-icon { width: 20px; height: 20px; display: inline-grid; position: relative; place-items: center; }
.reset-icon { font: 1.5rem/19px Arial, sans-serif; }
.sound-icon i {
  position: absolute;
  inset-inline-start: 1px;
  width: 11px;
  height: 14px;
  background: currentColor;
  clip-path: polygon(0 29%, 42% 29%, 100% 0, 100% 100%, 42% 71%, 0 71%);
}
.sound-icon::after {
  content: '';
  position: absolute;
  right: 1px;
  width: 7px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-color: transparent currentColor transparent transparent;
  border-radius: 50%;
}
#sound[aria-pressed='false'] .sound-icon::after {
  right: 0;
  width: 2px;
  height: 16px;
  border: 0;
  border-radius: 2px;
  background: currentColor;
  transform: translateX(-6px) rotate(45deg);
  box-shadow: 2px 0 #251e37;
}

.score {
  --progress: 0%;
  grid-area: score;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) repeat(3, minmax(0, 1fr));
  overflow: hidden;
  min-height: 66px;
  border: 1px solid var(--edge);
  border-radius: 21px;
  background: #262035;
  padding: 8px 0 13px;
  font-variant-numeric: tabular-nums;
}
.score-item { min-width: 0; padding: 0 11px; }
.score-item + .score-item { border-left: 1px solid #ebd8ff25; }
.score-bottles { display: flex; align-items: center; gap: 7px; }
.score-series .score-value { color: #dcf6ad; }
#score-points { color: var(--yellow); }
.score-track {
  position: absolute;
  inset: auto 11px 5px;
  height: 3px;
  background: #fff3;
  -webkit-mask-image: repeating-linear-gradient(to right, #000 0 calc(100% / 6 - 4px), transparent calc(100% / 6 - 4px) calc(100% / 6));
  mask-image: repeating-linear-gradient(to right, #000 0 calc(100% / 6 - 4px), transparent calc(100% / 6 - 4px) calc(100% / 6));
}
.score-track::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress);
  background: var(--yellow);
  transition: width .27s ease;
}
.score-icon {
  position: relative;
  align-self: center;
  width: 20px;
  height: 18px;
  flex: 0 0 20px;
  margin-top: 5px;
  background: #84d0f9;
  border: 1.5px solid #b2e8ff;
  border-radius: 4px 4px 8px 8px;
  box-shadow: inset -3px -3px 0 #53aae6;
  rotate: -7deg;
}
.score-icon::before {
  content: '';
  position: absolute;
  border: 1.5px solid #b2e8ff;
  width: 8px;
  height: 8px;
  border-radius: 7px 7px 0 0;
  left: 4px;
  top: -7px;
}
.score-content { display: grid; align-content: center; gap: 3px; }
.score-caption { color: #ded7ea; line-height: 1.12; font-size: .78rem; font-weight: 650; }
.score-value { line-height: 1; font-size: 1.36rem; font-weight: 790; white-space: nowrap; }
.score-max { color: #c0b3d2; font-size: .79em; font-weight: 575; }

.arena {
  grid-area: arena;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(350px, calc(100vh - 211px), 610px);
  height: clamp(350px, calc(100svh - 211px), 610px);
  border: 1px solid #f2e7ff6b;
  border-radius: 27px;
  background: #aaa1a0 url(assets/kitchen.webp) center center / cover no-repeat;
  box-shadow: 0 14px 36px #09071170;
  container-type: inline-size;
}
.arena::after {
  content: '';
  position: absolute;
  z-index: 15;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 34px #2c17251f, inset 0 1px 0 #fff6;
  pointer-events: none;
}

.bottles, .effects { position: absolute; inset: 0; pointer-events: none; }
.bottles { z-index: 3; }
.effects { z-index: 6; }
.valeria {
  --x: 29%;
  position: absolute;
  z-index: 2;
  bottom: 8%;
  left: var(--x);
  height: 77%;
  aspect-ratio: 49 / 100;
  transform: translateX(-53%);
  transition: left .35s ease-in-out;
  pointer-events: none;
}
.valeria::before {
  content: '';
  position: absolute;
  left: 3%;
  right: 2%;
  height: 7%;
  bottom: -1%;
  background: radial-gradient(ellipse, #22182a6b, #231d2924 55%, transparent 74%);
  filter: blur(2px);
}
.valeria img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(2px 5px 3px #241e3030);
  transform-origin: 50% 98%;
}
.valeria .stomping, .valeria .pressing { visibility: hidden; width: 142%; left: -6%; height: 88%; }
.valeria[data-pose='idle'] .standing { animation: breathing 3.8s ease-in-out infinite; }
.valeria[data-pose='walk'] .standing { animation: step .22s ease-in-out infinite alternate; }
.valeria[data-pose='grab'] .standing { animation: grab .3s ease-in-out both; }
.valeria[data-pose='crush'] .standing, .valeria[data-pose='press'] .standing { visibility: hidden; }
.valeria[data-pose='crush'] .stomping { visibility: visible; animation: stomp .4s ease both; }
.valeria[data-pose='press'] { z-index: 7; }
.valeria[data-pose='press'] .pressing { visibility: visible; animation: press .23s ease-out both; }
.valeria[data-pose='throw'] .standing { animation: throw .49s ease both; }
.valeria[data-pose='celebrate'] .standing { animation: step .28s ease-in-out infinite alternate; }
@keyframes breathing { 50% { transform: translateY(-2px) scale(1.007, 1.015); } }
@keyframes step { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-10px) rotate(3deg); } }
@keyframes grab { 48% { transform: scale(1.03, .89) rotate(9deg); } }
@keyframes stomp { 0% { transform: translateY(-4px) rotate(-3deg); } 50% { transform: translateY(-13px) rotate(-3deg); } 72% { transform: scale(1.045, .95); } }
@keyframes press { from { transform: scale(1.02, .98); } }
@keyframes throw { 27% { transform: rotate(-8deg); } 53% { transform: rotate(9deg) translateY(-8px); } }

.bottle, .bag {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}
.bottle {
  --bottle-size: clamp(67px, 8.7cqw, 112px);
  width: var(--bottle-size);
  height: var(--bottle-size);
  transform: translate(-50%, -50%) rotate(var(--tilt, 0deg));
  pointer-events: auto;
}
.bottle::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 85%;
  height: 24%;
  bottom: 4%;
  background: radial-gradient(ellipse, #28233859, #28233821 50%, transparent 72%);
  transition: transform .18s ease;
}
.bottle img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; transition: transform .18s ease, filter .18s ease; }
.bottle:focus-visible img {
  transform: translateY(-7px) rotate(-5deg);
  filter: drop-shadow(0 0 7px #f7ffb9);
}
.bottle:focus-visible, .bag:focus-visible { border-radius: 18px; outline-offset: 0; outline-color: #24204a; }
.bottle[aria-disabled='false']:active img { transform: scale(.90); }
.bottles .bottle[aria-disabled='false'] { z-index: 1; }
.arena[data-phase='collect'] .bottle[aria-disabled='true'] img { opacity: .7; }
.bag.is-target:active { scale: .94; }
.bottle--prop { pointer-events: none; }
.bottle--prop::before { display: none; }
.bottle--prop.is-sideways { filter: drop-shadow(0 3px 2px #1f22374d); }
.bag {
  left: 82%;
  bottom: 8%;
  transform: translateX(-50%);
  z-index: 4;
  width: clamp(94px, 15.5cqw, 198px);
  aspect-ratio: 1;
  filter: drop-shadow(1px 9px 5px #0f173856);
}
.bag img { width: 100%; height: 100%; object-fit: contain; }
.bag.is-target img { animation: target 1s ease-in-out infinite alternate; }
.bag.is-hit img { animation: bag-hit .38s ease; }
@keyframes target { to { filter: drop-shadow(0 0 9px #a5e8ff); transform: scale(1.04); } }
@keyframes bag-hit { 38% { transform: translateY(3%) scale(1.11, .83); } 76% { transform: scale(.97, 1.03); } }

.game-pop {
  position: absolute;
  z-index: 1;
  color: var(--yellow);
  font-family: Oswald, Impact, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 5.5cqw, 3.5rem);
  text-shadow: 3px 3px 0 #21143b, -1px -1px 0 #21143b, 1px -1px 0 #21143b, -1px 1px 0 #21143b;
  white-space: nowrap;
  animation: pop .68s ease-out both;
}
.game-pop--success { color: #e3ffac; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -15%) scale(.6) rotate(-8deg); } 22% { opacity: 1; transform: translate(-50%, -35%) scale(1.07) rotate(-8deg); } 68% { opacity: 1; } to { opacity: 0; transform: translate(-50%, -100%) rotate(-8deg); } }

.game-controls {
  grid-area: controls;
  z-index: 16;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(210px, 26%, 285px);
  align-items: center;
  gap: 14px;
  padding: 11px 12px 12px;
  border: 1px solid var(--edge);
  border-radius: 25px;
  background: #2a2439;
  box-shadow: inset 0 1px 0 #fff2, 0 9px 24px #100a2052;
}
.control-guide { min-width: 0; display: grid; align-content: center; gap: 5px; }
.feedback {
  min-height: 1.35em;
  margin: 0;
  color: #eee9f5;
  font-size: .94rem;
  line-height: 1.35;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.guide-slot { display: grid; align-items: center; min-height: 42px; }
.guide-slot > * { grid-area: 1 / 1; }
.guide-slot:has(.timing:not([hidden])) .steps { visibility: hidden; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 3px;
  list-style: none;
  min-height: 34px;
  border-radius: 20px;
  background: #13101f94;
}
.steps li {
  min-width: 0;
  padding: 5px 3px;
  border-radius: 15px;
  color: #cbc3d9;
  text-align: center;
  font-size: .81rem;
  font-weight: 650;
  line-height: 1.12;
}
.steps .is-current { color: #252132; background: #efebff; box-shadow: 0 1px 4px #0e0a1e86; }
.steps .is-done { color: var(--lime); }
.steps .is-done.is-current { color: #252132; }
.timing { min-width: 0; padding: 2px 3px 4px; }
.timing-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.timing-title { font-size: .83rem; font-weight: 800; }
.timing-hint { color: var(--muted); font-size: .71rem; text-align: right; }
.timing-hint:empty { display: none; }
.timing-track {
  position: relative;
  height: 15px;
  border-radius: 8px;
  background: #161024;
  box-shadow: inset 0 0 0 1px #e6d5ff41;
  margin-inline: 5px;
}
#timing-zone { position: absolute; inset-block: 0; border-radius: 7px; background: #a7de8a; }
#timing[data-mode='crush'] #timing-zone { background: #f2bf75; }
#timing-perfect {
  position: absolute;
  inset-block: 0;
  border-inline: 1px solid #fff9;
  border-radius: 3px;
  background: #fff5ac;
  box-shadow: 0 0 6px #fff3aa80;
}
#timing-marker {
  position: absolute;
  z-index: 1;
  top: -3px;
  bottom: -3px;
  width: 5px;
  border-radius: 3px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 0 0 1.5px #1f153e;
}
.primary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 57px;
  padding: 10px 15px;
  border: 1px solid #fff6a6;
  border-radius: 28px;
  background: linear-gradient(160deg, #fff4ab, #f1e962 75%);
  color: #211b2b;
  box-shadow: inset 0 1px 0 #fffe, inset 0 -2px 0 #9c85184c, 0 5px 14px #0907114d;
  font-weight: 820;
  font-size: 1.09rem;
  line-height: 1.13;
  transition: background .16s ease, box-shadow .16s ease, transform .15s ease, opacity .15s ease;
}
.primary-button:not([aria-disabled='true']):active {
  transform: scale(.967);
  background: #fff8ac;
  box-shadow: inset 0 0 0 2px #fffacd, 0 0 13px #faec7690;
}
.primary-button[aria-disabled='true'] { opacity: .73; cursor: default; }
.action-bolt { width: 13px; height: 19px; flex: 0 0 13px; }
.action kbd {
  display: none;
  padding: 3px 6px;
  border: 1px solid #574c373b;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #fff4a8;
  color: #493849;
  font: inherit;
  font-size: .67rem;
  font-weight: 650;
  line-height: 1.1;
}

.win {
  position: relative;
  grid-area: controls;
  z-index: 20;
  display: grid;
  place-items: center;
}
.game-shell:has(.win:not([hidden])) .game-controls { visibility: hidden; }
.win-card {
  display: grid;
  justify-items: center;
  gap: 11px;
  width: min(390px, 100%);
  padding: 18px;
  border: 1px solid #fff4;
  border-radius: 24px;
  background: #2f2540;
  box-shadow: 0 15px 34px #100c2088, inset 0 1px 0 #fff3;
  text-align: center;
}
.win h2 { margin: 0; font-size: clamp(1.7rem, 3.5vw, 2.65rem); line-height: 1.04; }
.win p { margin: 0; font-size: .94rem; line-height: 1.25; }
.win .result-grade { color: #e9f9cb; font-weight: 760; }
.result-record { padding: .23em .6em; border-radius: 12px; background: #d3ef8f24; color: var(--lime); font-size: .78rem; font-weight: 700; }
.round-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 6px; margin: 0; }
.round-result { display: grid; gap: 4px; place-content: center; min-width: 0; padding: 7px 3px; border-radius: 11px; background: #171123a1; }
.round-result dt { font-size: .72rem; line-height: 1.14; color: #e2d9ed; }
.round-result dd { margin: 0; font-size: 1.04rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--yellow); }
.win .primary-button { min-height: 48px; }

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .tool-button { background: linear-gradient(145deg, #60577785, #372c4ba8); }
  .game-controls { background: #2a2439e8; }
  .tool-button, .game-controls { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
}
@media (hover: hover) and (pointer: fine) {
  .action kbd { display: inline-block; }
  .tool-button:hover { border-color: #f1e7ff7c; }
  .primary-button:not([aria-disabled='true']):hover { filter: brightness(1.07); }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .tool-button, .game-controls { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tool-button { background: #443851; }
  .game-controls, .win-card { background: #292137; }
}
@media (max-width: 870px) {
  .game-shell { grid-template-areas: 'header' 'score' 'arena' 'controls'; grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .arena { height: clamp(300px, calc(100svh - 260px), 515px); }
}
@media (max-width: 560px) {
  .game-shell { gap: 10px; }
  .top { gap: 8px; min-height: 47px; }
  .identity { gap: 8px; }
  .identity .brand-mark { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; }
  .identity .brand-mark::after { width: 13px; height: 18px; }
  h1 { font-size: clamp(1.32rem, 5.65vw, 2rem); }
  .player-name { font-size: .67rem; letter-spacing: .025em; }
  .score { min-height: 61px; border-radius: 18px; }
  .score-item { padding-inline: 8px; }
  .score-bottles { gap: 5px; }
  .score-icon { width: 17px; height: 16px; flex-basis: 17px; }
  .score-icon::before { width: 6px; height: 6px; left: 3.5px; top: -6px; }
  .score-caption { font-size: .71rem; }
  .score-value { font-size: 1.25rem; }
  .arena {
    height: clamp(187px, calc(100svh - var(--pad-top) - var(--pad-bottom) - 307px), 121vw);
    border-radius: 23px;
    background-position: 69% center;
  }
  .valeria { height: 68%; }
  .bottle { --bottle-size: clamp(53px, 19cqw, 76px); }
  .bag { width: clamp(74px, 22cqw, 115px); }
  .game-controls {
    position: sticky;
    bottom: var(--pad-bottom);
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px 9px 9px;
    border-radius: 23px;
  }
  .control-guide { gap: 3px; }
  .feedback { min-height: 2.7em; font-size: .91rem; padding-inline: 4px; }
  .guide-slot { min-height: 44px; }
  .timing-title { font-size: .78rem; }
  .timing-hint { font-size: .69rem; }
  .action kbd { display: none; }
  .win { place-items: end center; border-radius: 23px; }
  .win-card { gap: 7px; padding: 9px; border-radius: 18px; }
  .round-result { padding-block: 5px; }
}
@media (max-width: 560px) and (min-height: 735px) {
  .arena::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0 0 14%;
    background: url(assets/kitchen.webp) 70% center / cover no-repeat;
    -webkit-mask-image: linear-gradient(black 88%, transparent);
    mask-image: linear-gradient(black 88%, transparent);
    pointer-events: none;
  }
}
@media (max-width: 359px) {
  .identity .brand-mark { display: none; }
  .score-bottles .score-icon { display: none; }
  .score-item { padding-inline: 7px; }
}
@media (orientation: landscape) and (max-height: 510px) and (min-width: 570px) {
  .game-shell {
    --pad-top: max(8px, env(safe-area-inset-top, 0px));
    --pad-bottom: max(8px, env(safe-area-inset-bottom, 0px));
    grid-template-areas: 'header score' 'arena controls';
    grid-template-columns: minmax(0, 1fr) minmax(205px, 32%);
    align-items: end;
    max-width: 1150px;
    gap: 8px;
  }
  h1 { font-size: clamp(1.3rem, 3.8vw, 2rem); }
  .identity .brand-mark { display: none; }
  .top { align-self: center; }
  .score { min-height: 55px; border-radius: 16px; }
  .score-item { padding-inline: 5px; }
  .score-caption { font-size: .61rem; }
  .score-value { font-size: 1.06rem; }
  .score-bottles .score-icon { display: none; }
  .arena { height: clamp(185px, calc(100svh - 84px - var(--pad-top) - var(--pad-bottom)), 410px); border-radius: 20px; }
  .bottle { --bottle-size: clamp(48px, 12.5cqw, 72px); }
  .bag { width: clamp(65px, 18cqw, 112px); }
  .game-controls { grid-template-columns: 1fr; gap: 8px; padding: 8px; border-radius: 20px; }
  .feedback { min-height: 2.7em; font-size: .84rem; }
  .timing-head { flex-wrap: wrap; row-gap: 2px; }
  .action kbd { display: none; }
  .win-card { padding: 8px; gap: 6px; }
  .win h2 { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
