#hl-reader{width:100vw;max-width:none;height:100dvh;max-height:none;padding:0;border:0;background:#ded5c2;color:#1c392e}
#hl-reader::backdrop{background:#000b}.hl-reader-shell{display:flex;flex-direction:column;height:100%}.hl-reader-head,.hl-reader-foot{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:14px 24px;background:#faf6eb;font:14px/1.4 system-ui;flex-wrap:wrap}
.hl-reader-head h2{margin:0;font:700 16px/1.4 system-ui}.hl-reader-head button,.hl-reader-foot button,.hl-reader-foot select{padding:10px 14px;border:1px solid #9eab9b;background:transparent;color:#1c392e;font:inherit}.hl-reader-head a{color:#1c392e}
.hl-reader-body{flex:1;min-height:0;overflow:auto;padding:28px 40px;display:flex;align-items:flex-start}.hl-spread{display:flex;max-width:none;width:100%;flex-shrink:0;margin:auto;box-shadow:0 15px 35px #0003;perspective:1800px;background:#fffdf5}
.hl-leaf{width:50%;position:relative;aspect-ratio:2/3;background:#fffdf5}.hl-leaf img{display:block;width:100%;height:100%;object-fit:contain}.hl-leaf.hl-left{border-right:1px solid #b5aa8b}.hl-leaf.hl-left:after{content:"";position:absolute;right:0;top:0;width:18px;height:100%;background:linear-gradient(90deg,transparent,#0001);pointer-events:none}
.hl-spread.hl-single .hl-leaf{width:100%}.hl-zoom-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hl-zoom-controls input{width:120px;accent-color:#1c392e}.hl-zoom-controls output{min-width:42px;font-variant-numeric:tabular-nums}
.hl-flip{animation:hl-turn .5s ease both;transform-origin:left center}@keyframes hl-turn{from{transform:rotateY(-22deg);filter:brightness(.85)}to{transform:rotateY(0);filter:brightness(1)}}
.hl-reader-foot button:disabled{opacity:.4;cursor:default}.hl-controls{display:flex;gap:8px;align-items:center}.hl-status{min-width:90px;text-align:center}
.hl-text-panel{margin:0;padding:18px 24px;background:#faf6eb;max-height:36vh;overflow:auto;font-size:16px}.hl-text-panel p{white-space:pre-wrap;margin:0 0 20px}
@media(max-width:700px){.hl-reader-body{padding:16px 12px}.hl-spread{max-width:none}.hl-leaf{width:100%}.hl-leaf.hl-left{border:0}.hl-leaf.hl-left:after{display:none}.hl-reader-head,.hl-reader-foot{padding:10px 12px}.hl-reader-head h2{font-size:14px}.hl-reader-foot{gap:6px}.hl-reader-foot button{padding:9px}.hl-controls{gap:5px}}
@media(prefers-reduced-motion:reduce){.hl-flip{animation:none}}

#hl-reader{box-sizing:border-box;color:#1c392e;font:19px/1.55 Georgia,serif;background:#ded5c2;margin:auto}#hl-reader *{box-sizing:border-box}#hl-reader button{cursor:pointer;touch-action:manipulation}#hl-reader button:focus-visible,#hl-reader a:focus-visible,#hl-reader input:focus-visible,#hl-reader select:focus-visible{outline:3px solid #b28027;outline-offset:3px}#hl-reader .hl-reader-foot>.hl-controls{flex-wrap:wrap}#hl-reader select{max-width:min(260px,60vw)}#hl-reader .hl-status{font:14px/1.4 system-ui;letter-spacing:normal;border:0;padding:0;color:inherit}#hl-reader .hl-text-panel{flex-shrink:0}#hl-reader [hidden]{display:none!important}.hl-sample-cover .hl-open-sample{display:block;margin:0 0 1.3rem;width:100%;background:#173a31;color:#faf6ec;cursor:pointer}.hl-sample-cover .hl-open-sample:hover{background:#285344}
