:root{font-family:-apple-system,BlinkMacSystemFont,Hiragino Kaku Gothic ProN,Noto Sans JP,sans-serif;color:#182529;background:#e8ebe7;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.38;cursor:default}#app{display:flex;flex-direction:column;height:100dvh;overflow:hidden}main{flex:1;min-height:0;width:100%}.workspace{position:relative;height:100%;background:#e8ebe7;overflow:hidden}.reader-scroll{height:100%;overflow:auto;overscroll-behavior:contain;text-align:center}.paper{position:relative;margin:0 auto;background:#fff;text-align:left}.paper canvas{position:absolute;inset:0;display:block}#maskCanvas{touch-action:pan-x pan-y}.reader-message{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;padding:12px 16px;border-radius:8px;box-shadow:0 3px 15px #0002;font-size:12px;white-space:nowrap}.reader-message[hidden]{display:none}.bottom-panel{flex:none;width:100%;background:#fff;box-shadow:0 -4px 24px #17232817;padding:8px 12px max(9px,env(safe-area-inset-bottom))}.utility-row,.level-buttons,.navigation{max-width:700px;margin-left:auto;margin-right:auto}.utility-row{height:27px;margin-bottom:7px;display:flex;justify-content:space-between;align-items:center}.zoom-controls{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700}.zoom-controls button{width:25px;height:25px;background:#eff2ed;border:0;border-radius:6px;font-size:18px;line-height:1}.help-button{width:23px;height:23px;border:0;border-radius:50%;background:#e9eeea;color:#42534d;font-weight:700;font-size:12px}.level-buttons{display:flex;gap:5px}.level-buttons button{flex:1;min-width:0;padding:9px 2px;background:#f1f3ef;border:1px solid #e6eae4;border-radius:8px;color:#43534e;font-size:11px;font-weight:700;white-space:nowrap}.level-buttons button.selected{color:#fff;background:#1c3436;border-color:#1c3436}.navigation{display:flex;gap:8px;align-items:center;margin-top:9px}.navigation>button:not(.reveal-button){border:1px solid #dfe5de;background:#fff;width:37px;height:37px;border-radius:8px;font-size:21px}.page-jump{display:flex;align-items:center;gap:5px;color:#6d7b75;font-size:11px;margin-left:3px}.page-jump input{width:51px;height:34px;border:1px solid #dfe5de;border-radius:7px;text-align:center;font-weight:700;color:#172328}.page-jump input::-webkit-inner-spin-button{display:none}.reveal-button{margin-left:auto;min-width:104px;height:37px;border:0;border-radius:8px;background:#e2a468;color:#172328;font-size:12px;font-weight:800;touch-action:none;-webkit-user-select:none;user-select:none}.reveal-button.is-holding{background:#c88549}dialog{border:0;border-radius:14px;width:min(90vw,430px);padding:22px;box-shadow:0 15px 50px #0003;color:#243631}dialog::backdrop{background:#0c1a1bb3}.dialog-head{display:flex;justify-content:space-between;font-size:18px}.dialog-head button{border:0;background:transparent;font-size:24px}dialog p{font-size:13px;line-height:1.8}@media(max-width:620px){.bottom-panel{padding:7px 10px max(8px,env(safe-area-inset-bottom))}.level-buttons{gap:4px}.level-buttons button{font-size:10px;padding:9px 1px}.navigation{gap:6px}.navigation>button:not(.reveal-button){width:33px;height:36px}.page-jump{margin-left:0}.page-jump span:first-child{display:none}.reveal-button{min-width:94px}}
