/* Square, quiet scrollbars shared by the site, companion, and admin. */
:root {
  color-scheme: dark;
  scrollbar-color: #416e69 #10212b;
  scrollbar-width: thin;
}
html, body { color-scheme: dark; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 9px; height: 9px; background: #10212b; }
html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb { background: #416e69; border: 1px solid #10212b; border-radius: 0; }
* {
  scrollbar-color: #416e69 #10212b;
  scrollbar-width: thin;
}
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: #10212b; }
*::-webkit-scrollbar-thumb { background: #416e69; border: 1px solid #10212b; border-radius: 0; }
*::-webkit-scrollbar-thumb:hover { background: #14f195; }
*::-webkit-scrollbar-corner { background: #10212b; }
/* The page scrollbar is drawn by the OS in some WebKit builds, ignoring the
   rules above. The shared script supplies this rail on desktop instead. */
html.bounce-page-scrollbar { scrollbar-width: none; }
html.bounce-page-scrollbar::-webkit-scrollbar,
html.bounce-page-scrollbar body::-webkit-scrollbar { display: none; width: 0; }
.bounce-page-scrollbar-track { position: fixed; z-index: 2147483000; top: 0; right: 0; bottom: 0; width: 9px; border-left: 1px solid #314d55; background: #10212b; touch-action: none; }
.bounce-page-scrollbar-track[hidden] { display: none; }
.bounce-page-scrollbar-thumb { position: absolute; left: 0; right: 0; min-height: 28px; background: #416e69; }
.bounce-page-scrollbar-track:hover .bounce-page-scrollbar-thumb,
.bounce-page-scrollbar-track:focus-visible .bounce-page-scrollbar-thumb { background: #14f195; }
@media (pointer: coarse) { .bounce-page-scrollbar-track { display: none !important; } }
