/* @cap eg_preview_scroll | Consistent restrained scrolling on every local preview page. Native wheel, touch and keyboard remain intact. */
:root{--eg-scroll-thumb:#53636e;--eg-scroll-track:#0b1015;scrollbar-width:thin;scrollbar-color:var(--eg-scroll-thumb) var(--eg-scroll-track)}
:root[data-theme="light"],:root[data-thema="light"]{--eg-scroll-thumb:#9ba7ac;--eg-scroll-track:#f6f3ed}
*{scrollbar-width:thin;scrollbar-color:var(--eg-scroll-thumb) transparent}
::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:20px;background:var(--eg-scroll-thumb);background-clip:padding-box}::-webkit-scrollbar-button{display:none;width:0;height:0}::-webkit-scrollbar-corner{background:transparent}
@media(forced-colors:active){:root,*{scrollbar-color:auto;scrollbar-width:auto}}
/* Normal colours: hide only the scrollbar chrome; retain native scrolling and the system-contrast exception. */
@media(forced-colors:none){:root,*{scrollbar-width:none!important}::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}}
