/* Native scrollbars retain dragging, keyboard scrolling and platform behavior. */
* {
  --uniphy-scroll-thumb: #a844be;
  scrollbar-width: thin;
  scrollbar-color: var(--uniphy-scroll-thumb) transparent;
}

*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track,
*::-webkit-scrollbar-corner { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: var(--uniphy-scroll-thumb);
  border-radius: 999px;
}
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }

/* Chromium's standard scrollbar properties otherwise override thumb geometry. */
@supports selector(::-webkit-scrollbar) {
  * { scrollbar-width: auto; scrollbar-color: auto; }
}

@media (forced-colors: active) {
  * { scrollbar-color: auto; }
  *::-webkit-scrollbar-thumb { background: CanvasText; }
}
