/*
 * Owner: global motion-pause policy only.
 * Visual appearance and animation definitions stay with their feature files.
 */
html:is(
  [data-crossroad-motion-profile="quiet"],
  [data-crossroad-motion-profile="still"]
) :is(
  .present-marker,
  .intersection-sanctuary,
  .vfprep-signature,
  .trailer-preview-stack,
  .launch-projection-layer
),
html:is(
  [data-crossroad-motion-profile="quiet"],
  [data-crossroad-motion-profile="still"]
) :is(
  .present-marker,
  .intersection-sanctuary,
  .ambient-art-layer
) *,
html:is(
  [data-crossroad-motion-profile="quiet"],
  [data-crossroad-motion-profile="still"]
) .present-marker::before,
html:is(
  [data-crossroad-motion-profile="quiet"],
  [data-crossroad-motion-profile="still"]
) .present-marker::after,
html:is(
  [data-crossroad-motion-profile="quiet"],
  [data-crossroad-motion-profile="still"]
) #trailer-preview-stack::after,
html:is(
  [data-crossroad-motion-profile="quiet"],
  [data-crossroad-motion-profile="still"]
) .present-marker *::before,
html:is(
  [data-crossroad-motion-profile="quiet"],
  [data-crossroad-motion-profile="still"]
) .present-marker *::after {
  animation-play-state: paused !important;
}

/* A still overlay also freezes Collection-specific motion behind the dialog. */
html[data-crossroad-motion-profile="still"] .collection-room,
html[data-crossroad-motion-profile="still"] .collection-room * {
  animation-play-state: paused !important;
}

html[data-crossroad-reduced-motion="true"] {
  scroll-behavior: auto !important;
}
