:root{--bg:#faf8f4;--surface:#f1eee7;--surface-2:#e9e4d3;--text:#22221e;--text-soft:#5c5a52;--line:#e3dfd2;--accent:#3f6659;--accent-ink:#faf8f4;--shadow:0 1px 2px #1e1e1c0f, 0 10px 26px #1e1e1c14;--font-ui:"Manrope", ui-sans-serif, system-ui, sans-serif;--font-reading-serif:"Literata", Georgia, "Times New Roman", serif;--font-reading-sans:"Atkinson Hyperlegible", ui-sans-serif, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}:root:not([data-theme=light]){--bg:#1b1a17;--surface:#242320;--surface-2:#2b2a24;--text:#e8e4da;--text-soft:#a6a398;--line:#332f29;--accent:#6fa08e;--accent-ink:#1b1a17;--shadow:0 1px 2px #0006, 0 10px 26px #00000059}}:root[data-theme=dark]{--bg:#1b1a17;--surface:#242320;--surface-2:#2b2a24;--text:#e8e4da;--text-soft:#a6a398;--line:#332f29;--accent:#6fa08e;--accent-ink:#1b1a17;--shadow:0 1px 2px #0006, 0 10px 26px #00000059}:root[data-theme=light]{--bg:#faf8f4;--surface:#f1eee7;--surface-2:#e9e4d3;--text:#22221e;--text-soft:#5c5a52;--line:#e3dfd2;--accent:#3f6659;--accent-ink:#faf8f4;--shadow:0 1px 2px #1e1e1c0f, 0 10px 26px #1e1e1c14}*,:before,:after{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:var(--font-ui);-webkit-font-smoothing:antialiased}::selection{background:var(--accent);color:var(--accent-ink)}button{font-family:inherit}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}iframe.svelte-16lln2q{border:none;width:100%;display:block}.epub-container.svelte-noq69q{width:100%;height:100%}.error.svelte-noq69q{color:var(--text-soft);margin:32px;font-size:14px}.pdf-page.svelte-16xh3ac{background:#fff;width:100%;margin:0 auto 16px;position:relative;box-shadow:0 1px 4px #0003}canvas.svelte-16xh3ac{width:100%;height:auto;display:block}.page-error.svelte-16xh3ac{color:#999;justify-content:center;align-items:center;margin:0;font-size:13px;display:flex;position:absolute;inset:0}.pdf-page .textLayer{text-align:initial;opacity:1;letter-spacing:normal;word-spacing:normal;transform-origin:0 0;line-height:1;position:absolute;inset:0;overflow:clip}.pdf-page .textLayer span,.pdf-page .textLayer br{color:#0000;white-space:pre;cursor:text;transform-origin:0 0;-webkit-user-select:text;user-select:text;position:absolute}.pdf-page .textLayer>:not(.markedContent),.pdf-page .textLayer .markedContent span:not(.markedContent){--font-height:0;--scale-x:1;--rotate:0deg;font-size:calc(var(--scale-factor) * var(--font-height));transform:rotate(var(--rotate)) scaleX(var(--scale-x))}.pdf-page .textLayer .markedContent{display:contents}.pdf-scroll.svelte-12as1tg{height:100%;padding:24px clamp(12px,4vw,32px) 64px;overflow-y:auto}.pages.svelte-12as1tg{max-width:780px;margin:0 auto}.error.svelte-12as1tg{color:var(--text-soft);margin:32px;font-size:14px}.cbz-page.svelte-4ztral{justify-content:center;width:100%;margin:0 auto 16px;display:flex}img.svelte-4ztral{max-width:100%;height:auto;display:block;box-shadow:0 1px 4px #00000040}.page-error.svelte-4ztral{color:#999;margin:0;padding:32px;font-size:13px}.cbz-scroll.svelte-1xyyptp{height:100%;padding:24px clamp(12px,4vw,32px) 64px;overflow-y:auto}.pages.svelte-1xyyptp{max-width:780px;margin:0 auto}.error.svelte-1xyyptp{color:var(--text-soft);margin:32px;font-size:14px}.reading-screen.svelte-z9592z{flex-direction:column;min-height:100vh;display:flex}.reading-screen.is-contained.svelte-z9592z{height:100dvh}.toolbar.svelte-z9592z{z-index:10;background:var(--surface);border-bottom:1px solid var(--line);align-items:center;gap:8px;padding:10px 16px;display:flex;position:sticky;top:0}.doc-meta.svelte-z9592z{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.doc-meta.svelte-z9592z .t:where(.svelte-z9592z){color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:700;overflow:hidden}.doc-meta.svelte-z9592z .f:where(.svelte-z9592z){color:var(--text-soft);font-size:10.5px}.controls.svelte-z9592z{align-items:center;gap:6px;display:flex}.icon-btn.svelte-z9592z{width:34px;height:34px;color:var(--text-soft);cursor:pointer;background:0 0;border:none;border-radius:8px;flex:none;justify-content:center;align-items:center;font-size:16px;display:inline-flex}.icon-btn.svelte-z9592z:hover{background:var(--surface-2);color:var(--text)}.icon-btn.is-active.svelte-z9592z{background:var(--accent);color:var(--accent-ink)}.icon-btn.is-active.svelte-z9592z:hover{opacity:.92}.fontswitch.svelte-z9592z,.stepper.svelte-z9592z{background:var(--surface-2);border-radius:8px;align-items:center;gap:2px;padding:2px;display:flex}.fontswitch.svelte-z9592z button:where(.svelte-z9592z){color:var(--text-soft);cursor:pointer;background:0 0;border:none;border-radius:6px;width:30px;height:30px;font-size:13px}.fontswitch.svelte-z9592z button.is-active:where(.svelte-z9592z){background:var(--surface);color:var(--accent);font-weight:700}.stepper.svelte-z9592z button:where(.svelte-z9592z){color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:26px;height:26px;display:flex}.stepper.svelte-z9592z button:where(.svelte-z9592z):hover:not(:disabled){background:var(--surface)}.stepper.svelte-z9592z button:where(.svelte-z9592z):disabled{opacity:.35;cursor:not-allowed}.stepper.svelte-z9592z output:where(.svelte-z9592z){color:var(--text-soft);text-align:center;font-variant-numeric:tabular-nums;width:32px;font-size:11px}.pane.svelte-z9592z{flex:1}.pane.is-contained.svelte-z9592z{min-height:0;overflow:hidden}@media (width<=640px){.toolbar.svelte-z9592z{border-bottom:none;border-top:1px solid var(--line);position:fixed;inset:auto 0 0}.doc-meta.svelte-z9592z{display:none}.pane.svelte-z9592z{padding-bottom:60px}}.overlay.svelte-17j5o2g{z-index:100;background:#00000073;border:none;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal.svelte-17j5o2g{background:var(--surface);border:1px solid var(--line);width:100%;max-width:420px;box-shadow:var(--shadow);border-radius:14px;padding:24px}h2.svelte-17j5o2g{color:var(--text);margin:0 0 6px;font-size:17px}.hint.svelte-17j5o2g{color:var(--text-soft);margin:0 0 18px;font-size:13px}form.svelte-17j5o2g{flex-direction:column;gap:14px;display:flex}label.svelte-17j5o2g{color:var(--text-soft);flex-direction:column;gap:6px;font-size:12.5px;font-weight:700;display:flex}input.svelte-17j5o2g{font:inherit;border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:9px;padding:10px 12px;font-weight:400}input.svelte-17j5o2g:focus{outline:2px solid var(--accent);outline-offset:1px}label.checkbox.svelte-17j5o2g{color:var(--text);flex-direction:row;align-items:center;gap:8px;font-weight:400}label.checkbox.svelte-17j5o2g input:where(.svelte-17j5o2g){width:16px;height:16px;accent-color:var(--accent);padding:0}.error.svelte-17j5o2g{color:var(--text);background:var(--surface-2);border-radius:8px;margin:0;padding:8px 10px;font-size:13px}.actions.svelte-17j5o2g{justify-content:flex-end;gap:10px;margin-top:4px;display:flex}button.svelte-17j5o2g{cursor:pointer;border:none;border-radius:9px;padding:10px 18px;font-size:13.5px;font-weight:700}button.svelte-17j5o2g:disabled{opacity:.6;cursor:not-allowed}.primary.svelte-17j5o2g{background:var(--accent);color:var(--accent-ink)}.primary.svelte-17j5o2g:hover:not(:disabled){opacity:.92}.secondary.svelte-17j5o2g{color:var(--text-soft);background:0 0}.secondary.svelte-17j5o2g:hover:not(:disabled){background:var(--surface-2)}.dropzone.svelte-14t7mly{border:1.5px dashed var(--line);background:var(--surface);color:var(--text-soft);border-radius:14px;flex-direction:column;align-items:center;gap:10px;padding:48px 24px;transition:border-color .15s,background .15s;display:flex}.dropzone.is-dragover.svelte-14t7mly{border-color:var(--accent);background:var(--surface-2)}.icon.svelte-14t7mly{color:var(--accent)}.hint.svelte-14t7mly{margin:0;font-size:14px}.buttons.svelte-14t7mly{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}button.svelte-14t7mly{background:var(--accent);color:var(--accent-ink);cursor:pointer;border:none;border-radius:9px;padding:10px 18px;font-size:13.5px;font-weight:700}button.svelte-14t7mly:hover{opacity:.92}button.secondary.svelte-14t7mly{color:var(--text);border:1px solid var(--line);background:0 0}button.secondary.svelte-14t7mly:hover{background:var(--surface-2);opacity:1}.visually-hidden.svelte-14t7mly{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.result.svelte-14t7mly{border:1px solid var(--line);background:var(--surface);border-radius:10px;margin-top:20px;padding:14px 18px}.filename.svelte-14t7mly{color:var(--text-soft);margin:0 0 4px;font-size:13px}.msg.svelte-14t7mly{margin:0;font-size:15px}.msg.is-error.svelte-14t7mly{color:var(--text)}.card-wrap.svelte-7woe50{position:relative}.delete-btn.svelte-7woe50{z-index:1;background:var(--bg);width:26px;height:26px;color:var(--text-soft);opacity:.75;cursor:pointer;border:none;border-radius:6px;justify-content:center;align-items:center;display:flex;position:absolute;top:10px;left:10px}.delete-btn.svelte-7woe50:hover,.delete-btn.svelte-7woe50:focus-visible{opacity:1;color:var(--text)}.card.svelte-7woe50{text-align:left;color:inherit;border:1px solid var(--line);background:var(--surface);cursor:pointer;font:inherit;border-radius:11px;flex-direction:column;padding:0;transition:transform .15s,border-color .15s;display:flex;overflow:hidden}.card.svelte-7woe50:hover{border-color:var(--accent);transform:translateY(-2px)}.cover.svelte-7woe50{aspect-ratio:3/4;background:var(--surface-2);align-items:flex-end;padding:14px;display:flex;position:relative}.cover-title.svelte-7woe50{font-family:var(--font-reading-serif);color:var(--text);font-size:15px;font-weight:600;line-height:1.28}.fmt-chip.svelte-7woe50{font-family:var(--font-ui);letter-spacing:.06em;background:var(--bg);color:var(--text-soft);border-radius:5px;padding:3px 6px;font-size:9.5px;font-weight:800;position:absolute;top:10px;right:10px}.progress-rail.svelte-7woe50{background:#00000026;height:3px;position:absolute;bottom:0;left:0;right:0}.progress-fill.svelte-7woe50{background:var(--accent);height:100%;display:block}.meta.svelte-7woe50{flex-direction:column;gap:3px;padding:12px 14px 15px;display:flex}.meta.svelte-7woe50 .title:where(.svelte-7woe50){font-family:var(--font-reading-serif);color:var(--text);-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:13.5px;font-weight:600;line-height:1.3;display:-webkit-box;overflow:hidden}.meta.svelte-7woe50 .sub:where(.svelte-7woe50){color:var(--text-soft);font-size:11.5px}.meta.svelte-7woe50 .status:where(.svelte-7woe50){color:var(--accent);font-size:11.5px;font-weight:700}.library.svelte-1ahu7ry{max-width:1180px;margin:0 auto;padding:6vw 24px 90px}.top.svelte-1ahu7ry{flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:8px;display:flex}.brand.svelte-1ahu7ry{font-family:var(--font-reading-serif);color:var(--text);flex:none;align-items:center;gap:8px;font-size:20px;font-weight:600;display:flex}.brand.svelte-1ahu7ry svg:where(.svelte-1ahu7ry){color:var(--accent);flex:none}.searchbox.svelte-1ahu7ry{background:var(--surface);border:1px solid var(--line);border-radius:9px;flex:220px;align-items:center;gap:8px;padding:9px 12px;display:flex}.searchbox.svelte-1ahu7ry svg:where(.svelte-1ahu7ry){color:var(--text-soft);flex:none}.searchbox.svelte-1ahu7ry input:where(.svelte-1ahu7ry){color:var(--text);background:0 0;border:none;outline:none;width:100%;font-size:13.5px}.searchbox.svelte-1ahu7ry input:where(.svelte-1ahu7ry)::placeholder{color:var(--text-soft)}.theme-toggle.svelte-1ahu7ry{border:1px solid var(--line);width:38px;height:38px;color:var(--text);cursor:pointer;background:0 0;border-radius:9px;flex:none;font-size:16px}.theme-toggle.svelte-1ahu7ry:hover{background:var(--surface)}.dek.svelte-1ahu7ry{color:var(--text-soft);max-width:60ch;margin:8px 0 24px;font-size:14px}.section-label.svelte-1ahu7ry{letter-spacing:.08em;text-transform:uppercase;color:var(--text-soft);align-items:baseline;gap:10px;padding:30px 0 4px;font-size:11px;font-weight:700;display:flex}.section-label.svelte-1ahu7ry b:where(.svelte-1ahu7ry){color:var(--text);letter-spacing:0;text-transform:none;font-size:15px;font-weight:700;font-family:var(--font-ui)}.grid.svelte-1ahu7ry{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:18px;padding:14px 0 0;display:grid}.empty.svelte-1ahu7ry{color:var(--text-soft);padding:20px 0;font-size:13.5px}
