/* Only existing Story/weather/car and Screen-cell animation is controlled here.
   No drawn accents, backdrop pans or invented object layers. */
.scene-stage>.scene-picture{position:relative;z-index:0}
.scene-stage>.scene-overlay,.scene-stage>.scene-family,.scene-stage>.scene-books,.scene-stage>.scene-map-inset,.scene-stage>.scene-company{z-index:2}
/* Hide retired layers immediately, including during cache/version transitions. */
.oz-scene-motion{display:none!important;pointer-events:none!important}
/* The enlarged Story car stays in one place; spinning wheels would imply
   travel that the scene does not show. Its weather and lights still animate. */
.story.has-rendered-art .scene-car .ozwheel{animation:none!important}
/* Stage visibility outranks the legacy whole-section in-view animation gate. */
.band.has-rendered-art .foldscene .scene-stage:not(.oz-motion-on) .scene-overlay *,
.band.has-rendered-art .foldscene .scene-stage:not(.oz-motion-on) .scene-car *{animation-play-state:paused!important}
.band.has-rendered-art .foldscene .scene-stage.oz-motion-on .scene-overlay *,
.band.has-rendered-art .foldscene .scene-stage.oz-motion-on .scene-car *{animation-play-state:running!important}
/* These ID selectors outrank the map's original !important animation shorthand. */
#ozmap:not(.oz-motion-on) .emerald-glow-a,
#ozmap:not(.oz-motion-on) .emerald-glow-b{animation-play-state:paused!important}
#ozmap.oz-motion-on .emerald-glow-a,
#ozmap.oz-motion-on .emerald-glow-b{animation-play-state:running!important}
/* A collapsed panel can touch the viewport edge without exposing its map. */
.panel.shut #ozmap .emerald-glow-a,
.panel.shut #ozmap .emerald-glow-b{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){
  .band.has-rendered-art .foldscene .scene-stage:not(.oz-motion-on) .scene-overlay *,
  .band.has-rendered-art .foldscene .scene-stage:not(.oz-motion-on) .scene-car *,
  .band.has-rendered-art .foldscene .scene-stage.oz-motion-on .scene-overlay *,
  .band.has-rendered-art .foldscene .scene-stage.oz-motion-on .scene-car *{animation:none!important;animation-play-state:paused!important}
  #ozmap:not(.oz-motion-on) .emerald-glow-a,
  #ozmap:not(.oz-motion-on) .emerald-glow-b,
  #ozmap.oz-motion-on .emerald-glow-a,
  #ozmap.oz-motion-on .emerald-glow-b{animation:none!important;animation-play-state:paused!important}
}

/* Stage visibility is authoritative, including legacy section-level rules. */
.band.has-rendered-art .foldscene .scene-stage:not(.oz-motion-on) *,
html.oz-paused .band.has-rendered-art .foldscene .scene-stage *{animation-play-state:paused!important}
.band.has-rendered-art .foldscene .scene-stage.oz-motion-on :is(.story-vehicle-body,.story-hub-spin){animation-play-state:running!important}
@media(prefers-reduced-motion:reduce){.band.has-rendered-art .foldscene .scene-stage *{animation:none!important;transition:none!important}}
