/* One full portrait page per reader viewport, without crop or horizontal overflow. */
.reader{height:100dvh;overflow:hidden}.reader .topbar{height:74px;min-height:74px}.reader-stage{height:calc(100dvh - 74px)!important;max-width:none!important;overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;padding:12px!important;scroll-behavior:smooth}.reader-page{width:min(calc(66.667dvh - 65.34px),calc(100vw - 24px))!important;height:auto!important;aspect-ratio:2/3;container-type:inline-size;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;margin:0 auto 12px!important;box-shadow:0 7px 24px #0009!important}.reader-page img{width:100%!important;height:100%!important;object-fit:contain;display:block}.reader-stage::-webkit-scrollbar{width:7px}.reader-stage::-webkit-scrollbar-thumb{background:#ffffff42;border-radius:99px}@media(min-width:900px){.reader .topbar{height:82px;min-height:82px}.reader-stage{height:calc(100dvh - 82px)!important;padding:10px!important}.reader-page{width:min(calc(66.667dvh - 72.01px),calc(100vw - 48px))!important;margin-bottom:10px!important}}
