@font-face{font-family:Pretendard;src:url('./assets/pretendard.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--ink:#f7f7f7;--yellow:#f3eb2e;--surface:#131313;--nav:#232226;--muted:#a8a8ac;--line:#ffffff24;--ease:cubic-bezier(.22,1,.36,1)}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0}body{background:var(--surface);color:var(--ink);font-family:Pretendard,Arial,sans-serif;overflow:hidden;transition:background-color .3s ease}button,select,input,a{-webkit-tap-highlight-color:transparent}button,select,input{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.28;cursor:default}button,a,select,input{outline-offset:5px}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--yellow)}[hidden]{display:none!important}a{color:inherit}button{color:inherit}h1,h2,p{margin:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.skip-link{position:fixed;top:12px;left:12px;transform:translateY(-180%);background:var(--yellow);color:#111;padding:14px 20px;z-index:100}.skip-link:focus{transform:none}
#stage{position:fixed;inset:0;display:grid;place-items:center;overflow:hidden;outline:none;touch-action:pan-y pinch-zoom}.canvas{position:relative;width:min(100vw,177.777778dvh);aspect-ratio:16/9;isolation:isolate}.slide{position:absolute;inset:0;overflow:hidden}.slide-art{display:block;width:100%;height:100%;object-fit:contain;user-select:none}.slide.enter{animation:slide-enter .45s var(--ease) both}.slide-links{position:absolute;inset:0}.hotspot{position:absolute;border-radius:4px;transition:background .15s}.hotspot:hover{background:#f3eb2e25;box-shadow:0 0 0 2px #f3eb2e88}.hotspot:focus-visible{background:#f3eb2e30;outline-offset:3px}@keyframes slide-enter{from{opacity:0;transform:translateX(var(--direction,18px))}to{opacity:1;transform:translateX(0)}}
.toolbar{position:fixed;left:50%;bottom:max(18px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:10;display:flex;align-items:center;gap:9px;width:max-content;max-width:calc(100vw - 24px);padding:8px 14px;border:1px solid #ffffff2b;border-radius:99px;background:#242326f5;color:white;box-shadow:0 8px 32px #0003;backdrop-filter:blur(16px)}.icon-button{border:0;background:none;display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:50%;transition:background .15s}.icon-button:hover:not(:disabled){background:#ffffff15}.count{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:16px;font-weight:650;letter-spacing:.2px;min-width:78px;text-align:center}.nav-divider{height:24px;width:1px;background:#ffffff30;margin:0 10px;flex-shrink:0}.select-wrap{position:relative;width:238px;max-width:28vw;flex-shrink:1}.select-wrap>svg{position:absolute;right:14px;top:50%;transform:translateY(-50%);pointer-events:none}select{appearance:none;display:block;width:100%;border:0;color:white;background:#2c2930;border-radius:99px;padding:12px 40px 12px 18px;font-size:15px;line-height:1.2;cursor:pointer;text-overflow:ellipsis;white-space:nowrap}select option{background:#27252c;color:white}.nav-hint{position:fixed;right:24px;bottom:37px;font-size:12px;color:#999;pointer-events:none}.mobile-hint{display:none}.toast{position:fixed;left:50%;top:24px;transform:translateX(-50%);z-index:50;max-width:90vw;padding:14px 20px;background:#28272f;border:1px solid #ffffff3a;border-radius:12px;box-shadow:0 8px 32px #0004;font-size:14px;text-align:center}
dialog{color:var(--ink);background:#151419;border:1px solid #ffffff20;padding:32px;border-radius:16px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overscroll-behavior:contain}dialog::backdrop{background:#0e0d12dd;backdrop-filter:blur(10px)}#overview{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;margin:0;padding:42px max(32px,5vw) 60px}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.dialog-header h1{font-size:34px;letter-spacing:-1px;font-weight:650}.dialog-header h1 span{margin-left:8px;color:var(--yellow);font-size:17px;font-weight:500;vertical-align:middle}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--muted);margin-bottom:10px}.close-button{border:1px solid #ffffff30;border-radius:50%;background:#ffffff06;width:42px;height:42px;flex-shrink:0;font-family:Arial,sans-serif;font-size:27px;font-weight:400;line-height:1}.close-button:hover{background:#ffffff15}.overview-tools{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px}.search-wrap{width:300px;max-width:100%}.search-wrap input{width:100%;border:1px solid #ffffff30;border-radius:8px;background:#232127;color:white;padding:13px 15px;font-size:14px}.search-wrap input::placeholder{color:#a5a1ab}.overview-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.overview-actions button,.overview-actions a{border:1px solid #ffffff27;background:none;text-decoration:none;padding:11px 14px;border-radius:7px;font-size:13px;white-space:nowrap}.overview-actions button:hover,.overview-actions a:hover{background:#ffffff10}.overview-actions a{color:var(--yellow)}.chapter-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:26px}.chapter-filters button{border:1px solid #ffffff20;background:none;color:#bbb7c2;padding:8px 13px;border-radius:30px;font-size:12px}.chapter-filters button[aria-pressed=true]{background:var(--yellow);border-color:var(--yellow);color:#151419}.overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}.overview-card{min-width:0;text-align:left;background:#201e25;border:1px solid #ffffff22;border-radius:9px;padding:0;overflow:hidden;transition:border-color .2s,transform .2s}.overview-card:hover{border-color:#ffffff88;transform:translateY(-3px)}.overview-card[aria-current=page]{border-color:var(--yellow);box-shadow:0 0 0 1px var(--yellow)}.overview-card img{display:block;width:100%;aspect-ratio:16/9;background:#222;object-fit:contain}.card-title{display:flex;gap:12px;align-items:baseline;padding:14px 13px 17px;font-size:13px;line-height:1.4}.card-number{color:var(--yellow);font-size:11px;font-variant-numeric:tabular-nums}.card-title strong{font-weight:550}.no-results{padding:60px 0;color:var(--muted);text-align:center}#reader{width:820px;padding:36px}.reader-text{font-size:18px;line-height:1.9;white-space:pre-line;word-break:keep-all;color:#e0dde5}.reader-links{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.reader-links a{color:var(--yellow);font-size:14px}
#zoom{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:0;overflow:hidden}.zoom-header{height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 24px;border-bottom:1px solid var(--line)}.zoom-header h1{font-size:16px;font-weight:550}.zoom-tools{display:flex;align-items:center;gap:8px}.zoom-tools>button:not(.close-button){border:1px solid #ffffff30;background:#242229;min-height:36px;min-width:36px;border-radius:6px;font-size:14px}.zoom-tools #zoom-fit{padding:0 12px}.zoom-tools>span{min-width:48px;text-align:center;font-variant-numeric:tabular-nums;font-size:12px;color:#aaa}#zoom-scroll{height:calc(100% - 72px);overflow:auto;touch-action:pan-x pan-y pinch-zoom;overscroll-behavior:contain;padding:16px;outline:none}#zoom-image{display:block;max-width:none;margin:auto;width:100%;height:auto;user-select:none}.load-error{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#252329;padding:24px;border:1px solid #ffffff30;border-radius:10px;text-align:center;z-index:5;min-width:280px}.load-error p{margin-bottom:18px}.load-error button{padding:9px 12px;background:var(--yellow);color:#111;border:0;border-radius:6px;margin-right:12px}.load-error a{font-size:13px;color:var(--yellow)}.noscript{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:#222;padding:20px;border:1px solid var(--yellow);z-index:30}.noscript a{display:block;margin-top:10px;color:var(--yellow)}.not-found{display:grid;align-content:center;gap:24px;max-width:800px;margin:0 auto;min-height:100dvh;padding:30px}.not-found h1{font-size:36px}.not-found a{color:var(--yellow)}
@media(max-width:1100px){.nav-hint{display:none}.overview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-tools{align-items:flex-start;gap:16px}.overview-actions{justify-content:flex-end}}
@media(max-width:680px){.toolbar{bottom:max(14px,env(safe-area-inset-bottom));gap:3px;padding:7px 8px;max-width:calc(100vw - 16px)}.icon-button{width:32px;height:36px}.icon-button svg{width:20px;height:20px}.count{font-size:12px;min-width:58px;letter-spacing:0}.nav-divider{height:18px;margin:0 4px}.select-wrap{width:155px;max-width:calc(100vw - 220px)}select{font-size:12px;padding:11px 29px 11px 12px}.select-wrap>svg{width:13px;right:10px}#overview{padding:28px 20px 36px}.dialog-header h1{font-size:27px}.eyebrow{font-size:8px;letter-spacing:1.1px}.dialog-header{margin-bottom:24px}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.card-title{font-size:11px;padding:10px;gap:7px;align-items:flex-start}.card-number{font-size:10px}.overview-tools{flex-direction:column;gap:12px}.search-wrap{width:100%}.overview-actions{justify-content:flex-start;gap:6px}.overview-actions a,.overview-actions button{font-size:11px;padding:10px}.chapter-filters{gap:6px;margin-bottom:20px}.chapter-filters button{font-size:11px;padding:8px 10px}#reader{padding:24px}.reader-text{font-size:16px}.zoom-header{height:64px;padding:0 12px;gap:8px}.zoom-header h1{font-size:12px;max-width:35vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zoom-tools{gap:5px}.zoom-tools>span{min-width:37px;font-size:10px}.zoom-tools>button:not(.close-button){min-width:30px;min-height:32px}.zoom-tools #zoom-fit{font-size:10px;padding:0 7px}.zoom-tools .close-button{width:32px;height:32px;font-size:22px}#zoom-scroll{height:calc(100% - 64px);padding:8px}}
@media(max-width:680px) and (orientation:portrait){#stage{bottom:80px}.canvas{width:100vw}.mobile-hint{display:block;position:fixed;bottom:94px;width:100%;text-align:center;color:#8a8a8d;font-size:11px;pointer-events:none}}
@media(max-height:480px) and (orientation:landscape){.toolbar{bottom:8px;padding:4px 8px;gap:3px}.icon-button{height:30px;width:32px}.count{font-size:12px;min-width:62px}select{font-size:12px;padding:8px 30px 8px 12px}.select-wrap{width:175px}.nav-divider{height:18px;margin:0 5px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{overflow:visible;background:white}.toolbar,.nav-hint,.mobile-hint,dialog,.toast,.skip-link{display:none!important}#stage{position:static;display:block;overflow:visible}.canvas{width:100%;aspect-ratio:auto}.slide,.slide[hidden]{display:block!important;position:relative;width:100%;aspect-ratio:16/9;break-after:page}.slide-links{display:none}@page{size:landscape;margin:0}}
