/* Only motion is suppressed. Drawer positions, selected glyphs and preview
   zoom remain their real UI states when the user requests less movement. */
html[data-motion="reduced"],
html[data-motion="reduced"] *,
html[data-motion="reduced"] *::before,
html[data-motion="reduced"] *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* Keep the native pointer and the existing page visible on navigation. */
html[data-motion="reduced"] .pw-sense-layer,
html[data-motion="reduced"] .rift-home[data-leaving="true"] .rift-passage {
  display: none;
}
html[data-motion="reduced"] .rift-profile:is(:hover, :focus-visible) .rift-avatar img,
html[data-motion="reduced"] .rift-menu a:is(:hover, :active, :focus-visible, .going),
html[data-motion="reduced"] .rift-round:is(:hover, :active, :focus-visible) {
  transform: none;
}
