/* Quiet dashed rails from the supplied reference; retain native scrolling. */
:root{--scroll-rail:#ffffff24;--scroll-thumb:#858585;--scroll-hover:#bbb}
:root[data-theme=light]{--scroll-rail:#00000025;--scroll-thumb:#92908b;--scroll-hover:#62615d}
#opening-chatlog ol{--scroll-rail:#ffffff24;--scroll-thumb:#737373;--scroll-hover:#aaa}

@supports selector(::-webkit-scrollbar){
  html,body #opening-chatlog ol{scrollbar-width:auto!important;scrollbar-color:auto!important}
  html::-webkit-scrollbar{width:10px;height:10px;background:var(--bg,#080808)}
  #opening-chatlog ol::-webkit-scrollbar{width:8px;height:8px;background:#111}
  html::-webkit-scrollbar-track,#opening-chatlog ol::-webkit-scrollbar-track{
    margin:12px 0;
    background-image:linear-gradient(to bottom,var(--scroll-rail) 0 1px,transparent 1px);
    background-size:5px 11px;background-position:center top;background-repeat:repeat-y;
    border:0;box-shadow:none;
  }
  html::-webkit-scrollbar-thumb,#opening-chatlog ol::-webkit-scrollbar-thumb{
    min-height:32px;border:3px solid transparent;border-radius:100px;
    background:var(--scroll-thumb);background-clip:padding-box;box-shadow:none;
  }
  #opening-chatlog ol::-webkit-scrollbar-thumb{border-width:2px}
  html::-webkit-scrollbar-thumb:hover,#opening-chatlog ol::-webkit-scrollbar-thumb:hover{background-color:var(--scroll-hover)}
  html::-webkit-scrollbar-button,#opening-chatlog ol::-webkit-scrollbar-button{display:none;width:0;height:0}
  html::-webkit-scrollbar-corner,#opening-chatlog ol::-webkit-scrollbar-corner{background:transparent}
}
@supports not selector(::-webkit-scrollbar){
  html,body #opening-chatlog ol{scrollbar-width:thin!important;scrollbar-color:var(--scroll-thumb) transparent!important}
}
@media(forced-colors:active){
  html,body #opening-chatlog ol{scrollbar-width:auto!important;scrollbar-color:auto!important}
}
