:root{color-scheme:dark;--bg:#101010;--panel:#171717;--panel2:#1d1d20;--line:#2a2a2e;--text:#f1f0f4;--muted:#88878f;--purple:#a58cf6;--purple-soft:#292238;--danger:#e77f86}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px}button,input{font:inherit}button{color:inherit;cursor:pointer}button:disabled{opacity:.52;cursor:not-allowed}.shell{min-height:100vh}.topbar{height:62px;padding:0 34px;border-bottom:1px solid #222224;justify-content:space-between}.brand,.topbar{display:flex;align-items:center}.brand{gap:9px;font-size:17px;font-weight:700;letter-spacing:-.5px;background:none;border:0;padding:0}.brand-symbol{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#25222e;color:var(--purple);font-weight:800;font-size:20px;letter-spacing:-2px;padding-right:2px}.top-actions{display:flex;align-items:center;gap:15px}.user-name{font-size:11px;color:#aaa8b0}.back-button,.icon-button{display:grid;place-items:center;width:31px;height:31px;background:none;border:1px solid var(--line);border-radius:7px;color:#aaa8b0}.back-button:hover,.icon-button:hover{color:#fff;border-color:#55535d}.quiet{border:0;background:transparent;color:#96949d;font-size:11px;padding:7px 9px}.quiet.active,.quiet:hover{color:var(--purple)}.workspace{width:min(1120px,calc(100% - 48px));margin:0 auto;padding:35px 0 60px}.upload-screen{min-height:calc(100vh - 130px)}.upload-frame,.upload-screen{display:flex;flex-direction:column;justify-content:center;align-items:center}.upload-frame{width:min(600px,100%);min-height:350px;border:1px dashed #3b3942;border-radius:12px;background:#141416;text-align:center;cursor:pointer;transition:background .15s,border-color .15s}.upload-frame:hover{background:#19171e;border-color:#736298}.upload-glyph{display:grid;place-items:center;width:54px;height:54px;border:1px solid #3a3448;border-radius:14px;background:#211d2b;color:var(--purple);margin-bottom:19px}.upload-frame h1{font-size:17px;letter-spacing:-.3px;margin:0 0 7px}.upload-frame p{margin:0;color:#96939d;font-size:12px}.file-types{font-size:10px;color:#696770;letter-spacing:.5px;margin-top:21px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:39px;padding:0 15px;border:0;border-radius:7px;font-size:11px;font-weight:600}.primary{background:var(--purple);color:#17131f}.primary:hover:not(:disabled){background:#b39ef8}.choose-button{margin-top:22px;min-width:125px}.last-job{width:min(600px,100%);display:flex;align-items:center;gap:9px;padding:12px 3px;margin-top:13px;color:#c8c6cc;font-size:10px}.last-job small{margin-left:auto;color:var(--muted)}.job-indicator{flex:none;width:7px;height:7px;border-radius:50%;background:#9a8cf0}.job-indicator.ready{background:#9b8cf1}.job-indicator.error{background:var(--danger)}.download-link{display:inline-flex;align-items:center;gap:5px;color:var(--purple);text-decoration:none}.editor-view{width:min(1020px,100%);margin:0 auto}.editor-head{display:flex;align-items:center;gap:12px;margin-bottom:17px}.back-button{font-size:18px}.file-title{display:flex;flex-direction:column;gap:4px;min-width:0}.file-title b{font-size:12px;max-width:540px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-title span{color:var(--muted);font-size:10px}.replace{margin-left:auto}.edit-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;grid-gap:13px;gap:13px;align-items:start}.card{background:var(--panel);border:1px solid var(--line);border-radius:9px}.preview-column{min-width:0}.video-stage{width:100%;aspect-ratio:16/9;background:#080809;border:1px solid #26262a;border-radius:9px;overflow:hidden;display:flex;align-items:center;justify-content:center}.video-stage video{display:block;width:100%;height:100%;object-fit:contain}.trim-panel{margin-top:11px;padding:15px 16px 13px}.trim-title{justify-content:space-between;color:#aaa7b0;font-size:10px}.trim-title,.trim-title>div{display:flex;align-items:center}.trim-title>div{gap:8px;color:#dddbe1}.trim-title span,.trim-title svg{color:var(--purple)}.trim-title span{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.timeline{height:22px;margin-top:13px;position:relative;display:flex;align-items:center}.timeline:before{content:"";left:0;right:0;background:#343238}.timeline-selected,.timeline:before{position:absolute;height:4px;border-radius:5px}.timeline-selected{background:var(--purple);z-index:1;pointer-events:none}.timeline input[type=range]{position:absolute;inset:0;width:100%;margin:0;background:none;pointer-events:none;-moz-appearance:none;appearance:none;-webkit-appearance:none;z-index:2}.timeline input[type=range]::-webkit-slider-runnable-track{height:4px;background:transparent}.timeline input[type=range]::-moz-range-track{height:4px;background:transparent}.timeline input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;pointer-events:auto;width:12px;height:16px;border:2px solid #17151d;background:var(--purple);border-radius:4px;box-shadow:0 0 0 1px var(--purple);cursor:ew-resize;margin-top:-6px}.timeline input[type=range]::-moz-range-thumb{pointer-events:auto;width:9px;height:13px;border:2px solid #17151d;background:var(--purple);border-radius:4px;box-shadow:0 0 0 1px var(--purple);cursor:ew-resize}.timeline-ends{display:flex;justify-content:space-between;color:#6d6a73;font-size:9px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.trim-values{display:flex;align-items:flex-end;gap:12px;margin-top:13px}.account-form label,.login-box label,.trim-values label{display:flex;align-items:center;gap:7px;color:#88858f;font-size:9px}.account-form input,.login-box input,.trim-values input{height:30px;width:72px;padding:0 8px;background:#111113;border:1px solid #343238;border-radius:5px;color:#e8e6ed;font-size:10px;outline:none}.account-form input:focus,.login-box input:focus,.trim-values input:focus{border-color:#8c74db}.clip-length{margin-left:auto;color:#88858f;font-size:9px;padding-bottom:8px}.settings{padding:15px}.account-form h2,.account-list h2,.settings h2{font-size:11px;margin:0 0 10px;font-weight:600}.setting-row{min-height:49px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #262629;cursor:pointer}.setting-row span{display:flex;flex-direction:column;gap:4px}.setting-row b{font-size:10px;font-weight:500}.setting-row small{font-size:9px;color:#807e87}.setting-row input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:27px;height:15px;border-radius:10px;background:#38373c;position:relative;cursor:pointer;transition:background .15s}.setting-row input[type=checkbox]:after{content:"";position:absolute;width:11px;height:11px;top:2px;left:2px;border-radius:50%;background:#d4d2d9;transition:transform .15s}.setting-row input[type=checkbox]:checked{background:var(--purple)}.setting-row input[type=checkbox]:checked:after{transform:translateX(12px);background:#201b29}.banner-picker{display:grid;grid-template-columns:1fr 1fr;grid-gap:7px;gap:7px;padding-top:7px}.banner-choice{padding:0;text-align:left;position:relative;background:#111113;border:1px solid #36343b;border-radius:6px;overflow:hidden}.banner-choice.selected{border-color:var(--purple);box-shadow:0 0 0 1px var(--purple)}.banner-choice video{display:block;width:100%;height:56px;object-fit:cover;background:#09090a}.banner-choice span{display:block;padding:7px 22px 7px 7px;font-size:8px;color:#c7c4cc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.banner-choice i{position:absolute;right:6px;bottom:6px;display:grid;place-items:center;width:13px;height:13px;background:#28262d;border-radius:50%;font-size:8px;color:var(--purple);font-style:normal}.banner-choice.selected i{background:#352e48}.export-button{width:100%;height:41px;margin-top:9px;justify-content:space-between;padding:0 13px}.export-button svg{margin-left:auto}.latest-result{display:flex;align-items:center;gap:8px;margin-top:12px;padding:10px 2px;color:#a6a3ab;font-size:9px}.latest-result a{margin-left:auto;color:var(--purple);display:grid;place-items:center}.error{padding:9px 11px;border:1px solid #573337;border-radius:6px;background:#251619;color:#e8979d;font-size:10px}.page-error{margin:0 0 14px;display:flex;justify-content:space-between}.page-error button{border:0;background:none;color:inherit;font-size:16px}.accounts-view{max-width:790px;margin:20px auto}.accounts-view h1{font-size:20px;margin:0 0 18px}.account-layout{display:grid;grid-template-columns:250px 1fr;grid-gap:12px;gap:12px}.account-form,.account-list{padding:16px}.account-form label{display:block;margin:13px 0}.account-form input,.login-box input{display:block;width:100%;margin-top:6px}.account-form .button{width:100%;margin-top:4px}.account-list h2{display:flex;justify-content:space-between}.account-list h2 span{color:var(--muted);font-weight:400}.account-row{height:43px;border-top:1px solid #29292c;display:flex;align-items:center;gap:9px;font-size:10px}.account-row b{font-weight:500}.account-row small{margin-left:auto;color:#85828c;font-size:9px}.user-dot{width:24px;height:24px;border-radius:7px;background:#282430;color:#c3b4fa;display:grid;place-items:center;font-size:10px}.danger{color:#cf8288}.login-screen{min-height:100vh;display:grid;place-items:center}.login-box{width:min(330px,calc(100% - 36px));background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:25px}.login-box .brand{margin-bottom:33px}.login-box h1{font-size:19px;margin:0 0 18px}.login-box label{display:block;margin:13px 0}.login-box .button{width:100%;margin-top:7px}.login-box .error{margin:12px 0}@media(max-width:760px){.topbar{height:54px;padding:0 16px}.workspace{width:calc(100% - 28px);padding:20px 0}.upload-screen{min-height:calc(100vh - 94px)}.upload-frame{min-height:310px}.edit-layout{grid-template-columns:1fr}.video-stage{aspect-ratio:16/9}.settings-column{display:grid;grid-template-columns:1fr;grid-gap:0;gap:0}.export-button{margin-top:8px}.account-layout{grid-template-columns:1fr}.account-form{max-width:none}.file-title b{max-width:55vw}}@media(max-width:420px){.trim-panel{padding:12px}.trim-values{gap:7px}.trim-values label{gap:4px}.trim-values input{width:64px}.banner-picker{gap:6px}.settings{padding:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.video-stage{position:relative}.video-stage>video{pointer-events:auto}.subtitle-preview{left:8%;right:8%;bottom:13%;z-index:2;text-align:center;padding:5px 12px;color:#fff;font-size:clamp(12px,2vw,24px);font-weight:800;line-height:1.15;letter-spacing:.01em;text-shadow:0 2px 2px #000,2px 0 #000,-2px 0 #000,0 -2px #000;background:#08080acc;border-radius:7px}.banner-preview,.subtitle-preview{position:absolute;pointer-events:none}.banner-preview{inset:0;z-index:3;display:grid;place-items:center;background:#08080a77}.banner-preview video{width:min(76%,640px);height:70%;object-fit:contain;filter:drop-shadow(0 8px 24px #0009)}.player-controls{position:absolute;left:0;right:0;bottom:0;z-index:4;min-height:43px;padding:0 12px;display:flex;align-items:center;gap:10px;color:#f4f2f7;background:linear-gradient(transparent,#050506dc);font-size:9px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.player-controls button{width:22px;height:22px;border:0;background:none;color:#fff;padding:0;font-size:15px}.player-controls>span{white-space:nowrap}.player-controls input{flex:1 1;min-width:35px;height:3px;accent-color:var(--purple);cursor:pointer}.subtitle-state{font-size:9px;line-height:1.4;color:#8a8693;min-height:15px;margin-top:8px}.subtitle-state:empty{display:none}.source-progress{margin:10px 0 2px;padding:0 2px}.progress-label,.progress-meta{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#a6a2ae}.progress-label b{font-size:10px;color:#c5b5ff;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.progress-track{height:4px;margin:8px 0 6px;border-radius:4px;background:#302d35;overflow:hidden}.progress-track i{display:block;height:100%;border-radius:inherit;background:var(--purple);transition:width .12s linear}.progress-meta{font-size:8px;color:#716e78}.progress-track.indeterminate i{width:28%;animation:upload-sweep 1.35s ease-in-out infinite alternate}@keyframes upload-sweep{0%{transform:translateX(0)}to{transform:translateX(250%)}}.error-state{color:#e8979d}.language-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #2a2a2e;color:#a4a1aa;font-size:10px}.language-row select{min-width:120px;padding:7px 9px;border:1px solid #343238;border-radius:6px;background:#111113;color:#e8e6eb;font:inherit;outline:none}.language-row select:focus{border-color:var(--purple)}.job-progress{margin:2px 2px 0}.job-progress .progress-track{height:6px;margin:0 0 7px;background:#34303c}.job-progress .progress-track i{background:linear-gradient(90deg,#8c70e8,#c1afff,#8c70e8);width:32%;animation:export-sweep 1.25s ease-in-out infinite alternate}.job-progress span{display:block;color:#c6c2ce;font-size:10px;line-height:1.4}.latest-result.processing{color:#d2cfda}.latest-result.processing .job-indicator{width:8px;height:8px;box-shadow:0 0 0 4px #a58cf622;animation:status-pulse 1.3s ease-in-out infinite}@keyframes export-sweep{0%{transform:translateX(0)}to{transform:translateX(210%)}}@keyframes status-pulse{50%{box-shadow:0 0 0 7px #a58cf608;opacity:.65}}.video-stage.banner-active>video:first-child{filter:brightness(.72)}.banner-preview{background:transparent;overflow:hidden}.banner-preview canvas{position:absolute;inset:0;width:100%;height:100%}.banner-preview video{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.banner-audio-unlock{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);padding:9px 12px;border:1px solid #ffffff35;border-radius:7px;background:#141218e8;color:#fff;font-size:11px}.source-metadata{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.preview-loading{position:absolute;inset:0;display:grid;place-items:center;background:#101012}.preview-spinner{width:34px;height:34px;border:3px solid #35323d;border-top:3px solid var(--purple);border-radius:50%;animation:preview-spin .8s linear infinite}.preview-error{max-width:80%;color:#e8979d;font-size:12px;text-align:center}.video-stage>video:not(.source-metadata){aspect-ratio:9/16;object-fit:contain;background:#09090b}.video-stage:has(.preview-loading){background:#101012}@keyframes preview-spin{to{transform:rotate(1turn)}}.video-stage video.source-metadata{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.banner-choice,.banner-picker,.edit-layout,.preview-column,.settings-column{min-width:0}.banner-choice video{max-width:100%}.upload-frame:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--purple);outline-offset:3px}.upload-frame.dragging{background:#1b1722;border-color:var(--purple);box-shadow:0 0 0 3px #a58cf622}.session-loading{min-height:100vh;display:grid;place-items:center}.editor-preview-stage{height:min(70vh,720px);min-height:360px;aspect-ratio:auto}.editor-preview-stage>video:not(.source-metadata){width:auto;height:100%;max-width:100%;aspect-ratio:9/16;object-fit:contain}.preview-error{display:grid;justify-items:center;grid-gap:12px;gap:12px}.preview-error button{padding:8px 12px;border:1px solid #58445a;border-radius:6px;background:#211b25;color:#eee;font-size:11px}.download-result{width:100%;margin-top:8px;text-decoration:none}.page-success{margin:0 0 14px;padding:9px 11px;border:1px solid #40385a;border-radius:6px;background:#1e1a27;color:#c8baff;font-size:11px;display:flex;justify-content:space-between}.page-success button{border:0;background:none;color:inherit;font-size:16px}.field-hint{display:block;margin-top:5px;color:#77747e;font-size:9px}.trim-values label{white-space:nowrap}.trim-values input{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.editor-preview-stage .player-controls{min-height:48px;padding:0 14px;font-size:11px}.editor-preview-stage .player-controls button{width:28px;height:28px;font-size:18px}.editor-preview-stage .player-controls input{height:4px}@media(max-width:760px){.editor-preview-stage{height:min(62vh,560px);min-height:300px}.trim-values{flex-wrap:wrap}.clip-length{width:100%;margin-left:0;padding:3px 0 0}}.custom-select{position:relative;min-width:120px}.custom-select-trigger{width:100%;height:36px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #343238;border-radius:6px;background:#111113;color:#e8e6eb;text-align:left;font:inherit}.custom-select-trigger:hover,.custom-select.open .custom-select-trigger{border-color:var(--purple)}.custom-select-trigger>svg{width:15px;height:15px;flex:none;fill:none;stroke:#a9a6af;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s}.custom-select.open .custom-select-trigger>svg{transform:rotate(180deg)}.custom-select-menu{position:absolute;z-index:30;top:calc(100% + 5px);left:0;right:0;padding:4px;background:#1b1a1e;border:1px solid #3a3741;border-radius:7px;box-shadow:0 10px 28px #0009}.custom-select-option{width:100%;min-height:34px;padding:7px 8px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;border-radius:4px;background:transparent;color:#dedbe4;text-align:left;font:inherit}.custom-select-option.selected,.custom-select-option:hover{background:#2b2635}.option-check{width:14px;height:14px;flex:none;fill:none;stroke:var(--purple);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.subtitle-style-sample{display:inline-block;font-size:11px;line-height:1.2;font-weight:700}.sample-minimal{color:#f3f1f7;text-shadow:0 1px 2px #000}.sample-tiktok{color:#ffe600;-webkit-text-stroke:.3px #111;text-shadow:1px 2px 0 #050505,-1px -1px 0 #050505}.sample-mrbeast{color:#00f566;-webkit-text-stroke:.25px #08130b;text-shadow:1px 2px 0 #050505}.sample-neon{color:#64f7ff;text-shadow:0 0 5px #05d9ff,0 0 9px #e80088}.locked-row{cursor:default}.lock-mark{width:17px;height:17px;fill:none;stroke:var(--purple);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}.new-project{white-space:nowrap}@media (max-width:760px){.topbar{padding-inline:16px}.workspace{width:min(100% - 28px,560px);padding:18px 0 calc(28px + env(safe-area-inset-bottom))}.editor-view{width:100%}.editor-head{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:10px;gap:10px;margin-bottom:12px}.file-title{min-width:0}.file-title b{max-width:100%;font-size:12px}.file-title span,.new-project{font-size:10px}.new-project{min-height:40px;padding-inline:12px}.edit-layout{display:flex;flex-direction:column;gap:10px}.preview-column,.settings-column{width:100%}.editor-preview-stage{height:min(64svh,560px);min-height:280px;border-radius:10px}.trim-panel{margin-top:9px;padding:13px}.trim-title{font-size:12px}.timeline{height:34px;margin:14px 0 3px;touch-action:pan-y}.timeline-selected,.timeline:before{height:5px}.timeline input[type=range]::-webkit-slider-thumb{width:18px;height:25px;margin-top:-10px}.timeline input[type=range]::-moz-range-thumb{width:15px;height:21px}.timeline-ends{font-size:10px}.trim-values{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;grid-gap:10px;gap:10px;margin-top:14px}.trim-values label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;grid-gap:7px;gap:7px;font-size:10px;white-space:nowrap}.trim-values input{width:100%;min-width:0;height:40px;padding-inline:9px;font-size:14px}.clip-length{grid-column:1/-1;width:100%;margin:0;padding:0;text-align:right;font-size:10px}.settings-column{display:flex;flex-direction:column;gap:10px}.settings{padding:14px}.settings h2{font-size:13px;margin-bottom:11px}.setting-row{min-height:56px}.setting-row b{font-size:12px}.setting-row small{font-size:10px}.setting-row input[type=checkbox]{flex:none;width:38px;height:22px}.setting-row input[type=checkbox]:after{width:16px;height:16px;top:3px;left:3px}.setting-row input[type=checkbox]:checked:after{transform:translateX(16px)}.language-row{min-height:54px;font-size:12px}.language-row .custom-select{width:min(62%,230px)}.custom-select-trigger{height:42px;padding-inline:12px}.banner-picker{gap:9px;padding-top:10px}.banner-choice{min-width:0;border-radius:8px}.banner-choice video{height:clamp(68px,22vw,104px)}.banner-choice span{padding:9px 26px 9px 9px;font-size:10px}.banner-choice i{right:8px;bottom:9px;width:16px;height:16px;font-size:10px}.source-progress,.subtitle-state{font-size:11px}.export-button{height:50px;min-height:50px;margin-top:0;padding-inline:16px;font-size:14px}.job-progress span,.latest-result{font-size:11px}.error,.page-success{font-size:12px}.last-job{flex-wrap:wrap}.last-job small{width:100%;margin-left:16px}}@media (max-width:380px){.workspace{width:calc(100% - 20px)}.editor-head{grid-template-columns:minmax(0,1fr)}.new-project{width:100%}.editor-preview-stage{min-height:250px}.trim-values label{grid-template-columns:1fr;gap:5px}.banner-choice video{height:64px}.banner-choice span{font-size:9px}}