.video-subtitle-script{margin-top:16px;border-top:1px solid var(--border-200);padding-top:16px}.video-subtitle-script-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.video-subtitle-script-header h3{font-size:13px;font-weight:800;color:var(--text-300);text-transform:uppercase;letter-spacing:.08em}.video-subtitle-script-header span{font-size:11px;font-weight:600;color:var(--text-400);background:var(--bg-300);padding:2px 8px;border-radius:99px}.video-subtitle-script-list{max-height:360px;overflow-y:auto}.video-subtitle-script-row{display:flex;gap:10px;padding:8px 10px;border-bottom:1px solid var(--border-100);transition:background .15s}.video-subtitle-script-row:hover{background:var(--bg-100)}.video-subtitle-script-num{width:24px;flex-shrink:0;text-align:right;font-size:10px;font-family:ui-monospace,SFMono-Regular,monospace;font-weight:700;color:var(--text-300);padding-top:4px;transition:color .15s}.video-subtitle-script-row:hover .video-subtitle-script-num{color:var(--primary-400)}.video-subtitle-script-input{flex:1;min-width:0;background:transparent;border:none;font-size:13px;font-weight:700;color:var(--text-100);caret-color:var(--primary-600);outline:none;resize:none;line-height:1.5;overflow:hidden;padding:0;margin:0;letter-spacing:.02em}.video-subtitle-script-input::placeholder{color:var(--text-400)}.phone-preview-cover{position:absolute;left:50%;z-index:2;width:calc(100% - 28px);text-align:center}.phone-preview-cover-main,.phone-preview-cover-sub{display:block;width:max-content;max-width:100%;margin:0 auto;font-weight:1000;line-height:1.06;overflow-wrap:anywhere}.phone-preview-cover-sub{margin-top:6px}.video-creation-preview-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.video-creation-preview-summary span{border:1px solid var(--line);border-radius:999px;background:var(--accent-tint);padding:8px 10px;text-align:center;color:var(--muted);font-size:13px;font-weight:900}.video-workflow{min-width:0;width:100%;min-height:calc(100dvh - 56px);grid-template-rows:auto auto auto auto minmax(0,1fr)}.video-workflow-modebar{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.video-workflow-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:8px;box-shadow:0 14px 40px rgba(33,55,130,.08)}.video-workflow-stepper button{position:relative;min-width:0;min-height:58px;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:10px;background:transparent;color:var(--muted);font:inherit;cursor:pointer}.video-workflow-stepper button:not(:last-child):after{content:"";position:absolute;right:-4px;width:8px;height:1px;background:var(--line)}.video-workflow-stepper button:disabled{cursor:not-allowed;opacity:.58}.video-workflow-stepper span{width:32px;height:32px;display:grid;place-items:center;border-radius:999px;background:var(--accent-tint);color:var(--muted);font-weight:1000;font-variant-numeric:tabular-nums}.video-workflow-stepper strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.video-workflow-stepper button.active{background:linear-gradient(135deg,var(--accent),var(--accent-strong));color:white}.video-workflow-stepper button.active span{background:rgba(255,255,255,.22);color:white}.video-workflow-stepper button.complete span{background:var(--accent-soft);color:var(--accent)}.video-workflow-access-status{display:flex;justify-content:flex-end;margin-top:-8px}.video-workflow-copy-grid{display:grid;grid-template-columns:minmax(420px,1fr) minmax(420px,1fr) minmax(380px,.95fr);gap:28px;align-items:stretch}.video-workflow-copy-grid.is-extract-layout{grid-template-columns:repeat(3,minmax(0,1fr))}.video-workflow-panel{min-width:0}.video-workflow-copy-grid>.card{height:calc(100dvh - 260px);min-height:680px;max-height:920px;overflow:hidden;align-content:start}.video-workflow-copy-tabs{width:100%}.video-workflow-copy-tabs button{flex:1 1 0}.video-workflow-copy-tool{min-width:0}.video-workflow-copy-result{min-height:360px;max-height:480px;overflow:auto;border:1px solid var(--line);border-radius:10px;background:var(--accent-tint);padding:12px;white-space:pre-wrap;line-height:1.7}.video-workflow-copy-result-card .video-creation-panel-heading{align-items:flex-start}.video-workflow-copy-result-card .btn{flex-shrink:0}.douyin-copy-panel,.douyin-home-panel,.douyin-topic-panel{border-radius:24px;padding:34px;background:#fff;box-shadow:0 18px 45px rgba(33,39,74,.08);display:flex;flex-direction:column}.douyin-copy-panel h2,.douyin-home-panel h2,.douyin-topic-panel h2{margin:0;color:var(--text);font-size:24px;line-height:1.2}.douyin-source-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-radius:16px;background:#eee8ff;padding:8px}.douyin-source-tabs button{min-height:62px;border:0;border-radius:10px;background:transparent;color:#8f96aa;cursor:pointer;font-weight:900}.douyin-source-tabs button.is-active{background:#fff;color:#7b4bed;box-shadow:0 10px 24px rgba(106,69,215,.1)}.douyin-home-search{display:grid;grid-template-columns:minmax(0,1fr) 118px;gap:10px}.douyin-home-search .input{min-height:54px;border-radius:14px;background:#fbfcff}.douyin-home-search .btn{min-height:54px;border-radius:12px;font-size:14px}.douyin-home-tip{margin:-4px 0 0;color:var(--muted);font-size:13px;line-height:1.7;text-align:center}.douyin-learned-heading{display:flex;align-items:center;gap:10px;color:#7a5cf0;font-size:13px;font-weight:900}.douyin-learned-heading:before{content:"";width:7px;height:7px;border-radius:999px;background:#9a65dc}.douyin-account-list{display:grid;align-content:start;gap:10px;flex:1 1 auto;min-height:320px;overflow:auto;padding-right:8px}.douyin-account-item{position:relative}.douyin-account-card{display:grid;grid-template-columns:54px minmax(0,1fr) max-content 28px;align-items:center;gap:10px;width:100%;min-height:110px;border:1px solid #edf0f4;border-radius:18px;background:#fff;padding:10px 12px;text-align:left;cursor:pointer}.douyin-account-delete{position:absolute;top:-6px;right:-6px;z-index:2;width:26px;height:26px;border:1px solid #f0edf7;border-radius:999px;background:#fff;color:#b7bcc8;cursor:pointer;display:grid;font-size:18px;font-weight:700;line-height:1;place-items:center;box-shadow:0 1px 5px rgba(116,97,160,.1)}.douyin-account-delete:disabled{cursor:wait;opacity:.65}.douyin-account-delete:hover:not(:disabled){color:#8b5cf6;border-color:#d8c8ff}.douyin-account-card.is-selected{border-color:#8d55ef;box-shadow:0 12px 26px rgba(141,85,239,.12),0 0 0 2px rgba(141,85,239,.1)}.douyin-account-avatar{width:48px;height:48px;overflow:hidden;border-radius:999px;background:radial-gradient(circle at 35% 30%,#f6d2cf,transparent 24%),linear-gradient(135deg,#8e65f1,#222b45)}.douyin-account-avatar img{width:100%;height:100%;object-fit:cover}.douyin-account-card>div:nth-child(2){min-width:0}.douyin-account-card strong{display:flex;align-items:center;gap:6px;color:#7c3aed;font-size:16px;font-weight:1000;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.douyin-account-card strong span{display:inline-grid;flex:0 0 auto;min-width:36px;height:20px;border-radius:999px;background:#080808;color:#fff;font-size:12px;font-weight:1000;place-items:center}.douyin-account-stats{display:flex;flex-wrap:nowrap;gap:12px;margin-top:6px;color:#5b657d;font-size:12px;font-weight:900;white-space:nowrap}.douyin-account-card p{margin:6px 0 0;color:#9aa2b2}.douyin-account-card p,.douyin-account-card>em{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.douyin-account-card>em{align-self:start;color:#8c94a8;font-style:normal;padding-top:4px;max-width:76px}.douyin-account-check{width:28px;height:28px;display:grid;place-items:center;border:2px solid #ded2ff;border-radius:999px;color:#fff;background:#8b5cf6;font-size:12px;font-weight:900}.douyin-account-card:not(.is-selected) .douyin-account-check{background:#fff;color:transparent}.douyin-home-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:16px}.douyin-home-actions .btn,.douyin-topic-actions .btn{min-height:64px;border-radius:14px;font-weight:900;max-width:360px;width:100%}.douyin-copy-heading,.douyin-topic-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.douyin-copy-heading button,.douyin-topic-heading button{border:0;background:transparent;color:#7b4bed;cursor:pointer;font-size:13px;font-weight:900}.douyin-topic-message{margin:-4px 0 4px;color:#7b4bed;font-size:13px;font-weight:800}.douyin-topic-list{display:grid;align-content:start;gap:8px;flex:1 1 auto;min-height:0;overflow:auto;padding:16px 0}.douyin-topic-list button{min-height:72px;border:0;border-radius:10px;background:transparent;color:#8a92a5;cursor:pointer;display:grid;grid-template-columns:42px minmax(0,1fr) 24px;align-items:center;gap:8px;padding:0 12px;text-align:left}.douyin-topic-list button.is-selected{border:1px solid #dbc8ff;background:#f6f1ff;color:var(--text)}.douyin-topic-list span{color:#a2a9b8;font-size:22px;font-style:italic;font-weight:1000}.douyin-topic-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px}.douyin-topic-list em{width:22px;height:22px;display:grid;place-items:center;border-radius:999px;background:#8b5cf6;color:#fff;font-style:normal}.douyin-topic-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:22px;color:var(--muted);font-size:13px;font-weight:900}.douyin-topic-footer>div{display:inline-flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:999px;background:#fff;padding:8px 14px}.douyin-topic-footer button{border:0;background:transparent;color:var(--muted);cursor:pointer;font-weight:900}.douyin-topic-footer input{width:64px;border:0;background:transparent;color:var(--text);font:inherit;font-weight:900;text-align:center;outline:none}.douyin-topic-footer input:focus{color:#111827}.douyin-topic-actions{display:grid;grid-template-columns:1fr;justify-items:center;gap:18px;padding-top:16px}.douyin-copy-panel{border:0;border-radius:0;background:#f7f7fa;box-shadow:none;padding:28px 34px 24px}.douyin-copy-heading{align-items:flex-start;padding:0 0 12px}.douyin-copy-heading span{display:block;margin-top:12px;color:var(--text);font-weight:900}.douyin-copy-heading>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.douyin-copy-lines{flex:1 1 auto;min-height:0;overflow:auto;border-top:1px solid var(--line);background:#fff;padding:18px 22px}.douyin-copy-paragraph{margin:0 0 1em;padding:0;color:var(--text);font-size:15px;font-weight:900;line-height:1.9;text-indent:2em;white-space:pre-wrap}.copy-editor-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:24px;background:rgba(246,247,252,.72);backdrop-filter:blur(6px)}.copy-editor-modal{width:min(720px,100%);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;gap:12px;overflow:auto;border:1px solid #eef0f7;border-radius:18px;background:#fff;box-shadow:0 24px 80px rgba(50,55,90,.16);padding:22px 24px 18px}.copy-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.copy-editor-heading h2{margin:0;color:#1f2433;font-size:16px;font-weight:900}.copy-editor-heading button{width:30px;height:30px;border:0;border-radius:999px;background:#f7f8fc;color:#a4a9b8;cursor:pointer;font-size:22px;line-height:1}.copy-editor-tip{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;border-radius:12px;background:#f7f3ff;color:#7b61e8;padding:12px 14px}.copy-editor-tip span{font-size:15px}.copy-editor-tip p{margin:0;font-size:12px;font-weight:800;line-height:1.7}.copy-editor-toolbar{display:flex;align-items:center;gap:10px}.copy-editor-toolbar>span{color:#8e96a8;font-size:11px;font-weight:900}.copy-editor-toolbar>span strong{color:#7c3aed;margin-left:4px}.copy-editor-select{width:132px;height:34px;border:1px solid #e8eaf3;border-radius:8px;background:#fff;color:#7b8192;padding:0 10px;font-size:12px;font-weight:800}.copy-editor-ai-button{height:34px;border:0;border-radius:8px;background:#f4efff;color:#7b4bed;cursor:pointer;padding:0 14px;font-size:12px;font-weight:900}.copy-editor-ai-button:disabled{cursor:wait;opacity:.65}.copy-editor-message{margin:0;color:#7b61e8;font-size:12px;font-weight:800}.copy-editor-textarea{width:100%;min-height:320px;height:min(380px,42dvh);flex:0 0 auto;resize:none;overflow:auto;border:1px solid #eceef6;border-right:3px solid #c7b7ff;border-radius:12px;background:#fff;color:#232838;padding:18px;font-size:14px;line-height:1.9;outline:none}.copy-editor-textarea:focus{border-color:#d7c9ff #8b5cf6 #d7c9ff #d7c9ff;box-shadow:0 0 0 3px rgba(139,92,246,.1)}.copy-editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:4px;flex:0 0 auto}.copy-editor-actions button{width:64px;height:32px;min-width:0;min-height:0;padding:8px 14px;border-radius:8px;font-size:12px;flex:0 0 auto}.douyin-copy-empty{min-height:160px;display:grid!important;grid-template-columns:minmax(0,1fr)!important;place-items:center;border-bottom:0!important;padding:28px 0!important;color:#a2a9b8;font-size:13px;text-align:center}.douyin-copy-empty strong{white-space:nowrap}.compliance-backdrop{position:fixed;inset:0;z-index:92;display:grid;place-items:center;padding:24px;background:rgba(247,248,252,.78);backdrop-filter:blur(6px)}.compliance-modal{width:min(1300px,98vw)!important;max-width:min(1300px,98vw)!important;height:calc(100dvh - 48px)!important;max-height:calc(100dvh - 48px)!important;display:grid;grid-template-rows:auto auto 1fr auto auto;gap:14px;overflow:hidden;border:1px solid #edf0f7;border-radius:18px;background:#fff;box-shadow:0 26px 90px rgba(45,50,80,.16);padding:22px 24px 18px}.compliance-modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.compliance-modal-heading h2,.compliance-modal-heading p{margin:0}.compliance-modal-heading h2{color:#202537;font-size:18px;font-weight:1000}.compliance-modal-heading p{margin-top:4px;color:#9aa2b2;font-size:12px;font-weight:800}.compliance-modal-heading button{width:30px;height:30px;border:0;border-radius:999px;background:#f7f8fc;color:#a4a9b8;cursor:pointer;font-size:22px;line-height:1}.compliance-summary{display:grid;grid-template-columns:minmax(0,1fr) max-content max-content minmax(0,1fr);align-items:center;gap:10px;color:#9aa2b2;font-size:11px;font-weight:1000;letter-spacing:.08em}.compliance-summary [data-slot=badge]{border-radius:999px;padding:5px 10px;font-style:normal;letter-spacing:0}.compliance-summary [data-slot=badge].risk-高{background:#fff1f1;color:#e64646}.compliance-summary [data-slot=badge].risk-低{background:#eefdf5;color:#20a66a}.compliance-summary [data-slot=badge].risk-中{background:#fff7e6;color:#d98506}.compliance-summary [data-slot=badge]:not([class*=risk-]){background:#fff5e7;color:#e19225}.compliance-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;overflow-y:auto;overflow-x:hidden;padding-right:4px}.compliance-columns section{display:grid;grid-template-rows:auto 1fr;gap:8px;min-height:0}.compliance-columns h3{margin:0;color:#8f98aa;font-size:12px;font-weight:1000}.compliance-text-card{word-break:break-all;border:1px solid #edf0f7;border-radius:12px;background:#fff;color:#1f2433;padding:22px;font-size:14px;line-height:1.9}.risk-mark,.safe-mark{border-radius:4px;padding:1px 3px;font-weight:900}.risk-mark{background:#ffe8e8;color:#e13d3d}.safe-mark{background:#e8f8ef;color:#15945b}.compliance-loading{min-height:260px;display:grid;place-items:center;border:1px solid #edf0f7;border-radius:12px;color:#7b61e8;font-weight:900}.compliance-risk-list{display:flex;flex-wrap:wrap;gap:8px}.compliance-risk-list span{border-radius:999px;background:#f7f3ff;color:#7b4bed;padding:6px 10px;font-size:12px;font-weight:900}.compliance-actions{display:flex;justify-content:flex-end;gap:10px}.compliance-actions button{min-height:34px;padding:8px 16px;font-size:12px}.workflow-subtitle-list{display:grid;gap:10px;align-content:start;min-height:660px;max-height:660px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}.workflow-subtitle-stage{position:relative;min-height:220px}.workflow-compliance-button{min-height:34px;padding:0 12px;font-size:13px;flex-shrink:0}.workflow-subtitle-rewrite-mask{position:absolute;inset:0;z-index:2;border-radius:14px;background:rgba(255,255,255,.78);backdrop-filter:blur(8px);display:grid;place-items:center;padding:24px}.workflow-subtitle-rewrite-mask>div{width:min(100%,300px);border-radius:18px;display:grid;justify-items:center;gap:10px;color:var(--text);text-align:center;padding:28px 24px}.workflow-subtitle-rewrite-mask span{width:62px;height:62px;border:2px dashed #d8c6ff;border-radius:999px;background:#f2edff;color:#8755d8;display:grid;place-items:center;font-size:28px;font-weight:900}.workflow-subtitle-rewrite-mask strong{font-size:20px}.workflow-subtitle-rewrite-mask em{color:#8557df;font-style:normal;letter-spacing:4px}.workflow-subtitle-rewrite-mask p{margin:0;color:var(--muted);line-height:1.7}.video-workflow-copy-grid>.video-workflow-panel>.workflow-subtitle-list:has(.empty-state){max-height:none;overflow:visible}.video-workflow-copy-grid>.video-workflow-panel>.workflow-subtitle-list .empty-state{min-height:190px}.workflow-subtitle-row{display:grid;grid-template-columns:32px minmax(0,1fr) 64px;gap:8px;align-items:center;border:1px solid var(--line);border-radius:10px;background:var(--accent-tint);padding:8px}.workflow-subtitle-row>span{width:32px;height:32px;display:grid;place-items:center;border-radius:999px;background:var(--panel);color:var(--accent);font-weight:1000;font-variant-numeric:tabular-nums}.workflow-subtitle-row input{min-height:40px;height:40px;padding-block:8px}.workflow-subtitle-row .btn{min-height:40px;padding:8px}.video-workflow-digital-grid{display:grid;width:100%;max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"title title title" "script voice human";gap:28px;align-items:start;padding:10px 0 18px}.video-workflow-digital-grid>.video-workflow-panel{min-width:0;height:100%;align-content:start}.video-workflow-digital-grid .workflow-subtitle-list{max-height:520px}.video-workflow-digital-controls{display:grid;gap:16px}.workflow-digital-title{grid-area:title}.workflow-digital-title h1{margin:0;color:#1f2937;font-size:34px;font-weight:1000;letter-spacing:0}.workflow-digital-title p{margin:8px 0 0;color:#8b94a5;font-size:15px;font-weight:800}.workflow-digital-script{grid-area:script}.workflow-digital-voice{grid-area:voice}.workflow-digital-human{grid-area:human}.workflow-digital-human,.workflow-digital-script,.workflow-digital-voice{min-width:0;display:grid;gap:18px;align-content:start}.workflow-digital-section-heading{min-height:48px;display:flex;align-items:center;gap:14px}.workflow-digital-section-heading>span{width:48px;height:48px;display:grid;flex:0 0 auto;place-items:center;border-radius:16px;background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;box-shadow:0 14px 28px rgba(124,58,237,.18)}.workflow-digital-section-heading>div{min-width:0}.workflow-digital-section-heading h2{margin:0;color:#1f2937;font-size:21px;font-weight:1000;letter-spacing:0}.workflow-digital-section-heading h2 em{margin-left:8px;border-radius:8px;background:#efe7ff;color:#8b5cf6;padding:2px 8px;font-size:13px;font-style:normal}.workflow-digital-section-heading p{margin:3px 0 0;color:#9aa3b2;font-size:13px;font-weight:800}.workflow-small-action{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #eadfff;border-radius:12px;background:#f8f4ff;color:#7c3aed;padding:0 14px;font:inherit;font-size:13px;font-weight:1000;cursor:pointer;white-space:nowrap}.workflow-digital-voice .workflow-small-action{margin-left:auto}.workflow-script-card,.workflow-video-render-card,.workflow-voice-card{border:1px solid #edf0f4;border-radius:28px;background:#fff;box-shadow:0 22px 42px rgba(17,24,39,.08)}.workflow-script-card{overflow:hidden;min-height:590px;display:grid;grid-template-rows:auto minmax(0,1fr)}.workflow-script-card>strong{border-bottom:1px solid #edf0f4;color:#9aa3b2;padding:22px 28px;font-size:14px;font-weight:1000}.workflow-script-list{min-height:0;max-height:520px;overflow-y:auto;padding:0 8px 10px 28px;scrollbar-color:#dacbff transparent}.workflow-script-row{min-height:54px;display:grid;grid-template-columns:36px minmax(0,1fr) 30px;align-items:center;gap:10px;border-bottom:1px solid #edf0f4;padding-right:18px}.workflow-script-row>span{color:#a9b2c0;font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;font-weight:1000;text-align:center}.workflow-script-row input{min-width:0;border:0;outline:0;background:transparent;color:#1f2937;font:inherit;font-size:16px;font-weight:1000}.workflow-script-row button{width:28px;height:28px;border:0;border-radius:999px;background:transparent;color:#b8c0cf;cursor:pointer;font-size:14px;font-weight:1000}.workflow-script-row button:hover{background:#fff1f2;color:#ef4444}.workflow-voice-card{display:grid;gap:18px;padding:14px}.workflow-voice-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0;border-radius:12px;background:#ebe4ff;padding:4px}.workflow-voice-tabs button{min-height:38px;border:0;border-radius:9px;background:transparent;color:#7d6aa8;font:inherit;font-size:14px;font-weight:1000;cursor:pointer}.workflow-voice-tabs button.active{background:#fff;color:#7c3aed;box-shadow:0 4px 14px rgba(124,58,237,.12)}.workflow-voice-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.workflow-field{min-width:0;display:grid;gap:8px;color:#9aa3b2;font-size:14px;font-weight:1000}.workflow-field>span{display:flex;align-items:center;justify-content:space-between;gap:10px}.workflow-field>span em{min-width:54px;border-radius:6px;background:#efe7ff;color:#8b5cf6;padding:2px 8px;font-style:normal;text-align:center}.workflow-field select,.workflow-voice-select-wrap{min-width:0;height:58px;border:1px solid #e6e9ef;border-radius:13px;background:#fbfcfe;color:#1f2937;font:inherit;font-size:16px;font-weight:900}.workflow-field select{padding:0 18px}.workflow-voice-select-wrap{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;padding:0 10px 0 12px}.workflow-voice-select-wrap select{height:54px;border:0;background:transparent;padding:0 6px}.workflow-voice-play{width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:999px;background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;cursor:pointer}.workflow-stepper-control{height:58px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;border:1px solid #e6e9ef;border-radius:13px;background:#fff;color:#1f2937}.workflow-stepper-control button{height:100%;border:0;background:transparent;color:#9aa3b2;cursor:pointer;font:inherit;font-size:18px;font-weight:1000}.workflow-stepper-control strong{text-align:center;font-size:18px;font-weight:1000}.workflow-field.range input{width:100%;accent-color:#8b5cf6}.workflow-model-row{display:grid;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:12px;color:#9aa3b2;font-size:14px;font-weight:1000}.workflow-model-toggle,.workflow-quality-row>div{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e6e9ef;border-radius:10px;background:#fbfcfe;padding:3px}.workflow-model-toggle button,.workflow-quality-row button{min-height:32px;border:0;border-radius:8px;background:transparent;color:#9aa3b2;font:inherit;font-size:12px;font-weight:1000;cursor:pointer}.workflow-model-toggle button.active,.workflow-quality-row button.active{background:#fff;color:#7c3aed;box-shadow:0 3px 10px rgba(124,58,237,.12)}.workflow-generate-audio,.workflow-main-generate{min-height:54px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:12px;background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;font:inherit;font-size:17px;font-weight:1000;cursor:pointer;box-shadow:0 12px 24px rgba(124,58,237,.22)}.workflow-generate-audio:disabled,.workflow-main-generate:disabled,.workflow-view-result:disabled{cursor:not-allowed;opacity:.62}.workflow-audio-result{display:grid;gap:12px;border:1px solid #edf0f4;border-radius:16px;background:#fbfcff;padding:16px}.workflow-audio-player,.workflow-audio-result-head{display:flex;align-items:center;gap:12px}.workflow-audio-download,.workflow-audio-player button,.workflow-audio-result-head>button,.workflow-audio-result-head>span{width:40px;height:40px;display:grid;flex:0 0 auto;place-items:center;border:0;border-radius:12px;background:#f1eaff;color:#8b5cf6}.workflow-audio-result-head div{min-width:0;flex:1 1 auto}.workflow-audio-result-head strong{display:flex;align-items:center;gap:8px;color:#1f2937;font-weight:1000}.workflow-audio-result-head em{border-radius:999px;background:#8b5cf6;color:#fff;padding:2px 8px;font-size:11px;font-style:normal}.workflow-audio-result-head p{margin:4px 0 0;color:#7c3aed;font-size:13px;font-weight:900}.workflow-audio-download,.workflow-audio-player button,.workflow-audio-result-head button{border:0;cursor:pointer}.workflow-audio-download{text-decoration:none}.workflow-audio-player button:disabled,.workflow-audio-result-head button:disabled{cursor:not-allowed;opacity:.48}.workflow-audio-player{color:#9aa3b2;font-size:14px;font-weight:900}.workflow-audio-native{min-width:0;width:100%;accent-color:#7c3aed}.workflow-audio-player strong{margin-left:auto;color:#6b7280;font-size:16px;font-variant-numeric:tabular-nums}.workflow-human-actions{margin-left:auto;display:flex;gap:8px}.workflow-human-picker{display:flex;gap:18px;align-items:stretch}.workflow-human-add-card,.workflow-human-card{position:relative;width:150px;height:220px;overflow:hidden;border-radius:26px}.workflow-human-add-card{display:grid;place-items:center;align-content:center;gap:8px;border:2px dashed #e5e7eb;background:#fff;color:#a8b0bf;cursor:pointer}.workflow-human-add-card select{position:absolute;inset:0;opacity:0;cursor:pointer}.workflow-human-add-card span{width:56px;height:56px;display:grid;place-items:center;border-radius:18px;background:#f8fafc;color:#9aa3b2}.workflow-human-add-card em,.workflow-human-add-card strong{font-style:normal;font-weight:1000}.workflow-human-card{border:3px solid #d8c8ff;background:#f8fafc;box-shadow:0 12px 28px rgba(124,58,237,.16)}.workflow-human-card>button{position:absolute;top:10px;right:10px;z-index:2;width:30px;height:30px;border:0;border-radius:999px;background:#ff4d57;color:#fff;cursor:pointer;font-size:22px;font-weight:900;line-height:1}.workflow-human-card img,.workflow-human-card video{width:100%;height:100%;display:block;object-fit:cover}.workflow-human-card>strong{position:absolute;left:10px;right:10px;bottom:10px;overflow:hidden;border-radius:999px;background:rgba(17,24,39,.58);color:#fff;padding:6px 8px;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:1000}.workflow-human-placeholder{width:100%;height:100%;display:grid;place-items:center;align-content:center;gap:8px;color:#9aa3b2}.workflow-video-render-card{display:grid;gap:16px;margin-top:36px;padding:22px}.workflow-render-models{display:grid;grid-template-columns:1fr 1fr;border:1px solid #edf0f4;border-radius:16px;background:#fbfcfe;padding:4px}.workflow-render-models button{min-height:74px;display:grid;grid-template-columns:24px minmax(0,1fr);align-content:center;align-items:center;gap:3px 8px;border:0;border-radius:13px;background:transparent;color:#9aa3b2;font:inherit;cursor:pointer;text-align:left}.workflow-render-models button.active{background:#fff;color:#8b5cf6;box-shadow:0 8px 18px rgba(124,58,237,.16)}.workflow-render-models span:not(.stack-icon),.workflow-render-models strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workflow-render-models strong{font-size:16px;font-weight:1000}.workflow-render-models span:not(.stack-icon){grid-column:2;font-size:12px;font-weight:900}.workflow-quality-row{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:12px;color:#9aa3b2;font-size:13px;font-weight:1000}.workflow-main-generate{min-height:62px;border-radius:14px;font-size:20px}.workflow-view-result{min-height:54px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid #dfd2ff;border-radius:13px;background:#fff;color:#8b5cf6;font:inherit;font-size:16px;font-weight:1000;cursor:pointer}.video-workflow-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.video-workflow-task-footer{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:18px;align-items:center}.video-workflow-task-message{min-width:0}.workflow-human-preview{display:grid;gap:6px;min-height:360px;align-content:start;border:1px solid var(--line);border-radius:12px;background:var(--accent-tint);padding:12px}.workflow-human-preview span{color:var(--muted);font-size:13px;font-weight:800}.workflow-human-preview video{width:100%;max-height:460px;border-radius:8px;background:#171717}.video-workflow-publish .works-page-heading .btn{display:none}.video-picker-backdrop{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:24px;background:rgba(22,32,72,.44);backdrop-filter:blur(8px)}.video-picker-modal{width:min(980px,100%);max-height:min(760px,calc(100dvh - 48px));overflow:auto;display:grid;gap:18px;border:1px solid var(--line);border-radius:24px;background:var(--panel);padding:24px;box-shadow:0 24px 80px rgba(33,55,130,.26)}.replacement-success-backdrop{z-index:70}.replacement-success-modal{width:min(440px,100%);display:grid;gap:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel);padding:24px;box-shadow:0 24px 80px rgba(33,55,130,.26)}.replacement-success-modal h2,.replacement-success-modal p{margin:0}.replacement-success-modal p{margin-top:6px;color:var(--muted);line-height:1.6}.replacement-success-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--accent-strong));color:white;font-size:24px;font-weight:900}.replacement-success-preview{position:relative;overflow:hidden;width:100%;aspect-ratio:16/9;border-radius:8px;background:#25231f}.replacement-success-preview img,.replacement-success-preview video{width:100%;height:100%;display:block;object-fit:cover}.replacement-success-preview span{position:absolute;left:12px;right:12px;bottom:12px;color:white;font-size:15px;font-weight:900;text-align:center;text-shadow:0 1px 3px #000,0 2px 10px rgba(0,0,0,.8);overflow-wrap:anywhere}.replacement-success-actions{display:flex;justify-content:flex-end;gap:8px}.video-draft-clear-backdrop{z-index:75}.video-draft-clear-modal{width:min(440px,100%);display:grid;gap:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:22px;box-shadow:0 24px 80px rgba(33,55,130,.26)}.video-draft-clear-modal h2,.video-draft-clear-modal p{margin:0}.video-draft-clear-modal p{margin-top:8px;color:var(--muted);line-height:1.6}.video-draft-clear-actions{display:flex;justify-content:flex-end;gap:8px}.video-draft-clear-confirm{background:var(--danger)}.subtitle-template-modal{width:min(1040px,100%);max-height:min(840px,calc(100dvh - 48px));overflow:auto;display:grid;gap:18px;border:1px solid var(--line);border-radius:20px;background:var(--panel);padding:24px;box-shadow:0 24px 80px rgba(33,55,130,.26)}.subtitle-template-modal-actions{display:flex;gap:8px}.subtitle-template-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.subtitle-template-card{min-width:0;display:grid;gap:10px;border:1px solid var(--line);border-radius:10px;background:var(--accent-tint);color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}.subtitle-template-card:hover{transform:translateY(-1px);border-color:var(--accent)}.subtitle-template-card.active{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.subtitle-template-preview-screen{position:relative;overflow:hidden;width:100%;aspect-ratio:9/16;border-radius:6px;background:#302e2a}.subtitle-template-preview-screen img,.subtitle-template-preview-screen video{width:100%;height:100%;display:block;object-fit:cover}.subtitle-template-preview-placeholder{width:100%;height:100%;background:#5a554d}.subtitle-template-preview-caption{position:absolute;color:white;font-weight:1000;line-height:1.1;white-space:nowrap}.subtitle-template-card-name{display:block;padding:2px 2px 3px;font-size:13px;font-weight:900;text-align:center}.subtitle-template-gallery-modal{width:min(1180px,100%);max-height:min(860px,calc(100dvh - 40px));gap:22px;padding:20px 24px 18px;border-radius:14px;background:#ffffff;box-shadow:0 24px 80px rgba(25,32,56,.22)}.subtitle-template-gallery-footer,.subtitle-template-gallery-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.subtitle-template-gallery-title{display:flex;align-items:center;gap:10px}.subtitle-template-gallery-title>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#f3edff;color:#7c3aed;font-size:16px}.subtitle-template-gallery-title h2{margin:0;color:#1f2937;font-size:18px}.subtitle-template-gallery-title p{margin:4px 0 0;color:#9aa3b2;font-size:12px}.subtitle-template-gallery-close{width:28px;height:28px;padding:0;border:0;background:transparent;color:#a5adba;cursor:pointer;font-size:24px;line-height:1}.subtitle-template-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:2px}.subtitle-template-gallery-grid .subtitle-template-card{position:relative;min-height:292px;overflow:hidden;padding:0;border-color:#e9edf3;border-radius:10px;background:#ffffff;box-shadow:0 2px 10px rgba(28,35,53,.06)}.subtitle-template-gallery-grid .subtitle-template-card:hover{border-color:#c8b5ff;box-shadow:0 8px 20px rgba(75,47,142,.14)}.subtitle-template-gallery-grid .subtitle-template-preview-screen,.subtitle-template-gallery-grid .template-phone-preview{height:248px;aspect-ratio:auto;border-radius:9px 9px 0 0}.subtitle-template-gallery-grid .subtitle-template-card-name{min-height:42px;display:flex;align-items:center;justify-content:center;padding:8px 10px;color:#596273;background:#ffffff;font-size:12px;font-weight:800}.subtitle-template-selected-mark{position:absolute;top:8px;right:8px;z-index:5;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#8b5cf6;color:#ffffff;font-size:13px;font-weight:900;box-shadow:0 2px 6px rgba(76,47,145,.28)}.subtitle-template-gallery-footer{justify-content:flex-end;padding-top:2px;border-top:1px solid #f0f2f6}.subtitle-template-gallery-footer .btn{min-width:92px}.subtitle-template-card{position:relative;padding:8px}.subtitle-template-card-select{min-width:0;display:grid;gap:10px;border:0;background:transparent;color:inherit;padding:0;font:inherit;cursor:pointer}.subtitle-template-card-actions{position:absolute;left:50%;top:50%;z-index:4;display:flex;gap:18px;opacity:0;pointer-events:none;transform:translate(-50%,-50%);transition:opacity .16s ease}.subtitle-template-card:focus-within .subtitle-template-card-actions,.subtitle-template-card:hover .subtitle-template-card-actions{opacity:1;pointer-events:auto}.subtitle-template-card-actions button{width:56px;height:56px;display:grid;place-items:center;border:0;border-radius:999px;background:#fff;color:#7c3aed;box-shadow:0 12px 28px rgba(17,24,39,.16);cursor:pointer;transition:transform .16s ease,color .16s ease,box-shadow .16s ease}.subtitle-template-card-actions button:hover{color:#5b21b6;transform:translateY(-1px);box-shadow:0 16px 34px rgba(124,58,237,.24)}.subtitle-template-copy-tip{position:absolute;left:50%;bottom:42px;z-index:5;transform:translateX(-50%);border-radius:999px;background:rgba(17,24,39,.82);color:#fff;padding:5px 10px;font-size:12px;font-style:normal;font-weight:900;white-space:nowrap}.template-phone-preview{position:relative;overflow:hidden;width:100%;aspect-ratio:9/16;border-radius:12px;background:#1f2937}.workflow-clip-template-preview .template-phone-preview{height:100%;border-radius:8px}.template-phone-preview.large{width:min(100%,420px);border-radius:22px;box-shadow:0 18px 42px rgba(17,24,39,.18)}.template-phone-preview img,.template-phone-preview video{width:100%;height:100%;display:block;object-fit:cover}.template-phone-placeholder{width:100%;height:100%;background:linear-gradient(180deg,rgba(255,255,255,.16),transparent 36%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='640' viewBox='0 0 360 640'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%23607152'/%3E%3Cstop offset='0.48' stop-color='%233f4a38'/%3E%3Cstop offset='1' stop-color='%23201d1a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='360' height='640' fill='url(%23g)'/%3E%3Crect x='28' y='230' width='128' height='80' rx='10' fill='%238a6542' opacity='.92'/%3E%3Crect x='185' y='250' width='120' height='54' rx='12' fill='%23c9c2b5' opacity='.7'/%3E%3Crect x='40' y='95' width='280' height='100' rx='8' fill='%23ffffff' opacity='.12'/%3E%3Cpath d='M0 390 C90 360 150 405 250 375 C305 358 335 372 360 384 L360 640 L0 640 Z' fill='%23171413' opacity='.55'/%3E%3C/svg%3E") 50% /cover}.template-readability-mid,.template-readability-top{position:absolute;left:0;right:0;pointer-events:none}.template-readability-top{top:0;height:30%;background:linear-gradient(180deg,rgba(0,0,0,.36),transparent)}.template-readability-mid{top:48%;height:24%;background:radial-gradient(ellipse at center,rgba(0,0,0,.28),transparent 68%)}.template-preview-layer span{-webkit-text-stroke:inherit}.subtitle-template-preview-modal{width:min(1180px,100%);max-height:min(860px,calc(100dvh - 48px));gap:18px;overflow:auto;border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:0 24px 80px rgba(17,24,39,.28)}.subtitle-template-preview-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.subtitle-template-preview-head span{color:var(--muted);font-size:12px;font-weight:900}.subtitle-template-preview-head h2{margin:4px 0 0;color:var(--text);font-size:24px}.subtitle-template-preview-head>div:last-child{display:flex;gap:8px}.subtitle-template-preview-body{display:grid;grid-template-columns:minmax(320px,.82fr) minmax(420px,1fr);gap:18px}.subtitle-template-json-pane,.subtitle-template-preview-pane{min-width:0;border:1px solid var(--line);border-radius:18px;background:#f8fafc}.subtitle-template-preview-pane{display:grid;place-items:center;padding:22px}.subtitle-template-json-pane{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.subtitle-template-json-pane h3{margin:0;border-bottom:1px solid var(--line);padding:14px 16px;color:var(--text);font-size:16px}.subtitle-template-json-pane pre{min-height:0;margin:0;overflow:auto;background:#101827;color:#dbeafe;padding:16px;font-size:12px;line-height:1.6}.subtitle-template-preview-backdrop{align-items:stretch;justify-content:stretch;padding:0;background:rgba(248,249,252,.96)}.subtitle-template-preview-modal{position:relative;width:100%;height:100dvh;max-height:none;display:grid;grid-template-rows:54px minmax(0,1fr) 70px;gap:0;overflow:hidden;border:0;border-radius:0;background:#fff;padding:0;box-shadow:none}.subtitle-preview-close{position:absolute;top:12px;right:14px;z-index:3;width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:999px;background:transparent;color:#8b919d;cursor:pointer}.subtitle-preview-close:hover{background:#f3f4f8;color:#111827}.subtitle-template-preview-titlebar{display:flex;align-items:center;border-bottom:1px solid #edf0f4;padding:0 22px}.subtitle-template-preview-titlebar h2{margin:0;color:#111827;font-size:16px;font-weight:1000}.subtitle-template-preview-modal .subtitle-template-preview-body{min-height:0;display:grid;grid-template-columns:360px minmax(0,1fr);gap:0}.subtitle-template-preview-modal .subtitle-template-preview-pane{min-height:0;display:grid;place-items:center;border:0;border-right:1px solid #edf0f4;border-radius:0;background:linear-gradient(180deg,#fafbfe,#f5f6fa);padding:32px 22px}.subtitle-template-preview-modal .template-phone-preview.large{width:315px;max-width:100%;border:1px solid rgba(255,255,255,.9);border-radius:22px;box-shadow:0 20px 50px rgba(17,24,39,.18)}.subtitle-template-config-pane{min-height:0;overflow-y:auto;background:#fff;padding:22px 24px 92px}.subtitle-template-config-head{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #edf0f4;padding:0 0 16px}.subtitle-template-config-head h3{position:relative;margin:0;padding-left:14px;color:#1f2937;font-size:16px;font-weight:1000}.subtitle-template-config-head h3:before{position:absolute;left:0;top:1px;width:5px;height:24px;border-radius:999px;background:#8b5cf6;content:""}.subtitle-template-notice{margin:8px 0 14px;background:#fff4e8;color:#f97316;padding:9px 18px;font-size:12px;font-weight:900}.subtitle-template-field{display:grid;gap:8px}.subtitle-template-field.full{max-width:580px;margin-bottom:18px}.subtitle-template-field label{display:flex;align-items:center;justify-content:space-between;color:#475569;font-size:16px;font-weight:1000}.subtitle-color-input,.subtitle-template-field input:not([type=range]){min-height:50px;display:flex;align-items:center;gap:12px;border:1px solid #edf0f4;border-radius:11px;background:#fff;color:#b6bdc8;padding:0 14px;font:inherit;font-weight:900}.subtitle-template-field input:disabled{opacity:1}.subtitle-template-field input:not([type=range]):not([type=color]):not(:disabled){color:#334155;border-color:#d8ccff;box-shadow:0 0 0 3px rgba(139,92,246,.08)}.subtitle-template-tabs{display:flex;gap:26px;border-bottom:1px solid #edf0f4;margin-bottom:22px}.subtitle-template-tabs button{position:relative;min-height:38px;border:0;background:transparent;color:#a1a9b7;font:inherit;font-weight:1000;cursor:default}.subtitle-template-tabs button.active{color:#7c3aed}.subtitle-template-tabs button.active:after{position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:999px;background:#7c3aed;content:""}.subtitle-template-config-grid{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:22px 26px;max-width:650px}.subtitle-align-group,.subtitle-template-style-buttons{display:flex;gap:12px}.subtitle-align-group button,.subtitle-template-style-buttons button{min-width:48px;height:48px;border:1px solid #edf0f4;border-radius:10px;background:#fff;color:#c0c6d0;font:inherit;font-size:20px;font-weight:900}.subtitle-align-group{justify-content:space-between;border:1px solid #edf0f4;border-radius:11px;background:#fafbfc;padding:4px}.subtitle-align-group button{min-width:44px;height:40px;border:0;background:transparent;font-size:16px}.subtitle-align-group button.active{background:#fff;color:#8b5cf6;box-shadow:0 4px 12px rgba(17,24,39,.06)}.subtitle-color-input i{width:20px;height:20px;flex:0 0 auto;border:1px solid #cbd5e1;border-radius:2px}.subtitle-color-input input[type=color]{width:22px;height:22px;min-height:0;display:block;flex:0 0 auto;border:1px solid #cbd5e1;border-radius:3px;background:transparent;cursor:pointer;padding:0}.subtitle-color-input input[type=color]::-webkit-color-swatch-wrapper{padding:0}.subtitle-color-input input[type=color]::-webkit-color-swatch{border:0;border-radius:2px}.subtitle-color-input input[type=color]:disabled{cursor:default}.subtitle-color-input:has(input:not(:disabled)){color:#334155;border-color:#d8ccff;box-shadow:0 0 0 3px rgba(139,92,246,.08)}.subtitle-color-input i.transparent{background:linear-gradient(45deg,#e5e7eb 25%,transparent 0),linear-gradient(-45deg,#e5e7eb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#e5e7eb 0),linear-gradient(-45deg,transparent 75%,#e5e7eb 0);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.subtitle-fake-toggle{width:28px;height:16px;display:inline-block;border:0;border-radius:999px;background:#d1d5db;cursor:pointer;padding:0}.subtitle-fake-toggle.on{background:#a78bfa}.subtitle-fake-toggle:disabled{cursor:default}.subtitle-template-preview-footer{position:relative;z-index:2;display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #edf0f4;background:rgba(255,255,255,.92);padding:12px 22px;box-shadow:0 -12px 28px rgba(17,24,39,.06)}.cover-template-modal{width:min(1120px,100%)}.cover-template-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.cover-template-preview-screen{position:relative;overflow:hidden;width:100%;aspect-ratio:9/16;border-radius:6px;background:#302e2a}.cover-template-preview-screen img,.cover-template-preview-screen video{width:100%;height:100%;display:block;object-fit:cover}.cover-template-preview-placeholder{width:100%;height:100%;background:radial-gradient(circle at 50% 28%,rgba(255,255,255,.18),transparent 34%),linear-gradient(180deg,#5a554d,#272521)}.cover-template-preview-copy{position:absolute;left:50%;z-index:2;width:calc(100% - 18px);text-align:center}.cover-template-preview-main,.cover-template-preview-sub{display:block;width:max-content;max-width:100%;margin:0 auto;font-weight:1000;line-height:1.06;overflow-wrap:anywhere}.cover-template-preview-sub{margin-top:4px}.video-picker-header,.video-picker-tools{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.video-picker-header h2{margin:0}.video-picker-tools .input{max-width:320px}.video-picker-tabs{display:flex;flex-wrap:wrap;gap:10px}.video-picker-tabs button,.video-picker-tags button{border:1px solid var(--line);border-radius:999px;background:var(--accent-tint);color:var(--muted);padding:10px 20px;font:inherit;font-weight:900;cursor:pointer}.video-picker-tabs button.active,.video-picker-tags button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.video-picker-tags{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:var(--muted)}.video-picker-tags strong{color:var(--text)}.video-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.video-picker-toast{position:fixed;top:78px;left:50%;z-index:80;transform:translateX(-50%);border:1px solid rgba(80,104,242,.26);border-radius:999px;background:rgba(231,236,255,.96);color:var(--accent);padding:10px 18px;font-weight:900;box-shadow:0 12px 34px rgba(33,55,130,.16);pointer-events:none}.video-picker-card{min-width:0;display:grid;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--accent-tint);color:var(--text);text-align:left;cursor:pointer;transition:transform .16s ease,border-color .16s ease,opacity .16s ease}.video-picker-card:hover:not(:disabled){transform:translateY(-1px);border-color:var(--accent)}.video-picker-card:disabled{cursor:not-allowed;opacity:.55}.video-picker-audio-list{display:grid;gap:12px}.video-picker-audio-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,360px) auto;gap:14px;align-items:center;border:1px solid var(--line);border-radius:14px;background:var(--accent-tint);padding:14px}.video-picker-audio-card div{min-width:0;display:grid;gap:4px}.video-picker-audio-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-picker-audio-card small{color:var(--muted);font-weight:800}.video-picker-audio-card audio{width:100%}.billing-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.billing-heading p{margin:8px 0 0}.redeem-modal{width:min(480px,100%);background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:28px;box-shadow:0 22px 70px rgba(33,55,130,.22);display:grid;gap:18px}.redeem-code-input{text-transform:uppercase;letter-spacing:0}.redeem-submit{width:100%;min-height:48px}.redeem-success{margin:0;color:var(--accent);font-weight:700}.auth-page{min-height:100dvh;display:grid;place-items:center;padding:24px}.auth-card{width:min(440px,100%);background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:26px}.auth-modal-backdrop{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;background:rgba(15,23,42,.42);padding:20px;backdrop-filter:blur(10px)}.auth-modal{max-height:min(92vh,720px);overflow:auto}.auth-modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.auth-modal-heading h2{margin:0}.auth-modal-error{margin:0;color:var(--danger);font-weight:800}.home-landing{min-height:calc(100dvh - 74px);color:#161b31;background:radial-gradient(circle at 51% 26%,rgba(108,78,232,.13),transparent 19rem),radial-gradient(circle at 49% 76%,rgba(135,98,224,.16),transparent 18rem),linear-gradient(180deg,rgba(255,255,255,.96),rgba(244,241,252,.95));overflow:hidden;position:relative;padding:clamp(34px,4.4vw,68px) 24px 42px}.home-landing:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(88,65,180,.035) 1px,transparent 0),linear-gradient(180deg,rgba(88,65,180,.03) 1px,transparent 0);background-size:72px 72px;mask-image:radial-gradient(circle at center,black,transparent 74%)}.home-nav{position:relative;z-index:1;height:76px;justify-content:space-between;gap:24px;padding:0 clamp(24px,5vw,72px);border-bottom:1px solid rgba(121,109,190,.14);background:rgba(255,255,255,.58);backdrop-filter:blur(18px)}.home-brand,.home-nav{display:flex;align-items:center}.home-brand{gap:10px;font-weight:1000}.home-brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;color:white;background:linear-gradient(135deg,#4f63f0,#8c55d9);box-shadow:0 12px 24px rgba(91,70,206,.28)}.home-nav-actions{display:flex;align-items:center;gap:18px;color:rgba(22,27,49,.74);font-size:14px;font-weight:850}.home-nav-link{min-height:34px;border:0;background:transparent;color:inherit;cursor:pointer}.home-nav-dot{width:19px;height:19px;border-radius:999px;background:linear-gradient(135deg,#6b5cf4,#9f59d6);box-shadow:inset 0 0 0 5px rgba(255,255,255,.66),0 0 0 1px rgba(103,84,210,.18)}.home-nav-primary{min-height:40px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:11px;color:white;background:linear-gradient(135deg,#6e5bed,#9c4fd0);box-shadow:0 12px 28px rgba(109,77,213,.24);padding:0 18px;font-weight:950;cursor:pointer}.home-nav-primary.ghost{background:linear-gradient(135deg,#7b62ee,#8654d6)}.home-hero{position:relative;z-index:1;width:min(1180px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:80px;align-items:center}.home-eyebrow{display:flex;align-items:center;gap:14px;color:#6c57d9;font-size:13px;font-weight:1000;letter-spacing:.2em}.home-eyebrow span{width:68px;height:2px;background:linear-gradient(90deg,transparent,#6b5cf4)}.home-hero h1{margin:24px 0 10px;max-width:720px;font-size:clamp(60px,7.3vw,118px);line-height:.98;font-weight:1000;letter-spacing:0;text-wrap:balance}.home-hero h1 span{display:block;color:#161b31}.home-hero h1{color:#563eed;text-shadow:10px 10px 0 rgba(86,62,237,.08)}.home-hero p{margin:0;color:rgba(22,27,49,.42);font-size:20px;font-weight:850}.home-hero-action{display:grid;justify-items:center;gap:14px}.home-hero-action>span{font-weight:950;color:rgba(22,27,49,.9)}.home-bottom-button,.home-hero-button{min-height:74px;display:inline-flex;align-items:center;justify-content:center;gap:16px;border-radius:20px;color:white;background:linear-gradient(135deg,#755ce5,#9c4fd0);box-shadow:0 22px 42px rgba(109,77,213,.27);padding:0 38px;font-size:24px;font-weight:1000;transition:transform .18s ease,box-shadow .18s ease}.home-bottom-button:hover,.home-feature-card:hover,.home-hero-button:hover{transform:translateY(-3px)}.home-camera-icon{width:25px;height:18px;border:3px solid;border-radius:5px;position:relative}.home-camera-icon:after{content:"";position:absolute;right:-11px;top:3px;border-left:9px solid;border-top:4px solid transparent;border-bottom:4px solid transparent}.home-proof{display:flex;gap:14px;color:rgba(22,27,49,.58);font-size:12px;font-weight:900}.home-proof-card{min-width:220px;display:flex;align-items:center;gap:12px;border-radius:18px;background:rgba(255,255,255,.72);box-shadow:0 20px 42px rgba(48,47,99,.08);padding:16px 20px}.home-proof-card strong{font-size:18px}.home-proof-card span{color:rgba(22,27,49,.48);font-size:12px;font-weight:900}.home-avatars{display:flex}.home-avatars i{width:25px;height:25px;border-radius:999px;border:2px solid white;background:linear-gradient(135deg,#615af1,#f1b66d)}.home-avatars i+i{margin-left:-8px}.home-feature-row{position:relative;z-index:1;width:min(1180px,100%);min-height:430px;display:grid;grid-template-columns:.95fr 1.75fr 1fr 1fr;gap:22px;align-items:stretch;margin:42px auto 0}.home-feature-card{position:relative;min-height:390px;overflow:hidden;border:1px solid rgba(132,122,189,.15);border-radius:32px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(247,246,255,.78));box-shadow:0 28px 58px rgba(64,53,126,.12);padding:32px 30px;transition:transform .18s ease,box-shadow .18s ease}.home-feature-card h2{position:relative;z-index:2;max-width:240px;margin:40px 0 8px;color:#171c31;font-size:clamp(28px,2.2vw,42px);line-height:1.04;font-weight:1000;text-wrap:balance}.home-feature-card p{position:relative;z-index:2;margin:0;color:rgba(22,27,49,.48);font-weight:900}.home-feature-index{position:absolute;z-index:2;top:28px;left:30px;color:#563eed;font-size:22px;font-weight:1000}.card-03 .home-feature-index{color:#b5851f}.card-04 .home-feature-index{color:#21956b}.home-feature-media{position:absolute;inset:auto 18px 18px auto;z-index:1;display:flex;align-items:flex-end;justify-content:flex-end;gap:12px;width:68%;height:66%}.home-feature-media img{width:min(180px,70%);height:100%;object-fit:cover;border-radius:28px;box-shadow:0 18px 35px rgba(31,34,70,.2);transform:rotate(-6deg)}.home-feature-card.card-02 .home-feature-media{width:62%;height:70%}.home-feature-card.card-02 .home-feature-media img{width:48%}.home-feature-card.card-02 .home-feature-media img:first-child{transform:rotate(-9deg) translateY(30px)}.home-feature-card.card-02 .home-feature-media img:last-child{transform:rotate(4deg)}.home-feature-card.card-03 .home-feature-media,.home-feature-card.card-04 .home-feature-media{width:62%;height:64%}.home-feature-arrow{position:absolute;z-index:3;left:30px;bottom:30px;width:52px;height:52px;display:grid;place-items:center;border-radius:999px;color:white;background:linear-gradient(135deg,#705de3,#9f51cf);font-size:28px;font-weight:800;box-shadow:0 14px 28px rgba(94,75,208,.26)}.home-bottom-cta{position:relative;z-index:1;display:grid;justify-items:center;gap:22px;margin:76px auto 0;padding-bottom:0}.home-bottom-cta>span{color:#705de3;font-size:12px;font-weight:1000;letter-spacing:.24em}.home-bottom-button{min-width:min(520px,calc(100vw - 48px));min-height:86px;border-radius:28px;font-size:30px}.home-bottom-cta small{color:rgba(22,27,49,.14);font-size:12px;font-weight:1000;letter-spacing:.28em}@media (max-width:900px){.home-nav{height:auto;display:grid;padding:18px}.home-nav-actions{flex-wrap:wrap;gap:10px}.home-hero{width:min(100% - 32px,620px);grid-template-columns:1fr;gap:34px;margin-top:42px}.home-hero h1{font-size:clamp(52px,16vw,76px)}.home-feature-row{width:min(100% - 32px,620px);grid-template-columns:1fr}.home-feature-card{min-height:360px}.home-feature-card.card-02 .home-feature-media,.home-feature-media{width:58%}.home-bottom-cta{margin-top:58px}.app-grid{grid-template-columns:1fr}.sidebar{position:static;height:auto}.nav{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar-member-card{margin-top:18px}.topbar{height:auto;min-height:68px;align-items:flex-start;padding:12px 16px}.app-topbar-actions{width:100%;flex-wrap:wrap;gap:10px}.topbar-create-button{flex:1;justify-content:center}.create-task-layout,.digital-human-preview.is-active,.grid-2,.grid-3,.split,.task-resource-grid,.trending-copy-panel{grid-template-columns:1fr}.digital-human-preview-panel{position:static}.digital-human-preview{max-width:340px;margin:0 auto}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-page-heading,.digital-human-page-heading,.voice-page-heading{display:grid}.digital-human-library-grid,.voice-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.digital-human-card-preview{max-height:420px}.billing-heading{display:grid}.video-creation-shell{grid-template-columns:1fr}.video-creation-preview-panel{grid-column:auto;grid-row:auto;position:static}.video-creation-top-grid{grid-template-columns:1fr}.video-creation-page-actions{width:100%;justify-content:flex-start}.video-creation-page-actions .btn{flex:1}.video-creation-form-grid{grid-template-columns:1fr}.video-creation-brief-card,.video-creation-material-card,.video-creation-subtitle-card{grid-column:auto;grid-row:auto}.video-workflow-modebar{width:100%;justify-content:flex-start}.video-workflow-stepper{grid-template-columns:1fr}.video-workflow-stepper button{justify-content:flex-start;padding:0 10px}.video-workflow-stepper button:not(:last-child):after{display:none}.video-workflow-copy-grid{grid-template-columns:1fr}.video-workflow-digital-grid{grid-template-columns:1fr;grid-template-areas:"title" "script" "voice" "human"}.workflow-quality-row,.workflow-quality-row>div,.workflow-render-models,.workflow-voice-form-grid{grid-template-columns:1fr}.workflow-human-picker{flex-wrap:wrap}.video-workflow-task-footer{grid-template-columns:1fr}.video-workflow-task-footer .video-workflow-actions{justify-content:flex-start}.workflow-subtitle-row{grid-template-columns:30px minmax(0,1fr)}.workflow-subtitle-row .btn{grid-column:2;width:max-content}.clip-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.clip-row,.clip-row.workbench{grid-template-columns:30px 82px minmax(0,1fr)}.clip-timeline.compact{max-height:360px}.clip-row-actions{grid-column:1/-1;justify-content:flex-start}.compact-controls{grid-template-columns:1fr}.subtitle-timeline-heading{display:grid}.subtitle-generation-mode{width:100%}.subtitle-timeline-actions{justify-content:flex-start}.subtitle-segment-row{grid-template-columns:34px 1fr 1fr}.subtitle-segment-actions,.subtitle-segment-text{grid-column:1/-1}.subtitle-segment-actions .btn{flex:1}.asset-modal-backdrop,.video-picker-backdrop{padding:12px}.video-picker-modal{max-height:calc(100dvh - 24px);border-radius:20px;padding:18px}.replacement-success-modal{padding:18px}.replacement-success-actions .btn,.video-draft-clear-actions .btn{flex:1}.subtitle-template-modal{max-height:calc(100dvh - 24px);padding:16px}.cover-template-grid,.subtitle-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subtitle-template-modal-actions{width:100%}.subtitle-template-modal-actions .btn{flex:1}.video-picker-header,.video-picker-tools{display:grid}.video-picker-tools .input{max-width:none}.video-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.video-picker-audio-card{grid-template-columns:1fr}.asset-modal{border-radius:20px;padding:22px 18px;gap:16px}.asset-dropzone{min-height:170px;border-radius:22px}.asset-dropzone strong{font-size:20px}.asset-dropzone span{font-size:16px}.asset-tag-row,.publish-platform-grid,.publish-three-column{grid-template-columns:1fr}.publish-account-hero,.publish-account-panel-heading{display:grid}.publish-account-toolbar{grid-template-columns:1fr}.publish-account-adds{justify-content:flex-start}.publish-account-adds .btn,.publish-account-sync{width:100%}.publish-account-tip{border-radius:18px}.publish-video-layout{grid-template-columns:1fr}.publish-video-actions{position:static}.publish-label-row{align-items:stretch;display:grid}.publish-copy-picker-backdrop{padding:12px}.publish-copy-picker-modal{max-height:calc(100dvh - 24px);padding:16px}.asset-submit{min-height:56px;font-size:18px}}.ext-panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px 24px;box-shadow:0 1px 3px rgba(15,23,42,.04),0 1px 2px rgba(15,23,42,.02);display:flex;flex-direction:column;overflow:hidden}.ext-tabs{display:flex;gap:0;margin-bottom:20px;background:#f3f4f6;border-radius:12px;padding:4px}.ext-tab-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 20px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:13px;font-weight:700;cursor:pointer;transition:all .2s ease;white-space:nowrap}.ext-tab-btn:hover{color:var(--text);background:rgba(255,255,255,.6)}.ext-tab-btn.is-active{background:#fff;color:var(--accent-strong);box-shadow:0 1px 3px rgba(15,23,42,.06)}.ext-tab-btn svg{width:18px;height:18px;flex-shrink:0}.ext-url-wrap{position:relative;margin-bottom:8px}.ext-url-input{width:100%;height:48px;padding:0 110px 0 16px;border:1px solid var(--line);border-radius:12px;background:#f9fafb;color:var(--text);font-size:13px;outline:none;transition:all .2s ease;box-shadow:inset 0 1px 2px rgba(15,23,42,.03)}.ext-url-input:focus{border-color:var(--accent-strong);box-shadow:0 0 0 4px rgba(122,92,240,.06);background:#fff}.ext-url-input::placeholder{color:#c4c4c4}.ext-url-submit{position:absolute;right:6px;top:6px;bottom:6px;display:flex;align-items:center;gap:6px;padding:0 16px;border:0;border-radius:10px;background:var(--accent-strong);color:#fff;font-size:12px;font-weight:700;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px rgba(122,92,240,.25);white-space:nowrap}.ext-url-submit:hover:not(:disabled){background:#6d28d9;box-shadow:0 4px 12px rgba(122,92,240,.35);transform:translateY(-1px)}.ext-url-submit:active:not(:disabled){transform:scale(.96)}.ext-url-submit:disabled{opacity:.5;cursor:not-allowed;transform:none}.ext-url-submit svg{width:14px;height:14px}.ext-hint{display:flex;align-items:flex-start;gap:8px;margin-bottom:16px}.ext-hint svg{width:14px;height:14px;flex-shrink:0;margin-top:1px;color:var(--accent-strong)}.ext-hint p{margin:0;font-size:11px;color:var(--muted);line-height:1.6}.ext-history-head{display:flex;align-items:center;gap:8px;margin-bottom:12px;padding:0 2px}.ext-history-head svg{width:14px;height:14px;color:var(--accent-strong);flex-shrink:0}.ext-history-head span{font-size:12px;font-weight:700;color:var(--muted)}.ext-history-list{flex:1;overflow-y:auto;overscroll-behavior:contain;display:grid;gap:8px;align-content:start;padding-right:4px;min-height:350px;max-height:400px}.ext-history-card{display:flex;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;transition:all .2s ease;min-height:110px;overflow:hidden}.ext-history-card:hover{box-shadow:0 4px 12px rgba(15,23,42,.06);border-color:var(--accent-soft)}.ext-history-cover{width:44px;height:78px;border-radius:8px;overflow:hidden;position:relative;flex-shrink:0;background:#f3f4f6;border:1px solid var(--line)}.ext-history-cover img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.ext-history-card:hover .ext-history-cover img{transform:scale(1.05)}.ext-history-cover-overlay{position:absolute;inset:0;background:rgba(0,0,0,.08);display:flex;flex-direction:column;align-items:center;justify-content:center;transition:background .2s ease}.ext-history-card:hover .ext-history-cover-overlay{background:rgba(0,0,0,.15)}.ext-history-cover-overlay svg{width:18px;height:18px;color:#fff;opacity:.8;transition:transform .2s ease;margin-bottom:2px}.ext-history-card:hover .ext-history-cover-overlay svg{transform:scale(1.1)}.ext-history-body{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between;padding:2px 0}.ext-history-badge{display:inline-flex;align-items:center;padding:2px 6px;border-radius:999px;background:#111;color:#fff;font-size:9px;font-weight:700;width:fit-content;margin-bottom:2px}.ext-history-title{font-size:12px;font-weight:700;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:2px}.ext-history-card:hover .ext-history-title{color:var(--accent-strong)}.ext-history-text{font-size:10px;color:var(--muted);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ext-history-meta{display:flex;align-items:center;justify-content:space-between;margin-top:6px}.ext-history-time{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--muted)}.ext-history-time svg{width:10px;height:10px}.ext-history-actions{display:flex;align-items:center;gap:2px;opacity:0;transition:opacity .2s ease}.ext-history-card:hover .ext-history-actions{opacity:1}.ext-history-action{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer;transition:all .15s ease;padding:0}.ext-history-action:hover{color:var(--accent-strong);background:var(--accent-tint)}.ext-history-action.danger:hover{color:var(--danger);background:#fef2f2}.ext-history-action svg{width:14px;height:14px}.ext-history-action.is-disabled{opacity:.3;pointer-events:none}.ext-history-empty{padding:28px;text-align:center;color:var(--muted);font-size:13px}.ext-result-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;flex-shrink:0}.ext-result-head h4{margin:0;font-size:15px;font-weight:800;color:var(--text);display:flex;align-items:center;gap:8px}.ext-result-head h4 svg{width:18px;height:18px;color:var(--accent-strong)}.ext-result-head .ext-word-badge{font-size:11px;font-weight:600;color:var(--muted)}.ext-result-hint{display:flex;align-items:flex-start;gap:8px;margin-bottom:12px;flex-shrink:0}.ext-result-hint svg{width:14px;height:14px;flex-shrink:0;margin-top:1px;color:var(--accent-strong)}.ext-result-hint span{font-size:11px;color:var(--muted);line-height:1.6}.ext-textarea-wrap{position:relative;flex:1;display:flex;flex-direction:column;min-height:200px}.ext-textarea{width:100%;flex:1;min-height:260px;padding:20px;border:1px solid var(--line);border-radius:16px;background:#f9fafb;color:var(--text);font-size:14px;font-weight:500;line-height:1.8;letter-spacing:.02em;resize:vertical;outline:none;transition:all .2s ease;box-shadow:inset 0 1px 3px rgba(15,23,42,.03);font-family:inherit}.ext-textarea:focus{border-color:var(--accent-strong);box-shadow:0 0 0 4px rgba(122,92,240,.05);background:#fff}.ext-textarea::placeholder{color:#c4c4c4}.ext-textarea:disabled{opacity:.5}.ext-bottom-bar{display:flex;flex-direction:column;gap:16px;padding-top:20px;margin-top:16px;border-top:1px solid var(--line);flex-shrink:0}.ext-bottom-top{display:flex;align-items:center;justify-content:space-between;padding:0 2px}.ext-bottom-label{display:flex;align-items:center;gap:8px}.ext-bottom-label .dot{width:6px;height:6px;border-radius:50%;background:var(--accent-strong);animation:ext-pulse 1.5s ease-in-out infinite}@keyframes ext-pulse{0%,to{opacity:1}50%{opacity:.4}}.ext-bottom-label span{font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.ext-wordcount{display:flex;align-items:center;gap:4px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:2px 2px 2px 12px;box-shadow:0 1px 2px rgba(15,23,42,.03);transition:border-color .2s ease}.ext-wordcount:hover{border-color:var(--accent-soft)}.ext-wordcount svg{width:12px;height:12px;color:var(--muted)}.ext-wordcount-label{font-size:11px;font-weight:700;color:var(--muted);white-space:nowrap}.ext-wordcount-btn{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:14px;font-weight:700;cursor:pointer;transition:all .15s ease}.ext-wordcount-btn:hover{background:#f3f4f6;color:var(--text)}.ext-wordcount-btn:active{transform:scale(.9)}.ext-wordcount-value{width:40px;text-align:center;font-size:12px;font-weight:800;color:var(--text)}.ext-bottom-actions{display:grid;grid-template-columns:1fr;gap:14px;justify-items:center}.ext-action-btn{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:10px;padding:16px;border:0;border-radius:16px;background:linear-gradient(135deg,var(--accent),var(--accent-strong));color:#fff;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 6px 20px rgba(80,104,242,.25);min-height:80px}.ext-action-btn:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.08),transparent 60%);pointer-events:none}.ext-action-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 30px rgba(80,104,242,.35)}.ext-action-btn:active:not(:disabled){transform:translateY(0)}.ext-bottom-actions .ext-action-btn{max-width:360px;width:100%}.ext-action-btn svg{width:22px;height:22px;flex-shrink:0;transition:transform .3s ease}.ext-action-btn:hover:not(:disabled) svg{transform:scale(1.1) rotate(6deg)}.ext-action-btn-text{display:flex;flex-direction:column;align-items:flex-start;text-align:left;z-index:1}.ext-action-btn-text strong{font-size:16px;font-weight:800;letter-spacing:.02em}.ext-action-btn-text small{font-size:10px;font-weight:500;opacity:.85}.ext-loading-mask{position:absolute;inset:0;z-index:5;border-radius:16px;background:rgba(255,255,255,.82);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center}.ext-loading-inner{display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--accent-strong)}.ext-loading-inner strong{font-size:14px}.ext-loading-inner p{font-size:12px;color:var(--muted);margin:0}.ext-subtitle-panel .douyin-copy-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.ext-subtitle-panel .douyin-copy-heading h2{font-size:15px;font-weight:800}.ext-subtitle-panel .douyin-copy-heading span{font-size:12px;color:var(--muted)}@media (max-width:1100px){.ext-history-list{max-height:240px}.ext-bottom-actions{grid-template-columns:1fr}.ext-action-btn{min-height:64px}}