/* Breathe only on phones, while a City View or Treetops chest is open.
   The glow swells to 1.4x,
   and the chest itself warms at the top of each breath so it reads on a small screen. */
@media (max-width: 680px) {
  .forest-stage:is([data-scene="treetop"], [data-scene="nyc"]) .mobile-light-armed.is-revealed .light-call::after {
    content: none;
  }
}
@media (max-width: 680px) and (prefers-reduced-motion: no-preference) {
  body.motion-enabled .forest-stage:is([data-scene="treetop"], [data-scene="nyc"]) .discovery.is-revealed .light-call::before {
    animation: chest-breathe 2.2s ease-in-out infinite;
  }
  body.motion-enabled .forest-stage:is([data-scene="treetop"], [data-scene="nyc"]) .discovery.is-revealed .treasure {
    animation: chest-breathe-warm 2.2s ease-in-out infinite;
  }
}
@keyframes chest-breathe {
  0%, 100% { opacity: .7; scale: 1; }
  50% { opacity: 1; scale: 1.4; }
}
@keyframes chest-breathe-warm {
  0%, 100% { filter: none; }
  50% { filter: drop-shadow(0 0 6px rgba(255, 228, 150, .9)); }
}
