.settings-panel.svelte-12xqu8l{position:fixed;top:0;right:0;bottom:0;transform:translate(100%);transition:transform .3s ease-in-out;z-index:100;border-right:none;border-top:none;border-bottom:none;border-radius:0;display:flex;flex-direction:column;background-color:var(--bp-bg);border-left:1px solid var(--bp-border)}.settings-panel.is-open.svelte-12xqu8l{transform:translate(0)}.panel-header.svelte-12xqu8l{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--bp-border)}.close-button.svelte-12xqu8l{background:none;border:none;cursor:pointer;color:var(--bp-meta);padding:4px;border-radius:4px;transition:color .2s}.close-button.svelte-12xqu8l:hover{color:var(--bp-title);background-color:var(--bp-button-hover-bg)}.panel-content.svelte-12xqu8l{overflow-y:auto;flex:1;gap:24px}.theme-grid.svelte-12xqu8l{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}.theme-button.svelte-12xqu8l{flex-direction:column;padding:8px;border-radius:8px;border:1px solid var(--bp-border);gap:4px}.theme-button.is-active.svelte-12xqu8l{border-color:var(--bp-accent);box-shadow:0 0 0 1px var(--bp-accent)}.theme-name.svelte-12xqu8l{font-size:11px;font-weight:500}.theme-preview.svelte-12xqu8l{font-size:10px;opacity:.7}.weight-presets.svelte-12xqu8l{display:flex;gap:4px;width:100%}.weight-presets.svelte-12xqu8l button:where(.svelte-12xqu8l){flex:1}.align-controls.svelte-12xqu8l{display:flex;gap:4px;width:100%}.align-controls.svelte-12xqu8l button:where(.svelte-12xqu8l){flex:1}.reader-container.svelte-1hccjsm{height:100vh;display:grid;grid-template-rows:auto 1fr auto;grid-template-columns:0px 1fr;grid-template-areas:"header header" "sidebar content" "footer footer";background-color:var(--bp-bg);color:var(--bp-text);overflow:hidden;transition:grid-template-columns .3s ease}.reader-container.sidebar-open.svelte-1hccjsm{grid-template-columns:320px 1fr}.reader-toolbar.svelte-1hccjsm{grid-area:header;height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;z-index:20}.toolbar-left.svelte-1hccjsm,.toolbar-right.svelte-1hccjsm{display:flex;align-items:center;gap:.25rem}.toolbar-btn.svelte-1hccjsm{background:none;border:none;color:var(--bp-button-fg);cursor:pointer;padding:8px;border-radius:var(--bp-radius-md);transition:background .2s,color .2s}.toolbar-btn.svelte-1hccjsm:hover{background:var(--bp-button-hover-bg);color:var(--bp-button-hover-fg)}.book-title.svelte-1hccjsm{font-size:14px;font-weight:500;color:var(--bp-title);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.reader-sidebar.svelte-1hccjsm{grid-area:sidebar;overflow:hidden}.sidebar-inner.svelte-1hccjsm{width:320px;height:100%;display:flex;flex-direction:column}.sidebar-content.svelte-1hccjsm{flex:1;overflow-y:auto;padding:16px}.sidebar-overlay.svelte-1hccjsm{display:none;position:absolute;inset:0;background:#00000080;z-index:10}.reader-content.svelte-1hccjsm{grid-area:content;overflow-y:auto;position:relative;width:100%}.content-wrapper.svelte-1hccjsm{margin:0 auto;padding:56px 16px;min-height:100%;transition:max-width .2s ease;border:1px solid var(--bp-border);box-shadow:var(--bp-shadow);border-radius:var(--bp-radius-lg)}.loading-state.svelte-1hccjsm{display:flex;align-items:center;justify-content:center;height:200px;opacity:.5}@media(max-width:1024px){.reader-container.svelte-1hccjsm{grid-template-columns:1fr;grid-template-areas:"header" "content" "footer"}.reader-container.sidebar-open.svelte-1hccjsm{grid-template-columns:1fr}.reader-sidebar.svelte-1hccjsm{position:absolute;top:56px;bottom:0;left:0;z-index:30;width:0;transition:width .3s ease;border-right:1px solid var(--bp-border);box-shadow:var(--bp-shadow-xl);background-color:var(--bp-bg)}.reader-container.sidebar-open.svelte-1hccjsm .reader-sidebar:where(.svelte-1hccjsm){width:280px}.sidebar-inner.svelte-1hccjsm{width:280px}.sidebar-overlay.svelte-1hccjsm{display:block;z-index:25}.book-title.svelte-1hccjsm{max-width:150px}}
