@media (max-width: 480px) {
  .nav {
    padding: calc(12px + env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 12px max(18px, env(safe-area-inset-left));
  }
  .nav .pill { min-height: 44px; padding: 6px 13px; font-size: .85rem; }
  .section { min-height: auto; padding: 76px 18px; }
  .hero { padding-top: calc(98px + env(safe-area-inset-top)); padding-bottom: 65px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero h1 .hero-dedication { font-size: clamp(1.35rem, 6vw, 1.75rem); }
  .hero .lead { font-size: .95rem; margin: 18px 0 22px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding: 10px 14px; font-size: .9rem; }
  .portrait-stage { min-height: 0; margin-top: 16px; }
  .hero-portrait { width: min(80%, 290px); max-height: 330px; }
  .portrait-light { width: 67%; max-height: 295px; }
  .scroll-cue { bottom: 10px; white-space: nowrap; }
  .scroll-cue .en-line { font-size: .82em; animation: none; text-align: center; }
  .ticker { width: 100%; margin-left: 0; transform: none; }
  .section-head { margin-bottom: 30px; }
  .section h2 { font-size: clamp(2rem, 10vw, 3rem); line-height: 1.06; }
  .lab .lab-title { font-size: clamp(1rem, 5.2vw, 1.65rem); }
  .photo-card { width: 94%; margin-bottom: 22px !important; }
  .photo-art { height: 245px; }
  .photo-note { margin-top: 32px; }
  .lab-shell { min-height: 0; border-radius: 22px; }
  .lab-stage { min-height: 350px; }
  .lab-stage .spinner { width: min(86%, 310px); }
  .lab-panel { padding: 22px 18px; gap: 18px; }
  .meter { top: 16px; left: 16px; }
  .spin-hint { bottom: 15px; }
  .swatch { width: 44px; height: 44px; }
  .triple-stage { min-height: 425px; border-radius: 22px; }
  .triple-stage h3 { top: 16px; left: 16px; font-size: 1rem; }
  .triple-stage .meter { right: 16px; }
  .triple-stage .spinner { margin-bottom: 30px; }
  .triple-controls { bottom: 14px; gap: 5px; }
  .triple-controls .button { padding: 9px 18px; }
  #autoSpin, #tripleSpin { touch-action: manipulation; user-select: none; -webkit-touch-callout: none; }
  .lab :is(#autoSpin, #tripleSpin).charge-feedback {
    transform: scale(.97);
    box-shadow: inset 0 0 0 2px #fff, 0 0 25px var(--laser-glow);
  }
  .finale { gap: 48px; }
  .gift { width: min(72vw, 270px); }
  dialog { max-width: calc(100vw - 36px); padding: 32px 22px; }
  footer { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
}
