.workspace-page.novel-hub-page{display:flex;flex-direction:column;gap:20px;min-height:calc(100vh - 80px);padding:26px clamp(18px,3vw,44px) 48px;background:radial-gradient(ellipse at 88% 0,#eef4ff80,transparent 30%),#f7f9fc;color:#263650}.novel-hub-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:6px 0 17px;border-bottom:1px solid #e6ebf3}.novel-hub-header>div{min-width:0}.novel-hub-back{display:inline-flex;align-items:center;gap:7px;color:#647692;font-size:13px;text-decoration:none}.novel-hub-back:hover{color:#2863f5}.novel-hub-header p{margin:20px 0 3px;color:#8492a8;font-size:12px}.novel-hub-header h1{margin:0;color:#1e2d48;font-size:28px;line-height:1.45;letter-spacing:.01em}.novel-hub-header>div>span{display:block;margin-top:5px;color:#73839b;font-size:14px;line-height:1.7}.novel-hub-home{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 13px;border:1px solid #e0e7f2;border-radius:9px;background:#fff;color:#526580;font-size:13px;text-decoration:none;white-space:nowrap}.novel-hub-home:hover{border-color:#cbd9f5;color:#2863f5}.novel-subnav{display:flex;align-items:center;gap:6px;padding:4px;border:1px solid #e7ecf4;border-radius:10px;background:#fff;width:max-content;max-width:100%}.novel-subnav a{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 13px;border-radius:7px;color:#697a94;font-size:13px;text-decoration:none;white-space:nowrap}.novel-subnav a:hover{background:#f6f8fc;color:#315fce}.novel-subnav a.is-current{background:#edf3ff;color:#2863f5;font-weight:650}.novel-hub-toolbar{display:flex;align-items:center;gap:12px;min-height:42px}.novel-hub-search,.novel-hub-select{display:flex;align-items:center;gap:9px;min-height:40px;padding:0 12px;border:1px solid #e1e7f0;border-radius:9px;background:#fff;color:#8290a5}.novel-hub-search{width:min(360px,100%)}.novel-hub-search input{width:100%;min-width:0;border:0;outline:none;background:transparent;color:#354761;font:inherit;font-size:13px}.novel-hub-search input::placeholder{color:#9aa6b8}.novel-hub-select{gap:12px}.novel-hub-select span{font-size:12px;white-space:nowrap}.novel-hub-select select{max-width:min(360px,45vw);border:0;outline:none;background:transparent;color:#354761;font:inherit;font-size:13px}.novel-hub-primary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;margin-left:auto;padding:0 15px;border:1px solid #2d65e7;border-radius:9px;background:#2d65e7;box-shadow:0 4px 12px #2d65e71c;color:#fff;font-size:13px;font-weight:600;text-decoration:none}.novel-hub-primary:hover{background:#2459d4}.novel-hub-count{margin-left:auto;color:#8492a8;font-size:12px;white-space:nowrap}.novel-work-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,390px),1fr));gap:14px;align-content:start}.novel-work-card{display:flex;gap:16px;min-width:0;padding:17px;border:1px solid #e5eaf2;border-radius:13px;background:#fff;box-shadow:0 4px 14px #24365306;transition:border-color .15s,box-shadow .15s}.novel-work-card:hover{border-color:#d3def1;box-shadow:0 8px 24px #2436530c}.novel-work-cover{flex:0 0 74px;height:110px;border-radius:6px;background-position:50%;background-size:cover;box-shadow:0 3px 9px #26324918}.novel-work-content{display:flex;flex-direction:column;align-items:flex-start;min-width:0;flex:1 1}.novel-work-kind{color:#5278c8;font-size:11px;line-height:1.5}.novel-work-content h2{max-width:100%;margin:5px 0;color:#253651;font-size:16px;line-height:1.6;overflow-wrap:anywhere}.novel-work-content p{margin:0;color:#8290a5;font-size:12px;line-height:1.7}.novel-work-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:13px}.novel-work-actions a,.novel-work-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid #e3e9f2;border-radius:7px;background:#fff;color:#5f718b;font:inherit;font-size:12px;text-decoration:none;cursor:pointer}.novel-work-actions .novel-work-open{border-color:#d7e3fb;background:#f3f7ff;color:#2e63d7;font-weight:600}.novel-work-actions a:hover,.novel-work-actions button:hover{border-color:#c6d5f1;color:#2863f5}.novel-work-actions button.is-danger{color:#a9696d}.novel-work-actions button:disabled{opacity:.55;cursor:wait}.novel-log-list{display:grid;gap:12px;align-content:start}.novel-log-card{padding:16px 18px;border:1px solid #e5eaf2;border-radius:11px;background:#fff}.novel-log-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px;color:#8491a5;font-size:12px}.novel-log-meta span{color:#496ba8;font-weight:600}.novel-log-card pre{max-height:420px;margin:0;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:#3f4e64;font:13px/1.85 var(--font-ui,system-ui,sans-serif)}.novel-log-card details{border-top:1px solid #edf0f5;padding-top:10px}.novel-log-card summary{color:#456bb3;font-size:13px;cursor:pointer}.novel-log-card details pre{margin-top:10px;padding:14px;border-radius:8px;background:#f7f9fc}.novel-hub-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:230px;padding:28px;border:1px dashed #dce4f0;border-radius:13px;background:#fff;color:#8b99ad;text-align:center}.novel-hub-empty h2{margin:4px 0 0;color:#40516c;font-size:17px}.novel-hub-empty p{margin:0;font-size:13px;line-height:1.8}.novel-hub-empty a{margin-left:6px;color:#2863f5;text-decoration:none}.novel-spin{animation:novel-hub-spin 1s linear infinite}@keyframes novel-hub-spin{to{transform:rotate(1turn)}}.novel-hub-message{padding:11px 14px;border:1px solid #d8e8dd;border-radius:9px;background:#f5fbf6;color:#38714a;font-size:13px;line-height:1.7}.novel-hub-message.is-error{display:flex;align-items:center;justify-content:space-between;gap:12px;border-color:#f0d5d1;background:#fff8f6;color:#a74f43}.novel-hub-message button{padding:5px 10px;border:1px solid #ead2ce;border-radius:6px;background:#fff;color:inherit;cursor:pointer}.novel-example-paper{max-width:980px;margin:0 auto;padding:clamp(20px,4vw,48px);border:1px solid #e6eaf0;border-radius:15px;background:#fff;box-shadow:0 8px 28px #24365308}.novel-example-hero{display:grid;grid-template-columns:120px 1fr;gap:25px;align-items:center;padding-bottom:25px;border-bottom:1px solid #edf0f4}.novel-example-hero img{width:120px;height:180px;object-fit:cover;border-radius:7px;box-shadow:0 5px 16px #2235541c}.novel-example-hero>div>span,.novel-example-paper article>small{color:#6780ad;font-size:12px}.novel-example-hero h2{margin:9px 0;color:#283a56;font-size:19px}.novel-example-hero p{margin:0;color:#61718a;font-size:14px;line-height:1.9}.novel-example-paper article{max-width:700px;margin:30px auto 0;color:#3c485b;font-family:"Noto Serif SC",Songti SC,serif}.novel-example-paper article h2{margin:6px 0 16px;color:#273953;font-size:19px}.novel-example-paper article p{margin:0 0 1.1em;font-size:16px;line-height:2.05;letter-spacing:.02em}.novel-example-paper footer{display:flex;align-items:center;gap:8px;margin-top:34px;padding-top:17px;border-top:1px solid #edf0f4;color:#8491a5;font-size:12px;line-height:1.7}.hud-actions button[onclick="openLogs()"]{display:none!important}@media(max-width:700px){.workspace-page.novel-hub-page{gap:14px;padding:17px 14px 30px}.novel-hub-header{align-items:flex-start;padding-bottom:13px}.novel-hub-header h1{font-size:23px}.novel-hub-header>div>span{font-size:13px}.novel-hub-home{min-height:34px;padding:0 9px;font-size:12px}.novel-subnav{width:100%;overflow:auto}.novel-subnav a{flex:1 1;justify-content:center;gap:6px;padding:0 8px;font-size:12px}.novel-hub-toolbar{flex-wrap:wrap;gap:8px}.novel-hub-search{order:2;flex:1 1 100%;width:100%}.novel-hub-select{flex:1 1;min-width:0}.novel-hub-select select{flex:1 1;min-width:0;max-width:100%}.novel-hub-count,.novel-hub-primary{margin-left:auto}.novel-work-grid{grid-template-columns:1fr}.novel-work-card{gap:12px;padding:13px}.novel-work-cover{flex-basis:62px;height:94px}.novel-work-content h2{font-size:15px}.novel-work-actions{gap:5px}.novel-work-actions a,.novel-work-actions button{padding:0 8px;font-size:11px}.novel-log-card{padding:13px}.novel-log-meta{align-items:flex-start;flex-direction:column;gap:4px}.novel-example-paper{padding:18px 15px}.novel-example-hero{grid-template-columns:78px 1fr;gap:14px;padding-bottom:18px}.novel-example-hero img{width:78px;height:117px}.novel-example-hero p{font-size:13px}.novel-example-paper article{margin-top:23px}.novel-example-paper article p{font-size:15px;line-height:1.95}}.novel-work-rename-input{width:100%;min-height:36px;padding:6px 9px;border:1px solid #d7e1f1;border-radius:7px;background:#fbfcff;color:#2d3f59;font:inherit;font-size:14px}.novel-work-confirm{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;padding:9px 10px;border:1px solid #f1ddda;border-radius:8px;background:#fff9f8;color:#8e5550;font-size:12px;line-height:1.6}.novel-work-confirm span{flex:1 1 100%}.novel-work-confirm button{padding:5px 9px;border:1px solid #ecd3d0;border-radius:6px;background:#fff;color:#87524e;font-size:12px;cursor:pointer}.novel-work-confirm button:first-of-type{border-color:#cf6c64;background:#cf6c64;color:#fff}.novel-example-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start;max-width:1160px;width:100%;margin:0 auto}.novel-example-sidebar{position:sticky;top:20px;display:flex;flex-direction:column;padding:18px;border:1px solid #e3e8ef;border-radius:14px;background:#fff;box-shadow:0 8px 24px #23334b08}.novel-example-sidebar>img{width:76px;height:112px;object-fit:cover;border-radius:5px;box-shadow:0 5px 16px #26324922}.novel-example-sidebar>strong{margin-top:13px;font-size:16px;color:#25344c}.novel-example-sidebar>span{margin-top:3px;color:#8290a3;font-size:12px}.novel-example-sidebar nav{display:grid;gap:3px;margin-top:19px;padding-top:13px;border-top:1px solid #edf0f3}.novel-example-sidebar nav a{display:flex;align-items:center;gap:9px;min-height:35px;padding:7px 8px;border-radius:7px;color:#5e6c80;font-size:12px;line-height:1.5;text-decoration:none}.novel-example-sidebar nav a:focus-visible,.novel-example-sidebar nav a:hover{background:#eef4ff;color:#225bc8}.novel-example-sidebar nav svg{flex:none;color:#8ba7d7}.novel-example-content{display:grid;gap:18px;min-width:0}.novel-example-banner,.novel-example-chapter,.novel-example-next,.novel-example-section{scroll-margin-top:22px;border:1px solid #e4e9f0;border-radius:14px;background:#fff}.novel-example-banner{padding:17px 23px;background:#eef4fc;border-color:#d8e6f7}.novel-example-banner span,.novel-example-next span{color:#2e67b4;font-size:12px;font-weight:700}.novel-example-banner p{margin:6px 0 0;color:#5e7190;font-size:13px;line-height:1.8}.novel-example-chapter,.novel-example-section{padding:clamp(22px,3vw,36px)}.novel-example-section-head>span{color:#5077ac;font-size:12px;font-weight:700;letter-spacing:.04em}.novel-example-section-head h2{margin:7px 0 6px;color:#263750;font-size:22px;line-height:1.4}.novel-example-section-head p{margin:0;color:#73829a;font-size:13px;line-height:1.8}.novel-example-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:23px 0;background:#e6ebf2;border:1px solid #e6ebf2;border-radius:10px;overflow:hidden}.novel-example-fields>div{min-width:0;padding:13px 15px;background:#fafbfd}.novel-example-fields dt{margin-bottom:6px;color:#8b98a9;font-size:11px}.novel-example-fields dd{margin:0;color:#33445f;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.novel-example-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.novel-example-stages>div{padding:14px;border:1px solid #e6edf7;border-radius:9px;background:#f9fbff}.novel-example-stages b{display:block;color:#3b70bf;font-size:12px}.novel-example-stages strong{display:block;margin-top:6px;color:#364962;font-size:13px}.novel-example-stages p{margin:6px 0 0;color:#8290a5;font-size:11px;line-height:1.7}.novel-example-hint{margin:18px 0 0;color:#8190a3;font-size:12px;line-height:1.8}.novel-example-setting{margin:23px 0 0;padding:22px;border-left:3px solid #a5bde5;background:#f8fafc;color:#42526b;font-size:15px;line-height:2;white-space:pre-wrap}.novel-example-chapter-list{display:grid;gap:8px;margin:22px 0 0;padding:0;list-style:none}.novel-example-chapter-list a{display:flex;align-items:center;gap:14px;min-height:58px;padding:10px 15px;border:1px solid #e7ebf2;border-radius:9px;color:#3d506b;text-decoration:none}.novel-example-chapter-list a:hover{border-color:#bcd0ef;background:#f7faff}.novel-example-chapter-list a>span:first-child{color:#7794c2;font:700 13px Georgia,serif}.novel-example-chapter-list a>strong{flex:1 1;font-size:14px;font-weight:600}.novel-example-chapter-list a>span:last-child{display:flex;align-items:center;gap:5px;color:#527ac0;font-size:12px}.novel-example-chapter{background:#fffefa}.novel-example-prose{max-width:700px;margin:26px auto 0;color:#39455a;font-family:"Noto Serif SC",Songti SC,serif}.novel-example-prose p{margin:0 0 1.35em;font-size:16px;line-height:2.1;letter-spacing:.015em;white-space:pre-wrap;overflow-wrap:anywhere}.novel-example-chapter>a{display:inline-block;margin-top:15px;color:#5277ae;font-size:12px;text-decoration:none}.novel-example-next{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 30px;background:#edf4ff}.novel-example-next h2{margin:6px 0;color:#284164;font-size:20px}.novel-example-next p{max-width:610px;margin:0;color:#607693;font-size:13px;line-height:1.8}.novel-example-next>a{display:inline-flex;align-items:center;gap:8px;flex:none;min-height:41px;padding:0 15px;border-radius:8px;background:#2e64ca;color:#fff;font-size:13px;font-weight:600;text-decoration:none}.novel-example-next>a:hover{background:#2154b2}@media(max-width:850px){.novel-example-layout{grid-template-columns:1fr}.novel-example-sidebar{position:static}.novel-example-sidebar>img,.novel-example-sidebar>span,.novel-example-sidebar>strong{display:none}.novel-example-sidebar nav{display:flex;gap:5px;overflow:auto;margin:0;padding:0;border:0}.novel-example-sidebar nav a{flex:none}.novel-example-stages{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.novel-example-sidebar{padding:8px}.novel-example-chapter,.novel-example-section{padding:21px 17px}.novel-example-fields{grid-template-columns:1fr}.novel-example-stages{grid-template-columns:1fr 1fr}.novel-example-next{align-items:stretch;flex-direction:column;padding:23px 20px}.novel-example-next>a{justify-content:center}.novel-example-prose p{font-size:15px;line-height:2}}.workspace-page.novel-hub-page.novel-library-page{background:radial-gradient(ellipse at 88% 0,color-mix(in srgb,var(--workspace-brand,#3568df) 7%,transparent),transparent 30%),var(--workspace-bg-page,#f7f9fc);color:var(--workspace-text-primary,#263650)}.novel-library-page .novel-hub-header{border-color:var(--workspace-border,#e6ebf3)}.novel-library-page .novel-hub-back,.novel-library-page .novel-hub-header>div>span{color:var(--workspace-text-secondary,#647692)}.novel-library-page .novel-hub-count,.novel-library-page .novel-hub-header p{color:var(--workspace-text-muted,#8492a8)}.novel-library-page .novel-hub-header h1{color:var(--workspace-text-primary,#1e2d48)}.novel-library-page .novel-hub-home,.novel-library-page .novel-hub-search,.novel-library-page .novel-subnav{border-color:var(--workspace-border,#e0e7f2);background:var(--workspace-bg-elevated,#fff);color:var(--workspace-text-secondary,#526580)}.novel-library-page .novel-subnav a{color:var(--workspace-text-secondary,#697a94)}.novel-library-page .novel-subnav a:hover{background:var(--workspace-state-hover,#f6f8fc);color:var(--workspace-text-primary,#315fce)}.novel-library-page .novel-subnav a.is-current{background:var(--workspace-state-selected,#edf3ff);color:var(--workspace-brand-strong,#2863f5)}.novel-library-page .novel-hub-search input{color:var(--workspace-text-primary,#354761)}.novel-library-page .novel-hub-search input::placeholder{color:var(--workspace-text-muted,#748197)}.novel-library-page .novel-hub-search:focus-within,.novel-library-page :is(a,button):focus-visible{outline:2px solid var(--workspace-border-focus,#5d85ea);outline-offset:2px}.novel-library-page .novel-hub-empty,.novel-library-page .novel-work-card{border-color:var(--workspace-border,#e5eaf2);background:var(--workspace-bg-surface,#fff);color:var(--workspace-text-muted,#8b99ad)}.novel-library-page .novel-work-card:hover{border-color:var(--workspace-border-strong,#d3def1)}.novel-library-page .novel-work-kind{color:var(--workspace-brand-strong,#5278c8)}.novel-library-page .novel-hub-empty h2,.novel-library-page .novel-work-content h2{color:var(--workspace-text-primary,#253651)}.novel-library-page .novel-work-content p{color:var(--workspace-text-secondary,#53627a)}.novel-library-page .novel-work-actions a,.novel-library-page .novel-work-actions button{border-color:var(--workspace-border,#e3e9f2);background:var(--workspace-bg-elevated,#fff);color:var(--workspace-text-secondary,#53627a)}.novel-library-page .novel-work-actions .novel-work-open{border-color:var(--workspace-border-strong,#d7e3fb);background:var(--workspace-state-selected,#f3f7ff);color:var(--workspace-brand-strong,#2e63d7)}.novel-library-page .novel-work-actions button.is-danger{color:var(--workspace-danger,#a9696d)}.novel-library-page .novel-work-confirm{color:var(--workspace-text-primary,#26344a)}.novel-library-page .novel-hub-message{border-color:var(--workspace-border,#d8e8dd);background:var(--workspace-bg-surface,#f5fbf6);color:var(--workspace-success,#38714a)}.novel-library-page .novel-hub-message.is-error{border-color:color-mix(in srgb,var(--workspace-danger,#c44848) 34%,var(--workspace-border,#f0d5d1));background:color-mix(in srgb,var(--workspace-danger,#c44848) 7%,var(--workspace-bg-surface,#fff8f6));color:color-mix(in srgb,var(--workspace-danger,#c44848) 80%,var(--workspace-text-primary,#26344a))}.novel-library-page .novel-hub-message button{border-color:var(--workspace-border-strong,#ead2ce);background:var(--workspace-bg-elevated,#fff);color:inherit}html[data-theme=dark] .novel-library-page .novel-hub-primary{border-color:var(--workspace-brand,#82a7ff);background:var(--workspace-brand,#82a7ff);color:var(--workspace-text-inverse,#101722)}html[data-theme=dark] .novel-library-page .novel-hub-primary:hover{background:var(--workspace-brand-strong,#a7c0ff)}html[data-theme=dark] .novel-library-page .novel-work-cover{box-shadow:none}