@import"https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&family=Inter:wght@400;500;600&display=swap";.text-tool{display:flex;align-items:center;gap:7px;border:1px solid #dedbd4;background:#fff;border-radius:6px;padding:8px 10px;font-size:11px}.text-tool:hover{background:#f4f2ed}.text-tool:disabled{opacity:.4;cursor:not-allowed}.studio-modal{width:min(1080px,92vw);height:min(760px,88vh);display:grid;grid-template-columns:180px 1fr;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 22px 70px #17151150}.studio-modal>aside{background:#272f2c;color:#fff;padding:22px 11px}.studio-modal>aside>div{padding:2px 10px 22px}.studio-modal>aside b,.studio-modal>aside small{display:block}.studio-modal>aside b{font-family:"Noto Serif SC";font-size:16px}.studio-modal>aside small{color:#9eada7;font-size:10px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-modal>aside button{width:100%;display:flex;justify-content:space-between;border:0;border-radius:5px;background:transparent;color:#b9c2be;padding:10px;text-align:left;font-size:12px;margin:2px 0}.studio-modal>aside button:hover,.studio-modal>aside button.active{background:#3a4541;color:#fff}.studio-modal>aside button span{font-size:9px;background:#52605b;padding:2px 5px;border-radius:8px}.studio-content{min-width:0;overflow:auto;padding:24px 28px;background:#fbfaf8}.studio-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #e5e1da;padding-bottom:16px;margin-bottom:20px}.studio-head h2{font-family:"Noto Serif SC";font-size:20px;margin:0}.studio-head p{font-size:11px;color:#8e887f;margin:5px 0 0}.studio-form{max-width:760px}.studio-form label{display:block;font-size:11px;font-weight:600;color:#69645d;margin:12px 0}.studio-form input,.studio-form select,.studio-form textarea{display:block;width:100%;margin-top:6px;border:1px solid #d7d2ca;background:#fff;border-radius:5px;padding:9px;font-size:12px;outline:none}.studio-form textarea{height:80px;resize:vertical;line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.studio-split{display:grid;grid-template-columns:290px 1fr;gap:22px;min-height:560px}.resource-list{border-right:1px solid #e5e1da;padding-right:16px}.resource-list>button{position:relative;width:100%;display:block;border:1px solid transparent;background:transparent;text-align:left;border-radius:5px;padding:10px;margin-bottom:5px}.resource-list>button:hover{border-color:#dad6ce;background:#fff}.resource-list b,.resource-list small{display:block}.resource-list b{font-size:12px}.resource-list small{font-size:10px;color:#88827a;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-list i{font-style:normal;font-size:9px;color:#39715e;background:#dfebe5;padding:2px 5px;border-radius:3px;margin-right:6px}.resource-list>button>span{position:absolute;right:7px;top:8px;color:#9b655b;display:none}.resource-list>button:hover>span{display:block}.resource-list>p,.history-list>p{font-size:12px;color:#99938b;text-align:center;padding:40px 10px}.studio-form.compact textarea{height:64px}.history-list article{background:#fff;border:1px solid #e0dcd5;border-radius:6px;margin-bottom:10px;padding:13px}.history-list article header{display:flex;justify-content:space-between;font-size:11px;color:#7d776f}.history-list article p{font-size:12px}.history-list pre{white-space:pre-wrap;max-height:180px;overflow:auto;background:#f5f3ef;padding:10px;border-radius:4px;font-family:"Noto Serif SC";font-size:11px;line-height:1.7;margin-bottom:0}.model-picker{display:grid;grid-template-columns:1fr 36px;gap:7px;margin-top:7px}.model-picker select{margin-top:0!important;height:36px}.model-picker .icon-btn{width:36px;height:36px}.provider-list button{position:relative}.provider-list button.active{background:#eef5f1;border-color:#9bb9ad}.provider-list button>svg{vertical-align:middle;margin-left:5px;color:#34705a}.model-actions{display:grid;grid-template-columns:auto 1fr;gap:8px;margin-top:17px}.model-actions .full{margin-top:0}.danger-button{display:flex;align-items:center;justify-content:center;width:40px;border:1px solid #d8b8b2;border-radius:6px;background:#fff;color:#9a4439}.danger-button:hover{background:#f9ebe8}.danger-button:disabled{opacity:.45;cursor:not-allowed}.bootstrap-options{border-top:1px solid #ebe7e0;border-bottom:1px solid #ebe7e0;padding:4px 0 10px;margin-top:14px}.bootstrap-options label{margin:11px 0!important}.bootstrap-options label:not(.check) select{display:block;width:100%;margin-top:6px;border:1px solid #d5d1c9;border-radius:5px;background:#fff;padding:9px;font-size:12px}.creation-modes,.word-range{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0 4px}.creation-modes button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px;border:1px solid #d9d4cc;border-radius:7px;background:#faf9f6;text-align:left}.creation-modes button.selected{border-color:#315d4e;background:#edf3f0;box-shadow:inset 0 0 0 1px #315d4e}.creation-modes b{font-family:"Noto Serif SC";font-size:14px}.creation-modes span,.short-hit-note,.word-range small{font-size:11px;color:#77716a}.short-hit-note{margin:8px 0 15px;padding:9px 11px;border-left:3px solid #a65e45;background:#fbf2ed;line-height:1.7}.word-range{margin-bottom:14px}.word-range label{margin:0!important}.word-range small{grid-column:1/-1}@media(max-width:767px){.creation-modes,.word-range{grid-template-columns:1fr}.word-range small{grid-column:auto}}.history-list article header{align-items:center;gap:8px}.history-list article header>b{margin-right:auto}.history-list article header>button{display:grid;place-items:center;border:0;background:transparent;color:#9b6259;padding:4px}.history-state{padding:3px 6px;border-radius:4px;background:#e9e7e2;color:#6f6a63}.history-time{color:#77716a;font-size:10px;white-space:nowrap}.status-completed .history-state{background:#e1eee7;color:#34705a}.status-running .history-state{background:#e8edf2;color:#49677c}.status-failed .history-state{background:#f5e5e2;color:#995349}.history-running{display:flex;align-items:center;gap:8px;background:#f1f4f5;color:#60727d;border-radius:4px;padding:12px;font-size:11px}.history-error{color:#8d453d!important;background:#f9ece9!important;max-height:110px!important}.studio-actions{display:flex;align-items:center;gap:8px;margin-top:16px}.studio-actions .primary{margin:0}.bootstrap-retry{display:flex;align-items:center;gap:7px;border:1px solid #b8ccc4;background:#edf4f0;color:#315e4f;border-radius:6px;padding:9px 13px;font-size:12px;font-weight:600}.bootstrap-retry:hover{background:#e2eee8}.bootstrap-retry:disabled{opacity:.45;cursor:not-allowed}.novel-row{position:relative;border-radius:6px}.novel-row .novel{padding-right:34px}.novel-row:hover,.novel-row.active,.novel-row.active .novel{background:#fff}.novel-delete{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:none;place-items:center;width:27px;height:27px;border:0;border-radius:4px;background:transparent;color:#986158}.novel-row:hover .novel-delete{display:grid}.novel-delete:hover{background:#f7e7e4;color:#8c3f35}.chapter-title-display{min-height:59px;cursor:text;margin-top:0;margin-bottom:0;letter-spacing:0}.chapter-title-display:hover{color:#315b4d}.quick-library{grid-template-columns:repeat(3,minmax(0,1fr));max-height:170px;overflow:auto;padding-right:3px}.quick-library button{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-library button.selected{border-color:#73998b;background:#e4eee9;color:#284e41}.quick-library::-webkit-scrollbar{width:5px}.quick-library::-webkit-scrollbar-thumb{background:#c8c3bb;border-radius:3px}.serial-modal{width:650px}.serial-form{padding-bottom:18px;border-bottom:1px solid #e5e1da}.serial-form label{display:block;font-size:11px;font-weight:600;margin:10px 0}.serial-form input,.serial-form select,.serial-form textarea{display:block;width:100%;margin-top:6px;border:1px solid #d5d1c9;border-radius:5px;background:#fff;padding:9px;font-size:12px}.serial-form textarea{height:72px;resize:vertical;line-height:1.6}.job-list{margin-top:16px;max-height:270px;overflow:auto}.job-list article{border:1px solid #dfdbd4;border-radius:6px;padding:12px;margin-bottom:8px}.job-head{display:flex;justify-content:space-between;align-items:center}.job-head b,.job-head small{display:block}.job-head b{font-size:12px}.job-head small{font-size:10px;color:#8c867e;margin-top:4px}.job-controls{display:flex;gap:4px}.job-controls button{display:grid;place-items:center;width:29px;height:29px;border:1px solid #dad5cd;border-radius:5px;background:#fff}.job-progress{height:5px;background:#ebe8e2;border-radius:3px;margin-top:11px;overflow:hidden}.job-progress span{display:block;height:100%;background:#3e7863;transition:width .3s}.job-error{font-size:10px;color:#984c42;background:#f8eae7;padding:7px;border-radius:4px}.refresh-work{margin-top:9px;border:0;background:transparent;color:#346b58;font-size:11px;font-weight:600}.no-jobs{text-align:center;color:#969087;font-size:11px;padding:22px}.serial-modal .modal-head{margin-bottom:12px}.cover img{width:100%;height:100%;object-fit:cover}.cover-setting{display:grid;grid-template-columns:105px 1fr;gap:16px;align-items:center;padding:14px;border:1px solid #e2ddd5;background:#fff;border-radius:7px;margin-bottom:16px}.cover-preview{width:105px;aspect-ratio:2/3;display:grid;place-items:center;overflow:hidden;border-radius:5px;background:#213a32;color:#fff;font-family:"Noto Serif SC";font-size:32px}.cover-preview img{width:100%;height:100%;object-fit:cover}.cover-setting b{font-family:"Noto Serif SC"}.cover-setting p{font-size:11px;color:#817a72;line-height:1.6}.cover-actions{display:flex;gap:8px}.cover-upload{position:relative;cursor:pointer;margin:0!important}.cover-upload input{position:absolute!important;width:1px!important;height:1px!important;opacity:0;margin:0!important;padding:0!important}.studio-form textarea.cover-prompt{height:110px}.studio-form label small{display:block;margin-top:5px;color:#918a82;font-weight:400}.cover-prompt-generate{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;margin:-4px 0 14px;padding:9px 13px;border:1px solid #7f9d91;border-radius:6px;background:#edf4f1;color:#285244;font-size:12px;font-weight:600}.cover-prompt-generate:disabled{opacity:.45;cursor:not-allowed}@media(max-width:767px){.cover-setting{grid-template-columns:82px 1fr}.cover-preview{width:82px}.cover-prompt-generate{width:100%;min-height:46px}}:root{font-family:Inter,Microsoft YaHei,sans-serif;color:#23211e;background:#f6f5f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:1080px}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}.shell{display:grid;grid-template:60px calc(100vh - 60px) /248px minmax(520px,1fr) 310px;height:100vh;background:#f6f5f2}header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid #dedbd4;background:#fff;z-index:2}.brand,.head-actions,.pane-title span,.primary,.ai-title{display:flex;align-items:center;gap:9px}.brand strong{font-family:"Noto Serif SC";font-size:19px}.brandmark{display:grid;place-items:center;width:34px;height:34px;background:#213a32;color:#fff;border-radius:6px}.tag{font-size:12px;color:#77716a;border-left:1px solid #ddd8d0;padding-left:10px}.head-actions{gap:8px}.notice{font-size:12px;color:#507467;margin-right:7px}.icon-btn{display:grid;place-items:center;width:36px;height:36px;border:1px solid #dedbd4;background:#fff;border-radius:6px}.icon-btn:hover{background:#f2f0eb}.icon-btn.small{width:27px;height:27px;border:0;background:transparent}.primary{justify-content:center;border:0;border-radius:6px;background:#213a32;color:#fff;font-weight:600;padding:9px 15px}.primary:disabled,.generate:disabled{opacity:.45;cursor:not-allowed}.library-pane,.ai-pane{background:#eeece7;overflow:auto}.library-pane{border-right:1px solid #dcd8d0}.pane-title{height:48px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;color:#625d56;font-size:12px;font-weight:600;text-transform:uppercase}.novels{padding:0 9px 14px}.novel{width:100%;display:flex;align-items:center;gap:10px;text-align:left;border:0;background:transparent;padding:8px;border-radius:6px}.novel:hover,.novel.active{background:#fff}.novel>span:last-child{min-width:0}.novel b,.novel small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.novel b{font-size:13px;margin-bottom:4px}.novel small{font-size:11px;color:#88827a}.cover{display:grid;place-items:center;width:34px;height:43px;flex:0 0 auto;border-radius:3px;background:#9d6b4d;color:#fff;font-family:"Noto Serif SC";font-weight:700}.chapters{border-top:1px solid #dcd8d0;padding:0 9px}.chapters>.pane-title{padding:0 5px}.chapters>button{width:100%;border:0;background:transparent;border-radius:5px;text-align:left;padding:9px 10px;font-size:12px;color:#615c55}.chapters>button span{color:#a09a91;margin-right:9px}.chapters>button:hover,.chapters>button.active{background:#dedbd4;color:#202d28}.empty{text-align:center;color:#8b857c;padding:34px 10px}.empty svg{opacity:.45}.empty p{font-size:13px}.empty button{border:0;background:transparent;color:#315d4e;font-size:12px}.editor{display:flex;flex-direction:column;min-width:0;background:#fff}.editor-meta{display:flex;gap:8px;padding:28px max(48px,8vw) 10px;font-size:11px;color:#938d84}.chapter-title{margin:0 max(48px,8vw);border:0;border-bottom:1px solid #eeeae4;background:transparent;font-family:"Noto Serif SC";font-size:25px;font-weight:700;padding:8px 0 18px;outline:none;letter-spacing:0}.editor>textarea{flex:1;resize:none;border:0;outline:none;padding:26px max(48px,8vw);font-family:"Noto Serif SC";font-size:16px;line-height:2.05;letter-spacing:0;background:#fff}.editor footer{display:flex;justify-content:space-between;padding:12px 22px;border-top:1px solid #eeeae4;color:#99938b;font-size:11px}.blank{margin:auto;text-align:center;color:#89837a}.blank h2{font-family:"Noto Serif SC";color:#35312d}.blank p{font-size:13px;margin-bottom:22px}.blank svg{opacity:.4}.ai-pane{border-left:1px solid #dcd8d0;padding:20px 18px}.ai-title{padding-bottom:18px;border-bottom:1px solid #d8d4cc;margin-bottom:20px}.ai-title b,.ai-title small{display:block}.ai-title b{font-size:13px}.ai-title small{font-size:10px;color:#8e887f;margin-top:3px}.spark{display:grid;place-items:center;width:33px;height:33px;border-radius:6px;background:#d9e4dc;color:#315b4d}.ai-pane label{display:block;margin:15px 0 7px;font-size:11px;font-weight:600;color:#6a655d}.select-wrap{position:relative}.select-wrap select,.modal input,.modal select,.modal textarea{width:100%;border:1px solid #d5d1c9;border-radius:5px;background:#fff;padding:10px;outline:none}.select-wrap select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:30px;font-size:12px}.select-wrap svg{position:absolute;right:10px;top:11px;pointer-events:none}.prompt{width:100%;height:125px;resize:none;border:1px solid #d5d1c9;background:#fff;border-radius:5px;padding:11px;font-size:12px;line-height:1.7;outline:none}.temperature{display:flex;justify-content:space-between;margin-top:16px;font-size:11px;color:#6a655d}.ai-pane input[type=range]{width:100%;accent-color:#315b4d}.generate{width:100%;display:flex;justify-content:center;align-items:center;gap:8px;margin-top:18px;padding:11px;border:0;border-radius:6px;background:#213a32;color:#fff;font-weight:600}.quick{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:20px}.quick label{grid-column:1/-1}.quick button{border:1px solid #d5d1c9;border-radius:5px;background:#f8f7f4;padding:8px;font-size:11px}.quick button:hover{background:#fff}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:grid;place-items:center;background:#1f1d1a6b;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal{width:420px;max-height:88vh;overflow:auto;background:#fff;border-radius:8px;padding:22px;box-shadow:0 20px 60px #1c191540}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.modal h2{font-family:"Noto Serif SC";font-size:19px;margin:3px 0}.modal-head p{font-size:11px;color:#8b857d;margin:4px 0}.modal label{display:block;font-size:11px;font-weight:600;margin:13px 0}.modal label input,.modal label select,.modal label textarea{display:block;margin-top:7px;font-size:12px;font-weight:400}.modal textarea{height:80px;resize:none}.full{width:100%;margin-top:17px}.check{display:flex!important;align-items:center;gap:8px}.check input{width:auto!important;margin:0!important}.provider-list{display:flex;gap:6px;overflow:auto;padding-bottom:5px}.provider-list button{border:1px solid #ddd8d0;background:#f7f6f3;border-radius:5px;white-space:nowrap;padding:8px;font-size:11px}.provider-list small{display:block;color:#928b82;margin:4px 0 0 15px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#aaa;margin-right:6px}.dot.on{background:#3f8b69}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1180px){.shell{grid-template-columns:210px minmax(500px,1fr) 280px}.editor-meta,.editor>textarea{padding-left:45px;padding-right:45px}.chapter-title{margin-left:45px;margin-right:45px}}@media(max-width:767px){body{min-width:0}.shell{display:flex;flex-direction:column;height:auto;min-height:100dvh}.shell>header{position:sticky;top:0;height:auto;min-height:56px;padding:8px 10px;flex-wrap:wrap}.brand .tag,.user-chip{display:none}.head-actions{max-width:100%;overflow-x:auto;padding-bottom:2px}.head-actions .text-tool{white-space:nowrap}.library-pane,.ai-pane,.editor{width:100%;min-height:auto;overflow:visible}.library-pane{max-height:42dvh;border-right:0;border-bottom:1px solid #dcd8d0}.editor{min-height:70dvh}.ai-pane{border-left:0;border-top:1px solid #dcd8d0}.editor-meta,.editor>textarea{padding-left:16px;padding-right:16px}.chapter-title{margin-left:16px;margin-right:16px;font-size:25px}.editor-tools{overflow-x:auto;flex-wrap:nowrap;padding-left:12px;padding-right:12px}.editor-tools>*{flex:0 0 auto}.auth-page{display:block;min-height:100dvh}.auth-brand{display:none}.auth-panel{min-height:100dvh;padding:24px}.overlay{padding:12px;align-items:flex-start}.modal,.admin-modal,.model-modal,.serial-modal{width:100%;max-width:none;max-height:calc(100dvh - 24px);overflow:auto}.form-grid{grid-template-columns:1fr!important}.studio-modal{width:100%;height:calc(100dvh - 24px);display:flex;flex-direction:column}.studio-modal>aside{width:100%;display:flex;overflow-x:auto;flex:0 0 auto}.studio-modal>aside button{flex:0 0 auto}.studio-content{min-width:0}.studio-split{grid-template-columns:1fr}.admin-modal table{display:block;overflow-x:auto}.novel-delete,.chapter-delete{opacity:1!important}.quick-library{max-height:none}}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #5b8a78;outline-offset:2px}.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(430px,1.1fr) minmax(430px,.9fr);background:#fff}.auth-brand{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:58px;background:#1f3931;color:#fff;overflow:hidden}.auth-brand:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(145deg,transparent 0 55%,rgba(255,255,255,.035) 55% 72%,transparent 72%)}.brand-lockup,.auth-brand blockquote{position:relative;z-index:1}.brandmark.large{width:48px;height:48px;margin-bottom:18px;background:#f0eee8;color:#1f3931}.brand-lockup h1{font-family:"Noto Serif SC";font-size:42px;margin:0;letter-spacing:0}.brand-lockup p{color:#b9c7c1;margin-top:9px}.auth-brand blockquote{max-width:420px;font-family:"Noto Serif SC";font-size:18px;line-height:1.9;color:#dbe3df;margin:0}.auth-panel{display:grid;place-items:center;padding:48px}.auth-form{width:100%;max-width:390px}.auth-form h2{font-family:"Noto Serif SC";font-size:27px;margin:0 0 8px}.auth-form>div>p{font-size:13px;color:#8a847c;margin:0 0 30px}.auth-form label{display:block;font-size:12px;font-weight:600;margin:17px 0}.auth-form input{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #d8d4cc;border-radius:5px;outline:none}.auth-form input:focus{border-color:#496b60;box-shadow:0 0 0 3px #dce7e240}.auth-submit{height:43px}.auth-error{padding:9px 11px;background:#f9e8e5;color:#9a3f34;border-radius:5px;font-size:12px}.auth-switch{text-align:center;font-size:12px;color:#858078}.auth-switch button{border:0;background:transparent;color:#315d4e;font-weight:600}.user-chip{display:flex;align-items:center;gap:7px;margin:0 3px 0 7px}.user-chip>span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#e2e8e4;color:#315b4d}.user-chip b,.user-chip small{display:block}.user-chip b{font-size:11px}.user-chip small{font-size:9px;color:#938d85;margin-top:2px}.chapter-row{display:flex;align-items:center;border-radius:5px}.chapter-row>button:first-child{flex:1;min-width:0;border:0;background:transparent;text-align:left;padding:9px 10px;font-size:12px;color:#615c55}.chapter-row>button:first-child span{color:#a09a91;margin-right:9px}.chapter-row:hover,.chapter-row.active{background:#dedbd4}.chapter-delete{display:none;border:0;background:transparent;color:#8e655c;padding:7px}.chapter-row:hover .chapter-delete{display:block}.admin-modal{width:720px;padding-bottom:26px}.admin-summary{display:flex;align-items:center;gap:9px;background:#eef3f0;color:#39584e;padding:12px;border-radius:5px;font-size:12px}.admin-summary b{margin-left:auto}.admin-modal table{width:100%;border-collapse:collapse;margin-top:16px}.admin-modal th{text-align:left;padding:9px;border-bottom:1px solid #dedbd4;color:#847e76;font-size:10px;text-transform:uppercase}.admin-modal td{padding:11px 9px;border-bottom:1px solid #eeeae4;font-size:12px}.admin-modal td:first-child{width:55%}.admin-modal td b,.admin-modal td small{display:block}.admin-modal td small{color:#918b83;margin-top:4px}.admin-modal select{padding:6px;border:1px solid #d5d1c9;border-radius:4px;background:#fff;font-size:11px}.switch input{display:none}.switch span{display:block;width:34px;height:19px;border-radius:10px;background:#bbb;position:relative;transition:.2s}.switch span:after{content:"";position:absolute;width:15px;height:15px;left:2px;top:2px;border-radius:50%;background:#fff;transition:.2s}.switch input:checked+span{background:#3d725f}.switch input:checked+span:after{transform:translate(15px)}.switch input:disabled+span{opacity:.45}.modal-head>button{border:1px solid #dedbd4}.library-pane{display:flex;flex-direction:column;min-height:0;background:#f2f0eb}.library-catalog{flex:0 0 auto;padding:15px 12px 10px;border-bottom:1px solid #d9d5cd;background:linear-gradient(160deg,#f8f6f1,#eeece6)}.library-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.library-heading small{font-size:8px;letter-spacing:.18em;color:#9a9389}.library-heading h2{margin:2px 0 0;font-family:"Noto Serif SC";font-size:19px}.library-create{display:flex;align-items:center;gap:5px;min-height:35px;padding:7px 9px;border:0;border-radius:6px;background:#213a32;color:#fff;font-size:11px;font-weight:600}.library-summary{display:flex;gap:18px;margin:12px 0;color:#817a70;font-size:10px}.library-summary b{color:#3b3732;font-size:13px}.library-space{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:6px}.library-space select,.library-space button,.library-filter-row select{min-width:0;height:36px;border:1px solid #d8d3ca;border-radius:6px;background:#fff;padding:0 9px;font-size:11px}.library-space button{display:grid;place-items:center;padding:0}.library-mode-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:10px;padding:3px;border-radius:7px;background:#e5e1d9}.library-mode-tabs button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:32px;border:0;border-radius:5px;background:transparent;color:#777067;font-size:11px}.library-mode-tabs button.active{background:#fff;color:#254c3f;font-weight:600;box-shadow:0 1px 5px #302b2114}.library-mode-tabs span{display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#d8d4cc;font-size:8px}.library-mode-tabs button.active span{background:#dce9e3}.library-filter-row{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:6px;margin-top:8px}.library-search{display:flex;align-items:center;gap:6px;height:36px;padding:0 9px;border:1px solid #d8d3ca;border-radius:6px;background:#fff;color:#969087}.library-search input{min-width:0;width:100%;border:0;background:transparent;outline:0;font-size:11px}.genre-filters{display:flex;gap:5px;margin-top:8px;padding-bottom:2px;overflow-x:auto;scrollbar-width:none}.genre-filters::-webkit-scrollbar{display:none}.genre-filters button{flex:0 0 auto;min-height:28px;padding:5px 8px;border:1px solid #d8d3ca;border-radius:14px;background:#f8f7f4;color:#777068;font-size:9px}.genre-filters button.active{border-color:#587a6e;background:#e5eee9;color:#285344;font-weight:600}.library-result-meta{display:flex;align-items:center;justify-content:space-between;margin-top:7px;color:#999188;font-size:9px}.library-result-meta button{border:0;background:transparent;color:#3a6a59;font-size:9px}.novel-grid{flex:1 1 auto;min-height:120px;padding:7px 8px 12px!important;overflow:auto}.novel-row{margin-bottom:6px;border:1px solid transparent!important}.novel-row:hover,.novel-row.active{border-color:#d5d0c7!important;box-shadow:0 3px 12px #30291e0d}.novel-row .novel{align-items:stretch;min-height:92px;padding:8px 38px 8px 8px!important}.novel .cover{flex:0 0 52px;width:52px;height:76px;border-radius:4px;box-shadow:0 2px 7px #1b171529}.novel-copy{display:flex!important;flex-direction:column;min-width:0;padding:1px 0}.novel-copy b{margin:4px 0 3px;font-family:"Noto Serif SC";font-size:13px!important}.novel-copy small{font-size:9px!important;color:#8b847a}.novel-copy p{display:-webkit-box;margin:5px 0 0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#938c82;font-size:9px;line-height:1.45}.novel-badges{display:flex!important;align-items:center;gap:4px}.novel-badges i,.novel-badges em{padding:2px 5px;border-radius:3px;font-size:8px;font-style:normal;line-height:1.4}.novel-badges i.long_form{background:#e1ebe7;color:#315d4e}.novel-badges i.short_hit{background:#f4e5dd;color:#92533e}.novel-badges em{background:#e9e6e0;color:#6f6961}.chapters{flex:0 0 42%;min-height:180px;overflow:auto;border-top:1px solid #d7d3cb;background:#ebe9e4}.chapters>.pane-title{position:sticky;top:0;z-index:2;background:#ebe9e4}.library-pane>.select-wrap{display:none}@media(min-width:901px){.shell{grid-template-columns:320px minmax(520px,1fr) 310px}}@media(max-width:900px){.library-pane{overflow:hidden!important}.library-catalog{padding:16px 14px 10px}.library-heading h2{font-size:22px}.library-create{min-height:42px;padding:8px 12px}.library-summary{margin:14px 0}.library-space select,.library-space button,.library-filter-row select,.library-search{height:44px;font-size:13px}.library-space{grid-template-columns:minmax(0,1fr) 44px}.library-mode-tabs button{min-height:40px;font-size:12px}.library-filter-row{grid-template-columns:minmax(0,1fr) 100px}.library-search input{font-size:16px}.genre-filters button{min-height:34px;padding:6px 11px;font-size:11px}.novel-grid{min-height:180px}.novel-row .novel{min-height:108px}.novel .cover{flex-basis:62px;width:62px;height:90px}.novel-copy b{font-size:15px!important}.novel-copy small,.novel-copy p{font-size:11px!important}.chapters{flex-basis:40%;min-height:190px}}.mobile-only,.mobile-pane-nav,.mobile-menu,.chapter-reader{display:none}@media(max-width:1100px){html,body,#app{width:100%;height:100%;overflow:hidden}body{min-width:0}.shell{display:grid;grid-template:calc(56px + env(safe-area-inset-top)) minmax(0,1fr) calc(58px + env(safe-area-inset-bottom));width:100%;height:100dvh;min-height:0;overflow:hidden}.shell>header{position:relative;grid-row:1;display:flex;flex-wrap:nowrap;min-width:0;min-height:calc(56px + env(safe-area-inset-top));height:calc(56px + env(safe-area-inset-top));padding:calc(6px + env(safe-area-inset-top)) 8px 6px;z-index:30}.brand{min-width:0}.brand strong{font-size:17px}.brand .tag{display:none}.head-actions{min-width:0;max-width:none;margin-left:auto;overflow:visible;padding:0;gap:6px}.head-actions .primary{min-width:44px;min-height:44px;padding:8px 11px}.head-actions .primary svg+*{display:none}.mobile-hide{display:none!important}.mobile-only{display:grid}.icon-btn,.icon-btn.small{min-width:44px;min-height:44px;width:44px;height:44px}.notice{position:fixed;z-index:100;top:calc(64px + env(safe-area-inset-top));left:12px;right:12px;margin:0;padding:10px 12px;border:1px solid #cbdad4;border-radius:7px;background:#eff7f3;box-shadow:0 8px 24px #1d30282b;text-align:center;color:#315d4e;white-space:normal}.mobile-menu{position:fixed;display:grid;z-index:80;top:calc(56px + env(safe-area-inset-top));right:8px;width:min(230px,calc(100vw - 16px));padding:8px;border:1px solid #ddd8d0;border-radius:8px;background:#fff;box-shadow:0 16px 42px #18161238}.mobile-menu button{display:flex;align-items:center;gap:10px;min-height:46px;padding:9px 11px;border:0;border-radius:6px;background:transparent;text-align:left}.mobile-menu button:active{background:#f0eee9}.mobile-menu button:disabled{opacity:.4}.library-pane,.editor,.ai-pane{display:none!important;grid-row:2;grid-column:1;width:100%;height:100%;min-width:0;min-height:0;border:0;overflow:auto;-webkit-overflow-scrolling:touch}.shell[data-mobile-pane=library] .library-pane{display:flex!important;overflow:hidden!important}.shell[data-mobile-pane=editor] .editor{display:flex!important}.shell[data-mobile-pane=ai] .ai-pane{display:block!important}.library-pane{max-height:none;background:#f3f1ed;padding-bottom:0}.pane-title{height:52px}.select-wrap,.select-wrap select{min-width:0}.novels{padding:0 8px 12px}.novel{min-height:58px}.novel-delete{display:grid!important;opacity:1!important;width:40px;height:40px;right:3px}.novel-row .novel{padding-right:46px}.chapter-row>button:first-child{min-height:48px}.chapter-delete{display:grid!important;opacity:1!important;min-width:42px;min-height:42px}.editor{position:relative;flex-direction:column;overflow:hidden;background:#fff}.editor-meta{flex:0 0 auto;padding:10px 16px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chapter-title{flex:0 0 auto;margin:6px 104px 6px 16px;font-size:24px;line-height:1.35}.chapter-title-display{min-height:38px}.mobile-title-edit{position:absolute;z-index:3;top:45px;right:12px;display:block!important;min-height:36px;padding:6px 8px;border:0;background:transparent;color:#426c5e;font-size:12px}.mobile-reading-toggle{flex:0 0 auto!important;display:flex!important;align-items:center;justify-content:center;gap:6px;align-self:flex-end;min-height:40px;margin:0 12px 7px;padding:7px 11px;border:1px solid #d8d2c8;border-radius:20px;background:#fff;color:#315d4e;font-size:12px}.editor-tools{flex:0 0 auto;display:flex;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;flex-wrap:nowrap;padding:7px 12px}.editor-tools::-webkit-scrollbar{display:none}.editor-tools>*{flex:0 0 auto;min-height:42px}.editor>textarea{flex:1 1 auto;width:100%;min-height:0;padding:16px!important;border:0;resize:none;font-size:16px;line-height:1.85;overflow:auto}.editor>footer{flex:0 0 auto;padding:8px 16px;min-height:36px;background:#faf9f7;border-top:1px solid #ebe7e0}.editor.mobile-reading{background:var(--reader-background)}.editor.mobile-reading .editor-meta{padding-top:18px;text-align:center;color:color-mix(in srgb,var(--reader-text) 62%,transparent)}.editor.mobile-reading .chapter-title{margin:8px 24px 4px;text-align:center;color:var(--reader-text);font-family:"Noto Serif SC",serif;font-size:25px;line-height:1.5}.editor.mobile-reading .mobile-title-edit,.editor.mobile-reading .editor-tools,.editor.mobile-reading>textarea,.editor.mobile-reading>footer{display:none!important}.editor.mobile-reading .mobile-reading-toggle,.reader-settings-toggle{position:absolute;z-index:6;top:8px;min-height:36px;margin:0;padding:7px 10px;border:1px solid color-mix(in srgb,var(--reader-text) 18%,transparent);border-radius:18px;background:color-mix(in srgb,var(--reader-background) 88%,transparent);color:var(--reader-text);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.editor.mobile-reading .mobile-reading-toggle{right:8px}.reader-settings-toggle{left:8px;display:flex!important;align-items:center;gap:5px}.chapter-reader{display:none}.editor.mobile-reading .chapter-reader{display:block;flex:1 1 auto;min-height:0;width:100%;max-width:760px;margin:0 auto;padding:20px clamp(20px,6vw,42px) 80px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:var(--reader-background);color:var(--reader-text);font-family:"Noto Serif SC",Songti SC,STSong,serif;font-size:var(--reader-font-size);font-weight:var(--reader-font-weight);line-height:var(--reader-line-height);letter-spacing:var(--reader-letter-spacing);text-align:justify}.chapter-reader p{margin:0 0 var(--reader-paragraph-spacing);white-space:pre-wrap;overflow-wrap:break-word}.chapter-reader p:not(.chapter-reader-empty){text-indent:2em}.chapter-reader-empty{text-align:center;color:color-mix(in srgb,var(--reader-text) 55%,transparent);font-size:15px}.reader-ending{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:42px;color:color-mix(in srgb,var(--reader-text) 48%,transparent);font-size:12px;letter-spacing:.3em}.reader-ending:before,.reader-ending:after{content:"";width:38px;height:1px;background:currentColor}.reader-page-stage{position:relative;height:100%;min-height:100%;padding-bottom:28px}.reader-page-text{height:100%;white-space:pre-wrap;overflow:hidden;text-indent:2em}.reader-page-number{position:absolute;z-index:3;left:50%;bottom:0;transform:translate(-50%);font:11px Inter,sans-serif;color:color-mix(in srgb,var(--reader-text) 50%,transparent)}.reader-turn{position:absolute;z-index:2;top:0;bottom:0;width:36%;border:0;background:transparent}.reader-turn-prev{left:0}.reader-turn-next{right:0}.reader-turn:disabled{pointer-events:none}.reader-cover .reader-page-text{animation:reader-cover-in .22s ease-out}.reader-slide .reader-page-text{animation:reader-slide-in .25s ease-out}.reader-simulation .reader-page-text{transform-origin:left center;animation:reader-page-in .38s ease-out}.reader-cover .chapter-reader,.reader-slide .chapter-reader,.reader-simulation .chapter-reader{overflow:hidden;padding-bottom:24px}.reader-cover .reader-page-stage,.reader-slide .reader-page-stage,.reader-simulation .reader-page-stage{height:100%}.reader-cover .reader-turn-next:active{background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--reader-text) 8%,transparent))}.reader-cover .reader-turn-prev:active{background:linear-gradient(270deg,transparent,color-mix(in srgb,var(--reader-text) 8%,transparent))}.reader-settings{position:absolute;z-index:20;left:0;right:0;bottom:0;display:block!important;max-height:min(72dvh,620px);padding:14px 16px calc(18px + env(safe-area-inset-bottom));overflow:auto;border-radius:18px 18px 0 0;background:#fff;color:#282521;box-shadow:0 -14px 44px #1118}.reader-settings header{display:flex;align-items:center;justify-content:space-between}.reader-settings header button{display:grid;place-items:center;width:40px;height:40px;border:0;background:transparent}.reader-settings>label{display:block;margin:13px 0 6px;font-size:12px;font-weight:600}.reader-settings>label b{float:right}.reader-settings input[type=range]{display:block;width:100%;height:32px}.reader-mode-options,.reader-theme-options{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.reader-mode-options button,.reader-theme-options button{min-height:42px;padding:6px;border:1px solid #ddd7ce;border-radius:7px;background:#f8f7f4;font-size:11px}.reader-mode-options button.active{border-color:#315d4e;background:#e7f0ec;color:#234d3f;font-weight:600}.reader-theme-options{grid-template-columns:repeat(3,1fr)}.reader-theme-options button{box-shadow:inset 0 0 0 1px #0001}.reader-setting-row,.reader-color-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;font-size:12px;font-weight:600}.reader-setting-row select{min-width:120px;min-height:42px;border:1px solid #d8d2ca;border-radius:6px;background:#fff;padding:7px}.reader-color-row label{display:flex;align-items:center;justify-content:space-between;flex:1;gap:8px}.reader-color-row input{width:48px;height:40px;padding:2px;border:1px solid #d8d2ca;border-radius:6px;background:#fff}.blank{min-height:100%;padding:24px}@keyframes reader-cover-in{0%{opacity:.2}to{opacity:1}}@keyframes reader-slide-in{0%{transform:translate(22%);opacity:.3}to{transform:translate(0);opacity:1}}@keyframes reader-page-in{0%{transform:perspective(900px) rotateY(-17deg);opacity:.35}to{transform:perspective(900px) rotateY(0);opacity:1}}.ai-pane{padding:16px 14px calc(28px + env(safe-area-inset-bottom));background:#f5f3ef}.ai-title{margin-bottom:16px}.ai-pane>label{margin-top:14px}.ai-pane select,.ai-pane textarea,.ai-pane input:not([type=range]){font-size:16px;min-height:44px}.ai-pane textarea.prompt{min-height:130px}.generate{min-height:50px;position:sticky;bottom:0;z-index:2}.quick-library{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.quick-library button{min-height:44px;white-space:normal;line-height:1.3}.mobile-pane-nav{grid-row:3;grid-column:1;display:grid;grid-template-columns:repeat(3,1fr);z-index:40;padding:4px 8px calc(4px + env(safe-area-inset-bottom));border-top:1px solid #d9d5ce;background:#fff}.mobile-pane-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:50px;border:0;border-radius:7px;background:transparent;color:#77716a;font-size:10px}.mobile-pane-nav button.active{background:#e9f0ed;color:#245544;font-weight:600}.auth-page{display:block!important;grid-template-columns:none!important;width:100%;height:100dvh;min-height:100dvh;overflow:auto}.auth-brand{display:none!important}.auth-panel{display:grid!important;width:100%;min-height:100dvh;padding:24px 16px!important}.auth-form{max-width:420px}.auth-form input{min-height:48px;font-size:16px}.auth-submit{min-height:48px}.overlay{align-items:stretch!important;padding:0!important;z-index:90}.modal,.admin-modal,.model-modal,.serial-modal{width:100%!important;max-width:none!important;height:100dvh!important;max-height:none!important;margin:0!important;padding:16px!important;padding-top:max(16px,env(safe-area-inset-top))!important;padding-bottom:max(16px,env(safe-area-inset-bottom))!important;border-radius:0!important;overflow:auto!important;overscroll-behavior:contain}.modal-head,.studio-head{position:sticky;top:-16px;z-index:5;margin-left:-4px;margin-right:-4px;padding:12px 4px;background:#fff}.modal-head>div,.studio-head>div{min-width:0}.modal-head h2,.studio-head h2{font-size:19px}.modal input,.modal textarea,.modal select,.studio-modal input,.studio-modal textarea,.studio-modal select{font-size:16px!important;min-height:44px}.form-grid{grid-template-columns:1fr!important}.studio-actions{display:flex;flex-wrap:wrap}.studio-actions button{min-height:44px}.studio-actions .primary{flex:1 1 160px}.admin-modal table{display:block!important;width:100%;min-width:0;overflow-x:auto}.admin-modal th,.admin-modal td{min-width:140px}.admin-modal th:first-child,.admin-modal td:first-child{min-width:210px}.studio-modal{display:flex!important;flex-direction:column;width:100%!important;height:100dvh!important;border-radius:0!important}.studio-modal>aside{display:flex;width:100%;min-height:calc(58px + env(safe-area-inset-top));padding:calc(8px + env(safe-area-inset-top)) 8px 8px;overflow-x:auto;flex:0 0 auto;scroll-snap-type:x proximity}.studio-modal>aside>div{display:none}.studio-modal>aside button{flex:0 0 auto;min-height:44px;margin:0 2px;scroll-snap-align:start}.studio-content{flex:1;min-height:0;padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom));overflow:auto}.studio-split{grid-template-columns:1fr!important}.studio-form{max-width:none}.studio-form textarea{height:auto;min-height:110px}.resource-list{max-height:none}.resource-list button{min-height:50px}.resource-list button>span{opacity:1!important;display:grid!important;min-width:40px;min-height:40px;place-items:center}.cover-setting{grid-template-columns:76px minmax(0,1fr);gap:12px;padding:12px}.cover-preview{width:76px}.cover-actions{flex-wrap:wrap}.cover-actions>*{min-height:44px}.serial-form textarea{height:auto;min-height:110px}.job-list{max-height:none;overflow:visible}.job-head{align-items:flex-start;gap:8px;flex-wrap:wrap}.job-head>div:first-child{min-width:0;flex:1 1 180px}.job-controls{margin-left:auto}.job-controls button{width:44px;height:44px}.job-error{overflow-wrap:anywhere}.history-list article{min-width:0}.history-list article header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:start!important;height:auto!important;padding:0!important;gap:6px}.history-list article header>b{min-width:0;white-space:normal;overflow-wrap:anywhere}.history-time{grid-column:1/-1;white-space:normal}.history-list article header>button{min-width:44px;min-height:44px}.history-list pre,.history-list p{white-space:pre-wrap;overflow-wrap:anywhere}.history-error{max-height:none!important}.creation-modes,.word-range{grid-template-columns:1fr}.creation-modes button{min-height:58px}.bootstrap-options label{font-size:13px}.cover-upload input{font-size:1px!important;min-height:1px!important}.model-picker{grid-template-columns:minmax(0,1fr) 44px}.model-picker .icon-btn,.danger-button{width:44px!important;height:44px!important}.studio-actions{overflow-x:auto}.studio-actions>.text-tool{flex:0 0 auto}.modal textarea[style*="height: 420px"]{height:clamp(220px,38dvh,340px)!important}.modal textarea[style*="min-height: 260px"]{min-height:clamp(190px,34dvh,280px)!important}}@media(max-width:374px){.brandmark{display:none}.head-actions .primary{font-size:0}.head-actions .primary svg{margin:0}.quick-library,.cover-setting{grid-template-columns:1fr}.cover-preview{width:92px}.modal,.admin-modal,.model-modal,.serial-modal{padding-left:12px!important;padding-right:12px!important}}@media(max-width:900px){.reader-fullscreen-toggle{position:absolute;z-index:6;right:8px;top:50px;display:block!important;min-height:34px;padding:6px 11px;border:1px solid color-mix(in srgb,var(--reader-text) 18%,transparent);border-radius:17px;background:color-mix(in srgb,var(--reader-background) 88%,transparent);color:var(--reader-text);font-size:12px}body.reader-lock .shell>header,body.reader-lock .mobile-pane-nav{display:none!important}.editor.reader-fullscreen,.editor.reader-fullscreen-fallback{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;display:flex!important;width:100vw!important;height:100dvh!important;max-width:none!important;z-index:1000!important;margin:0!important;background:var(--reader-background)!important}.editor.reader-fullscreen .editor-meta,.editor.reader-fullscreen .chapter-title,.editor.reader-fullscreen .mobile-title-edit,.editor.reader-fullscreen .mobile-reading-toggle,.editor.reader-fullscreen .reader-settings-toggle,.editor.reader-fullscreen .reader-fullscreen-toggle,.editor.reader-fullscreen .reader-settings,.editor.reader-fullscreen>textarea,.editor.reader-fullscreen>.editor-tools,.editor.reader-fullscreen>footer{display:none!important}.editor.reader-fullscreen .chapter-reader{display:block!important;flex:1!important;width:100%!important;max-width:820px!important;height:100%!important;margin:0 auto!important;padding:calc(26px + env(safe-area-inset-top)) clamp(22px,7vw,58px) calc(34px + env(safe-area-inset-bottom))!important;background:var(--reader-background)!important}.editor.reader-fullscreen.reader-cover .chapter-reader,.editor.reader-fullscreen.reader-slide .chapter-reader,.editor.reader-fullscreen.reader-simulation .chapter-reader{overflow:hidden!important}.editor.reader-fullscreen.reader-scroll .chapter-reader{overflow-y:auto!important}.reader-exit-fullscreen{position:fixed!important;z-index:1010!important;top:max(2px,env(safe-area-inset-top))!important;left:50%!important;display:block!important;width:96px!important;height:38px!important;min-height:38px!important;transform:translate(-50%)!important;border:0!important;background:transparent!important;opacity:0!important}.reader-exit-fullscreen span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}}.editor-tools{display:flex!important;flex:0 0 auto!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;width:100%!important;min-width:0!important;max-height:48px!important;padding:7px 12px!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c5c0b7 transparent}.editor-tools>.text-tool{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;min-width:max-content!important;min-height:32px!important;margin:0!important;padding:6px 9px!important;white-space:nowrap!important}.editor-tools::-webkit-scrollbar{height:5px}.editor-tools::-webkit-scrollbar-thumb{border-radius:3px;background:#c5c0b7}@media(min-width:901px)and (max-width:1100px){.library-pane{overflow:hidden!important}.library-catalog{padding:18px clamp(18px,4vw,36px) 12px}.novels,.chapters{padding-left:clamp(18px,4vw,36px);padding-right:clamp(18px,4vw,36px)}.novel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor.mobile-reading .chapter-title{max-width:760px;margin-left:auto;margin-right:auto;font-size:30px}.editor.mobile-reading .chapter-reader{max-width:860px;padding-left:clamp(44px,9vw,96px)!important;padding-right:clamp(44px,9vw,96px)!important}.editor.mobile-reading .reader-settings{width:min(420px,calc(100vw - 32px));left:16px;right:auto}.reader-fullscreen-toggle{position:absolute;z-index:6;top:54px;right:12px;display:block!important;min-height:36px;padding:7px 12px;border:1px solid color-mix(in srgb,var(--reader-text) 18%,transparent);border-radius:18px;background:color-mix(in srgb,var(--reader-background) 90%,transparent);color:var(--reader-text)}}@media(min-width:1101px)and (max-width:1440px){body{min-width:1024px}.shell{grid-template-columns:270px minmax(460px,1fr) 270px}.shell.is-reading{grid-template-columns:1fr}.shell.is-reading .library-pane,.shell.is-reading .ai-pane{display:none}.shell.is-reading .editor{grid-column:1;min-width:0;background:var(--reader-background)}.editor .mobile-reading-toggle{position:absolute;z-index:7;top:10px;right:14px;display:flex!important;align-items:center;gap:6px;min-height:38px;padding:7px 12px;border:1px solid #d8d2c8;border-radius:20px;background:#fff;color:#315d4e;font-size:12px}.editor-tools{display:flex;flex:0 0 auto;flex-wrap:nowrap;align-items:center;gap:6px;min-width:0;padding:7px 12px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c5c0b7 transparent}.editor-tools>*{flex:0 0 auto;width:auto;min-height:32px;padding:6px 9px;white-space:nowrap}.editor-tools::-webkit-scrollbar{height:5px}.editor-tools::-webkit-scrollbar-thumb{border-radius:3px;background:#c5c0b7}.editor.mobile-reading .editor-meta{padding-top:22px;text-align:center;color:color-mix(in srgb,var(--reader-text) 62%,transparent)}.editor.mobile-reading .chapter-title{max-width:760px;margin:8px auto 4px;text-align:center;color:var(--reader-text);font-family:"Noto Serif SC",serif;font-size:30px}.editor.mobile-reading .mobile-title-edit,.editor.mobile-reading .editor-tools,.editor.mobile-reading>textarea,.editor.mobile-reading>footer{display:none!important}.editor.mobile-reading .chapter-reader{display:block;flex:1;width:min(860px,100%);min-height:0;margin:0 auto;padding:28px clamp(54px,8vw,104px) 48px;overflow:auto;background:var(--reader-background);color:var(--reader-text);font-family:"Noto Serif SC",serif;font-size:var(--reader-font-size);font-weight:var(--reader-font-weight);letter-spacing:var(--reader-letter-spacing);line-height:var(--reader-line-height)}.editor.mobile-reading .chapter-reader p{margin:0 0 var(--reader-paragraph-spacing);text-indent:2em}.editor.mobile-reading .mobile-reading-toggle,.editor.mobile-reading .reader-settings-toggle,.editor.mobile-reading .reader-fullscreen-toggle{position:fixed;z-index:7;display:flex!important;align-items:center;gap:6px;min-height:38px;padding:7px 12px;border:1px solid color-mix(in srgb,var(--reader-text) 18%,transparent);border-radius:20px;background:color-mix(in srgb,var(--reader-background) 90%,transparent);color:var(--reader-text)}.editor.mobile-reading .mobile-reading-toggle{top:72px;right:18px}.editor.mobile-reading .reader-settings-toggle{top:72px;left:18px}.editor.mobile-reading .reader-fullscreen-toggle{top:118px;right:18px}.editor.mobile-reading .reader-settings{position:fixed;z-index:8;top:118px;left:18px;display:block!important;width:min(380px,calc(100vw - 36px));max-height:calc(100dvh - 136px);padding:16px;overflow:auto;border:1px solid color-mix(in srgb,var(--reader-text) 16%,transparent);border-radius:10px;background:var(--reader-background);box-shadow:0 16px 45px #0002;color:var(--reader-text)}}@media(min-width:901px)and (max-width:1440px){body.reader-lock .shell>header,body.reader-lock .mobile-pane-nav{display:none!important}.editor.reader-fullscreen,.editor.reader-fullscreen-fallback{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;z-index:1000!important;display:flex!important;width:100vw!important;max-width:none!important;height:100dvh!important;margin:0!important;background:var(--reader-background)!important}.editor.reader-fullscreen .editor-meta,.editor.reader-fullscreen .chapter-title,.editor.reader-fullscreen .mobile-title-edit,.editor.reader-fullscreen .mobile-reading-toggle,.editor.reader-fullscreen .reader-settings-toggle,.editor.reader-fullscreen .reader-fullscreen-toggle,.editor.reader-fullscreen .reader-settings,.editor.reader-fullscreen>textarea,.editor.reader-fullscreen>.editor-tools,.editor.reader-fullscreen>footer{display:none!important}.editor.reader-fullscreen .chapter-reader{display:block!important;flex:1!important;width:100%!important;max-width:900px!important;height:100%!important;margin:0 auto!important;padding:calc(34px + env(safe-area-inset-top)) clamp(52px,9vw,112px) calc(44px + env(safe-area-inset-bottom))!important;overflow-y:auto!important;background:var(--reader-background)!important}.editor.reader-fullscreen.reader-cover .chapter-reader,.editor.reader-fullscreen.reader-slide .chapter-reader,.editor.reader-fullscreen.reader-simulation .chapter-reader{overflow:hidden!important}.reader-exit-fullscreen{position:fixed!important;z-index:1010!important;top:max(2px,env(safe-area-inset-top))!important;left:50%!important;display:block!important;width:96px!important;height:38px!important;transform:translate(-50%)!important;border:1px solid color-mix(in srgb,var(--reader-text) 18%,transparent)!important;border-top:0!important;border-radius:0 0 18px 18px!important;background:color-mix(in srgb,var(--reader-background) 92%,transparent)!important;color:var(--reader-text)!important;box-shadow:0 4px 16px #00000012!important;font-size:12px!important}.reader-exit-fullscreen span{display:block!important}}
