*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:Arial,Helvetica,sans-serif;color:#243d79;background:#f2f5f8}button,input,select{font:inherit}button,a{touch-action:manipulation}button,a,select,input{outline-offset:4px}button{cursor:pointer;border:1px solid #d5deeb;border-radius:8px;background:#fff;color:#243d79;padding:11px 15px;min-height:44px}button:hover:not(:disabled),a:hover{background:#e8eff8}button:disabled{opacity:.38;cursor:default}.reader{height:100dvh;min-height:400px;display:flex;flex-direction:column;padding:18px 24px;gap:12px;max-width:1600px;margin:auto}header{display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{font-size:12px;letter-spacing:2px;font-weight:700}h1{font-size:20px;font-weight:500;margin:5px 0 0}header a{font-size:14px;color:#243d79;padding:11px 15px;text-decoration:none;border:1px solid #d5deeb;border-radius:8px;background:#fff;white-space:nowrap}#stage{flex:1;min-height:0;position:relative;overflow:hidden}#book{width:100%;height:100%;margin:auto}.page{background:white;overflow:hidden}.page img{width:100%;height:100%;display:block}nav{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}#jump{display:flex;align-items:center;gap:7px;font-size:14px}#page{width:54px;padding:9px 4px;border:1px solid #d5deeb;border-radius:6px;text-align:center;background:#fff;color:#243d79;min-height:44px}#status{font-size:13px;text-align:center}#status:empty{display:none}dialog{padding:12px;border:0;border-radius:12px;width:96vw;max-width:1500px;height:95dvh;color:#243d79;background:#f2f5f8}dialog[open]{display:flex;flex-direction:column;gap:10px}dialog::backdrop{background:#132449b8}.zoom-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.zoom-toolbar select{padding:9px;border:1px solid #d5deeb;border-radius:6px}#closeZoom{margin-left:auto}#zoomScroll{flex:1;overflow:auto;background:#e1e7ef;min-height:0;touch-action:pan-x pan-y pinch-zoom}#zoomCanvas{display:block;margin:0 auto;background:#fff}#zoomStatus{margin:0;font-size:13px}body:has(dialog[open]){overflow:hidden}@media(max-width:600px){.reader{padding:12px 8px;gap:8px}h1{font-size:17px}.brand{font-size:10px}nav{gap:6px}nav button{padding:9px 11px}#previous span,#next span{display:none}#jump label{display:none}#jump{gap:5px}.zoom-toolbar{gap:5px;font-size:13px}.zoom-toolbar button{padding:8px 10px}.zoom-toolbar label{display:none}dialog{padding:8px}}
#book{min-width:0!important}.stf__wrapper{width:100%;height:100%}
