/*
 * THE SYSTEM'S SCROLLBARS — quiet, everywhere.
 *
 * Every page declares `color-scheme: light dark`, so with the computer in
 * dark mode the browser drew its own dark scrollbar (a black track) even on
 * the light theme, inside a white dropdown or popup. This sets the colours
 * explicitly: no track at all, and a thin, faded thumb in the page's own
 * muted colour that only darkens a little under the pointer.
 *
 * `scrollbar-color` / `scrollbar-width` cover Chrome 121+ and Firefox; the
 * ::-webkit-scrollbar rules cover Safari, which ignores the first two.
 * Linked from every page, next to fonts.css.
 */

* {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklab, var(--faint, #8A7F7A) 38%, transparent) transparent;
}
*:hover {
  scrollbar-color: color-mix(in oklab, var(--faint, #8A7F7A) 60%, transparent) transparent;
}

::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb {
  background: color-mix(in oklab, var(--faint, #8A7F7A) 38%, transparent);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: color-mix(in oklab, var(--faint, #8A7F7A) 60%, transparent);
  background-clip: padding-box;
}
