:root[data-theme=dark]{--color-bg-primary: #1f211d;--color-bg-secondary: #292c26;--color-bg-tertiary: #3a3e35;--color-text-primary: #f2eee1;--color-text-secondary: #d2cebf;--color-text-accent: #c1d6a7;--color-accent-decoration: #d5b56f;--color-primary: #a6c48f;--color-primary-hover: #c1d6a7;--color-primary-button: #527751;--color-on-primary: #ffffff;--color-focus: #e3c77f;--color-danger: #ef4444;--color-danger-text: #ffaaa2;--color-danger-button: #a33b34;--color-on-danger: #ffffff;--color-success: #22c55e;--color-success-text: #9ce0a7;--color-success-button: #32724a;--color-on-success: #ffffff;--color-warning: #e8c975;--color-warning-text: #f3d98f;--color-chart-1: #60a5fa;--color-chart-2: #34d399;--color-chart-3: #fbbf24;--color-chart-4: #fb923c;--color-chart-5: #a78bfa;--color-chart-6: #22d3ee;--color-chart-7: #f472b6;--color-chart-grid: #475569}:root[data-theme=light]{--color-bg-primary: #f8f6ef;--color-bg-secondary: #fffdf8;--color-bg-tertiary: #e8e4d8;--color-text-primary: #292b24;--color-text-secondary: #4c5147;--color-text-accent: #315b46;--color-accent-decoration: #718650;--color-primary: #47745b;--color-primary-hover: #315b46;--color-primary-button: #315b46;--color-on-primary: #ffffff;--color-focus: #315b46;--color-danger: #ef4444;--color-danger-text: #9e302c;--color-danger-button: #9e302c;--color-on-danger: #ffffff;--color-success: #22c55e;--color-success-text: #215c36;--color-success-button: #27643d;--color-on-success: #ffffff;--color-warning: #fbbf24;--color-warning-text: #76520b;--color-chart-1: #2563eb;--color-chart-2: #15803d;--color-chart-3: #b45309;--color-chart-4: #c2410c;--color-chart-5: #6d28d9;--color-chart-6: #0f766e;--color-chart-7: #be185d;--color-chart-grid: #cbd5e1}:root[data-theme=paper]{--color-bg-primary: #f6efe6;--color-bg-secondary: #fff9f1;--color-bg-tertiary: #efe6d8;--color-text-primary: #3b2f2f;--color-text-secondary: #6b5a4a;--color-text-accent: #8a5a2b;--color-accent-decoration: #9a6b40;--color-primary: #9a6b40;--color-primary-hover: #6f421f;--color-primary-button: #7c4a21;--color-on-primary: #ffffff;--color-focus: #8a5a2b;--color-danger: #dc2626;--color-danger-text: #b91c1c;--color-danger-button: #991b1b;--color-on-danger: #ffffff;--color-success: #16a34a;--color-success-text: #166534;--color-success-button: #166534;--color-on-success: #ffffff;--color-warning: #f59e0b;--color-warning-text: #92400e;--color-chart-1: #2563eb;--color-chart-2: #166534;--color-chart-3: #92400e;--color-chart-4: #c2410c;--color-chart-5: #6d28d9;--color-chart-6: #0f766e;--color-chart-7: #be185d;--color-chart-grid: #d6c5ae}:root[data-theme=pastel]{--color-bg-primary: #fffaf6;--color-bg-secondary: #fff8fb;--color-bg-tertiary: #f7f0ff;--color-text-primary: #2b2b2b;--color-text-secondary: #6b6b6b;--color-text-accent: #c2185b;--color-accent-decoration: #ff7ab6;--color-primary: #ff7ab6;--color-primary-hover: #ff7ab6;--color-primary-button: #ff7ab6;--color-on-primary: #2b2b2b;--color-focus: #c2185b;--color-danger: #ef5350;--color-danger-text: #c62828;--color-danger-button: #c62828;--color-on-danger: #ffffff;--color-success: #66bb6a;--color-success-text: #2e7d32;--color-success-button: #2e7d32;--color-on-success: #ffffff;--color-warning: #ffca28;--color-warning-text: #a15c00;--color-chart-1: #2563eb;--color-chart-2: #2e7d32;--color-chart-3: #a15c00;--color-chart-4: #c2410c;--color-chart-5: #6d28d9;--color-chart-6: #0f766e;--color-chart-7: #be185d;--color-chart-grid: #e8d8e0}:root[data-theme=hc]{--color-bg-primary: #000000;--color-bg-secondary: #111111;--color-bg-tertiary: #222222;--color-text-primary: #ffffff;--color-text-secondary: #e5e5e5;--color-text-accent: #ffff00;--color-accent-decoration: #00ffff;--color-primary: #ffff00;--color-primary-hover: #ffff00;--color-primary-button: #ffff00;--color-on-primary: #000000;--color-focus: #ffff00;--color-danger: #ff0000;--color-danger-text: #ff8080;--color-danger-button: #ff0000;--color-on-danger: #000000;--color-success: #00ff00;--color-success-text: #80ff80;--color-success-button: #00ff00;--color-on-success: #000000;--color-warning: #ff0000;--color-warning-text: #ffff00;--color-chart-1: #00ffff;--color-chart-2: #00ff00;--color-chart-3: #ffff00;--color-chart-4: #ff8080;--color-chart-5: #ff00ff;--color-chart-6: #80aaff;--color-chart-7: #ffffff;--color-chart-grid: #777777}:root{--z-shelf-controls: 100;--z-shelf-menu: 30;--z-bottom-nav: 200;--z-shelf-toolbar: 210;--z-dialog: 1000;--z-confirm: 2500;--z-toast: 3000}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--color-bg-primary: #0f172a;--color-bg-secondary: #1e293b;--color-bg-tertiary: #334155;--color-text-primary: #f8fafc;--color-text-secondary: #cbd5e1;--color-text-accent: #a5b4fc;--color-accent-decoration: #818cf8;--color-primary: #6366f1;--color-primary-hover: #4f46e5;--color-primary-button: #4f46e5;--color-focus: #a5b4fc;--color-danger: #ef4444;--color-danger-text: #fca5a5;--color-danger-button: #b91c1c;--color-on-danger: #ffffff;--color-success: #22c55e;--color-success-text: #86efac;--color-success-button: #15803d;--color-on-success: #ffffff;--color-warning: #fbbf24;--color-warning-text: #fde68a;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .1);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .2), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .3), 0 4px 6px -4px rgb(0 0 0 / .2);--radius-sm: .375rem;--radius-md: .5rem;--radius-lg: .75rem;--radius-full: 9999px;--shelf-bg: transparent;--shelf-plank-height: 12px;--shelf-plank-bg: linear-gradient(to bottom, #334155, #1e293b);--shelf-plank-shadow: 0 4px 6px rgba(0, 0, 0, .3);--shelf-plank-radius: 2px;--shelf-book-shadow: -2px 0 5px rgba(0, 0, 0, .5);--color-on-primary: #ffffff;--color-chart-1: #60a5fa;--color-chart-2: #34d399;--color-chart-3: #fbbf24;--color-chart-4: #fb923c;--color-chart-5: #a78bfa;--color-chart-6: #22d3ee;--color-chart-7: #f472b6;--color-chart-grid: #475569;--font-serif: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho", "BIZ UDPMincho", "Noto Serif JP", "Noto Serif CJK JP", "Source Han Serif JP", "IPAexMincho", "IPAMincho", serif;--motion-fast: .14s;--motion-base: .2s;--motion-ease: cubic-bezier(.2, .7, .3, 1);--paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.38 0 0 0 0 0.3 0.09 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");--paper-layers: linear-gradient(180deg, color-mix(in srgb, var(--color-warning) 5%, transparent), color-mix(in srgb, var(--color-warning) 2%, transparent)), var(--paper-grain);--shadow-card: 0 1px 2px rgb(0 0 0 / .06), 0 8px 18px -12px rgb(0 0 0 / .35)}@media(prefers-color-scheme:light){:root{--color-bg-primary: #f1f5f9;--color-bg-secondary: #ffffff;--color-bg-tertiary: #e2e8f0;--color-text-primary: #0f172a;--color-text-secondary: #475569;--color-text-accent: #4f46e5;--color-accent-decoration: #4f46e5;--color-primary: #4f46e5;--color-primary-hover: #4338ca;--color-primary-button: #4f46e5;--color-on-primary: #ffffff;--color-focus: #4f46e5;--color-danger-text: #b91c1c;--color-danger-button: #b91c1c;--color-on-danger: #ffffff;--color-success-text: #15803d;--color-success-button: #15803d;--color-on-success: #ffffff;--color-warning-text: #b45309;--shelf-plank-bg: linear-gradient(to bottom, #cbd5e1, #94a3b8);--shelf-book-shadow: -2px 0 5px rgba(0, 0, 0, .2);color:var(--color-text-primary);background-color:var(--color-bg-primary)}}[data-theme=light]{--color-bg-primary: #f1f5f9;--color-bg-secondary: #ffffff;--color-bg-tertiary: #e2e8f0;--color-text-primary: #0f172a;--color-text-secondary: #475569;--color-text-accent: #4f46e5;--shelf-plank-bg: linear-gradient(to bottom, #cbd5e1, #94a3b8);--shelf-book-shadow: -2px 0 5px rgba(0, 0, 0, .2);color:var(--color-text-primary);background-color:var(--color-bg-primary)}[data-theme=dark]{--color-bg-primary: #0f172a;--color-bg-secondary: #1e293b;--color-bg-tertiary: #334155;--color-text-primary: #f8fafc;--color-text-secondary: #cbd5e1;--color-text-accent: #818cf8;--shelf-plank-bg: linear-gradient(to bottom, #334155, #1e293b);--shelf-book-shadow: -2px 0 5px rgba(0, 0, 0, .5);color:var(--color-text-primary);background-color:var(--color-bg-primary)}[data-theme=paper]{--color-bg-primary: #fdfbf7;--color-bg-secondary: #f4e4bc;--color-bg-tertiary: #e6d5a7;--color-text-primary: #4a3b32;--color-text-secondary: #8c7b70;--color-text-accent: #8b4513;--color-primary: #a0522d;font-family:Georgia,serif;--shelf-plank-bg: linear-gradient(to bottom, #8b4513, #5d2906);--shelf-plank-radius: 0;--shelf-plank-height: 16px;--shelf-plank-shadow: 0 6px 8px rgba(0, 0, 0, .4);color:var(--color-text-primary);background-color:var(--color-bg-primary)}[data-theme=pastel]{--color-bg-primary: #fff0f5;--color-bg-secondary: #ffffff;--color-bg-tertiary: #ffe4e1;--color-text-primary: #5c5c5c;--color-text-secondary: #999999;--color-text-accent: #ff69b4;--color-primary: #ffb6c1;--radius-sm: .75rem;--radius-md: 1rem;--radius-lg: 1.5rem;--shelf-plank-bg: linear-gradient(to right, #ffecd2 0%, #fcb69f 100%);--shelf-plank-height: 10px;--shelf-plank-radius: 5px;--shelf-plank-shadow: 0 2px 4px rgba(255, 182, 193, .5);--shelf-book-shadow: -2px 0 5px rgba(0, 0, 0, .1);color:var(--color-text-primary);background-color:var(--color-bg-primary)}[data-theme=hc]{--color-bg-primary: #000000;--color-bg-secondary: #000000;--color-bg-tertiary: #333333;--color-text-primary: #ffffff;--color-text-secondary: #ffff00;--color-text-accent: #00ffff;--color-primary: #ffff00;--color-on-primary: #000000;--color-warning: #ff0000;--shadow-sm: none;--shadow-md: none;--shadow-lg: none;--shelf-plank-bg: #ffffff;--shelf-plank-height: 4px;--shelf-plank-radius: 0;--shelf-plank-shadow: none;--shelf-book-shadow: none;--paper-layers: none;--shadow-card: none;color:var(--color-text-primary);background-color:var(--color-bg-primary)}a{font-weight:500;color:var(--color-text-accent);text-decoration:inherit;transition:color .2s}a:hover{color:var(--color-text-accent)}html,body,#root{height:100%;overflow:hidden}@media print{html,body,#root{overflow:visible}}body{margin:0;min-width:320px;background-color:var(--color-bg-primary);background-image:var(--paper-layers);background-attachment:fixed;color:var(--color-text-primary);transition:background-color .3s,color .3s}h1,h2,h3,h4,h5,h6{line-height:1.1;color:var(--color-text-primary)}h1,h2,h3,h4,.font-serif{font-family:var(--font-serif);font-feature-settings:"palt" 1;letter-spacing:.02em}button{border-radius:var(--radius-md);border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:var(--color-bg-tertiary);cursor:pointer;transition:background-color var(--motion-fast) var(--motion-ease),border-color var(--motion-fast) var(--motion-ease),color var(--motion-fast) var(--motion-ease),box-shadow var(--motion-fast) var(--motion-ease),opacity var(--motion-fast) var(--motion-ease),transform var(--motion-fast) var(--motion-ease);color:var(--color-text-primary)}button:active:not(:disabled){transform:translateY(1px) scale(.98)}@media(hover:hover){button:hover{border-color:var(--color-primary)}}.btn-primary{background-color:var(--color-primary-button);color:var(--color-on-primary);border:none;font-weight:600}@media(hover:hover){.btn-primary:hover{background-color:var(--color-primary-hover);transform:translateY(-1px)}}.btn-secondary{background-color:transparent;border:1px solid var(--color-bg-tertiary);color:var(--color-text-secondary)}@media(hover:hover){.btn-secondary:hover{background-color:var(--color-bg-tertiary);color:var(--color-text-primary)}}button:focus,button:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}@media(prefers-contrast:more){:root{--color-bg-secondary: #0d1b2e;--color-text-secondary: #b0bac0}}.container{max-width:1280px;margin:0 auto;padding:2rem}.pwa-update-notice{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-width:0;padding:.75rem 1rem;border:1px solid var(--color-bg-tertiary);border-radius:var(--radius-md);background:var(--color-bg-secondary);color:var(--color-text-primary)}.pwa-update-notice button,.zip-restore-actions button{min-height:44px;flex-shrink:0}.zip-restore-modal{box-sizing:border-box;width:min(100%,560px);padding:1.5rem}.zip-restore-intro,.zip-restore-effect,.zip-restore-warning{color:var(--color-text-secondary);line-height:1.6;overflow-wrap:anywhere}.zip-restore-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:1rem 0}.zip-restore-summary>div{min-width:0;padding:.65rem .75rem;border-radius:var(--radius-sm);background:var(--color-bg-primary);overflow-wrap:anywhere}.zip-restore-summary dt{color:var(--color-text-secondary);font-size:.85rem}.zip-restore-summary dd{margin:.2rem 0 0;color:var(--color-text-primary);font-weight:600}.zip-restore-summary-wide{grid-column:1 / -1}.zip-restore-status-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.2rem .75rem}.zip-restore-warning{color:var(--color-warning-text)}.zip-restore-effect strong{color:var(--color-text-primary)}.zip-restore-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem}.settings-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.settings-guide-card{min-width:0;padding:1.25rem;border:1px solid var(--color-bg-tertiary);border-radius:var(--radius-lg);background:var(--color-bg-secondary);box-shadow:var(--shadow-card)}.settings-guide-card h3{margin:0 0 .6rem}.settings-guide-card p{margin:0 0 .75rem;color:var(--color-text-secondary);line-height:1.6;overflow-wrap:anywhere}.settings-guide-card p:last-child{margin-bottom:0}.modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.modal-content{background:var(--color-bg-secondary);width:90%;max-width:650px;border-radius:var(--radius-lg);padding:2rem;max-height:90vh;overflow-y:auto;box-shadow:var(--shadow-lg);border:1px solid var(--color-bg-tertiary);animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;border-bottom:1px solid var(--color-bg-tertiary);padding-bottom:1rem}.modal-header h2{margin:0;font-size:1.5rem;color:var(--color-text-accent)}.btn-danger-solid{background-color:var(--color-danger-button);color:var(--color-on-danger);border:none}.icon-btn{padding:.25rem;background:none;color:var(--color-text-secondary);transition:color .2s;border:none}@media(hover:hover){.icon-btn:hover{color:var(--color-text-primary)}}@media(max-width:800px){.modal-overlay{box-sizing:border-box;padding:max(.5rem,env(safe-area-inset-top)) 1rem max(.5rem,env(safe-area-inset-bottom));overflow-y:auto}.modal-overlay .modal-content{box-sizing:border-box;width:100%;max-width:100%;max-height:calc(100svh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 1rem);padding:1rem}.zip-restore-modal{padding:1rem}.modal-content>*{min-width:0}.modal-content img{max-width:100%}button,.icon-btn{min-height:44px}.icon-btn{min-width:44px}}@media(max-width:520px){.settings-guide-grid{grid-template-columns:minmax(0,1fr)}.pwa-update-notice{align-items:stretch;flex-direction:column}.pwa-update-notice button,.zip-restore-actions button{width:100%}}.reflection-prompts,.shelf-connections{display:grid;gap:.5rem;margin-top:1rem;min-width:0}.reading-note-item{min-width:0;margin:0 0 1rem;padding:.75rem;border:1px solid var(--color-bg-tertiary);border-radius:var(--radius-md);display:flex;flex-direction:column;gap:.75rem}.reading-note-item legend{padding:0 .25rem;color:var(--color-text-secondary);font-weight:600}.reflection-prompts p,.shelf-connections h3{margin:0}.reflection-prompts details{border:1px solid var(--color-bg-tertiary);border-radius:var(--radius-md);padding:.5rem}.reflection-prompts summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--color-text-secondary)}.reflection-prompts textarea{box-sizing:border-box;width:100%;min-width:0}.connection-card{display:flex;flex-direction:column;align-items:flex-start;gap:.2rem;width:100%;min-height:56px;padding:.7rem;background:var(--color-bg-secondary);color:var(--color-text-primary);border:1px solid var(--color-bg-tertiary);border-radius:var(--radius-md);text-align:left;overflow-wrap:anywhere}.connection-card small{color:var(--color-text-secondary)}.reflection-setting-toggle{min-height:44px;display:flex;flex-direction:row;align-items:center;gap:.5rem}.print-dialog-content,.recommend-choice-content{max-width:560px;overflow-wrap:anywhere}.print-dialog-actions,.recommend-choice-actions{display:flex;flex-wrap:wrap;gap:.5rem}.print-dialog-actions button,.recommend-choice-actions button{min-height:44px}.bookmark-preview{box-sizing:border-box;width:min(100%,320px);min-height:240px;margin:1rem auto;padding:1rem;display:flex;flex-direction:column;gap:.5rem;border:1px dashed var(--color-text-secondary);overflow-wrap:anywhere}.bookmark-preview-lines{flex:1;min-height:120px;padding-top:1.5rem;background:repeating-linear-gradient(to bottom,transparent 0 1.5rem,var(--color-text-secondary) 1.5rem calc(1.5rem + 1px))}.shopping-list-preview{display:grid;gap:.5rem;max-height:50vh;overflow-y:auto}.shopping-list-preview article,.local-recommendations button{box-sizing:border-box;display:grid;gap:.25rem;min-width:0;overflow-wrap:anywhere;padding:.65rem;border:1px solid var(--color-bg-tertiary);border-radius:var(--radius-md)}.shopping-list-preview span,.local-recommendations span{color:var(--color-text-secondary)}.local-recommendations{display:grid;gap:.5rem;margin-top:1rem}.local-recommendations button{width:100%;min-height:52px;background:var(--color-bg-secondary);color:var(--color-text-primary);text-align:left}.author-review{grid-column:1 / -1;padding:.75rem;border:1px solid var(--color-warning);border-radius:var(--radius-md);font-size:.9rem;overflow-wrap:anywhere}.author-review p{margin:0 0 .4rem}.author-review ul{margin:0 0 .5rem;padding-left:1.2rem;color:var(--color-warning-text)}.author-review-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.4rem}.author-review-actions button{min-height:44px;padding:.4rem .9rem;border-radius:var(--radius-md);cursor:pointer}.author-review-note{color:var(--color-text-secondary);font-size:.8rem}.main-content>*{animation:screen-enter var(--motion-base) var(--motion-ease)}@keyframes screen-enter{0%{opacity:0}to{opacity:1}}@media(pointer:coarse),(max-width:800px){input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea{font-size:max(16px,1em)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cover-art{position:relative;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:.35em;width:100%;height:100%;aspect-ratio:2 / 3;padding:16% 12% 12%;overflow:hidden;container-type:inline-size;background:linear-gradient(90deg,color-mix(in srgb,var(--art-fg) 16%,transparent) 0 5%,transparent 5% 100%),var(--art-bg);color:var(--art-fg);font-family:var(--font-serif);text-align:center}.cover-art:before{content:"";position:absolute;inset:7% 8% 7% 11%;border:1px solid color-mix(in srgb,var(--art-fg) 40%,transparent);pointer-events:none}.cover-art-title{font-size:clamp(.62rem,12cqi,1.05rem);font-weight:700;line-height:1.4;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.cover-art-author{font-size:clamp(.5rem,8cqi,.8rem);opacity:.9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.spine-art{position:relative;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:calc(var(--spine-base-h, 150px) * var(--spine-h, 1));width:calc(var(--spine-base-w, 30px) * var(--spine-w, 1));padding-top:calc(var(--spine-base-h, 150px) * var(--spine-h, 1) * .13);overflow:hidden;background:linear-gradient(90deg,rgb(255 255 255 / .16),transparent 24%,transparent 76%,rgb(0 0 0 / .2)),var(--spine-bg);color:var(--spine-fg);border-radius:2px 2px 1px 1px;box-shadow:var(--shelf-book-shadow)}.spine-art:before,.spine-art:after{content:"";position:absolute;left:0;right:0;height:2px;background:color-mix(in srgb,var(--spine-fg) 55%,transparent)}.spine-art:before{top:7%}.spine-art:after{bottom:8%}.spine-art-title{writing-mode:vertical-rl;text-orientation:mixed;font-family:var(--font-serif);font-weight:600;font-size:clamp(10px,calc(var(--spine-base-w, 30px) * var(--spine-w, 1) * .42),16px);line-height:1.15;letter-spacing:.08em;max-height:calc(var(--spine-base-h, 150px) * var(--spine-h, 1) * .72);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-theme=hc] .spine-art{outline:1px solid var(--color-text-primary);outline-offset:-1px}.empty-state-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.45rem;padding:2.5rem 1rem;text-align:center;color:var(--color-text-secondary);overflow-wrap:anywhere}.empty-state-panel p{margin:0}.empty-state-title{margin:0;font-family:var(--font-serif);font-size:1.1rem;font-weight:700;color:var(--color-text-primary)}.empty-hint{font-size:.875rem;line-height:1.6;color:var(--color-text-secondary)}.empty-state-panel button{margin-top:.75rem;min-height:44px}.empty-art{width:180px;max-width:72%;height:auto;margin-bottom:.35rem;overflow:visible}.empty-art-wall{fill:color-mix(in srgb,var(--color-bg-tertiary) 55%,transparent)}.empty-art-plank{fill:color-mix(in srgb,var(--color-text-secondary) 55%,var(--color-bg-tertiary))}.empty-art-book.tone-1{fill:var(--color-accent-decoration)}.empty-art-book.tone-2{fill:color-mix(in srgb,var(--color-warning) 78%,var(--color-bg-tertiary))}.empty-art-book.tone-3{fill:color-mix(in srgb,var(--color-success) 72%,var(--color-bg-tertiary))}.empty-art-slot,.empty-art-frame-line{fill:none;stroke:var(--color-text-secondary);stroke-width:1.5;stroke-dasharray:3 3;opacity:.75}.empty-art-lens circle{fill:color-mix(in srgb,var(--color-bg-secondary) 75%,transparent);stroke:var(--color-text-accent);stroke-width:3}.empty-art-lens line{stroke:var(--color-text-accent);stroke-width:4;stroke-linecap:round}.empty-art-lid{fill:color-mix(in srgb,var(--color-bg-tertiary) 60%,var(--color-text-secondary))}.empty-art-hole{fill:color-mix(in srgb,var(--color-text-primary) 70%,var(--color-bg-primary))}.empty-art-box{fill:var(--color-bg-tertiary);stroke:var(--color-text-secondary);stroke-width:1.2}.empty-art-band{fill:var(--color-accent-decoration);opacity:.8}.empty-art-frame{fill:var(--color-bg-secondary);stroke:var(--color-text-secondary);stroke-width:1.5}.empty-art-sheet{fill:var(--color-bg-secondary);stroke:var(--color-text-secondary);stroke-width:1.2}.empty-art-sheet-line{stroke:var(--color-text-secondary);stroke-width:1.5;stroke-linecap:round;opacity:.6}.empty-art-arrow{fill:none;stroke:var(--color-text-accent);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:1ms!important;animation-delay:0ms!important;animation-iteration-count:1!important;transition-duration:1ms!important;transition-delay:0ms!important;scroll-behavior:auto!important}button:active:not(:disabled){transform:none}}.settings-version-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1rem;padding:.75rem 1rem;background:var(--color-bg-secondary);border:1px solid var(--color-border);border-radius:var(--radius-md);margin-bottom:.5rem}.settings-version-header .settings-build-label{margin:0;font-size:.85rem;color:var(--color-text-secondary);line-height:1.4}.settings-update-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem}.settings-update-btn{min-height:44px}.settings-update-btn.is-update-ready{background:var(--color-primary);color:var(--color-primary-contrast, #ffffff)}.settings-update-check-note{margin:0;font-size:.85rem;color:var(--color-text-secondary)}.print-root{display:none}@page{size:A4 landscape;margin:10mm}@media print{html,body,#root{width:auto!important;height:auto!important;margin:0!important;padding:0!important;background:#fff!important;color:#000!important}body:has(>.print-root)>:not(.print-root){display:none!important}.print-root,.print-root *{color:#000!important}.print-root,.print-root *{visibility:visible!important}.print-root{display:block!important;position:static!important;inset:0 auto auto 0!important;width:277mm!important;margin:0!important;padding:0!important;background:#fff!important;color:#000!important;font-family:serif!important;font-size:10pt!important}.print-dialog-actions,.bookmark-preview{display:none!important}.bookmark-page{box-sizing:border-box;display:grid;grid-template-columns:100mm 100mm;gap:10mm;align-content:start;width:277mm;height:180mm;break-after:page}.bookmark-page:last-child{break-after:auto}.bookmark-sheet{box-sizing:border-box;display:grid;grid-template-columns:1fr 1fr;width:100mm;height:180mm;border:1px dashed #333;break-inside:avoid;color:#000}.bookmark-half{box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:center;gap:4mm;min-width:0;padding:8mm 5mm;overflow-wrap:anywhere;text-align:center}.bookmark-front{border-right:1px dotted #777}.bookmark-cover{width:25mm;height:38mm;object-fit:contain}.bookmark-back{padding-top:14mm}.writing-lines{align-self:stretch;margin-top:4mm}.writing-line{box-sizing:border-box;height:8mm;border-bottom:.2mm solid #999}.quote-print-page{display:grid;grid-template-columns:105mm 105mm;gap:10mm;align-content:start;break-after:page;break-inside:avoid}.quote-print-page:last-child{break-after:auto}.quote-print-card{box-sizing:border-box;width:105mm;height:148mm;padding:10mm;border:.2mm dashed #777;break-inside:avoid;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;display:flex;flex-direction:column;justify-content:space-between}.quote-print-card p{margin:0 0 4mm;font-size:10pt;line-height:1.4}.quote-print-card footer{flex-shrink:0}.shopping-print-root{box-sizing:border-box;padding:4mm}.shopping-print-root h1{margin:0 0 4mm;font-size:18pt}.shopping-print-root ol{padding-left:7mm}.shopping-print-root li{margin:0 0 3mm;break-inside:avoid}.shopping-print-root li span{display:block;overflow-wrap:anywhere}}.generated-cover{--cover-rule: color-mix(in srgb, var(--cover-fg, #fff9e9) 60%, transparent);box-sizing:border-box;position:relative;isolation:isolate;display:grid;align-items:center;justify-items:center;inline-size:100%;block-size:100%;min-inline-size:0;min-block-size:0;aspect-ratio:2 / 3;overflow:hidden;padding:0;border:1px solid rgba(255,249,233,.35);border-radius:2px 5px 5px 2px;background:linear-gradient(110deg,rgb(255 255 255 / .02),transparent 24% 78%,rgb(0 0 0 / .18)),var(--cover-bg)!important;background-color:var(--cover-bg)!important;color:var(--cover-fg)!important;container-type:size;font-family:var(--font-serif, Georgia, serif);text-align:center}.generated-cover-frame,.generated-cover-bands{position:absolute;z-index:0;pointer-events:none}.generated-cover-frame{inset:5%;border:1px solid var(--cover-rule);opacity:.75}.generated-cover-bands{inset-inline:8%;inset-block-start:13%;block-size:2px;border-block:1px solid var(--cover-rule);opacity:.9}.generated-cover.has-frame .generated-cover-frame{inset:7%;border-width:2px;box-shadow:inset 0 0 0 2px var(--cover-bg),inset 0 0 0 3px var(--cover-rule)}.generated-cover.has-band .generated-cover-bands{inset-inline:0;inset-block:17%;block-size:auto;border-block:3px double var(--cover-rule)}.generated-cover-ornament{position:absolute;inset-block-start:8%;font-size:clamp(.5rem,12cqi,1.6rem);line-height:1}.generated-cover-title{position:absolute;inset-inline:10%;inset-block-start:50%;transform:translateY(-50%);inline-size:80%;max-block-size:58%;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;text-overflow:ellipsis;word-break:break-word;overflow-wrap:anywhere;font-size:clamp(.48rem,10cqi,1.35rem);font-weight:700;line-height:1.25;text-shadow:0 1px 1px rgb(0 0 0 / .16)}.generated-cover-subtitle{display:block;margin-block-start:.3em;font-size:.62em;font-weight:400;line-height:1.35}.generated-cover-unit{display:inline-block;white-space:nowrap}.generated-cover-author{position:absolute;inset-inline:10%;inset-block-end:9%;max-inline-size:80%;max-block-size:16%;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;font-size:clamp(.4rem,6cqi,.86rem);line-height:1.25}.generated-cover--ornament-1 .generated-cover-ornament,.generated-cover--ornament-3 .generated-cover-ornament{transform:rotate(45deg)}.generated-cover--ornament-2 .generated-cover-ornament{font-size:clamp(.45rem,10cqi,1.25rem)}.generated-cover.has-seal .generated-cover-ornament{inline-size:1.6em;block-size:1.6em;display:grid;place-items:center;border:1px solid var(--cover-rule);border-radius:50%}@container (max-width: 47px){.generated-cover-frame,.generated-cover-bands,.generated-cover-ornament,.generated-cover-author,.generated-cover-subtitle{display:none!important}.generated-cover-title{inset-inline:4%;inline-size:92%;max-block-size:80%;font-size:clamp(9px,28cqi,13px);line-height:1.1;-webkit-line-clamp:1;line-clamp:1;text-shadow:none}}@container (min-width: 48px) and (max-width: 79px){.generated-cover-author,.generated-cover-subtitle{display:none!important}.generated-cover-ornament{font-size:8px;inset-block-start:5%}.generated-cover-bands{inset-block-start:11%}.generated-cover-title{font-size:clamp(7px,9cqi,8.5px);line-height:1.22;-webkit-line-clamp:3;line-clamp:3;max-block-size:64%}}.modal-overlay.cover-editor-overlay .cover-editor{box-sizing:border-box;width:min(96vw,650px);max-width:100%;max-height:96vh;padding:1rem;display:flex;flex-direction:column;gap:.75rem;overflow:hidden}.cover-editor-head h2{margin:0}.cover-editor-head p{margin:.25rem 0 0;font-size:.875rem;line-height:1.5;color:var(--color-text-secondary)}.cover-editor-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:.75rem;padding:.125rem;overflow-y:auto;overscroll-behavior:contain}.cover-editor-preview{display:block;width:auto;height:auto;max-width:100%;max-height:min(40vh,340px);margin:0 auto;touch-action:none;background:#eee;outline:1px solid var(--color-text-secondary)}.cover-editor-controls{display:flex;flex-direction:column;gap:.5rem}.cover-editor-field{display:flex;flex-direction:column;gap:.35rem;font-size:.875rem;color:var(--color-text-secondary)}.cover-editor-field select{min-height:44px;font-size:1rem}.cover-editor-field input[type=range]{width:100%;min-height:44px;margin:0;max-width:100%;box-sizing:border-box;padding:0}.cover-editor-pad{display:grid;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(3,44px);gap:.25rem;justify-content:center}.cover-editor-move{width:44px;min-height:44px;padding:0}.cover-editor-move[data-dir=up]{grid-column:2;grid-row:1}.cover-editor-move[data-dir=left]{grid-column:1;grid-row:2}.cover-editor-move[data-dir=right]{grid-column:3;grid-row:2}.cover-editor-move[data-dir=down]{grid-column:2;grid-row:3}.cover-editor-pad-center{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:center;color:var(--color-text-secondary)}.cover-editor-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.cover-editor-tool{min-width:0;min-height:44px;padding-inline:.5rem;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;font-size:.85rem;white-space:nowrap}.cover-editor-actions{flex:0 0 auto;display:flex;flex-direction:column;gap:.5rem;padding-top:.75rem;border-top:1px solid var(--color-bg-tertiary)}.cover-editor-buttons{display:flex;gap:.5rem}.cover-editor-buttons button{flex:1 1 0;min-width:0;min-height:44px}.cover-editor-error{margin:0;font-size:.875rem;color:var(--color-danger-text)}@media(min-width:600px){.cover-editor-tools{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:599px){.modal-overlay.cover-editor-overlay{padding:0}.modal-overlay.cover-editor-overlay .cover-editor{width:100%;height:100vh;height:100dvh;max-height:none;padding:0;gap:0;border:none;border-radius:0;box-shadow:none}.cover-editor-head{padding:calc(env(safe-area-inset-top) + .75rem) 1rem .5rem}.cover-editor-body{padding:.25rem 1rem .75rem;gap:.75rem}.cover-editor-preview{max-height:52vh;max-height:52dvh}.cover-editor-actions{padding:.75rem 1rem calc(env(safe-area-inset-bottom) + .75rem)}}.social-photo-dialog{width:min(96vw,560px);max-height:96vh;padding:1rem;display:flex;flex-direction:column;gap:.75rem}.social-photo-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.social-photo-header h2{margin:0;font-size:1.15rem}.social-photo-header .btn-secondary{min-height:44px;min-width:44px}.social-photo-preview{display:flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:180px;max-height:50vh;background:var(--color-bg-tertiary);border-radius:var(--radius-lg);overflow:hidden;color:var(--color-text-secondary)}.social-photo-preview img{display:block;max-width:100%;max-height:50vh;width:auto;height:auto;object-fit:contain}.social-photo-error{color:var(--color-danger-text);margin:0}.social-photo-group{border:1px solid var(--color-bg-tertiary);border-radius:var(--radius-lg);padding:.5rem .75rem .75rem;margin:0;min-width:0}.social-photo-group legend{padding:0 .25rem;font-weight:600;color:var(--color-text-primary)}.social-photo-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:.4rem}.social-photo-choice,.social-photo-check{display:flex;flex-direction:row;align-items:center;gap:.5rem;min-height:44px;padding:.25rem .5rem;color:var(--color-text-primary);cursor:pointer}.social-photo-choice input,.social-photo-check input{width:20px;height:20px;flex:0 0 auto;accent-color:var(--color-primary-button)}.social-photo-swatch{display:inline-block;width:22px;height:22px;border-radius:6px;border:1px solid var(--color-bg-tertiary);flex:0 0 auto}.social-photo-note{display:flex;flex-direction:column;gap:.3rem;margin-top:.4rem;color:var(--color-text-secondary);font-size:.9rem}.social-photo-note textarea{min-height:44px;font:inherit;font-size:16px;padding:.5rem;border-radius:var(--radius-md, 8px);border:1px solid var(--color-bg-tertiary);background:var(--color-bg-primary);color:var(--color-text-primary);resize:vertical}.social-photo-save-bar{position:sticky;bottom:0;display:flex;flex-direction:column;gap:.5rem;padding:.75rem 0 0;background:var(--color-bg-secondary);border-top:1px solid var(--color-bg-tertiary)}.social-photo-share-note{margin:0;font-size:.9rem;color:var(--color-text-secondary)}.social-photo-save{min-height:48px;width:100%;font-size:1rem;font-weight:600}@media(max-width:480px){.social-photo-dialog{width:96vw;padding:.75rem}.social-photo-choices{grid-template-columns:minmax(0,1fr)}}.social-photo-dialog--tabbed{width:min(96vw,560px);height:min(92vh,860px);height:min(92dvh,860px);max-height:92vh;max-height:92dvh;padding:0;gap:0;overflow:hidden}@media(max-width:599px){.social-photo-dialog--tabbed{width:100vw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;border:0;border-radius:0}}.social-photo-dialog--tabbed .social-photo-header{flex:0 0 auto;margin:0;padding:.75rem 1rem}.social-photo-dialog--tabbed .social-photo-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.social-photo-dialog--tabbed .social-photo-stage{flex:0 0 auto;display:flex;flex-direction:column;gap:.5rem;padding:.75rem 1rem 0;min-height:0}.social-photo-dialog--tabbed .social-photo-preview{flex:0 0 auto;height:40vh;height:40dvh;min-height:160px;max-height:none;padding:.5rem;box-sizing:border-box}.social-photo-dialog--tabbed .social-photo-preview img{max-width:100%;max-height:100%}.social-photo-dialog--tabbed .social-photo-controls{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;padding:.5rem 1rem 0}.social-photo-tabs{flex:0 0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;padding-bottom:.5rem;border-bottom:1px solid var(--color-bg-tertiary)}.social-photo-tab{min-height:44px;padding:.25rem;border:1px solid var(--color-bg-tertiary);border-radius:var(--radius-md, 8px);background:var(--color-bg-primary);color:var(--color-text-primary);font:inherit;font-size:.95rem;font-weight:600;cursor:pointer}.social-photo-tab.is-active{background:var(--color-primary-button);border-color:var(--color-primary-button);color:var(--color-on-primary)}.social-photo-panels{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:.75rem;padding:.5rem .25rem .75rem 0}.social-photo-panel{display:none;flex-direction:column;gap:.75rem}.social-photo-panel.is-active{display:flex}.social-photo-segment{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--color-bg-tertiary);border-radius:var(--radius-md, 8px);overflow:hidden}.social-photo-segment .social-photo-choice{position:relative;justify-content:center;min-height:44px;padding:.25rem;white-space:nowrap;font-size:.95rem;border-left:1px solid var(--color-bg-tertiary)}.social-photo-segment .social-photo-choice:first-child{border-left:0}.social-photo-segment .social-photo-choice input{position:absolute;width:1px;height:1px;margin:0;opacity:0}.social-photo-segment .social-photo-choice.is-checked{background:var(--color-primary-button);color:var(--color-on-primary)}.social-photo-segment .social-photo-choice:focus-within{outline:2px solid var(--color-primary-button);outline-offset:-2px}.social-photo-hint{margin:.5rem 0 0;font-size:.85rem;color:var(--color-text-secondary)}.social-photo-notice{margin:0}.social-photo-dialog--tabbed .social-photo-save-bar{flex:0 0 auto;margin:0;padding:.6rem 1rem calc(.6rem + env(safe-area-inset-bottom,0px))}@media(min-width:900px){.social-photo-dialog--tabbed{width:min(90vw,960px);max-width:none;height:min(90vh,900px);height:min(90dvh,900px);max-height:90vh;max-height:90dvh}.social-photo-dialog--tabbed .social-photo-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.social-photo-dialog--tabbed .social-photo-choices{grid-template-columns:minmax(0,1fr)}.social-photo-dialog--tabbed .social-photo-stage{padding:1rem .5rem 1rem 1.25rem}.social-photo-dialog--tabbed .social-photo-preview{flex:1 1 auto;height:auto;min-height:0;max-height:80vh;max-height:80dvh}.social-photo-dialog--tabbed .social-photo-controls{padding:1rem 1.25rem 0 .5rem}.social-photo-tabs{display:none}.social-photo-panel{display:flex}.social-photo-panels{padding-bottom:1rem}.social-photo-dialog--tabbed .social-photo-save-bar{padding:.75rem 1.25rem}}@media(hover:hover){.social-photo-tab:not(.is-active):hover{background:var(--color-bg-tertiary)}.social-photo-dialog--tabbed .social-photo-choice:not(.is-checked):hover,.social-photo-dialog--tabbed .social-photo-check:hover{background:var(--color-bg-tertiary);border-radius:var(--radius-md, 8px)}}.author-timeline{width:min(100%,1000px);margin:0 auto;padding:1rem;color:var(--color-text-primary);box-sizing:border-box}.author-timeline-header h2{margin:.4rem 0;font-family:var(--font-serif)}.author-timeline-header p{color:var(--color-text-secondary)}.author-timeline-note{margin:.35rem 0 0;padding:.5rem .75rem;border-left:3px solid var(--color-text-accent);border-radius:var(--radius-sm);background:var(--color-bg-secondary);color:var(--color-text-secondary);font-size:.88rem;line-height:1.5;overflow-wrap:anywhere}.author-timeline-back{min-height:44px;margin-bottom:.5rem}.author-timeline-controls{max-width:32rem;margin:1rem 0}.author-timeline-controls label+label{margin-top:.9rem}.author-timeline-controls input{font-size:1rem}.author-timeline-match{margin:.4rem 0 .9rem;color:var(--color-text-secondary);font-size:.9rem;overflow-wrap:anywhere}.author-timeline-controls label,.author-timeline-custom label{display:grid;gap:.4rem;font-weight:600}.author-timeline select,.author-timeline input{width:100%;min-height:46px;box-sizing:border-box;padding:.55rem .7rem;border:1px solid var(--color-bg-tertiary);border-radius:var(--radius-md);background:var(--color-bg-secondary);color:var(--color-text-primary);font:inherit}.author-timeline-legend,.author-timeline-statuses{display:flex;flex-wrap:wrap;gap:.5rem}.author-timeline-legend{margin:1rem 0}.author-timeline-legend span,.author-timeline-statuses span{display:inline-flex;align-items:center;gap:.3rem;min-height:30px;padding:.15rem .55rem;border:1px solid color-mix(in srgb,var(--timeline-color) 55%,var(--color-bg-tertiary));border-radius:999px;color:var(--color-text-primary);background:color-mix(in srgb,var(--timeline-color) 15%,var(--color-bg-secondary));font-size:.82rem}.author-timeline-legend b,.author-timeline-statuses b{color:var(--timeline-color)}.author-timeline-ndl{padding:.85rem 1rem;border:1px solid var(--color-bg-tertiary);border-radius:var(--radius-md);background:var(--color-bg-secondary);overflow-wrap:anywhere}.author-timeline-ndl p{margin:0 0 .65rem}.author-timeline-ndl p[role=status]{margin:.65rem 0 0;color:var(--color-text-secondary)}.author-timeline-ndl button,.author-timeline-add,.author-timeline-custom button{min-height:44px}.author-timeline-list-head{display:grid;grid-template-columns:3rem minmax(0,1fr);align-items:baseline;gap:.7rem;margin:1.1rem 0 .4rem;padding:0 .75rem;color:var(--color-text-secondary);font-size:.82rem;font-weight:700}.author-timeline-year-heading{text-align:right;white-space:nowrap}.author-timeline-work-heading{min-width:0;overflow-wrap:anywhere}.author-timeline-list{position:relative;list-style:none;display:grid;gap:.8rem;margin:.4rem 0 1.25rem;padding:0}.author-timeline-list:before{content:"";position:absolute;inset-block:.5rem;inset-inline-start:3.55rem;width:2px;background:var(--color-bg-tertiary)}.author-timeline-work{position:relative;display:grid;grid-template-columns:3rem 2.75rem minmax(0,1fr);align-items:start;gap:.7rem;padding:.75rem;border:1px solid var(--color-bg-tertiary);border-radius:var(--radius-md);background:var(--color-bg-secondary);min-width:0}.author-timeline-work--candidate{opacity:.68;border-style:dashed}:root[data-theme=hc] .author-timeline-work--candidate{opacity:.92}.author-timeline-year{padding-top:.35rem;text-align:right;font-variant-numeric:tabular-nums;font-weight:700;color:var(--color-text-secondary);overflow-wrap:anywhere}.author-timeline-cover{position:relative;z-index:1;display:grid;place-items:center;width:2.75rem;height:3.7rem;overflow:hidden;border:1px solid var(--color-bg-tertiary);border-radius:3px;background:var(--color-bg-primary);color:var(--color-text-secondary);font-family:var(--font-serif)}.author-timeline-cover img{display:block;width:100%;height:100%;object-fit:cover}.author-timeline-work-body{min-width:0;overflow-wrap:anywhere}.author-timeline-work-body h3{margin:.1rem 0 .25rem;font-size:1rem;line-height:1.45}.author-timeline-work-body p{margin:0 0 .45rem;color:var(--color-text-secondary);font-size:.88rem}.author-timeline-statuses{margin-top:.45rem}.author-timeline-ndl-tag{color:var(--color-text-accent)!important;border-style:dashed!important}.author-timeline-add{margin-top:.55rem}.author-timeline-empty{margin:1.5rem 0;padding:1rem;border-radius:var(--radius-md);background:var(--color-bg-secondary);color:var(--color-text-secondary)}.author-timeline-custom{margin:1.25rem 0;padding:.75rem 0;border-top:1px solid var(--color-bg-tertiary)}.author-timeline-custom summary{min-height:44px;cursor:pointer;color:var(--color-text-secondary)}.author-timeline-custom label{margin:.6rem 0}.author-timeline-dialog-panel{height:100dvh;overflow-y:auto;overscroll-behavior:contain;background:var(--color-bg-primary)}.author-timeline-open{min-height:44px;white-space:normal;overflow-wrap:anywhere}@media(min-width:700px){.author-timeline-list-head{grid-template-columns:4rem minmax(0,1fr);gap:1rem;padding:0 1rem}.author-timeline-work{grid-template-columns:4rem 3.25rem minmax(0,1fr);gap:1rem;padding:1rem}.author-timeline-list:before{inset-inline-start:4.5rem}.author-timeline-cover{width:3.25rem;height:4.4rem}.author-timeline-work-body h3{font-size:1.08rem}}@media(prefers-reduced-motion:reduce){.author-timeline *,.author-timeline *:before,.author-timeline *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
