/* Site-wide scrollbars: thin, theme-coloured, and only visible while the pointer is over that section.
   :where() keeps specificity at zero, so any section that hides or styles its own scrollbar still wins.
   Chromium and Firefox use the standard properties; older Safari falls back to ::-webkit-scrollbar below. */
:where(*) {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}
:where(*):hover,
:where(*):focus-within {
    scrollbar-color: #a9c4be transparent;
}

@supports not (scrollbar-color: auto) {
    :where(*)::-webkit-scrollbar { width: 8px; height: 8px; }
    :where(*)::-webkit-scrollbar-track { background: transparent; }
    :where(*)::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
    :where(*)::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: transparent; background-clip: padding-box; }
    :where(*):hover::-webkit-scrollbar-thumb { background-color: #a9c4be; }
    :where(*)::-webkit-scrollbar-thumb:hover { background-color: #6fa79c; }
}
