/* Shared quiet scroll surfaces. Native scrolling, keyboard and touch stay in charge. */
:root { --scroll-thumb:#8192a9; --scroll-thumb-hover:#526e94; }
:root[data-theme="dark"] { --scroll-thumb:#64758d; --scroll-thumb-hover:#91aacb; }
@media (forced-colors:none) {
  :where(html,body,*),.side-nav,.code-terminal .terminal-code.code-box { scrollbar-width:thin; scrollbar-color:var(--scroll-thumb) transparent; }
  @supports selector(::-webkit-scrollbar) {
    :where(html,body,*),.side-nav,.code-terminal .terminal-code.code-box { scrollbar-width:auto; scrollbar-color:auto; }
    ::-webkit-scrollbar { width:9px; height:8px; }
    ::-webkit-scrollbar-track { background:transparent; }
    ::-webkit-scrollbar-thumb { background-color:var(--scroll-thumb); background-clip:padding-box; border:2px solid transparent; border-radius:999px; }
    ::-webkit-scrollbar-thumb:hover { background-color:var(--scroll-thumb-hover); }
    ::-webkit-scrollbar-thumb:active { background-color:var(--accent); }
    ::-webkit-scrollbar-corner { background:transparent; }
    ::-webkit-scrollbar-button { display:none; width:0; height:0; }
  }
}
