:root{color-scheme:dark;color:#f2f0f7;font-synthesis:none;background:#15141a;font-family:Noto Sans KR,system-ui,sans-serif}.book-page{word-break:keep-all;background:#15141a;min-width:0;margin:0}.book-page.light{color-scheme:light;color:#22202a;background:#f8f7fb}.book-page.light .book-shell,.book-page.light .reader-head{background:#f8f7fb}.book-page.light .book-card,.book-page.light .work-card,.book-page.light .buy-card,.book-page.light .reader-tools{color:#22202a;background:#fff}.book-page.light .chapter-row,.book-page.light .reader-head{border-color:#ddd9e5}.book-page.light .chapter-body{color:#302d38}.book-shell{box-sizing:border-box;max-width:680px;min-height:100vh;color:inherit;margin:auto;padding:40px 20px}.book-cover{text-align:center;box-sizing:border-box;background:#3b2f6b;border-radius:8px;justify-content:center;align-items:flex-end;width:160px;height:224px;margin:0 auto 24px;padding:16px;font-size:14px;font-weight:800;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 20px #0005}.book-cover:before{content:"";background:#ffc72c;border-radius:50%;width:64px;height:64px;position:absolute;top:27px}.book-cover:after{content:"";border:2px solid #f2f0f7;width:48px;height:82px;position:absolute;bottom:50px}.book-cover span{z-index:1;line-height:1.45}.book-cover img{object-fit:cover;z-index:2;width:100%;height:100%;position:absolute;inset:0}.book-intro{text-align:center}.book-intro h1{margin:0;font-size:24px;line-height:1.3}.book-author{color:#b3afc2;margin:8px 0 14px;font-size:14px}.chip{color:#f2f0f7;background:#2a2933;border:0;border-radius:999px;align-items:center;min-height:28px;padding:0 11px;font-size:12px;font-weight:600;display:inline-flex}.chip.free{color:#4ade80;background:#15301f}.chip.opened{color:#93c5fd;background:#1e2a3d}.book-description{color:#b3afc2;white-space:pre-line;margin:20px 0 28px;font-size:14px;line-height:1.7}.book-button,.book-subbutton{box-sizing:border-box;cursor:pointer;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;width:100%;min-height:48px;padding:10px 14px;font:700 16px inherit;text-decoration:none;display:flex}.book-button{color:#191814;background:#ffc72c}.book-subbutton{color:inherit;background:0 0;border-color:#34323f}.book-section{margin-top:36px}.section-title{justify-content:space-between;align-items:center;margin:0 0 12px;font-size:16px;display:flex}.section-title small{color:#ffc72c;font-size:12px}.chapter-row{box-sizing:border-box;width:100%;min-height:64px;color:inherit;text-align:left;cursor:pointer;font:inherit;background:0 0;border:0;border-bottom:1px solid #34323f;grid-template-columns:44px 1fr auto;align-items:center;gap:8px;padding:7px 0;display:grid}.chapter-no{font-size:14px;font-weight:700}.chapter-row.locked .chapter-no{color:#8a869a}.chapter-title{font-size:15px;font-weight:600}.chapter-chars{color:#8a869a;margin-top:3px;font-size:12px;font-weight:400;display:block}.lock{color:#8a869a;font-size:18px}.works{gap:12px;display:grid}.work-card{box-sizing:border-box;color:inherit;background:#1f1e26;border-radius:14px;padding:12px;text-decoration:none;display:block;overflow:hidden}.work-thumb{background:#2a2933;border-radius:8px;height:0;padding-bottom:56.25%;position:relative;overflow:hidden}.work-thumb img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.work-play{border-top:11px solid #0000;border-bottom:11px solid #0000;border-left:18px solid #f2f0f7;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.work-card iframe{aspect-ratio:16/9;border:0;border-radius:8px;width:100%}.work-card h3{margin:10px 0 4px;font-size:15px}.work-card p{color:#8a869a;margin:0;font-size:12px}.work-locked{align-items:center;gap:12px;min-height:62px;display:flex}.book-card,.buy-card{box-sizing:border-box;background:#1f1e26;border-radius:14px;padding:20px}.buy-card p,.donate-card p{color:#b3afc2;margin:6px 0 16px;font-size:13px;line-height:1.7}.buy-card strong,.donate-card strong{font-size:15px}.price-row{border-top:1px solid #34323f;border-bottom:1px solid #34323f;justify-content:space-between;margin:14px 0;padding:11px 0;font-size:13px;display:flex}.donate-card{margin-top:14px}.donate-links{flex-wrap:wrap;gap:8px;display:flex}.donate-links a{color:inherit;border:1px solid #34323f;border-radius:10px;padding:9px 12px;font-size:13px;font-weight:700;text-decoration:none}.book-footer{text-align:center;color:#8a869a;margin:36px 0 0;font-size:12px}.resume-disabled:disabled{color:#8a869a;cursor:default;background:#2a2933;border:0}.reader-head{z-index:2;background:#15141a;border-bottom:1px solid #34323f;grid-template-columns:1fr auto 1fr;align-items:center;height:56px;padding:0 20px;display:grid;position:sticky;top:0}.reader-head button{color:inherit;cursor:pointer;background:0 0;border:0;font:600 14px inherit}.reader-head .back{text-align:left}.reader-head .tools{text-align:right;justify-content:flex-end;gap:8px;display:flex}.round-tool{width:32px;background:#1f1e26!important;border-radius:50%!important;height:32px!important}.reader-tools{background:#1f1e26;border:1px solid #34323f;border-radius:10px;padding:4px;display:flex;position:absolute;top:64px;right:20px}.reader-tools button{width:40px;height:32px;color:inherit;background:0 0;border:0;border-radius:7px;font-weight:700}.reader-tools button.active{color:#191814;background:#ffc72c}.reader-main{box-sizing:border-box;max-width:680px;margin:auto;padding:28px 20px 40px}.chapter-label{color:#ffc72c;margin:0 0 4px;font-size:13px}.chapter-heading{border-bottom:1px solid #34323f;margin:0 0 24px;padding-bottom:24px;font-size:24px;line-height:1.35}.chapter-body{color:#e7e4f0;font-size:17px;line-height:1.9}.chapter-body.size-small{font-size:15px}.chapter-body.size-large{font-size:19px}.chapter-body p{margin:0 0 20px}.end-card{border-top:3px solid #ffc72c;margin-top:40px}.end-card .book-button{margin-top:16px}.chapter-nav{grid-template-columns:1fr 1fr;gap:12px;margin-top:32px;display:grid}.chapter-nav button{min-height:48px;color:inherit;background:0 0;border:1px solid #34323f;border-radius:12px;font:700 14px inherit}.chapter-nav button:disabled{color:#8a869a;background:#2a2933}.chapter-count{text-align:center;color:#8a869a;margin:12px;font-size:12px}.book-dialog[hidden],.reader-tools[hidden]{display:none}.book-dialog{z-index:10;background:#0009;align-items:flex-end;display:flex;position:fixed;inset:0}.confirm-dialog{z-index:11}.confirm-dialog .lock-sheet{padding-top:28px}.confirm-dialog .lock-note{margin-bottom:24px}.confirm-dialog .book-button,.confirm-dialog .book-subbutton{min-height:52px}.confirm-dialog .book-subbutton{margin-top:12px}.lock-sheet{box-sizing:border-box;color:#f2f0f7;background:#1f1e26;border-radius:24px 24px 0 0;width:100%;max-height:92vh;padding:36px 20px 24px;position:relative;overflow:auto}.sheet-handle{background:#34323f;border-radius:4px;width:40px;height:4px;position:absolute;top:12px;left:calc(50% - 20px)}.dialog-close{color:inherit;cursor:pointer;background:0 0;border:0;font-size:28px;position:absolute;top:12px;right:16px}.lock-sheet h2{margin:0;font-size:20px;line-height:1.35}.lock-note{color:#b3afc2;white-space:pre-line;margin:10px 0 20px;font-size:14px;line-height:1.7}.lock-changed{color:#ffc72c;margin:0 0 10px;font-size:14px;font-weight:700}.demo-hint{color:#ffc72c;margin:-5px 0 12px;font-size:13px}.qr-column{display:none}.code-divider{color:#8a869a;align-items:center;gap:10px;margin:24px 0 14px;font-size:12px;font-weight:600;display:flex}.code-divider:before,.code-divider:after{content:"";background:#34323f;flex:1;height:1px}.code-row{grid-template-columns:1fr 86px;gap:12px;display:grid}.code-row input{box-sizing:border-box;color:#f2f0f7;background:#15141a;border:1px solid #34323f;border-radius:10px;min-width:0;height:48px;padding:0 12px;font:16px inherit}.code-row input.error{border-color:#ff6b6b}.code-row button{color:#15141a;cursor:pointer;background:#f2f0f7;border:0;border-radius:10px;font:700 15px inherit}.form-message{color:#8a869a;min-height:20px;margin:8px 0 0;font-size:13px}.form-message.error{color:#ff6b6b}.form-message.success{color:#4ade80}.unlock-success{background:#15301f;border-radius:12px;padding:14px}.unlock-success p{color:#4ade80;margin:0 0 10px;font-size:15px;font-weight:700}.dialog-footer{text-align:center;margin-top:24px}.dialog-footer .book-footer{margin:0}.loading,.load-error{text-align:center;color:#b3afc2;padding:60px 20px}@media(min-width:900px){.book-shell{padding-top:48px}.reader-head{height:64px;padding-left:max(20px,50vw - 340px);padding-right:max(20px,50vw - 340px)}.reader-main{padding-top:42px}.chapter-heading{font-size:32px}.chapter-body{font-size:18px}.book-dialog{justify-content:center;align-items:center}.lock-sheet{border:1px solid #34323f;border-radius:20px;width:640px;max-height:85vh;padding:32px;box-shadow:0 16px 50px #0009}.confirm-dialog .lock-sheet{width:420px;padding:28px}.sheet-handle{display:none}.lock-sheet h2{font-size:22px}.lock-layout{grid-template-columns:200px 1fr;gap:32px;margin-top:24px;display:grid}.qr-column{text-align:center;color:#b3afc2;font-size:12px;line-height:1.5;display:block}.qr-box{box-sizing:border-box;background:#fff;border-radius:12px;width:150px;height:150px;margin:0 auto 10px;padding:12px}.qr-box canvas{width:126px;height:126px}.code-divider{margin-top:0}.dialog-footer{margin-top:22px}}@media(max-width:389px){.book-shell,.reader-main,.reader-head{padding-left:16px;padding-right:16px}.chapter-row{grid-template-columns:40px 1fr auto}}
/* [#176] 쪽 넘김 읽기(웹소설·에세이 공통, 어두운 기본색) */
[hidden]{display:none!important}
.paged-reader{position:fixed;inset:0;display:flex;flex-direction:column;background:#15141a;overflow:hidden}
.paged-reader .reader-head{position:absolute;left:0;right:0;top:0;z-index:3;background:#1f1e26f5;transform:translateY(-100%);transition:transform .2s}
.paged-reader.tools-on .reader-head{transform:none}
.paged-reader .reader-tools{top:64px}
.paged-viewport{flex:1;min-height:0;position:relative;overflow:hidden;width:100%}
.paged-runhead{position:absolute;top:18px;left:0;right:0;margin:0;text-align:center;font-size:12px;font-weight:500;color:#8a869a;z-index:1;pointer-events:none}
.paged-content{box-sizing:border-box;padding:52px 0 20px;column-fill:auto;color:#e7e4f0;font-size:17px;line-height:1.9;word-break:keep-all;orphans:2;widows:2;transition:transform .25s ease;will-change:transform}
.paged-content.size-small{font-size:15px}
.paged-content.size-large{font-size:19px}
.paged-content p{margin:0 0 20px}
.paged-content figure{margin:20px 0;break-inside:avoid}
.paged-content .end-card{break-inside:avoid;margin-top:24px}
.paged-status{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 24px env(safe-area-inset-bottom);box-sizing:content-box}
.paged-count{font-size:12px;font-weight:500;color:#8a869a}
.paged-progress{display:block;width:100%;max-width:440px;height:2px;background:#34323f}
.paged-progress b{display:block;height:2px;background:#ffc72c}
.tap-hint{position:absolute;left:50%;bottom:76px;transform:translateX(-50%);z-index:4;max-width:calc(100% - 32px);padding:10px 16px;border-radius:10px;background:#000000b8;color:#fff;font:600 13px/1.4 inherit;pointer-events:none;white-space:nowrap}
.paged-reader.is-spread .paged-viewport{max-width:1100px;margin:0 auto}
.paged-reader.is-spread .paged-runhead{display:none}
.paged-reader.is-spread .paged-viewport:after{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:#34323f;pointer-events:none}
.book-page.light .paged-reader{background:#f8f7fb}
.book-page.light .paged-reader .reader-head{background:#f8f7fbf5}
.book-page.light .paged-content{color:#302d38}
.book-page.light .paged-progress{background:#ddd9e5}
@media(prefers-reduced-motion:reduce){.paged-content,.paged-reader .reader-head{transition:none!important}}
.book-page.book-kind-novel.light .book-author,.book-page.book-kind-novel.light .book-description,.book-page.book-kind-novel.light .buy-card p,.book-page.book-kind-novel.light .donate-card p,.book-page.book-kind-novel.light .loading,.book-page.book-kind-novel.light .load-error{color:#5f5b70}.book-page.book-kind-novel.light .chapter-row.locked .chapter-no,.book-page.book-kind-novel.light .chapter-chars,.book-page.book-kind-novel.light .lock,.book-page.book-kind-novel.light .work-card p,.book-page.book-kind-novel.light .book-footer,.book-page.book-kind-novel.light .resume-disabled:disabled,.book-page.book-kind-novel.light .chapter-nav button:disabled,.book-page.book-kind-novel.light .chapter-count,.book-page.book-kind-novel.light .paged-runhead,.book-page.book-kind-novel.light .paged-count{color:#6a6678}.book-page.book-kind-novel.light .resume-disabled:disabled,.book-page.book-kind-novel.light .chapter-nav button:disabled,.book-page.book-kind-novel.light .work-thumb{background:#ebe8f2}.book-page.book-kind-novel.light .section-title small,.book-page.book-kind-novel.light .chapter-label{color:#8a5a00}.book-page.book-kind-novel.light .chip{color:#22202a;background:#ebe8f2}.book-page.book-kind-novel.light .chip.free{color:#166534;background:#dcfce7}.book-page.book-kind-novel.light .chip.opened{color:#1d4ed8;background:#dbeafe}.book-page.book-kind-novel.light .round-tool{background:#fff!important;color:#22202a;border:1px solid #ddd9e5}.book-page.book-kind-novel.light .paged-progress{background:#c4bfd2}.book-page.book-kind-novel.light .book-cover span{color:#f2f0f7}.book-page.book-kind-novel.light .lock-sheet .book-footer{color:#8a869a}