/* No native scrollbars anywhere in the demo app - the phone screen should
   never show a bare scrollbar down its side. edge-scrollbar.js draws a
   custom overlay thumb instead, which fades in only while the cursor is at
   the edge. Native bars are killed on every element (not just html/body)
   because inner panels scroll too, and because styling the viewport's own
   bar via html::-webkit-scrollbar is unreliable.
   Kept in its own file rather than styles.css because userex.html - the
   page most likely to scroll - doesn't load styles.css at all. */
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background: transparent;
}

/* The custom thumb. Overlays the content (position: fixed) so revealing it
   never reflows the page the way a native scrollbar appearing would. */
.looxx-scrollbar {
  position: fixed;
  top: 0;
  right: 3px;
  width: 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 2147483000;
}

.looxx-scrollbar.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.looxx-scrollbar:hover,
.looxx-scrollbar.is-dragging {
  background: rgba(0, 0, 0, 0.55);
}
