:root{--bg:#fafafa;--surface:#ffffff;--surface-2:#f4f4f5;--border:#e4e4e7;--border-strong:#d4d4d8;--text:#18181b;--text-2:#3f3f46;--muted:#71717a;--faint:#a1a1aa;--accent:#FC4438;--accent-hover:#E23328;--accent-soft:#FFEDEB;--accent-ring:rgba(252,68,56,0.18);--success:#16a34a;--danger:#b91c1c;--danger-soft:#fef2f2;--radius:12px;--radius-sm:9px;--shadow-sm:0 1px 2px rgba(16,24,40,0.05);--shadow-md:0 6px 20px rgba(16,24,40,0.08);--shadow-lg:0 12px 40px rgba(16,24,40,0.12);--rail-w:284px;--font:var(--font-geist-sans),-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;--mono:var(--font-geist-mono),ui-monospace,"SF Mono",Menlo,Monaco,monospace}*{box-sizing:border-box}body,html{margin:0;padding:0;height:100%;background:var(--bg);color:var(--text);font-family:var(--font);font-feature-settings:"cv11","ss01";-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow:hidden}.clip-quote,.msg,.prose,.seg .txt{overflow-wrap:anywhere}button{font-family:inherit}a{color:inherit;text-decoration:none}textarea{font-family:inherit}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:10px;font-size:14px;font-weight:560;padding:10px 16px;cursor:pointer;transition:background .14s,border-color .14s,box-shadow .14s,transform .06s;white-space:nowrap}.btn:active{transform:translateY(.5px)}.btn-primary{background:var(--accent);color:#fff;box-shadow:var(--shadow-sm)}.btn-primary:hover{background:var(--accent-hover)}.btn-primary:disabled{background:#f6b0a9;cursor:not-allowed}.btn-secondary{background:var(--surface);color:var(--text-2);border-color:var(--border-strong)}.btn-secondary:hover{background:var(--surface-2)}.btn-secondary:disabled{opacity:.55;cursor:not-allowed}.btn-danger{background:var(--danger);color:#fff;border-color:var(--danger)}.btn-danger:hover{background:#b91c1c;border-color:#b91c1c}.btn-ghost{background:transparent;color:var(--muted)}.btn-ghost:hover{background:var(--surface-2);color:var(--text)}.btn-sm{padding:7px 12px;font-size:13px;border-radius:9px}.icon{width:18px;height:18px;flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;font-weight:680;font-size:16.5px;letter-spacing:-.02em}.brand .ai{color:var(--accent)}.logo-mark{display:block;flex-shrink:0;filter:drop-shadow(0 1px 1.5px rgba(16,24,40,.16))}.shell{overflow:hidden}.rail,.shell{display:flex;height:100vh;height:100dvh}.rail{width:var(--rail-w);flex-shrink:0;background:var(--surface);border-right:1px solid var(--border);position:-webkit-sticky;position:sticky;top:0;padding:16px 12px;z-index:40}.rail,.rail-head{flex-direction:column}.rail-head{display:flex;gap:14px;padding:4px 6px 14px}.rail-new{width:100%;justify-content:flex-start;gap:9px}.rail-section{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--faint);padding:6px 10px 8px}.rail-section-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px}.rail-filters{display:inline-flex;gap:2px;text-transform:none;letter-spacing:0}.rail-filters button{font:inherit;font-size:11.5px;font-weight:550;color:var(--muted);background:none;border:0;padding:2px 7px;border-radius:100px;cursor:pointer}.rail-filters button:hover{color:var(--text)}.rail-filters button.on{background:var(--surface-2);color:var(--text)}.rail-item .thumb-kind{display:inline-flex;align-items:center;justify-content:center;color:var(--muted)}.rail-item .thumb-kind .icon{width:16px;height:16px}.rail-item .thumb-kind.k-reddit{background:#fff1ec;color:#e8492f}.rail-item .thumb-kind.k-chat{background:#eef4ff;color:#2f6fe8}.rail-item .thumb-kind.k-dialogue{background:#f1efff;color:#6a4ae8}a.rail-item{color:inherit;text-decoration:none}.rail-list{flex:1 1;overflow-y:auto;display:flex;flex-direction:column;gap:2px;margin:0 -4px;padding:0 4px}.rail-item{display:flex;align-items:center;gap:10px;padding:8px;border-radius:9px;cursor:pointer;border:1px solid transparent;position:relative;transition:background .12s}.rail-item:hover{background:var(--surface-2)}.rail-item.active{background:var(--accent-soft);border-color:rgba(252,68,56,.18)}.rail-item .thumb{width:44px;height:30px;border-radius:5px;object-fit:cover;flex-shrink:0;background:var(--surface-2)}.rail-item .ri-meta{min-width:0;flex:1 1}.rail-item .ri-title{font-size:13px;font-weight:550;color:var(--text);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.rail-item .ri-sub{font-size:11px;color:var(--muted);margin-top:2px}.rail-item .ri-del{opacity:0;border:none;background:none;color:var(--faint);cursor:pointer;padding:4px;border-radius:6px;flex-shrink:0}.rail-item:hover .ri-del{opacity:1}.rail-item .ri-del:hover{background:rgba(0,0,0,.06);color:var(--danger)}.rail-empty{color:var(--faint);font-size:13px;text-align:center;padding:32px 16px;line-height:1.5}.main{flex:1 1;min-width:0;min-height:0;height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column}.mtop{display:none}.newview{flex:1 1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;display:grid;place-items:center;padding:40px 24px 80px}.hero{width:100%;max-width:660px;text-align:center}.hero h1{font-size:44px;line-height:1.06;letter-spacing:-.035em;font-weight:720;margin:0 0 16px}.hero .sub{font-size:17px;line-height:1.55;color:var(--muted);margin:0 auto 32px;max-width:520px}.search-box{display:flex;gap:8px;background:var(--surface);border:1px solid var(--border-strong);border-radius:14px;padding:8px 8px 8px 16px;box-shadow:var(--shadow-md);transition:border-color .15s,box-shadow .15s}.search-box:focus-within{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-ring),var(--shadow-md)}.search-box .field{flex:1 1;display:flex;align-items:center;gap:10px;color:var(--faint)}.search-box input{flex:1 1;border:none;outline:none;background:transparent;font-size:15.5px;color:var(--text);padding:8px 0}.samples{margin-top:22px;display:flex;gap:8px;justify-content:center;flex-wrap:wrap;align-items:center}.samples .lbl{color:var(--faint);font-size:13px}.chip{background:var(--surface);border:1px solid var(--border);color:var(--text-2);font-size:13px;padding:6px 12px;border-radius:100px;cursor:pointer;transition:border-color .14s,background .14s,color .14s}.chip:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.error-banner{gap:9px;max-width:660px;margin:18px auto 0;background:var(--danger-soft);border:1px solid #fecaca;color:#b91c1c;padding:11px 15px;border-radius:10px;font-size:14px;text-align:left}.error-banner,.wk-head{display:flex;align-items:center}.wk-head{gap:14px;padding:16px 30px;border-bottom:1px solid var(--border);background:rgba(255,255,255,.85);-webkit-backdrop-filter:saturate(180%) blur(8px);backdrop-filter:saturate(180%) blur(8px);position:-webkit-sticky;position:sticky;top:0;z-index:10}.wk-head .wk-thumb{width:60px;height:34px;border-radius:6px;object-fit:cover;flex-shrink:0}.wk-head .wk-title{min-width:0;flex:1 1}.wk-head .wk-title h2{margin:0;font-size:15px;font-weight:620;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wk-head .wk-title .sub{font-size:12.5px;color:var(--muted);margin-top:2px}.tabbar{display:flex;gap:4px;padding:8px 30px 0;border-bottom:1px solid var(--border);background:var(--surface);position:-webkit-sticky;position:sticky;top:67px;z-index:9;overflow-x:auto}.tab{display:flex;align-items:center;gap:7px;background:none;border:none;color:var(--muted);font-size:14px;font-weight:540;padding:9px 14px 12px;cursor:pointer;position:relative;white-space:nowrap}.tab:hover{color:var(--text)}.tab.active{color:var(--accent)}.tab.active:after{content:"";position:absolute;left:10px;right:10px;bottom:-1px;height:2px;border-radius:2px;background:var(--accent)}.tab .icon{width:16px;height:16px}.tab .pill,.tab .star{color:var(--accent)}.tab .pill{font-size:10px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;background:var(--accent-soft);padding:2px 6px;border-radius:100px}.wk-body{padding:26px 30px 70px;flex:1 1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.canvas{max-width:880px;margin:0 auto}.card{border:1px solid var(--border);border-radius:var(--radius);padding:28px 32px}.card,.composer{background:var(--surface);box-shadow:var(--shadow-sm)}.composer{border:1px solid var(--border);border-radius:16px;padding:20px;margin-bottom:22px}.composer .c-label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;margin-bottom:12px}.composer .c-label .icon{color:var(--accent)}.composer textarea{width:100%;border:1px solid var(--border-strong);border-radius:12px;padding:14px 16px;font-size:15px;line-height:1.5;color:var(--text);outline:none;resize:vertical;min-height:76px;background:var(--surface);transition:border-color .15s,box-shadow .15s}.composer textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.composer .c-actions{display:flex;align-items:center;gap:10px;margin-top:14px;flex-wrap:wrap}.composer .c-actions .spacer{flex:1 1}.ex-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.ex-chips .exlbl{font-size:12.5px;color:var(--faint);align-self:center}.clips-head{display:flex;align-items:baseline;justify-content:space-between;margin:4px 2px 14px}.clips-head-l{display:flex;flex-direction:column;gap:2px;min-width:0}.clips-head h3{font-size:15px;font-weight:640;margin:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.clips-sub{font-size:12px;color:var(--muted)}.clips-head .count{font-size:13px;color:var(--muted);flex-shrink:0;white-space:nowrap;margin-left:12px}.render-opts{gap:14px;padding:10px 14px;margin-bottom:12px;background:var(--surface-2);border:1px solid var(--border);border-radius:10px;flex-wrap:wrap}.opt-toggle,.render-opts{display:flex;align-items:center}.opt-toggle{gap:7px;font-size:13.5px;font-weight:550;color:var(--text-2);cursor:pointer}.opt-toggle input{width:15px;height:15px;accent-color:var(--accent);cursor:pointer}.opt-styles{display:flex;align-items:center;gap:6px}.opt-sep{width:1px;align-self:stretch;background:var(--border);margin:-2px 2px}.opt-label{font-size:12.5px;font-weight:550;color:var(--muted)}.qa-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:12px}.qa-title{font-size:15px;font-weight:640}.qa-count{font-size:12.5px;font-weight:560;color:var(--muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.qa-count.spent{color:var(--danger)}.qa-limit-note{display:flex;align-items:center;gap:8px;margin-top:14px;padding:11px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--muted);font-size:13px;font-weight:500}.qa-limit-note .icon{width:15px;height:15px;flex-shrink:0}.clip-history{margin:4px 0 14px}.ch-head{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.03em;margin-bottom:8px}.ch-head .icon{width:14px;height:14px}.ch-list{display:flex;flex-wrap:wrap;gap:7px}.ch-item{display:inline-flex;align-items:center;gap:7px;max-width:280px;padding:5px 8px 5px 11px;border:1px solid var(--border-strong);background:var(--surface);color:var(--text-2);border-radius:100px;font-size:12.5px;font-weight:500;cursor:pointer;transition:all .12s}.ch-item:hover:not(:disabled){border-color:var(--accent);color:var(--text)}.ch-item:disabled{opacity:.55;cursor:default}.ch-item.active{border-color:var(--accent);background:var(--accent-soft,rgba(252,68,56,.08));color:var(--accent)}.ch-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ch-count{flex-shrink:0;min-width:18px;height:18px;padding:0 5px;display:inline-flex;align-items:center;justify-content:center;border-radius:100px;background:var(--surface-2);color:var(--muted);font-size:11px;font-weight:600}.ch-item.active .ch-count{background:var(--accent);color:#fff}.ch-list-vert{flex-direction:column;align-items:stretch}.ch-list-vert .ch-item{max-width:none;width:100%;justify-content:space-between;padding:8px 12px}.ch-meta{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}.ch-time{font-size:11px;color:var(--faint)}.clips-head-r{display:flex;align-items:center;gap:10px;flex-shrink:0}.opts-btn{gap:6px}.opts-btn .icon{width:15px;height:15px}.drawer-scrim{position:fixed;inset:0;height:100vh;height:100dvh;z-index:60;background:rgba(9,9,11,.38);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;justify-content:flex-end;animation:scrim-in .16s ease}@keyframes scrim-in{0%{opacity:0}to{opacity:1}}.drawer{width:clamp(360px,46vw,560px);max-width:90vw;height:100%;background:var(--surface);border-left:1px solid var(--border);box-shadow:-12px 0 32px rgba(0,0,0,.12);display:flex;flex-direction:column;animation:drawer-in .2s cubic-bezier(.22,1,.36,1)}@keyframes drawer-in{0%{transform:translateX(24px);opacity:.4}to{transform:translateX(0);opacity:1}}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--border);position:-webkit-sticky;position:sticky;top:0;background:var(--surface);z-index:2;flex-shrink:0}.drawer-head h3{margin:0;font-size:15px;font-weight:640}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid transparent;background:transparent;border-radius:8px;color:var(--muted);cursor:pointer;transition:all .12s}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.icon-btn .icon{width:18px;height:18px}.drawer-body{flex:1 1;overflow-y:auto;padding:6px 18px 24px}.dsec{padding:18px 0;border-bottom:1px solid var(--border)}.dsec:last-child{border-bottom:none}.dsec-title{font-size:11.5px;font-weight:640;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:12px}.dsec-title-icon{display:flex;align-items:center;gap:6px}.dsec-title-icon .icon{width:14px;height:14px}.dsec-toggle{display:flex;align-items:center;justify-content:space-between;cursor:pointer}.dsec-toggle .dsec-title{margin-bottom:0}.dsec-toggle input{width:17px;height:17px;accent-color:var(--accent);cursor:pointer}.dfield{margin-top:14px}.dlabel{display:block;font-size:12.5px;font-weight:550;color:var(--text-2);margin-bottom:8px}.dfield .opt-colors,.dfield .opt-styles{flex-wrap:wrap}.dfield .opt-colors:before{content:none}.frame-opts{gap:8px}.frame-opt,.frame-opts{display:flex;flex-direction:column}.frame-opt{text-align:left;border:1px solid var(--border-strong);background:var(--surface);border-radius:10px;padding:10px 12px;cursor:pointer;transition:all .12s;gap:2px}.frame-opt.active,.frame-opt:hover{border-color:var(--accent)}.frame-opt.active{background:var(--accent-soft)}.fo-name{font-size:13.5px;font-weight:600;color:var(--text)}.frame-opt.active .fo-name{color:var(--accent)}.fo-desc{font-size:12px;color:var(--muted);line-height:1.3}[data-tip]{position:relative}[data-tip]:after{content:attr(data-tip);top:calc(100% + 8px);white-space:normal;width:max-content;max-width:220px;text-align:center;padding:6px 9px;border-radius:7px;background:var(--text);color:var(--surface);font-size:12px;font-weight:500;line-height:1.35;letter-spacing:-.01em;box-shadow:0 6px 18px rgba(0,0,0,.18)}[data-tip]:after,[data-tip]:before{position:absolute;left:50%;transform:translateX(-50%) translateY(-4px);opacity:0;pointer-events:none;z-index:50;transition:opacity .12s ease,transform .12s ease}[data-tip]:before{content:"";top:calc(100% + 3px);border:5px solid transparent;border-bottom:5px solid var(--text)}[data-tip]:hover:after,[data-tip]:hover:before{opacity:1;transform:translateX(-50%) translateY(0)}.style-chip{border:1px solid var(--border-strong);background:var(--surface);color:var(--text-2);font-size:12.5px;font-weight:550;padding:5px 11px;border-radius:100px;cursor:pointer;transition:all .12s}.style-chip.active,.style-chip:hover{border-color:var(--accent)}.style-chip.active{background:var(--accent);color:#fff}.opt-colors{display:flex;align-items:center;gap:8px}.opt-colors:before{content:"Color";font-size:12.5px;color:var(--muted);margin-right:2px}.swatch{width:22px;height:22px;border-radius:50%;border:2px solid var(--border-strong);cursor:pointer;padding:0;transition:transform .1s,box-shadow .1s}.swatch:hover{transform:scale(1.1)}.swatch.active{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--accent)}.sw-white{background:#ffffff;border-color:#d4d4d8}.sw-yellow{background:#ffe000;border-color:#eab308}.sw-green{background:#22c55e;border-color:#16a34a}.sw-black{background:#18181b;border-color:#52525b}.sw-ember{background:#FC4438;border-color:#E23328}.clip-card{display:flex;gap:16px;background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:18px 20px;margin-bottom:12px;box-shadow:var(--shadow-sm);transition:border-color .14s,box-shadow .14s}.clip-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md)}.clip-score{flex-shrink:0;width:46px;height:46px;border-radius:11px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;font-weight:680;font-size:15px;font-family:var(--mono)}.clip-main{flex:1 1;min-width:0}.clip-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}.clip-title{font-size:15.5px;font-weight:620;letter-spacing:-.01em}.clip-range{font-family:var(--mono);font-size:12px;color:var(--accent);background:var(--accent-soft);border-radius:6px;padding:2px 8px}.clip-dur{font-size:12px;color:var(--muted)}.clip-quote{font-size:14px;line-height:1.6;color:var(--text-2);border-left:2px solid var(--border-strong);padding-left:12px;margin:8px 0;font-style:italic}.clip-reason{font-size:13px;color:var(--muted);line-height:1.55}.clip-actions{display:flex;gap:10px;margin-top:14px;align-items:center;flex-wrap:wrap}.clip-actions .render-soon{font-size:11px;color:var(--faint)}.prose{font-size:15.5px;line-height:1.72;color:var(--text-2);max-width:720px}.prose>:first-child{margin-top:0}.prose h1{font-size:23px;letter-spacing:-.02em;margin:6px 0 14px;color:var(--text)}.prose h2{font-size:18px;letter-spacing:-.01em;margin:26px 0 10px;color:var(--text);padding-bottom:7px;border-bottom:1px solid var(--border)}.prose h3{font-size:15.5px;margin:20px 0 8px;color:var(--text)}.prose p{margin:11px 0}.prose ol,.prose ul{margin:10px 0;padding-left:22px}.prose li{margin:6px 0}.prose li::marker{color:var(--accent)}.prose strong{color:var(--text);font-weight:620}.prose code{background:var(--surface-2);border:1px solid var(--border);font-size:13px;color:#E23328}.prose code,.ts-chip{border-radius:5px;padding:1px 6px;font-family:var(--mono)}.ts-chip{font-size:12px;color:var(--accent);background:var(--accent-soft);font-weight:500}.panel-toolbar{display:flex;justify-content:flex-end;gap:6px;margin-bottom:10px;flex-wrap:wrap}.notes-editor{width:100%;min-height:420px;border:1px solid var(--border-strong);border-radius:10px;padding:16px 18px;font-size:14.5px;line-height:1.7;color:var(--text-2);font-family:var(--mono);outline:none;resize:vertical;background:var(--surface)}.notes-editor:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.cursor-blink:after{content:"";display:inline-block;width:8px;height:16px;background:var(--accent);border-radius:1px;margin-left:2px;vertical-align:-2px;animation:blink 1s steps(2) infinite}@keyframes blink{0%,50%{opacity:1}51%,to{opacity:0}}.empty-state{text-align:center;padding:48px 20px;color:var(--muted)}.empty-state .glyph{width:46px;height:46px;border-radius:12px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;margin:0 auto 16px}.empty-state .glyph .icon{width:24px;height:24px}.empty-state h3{color:var(--text);font-size:17px;margin:0 0 6px;letter-spacing:-.01em}.empty-state p{margin:0 auto;max-width:360px;font-size:14px;line-height:1.55}.skeleton{display:flex;flex-direction:column;gap:12px}.sk-line{height:13px;border-radius:6px;background:linear-gradient(90deg,#eef0f3 25%,#f6f7f9 50%,#eef0f3 75%);background-size:200% 100%;animation:shimmer 1.4s infinite}@keyframes shimmer{to{background-position:-200% 0}}.tr-search{position:relative;margin-bottom:14px}.tr-search .icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--faint);width:17px;height:17px}.tr-search input{width:100%;background:var(--surface);border:1px solid var(--border-strong);border-radius:10px;padding:11px 14px 11px 38px;font-size:14px;color:var(--text);outline:none}.tr-search input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.tr-top{display:flex;align-items:center;gap:10px;margin-bottom:14px}.tr-top .tr-search{flex:1 1;margin-bottom:0}.seg-list{margin:0 -8px;padding:0 8px 4px}.seg{display:flex;gap:14px;padding:10px 12px;border-radius:9px;cursor:pointer;transition:background .12s}.seg:hover{background:var(--surface-2)}.seg .t{font-family:var(--mono);font-size:12px;color:var(--accent);flex-shrink:0;width:54px;padding-top:2px;font-weight:500}.seg .txt{font-size:14.5px;line-height:1.6;color:var(--text-2)}.chat-log{display:flex;flex-direction:column;gap:16px;margin-bottom:18px}.msg{max-width:86%;padding:12px 16px;border-radius:14px;font-size:14.5px;line-height:1.62}.msg.user{align-self:flex-end;background:var(--accent);color:#fff;border-bottom-right-radius:5px}.msg.assistant{align-self:flex-start;background:var(--surface-2);border:1px solid var(--border);color:var(--text-2);border-bottom-left-radius:5px}.chat-bar{display:flex;gap:8px;border:1px solid var(--border-strong);border-radius:12px;padding:7px 7px 7px 14px;background:var(--surface)}.chat-bar:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.chat-bar input{flex:1 1;border:none;outline:none;background:transparent;font-size:14.5px;color:var(--text)}.spinner{display:inline-block;width:15px;height:15px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}.spinner.dark{border-color:var(--border-strong);border-top-color:var(--accent)}@keyframes spin{to{transform:rotate(1turn)}}.rail-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 8px 4px;border-top:1px solid var(--border);margin-top:8px}.rail-foot .who{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(700px 380px at 50% -10%,rgba(252,68,56,.08),transparent 60%),var(--bg)}.auth-card{width:100%;max-width:400px;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-md);padding:32px 28px;text-align:center}.auth-card h2{font-size:21px;letter-spacing:-.02em;margin:0 0 6px}.auth-sub{color:var(--muted);font-size:14px;line-height:1.55;margin:0 0 20px}.auth-err{margin-top:12px;color:var(--danger);font-size:13px}.modal-backdrop{position:fixed;inset:0;z-index:100;background:rgba(16,24,40,.45);display:grid;place-items:center;padding:24px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal{position:relative;width:100%;max-width:400px;max-height:90vh;max-height:90dvh;overflow-y:auto;-webkit-overflow-scrolling:touch;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-lg);padding:30px 28px 26px;text-align:center}.modal h2{font-size:20px;letter-spacing:-.02em;margin:0 0 6px}.modal-x{position:absolute;top:12px;right:12px;border:none;background:none;color:var(--faint);cursor:pointer;padding:6px;border-radius:8px;display:grid;place-items:center}.modal-x:hover{color:var(--text)}.modal-x:hover,.set-plan{background:var(--surface-2)}.set-plan{border:1px solid var(--border);border-radius:12px;padding:16px;margin:4px 0 22px;text-align:left}.set-plan-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.set-plan-id{display:flex;align-items:baseline;gap:10px}.set-plan-price{font-size:15px;font-weight:640;color:var(--text)}.set-plan-price i{font-style:normal;font-size:12px;font-weight:500;color:var(--muted)}.set-plan-top{font-size:12.5px;font-weight:560;color:var(--success)}.set-usage{margin-top:14px;padding-top:12px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:8px}.set-usage-row{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}.set-usage-row b{color:var(--text);font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.set-usage-note{font-size:11.5px;color:var(--faint);margin-top:2px}.set-subh{text-align:left;font-size:13px;font-weight:640;color:var(--text);margin:0 0 4px}.plan-badge{display:inline-block;margin-left:7px;padding:1px 7px;border-radius:100px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;vertical-align:middle}.plan-badge.plan-free{background:var(--surface-2);color:var(--muted)}.plan-badge.plan-starter{background:var(--surface-2);color:var(--text)}.plan-badge.plan-creator{background:var(--accent-soft);color:var(--accent)}.plan-badge.plan-custom{background:var(--text);color:var(--bg)}.pricing-modal{max-width:1040px;text-align:center}.plan-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:14px;gap:14px;margin:22px 0 10px;text-align:left}@media (max-width:960px){.plan-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:680px){.plan-grid{grid-template-columns:1fr}}.pricing-toggle{margin:14px auto 0}.pricing-toggle button{display:inline-flex;align-items:center;gap:6px}.save-chip{font-size:11px;font-weight:650;color:var(--success);background:var(--surface);border-radius:100px;padding:1px 7px}.plan-sub{margin-top:-4px}.plan-note,.plan-sub{display:block;font-size:12px;color:var(--muted)}.plan-note{line-height:1.45}.plan-sk{min-height:300px;background:linear-gradient(90deg,#eef0f3 25%,#f6f7f9 50%,#eef0f3 75%);background-size:200% 100%;animation:shimmer 1.4s infinite}.plan-state{margin:22px 0;color:var(--muted)}.pricing-modal .error-banner{max-width:none;margin:12px 0 0}.custom-form{text-align:left;max-width:520px;margin:0 auto}.custom-form .hp{position:absolute;left:-10000px;width:1px;height:1px;opacity:0}.custom-done{padding:24px 0}.custom-done h2{display:inline-flex;align-items:center;gap:8px}.limit-notice{flex-wrap:wrap}.limit-notice>span:first-of-type{flex:1 1;min-width:200px}.ln-actions{display:inline-flex;flex-wrap:wrap;gap:6px}.clip-warn{font-size:12.5px;color:#b45309;margin:6px 0;display:flex;flex-wrap:wrap;align-items:center;gap:4px}.clip-warn .icon{width:14px;height:14px}.lock-chip{display:inline-flex;align-items:center;gap:4px;margin-left:6px;font-size:11.5px;color:var(--muted);background:var(--surface-2);border-radius:100px;padding:1px 8px}.dhint.locked .icon,.lock-chip .icon{width:13px;height:13px;vertical-align:-2px}.expiry{display:block;font-size:12px;color:var(--muted);margin-top:6px}.expiry.expired{color:var(--danger)}.hub-hint{text-align:center;margin:8px 0 0}.set-meter{flex-wrap:wrap;gap:4px 12px}.set-meter .meter{flex-basis:100%;height:6px}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:200;display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:10px;background:var(--text);color:var(--bg);font-size:14px;box-shadow:var(--shadow-sm)}.toast .icon-btn{color:inherit;background:none;border:0;font-size:18px;cursor:pointer}@media (max-width:560px){.modal-backdrop{padding:12px;place-items:start center}.modal{padding:24px 18px 20px;max-height:94dvh}.pricing-modal{max-width:100%}.plan-grid{margin:18px 0 8px;gap:12px}.plan-card{padding:16px 14px}}.plan-card{position:relative;border:1px solid var(--border);border-radius:14px;padding:18px 16px;display:flex;flex-direction:column;gap:10px;background:var(--surface)}.plan-card.featured{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.plan-card.current{border-color:var(--success)}.plan-tag{position:absolute;top:-10px;left:16px;background:var(--accent);color:#fff;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:2px 9px;border-radius:100px}.plan-name{font-size:15px;font-weight:650}.plan-price{font-size:26px;font-weight:720;letter-spacing:-.02em}.plan-price span{font-size:13px;font-weight:500;color:var(--muted)}.plan-feats{list-style:none;margin:4px 0 12px;padding:0;display:flex;flex-direction:column;gap:8px;flex:1 1}.plan-feats li{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;color:var(--text-2);line-height:1.4}.plan-feats .icon{width:15px;height:15px;color:var(--success);flex-shrink:0;margin-top:1px}.plan-card .btn{width:100%;justify-content:center}.pricing-foot{font-size:12px;color:var(--muted);margin:6px 0 0}.topup-strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 0;padding:10px 14px;border:1px solid var(--border);border-radius:10px;font-size:13px;color:var(--text-2)}.confirm-modal{max-width:380px}.confirm-icon{width:46px;height:46px;margin:0 auto 14px;display:grid;place-items:center;border-radius:50%;background:var(--danger-soft);color:var(--danger)}.confirm-icon .icon{width:22px;height:22px}.confirm-actions{display:flex;gap:10px;margin-top:22px}.confirm-actions .btn{flex:1 1;justify-content:center}.tab .lock-dot{display:inline-flex;color:var(--faint)}.tab .lock-dot .icon{width:13px;height:13px}.ts-chip{cursor:pointer;transition:background .12s,color .12s}.prose .ts-chip:hover{background:var(--accent);color:#fff}.rail-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.rail-collapse-btn{border:none;background:none;color:var(--faint);cursor:pointer;padding:6px;border-radius:8px;display:grid;place-items:center}.rail-collapse-btn:hover{background:var(--surface-2);color:var(--text)}.rail-expand{position:fixed;top:14px;left:14px;z-index:50;width:38px;height:38px;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:10px;display:grid;place-items:center;cursor:pointer;box-shadow:var(--shadow-sm)}.rail-expand:hover{background:var(--surface-2)}.foot-actions{display:flex;gap:4px;align-items:center}.icon-btn{padding:7px}@media (min-width:821px){.shell.rail-collapsed .rail{display:none}}@media (max-width:820px){.rail-collapse-btn,.rail-expand{display:none!important}}.settings-modal{text-align:left;max-width:440px;max-height:88vh;overflow-y:auto}.settings-modal h2{text-align:center}.settings-modal .auth-sub{text-align:left}.settings-form{gap:14px;margin-top:4px}.fld,.settings-form{display:flex;flex-direction:column}.fld{gap:6px;font-size:13px;font-weight:600;color:var(--text-2)}.fld>span{display:flex;align-items:center;gap:8px}.fld input,.fld select{border:1px solid var(--border-strong);border-radius:10px;padding:11px 13px;font-size:14.5px;color:var(--text);background:var(--surface);outline:none;font-weight:400}.fld input:focus,.fld select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.saved-tag{color:var(--success);font-weight:600;font-style:normal;font-size:12px}.settings-ok{color:var(--success);font-size:13px;text-align:center;margin-top:2px}.rail-backdrop{display:none}@media (max-width:1024px){:root{--rail-w:250px}.wk-body{padding:24px 22px 70px}.tabbar,.wk-head{padding-left:22px;padding-right:22px}}@media (max-width:820px){.rail{position:fixed;top:0;left:0;height:100vh;height:100dvh;transform:translateX(-100%);transition:transform .22s ease;box-shadow:var(--shadow-lg)}.rail.open{transform:translateX(0)}.rail-backdrop.open{display:block;position:fixed;inset:0;background:rgba(0,0,0,.32);z-index:35}.mtop{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px;border-bottom:1px solid var(--border);background:var(--surface);position:-webkit-sticky;position:sticky;top:0;z-index:20}.mtop .hamburger{border:none;background:none;padding:6px;cursor:pointer;color:var(--text);display:grid;place-items:center}.wk-head{position:static;padding:14px 16px}.tabbar{position:-webkit-sticky;position:sticky;top:0;padding:6px 12px 0}.wk-body{padding:20px 16px 60px}.card{padding:20px 16px}.newview{padding:30px 18px 70px}.hero h1{font-size:33px}.hero .sub{font-size:15.5px}.clip-card{padding:16px}.msg{max-width:92%}}@media (max-width:480px){.hero h1{font-size:27px}.search-box{flex-direction:column;padding:12px;gap:10px}.search-box .field{width:100%;padding-left:4px}.search-box .btn{width:100%;justify-content:center;padding:13px}.composer .c-actions .btn{flex:1 1}}.reset-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--bg);overflow:auto}.reset-card{width:100%;max-width:400px;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:32px 28px;box-shadow:var(--shadow-lg);text-align:center}.reset-card h2{margin:6px 0;font-size:22px}.auth-google{display:flex;justify-content:center;margin:6px 0 2px;min-height:44px;align-items:center}.auth-fine{font-size:12.5px;color:var(--faint);margin:16px 0 0}.gsi-wrap{display:flex;justify-content:center;min-height:40px}.auth-or{display:flex;align-items:center;gap:10px;color:var(--faint);font-size:12.5px;margin:12px 0}.auth-or:after,.auth-or:before{content:"";flex:1 1;height:1px;background:var(--border)}.cp-frame{position:relative;overflow:hidden;border-radius:12px;background:#111;flex:none;box-shadow:var(--shadow-md);isolation:isolate}.cp-overlay{overflow:hidden}.cap-overlay-box,.cp-overlay{position:absolute;inset:0;pointer-events:none}.cap-overlay-box{z-index:2}.cap-panel .cs{margin-top:10px}.cp-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.92)}.cp-bg-empty{background:linear-gradient(160deg,#3b3b44,#17171c)}.cp-block{position:absolute;left:0;right:0;transform:translateY(-50%);text-align:center;pointer-events:none;display:flex;justify-content:center}.cp-page{transform-origin:50% 50%}.cp-line{white-space:nowrap}.cp-w{transform-origin:50% 55%;line-height:1.1;transition:transform .12s ease-out,color 60ms linear,background-size .16s ease-out}.cp-card,.cp-w{display:inline-block}.cp-card{line-height:1.25}.cp-in-pop{animation:cp-pop .19s ease-out both}.cp-in-bounce{animation:cp-bounce .32s ease-out both}.cp-in-punch{animation:cp-punch .17s ease-out both}.cp-in-fade{animation:cp-fade .11s linear both}.cp-in-slide{animation:cp-slide .16s ease-out both}.cp-in-float{animation:cp-float .22s ease-out both}@keyframes cp-pop{0%{transform:scale(.8)}58%{transform:scale(1.06)}to{transform:scale(1)}}@keyframes cp-bounce{0%{transform:scale(.6)}44%{transform:scale(1.18)}72%{transform:scale(.94)}to{transform:scale(1)}}@keyframes cp-punch{0%{transform:scale(.7)}53%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes cp-fade{0%{opacity:0}to{opacity:1}}@keyframes cp-slide{0%{opacity:0;transform:translateY(calc(26px * var(--k)))}to{opacity:1;transform:none}}@keyframes cp-float{0%{opacity:0;transform:translateY(calc(18px * var(--k)))}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.cp-w{transition:none}.cp-in-bounce,.cp-in-fade,.cp-in-float,.cp-in-pop,.cp-in-punch,.cp-in-slide{animation:none}}.cs{display:flex;flex-direction:column;gap:14px}.cs-err,.cs-loading{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--muted);padding:8px 0}.cs-err{color:var(--danger)}.cs-stage{display:flex;gap:14px;align-items:flex-start}.cs-stage-side{display:flex;flex-direction:column;gap:10px;min-width:0;flex:1 1;padding-top:4px}.cs-tname{font-weight:700;font-size:16px;letter-spacing:-.01em}.cs-tsub{font-size:12px;color:var(--muted);margin-top:-6px}.cs-link{align-self:flex-start;background:none;border:0;padding:0;color:var(--accent);font-weight:600;font-size:13px;cursor:pointer}.cs-link:hover{text-decoration:underline}.cs-link-muted{color:var(--muted);font-weight:500}.cs-note{font-size:12px;color:var(--muted);margin-top:-6px}.cs-field{display:flex;flex-direction:column;gap:6px;min-width:0}.cs-flabel{font-size:12px;font-weight:600;color:var(--text-2)}.cs-flabel b{color:var(--muted);font-weight:500;margin-left:4px}.cs-custom{display:flex;flex-direction:column;gap:14px;padding:14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2)}.cs-row2{display:flex;gap:16px;flex-wrap:wrap;align-items:flex-end}.cs-select{height:34px;padding:0 10px;font:inherit;font-size:13px;color:var(--text)}.cs-seg,.cs-select{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface)}.cs-seg{display:inline-flex;flex-wrap:nowrap;overflow:hidden;align-self:flex-start}.cs-seg-wrap{flex-wrap:wrap;border-radius:var(--radius-sm)}.cs-seg button{border:0;background:none;padding:6px 10px;font:inherit;font-size:12px;font-weight:600;color:var(--text-2);cursor:pointer}.cs-seg button+button{border-left:1px solid var(--border)}.cs-seg-wrap button{border-left:0;border-right:1px solid var(--border);border-bottom:1px solid var(--border)}.cs-seg button.on{background:var(--accent-soft);color:var(--accent)}.cs-stepper{display:inline-flex;align-items:center;gap:10px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);padding:2px;align-self:flex-start}.cs-stepper button{width:28px;height:28px;border:0;border-radius:7px;background:var(--surface-2);font-size:16px;cursor:pointer;color:var(--text)}.cs-stepper b{min-width:14px;text-align:center;font-size:13px}.cs-swatches{display:flex;gap:8px;flex-wrap:wrap}.cs-sw{position:relative;width:26px;height:26px;border-radius:50%;border:1px solid rgba(0,0,0,.18);cursor:pointer;padding:0;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35)}.cs-sw.on{outline:2px solid var(--accent);outline-offset:2px}.cs-sw-custom{background:conic-gradient(#ff3b30,#ffcc00,#34c759,#00c7be,#007aff,#af52de,#ff3b30);overflow:hidden}.cs-sw-custom input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.cs-color{width:44px;height:30px;border:1px solid var(--border-strong);border-radius:8px;padding:2px;background:var(--surface);cursor:pointer}.cs-check{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--text-2);padding-bottom:6px}.ce input[type=range],.cs input[type=range]{width:100%;accent-color:var(--accent)}.cs-gallery-label{margin-top:2px}.cs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));grid-gap:10px;gap:10px}.cs-card{display:flex;flex-direction:column;align-items:center;gap:6px;border:1px solid transparent;border-radius:14px;background:none;padding:4px 2px 6px;cursor:pointer}.cs-card:hover{background:var(--surface-2)}.cs-card.on{border-color:var(--accent);background:var(--accent-soft)}.cs-card{position:relative}.cs-card.locked .cp-frame{opacity:.55}.cs-lock{position:absolute;top:8px;right:6px;display:inline-flex;align-items:center;gap:3px;font-size:10px;font-weight:650;color:#fff;background:rgba(0,0,0,.7);border-radius:100px;padding:1px 6px}.cs-lock .icon{width:10px;height:10px}.cs-upsell{font-size:12.5px;line-height:1.45;color:var(--text-2);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:8px 10px;margin-top:8px}.cs-card .cp-frame{border-radius:9px;box-shadow:var(--shadow-sm)}.cs-card-name{font-size:11.5px;font-weight:600;color:var(--text-2);text-align:center;line-height:1.2}@media (max-width:560px){.cs-stage{flex-direction:column;align-items:center}.cs-stage-side{align-items:center;text-align:center}.cs-link{align-self:center}}.cp-fit{flex:none;width:max-content;transform-origin:50% 50%}.cp-act{animation:cp-act .18s ease-out both}@keyframes cp-act{0%{transform:scale(1)}50%{transform:scale(var(--peak))}to{transform:scale(var(--rest))}}@media (prefers-reduced-motion:reduce){.cp-act{animation:none}}.cs-head{display:flex;align-items:center;gap:12px;justify-content:space-between}.cs-head-text{min-width:0}.cs-head .cs-tsub{margin-top:2px}.cs-customize{flex:none}.cs-badge{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;vertical-align:2px;background:var(--accent-soft);color:var(--accent);font-size:11px;font-weight:600;letter-spacing:0}.cs-grid-compact{grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:6px}.cs-grid-compact .cs-card-name{font-size:11px}.ce-scrim{position:fixed;inset:0;z-index:90;background:rgba(9,9,11,.55);display:flex;align-items:center;justify-content:center;padding:24px}.ce{width:min(1040px,100%);height:min(760px,100%);background:var(--surface);border-radius:18px;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;overflow:hidden}.ce-head{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--border);flex:none}.ce-head h3{margin:0;font-size:17px;letter-spacing:-.01em}.ce-body{flex:1 1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 360px}.ce-controls{overflow-y:auto;padding:18px 20px 28px;display:flex;flex-direction:column;gap:12px}.ce-controls>.cs-custom{margin-top:6px}.ce-stage{background:var(--surface-2);border-left:1px solid var(--border);overflow-y:auto}.ce-stage-sticky{position:-webkit-sticky;position:sticky;top:0;gap:14px;padding:24px 20px}.ce-stage-meta,.ce-stage-sticky{display:flex;flex-direction:column;align-items:center}.ce-stage-meta{text-align:center;gap:6px}.ce-group{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding-top:6px;border-top:1px solid var(--border)}.ce-group:first-of-type{border-top:0;padding-top:0}.ce-grow{flex:1 1;min-width:140px}@media (max-width:760px){.ce-scrim{padding:0}.ce{width:100%;height:100dvh;border-radius:0}.ce-body{display:flex;flex-direction:column;overflow-y:auto}.ce-stage{order:-1;border-left:0;border-bottom:1px solid var(--border);overflow:visible;flex:none;position:-webkit-sticky;position:sticky;top:0;z-index:2}.ce-stage-sticky{flex-direction:row;justify-content:center;padding:12px;gap:12px}.ce-stage-meta{text-align:left;align-items:flex-start}.ce-controls{overflow:visible}}.cp-wm{position:absolute;display:flex;align-items:center;pointer-events:none;z-index:2;background:rgba(0,0,0,.55);color:#fff}.cp-wm-mark{flex:none;display:flex;background:#FC4438}.cp-wm-word{font-family:var(--cf-poppins),sans-serif;font-weight:700;line-height:1;white-space:nowrap}.cp-wm-word span{color:#FC4438}.cs-wm-note{line-height:1.45;color:var(--text-2);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:8px 10px}.cs-wm-note,.cs-wm-note .cs-link{font-size:12.5px}.clip-trim{display:flex;align-items:center;gap:6px;margin-top:12px;flex-wrap:wrap}.trim-lbl{font-size:12px;font-weight:560;color:var(--muted);margin-left:4px}.trim-lbl:first-child{margin-left:0}.trim-btn{font:500 12px/1 var(--mono);color:var(--text-2);background:var(--surface-2);border:1px solid var(--border);border-radius:6px;padding:6px 8px;min-height:30px;cursor:pointer}.trim-btn:hover:not(:disabled):not([aria-disabled=true]){border-color:var(--border-strong);color:var(--text)}.trim-btn:disabled,.trim-btn[aria-disabled=true]{opacity:.5;cursor:default}.clip-hook{display:flex;align-items:center;gap:8px;margin-top:10px}.clip-hook span{font-size:12px;font-weight:560;color:var(--muted);flex:none}.clip-hook input{flex:1 1;min-width:0;font:inherit;font-size:13.5px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:7px 10px}.clip-hook input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.clip-post{display:flex;align-items:flex-start;gap:10px;margin-top:10px;padding:10px 12px;background:var(--surface-2);border-radius:var(--radius-sm)}.clip-post-txt{flex:1 1;min-width:0;font-size:13px;line-height:1.55;color:var(--text-2);overflow-wrap:anywhere}.clip-tags{color:var(--accent)}.dhint{font-size:12.5px;line-height:1.5;color:var(--muted);margin:6px 0 10px}.lang-pick select{font:inherit;font-size:12.5px;color:var(--text-2);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:5px 8px;min-height:30px;cursor:pointer}.qa-head .lang-pick{margin-left:auto;margin-right:10px}.empty-state .panel-toolbar{justify-content:center}.link-btn{font:inherit;font-size:inherit;color:var(--accent);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.link-btn.danger{color:var(--danger)}.link-btn:disabled{opacity:.6;cursor:default}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}@media (max-width:640px){.clip-post{flex-direction:column}}.set-check{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--text-2);margin:4px 0 18px;cursor:pointer}.set-check input{width:16px;height:16px;accent-color:var(--accent)}.brand-kit{margin-bottom:18px}.brand-logo-row{display:flex;gap:14px;align-items:center}.brand-logo-box{width:96px;height:64px;flex:none;border:1px dashed var(--border-strong);border-radius:10px;display:grid;place-items:center;font-size:12px;color:var(--faint);background:repeating-conic-gradient(var(--surface-2) 0 25%,var(--surface) 0 50%) 0 0 /14px 14px}.brand-logo-box img{max-width:88px;max-height:56px;object-fit:contain}.brand-logo-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.brand-logo-actions small{flex-basis:100%;font-size:11.5px;color:var(--faint)}.brand-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.brand-color-row{display:flex;align-items:center;gap:10px}.fld .brand-color-row input[type=checkbox]{width:16px;height:16px;padding:0;accent-color:var(--accent)}.fld .brand-color-row input[type=color]{width:44px;height:32px;padding:2px;cursor:pointer}.brand-color-row em{font-style:normal;font-weight:500;font-size:12.5px;color:var(--muted);font-family:var(--font-mono,monospace)}.adm{max-width:1100px;margin:0 auto;padding:28px 16px 64px;color:var(--text)}.adm h1{font-size:24px;letter-spacing:-.02em;margin:0}.adm h2{font-size:14px;font-weight:650;margin:26px 0 10px;color:var(--text-2)}.adm h2 small{font-weight:400;color:var(--faint)}.adm-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px}.adm-meta{font-size:12.5px;color:var(--muted)}.adm-err{color:var(--danger)}.adm-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-gap:10px;gap:10px}.adm-tile{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px}.adm-tile-label{font-size:12px;color:var(--muted)}.adm-tile-value{font-size:24px;font-weight:700;letter-spacing:-.02em;margin-top:4px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.adm-tile-sub{font-size:11.5px;color:var(--faint);margin-top:2px}.adm-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));grid-gap:0 18px;gap:0 18px}.adm-table-wrap{overflow-x:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.adm-table{width:100%;border-collapse:collapse;font-size:13px}.adm-table td,.adm-table th{padding:8px 12px;border-bottom:1px solid var(--border);text-align:left;white-space:nowrap}.adm-table td:first-child{white-space:normal;word-break:break-word}.adm-table th{font-weight:600;color:var(--muted);font-size:12px;background:var(--surface-2)}.adm-table .num{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.adm-table tr:last-child td{border-bottom:0}.adm-empty{font-size:13px;color:var(--faint)}.adm-plan{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:10px 14px;margin-bottom:8px}.adm-plan summary{cursor:pointer}.adm-form{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-gap:8px 12px;gap:8px 12px;margin:12px 0}.adm-form .fld span{font-size:12px;font-family:ui-monospace,monospace}.adm-changed input,.adm-changed select{border-color:var(--accent)}.adm-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0}.adm-user{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 16px}.adm-list{margin:6px 0;padding-left:18px;font-size:13px;color:var(--text-2)}.adm-msg{white-space:pre-wrap!important;max-width:420px}.rail-nav{display:flex;flex-direction:column;gap:2px;margin-top:10px}.rail-link{display:flex;align-items:center;gap:9px;width:100%;padding:8px 10px;border:1px solid transparent;border-radius:9px;background:none;color:var(--text-2);font-size:13.5px;font-weight:550;cursor:pointer;text-align:left}.rail-link .icon{width:17px;height:17px;color:var(--muted)}.rail-link:hover{background:var(--surface-2)}.rail-link.active{background:var(--accent-soft);border-color:rgba(252,68,56,.18);color:var(--text)}.rail-link .pill{margin-left:auto;font-size:10px;font-weight:700;color:var(--accent);background:var(--accent-soft);padding:2px 7px;border-radius:100px}.newview.top{place-items:start center;padding-top:28px}.studio{width:100%;max-width:1100px;text-align:left}.studio-head{margin-bottom:18px}.studio-head.row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px}.studio-head h2{font-size:24px;letter-spacing:-.02em;margin:0 0 4px}.studio-head .sub{color:var(--muted);font-size:14.5px;margin:0;max-width:640px}.studio-sub{font-size:12px;font-weight:650;text-transform:uppercase;letter-spacing:.06em;color:var(--faint);margin:28px 0 8px}.fmt-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:12px;gap:12px}.fmt-card{display:flex;flex-direction:column;gap:6px;text-align:left;padding:18px;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);cursor:pointer;transition:all .12s;color:var(--text)}.fmt-card:hover{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.fmt-card b{font-size:16px}.fmt-card span:last-child{font-size:13.5px;color:var(--muted);line-height:1.45}.fmt-emoji{font-size:28px;line-height:1}.fmt-emoji.sm{font-size:20px}.story-list{display:flex;flex-direction:column;gap:4px}.acct-row,.story-row,.vid-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface);cursor:pointer}.story-row:hover,.vid-row:hover{background:var(--surface-2)}.story-row .ri-del{position:static;opacity:.6;border:0;background:none;cursor:pointer;color:var(--faint)}.sr-meta{display:flex;flex-direction:column;min-width:0;flex:1 1}.sr-meta b{font-size:14px;font-weight:600;white-space:nowrap}.sr-meta b,.sr-meta span{overflow:hidden;text-overflow:ellipsis}.sr-meta span{font-size:12.5px;color:var(--muted)}.st-pill{font-size:11.5px;font-weight:600;padding:3px 9px;border-radius:100px;background:var(--surface-2);color:var(--muted);text-transform:capitalize}.st-pill.st-done{background:#dcfce7;color:#15803d}.st-pill.st-error{background:var(--danger-soft);color:var(--danger)}.st-pill.st-queued,.st-pill.st-rendering{background:#fef9c3;color:#a16207}.link-btn.back{display:inline-flex;align-items:center;gap:4px;margin-bottom:12px;text-decoration:none;color:var(--muted)}.link-btn.back .icon{width:16px;height:16px}.src-card{display:flex;flex-direction:column;gap:14px;max-width:760px}.seg-toggle{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;background:var(--surface-2);border-radius:11px;align-self:flex-start}.seg-toggle button{border:0;background:none;padding:7px 13px;border-radius:8px;font-size:13.5px;font-weight:550;color:var(--muted);cursor:pointer}.seg-toggle button.on{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}.seg-toggle button:disabled{opacity:.45;cursor:default}.src-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 18px}.src-row .set-check{margin:0}.fld textarea{border:1px solid var(--border-strong);border-radius:10px;padding:10px 12px;font:inherit;font-size:14.5px;font-weight:400;color:var(--text);background:var(--surface);outline:none;resize:vertical;width:100%}.fld textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.fld.inline{flex-direction:row;align-items:center;gap:10px}.fld.inline select{padding:7px 10px}.fld input[type=range]{padding:0;accent-color:var(--accent)}.hint{display:block;font-size:12px;color:var(--faint);font-weight:400;margin-top:4px}.note-banner,.ok-banner{display:flex;align-items:center;gap:9px;margin:0 0 14px;padding:10px 14px;border-radius:10px;font-size:13.5px}.note-banner{background:#fffbeb;border:1px solid #fde68a;color:#92400e}.ok-banner{background:#f0fdf4;border:1px solid #bbf7d0;color:#15803d;cursor:pointer}.studio .error-banner{max-width:none;margin:0 0 14px;cursor:pointer}.src-card .error-banner{margin:0}.ed-top{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px}.ed-top .back{margin:0}.ed-title{flex:1 1 240px;min-width:0;font-size:20px;font-weight:650;letter-spacing:-.01em;border:1px solid transparent;border-radius:9px;padding:6px 8px;background:none;color:var(--text);outline:none}.ed-title:hover{border-color:var(--border)}.ed-title:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring);background:var(--surface)}.fmt-tag{font-size:12.5px;font-weight:600;color:var(--muted);background:var(--surface-2);padding:4px 10px;border-radius:100px}.ed-actions{display:flex;gap:8px;margin-left:auto}.ed-cols{display:grid;grid-template-columns:minmax(0,1fr) 360px;grid-gap:16px;gap:16px;align-items:start}.ed-main,.ed-side{display:flex;flex-direction:column;gap:16px;min-width:0}.ed-side .fld input:not([type=checkbox]),.ed-side .fld select,.publish-modal .fld input:not([type=checkbox]),.publish-modal .fld select{width:100%;min-width:0}.brand-grid>*{min-width:0}.ed-main .card,.ed-side .card{margin:0;display:flex;flex-direction:column;gap:12px}.ed-h{display:flex;align-items:baseline;justify-content:space-between;font-weight:650;font-size:14.5px}.ed-h span{font-weight:400;font-size:12.5px;color:var(--faint)}.lines{display:flex;flex-direction:column;gap:8px}.line{border:1px solid var(--border);border-radius:10px;padding:8px;background:var(--surface)}.line.has-card{border-color:rgba(252,68,56,.35);background:#fffaf9}.line-top{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:6px}.cast-row input,.cast-row select,.line-meta input,.line-top select,.slot-row input,.slot-row select{border:1px solid var(--border-strong);border-radius:8px;padding:5px 8px;font-size:13px;background:var(--surface);color:var(--text);min-width:0}.line-btns{display:flex;margin-left:auto}.line-btns label.icon-btn{cursor:pointer}.line textarea{width:100%;border:0;outline:none;resize:vertical;font:inherit;font-size:14.5px;line-height:1.45;padding:2px 4px;background:none;color:var(--text)}.line-meta{gap:6px}.line-img,.line-meta{display:flex;margin-top:6px}.line-img{align-items:center;gap:10px}.line-img img{height:56px;border-radius:8px}.cast{flex-direction:column}.cast,.cast-row{display:flex;gap:8px}.cast-row{flex-wrap:wrap;align-items:center}.cast-row input{flex:1 1 120px}.cast-row select{flex:1 1 150px}.cast-art{width:36px;height:36px;border-radius:50%;background:var(--surface-2);overflow:hidden;display:grid;place-items:center;font-weight:700;color:var(--muted);flex:none}.cast-art img{width:100%;height:100%;object-fit:cover}.bg-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:6px;gap:6px}.bg-tile{aspect-ratio:4/5;border-radius:8px;border:2px solid transparent;background:var(--surface-2);overflow:hidden;padding:0;cursor:pointer;font-size:11.5px;font-weight:600;color:var(--muted);position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;text-align:left}.bg-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.bg-tile:not(.random):after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,0) 55%)}.bg-tile .bg-name,.bg-tile .bg-sub{position:relative;z-index:1;padding:0 7px;line-height:1.2}.bg-tile .bg-name{font-size:12px;font-weight:700;color:#fff;padding-bottom:2px}.bg-tile .bg-dl{position:absolute;top:6px;right:6px;z-index:1;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.55);color:#fff}.bg-tile .bg-dl .icon{width:12px;height:12px}.bg-tile .bg-sub{font-size:10px;font-weight:500;color:rgba(255,255,255,.78);padding-bottom:7px}.bg-tile:not(:has(.bg-sub)) .bg-name{padding-bottom:7px}.bg-tile.random{justify-content:center;background:var(--surface-2)}.bg-tile.random .bg-name{color:var(--text)}.bg-tile.random .bg-sub{color:var(--muted)}.bg-tile:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.bg-tile.on{border-color:var(--accent)}.story-video{width:100%;max-height:560px;aspect-ratio:9/16;border-radius:12px;background:#000}.story-video.sm{max-height:360px;margin:10px 0}.render-status{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--muted)}.phone{position:relative;width:100%;max-width:260px;margin:0 auto;aspect-ratio:9/16;border-radius:22px;overflow:hidden;background:linear-gradient(160deg,#1e1b4b,#0f172a) 50% /cover no-repeat;box-shadow:var(--shadow-md);font-family:system-ui,sans-serif}.pv-card{position:absolute;left:7%;right:7%;top:24%;background:#fff;color:#1c1c1c;border-radius:12px;padding:10px 12px;font-size:10px}.pv-card.dark{background:#1a1a1b;color:#d7dadc}.pv-sub{font-weight:700;font-size:9.5px}.pv-sub span{font-weight:400;opacity:.6}.pv-title{font-weight:700;font-size:12px;margin:6px 0;line-height:1.3;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.pv-votes{font-size:9.5px;font-weight:700;color:#ff4500}.pv-cap{position:absolute;left:0;right:0;top:58%;text-align:center;color:#fff;font-weight:900;font-size:17px;-webkit-text-stroke:1px #000;text-shadow:0 2px 0 #000}.pv-cap.mid{top:42%}.pv-chat{position:absolute;left:5%;right:5%;top:7%;height:56%;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;background:#fff}.pv-chat-head{padding:8px 10px;font-weight:700;font-size:11px;background:#f6f6f6;color:#000}.pv-bubbles{flex:1 1;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;padding:8px;overflow:hidden}.pv-b{align-self:flex-start;max-width:75%;padding:5px 9px;border-radius:12px;font-size:10px;background:#e9e9eb;color:#000}.pv-b.me{align-self:flex-end;background:#0b84fe;color:#fff}.pv-chat.t-green{background:#ece5dd}.pv-chat.t-green .pv-chat-head{background:#075e54;color:#fff}.pv-chat.t-green .pv-b{background:#fff;color:#111b21}.pv-chat.t-green .pv-b.me{background:#dcf8c6;color:#111b21}.pv-chat.t-dark{background:#000}.pv-chat.t-dark .pv-chat-head{background:#121212;color:#fff}.pv-chat.t-dark .pv-b{background:#262626;color:#fff}.pv-chat.t-dark .pv-b.me{background:#7c3aed;color:#fff}.pv-char{position:absolute;left:8%;bottom:7%;display:flex;flex-direction:column;align-items:center;gap:4px}.pv-char img{width:110px;height:110px;object-fit:contain}.pv-char em{font-style:normal;font-size:10px;font-weight:700;color:#fff;background:rgba(0,0,0,.75);padding:2px 8px;border-radius:100px}.pv-initial{width:90px;height:90px;border-radius:50%;background:#46d2a0;color:#fff;display:grid;place-items:center;font-size:40px;font-weight:800}.publish-modal{max-width:520px}.publish-modal,.publish-modal .auth-sub,.publish-modal h2{text-align:left}.pm-empty{gap:12px;align-items:flex-start;font-size:14px;color:var(--text-2)}.acct-pick,.pm-empty{display:flex;flex-direction:column}.acct-pick{gap:6px}.acct-chip{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;cursor:pointer;font-weight:500}.acct-chip.on{border-color:var(--accent);background:var(--accent-soft)}.acct-chip.bad{opacity:.6;cursor:default}.acct-chip input{width:16px;height:16px;accent-color:var(--accent)}.acct-chip img,.acct-row img{width:28px;height:28px;border-radius:50%;object-fit:cover}.acct-chip span{display:flex;flex-direction:column;font-size:13.5px}.acct-chip small{font-size:11.5px;color:var(--muted);font-weight:400}.plat{width:22px;height:22px;border-radius:6px;flex:none;display:inline-block;position:relative}.plat.youtube{background:#ff0033}.plat.youtube:after{content:"";position:absolute;left:8px;top:6px;border-left:8px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}.plat.instagram{background:radial-gradient(circle at 30% 110%,#fdf497 0,#fd5949 45%,#d6249f 60%,#285aeb 90%)}.plat.instagram:after{content:"";position:absolute;inset:5px;border:2px solid #fff;border-radius:50%}.btn .plat{width:16px;height:16px;border-radius:4px}.btn .plat.youtube:after{left:6px;top:4px;border-left-width:6px;border-top-width:4px;border-bottom-width:4px}.btn .plat.instagram:after{inset:4px;border-width:1.5px}.pm-item{display:flex;flex-direction:column;gap:10px;padding-top:4px}.warn{color:var(--danger);font-style:normal}.icon-btn.flip .icon{transform:rotate(180deg)}@media (max-width:900px){.ed-cols{grid-template-columns:1fr}.ed-actions{margin-left:0}}@media (max-width:760px){.bg-grid{grid-template-columns:repeat(3,1fr)}.newview.top{padding:18px 16px 60px}}.gate{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:24px 16px;background:radial-gradient(ellipse at top,var(--accent-soft),var(--bg) 60%);overflow-y:auto}.gate-card{width:100%;max-width:420px;background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow-lg);padding:34px 28px 28px;text-align:center}.gate-brand{justify-content:center;margin-bottom:14px;font-size:20px}.gate h1{font-size:24px;letter-spacing:-.02em;margin:0 0 8px}.tnum{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.btn-lg{padding:13px 22px;font-size:15.5px;border-radius:12px}.meter{height:8px}.meter.blocks{display:flex;gap:4px}.meter.blocks span{flex:1 1;border-radius:3px;background:var(--accent);transition:background .3s}.meter.bar,.meter.blocks span.used{background:var(--border-strong)}.meter.bar{border-radius:4px;overflow:hidden}.meter.bar span{display:block;height:100%;background:var(--accent);border-radius:4px;transition:width .4s cubic-bezier(.16,1,.3,1)}.meter.lv-low.bar span,.meter.lv-low.blocks span:not(.used){background:#d97706}.composer.ask{padding:18px 20px}.ask-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-bottom:12px}.ask-head h3{margin:0;font-size:15.5px;font-weight:650;letter-spacing:-.01em}.ask-head span{font-size:13px;color:var(--muted)}.ask-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:10px;gap:10px;align-items:stretch}.composer.ask textarea{min-height:56px}.ask-row .btn{align-self:stretch;padding-inline:18px}.composer.ask .ex-chips{margin-top:12px}@media (max-width:760px){.ask-row{grid-template-columns:1fr}.ask-row .btn{justify-content:center}}.hub{width:100%;max-width:1000px;display:flex;flex-direction:column;align-items:center}.hub-switch{display:flex;justify-content:center;margin-bottom:30px}.hub-switch .seg-toggle{align-self:center}.hub-switch .seg-toggle button{display:inline-flex;align-items:center;gap:7px;padding:9px 16px;font-size:14px}.hub-switch .seg-toggle .icon{width:16px;height:16px}.hub-more{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:6px 14px;margin-top:30px;color:var(--muted)}.hub-more,.hub-more .link-btn{font-size:13px}.rs{width:100%;text-align:left}.rs .error-banner{max-width:none;margin:0 0 16px}.rs-hero{grid-template-columns:minmax(0,1fr) 340px}.rs-note{font-size:12.5px;color:var(--muted)}.rs-voice{gap:12px}.rs-voice-head{display:flex;flex-direction:column;gap:2px}.rs-voice-head span{font-size:13px;font-weight:600;color:var(--text-2)}.rs-voice-head small{font-size:12px;color:var(--muted)}.voice-list{display:grid;grid-template-columns:1fr 1fr;grid-gap:6px;gap:6px;max-height:236px;overflow-y:auto;padding:2px;margin:-2px}.voice-chip{display:flex;align-items:stretch;border:1px solid var(--border);border-radius:10px;background:var(--surface);overflow:hidden;transition:border-color .15s,box-shadow .15s}.voice-chip.on{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-ring)}.voice-pick{flex:1 1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:7px 4px 7px 10px;border:0;background:none;cursor:pointer;text-align:left;color:var(--text)}.voice-pick b{font-size:13px;font-weight:650}.voice-pick span{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.voice-play{flex:none;width:34px;display:grid;place-items:center;border:0;border-left:1px solid var(--border);background:var(--surface-2);color:var(--text-2);cursor:pointer}.voice-play:hover{background:var(--accent-soft);color:var(--accent)}.voice-play .icon{width:13px;height:13px}.voice-chip.on .voice-play{border-left-color:rgba(252,68,56,.25)}.voice-pick:focus-visible,.voice-play:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.rs-opts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.rs-opts .set-check{margin:0}.rs-opts .seg-toggle button{padding:6px 10px;font-size:12.5px}.rs-subs{margin-bottom:16px}.sub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));grid-gap:8px;gap:8px}.sub-card{display:flex;flex-direction:column;gap:4px;min-height:92px;padding:12px 12px 11px;text-align:left;cursor:pointer;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);transition:border-color .15s,box-shadow .15s,transform .15s}.sub-card:hover:not(:disabled){border-color:var(--accent);box-shadow:0 6px 18px -10px rgba(252,68,56,.45);transform:translateY(-1px)}.sub-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.sub-card:disabled{cursor:default}.sub-card:disabled:not(.busy){opacity:.55}.sub-card.busy{border-color:var(--accent);background:var(--accent-soft)}.sub-top{display:flex;align-items:center;justify-content:space-between;gap:8px;align-items:flex-start}.sub-top b{font-size:14px;font-weight:650;min-width:0;overflow-wrap:anywhere;line-height:1.25}.sub-go{color:var(--faint);display:grid;transition:color .15s,transform .15s}.sub-go .icon{width:15px;height:15px}.sub-card:hover:not(:disabled) .sub-go{color:var(--accent);transform:translateX(2px)}.sub-blurb{font-size:12.5px;line-height:1.45;color:var(--muted)}.sub-members{margin-top:auto;font-size:11.5px;color:var(--faint)}.sub-card.skeleton{cursor:default;background:linear-gradient(90deg,var(--surface-2),var(--surface),var(--surface-2));background-size:200% 100%;animation:sk-sweep 1.4s ease-in-out infinite}@keyframes sk-sweep{0%{background-position:100% 0}to{background-position:-100% 0}}@media (prefers-reduced-motion:reduce){.sub-card.skeleton{animation:none}.sub-card:hover:not(:disabled){transform:none}}.rs-link .ask-row input{width:100%;min-width:0;border:1px solid var(--border-strong);border-radius:12px;padding:13px 15px;font:inherit;font-size:15px;color:var(--text);background:var(--surface);outline:none;transition:border-color .15s,box-shadow .15s}.rs-link .ask-row input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}@media (max-width:760px){.hub-switch{margin-bottom:20px}.hub-switch .seg-toggle button{padding:8px 11px;font-size:13px}.rs-hero{grid-template-columns:1fr}.voice-list{max-height:none}.sub-grid{grid-template-columns:1fr 1fr}.sub-card{min-height:0}}.dlg-cast{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.dlg-row{display:flex;gap:12px;align-items:center;min-width:0}.char-slot{flex:none;width:84px;height:84px;border-radius:14px;border:1px solid var(--border);background:var(--surface-2);display:grid;place-items:center;padding:6px;cursor:pointer;transition:border-color .15s,box-shadow .15s}.char-slot img{width:100%;height:100%;object-fit:contain}.char-slot.empty{border:1.5px dashed var(--border-strong);background:var(--surface);color:var(--muted)}.char-slot.empty span{display:flex;flex-direction:column;align-items:center;gap:4px}.char-slot.empty em{font-style:normal;font-size:11px;font-weight:600;line-height:1.2;text-align:center}.char-slot.open,.char-slot:hover{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.char-slot:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.dlg-fields{display:flex;flex-direction:column;gap:6px;flex:1 1;min-width:0;align-items:flex-start}.dlg-fields input{width:100%;border:1px solid var(--border-strong);border-radius:8px;padding:6px 9px;font-size:13.5px;font-weight:600;background:var(--surface);color:var(--text)}.dlg-voice{display:flex;gap:4px;width:100%;min-width:0}.dlg-voice select{flex:1 1;min-width:0;border:1px solid var(--border-strong);border-radius:8px;padding:5px 8px;font-size:13px;background:var(--surface);color:var(--text)}.warn-soft{color:#b45309;margin:0}.char-picker{border-top:1px solid var(--border);padding-top:10px;display:flex;flex-direction:column;gap:8px}.char-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));grid-gap:6px;gap:6px;max-height:300px;overflow-y:auto;padding:2px}.char-tile{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px 6px;border-radius:10px;border:1.5px solid transparent;background:var(--surface-2);cursor:pointer;font-size:11.5px;font-weight:600;color:var(--text-2);transition:border-color .15s,background .15s}.char-tile img{width:56px;height:56px;object-fit:contain}.char-tile span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.char-tile:hover:not(:disabled){border-color:var(--border-strong);background:var(--surface)}.char-tile.on{border-color:var(--accent);background:var(--accent-soft)}.char-tile:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.char-tile.upload{justify-content:center;border:1.5px dashed var(--border-strong);background:var(--surface);color:var(--muted);min-height:88px}.char-tile.upload .icon{width:20px;height:20px}.char-tile.upload span{white-space:normal;text-align:center}@media (prefers-reduced-motion:reduce){.char-slot,.char-tile{transition:none}}.pub{height:100%;display:flex;flex-direction:column;background:var(--bg)}.pub-bar{flex:none;display:flex;align-items:center;gap:20px;padding:12px 24px;border-bottom:1px solid var(--border);background:var(--surface)}.pub-bar .brand{text-decoration:none;color:inherit}.pub-nav{display:flex;gap:4px;margin-left:auto;overflow-x:auto}.pub-nav a{padding:7px 12px;border-radius:8px;font-size:14px;font-weight:550;color:var(--text-2);text-decoration:none;white-space:nowrap}.pub-nav a.on,.pub-nav a:hover{background:var(--surface-2);color:var(--text)}.pub-main{flex:1 1;min-height:0;display:flex;flex-direction:column}.page-scroll{flex:1 1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.mtop .brand,.rail-top .brand,a.rail-link{text-decoration:none;color:inherit}a.rail-new{text-decoration:none}@media (max-width:640px){.pub-bar{padding:10px 16px;gap:12px}.pub-nav a{padding:6px 9px;font-size:13px}}.hub-tools{width:100%;max-width:760px;margin-top:36px;display:flex;flex-direction:column;align-items:center;gap:12px}.hub-tools>span{font-size:13.5px;color:var(--muted)}.hub-tool-row{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px}.hub-tool{display:flex;align-items:center;gap:10px;padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);text-decoration:none;font-size:14px;transition:border-color .15s,box-shadow .15s,transform .15s}.hub-tool:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md);transform:translateY(-1px)}.hub-tool .icon{width:18px;height:18px;color:var(--accent);flex:none}.hub-tool b{font-weight:600}@media (max-width:720px){.hub-tool-row{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.hub-tool{transition:none}.hub-tool:hover{transform:none}}.signin-panel{display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm);text-align:center}.signin-panel .sp-title{font-size:17px}.signin-panel .sp-sub{margin:0;font-size:14px;color:var(--muted);max-width:42ch}.signin-panel .sp-google{min-height:44px;display:grid;place-items:center}.pricing-modal:focus{outline:none}.pick-grid{width:100%;max-width:820px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;margin-top:8px}.pick-card{display:grid;grid-template-columns:40px 1fr;grid-template-rows:auto auto;grid-column-gap:14px;column-gap:14px;grid-row-gap:3px;row-gap:3px;align-items:center;text-align:left;padding:18px 20px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);text-decoration:none;font:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}.pick-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md);transform:translateY(-1px)}.pick-card .icon{grid-row:1/3;width:40px;height:40px;padding:9px;border-radius:10px;background:var(--accent-soft);color:var(--accent)}.pick-card b{font-size:15.5px;font-weight:650}.pick-card span{font-size:13.5px;color:var(--muted);line-height:1.4}.pick-card.k-youtube{border-color:rgba(252,68,56,.35)}.hub-back{align-self:flex-start;display:inline-flex;align-items:center;gap:4px;margin-bottom:14px;padding:0;background:none;border:0;font:inherit;font-size:13.5px;color:var(--muted);text-decoration:none;cursor:pointer}.hub-back:hover{color:var(--text)}.hub-back .icon{width:15px;height:15px}.search-row{width:100%;display:flex;gap:10px;align-items:stretch}.search-row .search-box{flex:1 1;min-width:0}.surprise-btn{flex:none;white-space:nowrap}.hub-opts{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 18px;margin-top:12px}.hub-opts .seg-toggle .icon{width:12px;height:12px}.samples .chip .spinner{margin-right:6px}.wk-kind{display:inline-flex;align-items:center;justify-content:center;color:var(--accent);background:var(--accent-soft)}.wk-kind .icon{width:22px;height:22px}.st-work{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-gap:20px;gap:20px;align-items:start}.st-lines{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.st-line{width:100%;display:flex;gap:12px;align-items:baseline;text-align:left;font:inherit;cursor:pointer;padding:11px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text)}.st-line:hover{border-color:var(--border-strong)}.st-line.on{border-color:rgba(252,68,56,.45);background:var(--accent-soft)}.st-who{flex:none;width:82px;font-size:12px;font-weight:650;color:var(--muted);text-transform:uppercase;letter-spacing:.03em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-text{font-size:14.5px;line-height:1.45;color:var(--text-2)}.st-text em{color:var(--faint)}.st-side{position:-webkit-sticky;position:sticky;top:12px;display:flex;flex-direction:column;align-items:stretch;gap:10px}.st-preview{width:100%;max-width:270px;align-self:center}.st-preview.big{max-width:320px}.st-stepper{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12.5px;color:var(--muted)}.st-render{display:flex;flex-direction:column;gap:8px}.st-render .btn{justify-content:center}.st-rendering{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:10px;background:var(--surface-2)}.st-rendering b{display:block;font-size:14px}.st-rendering small{color:var(--muted);font-size:12.5px}.st-video{width:100%;border-radius:12px;background:#000;aspect-ratio:9/16}.st-check{gap:6px;color:var(--text-2)}.st-check,.st-row{display:flex;align-items:center;font-size:13px}.st-row{justify-content:space-between;gap:10px;margin-top:10px}.st-title-input{flex:1 1;min-width:0;font:inherit;font-size:17px;font-weight:650;border:1px solid transparent;border-radius:8px;padding:6px 8px;background:none;color:var(--text)}.st-title-input:focus,.st-title-input:hover{border-color:var(--border);outline:none;background:var(--surface)}.st-count{font-weight:500;text-transform:none;letter-spacing:0;color:var(--muted);margin-left:8px}.st-count.warn{color:var(--danger)}.ce-head{gap:12px}@media (max-width:900px){.st-work{grid-template-columns:1fr}.st-side{position:static}.pick-grid{grid-template-columns:1fr}.search-row{flex-direction:column}}.wk-head .wk-kind{width:40px;height:40px;border-radius:10px}.flow{justify-content:space-between;gap:10px 24px;padding:10px 24px;border-bottom:1px solid var(--border);background:var(--surface)}.flow,.flow ol{display:flex;align-items:center;flex-wrap:wrap}.flow ol{list-style:none;margin:0;padding:0;gap:6px}.flow li{display:flex;align-items:center;gap:6px}.flow li+li:before{content:"";width:18px;height:1px;background:var(--border-strong)}.flow li>button,.flow li>span{display:inline-flex;align-items:center;gap:7px;padding:4px 9px 4px 4px;border-radius:100px;font:inherit;font-size:13px;color:var(--muted);background:none;border:0}.flow li>button{cursor:pointer}.flow li>button:hover{background:var(--surface-2);color:var(--text)}.flow-dot{width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:650;border:1px solid var(--border-strong);background:var(--surface);color:var(--muted)}.flow-dot .icon{width:13px;height:13px}.flow li.on>*{color:var(--text);font-weight:600;background:var(--accent-soft)}.flow li.on .flow-dot{background:var(--accent);border-color:var(--accent);color:#fff}.flow li.done .flow-dot{background:#dcfce7;border-color:#bbf7d0;color:#15803d}.flow li.done>*{color:var(--text-2)}.flow-next{margin:0;font-size:13px;color:var(--muted)}.flow-next b{color:var(--accent);font-weight:650}@media (max-width:900px){.flow{padding:8px 14px}.flow-label{display:none}.flow li.on .flow-label{display:inline}}.rp{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.rp-head{display:flex;align-items:center;gap:9px;font-size:14px}.rp-head b{font-weight:650}.rp-left{margin-left:auto;font-size:12.5px;color:var(--muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.rp-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.rp-steps li{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px}.rp-steps li+li:before{content:"";position:absolute;top:8px;right:50%;width:100%;height:2px;background:var(--border-strong)}.rp-steps li.done+li:before,.rp-steps li.done:before{background:var(--accent)}.rp-dot{position:relative;z-index:1;width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--surface);border:2px solid var(--border-strong);color:#fff}.rp-dot .icon{width:11px;height:11px}.rp-steps li.done .rp-dot{background:var(--accent);border-color:var(--accent)}.rp-steps li.on .rp-dot{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-ring)}.rp-steps li.on .rp-dot:after{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent);animation:rp-pulse 1.2s ease-in-out infinite}@keyframes rp-pulse{50%{transform:scale(.55);opacity:.6}}.rp-label{font-size:11.5px;color:var(--faint)}.rp-steps li.done .rp-label{color:var(--text-2)}.rp-steps li.on .rp-label{color:var(--text);font-weight:650}.rp-detail{font-size:13px;color:var(--text-2);text-align:center}.rp-bar{height:4px;border-radius:4px;background:var(--surface-2);overflow:hidden}.rp-bar span{display:block;height:100%;background:var(--accent);border-radius:4px;transition:width .6s ease}.rp-note{font-size:12px;color:var(--muted);text-align:center}.rp-compact{padding:10px 12px;gap:8px;flex:1 1;min-width:260px}.clip-actions:has(.rp){flex-wrap:wrap;align-items:stretch}@media (prefers-reduced-motion:reduce){.rp-steps li.on .rp-dot:after{animation:none}}@font-face{font-family:GeistSans;src:url(/_next/static/media/0b78ff376f6b9734-s.p.woff2) format("woff2");font-display:swap;font-weight:100 900}@font-face{font-family:GeistSans Fallback;src:local("Arial");ascent-override:94.56%;descent-override:27.76%;line-gap-override:0.00%;size-adjust:106.28%}.__className_8adcd2{font-family:GeistSans,GeistSans Fallback}.__variable_8adcd2{--font-geist-sans:"GeistSans","GeistSans Fallback"}@font-face{font-family:GeistMono;src:url(/_next/static/media/723e11e5093b8e80.p.woff2) format("woff2");font-display:swap;font-weight:100 900}.__className_46451f{font-family:GeistMono,ui-monospace,SFMono-Regular,Roboto Mono,Menlo,Monaco,Liberation Mono,DejaVu Sans Mono,Courier New,monospace}.__variable_46451f{--font-geist-mono:"GeistMono",ui-monospace,SFMono-Regular,Roboto Mono,Menlo,Monaco,Liberation Mono,DejaVu Sans Mono,Courier New,monospace}