/* V33 — Desktop dedicated reader: 2-page book by default, one-page immersive on Full screen. */
@media (min-width:901px) and (hover:hover) and (pointer:fine){
 .reader-dedicated .topbar .primary-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-width:126px}
 .reader-dedicated .topbar .primary-button #fullLabel{display:inline;white-space:nowrap}
}
/* Actual browser fullscreen and desktop fallback must take priority over PWA sizing. */
.reader-dedicated .app:fullscreen,.reader-dedicated .app.focus-mode{position:relative;width:100vw!important;height:100vh!important;min-height:100vh!important;max-width:none!important;padding:0!important;overflow:hidden!important}
.reader-dedicated :is(.app:fullscreen,.app.focus-mode) .stage{position:absolute!important;inset:0!important;width:100vw!important;height:100vh!important;margin:0!important;max-height:none!important}
.reader-dedicated :is(.app:fullscreen,.app.focus-mode) .book,
.reader-dedicated :is(.app:fullscreen,.app.focus-mode) .book[data-layout="single"],
.reader-dedicated :is(.app:fullscreen,.app.focus-mode) .book[data-layout="solo"]{width:100vw!important;height:100vh!important;max-width:100vw!important;max-height:100vh!important;aspect-ratio:auto!important;flex:1!important}
.reader-dedicated :is(.app:fullscreen,.app.focus-mode) .book[data-layout="single"] .page-left{display:block!important;width:100%!important;height:100%!important;flex:0 0 100%!important}
.reader-dedicated :is(.app:fullscreen,.app.focus-mode) .book[data-layout="single"] .page-right{display:none!important}
.reader-dedicated :is(.app:fullscreen,.app.focus-mode) .topbar .primary-button{display:inline-flex!important}
.reader-dedicated :is(.app:fullscreen,.app.focus-mode) .topbar{z-index:36}
/* Avoid showing an unusable control on phones and touchscreen tablets. */
@media (max-width:900px), (hover:none), (pointer:coarse){
 .reader-dedicated .topbar .primary-button{display:none!important}
}
