:root{color-scheme:light;--paper:#f7f5f1;--ink:#211e1a;--muted:#716b62;--accent:#6a4a3d;--line:#dcd7ce;--stage:#e8e5de}*{box-sizing:border-box}html{height:100%;background:var(--paper)}body{margin:0;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;font-size:16px}button,input,a{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.32}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{color:inherit}.skip{position:absolute;top:-70px;left:20px;background:white;padding:12px;z-index:99}.skip:focus{top:12px}.app{max-width:1600px;margin:auto;padding:0 28px;min-height:100svh;display:flex;flex-direction:column}.masthead{min-height:101px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.identity{display:flex;align-items:center;gap:22px}.artist{font-family:Georgia,"Times New Roman",serif;font-size:18px;letter-spacing:.02em;padding-right:22px;border-right:1px solid var(--line)}h1{font-family:AppleMyungjo,"Noto Serif KR",Georgia,serif;font-size:28px;font-weight:400;margin:0;line-height:1.2}h1 span{font-family:Georgia,serif;font-size:23px;margin-left:8px}.subtitle{color:var(--muted);font-size:13px;margin:5px 0 0}.header-actions{display:flex;gap:12px;align-items:center}.proof{font-size:12px;letter-spacing:.03em;color:var(--muted);border:1px solid var(--line);padding:5px 9px;border-radius:3px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:9px 14px;background:transparent;border:1px solid var(--line);border-radius:4px;font-size:14px;white-space:nowrap}.btn:hover:not(:disabled){background:#fff;border-color:#bcb3a6}.btn.primary{background:var(--ink);color:var(--paper);border-color:var(--ink)}.btn svg{height:18px;width:18px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.link{font-size:14px;color:var(--muted);min-height:44px;display:flex;align-items:center;padding:8px}.reader{padding-top:17px;flex:1;display:flex;flex-direction:column}.reader-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 12px}.reader-caption{display:flex;align-items:center;gap:11px;font-size:13px;color:var(--muted)}.reader-caption b{font-size:11px;font-weight:400;letter-spacing:.17em}.reader-tools{display:flex;gap:7px}.reader-tools .btn{min-height:40px;padding:7px 11px}.stage{position:relative;display:flex;align-items:center;justify-content:center;background:var(--stage);width:100%;height:calc(100svh - 318px);min-height:300px;max-height:900px;overflow:hidden;border:1px solid #dfdbd3;border-radius:3px;padding:25px 45px}.book{height:100%;width:100%;position:relative;transform:translateX(var(--cover-shift,0px));transition:transform 180ms ease}.leaf{background:#fcfbf8;overflow:hidden}.leaf img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none;pointer-events:none}.leaf[data-density=hard]{background:#10233a}.book:not(.stf__parent){max-width:600px;aspect-ratio:1;height:auto}.book:not(.stf__parent) .leaf{display:none}.book:not(.stf__parent) .leaf:first-child{display:block}.leaf::after{position:absolute;inset:0;content:"";pointer-events:none;box-shadow:inset 0 0 0 .4px #0000000d}.stf__parent{filter:drop-shadow(0 12px 14px #302a2520)}.stf__wrapper{height:100%!important;padding-bottom:0!important}.stf__block{height:100%}.stage-arrow{position:absolute;top:calc(50% - 23px);z-index:6;width:44px;height:48px;border:0;background:#f7f5f1d9;border-radius:3px;display:flex;align-items:center;justify-content:center}.stage-arrow:hover:not(:disabled){background:white}.stage-arrow svg{height:22px;width:22px;fill:none;stroke:currentColor;stroke-width:1.4}.stage-arrow.prev{left:8px}.stage-arrow.next{right:8px}.navigation{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;min-height:73px}.nav-buttons{display:flex;gap:7px}.page-readout{font-size:14px;text-align:center;min-width:200px}.page-readout small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.jump{display:flex;align-items:center;justify-content:flex-end;gap:8px;color:var(--muted);font-size:13px}.jump input{width:56px;min-height:44px;text-align:center;border:1px solid var(--line);background:#fff;border-radius:3px;font-size:15px;color:var(--ink)}.jump button{padding:7px 10px}.progress-row{display:flex;align-items:center;gap:15px}.progress-row span{font-family:Georgia,serif;font-size:12px;color:var(--muted)}input[type=range]{accent-color:var(--accent);width:100%;height:30px;cursor:pointer}.foot{padding:10px 0 15px;display:flex;justify-content:space-between;gap:15px;font-size:12px;color:var(--muted)}.status{font-size:13px;min-height:18px;text-align:center;color:var(--muted);margin:5px 0}.status:empty{display:none}.modal{border:1px solid var(--line);border-radius:6px;padding:0;background:var(--paper);color:var(--ink);max-height:92svh;width:min(1060px,94vw);max-width:94vw}.modal::backdrop{background:#171512ad;backdrop-filter:blur(3px)}.modal-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 22px;border-bottom:1px solid var(--line);background:var(--paper);z-index:2}.modal-head h2{font-family:AppleMyungjo,Georgia,serif;font-size:22px;font-weight:400;margin:0}.modal-head .actions{display:flex;align-items:center;gap:7px}.contents-body{padding:22px}.chapter-links{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:26px}.chapter-link{display:flex;text-align:left;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:3px;padding:12px;min-height:60px}.chapter-link b{font-family:Georgia,serif;font-weight:400;color:var(--accent);font-size:19px}.chapter-link span{font-size:14px}.chapter-link small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.thumbnails{display:grid;grid-template-columns:repeat(6,1fr);gap:17px 12px}.thumb{padding:0 0 6px;border:0;background:transparent;text-align:left;min-height:44px}.thumb img{display:block;aspect-ratio:1;width:100%;background:white;border:1px solid var(--line);object-fit:contain}.thumb span{display:block;font-size:11px;margin:7px 0 0;color:var(--muted)}.thumb[aria-current=true] img{outline:2px solid var(--accent);outline-offset:3px}.zoom-viewport{height:calc(88svh - 164px);min-height:240px;overflow:auto;text-align:center;background:var(--stage);padding:18px;overscroll-behavior:contain}.zoom-viewport img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;margin:auto;box-shadow:0 3px 14px #0002}.zoom-viewport.magnified{text-align:left}.zoom-viewport.magnified img{max-width:none;max-height:none;width:150%;height:auto;margin:0;cursor:zoom-out}.modal-foot{display:flex;gap:12px;align-items:center;justify-content:center;padding:12px}.text-modal{width:min(720px,94vw)}.text-content{white-space:pre-line;padding:28px;font-size:16px;line-height:1.9;overflow-wrap:anywhere;color:#39352f}.text-note{margin:0;padding:0 28px 25px;font-size:13px;color:var(--muted)}.noscript{background:#fff;padding:16px;text-align:center}.fallback .book{width:min(100%,600px)!important;height:min(100%,600px)!important;min-width:0!important}.fallback .leaf{display:none!important;position:relative!important;width:100%!important;height:100%!important;transform:none!important}.fallback .leaf.active{display:block!important}.fallback .stage{padding-left:50px;padding-right:50px}.mobile-only{display:none}html:fullscreen .app{max-width:none}.page-retry{position:absolute;bottom:10px;left:10px;z-index:10;background:white;border:1px solid var(--line);min-height:44px;padding:8px;font-size:13px}@media(min-width:1700px){.stage{height:calc(100svh - 318px)}}@media(max-width:760px){.app{padding:0 12px}.masthead{min-height:90px;gap:8px}.identity{gap:9px}.artist{font-size:15px;padding-right:12px;max-width:86px;line-height:1.3}h1{font-size:24px}h1 span{font-size:19px;margin-left:3px}.subtitle{font-size:11px}.header-actions{gap:7px}.header-actions .link,.proof{display:none}.header-actions .btn{font-size:12px;padding:8px 10px}.header-actions .btn svg{display:none}.reader{padding-top:10px}.reader-top{padding-bottom:8px}.reader-caption{gap:5px;font-size:12px}.reader-caption b{display:none}.reader-tools{gap:5px}.reader-tools .btn{min-height:44px;min-width:44px;padding:8px}.tool-label{display:none}.stage{height:calc(100svh - 315px);min-height:295px;max-height:650px;padding:16px 10px}.stage-arrow{display:none}.navigation{grid-template-columns:1fr auto;gap:6px;min-height:68px}.page-readout{min-width:125px;font-size:12px;text-align:right}.page-readout small{font-size:10px}.nav-buttons .btn{padding:7px 11px;font-size:13px}.jump{grid-column:1/-1;justify-content:center;margin-bottom:8px}.jump label{font-size:12px}.jump input{min-height:37px;width:50px}.jump .btn{min-height:37px;font-size:12px}.progress-row{gap:9px}.foot{font-size:10px;padding-top:6px}.foot .hint{max-width:130px;text-align:right}.chapter-links{grid-template-columns:repeat(2,1fr)}.contents-body{padding:15px}.chapter-link{padding:10px}.chapter-link span{font-size:12px}.thumbnails{grid-template-columns:repeat(3,1fr);gap:14px 9px}.modal-head{padding:12px 14px}.modal-head h2{font-size:18px}.text-content{padding:20px}.modal-head .btn{font-size:12px}.zoom-viewport{height:calc(88svh - 157px);padding:10px}.mobile-only{display:inline}.fallback .stage{padding:16px 10px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}[hidden]{display:none!important}

#book.book{transform:translateX(var(--cover-shift,0px))}.progress-row>span{flex:0 0 auto;white-space:nowrap}.no-js .reader-tools,.no-js .navigation,.no-js .progress-row{display:none}@media(max-width:760px){.stage{height:min(calc(100svh - 315px),calc(100vw + 28px))}}

.fallback #book.book{width:var(--single-size)!important;height:var(--single-size)!important;max-width:100%;max-height:100%;aspect-ratio:1}

/* Edition-specific reader: blank cover interiors keep the PDF's true facing pairs. */
.leaf.virtual-page{background:#f8f5ee}.reader-caption .edition-label{letter-spacing:.06em}.nojs-pages{padding:20px 0 36px}.nojs-pages p{color:var(--muted);line-height:1.6}.nojs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:12px}.nojs-grid a{display:block;background:white;padding:6px;border:1px solid var(--line);font-size:12px}.nojs-grid img{display:block;width:100%;aspect-ratio:1;object-fit:contain;margin-bottom:5px}.header-actions .link{white-space:nowrap}.subtitle{max-width:330px}.status{font-size:13px}
@media(max-width:760px){.identity .subtitle{font-size:10px;max-width:172px;overflow:hidden;text-overflow:ellipsis}.masthead .header-actions .link{display:flex;font-size:11px;padding:4px;min-height:44px}.reader-caption{font-size:11px}.jump input,.jump .btn{min-height:44px}.navigation{gap:4px}.page-readout{min-width:120px}}

/* Shared official SUM mark, keep the book-page artwork intact. */
.sum-book-identity{line-height:0}.sum-book-identity img{display:block;width:149px;height:70px;object-fit:contain}.identity .subtitle{margin-top:-5px}@media(max-width:760px){.identity .subtitle{font-size:10px;white-space:nowrap}.identity{gap:6px}.identity .artist{font-size:13px;max-width:72px;padding-right:8px}.masthead .header-actions .btn{padding:8px;font-size:11px}}
