.ChapterEditor_storyAccentBtn__Kh04b.ChapterEditor_storyAccentBtn__Kh04b{background-color:var(--story-accent)}.ChapterEditor_storyAccentBtn__Kh04b.ChapterEditor_storyAccentBtn__Kh04b:hover{background-color:color-mix(in srgb,var(--story-accent) 85%,black)}.ChapterEditor_toolbar__v2wTe{position:sticky;top:0;z-index:var(--z-sticky);display:flex;align-items:center;justify-content:space-between;width:100%;min-height:64px;padding:.75rem 24px;background:var(--background);border-bottom:1px solid var(--border)}.ChapterEditor_toolbarLeft__rn2kN{display:flex;align-items:center;gap:1rem;min-width:0}.ChapterEditor_toolbarBack__eM4J7{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;flex-shrink:0;border:none;border-radius:.5rem;background:transparent;color:var(--foreground);text-decoration:none;cursor:pointer;transition:background .15s ease}.ChapterEditor_toolbarBack__eM4J7:hover{background:var(--muted)}.ChapterEditor_toolbarInfo__9fE1w{display:flex;flex-direction:column;gap:2px;min-width:0}.ChapterEditor_toolbarBreadcrumb__CYAR1{font-size:.8rem;line-height:1.2;color:var(--muted-foreground);margin:0 0 2px}.ChapterEditor_toolbarRight__soiEf{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.ChapterEditor_toolbarBtnSecondary__vYvmG{padding:.5rem 1rem;border:1px solid var(--border);border-radius:.5rem;background:var(--card);color:var(--foreground);font-size:.9rem;font-weight:600;font-family:inherit;cursor:pointer;transition:border-color .15s ease}.ChapterEditor_tiptapToolbar__f_VLV.ChapterEditor_tiptapToolbar__f_VLV{top:79px}.ChapterEditor_chapterHeading__MKfTJ{display:block;width:100%;box-sizing:border-box;text-align:center;font-family:var(--font-baskerville),"Libre Baskerville",Georgia,serif;font-size:clamp(1.6rem,3vw,2.2rem);font-weight:500;color:var(--foreground);margin:2rem 0 2.5rem;line-height:1.2;border:none;background:transparent;outline:none;resize:none;overflow:hidden;padding:0}.ChapterEditor_chapterHeading__MKfTJ::placeholder{color:var(--text-tertiary);opacity:1}.ChapterEditor_toolbarStatus__VlFn7{margin:0;font-size:.75rem;color:var(--muted-foreground);line-height:1.2}.ChapterEditor_toolbarStatusSaved__A4KOz{color:var(--story-accent)}.ChapterEditor_typeSelect__W0Wdz{align-self:flex-start;margin:2px 0;padding:1px 4px;border:1px solid var(--border);border-radius:4px;background:var(--card);color:var(--muted-foreground);font-family:inherit;font-size:.75rem;cursor:pointer}.ChapterEditor_previewKicker__jPje8{text-align:center;font-size:13px;font-weight:500;text-transform:uppercase;letter-spacing:.18em;color:var(--text-tertiary);margin:2rem 0 -1.5rem}.ConfigModal_overlay__SoEKV{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--modal-overlay);z-index:var(--z-modal);display:flex;align-items:center;justify-content:center;padding:1rem;animation:ConfigModal_fadeIn__KhJbX .2s ease}@keyframes ConfigModal_fadeIn__KhJbX{0%{opacity:0}to{opacity:1}}.ConfigModal_modal__3sqDG{position:relative;background:var(--card);border-radius:12px;max-width:520px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 8px 32px rgba(0,0,0,.2);animation:ConfigModal_scaleIn__IDcfk .2s ease}@keyframes ConfigModal_scaleIn__IDcfk{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.dark .ConfigModal_modal__3sqDG{background:rgba(30,30,30,.98);box-shadow:0 8px 32px rgba(0,0,0,.6)}.ConfigModal_content__mOAJH{padding:2rem}.ConfigModal_header__Ghl1g{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.ConfigModal_title__pGEJt{font-size:1.125rem;font-weight:700;margin:0;color:var(--foreground)}.ConfigModal_closeBtn__sXCsB{background:none;border:none;cursor:pointer;font-size:1.5rem;line-height:1;padding:.25rem .5rem;border-radius:6px;color:var(--muted-foreground);transition:color .15s ease,background .15s ease;flex-shrink:0}.ConfigModal_closeBtn__sXCsB:hover{color:var(--foreground);background:var(--muted)}@media (max-width:768px){.ConfigModal_modal__3sqDG{width:95%;max-width:100%;max-height:85vh;margin:auto 10px}.ConfigModal_content__mOAJH{padding:1.5rem}.ConfigModal_title__pGEJt{font-size:1rem}}.CoverThumb_coverThumb__F0se3{width:40px;height:40px;border-radius:4px;flex-shrink:0;overflow:hidden;background:var(--muted)}.CoverThumb_coverThumbImg__961w4{width:100%;height:100%;object-fit:cover}.ChapterTopBar_bar__JlS0s{position:sticky;top:0;z-index:var(--z-sticky);display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;min-height:64px;padding:.75rem 24px;background:var(--background);border-bottom:1px solid var(--border)}.ChapterTopBar_bar__JlS0s.ChapterTopBar_offsetTop__hAvPv{top:0}.ChapterTopBar_left__YAUV7{display:flex;align-items:center;gap:1rem;min-width:0}.ChapterTopBar_back__RCjC4{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;flex-shrink:0;border:none;border-radius:.5rem;background:transparent;color:var(--foreground);cursor:pointer;transition:background .15s ease}.ChapterTopBar_back__RCjC4:hover{background:var(--muted)}.ChapterTopBar_info__A3k8c{display:flex;flex-direction:column;gap:2px;min-width:0}.ChapterTopBar_storyTitle__PxAXj{min-width:0;color:var(--foreground);font-size:1.0625rem;font-weight:700;line-height:1.25;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ChapterTopBar_storyTitle__PxAXj:hover{text-decoration:underline}.ChapterTopBar_author__14PLM{min-width:0;color:var(--muted-foreground);font-size:.8rem;line-height:1.2;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ChapterTopBar_author__14PLM:hover{color:var(--foreground);text-decoration:underline}.ChapterTopBar_right__fPsR9{display:flex;align-items:center;gap:.5rem;flex-shrink:0}