:root{color:#20242a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#20242a;font-family:Inter,Pretendard,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}button,input{font:inherit}button:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #4184eb73}.app-shell{color:#f7f8fa;background:#20242a;position:fixed;inset:0;overflow:hidden}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.top-bar,.bottom-bar{z-index:20;padding-left:max(10px, env(safe-area-inset-left));padding-right:max(10px, env(safe-area-inset-right));-webkit-backdrop-filter:blur(16px);background:#111418e8;align-items:center;gap:6px;transition:transform .16s,opacity .16s;display:flex;position:absolute;left:0;right:0}.top-bar{min-height:52px;padding-top:env(safe-area-inset-top);border-bottom:1px solid #ffffff1c;top:0}.bottom-bar{min-height:62px;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid #ffffff1c;justify-content:center;bottom:0}.top-bar.chrome-hidden{opacity:0;pointer-events:none;transform:translateY(-110%)}.bottom-bar.chrome-hidden{opacity:0;pointer-events:none;transform:translateY(110%)}.document-title{text-align:center;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:650;overflow:hidden}.trail-buttons{gap:2px;display:flex}.toolbar-button,.primary-button,.secondary-button,.text-button,.small-icon-button{font:inherit;cursor:pointer;touch-action:manipulation;border:0;border-radius:10px}.toolbar-button{color:#f7f8fa;background:#ffffff17;min-height:42px;padding:0 12px}.toolbar-button:disabled,.small-icon-button:disabled{opacity:.35;cursor:default}.icon-only{min-width:42px;padding:0 9px;font-size:1.25rem}.open-file-button{white-space:nowrap;background:#3578e5}.open-file-button:hover,.open-file-button:focus-visible{background:#4387f4}.pdf-viewer{overscroll-behavior:contain;touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch;justify-content:center;align-items:center;padding:12px;display:flex;position:absolute;inset:0;overflow:auto}.empty-viewer{align-items:center}.pdf-canvas{background:#fff;max-width:none;display:block;box-shadow:0 5px 28px #0000006b}.empty-state{text-align:center;background:#ffffff0e;border:1px solid #ffffff1f;border-radius:22px;width:min(420px,100vw - 36px);padding:36px 24px}.empty-logo{letter-spacing:-.06em;margin-bottom:10px;font-size:clamp(2rem,8vw,3.5rem);font-weight:800}.empty-state p{color:#c9ced6;margin:0 0 24px}.empty-state .primary-button,.empty-state .secondary-button{width:100%;margin-top:10px}.primary-button,.secondary-button{min-height:44px;padding:0 18px}.primary-button{color:#fff;background:#3578e5;font-weight:650}.secondary-button{color:#20242a;background:#e7e9ed}.text-button{color:#377ee8;background:0 0;padding:6px 8px}.page-move-button{min-width:82px;font-size:1.02rem}.page-form{justify-content:center;align-items:center;gap:6px;min-width:112px;display:flex}.page-form input{color:#fff;text-align:center;width:62px;height:38px;font:inherit;background:#00000040;border:1px solid #ffffff30;border-radius:9px;font-weight:650}.page-label{color:#b6bcc5;font-size:.82rem}.bookmark-button.is-bookmarked{color:#ffcc45}.drawer-backdrop,.dialog-backdrop{z-index:30;background:#0000007a;border:0;position:absolute;inset:0}.side-drawer{z-index:40;color:#20242a;width:min(420px,92vw);padding-left:env(safe-area-inset-left);background:#f8f9fb;flex-direction:column;display:flex;position:absolute;inset:0 auto 0 0;box-shadow:10px 0 34px #0000004d}.drawer-header{min-height:58px;padding:max(8px, env(safe-area-inset-top)) 14px 8px;border-bottom:1px solid #dde1e7;justify-content:space-between;align-items:center;font-size:1.15rem;display:flex}.small-icon-button{min-width:38px;min-height:38px;color:inherit;background:0 0;padding:0 9px;font-size:1.08rem}.danger-button{color:#bd3131}.drawer-tabs{border-bottom:1px solid #d9dde4;grid-template-columns:repeat(3,1fr);display:grid}.drawer-tabs button{color:#565e69;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;font-size:.93rem}.drawer-tabs button.active{color:#1f61bd;border-bottom-color:#3578e5;font-weight:700}.drawer-content{-webkit-overflow-scrolling:touch;flex:1;min-height:0;overflow:auto}.list-section{padding-bottom:max(18px, env(safe-area-inset-bottom))}.section-heading{z-index:2;color:#333a44;background:#f8f9fbf5;border-bottom:1px solid #e2e5ea;justify-content:space-between;align-items:center;gap:12px;min-height:46px;padding:8px 14px;display:flex;position:sticky;top:0}.section-heading small{color:#747c87;text-align:right;font-size:.75rem}.empty-list-message{color:#757d88;text-align:center;margin:38px 20px}.document-list,.bookmark-list,.outline-tree{margin:0;padding:0;list-style:none}.document-list li,.bookmark-list li{border-bottom:1px solid #e3e6eb;align-items:center;min-height:64px;padding:6px 8px 6px 12px;display:flex}.document-list li.current{background:#eaf2ff}.document-list-main,.bookmark-list-main{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1}.document-list-main strong,.bookmark-list-main strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.document-list-main span,.bookmark-list-main span{color:#7a828e;margin-top:5px;font-size:.82rem;display:block}.outline-tree .outline-tree{padding:0}.outline-row{border-bottom:1px solid #e6e8ec;align-items:center;min-height:46px;padding-top:4px;padding-bottom:4px;padding-right:8px;display:flex}.outline-expand-button,.outline-expand-spacer{width:34px;min-width:34px;height:38px}.outline-expand-button{color:#46515e;font:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:0;border-radius:8px;font-size:1.05rem}.outline-expand-button:hover,.outline-expand-button:focus-visible{background:#e7ebf1}.outline-expand-spacer{display:inline-block}.outline-title{color:#28313b;text-align:left;min-width:0;font:inherit;cursor:pointer;background:0 0;border:0;flex:1}.outline-title:disabled{color:#8b929b;cursor:default}.dialog-backdrop{z-index:50;place-items:center;padding:20px;display:grid}.bookmark-dialog{color:#20242a;background:#fff;border-radius:18px;width:min(430px,100%);padding:24px;box-shadow:0 20px 70px #0000006b}.bookmark-dialog h2{margin:0;font-size:1.3rem}.bookmark-dialog p{color:#747c87;margin:8px 0 20px}.bookmark-dialog label{gap:8px;font-weight:650;display:grid}.bookmark-dialog input{box-sizing:border-box;width:100%;height:46px;font:inherit;border:1px solid #bfc5ce;border-radius:10px;padding:0 12px}.dialog-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.status-overlay{z-index:70;color:#fff;background:#101216a3;place-content:center;justify-items:center;gap:12px;display:grid;position:absolute;inset:0}.spinner{border:4px solid #ffffff47;border-top-color:#fff;border-radius:50%;width:34px;height:34px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.error-toast{z-index:80;left:50%;bottom:calc(78px + env(safe-area-inset-bottom));box-sizing:border-box;color:#fff;background:#a82b2b;border-radius:12px;align-items:center;gap:12px;width:min(620px,100vw - 28px);padding:12px 14px;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 8px 28px #00000059}.error-toast span{flex:1;min-width:0}.error-toast button{color:#fff;background:#ffffff21;border:0;border-radius:8px;min-width:34px;min-height:34px;font-size:1.15rem}@media (width<=640px){.top-bar,.bottom-bar{padding-left:max(6px, env(safe-area-inset-left));padding-right:max(6px, env(safe-area-inset-right));gap:3px}.trail-buttons{gap:0}.open-file-button{padding:0 9px;font-size:.88rem}.page-move-button{min-width:46px;padding:0 8px;font-size:1.25rem}.page-move-button span{display:none}.page-form{gap:4px;min-width:96px}.page-form input{width:50px}.page-label{display:none}}.section-actions{align-items:center;gap:2px;display:flex}.link-dialog .dialog-help{color:#747c87;margin:14px 0 0;font-size:.86rem;line-height:1.5}@media (width<=640px){.top-bar .document-title{font-size:.93rem}}.drawer-app-action{padding:12px 14px max(12px, env(safe-area-inset-bottom));background:#f8f9fb;border-top:1px solid #d9dde4;flex:none}.drawer-app-button{color:#fff;width:100%;min-height:44px;font:inherit;cursor:pointer;touch-action:manipulation;background:#3578e5;border:0;border-radius:11px;font-weight:700}.drawer-app-button:hover,.drawer-app-button:focus-visible{background:#4387f4}.drawer-app-button:disabled{opacity:.58;cursor:default}.drawer-app-message{color:#68717d;margin:9px 2px 0;font-size:.82rem;line-height:1.45}.reader-viewer{isolation:isolate}.epub-stage{box-sizing:border-box;padding:12px;transition:padding .16s;position:absolute;inset:0}.epub-stage.with-chrome{padding-top:calc(64px + env(safe-area-inset-top));padding-bottom:calc(74px + env(safe-area-inset-bottom))}.epub-viewer{background:#fffdf8;border-radius:8px;width:100%;height:100%;overflow:hidden;box-shadow:0 5px 28px #0000006b}.epub-viewer iframe{background:#fffdf8;border:0!important}.epub-progress{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-width:132px;max-width:min(38vw,320px);line-height:1.15;display:flex}.epub-progress strong{font-size:1rem}.epub-progress span{color:#b6bcc5;text-overflow:ellipsis;white-space:nowrap;width:100%;margin-top:4px;font-size:.76rem;display:block;overflow:hidden}@media (width<=640px){.epub-stage{padding:8px}.epub-stage.with-chrome{padding-top:calc(60px + env(safe-area-inset-top));padding-bottom:calc(70px + env(safe-area-inset-bottom))}.epub-progress{min-width:84px;max-width:30vw}.epub-progress span{font-size:.7rem}}:root{--mio-display-scale:1;--mio-display-width:100vw;--mio-display-height:100vh;--mio-theme-page:#f5f6fa;--mio-theme-page-gradient:linear-gradient(180deg, #f8f9fc 0%, #eef1f7 100%);--mio-theme-surface:#fff;--mio-theme-surface-soft:#f8f9fb;--mio-theme-elevated:#fff;--mio-theme-text:#202124;--mio-theme-heading:#18213a;--mio-theme-muted:#6f788b;--mio-theme-border:#d9dfeb;--mio-theme-accent:#526ed3;--mio-theme-accent-soft:#e7ebff;--mio-theme-shadow:0 16px 42px #26314c2e;--mio-theme-backdrop:#1218237a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-mio-theme=black]{--mio-theme-page:#0d1219;--mio-theme-page-gradient:linear-gradient(180deg, #0d1219 0%, #111923 100%);--mio-theme-surface:#18202b;--mio-theme-surface-soft:#1e2835;--mio-theme-elevated:#202b38;--mio-theme-text:#edf3fb;--mio-theme-heading:#fff;--mio-theme-muted:#aeb9c9;--mio-theme-border:#3c4a5d;--mio-theme-accent:#86a9ff;--mio-theme-accent-soft:#253954;--mio-theme-shadow:0 18px 46px #00000075;--mio-theme-backdrop:#000000a8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-mio-theme=blue]{--mio-theme-page:#dcecff;--mio-theme-page-gradient:linear-gradient(180deg, #e9f4ff 0%, #d7eaff 100%);--mio-theme-surface:#f2f8ff;--mio-theme-surface-soft:#eaf4ff;--mio-theme-elevated:#f7fbff;--mio-theme-text:#183657;--mio-theme-heading:#102f55;--mio-theme-muted:#55718f;--mio-theme-border:#afc8e4;--mio-theme-accent:#2e66a9;--mio-theme-accent-soft:#d8eaff;--mio-theme-shadow:0 16px 42px #2352802e;--mio-theme-backdrop:#16314f6b;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-mio-theme=pink]{--mio-theme-page:#f9e4ec;--mio-theme-page-gradient:linear-gradient(180deg, #fff0f5 0%, #f7dfe9 100%);--mio-theme-surface:#fff6f9;--mio-theme-surface-soft:#fceef3;--mio-theme-elevated:#fff9fb;--mio-theme-text:#593044;--mio-theme-heading:#50223a;--mio-theme-muted:#876074;--mio-theme-border:#e2b8c9;--mio-theme-accent:#a84f78;--mio-theme-accent-soft:#f7d9e5;--mio-theme-shadow:0 16px 42px #7037522e;--mio-theme-backdrop:#46223466;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.app-shell{width:var(--mio-display-width,100vw);height:var(--mio-display-height,100vh);transform:scale(var(--mio-display-scale,1));transform-origin:0 0;background:var(--mio-theme-page-gradient,var(--mio-theme-page));color:var(--mio-theme-text);inset:0 auto auto 0}.top-bar,.bottom-bar{color:var(--mio-theme-text);background:var(--mio-theme-elevated);border-color:var(--mio-theme-border);box-shadow:var(--mio-theme-shadow)}.toolbar-button{color:var(--mio-theme-text);background:var(--mio-theme-surface-soft);border:1px solid var(--mio-theme-border)}.toolbar-button:hover,.toolbar-button:focus-visible,.small-icon-button:hover,.small-icon-button:focus-visible{background:var(--mio-theme-accent-soft)}.open-file-button,.primary-button,.drawer-app-button{color:#fff;background:var(--mio-theme-accent)}.open-file-button:hover,.open-file-button:focus-visible,.drawer-app-button:hover,.drawer-app-button:focus-visible{background:var(--mio-theme-accent);filter:brightness(1.08)}.secondary-button{color:var(--mio-theme-text);background:var(--mio-theme-surface-soft);border:1px solid var(--mio-theme-border)}.text-button{color:var(--mio-theme-accent)}.page-form input,.bookmark-dialog input{color:var(--mio-theme-text);background:var(--mio-theme-surface);border-color:var(--mio-theme-border)}.page-label,.epub-progress span,.empty-state p,.drawer-app-message,.bookmark-dialog p,.link-dialog .dialog-help{color:var(--mio-theme-muted)}.pdf-viewer{background:var(--mio-theme-page-gradient,var(--mio-theme-page))}.pdf-canvas{background:#fff}.empty-state,.side-drawer,.bookmark-dialog,.drawer-app-action{color:var(--mio-theme-text);background:var(--mio-theme-surface);border-color:var(--mio-theme-border)}.empty-state,.bookmark-dialog,.side-drawer{box-shadow:var(--mio-theme-shadow)}.drawer-header,.drawer-tabs,.drawer-app-action,.section-heading,.document-list li,.bookmark-list li,.outline-row{border-color:var(--mio-theme-border)}.drawer-tabs button,.section-heading small,.empty-list-message,.document-list-main span,.bookmark-list-main span,.outline-title:disabled{color:var(--mio-theme-muted)}.drawer-tabs button.active,.outline-expand-button,.outline-title,.section-heading{color:var(--mio-theme-heading)}.drawer-tabs button.active{border-bottom-color:var(--mio-theme-accent);color:var(--mio-theme-accent)}.section-heading{background:var(--mio-theme-elevated)}.document-list li.current,.outline-expand-button:hover,.outline-expand-button:focus-visible{background:var(--mio-theme-accent-soft)}.drawer-backdrop,.dialog-backdrop{background:var(--mio-theme-backdrop)}.epub-viewer,.epub-viewer iframe{background:var(--mio-theme-surface)}.reading-settings-button{letter-spacing:-.04em;font-size:.98rem;font-weight:800}.reader-settings-dialog{width:min(650px,100%);max-height:min(88vh,760px);overflow:auto}.settings-dialog-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.settings-dialog-header h2,.settings-dialog-header p{margin:0}.settings-dialog-header h2,.settings-section h3{color:var(--mio-theme-heading)}.settings-dialog-header p{color:var(--mio-theme-muted);margin-top:6px;font-size:.86rem;line-height:1.45}.settings-section{border-top:1px solid var(--mio-theme-border);margin-top:22px;padding-top:18px}.settings-section h3{margin:0 0 11px;font-size:.96rem}.settings-choice-grid{gap:8px;display:grid}.theme-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.scale-choice-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.font-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-choice{border:1px solid var(--mio-theme-border);min-height:44px;color:var(--mio-theme-text);background:var(--mio-theme-surface-soft);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:11px;padding:8px}.settings-choice.selected{border-color:var(--mio-theme-accent);color:var(--mio-theme-heading);background:var(--mio-theme-accent-soft);box-shadow:inset 0 0 0 1px var(--mio-theme-accent);font-weight:800}.theme-swatch{vertical-align:-2px;border:1px solid #0000002e;border-radius:50%;width:15px;height:15px;margin-right:6px;display:inline-block}.theme-swatch.white{background:#f5f6fa}.theme-swatch.black{background:#0d1219}.theme-swatch.blue{background:#dcecff}.theme-swatch.pink{background:#f9e4ec}.font-sample.serif{font-family:Noto Serif CJK KR,Noto Serif KR,AppleMyungjo,Batang,serif}.font-sample.sans{font-family:Noto Sans CJK KR,Noto Sans KR,Apple SD Gothic Neo,Malgun Gothic,sans-serif}.font-sample.system{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.settings-subnote{color:var(--mio-theme-muted);margin:-3px 0 12px;font-size:.82rem;line-height:1.5}.settings-section-title-row{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.settings-section-title-row h3{margin-bottom:8px}.epub-font-size-value{color:var(--mio-theme-heading);font-variant-numeric:tabular-nums;font-size:1rem}.epub-font-size-control{grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;display:grid}.font-size-step-button{border:1px solid var(--mio-theme-border);width:44px;height:44px;color:var(--mio-theme-heading);background:var(--mio-theme-surface-soft);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:11px;padding:0;font-size:1.35rem;font-weight:800}.font-size-step-button:disabled{opacity:.4;cursor:default}.epub-font-size-slider{width:100%;min-width:0;accent-color:var(--mio-theme-accent)}.epub-font-size-preset-row{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-top:10px;display:grid}.font-size-preset{border:1px solid var(--mio-theme-border);min-height:36px;color:var(--mio-theme-text);background:var(--mio-theme-surface-soft);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:9px;padding:6px 4px;font-size:.78rem}.font-size-preset.selected{border-color:var(--mio-theme-accent);color:var(--mio-theme-heading);background:var(--mio-theme-accent-soft);box-shadow:inset 0 0 0 1px var(--mio-theme-accent);font-weight:800}@media (width<=620px){.epub-font-size-preset-row{grid-template-columns:repeat(4,minmax(0,1fr))}}.settings-note{border:1px solid var(--mio-theme-border);background:var(--mio-theme-surface-soft);border-radius:12px;padding:12px 14px;font-size:.86rem;line-height:1.55;color:var(--mio-theme-muted)!important;margin:22px 0 0!important}.settings-actions{background:var(--mio-theme-surface);padding-top:14px;padding-bottom:4px;position:sticky;bottom:-24px}@media (width<=640px){.theme-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scale-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.reader-settings-dialog{padding:20px 16px}}@media (width<=430px){.reading-settings-button{min-width:38px;padding:0 7px}}.comic-stage{background:0 0;justify-content:center;align-items:center;width:100%;height:100%;padding:.2rem;display:flex}.comic-image{object-fit:contain;object-position:center center;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:100%;max-width:100%;height:100%;max-height:100%;box-shadow:0 .2rem .9rem #00000029}
