/* Scroll performance fixes for mobile and low-power GPUs. */
html,
body,
#root {
  overflow-x: clip !important;
}

html {
  scrollbar-gutter: stable;
}

body {
  touch-action: pan-y;
  overscroll-behavior-x: none;
}

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