/* Desktop-only overlay; the document keeps normal wheel, touch and keyboard scrolling. */
html.has-overlay-scrollbar{scrollbar-width:none}
html.has-overlay-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}
.page-thumb{position:fixed;display:block;z-index:80;top:0;right:2px;width:22px;
  padding:0;border:0;background:none;cursor:grab;touch-action:none;user-select:none;
  height:var(--thumb-height,52px);transform:translate3d(0,var(--thumb-position,7px),0)}
.page-thumb[hidden]{display:none}
.page-thumb::before{content:"";position:absolute;inset:0 4px 0 auto;width:7px;
  border-radius:999px;background:#172644;border:1px solid #fff8;
  opacity:.75;transition:width .22s ease,opacity .22s ease}
.page-thumb:hover::before,.page-thumb:focus-visible::before,.page-thumb.is-dragging::before{
  width:9px;opacity:1}
.page-thumb:focus-visible{outline:2px solid #172644;outline-offset:-2px;border-radius:999px}
.page-thumb.is-dragging{cursor:grabbing}
@media(prefers-reduced-motion:reduce){.page-thumb::before{transition:none}}
