.motion-paused,
.motion-paused::before,
.motion-paused::after {
  animation-play-state: paused !important;
}

body.motion-hidden *,
body.motion-hidden *::before,
body.motion-hidden *::after {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
