.stage { position: fixed; inset: 0; display: grid; place-items: center; background: #020008; }
#game { display: block; width: 100%; height: 100%; image-rendering: pixelated; touch-action: none; }
.sub { font-size: clamp(10px, 2vw, 13px); color: var(--c-teal); letter-spacing: 0.15em; }
.tap { font-size: clamp(11px, 2.2vw, 14px); color: var(--c-yellow); margin-top: 18px; }
.big { font-size: clamp(22px, 6vw, 44px); color: var(--c-red); letter-spacing: 0.04em; }
.score-final { font-size: clamp(40px, 12vw, 88px); line-height: 1; }
.stats { font-size: clamp(9px, 1.6vw, 12px); letter-spacing: 0.15em; color: rgba(255,255,255,0.8); }
.stats b { color: var(--c-yellow); font-weight: normal; }
#hud {
  position: fixed;
  top: calc(58px + env(safe-area-inset-top));
  left: 50%; transform: translateX(-50%);
  font-size: clamp(28px, 7vw, 56px);
  letter-spacing: 0.04em;
  pointer-events: none;
  z-index: 5;
}
.shake { animation: shaker 0.3s ease; }
@keyframes shaker {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-6px, 4px); }
  40% { transform: translate(6px, -2px); }
  60% { transform: translate(-3px, -4px); }
  80% { transform: translate(4px, 2px); }
}

@media (prefers-reduced-motion: reduce) {
  .shake { animation: none; }
}
