/* site-wide scrollbar. chrome/edge/safari use the ::-webkit-scrollbar rules */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb {
    background: #444;
    border: 2px solid transparent;
    border-radius: 10px;
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: #5c5c5c; }
::-webkit-scrollbar-thumb:active { background-color: var(--accent, rgb(170, 0, 170)); }
::-webkit-scrollbar-button { display: none; }

/* firefox only: chrome drops the custom ones above if these are set anywhere */
@supports not selector(::-webkit-scrollbar) {
    * { scrollbar-width: thin; scrollbar-color: #444 transparent; }
}
