.reader{background:#e8e4de;color:#25231f}.reader-header{height:65px;background:#f6f3ee;border-bottom:1px solid #d5cec2;display:flex;justify-content:space-between;align-items:center;padding:0 28px}.back{font-size:12px}.reader-brand{font:30px Georgia,serif;letter-spacing:4px}.reader-brand small{font-size:15px;letter-spacing:1px}.reader-main{max-width:1800px;margin:auto;padding:0 18px 20px}.reader-toolbar{min-height:60px;display:flex;justify-content:space-between;align-items:center;gap:14px;max-width:1300px;margin:auto}.reader button,.reader select,.reader input{font:inherit;color:inherit;border:1px solid #c9c1b6;background:#fdfbf8;border-radius:0;min-height:40px;padding:7px 12px}.reader button{cursor:pointer}.reader button:hover:not(:disabled){background:#dcd3c6}.reader button:disabled{opacity:.35;cursor:default}.reader button[aria-pressed=true]{background:#302c26;color:white}.chapters{display:flex;gap:8px;align-items:center;font-size:12px}.tools{display:flex;gap:8px}.tools button{font-size:12px}.stage{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:14px;align-items:center;max-width:1600px;margin:auto}.stage .side{font:38px Georgia,serif;height:64px;padding:0}.book-scroll{min-width:0;overflow:auto;overscroll-behavior:contain}.book{display:flex;justify-content:center;align-items:center;min-height:180px;max-width:100%;margin:auto;animation:appear .24s ease}.book img{width:auto;height:auto;max-height:calc(100dvh - 230px);max-width:50%;aspect-ratio:595.276/841.89;object-fit:contain;flex:0 1 auto;background:white;box-shadow:0 6px 22px #322b2328;align-self:stretch}.book.single img{max-width:100%}.book.zoomed{max-width:none;width:max-content;min-width:100%;justify-content:center}.book.zoomed img{height: min(1500px,160dvh);max-height:none;max-width:none;flex:none}.reader-bottom{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:12px}.reader-bottom>button{min-width:44px}.pagination{display:flex;align-items:center;gap:15px}.pagenum{min-width:92px;text-align:center;font-size:15px;font-variant-numeric:tabular-nums}.jumper{display:flex;align-items:center;gap:5px;font-size:12px}.jumper input{width:63px}.reader-hint{text-align:center;font-size:11px;color:#686159;margin:8px 0}.transcript{max-width:850px;margin:12px auto;font-size:13px;background:#f6f3ee;padding:10px 16px}.transcript summary{cursor:pointer}.transcript p{white-space:pre-line}.reader:fullscreen{overflow:auto}@keyframes appear{from{opacity:.6}to{opacity:1}}@media(max-width:720px){.reader-header{height:54px;padding:0 12px}.reader-main{padding:0 8px 14px}.reader-brand{font-size:24px}.reader-toolbar{min-height:55px;gap:5px}.chapters>span,.tools button span{display:none}.chapters select{max-width:150px;padding:5px;font-size:12px}.tools{gap:4px}.tools button{font-size:20px;padding:4px 10px}.stage{display:block}.stage .side{display:none}.book img{max-height:calc(100dvh - 190px);width:auto}.book.zoomed img{height:120dvh}.reader-bottom{gap:6px}.pagination{gap:5px}.pagenum{min-width:65px;font-size:13px}.jumper label{font-size:10px}.jumper input{width:55px}.reader-hint{font-size:10px}.reader-bottom button{padding:5px 10px}}@media(prefers-reduced-motion:reduce){.book{animation:none}}
/* Explicit page sizing keeps the reading area predictable across browsers. */
.book:not(.zoomed) img{width:min(50%,calc((100dvh - 230px)*.707));height:auto;max-height:none;align-self:auto;flex:none}.book.single:not(.zoomed) img{width:min(100%,calc((100dvh - 230px)*.707))}.book.zoomed img{width:auto}@media(max-width:720px){.book:not(.zoomed) img{width:min(50%,calc((100dvh - 190px)*.707))}.book.single:not(.zoomed) img{width:min(100%,calc((100dvh - 190px)*.707))}}
