/* Keep static hero art out of persistent compositor layers. */
.herocast .ozfig,
.herocast .oztoto {
  will-change: auto;
}

/* The story car's later animation shorthand must honor the scene visibility gate. */
.story.has-rendered-art .foldscene .ozdrive {
  animation-play-state: paused !important;
}
.story.has-rendered-art.inview .foldscene .ozdrive {
  animation-play-state: running !important;
}

@media (prefers-reduced-motion: reduce) {
  #ozmap .emerald-glow-a,
  #ozmap .emerald-glow-b,
  .cue span {
    animation: none !important;
  }
  /* The later !important image transitions would otherwise override the
     earlier universal reduced-motion duration rule in index.html. */
  .pic img,
  .ozarchive-art img {
    transition-duration: .001ms !important;
  }

  .story.has-rendered-art.inview .foldscene .ozdrive {
    animation: none !important;
    animation-play-state: paused !important;
  }
}

.sheet:not(.open){visibility:hidden}
.sheet.open{visibility:visible}
.pin:focus{outline:none}
.pin:focus .hit{fill:#fff3b0;fill-opacity:.6;stroke:#342318;stroke-width:3px}

/* A hidden document must pause non-stage animations too. The scene controller
   separately removes oz-motion-on from all stage/map targets. */
html.oz-paused *,
html.oz-paused *::before,
html.oz-paused *::after,
html.oz-paused .band.inview .foldscene *,
html.oz-paused .story.has-rendered-art.inview .foldscene .ozdrive {
  animation-play-state: paused !important;
}
