/* Compact scrollbars with a stable grab area; no layout-changing hover. */
:root{--vm-scroll-thumb:rgba(70,80,98,.34);--vm-scroll-hover:rgba(70,80,98,.56)}
:root[data-theme=dark],:root.dark{--vm-scroll-thumb:rgba(194,200,212,.28);--vm-scroll-hover:rgba(208,214,224,.5)}
:root *{scrollbar-width:auto;scrollbar-color:auto}
::-webkit-scrollbar{width:8px;height:8px;background:transparent}
::-webkit-scrollbar-track{background:transparent;border:0}
::-webkit-scrollbar-thumb{background:var(--vm-scroll-thumb);border:2px solid transparent;background-clip:padding-box;border-radius:12px;min-height:28px;min-width:28px}
::-webkit-scrollbar-thumb:hover,::-webkit-scrollbar-thumb:active{background-color:var(--vm-scroll-hover)}
::-webkit-scrollbar-corner{background:transparent}
::-webkit-scrollbar-button{display:none;width:0;height:0}
@supports not selector(::-webkit-scrollbar){*{scrollbar-width:thin;scrollbar-color:var(--vm-scroll-thumb) transparent}}
@media(pointer:coarse){::-webkit-scrollbar{width:12px;height:12px}}
@media(forced-colors:active){::-webkit-scrollbar-thumb{background-color:ButtonText}::-webkit-scrollbar-track{background:Canvas}}
