/* Hide only the scrollbar chrome. Native overflow, touch, wheel, keyboard and
   scrollIntoView behavior stay owned by each module and by the browser. */
* {
  scrollbar-width: none!important;
  scrollbar-gutter: auto!important;
}

/* Older Safari/Blink versions without the standard property. */
@supports not (scrollbar-width: none) {
  *::-webkit-scrollbar {
    display: none!important;
    width: 0!important;
    height: 0!important;
  }
}

/* Respect an explicit accessibility preference over the visual treatment. */
@media (forced-colors: active), (prefers-contrast: more) {
  * {
    scrollbar-width: auto!important;
    scrollbar-color: auto!important;
  }
  @supports not (scrollbar-width: none) {
    *::-webkit-scrollbar {
      display: revert!important;
      width: revert!important;
      height: revert!important;
    }
  }
}
