/* V59 reading-first panoramas. Control is in reader chrome, never fullscreen. */
:is(.app:fullscreen,.app.focus-mode) .book[data-layout="panorama"] .gelli-panorama-viewport.gb59-autopanning{scroll-behavior:auto!important}
.gb59-pan-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}
.gb59-pan-toggle[hidden]{display:none!important}
.gb59-pan-toggle[aria-pressed="false"]{background:#fff6e4;border-color:#d8bd91;color:#795735}
.gb59-pan-symbol{font-size:17px;line-height:1}
@media(max-width:760px){
 .gb59-pan-toggle{min-width:35px!important;width:35px;height:35px;padding:0 5px!important}
 .gb59-pan-label{display:none}
}
:is(.app:fullscreen,.app.focus-mode) .gb59-pan-toggle{display:none!important}
@media(prefers-reduced-motion:reduce){
 :is(.app:fullscreen,.app.focus-mode) .book[data-layout="panorama"] .gelli-panorama-viewport{scroll-behavior:auto!important}
}
