:root{font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#181818;--surface:#222;--panel:#222;--raised:#2b2b2b;--header:#1f1f1f;--nav:#1f1f1f;--soft:#2a2d38;--line:#363636;--border:var(--line);--text:#ededed;--muted:#a3a3a3;--primary:#90aaff;--primary-deep:#4267e8;--primary-contrast:#fff;--stage:#151515;--danger:#ff929a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fff;--surface:#f7f7f7;--panel:#f7f7f7;--raised:#eee;--header:#fff;--nav:#f3f3f3;--soft:#edf1ff;--line:#e3e3e3;--text:#1a1c1f;--muted:#6b6b6b;--primary:#4267e8;--primary-deep:#4267e8;--stage:#e9e9e9;--danger:#b33d49}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:7px 10px;display:inline-flex}button:hover:not(:disabled){background:var(--raised)}button:disabled{opacity:.35;cursor:not-allowed}a{color:var(--primary);text-decoration:none}select,input,textarea{background:var(--raised);color:var(--text);border:1px solid var(--line);border-radius:7px;padding:7px}input[type=range]{accent-color:var(--primary);padding:0}h1,h2,h3,p{margin-top:0}h3{font-size:14px}h4{color:var(--muted);margin-top:20px;font-size:12px}.editor{background:var(--bg);flex-direction:column;min-height:100vh;display:flex}.topbar{background:var(--header);border-bottom:1px solid var(--line);align-items:center;gap:16px;height:58px;padding:0 16px;display:flex}.identity{white-space:nowrap;align-items:center;gap:8px;display:flex}.identity b{letter-spacing:-.5px;font-size:15px}.identity strong{color:var(--primary);font-weight:800}.app-icon{color:#fff;background:#4267e8;border-radius:9px;place-items:center;padding:8px;display:grid}.beta{letter-spacing:.8px;border:1px solid var(--line);color:var(--primary);background:var(--soft);border-radius:4px;padding:2px 5px;font-size:9px;font-weight:800}.project-name{text-overflow:ellipsis;background:0 0;border-color:#0000;width:min(220px,18vw);font-size:13px;overflow:hidden}.project-name:focus{border-color:var(--primary)}.top-actions{align-items:center;gap:3px;margin-left:auto;display:flex}.top-actions button{font-size:12px}.primary,.wide-primary{background:var(--primary-deep);color:#fff!important;border:1px solid var(--primary-deep)!important}.primary:hover,.wide-primary:hover{background:var(--primary)!important}.workspace{background:var(--surface);grid-template-columns:minmax(230px,265px) minmax(360px,1fr) minmax(200px,248px);height:min(54vh,650px);min-height:450px;display:grid}.leftpanel,.rightpanel{background:var(--panel);border-right:1px solid var(--line);min-width:0;display:flex;overflow:hidden}.rightpanel{border-right:0;border-left:1px solid var(--line);display:block;overflow:auto}.leftpanel .tabbar{background:var(--bg);border-right:1px solid var(--line);flex-direction:column;align-items:stretch;gap:4px;width:68px;padding:10px 4px;display:flex}.tabbar button{color:var(--muted);border-radius:8px;flex-direction:column;gap:4px;padding:10px 0;font-size:9px}.tabbar button.active{color:var(--primary);background:var(--soft)}.panel-inner{flex:1;padding:14px 12px;overflow:auto}.panel-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:6px;padding:13px 15px;font-size:13px;display:flex}.panel-inner .panel-heading{border:0;padding:0 0 12px}.panel-heading b{align-items:center;gap:6px;display:flex}.upload-area{border:1px dashed var(--line);background:var(--surface);text-align:center;cursor:pointer;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:135px;margin:5px 0 12px;display:flex}.upload-area svg{color:var(--primary)}.upload-area b{font-size:12px}.upload-area small{color:var(--muted);font-size:10px}.asset-row{text-align:left;justify-content:flex-start;gap:8px;width:100%;padding:8px 4px;display:flex}.asset-row span:nth-child(2){flex:1;min-width:0}.asset-row b,.asset-row small{text-overflow:ellipsis;font-size:11px;display:block;overflow:hidden}.asset-row small{color:var(--muted);margin-top:4px}.asset-thumb{background:var(--soft);width:37px;height:37px;color:var(--primary);border-radius:6px;flex:none;place-items:center;display:grid}.asset-row>svg{margin:auto}.recent-row{text-overflow:ellipsis;text-align:left;width:100%;padding:8px;font-size:11px;display:block;overflow:hidden}.muted{font-size:12px;line-height:1.5;color:var(--muted)!important}.center{flex-direction:column;min-width:0;display:flex}.preview-head{border-bottom:1px solid var(--line);height:44px;color:var(--muted);justify-content:space-between;align-items:center;gap:8px;padding:0 15px;font-size:11px;display:flex}.preview-head select{margin-left:4px;padding:4px 5px}.toggle{border:1px solid var(--line);border-radius:7px;padding:2px;display:flex}.toggle button{padding:4px 8px;font-size:11px}.toggle .chosen{background:var(--soft);color:var(--primary)}.preview-stage{background:var(--stage);flex:1;justify-content:center;align-items:center;min-height:0;padding:20px;display:flex}.preview-box{background:#090f1f;width:auto;max-width:100%;height:auto;max-height:100%;position:relative;box-shadow:0 9px 40px #0005}.preview-box canvas{object-fit:contain;width:100%;height:100%;max-height:100%;display:block}.welcome{text-align:center;background:#090f1fbb;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:10px;display:flex;position:absolute;inset:0}.welcome h2{margin:0;font-size:clamp(14px,2vw,25px)}.welcome p{color:#c1cede;max-width:320px;margin:0;font-size:12px}.welcome small{color:#a1b4d4;margin-top:7px;font-size:10px}.welcome-icon{color:#fff;background:#4267e8;border-radius:8px;place-items:center;width:54px;height:54px;display:grid}.welcome>div{gap:6px;display:flex}.transport{border-top:1px solid var(--line);align-items:center;gap:7px;height:55px;padding:0 15px;display:flex}.transport .play{background:var(--primary-deep);color:#fff;border-radius:50%;width:40px;height:40px}.timecode{font-variant-numeric:tabular-nums;font-family:ui-monospace,Consolas,monospace;font-size:12px}.timecode em{color:var(--muted);font-style:normal}.spacer{flex:1}.props{flex-direction:column;gap:12px;padding:14px;display:flex}.props h3{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.props label,.modal label{color:var(--muted);flex-direction:column;gap:5px;font-size:11px;display:flex}.props label input,.props label textarea{width:100%;font-size:12px}.props-buttons{gap:8px;display:flex}.props-buttons button{border:1px solid var(--line)}.danger{color:var(--danger)!important}.empty-props{color:var(--muted);padding:20px;font-size:12px;line-height:1.6}.wide-primary{width:100%;padding:10px;font-size:12px;display:flex}.timeline{border-top:1px solid var(--line);background:var(--panel);flex-direction:column;height:290px;display:flex}.timeline-toolbar{border-bottom:1px solid var(--line);align-items:center;gap:4px;height:43px;padding:0 12px;font-size:12px;display:flex}.timeline-toolbar button{font-size:11px}.timeline-toolbar input[type=range]{width:72px}.timeline-body{flex:1;min-height:0;display:flex}.track-labels{background:var(--surface);border-right:1px solid var(--line);flex-shrink:0;width:188px}.ruler-label{height:27px;color:var(--muted);border-bottom:1px solid var(--line);padding:8px 10px;font-size:10px}.track-label{border-bottom:1px solid var(--line);align-items:center;gap:1px;height:49px;padding:0 5px;display:flex}.track-name{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:10px;overflow:hidden}.track-label button{color:var(--muted);padding:4px}.timeline-scroll{background:repeating-linear-gradient(90deg,transparent 0px,transparent 70px,var(--line) 71px,transparent 72px);flex:1;position:relative;overflow:auto}.timeline-inner{min-height:175px;position:relative}.time-ruler{background:var(--surface);border-bottom:1px solid var(--line);cursor:crosshair;height:27px;position:relative}.tick{color:var(--muted);border-left:1px solid var(--line);padding-left:4px;font-family:monospace;font-size:9px;position:absolute;top:7px}.track-row{border-bottom:1px solid var(--line);height:49px;position:relative}.track-row.locked{background:#8881}.timeline-clip{text-overflow:ellipsis;color:#fff;cursor:grab;background:#214f9b;border:1px solid #5993f1;border-radius:5px;justify-content:flex-start;height:39px;padding:7px;font-size:11px;display:flex;position:absolute;top:5px;overflow:hidden;box-shadow:0 1px 5px #0003}.timeline-clip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.timeline-clip.audio{background:#145c61;border-color:#22a6a5}.timeline-clip.text{background:#6c4a8a;border-color:#b18cd9}.timeline-clip.image{background:#5e5520;border-color:#ad9c38}.timeline-clip.selected{outline-offset:1px;outline:2px solid #fff}.playhead{pointer-events:none;z-index:5;border-left:2px solid #f87171;position:absolute;top:0;bottom:0}.playhead span{background:#f87171;width:10px;height:10px;position:absolute;top:0;left:-6px;transform:rotate(45deg)}.status-line{border-top:1px solid var(--line);min-height:35px;color:var(--muted);flex-wrap:wrap;align-items:center;gap:16px;padding:3px 12px;font-size:10px;display:flex}.status-line>span:first-child{color:var(--primary);align-items:center;gap:5px;display:flex}.status-line button{padding:3px 6px;font-size:10px}.ad-zone{border:1px dashed var(--line);width:100%;height:75px;color:var(--muted);place-items:center;font-size:11px;display:grid}.app-footer{color:var(--muted);background:var(--header);border-top:1px solid var(--line);flex-wrap:wrap;justify-content:center;align-items:center;gap:15px;padding:8px;font-size:10px;display:flex}.app-footer a{color:var(--muted)}.toast{z-index:15;background:var(--raised);border:1px solid var(--primary);border-radius:10px;align-items:center;gap:10px;max-width:400px;padding:12px;font-size:12px;display:flex;position:fixed;bottom:25px;right:20px;box-shadow:0 8px 30px #0004}.modal-backdrop{z-index:20;background:#0009;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal{background:var(--surface);border:1px solid var(--line);border-radius:10px;flex-direction:column;gap:14px;width:min(420px,100%);max-height:90vh;padding:24px;display:flex;overflow:auto;box-shadow:0 15px 70px #0006}.modal-head{justify-content:space-between;align-items:center;display:flex}.modal h2{margin:0;font-size:20px}.modal p{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.modal label{font-size:12px}.modal select{width:100%}.modal small{color:var(--muted);font-size:10px}.progress{background:var(--line);border-radius:6px;width:100%;height:8px;overflow:hidden}.progress>div{background:var(--primary);height:100%;transition:width .15s}.simple .workspace{grid-template-columns:225px minmax(0,1fr)}.simple .tabbar{width:52px}.simple .tabbar button span{display:none}.simple .timeline{height:195px}.page{background:var(--bg);min-height:100vh}.page-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:25px 7%;display:flex}.page main{max-width:820px;color:var(--text);margin:auto;padding:60px 24px;line-height:1.7}.page h1{font-size:32px}.page p{color:var(--muted);font-size:15px}.page footer{gap:20px;margin-top:40px;display:flex}@media (max-width:1140px){.workspace{grid-template-columns:220px minmax(300px,1fr) 210px}.topbar{gap:8px;padding:0 8px}.top-actions button span{display:none}.identity b{font-size:12px}.project-name{width:150px}.track-labels{width:155px}.track-name{font-size:9px}}@media (max-width:780px){.topbar{height:52px}.identity b{display:none}.top-actions{gap:0}.top-actions button{padding:6px}.project-name{width:105px}.workspace{flex-direction:column;height:auto;min-height:0;display:flex}.leftpanel{border-right:0;border-top:1px solid var(--line);order:2;height:170px}.leftpanel .tabbar{flex-direction:row;flex:none;width:100%;height:50px;padding:3px;overflow-x:auto}.leftpanel{flex-direction:column}.tabbar button{min-width:60px}.tabbar button span{display:block}.panel-inner{min-height:0;padding:10px}.upload-area{min-height:90px}.center{flex:none;order:1;height:340px}.preview-stage{padding:10px}.rightpanel{border-left:0;border-top:1px solid var(--line);order:3;height:200px}.rightpanel .props{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.rightpanel .props h3{grid-column:1/-1}.timeline{height:230px}.track-labels{width:115px}.track-label button{padding:3px}.status-line{gap:5px}.transport{height:47px}.welcome-icon{width:35px;height:35px}.welcome-icon svg{width:22px}.welcome p{display:none}.preview-head{height:40px}.workspace.simple .leftpanel{height:150px}.ad-zone{height:42px}}@media (max-width:420px){.project-name{width:75px;padding:4px}.identity{gap:3px}.top-actions button{padding:5px}.topbar{gap:3px}.top-actions button:nth-child(4),.top-actions button:nth-child(5),.status-line>span:nth-child(2){display:none}.rightpanel .props{grid-template-columns:repeat(2,minmax(0,1fr))}.center{height:300px}.timeline{height:220px}.timeline-toolbar button{padding:5px}.timeline-toolbar button:nth-of-type(2){font-size:0}.app-footer{gap:8px}}.relink-warning{white-space:normal;text-align:left;color:#fbbf24;background:#f59e0b18;border:1px solid #f59e0b66;justify-content:flex-start;width:100%;margin-bottom:8px;padding:9px;font-size:12px}.relink-warning:hover{background:#f59e0b28}.keyframe-controls{border:1px solid var(--line);border-radius:9px;flex-direction:column;gap:6px;padding:10px;display:flex}.keyframe-controls h3{margin:0}.keyframe-controls button{border:1px solid var(--line);justify-content:flex-start;padding:6px;font-size:11px}.keyframe-controls select{width:100%;font-size:11px}.secondary{margin-top:8px;color:var(--primary)!important;background:0 0!important}.panel-field{color:var(--muted);flex-direction:column;gap:6px;margin:12px 0;font-size:12px;display:flex}.panel-field input,.panel-field select{width:100%}.effect-field{text-transform:capitalize;color:var(--muted);grid-template-columns:1fr auto;gap:4px;margin:9px 0;font-size:11px;display:grid}.effect-field input{grid-column:1/-1;width:100%}.effect-field span{color:var(--text);font-variant-numeric:tabular-nums}.effect-check{color:var(--muted);align-items:center;gap:7px;margin:8px 0;font-size:11px;display:flex}.effect-check input{accent-color:var(--primary)}.props-buttons{flex-wrap:wrap;display:flex}.props-buttons button{font-size:11px}.quick-modal{width:min(510px,100%)}.quick-modal input[type=file]{width:100%;font-size:11px;display:block}.quick-modal small{overflow-wrap:anywhere;line-height:1.45}.quick-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.quick-options label{min-width:0}.quick-modal-actions{justify-content:flex-end;gap:8px;display:flex}.quick-modal-actions button{font-size:12px}.quick-modal .effect-check{flex-direction:row;align-items:center}@media (max-width:490px){.quick-modal{padding:15px}.quick-options{gap:7px}.quick-modal-actions button{white-space:normal}}.timeline-clip{-webkit-user-select:none;user-select:none;touch-action:pan-y;padding-left:13px;padding-right:13px}.timeline-clip .clip-title{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;display:block;overflow:hidden}.timeline-clip .trim-handle{cursor:ew-resize;touch-action:none;z-index:6;background:#ffffff20;border:1px solid #fff5;width:12px;position:absolute;top:0;bottom:0}.timeline-clip .trim-handle:hover{background:#fff8}.timeline-clip .trim-left{border-radius:4px 0 0 4px;left:0}.timeline-clip .trim-right{border-radius:0 4px 4px 0;right:0}.beat-marker{z-index:4;color:#fbbf24;cursor:pointer;background:#f59e0b2d;border:1px solid #fbbf24aa;border-radius:3px;min-width:14px;padding:2px 3px;font-size:11px;line-height:1;position:absolute;top:2px;transform:translate(-50%)}.beat-marker.manual{color:var(--primary);border-color:var(--primary);background:#3b82f622}.marker-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:4px;font-size:11px;display:flex}.marker-row button{padding:5px;font-size:11px}.workspace{overflow:hidden}.center,.preview-stage{min-height:0;overflow:hidden}.preview-box{max-width:100%;min-height:0;max-height:100%;overflow:hidden}.preview-box canvas{object-fit:contain;max-width:100%;max-height:100%}@media (max-width:780px){.workspace{overflow:visible}.center{min-height:0;overflow:hidden}.preview-stage{overflow:hidden}}.timeline-toolbar{scrollbar-width:thin;min-width:0;overflow:auto hidden}.timeline-toolbar>*{flex-shrink:0}.timeline-toolbar .spacer{flex:1 0 4px}.chroma-key-controls{border:1px solid var(--line);background:var(--raised);border-radius:9px;min-width:0;margin:9px 0 14px;padding:9px 10px}.chroma-key-controls h4{margin:0}.chroma-key-controls .panel-field{margin-top:0}.chroma-key-controls input[type=color]{cursor:pointer;width:100%;height:33px;padding:3px}.chroma-actions{flex-wrap:wrap;gap:5px;margin:7px 0 11px;display:flex}.chroma-actions button{white-space:nowrap;border:1px solid var(--line);flex:auto;padding:6px 7px;font-size:11px}.chroma-actions button.chosen{background:var(--primary);border-color:var(--primary);color:#fff}.chroma-key-controls .effect-field{margin:8px 0}.chroma-key-controls small{margin:8px 0 2px;line-height:1.5;display:block}.timeline-clip{touch-action:none}.timeline-clip.clip-moving{z-index:12;cursor:grabbing;outline:2px solid var(--primary);box-shadow:0 6px 18px #0007}.timeline-clip.clip-moving.invalid-drop{outline-color:var(--danger);opacity:.65}.snap-toggle{border:1px solid var(--line);font-variant-numeric:tabular-nums}.snap-toggle.enabled{border-color:var(--primary);color:var(--primary)}.snap-guide{pointer-events:none;z-index:6;background:#fbbf2450;border-left:1px dashed #fbbf24;width:1px;position:absolute;top:0;bottom:0;box-shadow:0 0 8px #fbbf2490}.timeline-clip .audio-waveform{opacity:.75;pointer-events:none;mix-blend-mode:screen;z-index:0;width:calc(100% - 24px);height:23px;position:absolute;bottom:2px;left:12px;right:12px}.timeline-clip .clip-title{z-index:1;text-shadow:0 1px 3px #000d;position:relative}.timeline-clip.audio .clip-title{font-weight:600}.kf-widget{margin-top:9px}.kf-heading{justify-content:space-between;gap:5px;font-size:11px;display:flex}.kf-heading span{color:var(--muted);font-size:10px}.kf-rail{touch-action:none;-webkit-user-select:none;user-select:none;height:54px;margin:10px 9px 6px;position:relative}.kf-line{background:var(--line);height:2px;position:absolute;top:26px;left:0;right:0}.kf-playhead{pointer-events:none;border-left:2px solid var(--danger);position:absolute;top:6px;bottom:6px}.kf-dot{background:var(--primary);touch-action:none;z-index:2;border:2px solid #eaf3ff;border-radius:2px;width:14px;min-width:14px;height:14px;padding:0;position:absolute;top:26px;transform:translate(-50%,-50%)rotate(45deg);box-shadow:0 1px 3px #0009}.kf-dot:hover,.kf-dot.active{outline:2px solid var(--primary);background:#fbbf24}.kf-dot:focus-visible{outline:3px solid #fbbf24}.kf-actions{flex-wrap:wrap;align-items:center;gap:6px;margin:2px 0 10px;display:flex}.kf-actions button{border:1px solid var(--line);font-size:11px}.kf-actions small{white-space:normal;color:var(--muted);font-size:10px;line-height:1.35}.kf-values{border:1px solid var(--line);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px;display:grid}.kf-values label{flex-direction:column;gap:4px;min-width:0;font-size:10px;display:flex}.kf-values input,.kf-values select{width:100%;min-width:0;padding:5px;font-size:11px}.kf-values button{border:1px solid var(--line);white-space:normal;align-self:end;font-size:11px}.kf-graph-block{border-top:1px solid var(--line);min-width:0;margin:10px 0;padding:7px 0}.kf-graph-block .kf-heading{flex-wrap:wrap}.kf-graph{touch-action:none;width:100%;height:160px;margin:5px 0 2px;display:block;overflow:visible}.kf-graph-bg{fill:var(--raised);stroke:var(--line);stroke-width:1px}.kf-grid{stroke:var(--line);stroke-width:1px;vector-effect:non-scaling-stroke}.kf-graph-playhead{stroke:#f87171;stroke-width:1.5px;stroke-dasharray:4 3;pointer-events:none;vector-effect:non-scaling-stroke}.kf-graph-path{stroke:#60a5fa;stroke-width:2.5px;pointer-events:none;vector-effect:non-scaling-stroke}.kf-graph-point{fill:var(--primary);stroke:#fff;stroke-width:2px;cursor:grab;touch-action:none}.kf-graph-point.active{fill:#fbbf24;stroke:#0f172a;stroke-width:2.4px}.kf-graph-point:active{cursor:grabbing}.kf-graph-point:focus-visible{outline:3px solid #fbbf24}.kf-graph-axis{fill:var(--muted);pointer-events:none;font-size:10px}.kf-graph-hint{color:var(--muted);font-size:10px;line-height:1.35;display:block}.locale-field{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:inline-flex}.locale-field select{font:inherit;border:1px solid var(--line);background:var(--raised);max-width:170px;color:var(--text);border-radius:6px;padding:5px 8px}.locale-field select:focus-visible{outline:2px solid var(--primary)}.kf-control-line{stroke:#fbbf24;stroke-width:1.4px;stroke-dasharray:4 3;pointer-events:none}.kf-control-handle{fill:#fbbf24;stroke:#0f172a;stroke-width:2px;cursor:grab;touch-action:none}.kf-control-handle:active{cursor:grabbing}.bezier-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:100%;display:grid}.bezier-fields label{font-size:11px}.bezier-fields input{width:100%;min-width:0}.shortcut-toggle{flex:none;min-width:30px;font-size:16px;font-weight:700}.shortcut-modal{max-width:min(95vw,540px);max-height:85vh;overflow-y:auto}.shortcut-grid{gap:0;margin:12px 0 18px;display:grid}.shortcut-grid>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(130px,42%) 1fr;align-items:center;gap:12px;padding:8px 2px;display:grid}.shortcut-grid dt,.shortcut-grid dd{margin:0}.shortcut-grid kbd{border:1px solid var(--line);background:var(--raised);border-radius:5px;padding:3px 7px;font-family:inherit;font-size:12px;display:inline-block}@media (max-width:780px){.topbar{scrollbar-width:thin;min-width:0;max-width:100%;overflow:auto hidden}.topbar>.identity,.topbar>.top-actions,.topbar>.shortcut-toggle,.topbar>.theme{flex-shrink:0}}.history-modal{width:min(520px,100%)}.history-list{flex-direction:column;gap:6px;max-height:min(46vh,390px);padding:2px;display:flex;overflow-y:auto}.history-entry{border:1px solid var(--line);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:9px 11px;display:flex}.history-entry>div{flex-direction:column;gap:5px;min-width:0;display:flex}.history-entry b{font-size:12px}.history-entry small{overflow-wrap:anywhere}.history-entry button{border:1px solid var(--line);flex:none}@media (max-width:420px){.history-modal{padding:15px}.history-entry{padding:7px}}.graphic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:8px 0;display:grid}.graphic-grid button{white-space:normal;text-transform:capitalize;border:1px solid var(--border,#475569);border-radius:6px;min-width:0;min-height:32px;padding:5px 6px;font-size:12px}.speed-curve-editor{gap:6px;min-width:0;margin:8px 0;display:grid}.speed-curve-editor svg{border:1px solid var(--border,#475569);border-radius:7px;max-width:100%;height:70px;padding:5px}.speed-curve-editor label{gap:3px;min-width:0;font-size:12px;display:grid}.speed-curve-editor input{width:100%;max-width:100%}.preview-box{position:relative}.preview-error{color:#fff;z-index:2;background:#111827e8;border:1px solid #f59e0b;border-radius:8px;max-height:70%;padding:10px 12px;font-size:12px;position:absolute;inset:auto 8px 8px;overflow:auto}.preview-error-retry{color:#fff;cursor:pointer;background:#1f2937;border:1px solid #f59e0b;border-radius:6px;max-width:100%;margin-top:9px;padding:7px 12px;display:block}.open-video-error{color:#fff;white-space:normal;overflow-wrap:anywhere;background:#301e11;border:1px solid #f59e0b;border-radius:8px;padding:10px;font-size:12px}.shortcut-modal{width:680px;max-width:min(96vw,680px);max-height:88dvh;overflow-y:auto}.shortcut-config{grid-template-columns:minmax(145px,1fr) minmax(145px,1fr);gap:12px;margin:12px 0;display:grid}.shortcut-config label{gap:5px;font-size:13px;display:grid}.shortcut-config input,.shortcut-config select{width:100%;min-width:0}.shortcut-list{border:1px solid var(--line);border-radius:9px;gap:0;max-height:42dvh;margin:10px 0;display:grid;overflow:auto}.shortcut-entry{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(116px,auto);align-items:center;gap:9px;padding:8px 12px;display:grid}.shortcut-entry:last-child{border-bottom:0}.shortcut-label{gap:2px;min-width:0;display:grid}.shortcut-label b{white-space:normal;font-size:13px}.shortcut-label small{font-size:11px}.shortcut-entry button{border:1px solid var(--line);background:var(--raised);justify-self:end;min-width:116px;max-width:190px}.shortcut-entry kbd{white-space:normal;font-family:inherit;font-size:12px;font-weight:600}.shortcut-entry button.shortcut-recording{border-color:var(--primary);outline:2px solid var(--primary)}.shortcut-warning{color:#fbbf24;border:1px solid #d97706;border-radius:8px;padding:9px 11px}.shortcut-actions{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;gap:7px;padding-top:10px;display:flex}.timeline-toolbar .tool-active{background:var(--primary);color:#fff}@media (max-width:520px){.shortcut-config{grid-template-columns:1fr}.shortcut-modal{max-height:92dvh;padding:12px}.shortcut-list{max-height:43dvh}.shortcut-entry{grid-template-columns:minmax(0,1fr) minmax(98px,auto);padding:7px}.shortcut-entry button{min-width:96px}.shortcut-actions button{flex:auto}}.mobile-edit-bar{display:none}.timeline-clip.razor-cursor{cursor:crosshair}.mobile-edit-bar .tool-active{background:var(--primary);color:#fff}@media (max-width:780px){.mobile-edit-bar{border-bottom:1px solid var(--line);scrollbar-width:thin;align-items:center;gap:5px;min-height:41px;padding:5px 8px;display:flex;overflow-x:auto}.mobile-edit-bar button{border:1px solid var(--line);flex-shrink:0;padding:5px 8px;font-size:12px}}.preview-box.preview-empty{background:var(--surface);box-shadow:0 9px 32px #0002}.preview-box.preview-empty .welcome{background:var(--surface);color:var(--text)}.preview-box.preview-empty .welcome h2{color:var(--text)}.preview-box.preview-empty .welcome p,.preview-box.preview-empty .welcome small{color:var(--muted)}.preview-box.preview-empty .welcome button:not(.primary){color:var(--text);border:1px solid var(--line);background:var(--raised)}.preview-box.preview-empty .welcome button:not(.primary):hover{background:var(--bg)}:root[data-theme=dark] .preview-box.preview-empty{background:var(--surface);box-shadow:0 9px 40px #0005}:root[data-theme=dark] .preview-box.preview-empty .welcome{background:var(--surface)}.video-editor-body{grid-template-columns:minmax(0,1fr);align-items:stretch;width:100%;min-width:0;display:grid}.video-editor-body.has-desktop-ad{grid-template-columns:minmax(0,1fr) 300px}.video-editor-main{width:100%;min-width:0;overflow:hidden}.video-editor-main>.workspace{width:100%;min-width:0}.video-editor-main>.timeline{min-width:0}.video-ad{background:var(--panel);color:var(--muted);min-width:0;overflow:hidden}.video-ad--desktop{border-left:1px solid var(--line);width:300px;padding:12px 8px}.video-ad-heading{text-align:center;letter-spacing:.04em;color:var(--muted);-webkit-user-select:none;user-select:none;padding:2px 0 9px;font-size:10px}.video-ad-unit{width:100%;min-width:0;max-width:100%;min-height:250px}.video-ad--mobile{border-top:1px solid var(--line);flex-direction:column;align-items:center;width:100%;padding:14px 12px 18px;display:flex}.video-ad--mobile .video-ad-unit{width:min(100%,320px);min-height:250px}@media (max-width:1439px){.video-editor-body.has-desktop-ad{grid-template-columns:minmax(0,1fr)}.video-ad--desktop{display:none}}:is(:fullscreen .video-ad,:fullscreen .video-ad--mobile){display:none!important}:fullscreen .video-editor-body.has-desktop-ad{grid-template-columns:minmax(0,1fr)!important}@media (max-width:900px){html:has(.editor){overscroll-behavior:none;height:100%;overflow:hidden}body:has(.editor){overscroll-behavior:none;height:100%;overflow:hidden}#root:has(.editor){overscroll-behavior:none;height:100%;overflow:hidden}.editor{height:100dvh;min-height:0;overflow:hidden}.editor.mobile-keyboard-open{height:min(100dvh,var(--mobile-usable-height,100dvh))}.editor>.topbar{flex:none;min-width:0;max-width:100vw}.editor>.video-editor-body{flex:1 1 0;grid-template-columns:minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.video-editor-body.has-desktop-ad{grid-template-columns:minmax(0,1fr)}.editor .video-editor-main{flex-direction:column;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.editor .video-editor-main>.workspace{overscroll-behavior-y:contain;flex:1 1 0;min-width:0;height:auto;min-height:0;overflow:hidden auto}.editor .video-editor-main>.timeline{flex:none;height:clamp(154px,28dvh,230px);min-height:154px;overflow:hidden}.editor .timeline-body{min-width:0;min-height:0;overflow:hidden}.editor .timeline-scroll{overscroll-behavior:contain;min-width:0;overflow:auto}.editor .timeline-toolbar,.editor .mobile-edit-bar{white-space:nowrap;overscroll-behavior-x:contain;flex:none;overflow-x:auto}.editor .timeline-toolbar>*{flex-shrink:0}.editor .app-footer{white-space:nowrap;flex-wrap:nowrap;flex:none;justify-content:flex-start;min-width:0;padding:5px 8px;overflow-x:auto}.editor .toast{bottom:calc(112px + env(safe-area-inset-bottom,0px))}.video-ad--mobile{display:none!important}}@media (max-width:780px){.editor .video-editor-main>.workspace{flex-direction:column;display:flex}.editor .workspace>.center{flex:none;order:1;height:clamp(185px,42dvh,340px);min-height:0}.editor .workspace>.leftpanel{flex:none;order:2;height:155px;min-height:0;overflow:hidden}.editor .workspace>.rightpanel{flex:none;order:3;height:165px;min-height:0;overflow:auto}.editor .workspace .panel-inner{min-height:0;overflow-y:auto}}@media (max-width:900px) and (max-height:480px) and (orientation:landscape){.editor .video-editor-main>.timeline{height:132px;min-height:132px}.editor .mobile-edit-bar{min-height:32px;padding:2px 6px}.editor .timeline-toolbar{height:34px}.editor .app-footer{min-height:20px;padding-block:2px}.editor .toast{bottom:calc(66px + env(safe-area-inset-bottom,0px))}}@media (max-width:780px) and (max-height:480px) and (orientation:landscape){.editor .workspace>.center{height:190px}.editor .workspace>.leftpanel{height:135px}.editor .workspace>.rightpanel{height:130px}}.mobile-anchor-clearance{display:none}@media (max-width:900px){.mobile-anchor-clearance{flex:0 0 var(--mobile-ad-clearance,0px);height:var(--mobile-ad-clearance,0px);pointer-events:none;display:block;overflow:hidden}.mobile-keyboard-open .mobile-anchor-clearance{flex-basis:0;height:0}}@media print{.mobile-anchor-clearance{display:none!important}}@media (min-width:781px) and (max-width:900px) and (max-height:550px) and (orientation:landscape){.editor .video-editor-main>.workspace{flex-direction:column;min-height:0;display:flex;overflow:hidden auto}.editor .workspace>.center{flex:0 0 185px;order:1;height:185px;min-height:0}.editor .workspace>.leftpanel{border-right:0;border-top:1px solid var(--line);flex-direction:column;flex:0 0 145px;order:2;height:145px;display:flex}.editor .leftpanel .tabbar{border-right:0;border-bottom:1px solid var(--line);flex-direction:row;flex:0 0 46px;width:100%;height:46px;padding:3px;display:flex;overflow:auto hidden}.editor .tabbar button{min-width:62px;padding:4px}.editor .leftpanel .panel-inner{min-height:0;overflow:auto}.editor .workspace>.rightpanel{border-left:0;border-top:1px solid var(--line);flex:0 0 155px;order:3;height:155px;min-height:0;overflow-y:auto}.editor .center .preview-head{flex:0 0 36px;height:36px}.editor .center .preview-stage{min-height:0;padding:8px}.editor .center .transport{flex:0 0 42px;height:42px;overflow-x:auto}.editor .timeline .mobile-edit-bar{border-bottom:1px solid var(--line);flex:0 0 32px;align-items:center;gap:5px;min-height:32px;padding:2px 6px;display:flex}.editor .timeline .mobile-edit-bar button{border:1px solid var(--line);flex:none;padding:3px 7px;font-size:11px}}.guide-site{background:var(--bg);min-height:100dvh}.guide-site .page-head{flex-wrap:wrap;gap:16px;padding:18px max(20px,50% - 540px)}.guide-site .page-head nav,.guide-next{flex-wrap:wrap;gap:12px 20px;display:flex}.guide-page{overflow-wrap:anywhere;width:min(100%,960px);margin:0 auto;padding:44px 22px 90px;line-height:1.75}.guide-eyebrow{text-transform:uppercase;letter-spacing:.08em;color:var(--primary);font-size:12px;font-weight:800}.guide-page h1{letter-spacing:-.04em;font-size:clamp(28px,4vw,44px);line-height:1.18}.guide-lead{color:var(--muted);max-width:750px;font-size:17px}.guide-page h2{margin:35px 0 15px;font-size:23px}.guide-page p,.guide-page li{font-size:15px;line-height:1.8}.guide-page p{color:var(--text)}.guide-card-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:13px;display:grid}.guide-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:column;gap:9px;padding:20px;display:flex}.guide-card b{color:var(--text);font-size:15px}.guide-card small{color:var(--muted);font-size:13px;line-height:1.55}.guide-card:hover,.guide-card:focus-visible{border-color:var(--primary)}.guide-section{border-bottom:1px solid var(--line);padding-bottom:24px}.guide-section ol{padding-left:25px}.guide-section li{padding:4px 0}.guide-caution{border-left:3px solid var(--primary);background:var(--surface);color:var(--muted);margin:34px 0;padding:20px;font-size:14px;line-height:1.7}.guide-next{margin-top:30px}@media (max-width:600px){.guide-page{padding:26px 16px 65px}.guide-site .page-head{padding:15px}.guide-page h2{font-size:20px}}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.upload-area:hover,.upload-area:focus-visible{border-color:var(--primary)}.toast{border-color:var(--line);background:var(--surface)}.guide-card{border-radius:8px}.docs-language{color:var(--muted);white-space:nowrap;align-items:center;gap:7px;font-size:12px;display:inline-flex}.docs-language select{background:var(--surface);width:auto;min-width:90px;max-width:180px;color:var(--text);border:1px solid var(--line);cursor:pointer;border-radius:7px;padding:7px}.guide-site .page-head nav{align-items:center;min-width:0}.guide-site .page-head nav .docs-language{flex-shrink:0}@media (max-width:700px){.guide-site .page-head{gap:10px}.guide-site .page-head nav{width:100%;padding-bottom:3px;overflow-x:auto}.guide-site .page-head nav a{white-space:nowrap}.docs-language select{max-width:130px}}.mobile-workspace-switcher{display:none}@media (max-width:900px){.editor .topbar{flex:0 0 48px;height:48px}.editor .mobile-workspace-switcher{background:var(--panel);border-bottom:1px solid var(--line);flex:0 0 39px;align-items:center;gap:5px;min-width:0;height:39px;padding:3px 8px;display:flex}.editor .mobile-workspace-switcher button{min-width:0;height:33px;color:var(--muted);border:1px solid #0000;border-radius:7px;flex:1 1 0;justify-content:center;align-items:center;gap:5px;padding:5px 4px;font-size:12px;overflow:hidden}.editor .mobile-workspace-switcher button span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.editor .mobile-workspace-switcher button.active{color:var(--primary);background:var(--soft);border-color:var(--line);font-weight:650}.editor .video-editor-main>.workspace{scrollbar-width:thin;overscroll-behavior-y:contain;scroll-padding:4px}.editor .video-editor-main>.timeline{flex:none;height:clamp(160px,26dvh,218px);min-height:160px}.editor .video-editor-main.mobile-timeline-expanded>.timeline{height:clamp(210px,41dvh,330px);min-height:210px}.editor .timeline .timeline-toolbar{display:none}.editor .timeline .mobile-edit-bar{scrollbar-width:thin;-webkit-overflow-scrolling:touch;flex:0 0 42px;align-items:center;gap:5px;height:42px;min-height:42px;padding:4px 7px;display:flex;overflow:auto hidden}.editor .timeline .mobile-edit-bar button{border:1px solid var(--line);white-space:nowrap;touch-action:manipulation;flex-shrink:0;min-height:33px;padding:5px 10px;font-size:12px}.editor .timeline .mobile-edit-bar button[aria-pressed=true]{background:var(--soft);border-color:var(--primary);color:var(--primary)}.editor .timeline .mobile-edit-bar .mobile-timeline-size-button{border-color:var(--primary);color:var(--primary);font-weight:650}.editor .timeline .track-labels{width:clamp(98px,30vw,116px)}.editor .timeline .track-label button{min-width:20px;padding:3px}.editor .timeline .status-line{white-space:nowrap;scrollbar-width:thin;flex-wrap:nowrap;gap:9px;min-height:27px;max-height:33px;padding:2px 7px;display:flex;overflow:auto hidden}.editor .timeline .status-line>*{flex-shrink:0}.editor .timeline .status-line>span:first-child,.editor .timeline .status-line>span:nth-child(3){display:none}.editor .workspace>.center{flex:0 0 100%;order:1;height:100%;min-height:132px;max-height:none}.editor .workspace>.leftpanel{flex:0 0 168px;order:2;height:168px;min-height:0;max-height:none}.editor .workspace>.rightpanel{flex:0 0 180px;order:3;height:180px;min-height:0;max-height:none}.editor .workspace[data-mobile-panel=tools]>.center,.editor .workspace[data-mobile-panel=properties]>.center{flex:0 0 115px;height:115px;min-height:115px}.editor .workspace[data-mobile-panel=tools]>.leftpanel{flex-basis:max(208px,100% - 115px);height:max(208px,100% - 115px)}.editor .workspace[data-mobile-panel=properties]>.leftpanel{flex-basis:65px;height:65px}.editor .workspace[data-mobile-panel=properties]>.rightpanel{flex-basis:max(215px,100% - 115px);height:max(215px,100% - 115px)}.editor .workspace .preview-head{white-space:nowrap;flex:0 0 34px;gap:5px;height:34px;padding:0 8px}.editor .workspace .preview-head select{max-width:96px}.editor .workspace .preview-stage{min-height:0;padding:7px}.editor .workspace .transport{flex:0 0 43px;gap:6px;min-width:0;height:43px;padding:0 9px;overflow:hidden}.editor .workspace .transport .play{flex:0 0 37px;width:37px;height:37px}.editor .workspace .transport .muted{display:none}.editor .workspace .rightpanel .props{flex-direction:column;gap:9px;padding:12px;display:flex}.editor .leftpanel .tabbar{flex:0 0 49px;height:49px}.editor .leftpanel .panel-inner{overscroll-behavior:contain;overflow-y:auto}.editor.mobile-keyboard-open .video-editor-main>.timeline{height:105px;min-height:105px}.editor.mobile-keyboard-open .mobile-workspace-switcher{flex-basis:35px;height:35px}.editor.mobile-keyboard-open .timeline .status-line{display:none}.editor .modal{max-height:min(90dvh,calc(100dvh - 22px - env(safe-area-inset-bottom,0px)))}}@media (max-width:900px) and (max-height:650px){.editor .video-editor-main>.timeline{height:148px;min-height:148px}.editor .video-editor-main.mobile-timeline-expanded>.timeline{height:min(230px,40dvh);min-height:160px}}@media (max-width:900px) and (max-height:480px) and (orientation:landscape){.editor .topbar{flex-basis:41px;height:41px}.editor .mobile-workspace-switcher{flex-basis:31px;height:31px;padding:1px 7px}.editor .mobile-workspace-switcher button{height:28px;font-size:11px}.editor .video-editor-main>.timeline{height:125px;min-height:125px}.editor .video-editor-main.mobile-timeline-expanded>.timeline{height:182px;min-height:150px}.editor .timeline .mobile-edit-bar{flex-basis:34px;height:34px;min-height:34px;padding:2px 6px}.editor .timeline .mobile-edit-bar button{min-height:28px;padding:3px 7px}.editor .timeline .status-line{height:22px;min-height:22px;max-height:22px}.editor .workspace>.center{min-height:94px}.editor .workspace .preview-head{flex-basis:29px;height:29px}.editor .workspace .transport{flex-basis:33px;height:33px}.editor .workspace .transport .play{flex-basis:29px;width:29px;height:29px}.editor .workspace .preview-stage{padding:4px}.editor .workspace[data-mobile-panel=tools]>.center,.editor .workspace[data-mobile-panel=properties]>.center{flex-basis:103px;height:103px;min-height:103px}}@media (min-width:901px){.mobile-workspace-switcher{display:none!important}}@media (max-width:900px) and (max-height:480px) and (orientation:landscape){.editor .video-editor-main{grid-template-rows:31px minmax(0,1fr);grid-template-columns:minmax(0,46%) minmax(0,54%);align-items:stretch;display:grid;overflow:hidden}.editor .video-editor-main.mobile-timeline-expanded{grid-template-columns:minmax(0,31%) minmax(0,69%)}.editor .video-editor-main>.mobile-workspace-switcher{grid-area:1/1/2/-1;min-width:0}.editor .video-editor-main>.workspace{flex-direction:column;grid-area:2/1/3/2;width:100%;min-width:0;height:100%;min-height:0;display:flex;overflow-y:auto}.editor .video-editor-main>.timeline,.editor .video-editor-main.mobile-timeline-expanded>.timeline{grid-area:2/2/3/3;width:100%;min-width:0;height:100%;min-height:0;overflow:hidden}.editor .workspace>.center{flex:0 0 100%;height:100%;min-height:0;max-height:none}.editor .workspace[data-mobile-panel=tools]>.center,.editor .workspace[data-mobile-panel=properties]>.center{flex-basis:92px;height:92px;min-height:92px}.editor .timeline .track-labels{width:clamp(84px,14vw,98px)}.editor .timeline .mobile-edit-bar{width:100%}.editor .workspace .preview-head{gap:2px;padding-inline:5px}.editor .workspace .preview-head>span{display:none}.editor .workspace .preview-head select{max-width:90px}.editor .workspace .transport{padding-inline:5px}.editor .workspace .transport .timecode{font-size:10px}}@media (max-width:900px){.editor .modal-backdrop{top:0;bottom:var(--mobile-ad-clearance,0px);align-items:center;padding:10px;overflow:hidden}.editor .modal{max-height:calc(100dvh - var(--mobile-ad-clearance,0px) - 20px);overscroll-behavior:contain;min-height:0;overflow-y:auto}.editor.mobile-keyboard-open .modal-backdrop{bottom:max(0px,calc(100dvh - var(--mobile-usable-height,100dvh)))}.editor.mobile-keyboard-open .modal{max-height:calc(var(--mobile-usable-height,100dvh) - 20px)}}@media (max-width:900px) and (max-height:480px) and (orientation:landscape){.editor .modal-backdrop{bottom:var(--mobile-ad-clearance,0px);padding:6px}.editor .modal{max-height:calc(100dvh - var(--mobile-ad-clearance,0px) - 12px);gap:9px;padding:12px}.editor.mobile-keyboard-open .modal{max-height:calc(var(--mobile-usable-height,100dvh) - 12px)}}.caption-browser{flex-direction:column;gap:8px;min-width:0;padding:8px 0;display:flex}.caption-search{background:var(--raised);border:1px solid var(--line);border-radius:6px;align-items:center;gap:6px;padding:5px 6px;display:flex}.caption-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0;flex:1;font-size:12px}.caption-list{border:1px solid var(--line);overscroll-behavior:contain;border-radius:7px;min-width:0;height:180px;max-height:180px;position:relative;overflow:hidden auto}.caption-list-inner{min-width:0;position:relative}.caption-row{border-bottom:1px solid var(--line);text-align:left;border-radius:0;justify-content:flex-start;align-items:center;gap:7px;width:100%;min-width:0;padding:5px 7px;display:flex;position:absolute;left:0;right:0}.caption-row.selected{background:var(--soft);color:var(--primary)}.caption-row-index{color:var(--muted);flex:0 0 21px;font-size:10px}.caption-row-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.caption-row-main small{color:var(--muted);white-space:nowrap;font-size:10px}.caption-row-main b{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.caption-inspector{border:1px solid var(--line);background:var(--surface);border-radius:7px;flex-direction:column;gap:8px;min-width:0;padding:9px;display:flex}.caption-inspector label{min-width:0;color:var(--muted);flex-direction:column;gap:4px;font-size:11px;display:flex}.caption-inspector input,.caption-inspector textarea{width:100%;min-width:0;padding:6px;font-size:12px}.caption-inspector textarea{resize:vertical;min-height:68px}.caption-field-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;display:grid}.caption-inspector-actions{flex-wrap:wrap;gap:4px;display:flex}.caption-inspector-actions button{white-space:normal;flex:1;min-width:0;font-size:11px}@media (max-width:900px){.caption-list{height:125px;max-height:125px}}.track-manager-modal{width:min(660px,100%);max-height:min(86dvh,820px)}.track-manager-list{overscroll-behavior:contain;flex-direction:column;gap:7px;min-height:0;max-height:47dvh;display:flex;overflow-y:auto}.track-manager-row{border:1px solid var(--line);background:var(--panel);border-radius:8px;flex-direction:column;gap:7px;padding:9px;display:flex}.track-manager-row-head{justify-content:space-between;align-items:end;gap:8px;min-width:0;display:flex}.track-manager-row-head label{flex-direction:column;flex:1;gap:4px;min-width:0;font-size:10px;display:flex}.track-manager-row-head input{width:100%;min-width:0;padding:7px;font-size:12px}.track-manager-row-head small{min-width:0;color:var(--muted);text-transform:capitalize}.track-manager-buttons{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.track-manager-buttons button{border:1px solid var(--line);min-width:34px;min-height:34px}.track-manager-buttons button[aria-pressed=true]{color:var(--primary);background:var(--soft)}.track-manager-add{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.track-manager-add button{white-space:normal;min-width:0;font-size:11px}@media (max-width:900px){.track-manager-modal{gap:9px;padding:12px}.track-manager-list{max-height:43dvh}}.batch-toolbar{border-bottom:1px solid var(--line);background:var(--panel);flex-wrap:wrap;align-items:center;gap:6px;min-width:0;padding:7px 9px;display:flex}.batch-toolbar b{white-space:nowrap;font-size:12px}.batch-toolbar label{align-items:center;gap:4px;font-size:11px;display:flex}.batch-toolbar select{max-width:95px;padding:4px;font-size:11px}.batch-toolbar button{align-items:center;gap:4px;min-height:29px;font-size:11px;display:inline-flex}.timeline-clip.multi-selected{outline:2px solid var(--primary);outline-offset:-2px;filter:brightness(1.1)}@media (max-width:900px){.batch-toolbar{overscroll-behavior:contain;gap:4px;max-height:110px;padding:5px;overflow-y:auto}.batch-toolbar button{min-height:34px}.batch-toolbar label{font-size:10px}}.preview-head .preview-quality{white-space:nowrap;align-items:center;gap:4px;min-width:0;display:flex}.preview-head .preview-quality select{min-width:62px;max-width:110px;margin-left:0}@media (max-width:780px){.preview-head .preview-quality span{display:none}.preview-head .preview-quality select{max-width:86px}}.editor-file-drop-hint{z-index:18;text-align:center;pointer-events:none;background:color-mix(in srgb,var(--bg) 91%,transparent);border:3px dashed var(--primary);border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:22px;display:flex;position:fixed;inset:10px;box-shadow:0 0 0 10px #0007}.editor-file-drop-hint strong{font-size:clamp(18px,3vw,27px)}.editor-file-drop-hint span{color:var(--muted);white-space:normal;font-size:12px}.upload-area:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.welcome>div{flex-wrap:wrap;justify-content:center;gap:6px}.welcome>div button{max-width:100%;padding:7px 9px;font-size:12px}@media (max-width:900px) and (max-height:480px) and (orientation:landscape){.welcome-icon,.welcome small{display:none}.welcome{gap:4px;padding:3px 6px}.welcome>div button{padding:4px 6px;font-size:11px}}.editor .topbar .identity .app-icon,.guide-brand .app-icon{background:#4267e8;border-radius:7px;flex-direction:column;flex:0 0 30px;justify-content:center;align-items:center;gap:1px;width:30px;height:30px;padding:0;display:flex}.editor .topbar .identity .app-icon span,.guide-brand .app-icon span{color:#fff;letter-spacing:.04em;font:800 8px/1 Inter,Arial,sans-serif;display:block}.editor .topbar .identity b.service-name,.guide-brand .service-name{color:var(--text);letter-spacing:-.35px;font-size:19px;font-weight:800;line-height:1.15;display:inline-block}.editor .topbar .identity{gap:7px}.guide-brand{white-space:nowrap;align-items:center;gap:7px;text-decoration:none;display:inline-flex}@media (max-width:900px){.editor .topbar .identity b.service-name{font-size:17px;display:inline-block}.editor .topbar .identity .app-icon{flex-basis:27px;width:27px;height:27px}}@media (max-width:420px){.editor .topbar .identity b.service-name{font-size:16px;display:inline-block}.editor .topbar .identity{gap:4px}.editor .topbar .identity .app-icon{flex-basis:26px;width:26px;height:26px}.guide-brand .service-name{font-size:16px}}@media (min-width:781px){.editor .topbar>.top-actions{scrollbar-width:thin;flex:auto;min-width:0;overflow:auto hidden}.editor .topbar>.theme,.editor .topbar>.video-mobile-settings-trigger{flex-shrink:0}}.editor .topbar>.video-mobile-settings-trigger{border:1px solid var(--line);border-radius:8px;flex:0 0 35px;place-items:center;width:35px;height:35px;padding:4px;display:grid}.editor .video-mobile-settings-backdrop{z-index:75;background:0 0;border:0;display:block;position:fixed;inset:0}.editor .video-mobile-settings-panel{z-index:76;background:var(--panel);border:1px solid var(--line);border-radius:10px;gap:9px;width:min(290px,100vw - 14px);max-height:min(70dvh,490px);padding:14px;display:grid;position:fixed;top:54px;right:7px;overflow-y:auto;box-shadow:0 14px 40px #0007}.editor .video-mobile-settings-panel label{gap:6px;font-size:12px;display:grid}.editor .video-mobile-settings-panel select{background:var(--raised);color:var(--text);border:1px solid var(--line);border-radius:7px;width:100%;min-height:41px;padding:9px}.editor .video-mobile-settings-panel button,.editor .video-mobile-settings-panel a{color:var(--text);border-radius:6px;justify-content:flex-start;align-items:center;gap:9px;min-height:40px;padding:8px;text-decoration:none;display:flex}@media (max-width:780px){.editor .topbar{gap:4px;overflow:hidden visible}.editor .topbar>.top-actions{scrollbar-width:none;flex:auto;min-width:0;max-width:none;overflow:auto hidden}.editor .topbar .top-actions button.mobile-overflow-action,.editor .topbar>.shortcut-toggle,.editor .topbar>.theme{display:none!important}.editor .app-footer>.locale-field{display:none}.editor .topbar>.video-mobile-settings-trigger{flex-basis:42px;width:42px;height:42px;min-height:42px}.editor .video-mobile-settings-panel button,.editor .video-mobile-settings-panel a{min-height:44px}.editor .video-mobile-settings-panel :is(a,button,select):focus-visible,.editor .video-mobile-settings-trigger:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.editor .video-mobile-settings-panel{top:55px}}html[dir=rtl] .editor .timeline,html[dir=rtl] .editor .timeline-scroll,html[dir=rtl] .editor .timeline-body,html[dir=rtl] .editor .timeline-toolbar,html[dir=rtl] .editor .timeline-clip,html[dir=rtl] .editor .track-labels,html[dir=rtl] .editor .ruler,html[dir=rtl] .editor .keyframe-lane,html[dir=rtl] .editor .keyframe-graph,html[dir=rtl] .editor .waveform,html[dir=rtl] .editor canvas{direction:ltr}html[dir=rtl] .editor .timeline-clip .clip-title{unicode-bidi:plaintext}.guide-site .guide-page,.guide-site .page-head,.guide-site .guide-card-list{min-width:0}.guide-site .guide-page p,.guide-site .guide-page li,.guide-site .guide-card{overflow-wrap:anywhere}.docs-language select{max-width:min(100%,18rem)}@media (max-width:780px){.video-mobile-settings-panel,.video-mobile-settings-panel button,.video-mobile-settings-panel label{min-width:0}.video-mobile-settings-panel button{overflow-wrap:anywhere}.video-mobile-settings-panel select{max-width:100%}}.legal-page .legal-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:16px 0 24px;display:flex}.legal-page .legal-toolbar label{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.legal-page .legal-toolbar select{max-width:100%;min-height:44px;font:inherit;color:inherit;background:var(--panel,transparent);border:1px solid var(--border,#888);border-radius:8px;padding:8px 12px}.legal-page .legal-document{overflow-wrap:anywhere;max-width:78ch;line-height:1.75}.legal-page .legal-document section{margin:22px 0}.legal-page .legal-document h2{margin:0 0 8px;font-size:1.13rem}.legal-page .legal-related{flex-wrap:wrap;gap:16px;margin:24px 0;display:flex}.legal-page .guide-eyebrow{overflow-wrap:anywhere}@media (max-width:600px){.legal-page .legal-toolbar{flex-direction:column;align-items:stretch}.legal-page .legal-toolbar select{width:100%}}@media (max-width:900px){.editor .toast{bottom:calc(var(--mobile-ad-clearance,0px) + 16px)}.editor .app-footer{padding-bottom:max(5px,env(safe-area-inset-bottom,0px))}.editor .timeline .mobile-edit-bar{flex-basis:48px;height:48px;min-height:48px}.editor .timeline .mobile-edit-bar button{min-width:44px;min-height:44px}.editor .workspace .transport .play{flex:0 0 44px;width:44px;min-width:44px;height:44px}.editor .workspace .transport,.editor .mobile-workspace-switcher{flex-basis:48px;height:48px}.editor .mobile-workspace-switcher button{height:44px;min-height:44px}.editor .topbar{min-height:48px}.editor .topbar>.video-mobile-settings-trigger{min-width:44px;min-height:44px}}@media (max-width:900px) and (max-height:480px) and (orientation:landscape){.editor .video-editor-main{grid-template-rows:48px minmax(0,1fr)}}.privacy-choices-link{appearance:none;color:inherit;cursor:pointer;font:inherit;text-underline-offset:2px;background:0 0;border:0;padding:0;text-decoration:underline}.privacy-choices-link:hover{color:var(--primary)}.privacy-choices-link:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:2px}@media (min-width:781px){.editor .topbar>.video-mobile-settings-trigger{border:1px solid var(--line);border-radius:8px;flex:0 0 36px;place-items:center;width:36px;min-width:36px;height:36px;display:grid}.editor .video-mobile-settings-backdrop{z-index:75;background:0 0;display:block;position:fixed;inset:0}.editor .video-mobile-settings-panel{z-index:76;background:var(--header);border:1px solid var(--line);border-radius:10px;gap:7px;width:min(300px,100vw - 24px);max-height:calc(100dvh - 75px);padding:12px;display:grid;position:fixed;top:58px;right:12px;overflow-y:auto;box-shadow:0 12px 32px #0005}.editor .video-mobile-settings-panel a{min-height:38px;color:var(--text);border-radius:6px;align-items:center;padding:8px;text-decoration:none;display:flex}.editor .video-mobile-settings-panel a:hover{background:var(--raised)}.editor .video-mobile-settings-panel label{gap:6px;display:grid}}.brand-links{white-space:nowrap;flex-shrink:0;align-items:center;gap:7px;display:inline-flex}.brand-links .brand-home,.brand-links .service-home{color:var(--text);flex-shrink:0;align-items:center;text-decoration:none;display:inline-flex}.brand-links .brand-home .app-icon{background:#4267e8;border-radius:7px;flex-direction:column;flex:0 0 30px;justify-content:center;align-items:center;gap:1px;width:30px;height:30px;padding:0;display:flex}.brand-links .brand-home .app-icon span{color:#fff;letter-spacing:.04em;font:800 8px/1 Inter,Arial,sans-serif;display:block}.brand-links .service-home b.service-name{letter-spacing:-.35px;font-size:19px;font-weight:800;line-height:1.15;display:block}.brand-links .brand-home:hover,.brand-links .service-home:hover{text-decoration:underline}.brand-links .brand-home:focus-visible,.brand-links .service-home:focus-visible{outline:2px solid var(--primary);outline-offset:3px}@media (max-width:900px){.brand-links .service-home b.service-name{font-size:17px}.brand-links .brand-home .app-icon{flex-basis:27px;width:27px;height:27px}}.preview-box .direct-video-preview{object-fit:contain;pointer-events:none;z-index:1;background:#090f1f;width:100%;height:100%;position:absolute;inset:0}.portrait-tool-dock,.portrait-timeline-grip{display:none}@media (max-width:900px) and (orientation:portrait){.editor .video-editor-main{position:relative}.editor .mobile-workspace-switcher{display:none}.editor .video-editor-main>.workspace{flex-direction:column;flex:1 1 0;height:auto;min-height:0;display:flex;overflow:visible}.editor .workspace>.center,.editor .workspace[data-mobile-panel=tools]>.center,.editor .workspace[data-mobile-panel=properties]>.center{flex:1 1 0;order:1;width:100%;height:auto;min-height:0;max-height:none;display:flex}.editor .workspace>.leftpanel,.editor .workspace>.rightpanel{display:none}.editor .workspace[data-mobile-panel=tools]>.leftpanel,.editor .workspace[data-mobile-panel=properties]>.rightpanel{z-index:20;background:var(--panel);border:1px solid var(--line);border-radius:15px 15px 0 0;width:100%;height:clamp(208px,37dvh,320px);min-height:0;max-height:calc(100% - 88px);display:flex;position:absolute;bottom:64px;left:0;right:0;overflow:hidden;box-shadow:0 -12px 30px #0008}.editor .workspace[data-mobile-panel=tools]>.leftpanel{flex-direction:column;order:2}.editor .workspace[data-mobile-panel=properties]>.rightpanel{flex-direction:column;order:3;overflow-y:auto}.editor .workspace .leftpanel .tabbar{border-right:0;border-bottom:1px solid var(--line);scrollbar-width:thin;flex-direction:row;flex:0 0 48px;width:100%;height:48px;padding:3px;display:flex;overflow:auto hidden}.editor .workspace .leftpanel .tabbar button{flex-shrink:0;min-width:66px;padding:4px}.editor .workspace .leftpanel .panel-inner{flex:1 1 0;min-height:0;overflow-y:auto}.editor .workspace .rightpanel .props{flex-direction:column;padding:10px;display:flex}.editor .video-editor-main>.timeline{height:var(--mobile-timeline-height,clamp(190px,32dvh,310px));flex:none;min-height:150px}.editor .video-editor-main.mobile-timeline-expanded>.timeline{height:var(--mobile-timeline-height,clamp(245px,43dvh,400px));min-height:150px}.editor .portrait-timeline-grip{cursor:ns-resize;touch-action:none;background:var(--panel);border-top:1px solid var(--line);border-bottom:1px solid var(--line);z-index:1;flex:0 0 14px;justify-content:center;align-items:center;height:14px;display:flex}.editor .portrait-timeline-grip span{background:var(--muted);opacity:.7;border-radius:99px;width:46px;height:4px}.editor .portrait-timeline-grip:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.editor .portrait-tool-dock{background:var(--header);border-top:1px solid var(--line);scrollbar-width:thin;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;z-index:21;flex:0 0 64px;align-items:stretch;gap:2px;min-width:0;height:64px;padding:4px 5px 5px;display:flex;overflow:auto hidden}.editor .portrait-tool-dock button{min-width:70px;color:var(--muted);border-radius:7px;flex-direction:column;flex:0 0 70px;gap:4px;padding:5px 3px 3px;font-size:11px;line-height:1.2;display:flex}.editor .portrait-tool-dock button span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.editor .portrait-tool-dock button.active{color:var(--primary);background:var(--soft);font-weight:700}.editor .portrait-tool-dock button:focus-visible{outline:2px solid var(--primary)}.editor .workspace .preview-stage{flex:1 1 0;min-height:0;padding:8px 6px}.editor .workspace .preview-head{flex:0 0 32px;height:32px}.editor .workspace .transport{flex:0 0 44px;height:44px}.editor.mobile-keyboard-open .video-editor-main>.timeline{height:105px;min-height:105px}}@media (max-width:900px) and (orientation:portrait) and (max-height:690px){.editor .video-editor-main>.timeline{height:var(--mobile-timeline-height,clamp(150px,30dvh,220px))}.editor .video-editor-main.mobile-timeline-expanded>.timeline{height:var(--mobile-timeline-height,clamp(205px,40dvh,295px))}.editor .workspace[data-mobile-panel=tools]>.leftpanel,.editor .workspace[data-mobile-panel=properties]>.rightpanel{height:min(34dvh,240px)}}html.video-feature-page:has(.editor){overscroll-behavior-y:auto;height:auto!important;overflow:hidden auto!important}html.video-feature-page body:has(.editor){overscroll-behavior-y:auto;height:auto!important;overflow:hidden auto!important}html.video-feature-page #root:has(.editor){overscroll-behavior-y:auto;height:auto!important;overflow:hidden auto!important}.editor>.feature-actionbar{border-bottom:1px solid var(--line);background:var(--surface);flex:none;justify-content:space-between;align-items:center;gap:12px;min-width:0;min-height:42px;padding:5px 14px;display:flex}.feature-actionbar h1{letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:15px;line-height:1.3;overflow:hidden}.feature-actionbar button{text-overflow:ellipsis;flex:none;max-width:43vw;padding:6px 12px;font-size:12px;overflow:hidden}.feature-details{max-width:900px;color:var(--text);overflow-wrap:anywhere;margin:0 auto;padding:46px 22px 70px;line-height:1.7}.feature-details h2{margin-bottom:12px;font-size:clamp(23px,3vw,30px)}.feature-details h3{margin:24px 0 10px;font-size:18px}.feature-details ol{padding-inline-start:25px}.feature-details li{margin:5px 0}.feature-related,.feature-guide-actions{flex-wrap:wrap;gap:10px 16px;margin:20px 0;display:flex}.feature-related a,.feature-guide-actions a{border:1px solid var(--line);border-radius:8px;align-items:center;padding:7px 11px;display:inline-flex}@media (max-width:900px){.editor>.feature-actionbar{gap:7px;min-height:38px;padding:4px 9px}.feature-actionbar h1{font-size:12px}.feature-actionbar button{padding:5px 9px;font-size:11px}.feature-details{padding:26px 16px calc(80px + env(safe-area-inset-bottom,0px))}}.feature-inline-controls{border-bottom:1px solid var(--line);background:var(--surface);flex-wrap:wrap;align-items:center;gap:7px 14px;min-width:0;padding:7px 14px;display:flex}.feature-inline-controls label{align-items:center;gap:6px;min-width:0;font-size:12px;display:inline-flex}.feature-inline-controls select,.feature-inline-controls input[type=number]{min-width:68px;max-width:145px}.feature-inline-controls input[type=range]{width:clamp(64px,9vw,130px);max-width:30vw}.feature-inline-controls button{font-size:12px}@media (max-width:900px){.feature-inline-controls{gap:6px 9px;max-height:98px;padding:6px 9px;overflow-y:auto}.feature-inline-controls label{font-size:11px}}
