/* [#176] 에세이 — 종이책 톤. book.css 뒤에 붙어 덮어쓴다 */
.book-page.book-kind-essay{background:#f2eee6;color:#2b2620;font-family:'Noto Serif KR','Nanum Myeongjo','Apple SD Gothic Neo',serif}
.book-kind-essay .book-shell{color:#2b2620}
.book-kind-essay .book-cover{background:#eae2d3;border-radius:4px;box-shadow:0 8px 20px #5b3a2922;align-items:center;flex-direction:column;justify-content:center}
.book-kind-essay .book-cover:before{display:none}
.book-kind-essay .book-cover:after{inset:14px;width:auto;height:auto;border:1.5px solid #5b3a29;bottom:14px}
.book-kind-essay .book-cover span{font-size:26px;font-weight:800;color:#2b2620;line-height:1.3}
.book-kind-essay .book-cover span:after{content:"";display:block;width:36px;height:2px;background:#5b3a29;margin:14px auto 0}
.book-kind-essay .book-cover em{z-index:1;margin-top:12px;font:500 15px 'Noto Serif KR',serif;font-style:normal;color:#6b6050}
.book-kind-essay .book-intro h1,.book-kind-essay .book-author{display:none}
.book-kind-essay .book-description{color:#6b6050;font-size:14px;line-height:1.9;margin:4px 0 16px}
.book-kind-essay .chip{background:#fbf8f2;color:#6b6050;border:1px solid #d8cdb9;font-family:'Noto Sans KR',sans-serif;margin-bottom:22px}
.book-kind-essay .chip.free{background:#e3efe0;color:#2f6b3b;border-color:#e3efe0;margin:0}.chip.opened{background:#e8eef6;color:#35557a;border-color:#e8eef6;margin:0}
.book-kind-essay .book-button{background:#5b3a29;color:#fbf8f2;border-radius:8px;font-family:'Noto Sans KR',sans-serif;margin-bottom:10px}
.book-kind-essay .book-subbutton{background:#fbf8f2;color:#5b3a29;border-color:#5b3a29;border-radius:8px;font-family:'Noto Sans KR',sans-serif;margin-bottom:10px}
.book-kind-essay .resume-disabled:disabled{background:#eae2d3;color:#9a8f7e}
.book-kind-essay .section-title{font-size:18px;font-weight:800}
.book-kind-essay .section-title small{color:#5b3a29;font:600 12px 'Noto Sans KR',sans-serif}
.book-kind-essay .chapter-row{grid-template-columns:58px 1fr auto;border-bottom-color:#d8cdb9;min-height:60px}
.book-kind-essay .chapter-no{font-size:13px;font-weight:700}
.book-kind-essay .chapter-title{font-size:16px;font-weight:600}
.book-kind-essay .chapter-row.locked .chapter-no,.book-kind-essay .chapter-row.locked .chapter-title,.book-kind-essay .lock{color:#9a8f7e;font-size:16px;filter:grayscale(1);opacity:.7}
.book-kind-essay .book-card,.book-kind-essay .buy-card,.book-kind-essay .work-card{background:#fbf8f2;border:1px solid #d8cdb9;border-radius:13px;color:#2b2620}
.book-kind-essay .buy-card p,.book-kind-essay .donate-card p{color:#6b6050;font-family:'Noto Sans KR',sans-serif}
.book-kind-essay .price-row{border-color:#d8cdb9}
.book-kind-essay .donate-links a{border-color:#d8cdb9}
.book-kind-essay .work-thumb{background:#eae2d3}
.book-kind-essay .end-card{border-top-color:#5b3a29}
.book-kind-essay .book-footer,.book-kind-essay .loading,.book-kind-essay .load-error{color:#9a8f7e}
/* 잠금 시트 */
.book-kind-essay .lock-sheet{background:#fbf8f2;color:#2b2620;border-color:#d8cdb9}
.book-kind-essay .sheet-handle,.book-kind-essay .code-divider:before,.book-kind-essay .code-divider:after{background:#d8cdb9}
.book-kind-essay .lock-note,.book-kind-essay .qr-column,.book-kind-essay .form-message,.book-kind-essay .code-divider{color:#6b6050}
.book-kind-essay .lock-changed,.book-kind-essay .demo-hint{color:#5b3a29}
.book-kind-essay .code-row input{background:#f4efe6;color:#2b2620;border-color:#d8cdb9}
.book-kind-essay .code-row button{background:#5b3a29;color:#fbf8f2}
.book-kind-essay .unlock-success{background:#e3efe0}
.book-kind-essay .unlock-success p{color:#2f6b3b}
/* 읽기 */
.book-kind-essay .paged-reader{background:#e8e3d8}
.book-kind-essay .paged-reader .reader-head{background:#fbf8f2f5;border-bottom:1px solid #d8cdb9;color:#2b2620;font-family:'Noto Sans KR',sans-serif}
.book-kind-essay .round-tool{background:#eae2d3!important}
.book-kind-essay .reader-tools{background:#fbf8f2;border-color:#d8cdb9}
.book-kind-essay .reader-tools button.active{background:#5b3a29;color:#fbf8f2}
.book-kind-essay .paged-viewport{background:#f4efe6}
.book-kind-essay .paged-reader.is-spread .paged-viewport{margin-top:28px;margin-bottom:8px;border:1px solid #d8cdb9;background:linear-gradient(90deg,#fbf8f2 0 50%,#f7f2e8 50% 100%)}
.book-kind-essay .paged-reader.is-spread .paged-viewport:after{width:18px;margin-left:-9px;background:linear-gradient(90deg,#0000,#00000014 50%,#0000)}
.book-kind-essay .paged-runhead{color:#9a8f7e;font-family:'Noto Serif KR',serif}
.book-kind-essay .paged-content{color:#2b2620;font-size:18px;line-height:1.9;font-family:'Noto Serif KR','Nanum Myeongjo',serif}
.book-kind-essay .paged-content.size-small{font-size:16px}
.book-kind-essay .paged-content.size-large{font-size:20px}
.book-kind-essay .poem-line{margin:0}
.book-kind-essay .poem-gap{height:1.9em;margin:0}
.book-kind-essay .essay-title-page{box-sizing:border-box;height:calc(var(--ph,600px) - 72px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;break-after:column;-webkit-column-break-after:always}
.book-kind-essay .essay-title-page span{font-size:15px;font-weight:600;color:#6b6050}
.book-kind-essay .essay-title-page i{display:block;width:36px;height:2px;background:#5b3a29;margin:14px 0 18px}
.book-kind-essay .essay-title-page h1{margin:0;font-size:34px;font-weight:800;line-height:1.35}
.book-kind-essay .paged-content figure img{display:block;width:100%;max-height:calc(var(--ph,600px) * .55);object-fit:contain;background:#eae2d3}
.book-kind-essay .paged-content figcaption{font:400 12px/1.5 'Noto Sans KR',sans-serif;color:#9a8f7e;text-align:center;margin-top:8px}
.book-kind-essay .ornament{text-align:center;color:#9a8f7e;letter-spacing:6px;margin:28px 0 20px}
.book-kind-essay .essay-next{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;box-sizing:border-box;border:1px solid #5b3a29;border-radius:8px;background:#fbf8f2;color:#5b3a29;font:600 14px 'Noto Sans KR',sans-serif;break-inside:avoid;cursor:pointer}
.book-kind-essay .essay-next:disabled{opacity:.4;cursor:default}
.book-kind-essay .paged-count{color:#9a8f7e;font-family:'Noto Sans KR',sans-serif}
.book-kind-essay .paged-progress{background:#d8cdb9}
.book-kind-essay .paged-progress b{background:#5b3a29}
.book-kind-essay .tap-hint{background:#2b2620e0;color:#fbf8f2;font-family:'Noto Sans KR',sans-serif}
/* 어두운 모드(밝기 버튼) */
.book-page.book-kind-essay.light{background:#1c1814;color:#e8e0d0}
.book-kind-essay.light .paged-reader{background:#14110d}
.book-kind-essay.light .paged-viewport,.book-kind-essay.light .paged-reader.is-spread .paged-viewport{background:#26211b;border-color:#3a3228}
.book-kind-essay.light .paged-reader .reader-head{background:#26211bf5;border-color:#3a3228;color:#e8e0d0}
.book-kind-essay.light .paged-content,.book-kind-essay.light .essay-title-page h1{color:#e8e0d0}
.book-kind-essay.light .essay-title-page span,.book-kind-essay.light .paged-runhead,.book-kind-essay.light .paged-count{color:#9a8f7e}
.book-kind-essay.light .essay-title-page i,.book-kind-essay.light .paged-progress b{background:#c9a27e}
.book-kind-essay.light .paged-progress{background:#3a3228}
.book-kind-essay.light .essay-next{background:#26211b;color:#c9a27e;border-color:#c9a27e}
.book-kind-essay.light .round-tool,.book-kind-essay.light .reader-tools{background:#3a3228!important;color:#e8e0d0}
.book-kind-essay.light .book-shell,.book-kind-essay.light .book-description{color:#e8e0d0}
.book-kind-essay.light .book-card,.book-kind-essay.light .buy-card{background:#26211b;border-color:#3a3228;color:#e8e0d0}
@media(max-width:389px){.book-kind-essay .chapter-row{grid-template-columns:52px 1fr auto}}
.book-page.book-kind-essay.light .book-shell,.book-page.book-kind-essay.light .reader-head{background:#1c1814}.book-page.book-kind-essay:not(.light) .paged-count,.book-page.book-kind-essay:not(.light) .paged-runhead,.book-page.book-kind-essay:not(.light) .ornament,.book-page.book-kind-essay:not(.light) .book-footer,.book-page.book-kind-essay:not(.light) .loading,.book-page.book-kind-essay:not(.light) .paged-content figcaption{color:#766a5a}.book-page.book-kind-essay.light .section-title small{color:#c9a27e}.book-page.book-kind-essay.light .buy-card p{color:#b8ab97}.book-page.book-kind-essay.light .paged-progress{background:#51463a}.book-page.book-kind-essay .lock-sheet .book-footer{color:#766a5a}