:root{--bg: #f4f6f9;--surface: #ffffff;--surface-soft: #f3f5f8;--surface-sunken: #eaeef3;--border: #e7eaef;--border-strong: #d6dbe3;--text: #1b1f27;--text-muted: #6a7480;--text-subtle: #98a2ae;--primary: #15a07a;--primary-strong: #0f8767;--primary-soft: #e6f6f0;--primary-ring: rgba(21, 160, 122, .16);--success: #16a34a;--success-soft: #e7f7ec;--info: #2f6fed;--info-soft: #e8effd;--warning: #d98a09;--warning-soft: #fbf1dd;--danger: #e0453a;--danger-soft: #fde9e7;--accent: #e0654a;--side-bg: #ffffff;--radius-sm: 8px;--radius: 12px;--radius-lg: 16px;--shadow-sm: 0 1px 2px rgba(20, 30, 45, .05), 0 1px 3px rgba(20, 30, 45, .04);--shadow: 0 4px 16px rgba(20, 30, 45, .08);--shadow-lg: 0 18px 48px rgba(20, 30, 45, .16)}[data-theme=dark]{--bg: #13151a;--surface: #1b1e25;--surface-soft: #22262e;--surface-sunken: #272c35;--border: #2b313b;--border-strong: #3a414d;--text: #e7e9ee;--text-muted: #9aa3b0;--text-subtle: #717b89;--primary: #26b88f;--primary-strong: #1f9c79;--primary-soft: #16302a;--primary-ring: rgba(38, 184, 143, .24);--success: #34c46e;--success-soft: #15301f;--info: #5b8df0;--info-soft: #172338;--warning: #e0a23a;--warning-soft: #322713;--danger: #f0635a;--danger-soft: #341c1b;--side-bg: #171a20;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);--shadow: 0 6px 20px rgba(0, 0, 0, .36);--shadow-lg: 0 20px 50px rgba(0, 0, 0, .5)}*{box-sizing:border-box}html,body,#app{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:Microsoft YaHei,Segoe UI,system-ui,Arial,sans-serif;font-size:14px;overflow:hidden;transition:background .2s,color .2s}h1,h2,h3,p{margin:0}button{cursor:pointer;font:inherit}button:disabled{cursor:not-allowed;opacity:.55}input,select,textarea{width:100%;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);outline:none;font:inherit;transition:border-color .15s,box-shadow .15s}input,select{height:38px;padding:0 12px}textarea{padding:12px;line-height:1.72;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-ring)}input[type=checkbox]{width:auto;height:auto;accent-color:var(--primary)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:6px;border:3px solid transparent;background-clip:padding-box}::-webkit-scrollbar-track{background:transparent}.muted{color:var(--text-muted);font-size:13px}.versionNotes{margin-top:12px;white-space:pre-wrap;line-height:1.6}.btn{height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 16px;border:1px solid transparent;border-radius:var(--radius-sm);font-size:14px;font-weight:600;transition:.15s}.btnPrimary{background:var(--primary);color:#fff}.btnPrimary:hover{background:var(--primary-strong)}.btnGhost{background:var(--surface);border-color:var(--border);color:var(--text)}.btnGhost:hover{background:var(--surface-soft)}.btnSm{height:32px;padding:0 12px;font-size:13px}.btnBlock{width:100%}.iconBtn{width:38px;height:38px;display:inline-grid;place-items:center;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-muted);transition:.15s}.iconBtn:hover{background:var(--surface-soft);color:var(--text)}.iconBtn.ghost{border-color:transparent;background:transparent}.iconBtn.ghost:hover{background:var(--surface-soft)}.field{display:grid;gap:6px;margin-bottom:14px}.field>span{font-size:13px;font-weight:600;color:var(--text-muted)}.fieldRow{display:grid;grid-template-columns:1fr 1fr;gap:12px}.switchLine{display:flex;align-items:center;justify-content:space-between;padding:4px 0}.switchLine span{font-size:13px;font-weight:600;color:var(--text-muted)}.segGroup{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;padding:4px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-soft)}.segItem{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:42px;border:0;border-radius:7px;background:transparent;color:var(--text-muted);font-size:13px;font-weight:600}.segItem.active{background:var(--surface);color:var(--primary);box-shadow:var(--shadow-sm)}.segItem small{font-size:11px;font-weight:500;color:var(--text-subtle)}.segItem.active small{color:var(--primary)}.segGroup.small{display:inline-flex;padding:3px}.segGroup.small .segItem{min-height:28px;flex-direction:row;padding:0 12px;font-size:12px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:18px}.cardTitle{font-size:15px;font-weight:700;margin-bottom:14px}.cardHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.cardHead .cardTitle{margin-bottom:0}.cardHeadActions{display:flex;gap:8px}.cardFootActions{display:flex;gap:10px;margin:6px 0}.pageStack{display:flex;flex-direction:column;gap:16px}.pill{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:600}.pillDot{width:6px;height:6px;border-radius:50%;background:currentColor}.pill-wait{background:var(--surface-sunken);color:var(--text-muted)}.pill-info{background:var(--info-soft);color:var(--info)}.pill-success{background:var(--success-soft);color:var(--success)}.pill-danger{background:var(--danger-soft);color:var(--danger)}.emptyState{display:flex;flex-direction:column;align-items:center;gap:10px;padding:46px 20px;text-align:center}.emptyIcon{width:56px;height:56px;display:grid;place-items:center;border-radius:50%;background:var(--surface-soft);color:var(--text-subtle)}.emptyState strong{font-size:15px}.emptyState p{color:var(--text-muted);font-size:13px}.emptyAction{margin-top:6px}.statRow{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.statCard{display:flex;flex-direction:column;gap:6px;padding:16px 18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.statLabel{font-size:13px;color:var(--text-muted)}.statValue{font-size:26px;font-weight:800}.statValue.success{color:var(--success)}.statValue.danger{color:var(--danger)}.app{height:100%;display:grid;grid-template-columns:240px minmax(0,1fr);background:var(--bg)}.side{display:flex;flex-direction:column;padding:18px 14px;background:var(--side-bg);border-right:1px solid var(--border)}.sideBrand{display:flex;align-items:center;gap:11px;padding:6px 8px 22px}.sideBrandMark{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,var(--primary),var(--primary-strong));color:#fff;font-weight:800}.sideBrandText strong{display:block;font-size:15px}.sideBrandText span{font-size:11px;color:var(--text-subtle)}.sideNav{display:grid;gap:4px}.sideNavBtn{height:42px;display:flex;align-items:center;gap:11px;padding:0 12px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text-muted);font-weight:600;text-align:left}.sideNavIcon{position:relative;display:inline-flex;align-items:center;justify-content:center}.sideNavText{min-width:0}.navBadge{position:absolute;top:-9px;right:-12px;min-width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid var(--side-bg);border-radius:999px;background:var(--danger);color:#fff;font-size:10px;font-style:normal;font-weight:800;line-height:1}.sideNavBtn:hover{background:var(--surface-soft);color:var(--text)}.sideNavBtn.active{background:var(--primary-soft);color:var(--primary)}.sideFoot{margin-top:auto;display:flex;flex-direction:column;gap:10px}.userCard{display:flex;align-items:center;gap:10px;padding:10px;border-radius:var(--radius-sm);background:var(--surface-soft)}.userAvatar{width:34px;height:34px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:var(--primary);color:#fff;font-weight:700}.userMeta{flex:1;min-width:0;display:flex;flex-direction:column}.userName{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.userCredits{font-size:11px;color:var(--text-muted)}.userCredits.lowCredits{color:var(--danger)}.connRow{display:flex;align-items:center;gap:8px;padding:0 4px;font-size:11px;color:var(--text-subtle)}.connDot{width:7px;height:7px;border-radius:50%;background:var(--warning)}.connDot.on{background:var(--success)}.workspace{min-width:0;height:100%;display:flex;flex-direction:column;overflow:hidden}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 24px}.topbarHead h1{font-size:22px;line-height:1.2}.topbarHead p{margin-top:4px;font-size:13px;color:var(--text-muted)}.topbarActions{display:flex;align-items:center;gap:10px}.updateBadge{height:32px;padding:0 12px;border:1px solid rgba(21,160,122,.28);border-radius:8px;background:#15a07a1a;color:var(--primary);font:inherit;font-size:13px;font-weight:700}.updateBadge:hover{border-color:var(--primary);background:#15a07a29}.noticeBadge{height:32px;padding:0 12px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font:inherit;font-size:13px;font-weight:700}.noticeBadge:hover{border-color:var(--primary);color:var(--primary)}.canvas{flex:1;overflow:auto;padding:4px 24px 24px}.createLayout{display:grid;grid-template-columns:300px minmax(0,1fr) 282px;gap:16px;align-items:start}.platformGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}.platformCard{display:flex;align-items:center;gap:9px;padding:9px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-soft);color:var(--text);text-align:left}.platformCard.active{border-color:var(--primary);background:var(--primary-soft)}.platformLogo{width:34px;height:34px;flex:0 0 auto;display:grid;place-items:center;border-radius:9px;background:var(--surface);overflow:hidden;font-size:11px;font-weight:800}.platformLogo img{width:100%;height:100%;object-fit:cover}.platformLogo i{width:100%;height:100%;display:grid;place-items:center;background:var(--primary);color:#fff;font-style:normal}.platformCard strong{font-size:13px}.inputCard{display:flex;flex-direction:column;min-height:520px}.bigInput{flex:1;min-height:360px;margin-bottom:14px}.inputFoot{display:flex;align-items:center;justify-content:space-between;gap:12px}.infoCard{display:flex;flex-direction:column;gap:16px}.trackBox{padding:13px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-soft)}.trackTop{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.trackTop strong{font-size:13px}.trackBox .progressBar{margin-bottom:8px}.trackIdle{display:flex;align-items:center;gap:9px;color:var(--text-muted);font-size:13px}.infoBlock{display:flex;flex-direction:column;gap:8px}.infoLabel{font-size:12px;font-weight:700;color:var(--text-subtle)}.infoHint{font-size:13px;color:var(--text-muted);line-height:1.6}.recentList{display:flex;flex-direction:column;gap:8px}.recentItem{display:flex;flex-direction:column;gap:3px;padding:10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);text-align:left;color:var(--text)}.recentItem:hover{border-color:var(--primary)}.recentItem strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recentItem span{font-size:11px;color:var(--text-subtle)}.progressBar{height:7px;border-radius:999px;background:var(--surface-sunken);overflow:hidden}.progressBar i{display:block;height:100%;border-radius:inherit;background:var(--primary);transition:width .3s}.progressBar.slim{height:5px}.taskList{display:flex;flex-direction:column;gap:10px}.taskItem{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-soft)}.taskMain{min-width:0;display:flex;flex-direction:column;gap:5px}.taskMain strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.taskError{font-size:12px;color:var(--danger)}.taskSide{flex:0 0 auto;width:160px;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.taskSide .progressBar{width:100%}.taskActions{display:flex;justify-content:flex-end;min-height:32px}.taskActions .btn{min-width:64px}.searchBox{max-width:280px}.libraryCount{color:var(--text-muted);font-size:12px}.libraryToolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-2px 0 16px}.libraryToolbar .searchBox{flex:1 1 260px;max-width:none}.libraryControl{flex:0 0 auto;min-width:150px;display:flex;align-items:center;gap:7px;padding:0 10px;height:36px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.libraryControl span{color:var(--text-subtle);font-size:12px;white-space:nowrap}.libraryControl select{min-width:0;height:30px;padding:0 24px 0 0;border:0;background-color:transparent;color:var(--text);font-size:13px}.libraryBatchBar{min-height:42px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-6px 0 16px;padding:9px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-soft)}.libraryBatchBar span{color:var(--text-muted);font-size:12px}.libGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}.libCard{position:relative;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:var(--surface);cursor:pointer;transition:transform .15s,box-shadow .15s}.libCard.selected{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.libCard.dirty{border-color:var(--warning)}.libCard:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.libSelect{position:absolute;z-index:2;right:8px;top:8px;width:26px;height:26px;display:grid;place-items:center;border-radius:7px;background:#ffffffeb;box-shadow:var(--shadow);cursor:pointer}.libSelect input{width:15px;height:15px;accent-color:var(--primary)}.libCover{position:relative;aspect-ratio:16 / 10;background:var(--surface-soft)}.libCover img{width:100%;height:100%;object-fit:cover}.libCoverFallback{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:var(--text-subtle);font-weight:700}.libBadge{position:absolute;left:8px;top:8px;height:22px;padding:0 9px;display:inline-flex;align-items:center;border-radius:999px;background:#0000008c;color:#fff;font-size:11px}.dirtyBadge{position:absolute;left:8px;bottom:8px;height:22px;padding:0 9px;display:inline-flex;align-items:center;border-radius:999px;background:var(--warning);color:#fff;font-size:11px;font-weight:700}.libBody{padding:12px}.libTitleRow{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.libTitleRow strong{min-width:0;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.publishBadge{flex:0 0 auto;height:21px;padding:0 7px;display:inline-flex;align-items:center;border:0;border-radius:999px;font-size:11px;font-weight:700;cursor:pointer}.publishBadge.ready{background:var(--success-soft);color:var(--success)}.publishBadge.needs-work{background:var(--danger-soft);color:var(--danger)}.libMeta{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.libMeta time{font-size:11px;color:var(--text-subtle)}.tag{height:20px;padding:0 8px;display:inline-flex;align-items:center;border-radius:6px;background:var(--surface-sunken);color:var(--text-muted);font-size:11px}.publishMeta{display:flex;align-items:center;gap:8px;min-height:18px;margin-top:8px;color:var(--text-subtle);font-size:11px;white-space:nowrap;overflow:hidden}.publishIssues{margin-top:6px;color:var(--danger);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.publishOverlay{z-index:90}.publishDialog{width:min(620px,94vw);max-height:min(82vh,680px);display:flex;flex-direction:column;overflow:hidden;border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-lg)}.publishDialogHead{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--border)}.publishDialogHead strong{display:block;font-size:16px}.publishDialogHead span{display:block;margin-top:4px;color:var(--text-muted);font-size:12px}.publishDialogBody{flex:1;min-height:0;overflow:auto;padding:16px 18px}.publishStats{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.publishStats span{height:24px;padding:0 9px;display:inline-flex;align-items:center;border-radius:999px;background:var(--surface-sunken);color:var(--text-muted);font-size:12px}.publishDialogBody section{padding:12px 0;border-top:1px solid var(--border)}.publishDialogBody h3{margin:0 0 8px;font-size:13px}.publishDialogBody ul{margin:0;padding-left:18px;color:var(--text);font-size:13px;line-height:1.8}.publishDialogBody p{margin:0;color:var(--text-muted);font-size:13px}.publishDialogFoot{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:12px 18px;border-top:1px solid var(--border);background:var(--surface-soft)}.modalOverlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f162080;display:flex;align-items:center;justify-content:center;padding:24px;z-index:60}.editorCard{width:min(1000px,95vw);height:min(86vh,760px);display:flex;flex-direction:column;overflow:hidden;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-lg)}.editorBar{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border)}.editorTitleInput{flex:1;min-width:180px;height:40px;font-size:15px;font-weight:600;border-color:transparent;background:var(--surface-soft)}.editorImageButton{flex:0 0 auto}.editorBody{flex:1;display:grid;overflow:hidden}.editorBody.split{grid-template-columns:1fr 1fr}.editorPane{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:var(--surface)}.editorBody.split .previewPane{border-left:1px solid var(--border)}.paneLabel{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;border-bottom:1px solid var(--border);background:var(--surface-soft)}.paneLabel span{color:var(--text);font-size:13px;font-weight:800}.paneLabel small{min-width:0;color:var(--text-subtle);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editorArea{flex:1;min-height:0;border:0;border-radius:0;background:var(--surface);padding:18px;line-height:1.8;resize:none}.mdPreview{flex:1;min-height:0;overflow:auto;padding:20px 24px;background:var(--surface);line-height:1.85;font-size:15px;color:var(--text)}.mdPreview h2,.mdPreview h3,.mdPreview h4{margin:20px 0 10px;line-height:1.35}.mdPreview h2{font-size:20px}.mdPreview h3{font-size:17px}.mdPreview h4{font-size:15px}.mdPreview p{margin:11px 0}.mdPreview strong{font-weight:700}.mdPreview img{display:block;max-width:100%;margin:14px 0;border-radius:var(--radius-sm)}.editorFoot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid var(--border);background:var(--surface-soft)}.footLeft{display:flex;gap:8px;flex-wrap:wrap}.imageGalleryOverlay{z-index:85}.imageGalleryCard{width:min(1040px,94vw);height:min(82vh,760px);display:flex;flex-direction:column;overflow:hidden;border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-lg)}.imageGalleryHead{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border-bottom:1px solid var(--border)}.imageGalleryHead strong{display:block;font-size:16px}.imageGalleryHead span{display:block;margin-top:3px;color:var(--text-muted);font-size:12px}.imageGalleryActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.dangerText{color:var(--danger)}.imageGalleryBody{position:relative;flex:1;min-height:0;display:grid;place-items:center;overflow:hidden;padding:20px 76px;background:#101827}.imageGalleryFigure{width:100%;height:100%;min-width:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px;margin:0}.imageGalleryFigure img{width:100%;height:100%;min-height:0;object-fit:contain;border-radius:var(--radius-sm);background:#fff}.imageGalleryFigure figcaption{display:flex;justify-content:center;gap:10px;min-width:0;color:#dbe4f0;font-size:13px}.imageGalleryFigure figcaption span{overflow:hidden;color:#9aa8bc;text-overflow:ellipsis;white-space:nowrap}.imageSwitch{position:absolute;top:50%;width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:#ffffff1a;color:#fff;transform:translateY(-50%)}.imageSwitch.left{left:18px}.imageSwitch.right{right:18px}.imageSwitch:disabled{opacity:.35;cursor:not-allowed}.imageSwitch:not(:disabled):hover{background:#ffffff2e}.imageGalleryEmpty{color:#cbd5e1;font-size:14px}.wechatOverlay{z-index:80}.wechatCard{width:min(760px,94vw);max-height:min(86vh,720px);display:flex;flex-direction:column;overflow:hidden;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-lg)}.wechatHead{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--border);background:var(--surface)}.wechatHead strong{display:block;font-size:17px;line-height:1.4}.wechatHead span{display:block;margin-top:2px;color:var(--text-muted);font-size:12px}.wechatBody{flex:1;min-height:0;overflow:auto;display:grid;gap:12px;padding:14px;background:var(--surface-soft)}.wechatSection{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.paneLabel.inline{min-height:36px}.wechatAccountList{display:grid;gap:8px;padding:12px}.wechatAccount{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer}.wechatAccount:has(input:checked){border-color:var(--primary);background:var(--surface-soft)}.wechatAccount input{width:16px;height:16px}.wechatAccount strong{display:block;font-size:13px}.wechatAccount small{display:block;margin-top:2px;color:var(--text-subtle);font-size:12px;word-break:break-all}.wechatEmpty{padding:18px;color:var(--text-muted);font-size:13px}.wechatFormGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:10px;padding:12px}.wechatFormGrid.single{grid-template-columns:minmax(0,280px)}.wechatFormGrid label{display:grid;gap:6px}.wechatFormGrid label span{color:var(--text-muted);font-size:12px;font-weight:700}.wechatFormGrid input{width:100%;height:38px}.wechatError{margin:0;padding:10px 12px;border:1px solid rgba(220,38,38,.22);border-radius:var(--radius-sm);background:#dc262614;color:#b42318;font-size:13px}.wechatFoot{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 16px;border-top:1px solid var(--border);background:var(--surface)}.hotGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.hotCard{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);overflow:hidden}.hotCardHead{padding:12px 14px;font-size:14px;font-weight:700;border-bottom:1px solid var(--border);text-transform:capitalize}.hotItem{width:100%;display:flex;align-items:center;gap:10px;padding:9px 14px;border:0;background:transparent;color:var(--text);text-align:left}.hotItem:hover{background:var(--surface-soft)}.hotItem:hover .hotGo{opacity:1}.hotRank{width:20px;height:20px;flex:0 0 auto;display:grid;place-items:center;border-radius:6px;background:var(--surface-sunken);color:var(--text-muted);font-size:12px;font-weight:700}.hotRank.top{background:var(--accent);color:#fff}.hotTitle{flex:1;min-width:0;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hotGo{flex:0 0 auto;opacity:0;color:var(--text-subtle);transition:.15s}.settingsStack{max-width:920px}.cardHead.compact{margin-bottom:12px}.settingsHeadActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.kvRow{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--border);font-size:14px}.kvRow:last-of-type{border-bottom:0}.kvRow span{color:var(--text-muted)}.settingsWechatList{display:grid;gap:10px;margin-top:12px}.settingsWechatItem{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-soft)}.settingsWechatIcon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#16a34a;color:#fff;font-size:12px;font-weight:800}.settingsWechatItem strong{display:block;font-size:14px}.settingsWechatItem span{display:block;margin-top:3px;color:var(--text-muted);font-size:12px;word-break:break-all}.settingsWechatForm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.guideOverlay{z-index:90}.guideModal{width:min(1280px,96vw);height:min(92vh,900px);display:flex;flex-direction:column;overflow:hidden;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-lg)}.guideModalBody{flex:1;min-height:0;overflow:auto;display:grid;gap:16px;padding:18px;background:var(--surface-soft)}.guideCallout{display:grid;gap:6px;padding:14px 16px;border-left:4px solid var(--primary);border-radius:var(--radius-sm);background:var(--surface)}.guideCallout strong{color:var(--primary)}.guideCallout span{color:var(--text-muted);font-size:14px}.guideStepCard{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.guideStepText{padding:14px 16px;border-bottom:1px solid var(--border)}.guideStepText strong{display:block;font-size:16px}.guideStepText p{margin-top:6px;color:var(--text-muted);font-size:14px}.guideStepText ol{margin:10px 0 0;padding-left:20px;color:var(--text-muted);font-size:13px;line-height:1.7}.guideStepText li{margin:4px 0}.guideImageFrame{min-height:220px;padding:12px;background:#f6f8fb}.guideStepCard img{display:block;width:100%;max-height:640px;object-fit:contain;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff}.guideFaq{padding:16px;border:1px solid rgba(245,158,11,.28);border-radius:var(--radius-sm);background:#fffbebb8}.guideFaq h3{margin-bottom:12px;font-size:15px}.guideFaqGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.guideFaqGrid article{display:grid;gap:6px;padding:13px 14px;border:1px solid rgba(245,158,11,.22);border-radius:var(--radius-sm);background:#ffffffc7}.guideFaqGrid strong{color:#92400e;font-size:13px}.guideFaqGrid span{color:#78350f;font-size:13px;line-height:1.65}.wxGuideItem{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.wxGuideToggle{width:100%;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 16px;border:0;background:var(--surface);color:var(--text);text-align:left}.wxGuideToggle:hover{background:var(--surface-soft)}.wxGuideToggle span{min-width:0;font-size:16px;font-weight:800}.wxGuideToggle small{flex:0 0 auto;color:var(--primary);font-size:12px;font-weight:700}.wxGuidePanel{border-top:1px solid var(--border);background:var(--surface)}.wxGuideText{padding:18px 20px}.wxGuideText p{color:var(--text);font-size:14px;line-height:1.7}.wxGuideText ol{margin:10px 0 0;padding-left:21px;color:var(--text-muted);font-size:13px;line-height:1.75}.wxGuideText li{margin:4px 0}.wxGuideImageFrame{min-height:260px;padding:16px;background:#f6f8fb}.wxGuideImageGrid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.wxGuideImageGrid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.wxGuideImageGrid figure{min-width:0;margin:0;display:grid;gap:8px;align-content:start}.wxGuideThumb{position:relative;width:100%;height:min(34vh,340px);min-height:220px;display:grid;place-items:center;overflow:hidden;padding:10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;cursor:zoom-in}.wxGuideImageGrid.two .wxGuideThumb{height:min(30vh,280px);min-height:200px}.wxGuideThumb:hover{border-color:#2563eb85;box-shadow:0 10px 26px #0f172a14}.wxGuideThumb img{display:block;width:100%;height:100%;object-fit:contain}.wxGuideThumb span{position:absolute;right:12px;bottom:12px;height:26px;display:inline-flex;align-items:center;padding:0 10px;border-radius:999px;background:#0f172ab8;color:#fff;font-size:12px;font-weight:800;opacity:0;transform:translateY(4px);transition:opacity .16s ease,transform .16s ease}.wxGuideThumb:hover span{opacity:1;transform:translateY(0)}.wxGuideImageGrid figcaption{color:var(--text-muted);font-size:12px;font-weight:700;text-align:center}.wxGuideLayout{min-height:620px;display:grid;grid-template-columns:360px minmax(0,1fr);gap:16px}.wxGuideNav{display:flex;flex-direction:column;gap:8px;min-height:0}.wxGuideNavItem{min-height:70px;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:12px;padding:11px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.wxGuideNavItem:hover{background:var(--surface-soft);transform:translateY(-1px)}.wxGuideNavItem.active{border-color:#2563eb;background:#2563eb14;color:var(--text)}.wxGuideIndex{width:34px;height:34px;display:grid;place-items:center;border-radius:999px;background:#e5e7eb;color:#4b5563;font-size:14px;font-weight:800}.wxGuideNavItem.active .wxGuideIndex{background:#2563eb;color:#fff}.wxGuideNavCopy{min-width:0;display:grid;gap:4px}.wxGuideNavCopy strong{overflow:hidden;color:var(--text);font-size:14px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.wxGuideNavCopy small{overflow:hidden;color:var(--text-muted);font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.wxGuideDetail{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.wxGuideDetail .wxGuideText{border-bottom:1px solid var(--border)}.wxGuideBadge{display:inline-flex;align-items:center;height:26px;padding:0 10px;margin-bottom:10px;border-radius:999px;background:#2563eb1a;color:#2563eb;font-size:12px;font-weight:800}.wxGuideDetail .wxGuideText h3{margin:0;font-size:22px;line-height:1.35}.wxGuideDetail .wxGuideText small{display:block;margin-top:4px;color:var(--text-muted);font-size:13px;font-weight:700}.wxGuideDetail .wxGuideText p{margin-top:12px}.imagePreviewOverlay{z-index:110;padding:28px;background:#0f172ab8}.imagePreviewModal{width:min(1440px,96vw);height:min(92vh,960px);display:flex;flex-direction:column;overflow:hidden;border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-lg)}.imagePreviewHead{flex:0 0 auto;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid var(--border)}.imagePreviewHead strong{display:block;font-size:16px}.imagePreviewHead span{display:block;margin-top:3px;color:var(--text-muted);font-size:12px}.imagePreviewBody{flex:1;min-height:0;display:grid;place-items:center;overflow:auto;padding:16px;background:#0f172a}.imagePreviewBody img{display:block;max-width:100%;max-height:100%;object-fit:contain;background:#fff}.authShell{height:100%;display:grid;grid-template-columns:1.1fr 1fr;background:var(--bg)}.authHero{display:flex;align-items:center;justify-content:center;padding:40px;background:linear-gradient(150deg,var(--primary),var(--primary-strong));color:#fff}.authHeroInner{max-width:380px}.authHeroMark{width:54px;height:54px;display:grid;place-items:center;margin-bottom:22px;border-radius:14px;background:#ffffff29;font-size:20px;font-weight:800}.authHero h2{font-size:26px;margin-bottom:12px}.authHero p{opacity:.9;line-height:1.7}.authHeroList{list-style:none;margin:26px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}.authHeroList li{display:flex;align-items:center;gap:10px;font-size:14px;opacity:.95}.authForms{display:flex;align-items:center;justify-content:center;padding:32px}.authCard{width:100%;max-width:380px}.authTabs{display:flex;gap:8px;margin-bottom:20px}.authTab{flex:1;height:40px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-soft);color:var(--text-muted);font-weight:600}.authTab.active{background:var(--primary);color:#fff;border-color:var(--primary)}.authForm{display:flex;flex-direction:column}.codeRow{display:flex;gap:8px}.codeRow input{flex:1}.codeButton{flex:0 0 auto;min-width:80px;border:1px solid var(--primary);border-radius:var(--radius-sm);background:var(--surface);color:var(--primary);font-size:13px;font-weight:600}.codeButton:disabled{border-color:var(--border);background:var(--surface-soft);color:var(--text-subtle)}.loginSwitchRow{display:flex;justify-content:flex-end;margin:-4px 0 12px}.linkInline{padding:0;border:0;background:0;color:var(--primary);font-size:13px;font-weight:600}.authError{margin-bottom:12px;color:var(--danger);font-size:13px}.linkButton{margin-top:16px;border:0;background:0;color:var(--text-muted);font-size:13px;text-decoration:underline}.authServer{margin-top:10px;text-align:center;font-size:11px;color:var(--text-subtle);word-break:break-all}.captchaOverlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f162080;display:flex;align-items:center;justify-content:center;z-index:100}.captchaModal{width:320px;padding:20px;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-lg)}.captchaHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-weight:700}.iconClose{padding:4px;border:0;background:0;color:var(--text-muted)}.captchaTip{margin-bottom:12px;font-size:12px;color:var(--text-muted)}.captchaImageRow{display:flex;align-items:center;gap:10px;margin-bottom:12px}.captchaImage{height:44px;width:120px;border:1px solid var(--border);border-radius:8px;background:#f2f5f8;cursor:pointer}.captchaLoading{height:44px;width:120px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:8px;color:var(--text-muted);font-size:13px}.captchaInput{margin-bottom:14px;text-align:center;letter-spacing:4px;font-size:16px}.captchaActions{display:flex;gap:10px;justify-content:flex-end}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,16px);padding:11px 18px;border-radius:999px;background:var(--text);color:var(--bg);font-size:13px;font-weight:600;box-shadow:var(--shadow-lg);opacity:0;pointer-events:none;transition:.2s;z-index:200}.toast.show{opacity:1;transform:translate(-50%)}.noticeOverlay{align-items:center;justify-content:center}.noticeModal{width:min(620px,calc(100vw - 32px));max-height:min(680px,calc(100vh - 48px));background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-lg);overflow:hidden}.noticeHead{height:56px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.noticeList{max-height:560px;overflow:auto;padding:14px;display:grid;gap:12px}.noticeItem{padding:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.noticeItem strong{display:block;margin-bottom:8px}.noticeItem p{white-space:pre-wrap;color:var(--text-muted);line-height:1.7}.noticeItem small{display:block;margin-top:10px;color:var(--text-subtle)}@media(max-width:1280px){.createLayout{grid-template-columns:280px minmax(0,1fr)}.infoCard{display:none}}@media(max-width:1080px){.createLayout{grid-template-columns:1fr}.statRow{grid-template-columns:repeat(2,1fr)}.authShell{grid-template-columns:1fr}.authHero{display:none}}@media(max-width:900px){.editorBody.split{grid-template-columns:1fr}.editorBody.split .sourcePane{display:none}.editorBody.split .previewPane{border-left:0}}@media(max-width:760px){html,body,#app{height:100dvh}body{overflow:hidden;font-size:15px}input,select{height:42px;font-size:16px}textarea{font-size:16px}.btn,.iconBtn,.codeButton{min-height:42px}.app{height:100dvh;display:block}.side{position:fixed;left:0;right:0;bottom:0;z-index:70;height:calc(64px + env(safe-area-inset-bottom));display:block;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--border);border-right:0;box-shadow:0 -8px 24px #0f172a14}.sideBrand,.sideFoot{display:none}.sideNav{height:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.sideNavBtn{height:100%;min-width:0;flex-direction:column;justify-content:center;gap:3px;padding:0 4px;border-radius:10px;font-size:12px;line-height:1.2;text-align:center;-webkit-tap-highlight-color:transparent;transition:background .16s ease,color .16s ease,transform .16s ease}.sideNavBtn:active{transform:scale(.96)}.sideNavBtn.active{box-shadow:inset 0 0 0 1px #10a37f1f}.sideNavIcon,.sideNavBtn svg{width:19px;height:19px}.sideNavText{max-width:100%;overflow:hidden;font-size:0;white-space:nowrap;text-overflow:ellipsis}.sideNavText:after{content:attr(data-mobile-label);font-size:12px}.navBadge{top:-8px;right:-13px;min-width:15px;height:15px;padding:0 4px;border-color:var(--surface);font-size:9px}.workspace{height:100dvh;padding-bottom:calc(64px + env(safe-area-inset-bottom))}.topbar{position:sticky;top:0;z-index:40;align-items:center;gap:10px;padding:calc(12px + env(safe-area-inset-top)) 14px 10px;border-bottom:1px solid var(--border);background:var(--bg);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topbarHead{min-width:0}.topbarHead h1{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbarHead p{display:none}.topbarActions{flex:0 0 auto;gap:6px}.topbarActions .iconBtn{width:40px;height:40px}.updateBadge,.noticeBadge{max-width:92px;height:36px;padding:0 9px;overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.canvas{flex:1;min-height:0;height:auto;padding:12px 12px 18px;overflow:auto;-webkit-overflow-scrolling:touch}.card{padding:14px;border-radius:10px}.cardHead{align-items:flex-start;gap:10px;flex-wrap:wrap}.cardHeadActions,.cardFootActions,.settingsHeadActions{width:100%;justify-content:flex-start;flex-wrap:wrap}.fieldRow,.settingsWechatForm,.guideFaqGrid{grid-template-columns:1fr}.createLayout{grid-template-columns:1fr;gap:12px}.platformGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.platformCard{min-height:74px;flex-direction:column;justify-content:center;gap:6px;padding:8px 6px;text-align:center}.platformCard strong{max-width:100%;overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.platformLogo{width:32px;height:32px}.inputCard{min-height:390px}.bigInput{min-height:220px}.inputFoot{align-items:stretch;flex-direction:column;gap:9px;margin:0 -14px -14px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--border);border-radius:0 0 10px 10px;background:var(--surface);box-shadow:0 -12px 24px #0f172a0f}.inputFoot .btn{width:100%;min-height:48px;font-size:15px}.taskItem,.taskSide{width:100%}.taskItem{align-items:stretch;flex-direction:column;gap:12px}.taskMain strong{white-space:normal}.taskSide{align-items:stretch}.taskActions{justify-content:flex-start}.statCard{padding:12px}.statValue{font-size:24px}.libraryToolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.libraryToolbar .searchBox{grid-column:1 / -1;flex-basis:auto;max-width:none}.libraryControl{min-width:0;height:42px;padding:0 10px}.libraryControl span{width:34px}.libraryControl select{min-width:0}.libraryToolbar>.btn{grid-column:1 / -1;width:100%}.libraryBatchBar{align-items:stretch;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.libraryBatchBar span{grid-column:1 / -1}.libraryBatchBar .btn{width:100%;padding:0 8px;font-size:12px}.libGrid{grid-template-columns:1fr;gap:12px}.libCard:hover{transform:none}.libCover{aspect-ratio:16 / 8.5}.libTitleRow strong{white-space:normal;line-height:1.45}.libMeta,.publishMeta{align-items:flex-start;flex-wrap:wrap;gap:6px}.hotGrid{grid-template-columns:1fr;gap:12px}.hotItem{min-height:44px}.hotTitle{white-space:normal;line-height:1.45}.settingsStack{max-width:none}.kvRow{align-items:flex-start;flex-direction:column;gap:5px}.codeRow{align-items:stretch}.codeButton{min-width:72px;padding:0 10px}.modalOverlay{align-items:stretch;justify-content:stretch;padding:0}.editorCard,.imageGalleryCard,.wechatCard,.publishDialog,.guideModal,.imagePreviewModal,.noticeModal{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.editorBar{align-items:stretch;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:calc(10px + env(safe-area-inset-top)) 10px 10px}.editorTitleInput{grid-column:1 / -1;min-width:0}.editorImageButton,.editorBar .segGroup.small{width:100%}.editorBody.split .sourcePane{display:none}.editorBody.split .previewPane{border-left:0}.editorArea,.mdPreview{padding:14px}.mdPreview{font-size:16px}.editorFoot{align-items:stretch;flex-direction:column;padding:10px 10px calc(10px + env(safe-area-inset-bottom))}.footLeft{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding-bottom:2px;-webkit-overflow-scrolling:touch}.footLeft .btn{flex:0 0 auto}.editorFoot>.btn{width:100%}.imageGalleryHead,.wechatHead,.publishDialogHead,.imagePreviewHead,.noticeHead{align-items:flex-start;padding:calc(12px + env(safe-area-inset-top)) 12px 12px}.imageGalleryActions{width:100%;justify-content:flex-start}.imageGalleryBody{padding:12px}.imageSwitch{top:auto;bottom:76px;transform:none}.imageSwitch.left{left:12px}.imageSwitch.right{right:12px}.imageGalleryFigure figcaption{align-items:center;flex-direction:column;text-align:center}.wechatBody,.publishDialogBody,.guideModalBody{padding:12px}.wechatFormGrid,.wechatFormGrid.single{grid-template-columns:1fr}.wechatFoot,.publishDialogFoot,.captchaActions{align-items:stretch;flex-direction:column;padding-bottom:calc(12px + env(safe-area-inset-bottom))}.wechatFoot .btn,.publishDialogFoot .btn,.captchaActions .btn{width:100%}.wxGuideLayout,.wxGuideImageGrid.two{grid-template-columns:1fr}.wxGuideLayout{min-height:0}.wxGuideNav{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,78vw);overflow-x:auto;padding-bottom:4px}.wxGuideThumb,.wxGuideImageGrid.two .wxGuideThumb{height:240px;min-height:180px}.imagePreviewOverlay{padding:0}.imagePreviewBody{padding:10px}.authShell{height:100dvh}.authForms{align-items:flex-start;overflow:auto;padding:calc(22px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}.authCard{max-width:none}.captchaOverlay{padding:16px}.captchaModal{width:min(100%,360px)}.toast{width:calc(100vw - 32px);bottom:calc(78px + env(safe-area-inset-bottom));text-align:center;border-radius:12px}}@media(max-width:420px){.libraryBatchBar{grid-template-columns:1fr}.sideNavBtn{font-size:11px}.sideNavText:after{font-size:11px}.topbarActions .updateBadge{display:none}.noticeBadge{max-width:74px}.cardTitle{font-size:14px}.libCover{aspect-ratio:16 / 9}}@supports not (height: 100dvh){@media(max-width:760px){html,body,#app,.app,.workspace,.authShell{height:100vh}}}.vipBad{color:var(--danger)}
