:root{--bg:#05091c;--bg2:#02040f;--panel:#0d1433;--panel2:#111a40;--line:#22305f;--line2:#172149;--text:#e8ecff;--muted:#8d97c2;--dim:#5d6896;--cyan:#00CEFF;--violet:#7B3FF2;--green:#8ff0c4;--red:#ff5c7a;--display:"Space Grotesk",system-ui,sans-serif;--body:"Inter",system-ui,sans-serif;--head:64px;--top:52px }*{box-sizing:border-box}html,body{margin:0;height:100%;background:var(--bg);color:var(--text);font:14px/1.45 var(--body);-webkit-font-smoothing:antialiased;overscroll-behavior:none}body.ed{overflow:hidden;-webkit-tap-highlight-color:transparent}button,select,input,textarea{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}[hidden]{display:none!important}.ed-app{height:100dvh;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--top) minmax(0,1fr) auto;grid-template-areas:"top" "stage" "bottom";position:relative}.ed-top{grid-area:top;display:flex;align-items:center;gap:8px;padding:0 8px 0 4px;border-bottom:1px solid var(--line2);min-width:0}.ed-back{width:44px;height:44px;display:grid;place-items:center;color:var(--text);border-radius:10px}.ed-brand{font:700 16px var(--display);white-space:nowrap}.ed-beta{font:600 10px var(--body);color:var(--cyan);border:1px solid var(--cyan);border-radius:999px;padding:1px 6px;margin-left:4px;vertical-align:2px}.ed-saved{font-size:12px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;display:none}.ed-top-r{margin-left:auto;display:flex;align-items:center;gap:4px}.ed-ib{min-width:40px;height:40px;border:0;border-radius:10px;background:transparent;color:var(--text);display:grid;place-items:center;font-size:18px;padding:0 6px}.ed-ib:hover{background:var(--panel)}.ed-ib:disabled{color:var(--dim);background:transparent;cursor:default}.ed-btn{height:38px;padding:0 16px;border-radius:10px;border:1px solid var(--line);background:var(--panel);color:var(--text);font-weight:600;white-space:nowrap}.ed-btn:hover{border-color:var(--cyan)}.ed-primary{background:var(--cyan);border-color:var(--cyan);color:#04102a}.ed-primary:hover{background:#4fdfff}.ed-primary:disabled{opacity:.5;cursor:default}.ed-sel{height:38px;border-radius:10px;border:1px solid var(--line);background:var(--panel);padding:0 8px}.ed-stage{grid-area:stage;min-width:0;display:flex;flex-direction:column;min-height:0;background:var(--bg2)}.ed-view{flex:1;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}#edCanvas{display:block;background:#000;box-shadow:0 0 0 1px var(--line2)}.ed-ov{position:absolute;touch-action:none}.ed-box{position:absolute;left:0;top:0;border:2px solid #fff;box-shadow:0 0 0 1px #0006;pointer-events:none;transform-origin:center}.ed-h{position:absolute;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;background:#fff;border:2px solid var(--cyan);pointer-events:auto;touch-action:none}.ed-h[data-h=nw]{left:0;top:0;cursor:nwse-resize}.ed-h[data-h=ne]{left:100%;top:0;cursor:nesw-resize}.ed-h[data-h=sw]{left:0;top:100%;cursor:nesw-resize}.ed-h[data-h=se]{left:100%;top:100%;cursor:nwse-resize}.ed-rot{position:absolute;left:50%;top:-34px;width:24px;height:24px;margin-left:-12px;border-radius:50%;background:var(--cyan);pointer-events:auto;touch-action:none;cursor:grab}.ed-rot:after{content:"";position:absolute;left:11px;top:24px;width:2px;height:10px;background:#fff}.ed-guide{position:absolute;background:var(--violet);display:none;pointer-events:none}.ed-gx{top:0;bottom:0;width:1px;left:50%}.ed-gy{left:0;right:0;height:1px;top:50%}.ed-guide.on{display:block}.ed-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:16px;pointer-events:none}.ed-empty b{font:700 20px var(--display)}.ed-empty span{color:var(--muted);max-width:340px}.ed-empty button{pointer-events:auto;margin-top:6px}.ed-transport{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 8px;border-top:1px solid var(--line2);background:var(--bg)}.ed-time{font:500 13px var(--body);font-variant-numeric:tabular-nums;color:var(--muted);min-width:120px}.ed-play{width:48px;height:44px}.ed-zoom{display:flex;min-width:120px;justify-content:flex-end}.ed-bottom{grid-area:bottom;min-width:0;display:flex;flex-direction:column;border-top:1px solid var(--line2);background:var(--bg)}.ed-tools{order:2;display:flex;gap:2px;overflow-x:auto;padding:4px 4px calc(4px + env(safe-area-inset-bottom));border-top:1px solid var(--line2);scrollbar-width:none}.ed-tools::-webkit-scrollbar{display:none}.ed-tool{flex:none;min-width:64px;height:58px;border:0;border-radius:10px;background:transparent;color:var(--text);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;font-weight:500;padding:0 6px}.ed-tool svg{width:22px;height:22px}.ed-tool:hover{background:var(--panel)}.ed-tool:disabled{color:var(--dim);background:transparent;cursor:default}.ed-tl{order:1;height:34vh;min-height:170px;max-height:300px;overflow:auto;position:relative;touch-action:pan-x pan-y;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.ed-inner{position:relative;min-height:100%}.ed-rrow{display:flex;position:sticky;top:0;z-index:4;background:var(--bg);height:24px}.ed-head{flex:none;width:var(--head);position:sticky;left:0;z-index:3;background:var(--bg);border-right:1px solid var(--line2);display:flex;align-items:center;justify-content:center;gap:2px}.ed-head-r{z-index:5}.ed-ruler{position:relative;flex:1;cursor:pointer;touch-action:none;border-bottom:1px solid var(--line2)}.ed-ruler i{position:absolute;bottom:0;width:1px;height:6px;background:var(--dim)}.ed-ruler i.b{height:10px;background:var(--muted)}.ed-ruler i.bt{height:100%;width:2px;background:#ffd23f;opacity:.75}.ed-ruler span{position:absolute;top:2px;font-size:10px;color:var(--dim);transform:translate(3px);font-variant-numeric:tabular-nums}.ed-row{display:flex;margin:5px 0}.ed-row.drop .ed-lane{background:#00ceff0f}.ed-lane{position:relative;flex:1;height:52px}.ed-row.a .ed-lane{height:40px}.ed-row.t .ed-lane{height:36px}.ed-head .ed-ib{min-width:28px;height:28px;padding:0;color:var(--muted)}.ed-head .ed-ib.off{color:var(--red)}.ed-head small{font-size:10px;color:var(--dim)}.ed-clip{position:absolute;top:0;bottom:0;border-radius:7px;overflow:hidden;background:#2a3150;border:2px solid transparent;cursor:grab;user-select:none;-webkit-user-select:none;background-repeat:repeat-x;background-size:auto 100%;touch-action:pan-x pan-y}.ed-clip.image{background-color:#2b3a6b}.ed-clip.text{background:var(--violet)}.ed-clip.audio{background-color:#12392c;background-repeat:no-repeat}.ed-clip.viz{background:linear-gradient(90deg,#0b5e7a,#5b2bb5)}.ed-clip.sel{border-color:#fff;touch-action:none;z-index:2}.ed-clip.drag{opacity:.35;cursor:grabbing}.ed-clip b{position:absolute;left:8px;top:3px;right:8px;font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 2px rgba(0,0,0,.8);pointer-events:none}.ed-clip .tr{position:absolute;top:0;bottom:0;width:16px;background:#fffffff2;display:none;touch-action:none;cursor:ew-resize}.ed-clip .tr:after{content:"";position:absolute;left:7px;top:35%;bottom:35%;width:2px;border-radius:1px;background:#04102a}.ed-clip .tl{left:0}.ed-clip .trr{right:0}.ed-clip.sel .tr{display:block}.ed-ph{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:#fff;z-index:5;pointer-events:none}.ed-ph i{position:absolute;top:0;left:-6px;width:14px;height:14px;background:#fff;clip-path:polygon(0 0,100% 0,50% 100%)}.ed-snap{position:absolute;top:24px;bottom:0;width:1px;background:var(--cyan);z-index:5;pointer-events:none}.ed-side,.ed-insp{position:fixed;left:0;right:0;bottom:0;max-height:72dvh;z-index:20;background:var(--panel);border-top:1px solid var(--line);border-radius:18px 18px 0 0;padding:6px 14px calc(14px + env(safe-area-inset-bottom));overflow:auto;transform:translateY(105%);transition:transform .22s ease;box-shadow:0 -10px 30px #00000080}.ed-side.open,.ed-insp.open{transform:none}.ed-insp{max-height:50dvh}.ed-sheet-h{display:flex;align-items:center;justify-content:space-between;min-height:44px;font:700 15px var(--display);position:sticky;top:-6px;background:inherit;z-index:1}.ed-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:76px;border:1.5px dashed #3a4a85;border-radius:12px;color:var(--text);font-weight:600;cursor:pointer;text-align:center;padding:10px}.ed-drop small{font-weight:400;color:var(--dim);font-size:12px}.ed-drop.over,.ed-drop:hover{border-color:var(--cyan)}.ed-lib{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.ed-card{position:relative;aspect-ratio:3/4;border-radius:10px;overflow:hidden;background:#1a2350 center/cover no-repeat;border:1px solid var(--line);padding:0;text-align:left}.ed-card.audio{aspect-ratio:3/4;background:#12392c center/100% 60% no-repeat}.ed-card span{position:absolute;left:0;right:0;bottom:0;padding:14px 6px 4px;font-size:11px;background:linear-gradient(transparent,#000000d9);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ed-card em{position:absolute;right:4px;top:4px;font-style:normal;font-size:10px;background:#0009;padding:1px 5px;border-radius:6px}.ed-card .ed-add{position:absolute;left:4px;top:4px;width:26px;height:26px;border-radius:50%;background:var(--cyan);color:#04102a;display:grid;place-items:center;font-weight:700}.ed-note{font-size:12px;color:var(--muted);margin:12px 0 0}.ed-insp-b{display:flex;flex-direction:column;gap:12px;padding-bottom:6px}.ed-f{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}.ed-f>span{display:flex;justify-content:space-between}.ed-f>span output{color:var(--text);font-variant-numeric:tabular-nums}.ed-f input[type=range]{width:100%;accent-color:var(--cyan);height:28px}.ed-f textarea{min-height:64px;border-radius:10px;border:1px solid var(--line);background:var(--bg);padding:8px 10px;resize:vertical;font-size:15px}.ed-f select{height:40px;border-radius:10px;border:1px solid var(--line);background:var(--bg);padding:0 10px}.ed-f2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ed-sw{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--text);min-height:36px}.ed-sw input[type=color]{width:44px;height:32px;border:1px solid var(--line);border-radius:8px;background:none;padding:2px}.ed-sw input[type=checkbox]{width:20px;height:20px;accent-color:var(--cyan)}.ed-fonts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ed-fonts button{height:44px;border-radius:10px;border:1px solid var(--line);background:var(--bg);font-size:16px;white-space:nowrap;overflow:hidden}.ed-fonts button.on{border-color:var(--cyan);color:var(--cyan)}.ed-styles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ed-styles button{height:54px;border-radius:10px;border:1px solid var(--line);background:var(--bg);font:400 18px Anton,sans-serif;color:#fff}.ed-chips{display:flex;gap:6px;flex-wrap:wrap}.ed-chips button{height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:transparent;font-size:12px}.ed-chips button:hover{border-color:var(--cyan)}.ed-hint{font-size:12px;color:var(--dim);line-height:1.5}.ed-hint kbd{font:600 11px var(--body);background:var(--bg);border:1px solid var(--line);border-radius:5px;padding:0 5px;color:var(--muted)}.ed-modal{position:fixed;inset:0;z-index:40;background:#02040fbf;display:grid;place-items:center;padding:16px}.ed-dlg{width:100%;max-width:420px;background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:20px}.ed-dlg h2{margin:0 0 14px;font:700 20px var(--display)}.ed-row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ed-row2 label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}.ed-prog{height:8px;border-radius:99px;background:var(--bg);overflow:hidden;margin-top:14px}.ed-prog i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--violet),var(--cyan))}.ed-dlg-b{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.ed-toast{position:fixed;left:50%;top:64px;transform:translate(-50%);z-index:50;background:#fff;color:#04102a;font-weight:600;padding:8px 14px;border-radius:10px;max-width:calc(100% - 32px);box-shadow:0 8px 24px #0006}.ed-scrim{position:fixed;inset:0;z-index:19;background:#00000059}@media (min-width:1000px){:root{--head:96px;--top:56px}.ed-app{grid-template-columns:300px minmax(0,1fr) 320px;grid-template-rows:var(--top) minmax(0,1fr) auto;grid-template-areas:"top top top" "side stage insp" "bottom bottom bottom"}.ed-saved{display:block}.ed-side,.ed-insp{position:static;transform:none;transition:none;max-height:none;border-radius:0;border:0;box-shadow:none;background:var(--bg);padding:10px 14px;min-height:0}.ed-side{grid-area:side;border-right:1px solid var(--line2)}.ed-insp{grid-area:insp;border-left:1px solid var(--line2)}.ed-close,.ed-only-s{display:none!important}.ed-sheet-h{top:-10px}.ed-lib{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-tools{order:0;border-top:0;border-bottom:1px solid var(--line2);padding:2px 8px}.ed-tool{flex-direction:row;height:36px;min-width:0;gap:6px;font-size:12px;padding:0 10px}.ed-tool svg{width:18px;height:18px}.ed-tl{height:280px;max-height:none}.ed-lane{height:58px}.ed-scrim{display:none}}@media (max-width:420px){.ed-time{min-width:96px;font-size:12px}.ed-zoom{min-width:96px}.ed-brand{font-size:14px}}@media (prefers-reduced-motion:reduce){.ed-side,.ed-insp{transition:none}}@media (max-width:999px){.ed-hide-s{display:none!important}}@media (max-width:520px){.ed-brand{display:none}.ed-top,.ed-top-r{gap:2px}.ed-btn{padding:0 12px}.ed-ib{min-width:38px}}.ed-app,.ed-top{max-width:100vw}.ed-lane,.ed-ruler{margin-left:12px}.ed-lane:before{content:"";position:absolute;left:-1px;top:-5px;bottom:-5px;border-left:1px dashed #33427a;pointer-events:none}.ed-ruler i:first-child{background:var(--cyan);height:100%}.ed-ghost{position:absolute;bottom:auto;z-index:7;pointer-events:none;border:2px dashed var(--cyan);opacity:.95;box-shadow:0 8px 22px #0000008c;transition:top .08s ease,left .04s linear}.ed-ghost.new{border-color:var(--violet);box-shadow:0 0 0 3px #7b3ff259}.ed-tip{position:absolute;z-index:8;pointer-events:none;background:#fff;color:#04102a;font:600 11px var(--body);padding:2px 7px;border-radius:6px;white-space:nowrap;font-variant-numeric:tabular-nums}.ed-steps{display:flex;align-items:center;gap:2px}.ed-steps .ed-ib{min-width:44px;height:44px}.ed-cardw{position:relative}.ed-cardw .ed-card{width:100%}.ed-mdel{position:absolute;right:4px;bottom:26px;width:30px;height:30px;border-radius:50%;border:0;background:#05091cd9;color:#fff;display:grid;place-items:center}.ed-mdel:hover{background:var(--red)}.ed-tabs{display:flex;flex-wrap:wrap;gap:2px;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:3px;position:sticky;top:38px;z-index:1}.ed-tabs button{flex:1 1 30%;min-width:max-content;padding:0 8px;height:34px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:12px;font-weight:600}.ed-tabs button[aria-selected=true]{background:var(--panel2);color:var(--text);box-shadow:inset 0 0 0 1px var(--line)}.ed-chips button.on{border-color:var(--cyan);color:var(--cyan)}.ed-fonts button{display:flex;flex-direction:column;align-items:center;justify-content:center;height:54px;gap:0;line-height:1.1}.ed-fonts button small{font:400 9px var(--body);color:var(--dim);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 3px}.ed-styles button{overflow:hidden;white-space:nowrap}.ed-inline{position:absolute;z-index:3;resize:none;border:2px solid var(--cyan);border-radius:8px;background:#02040f8c;padding:6px;line-height:1.15;outline:none;overflow:hidden}.ed-sep{height:1px;background:var(--line2);margin:4px 0}.ed-f2 .ed-btn{height:36px;align-self:center}.ed-subh{color:var(--text);font:700 13px var(--display)}.ed-insp .ed-prog{margin-top:0}.ed-busy{position:absolute;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:16px;background:#02040f8c;backdrop-filter:blur(2px)}.ed-busy[hidden]{display:none}.ed-busyc{width:min(320px,100%);display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:18px 18px 16px;border-radius:16px;background:var(--panel);border:1px solid var(--line);box-shadow:0 18px 50px #00000080}.ed-busyc b{font:700 16px var(--display)}.ed-busyc span{color:var(--muted);font-size:13px;min-height:1.2em}.ed-busyc .ed-prog{width:100%;margin-top:4px}.ed-busyc .ed-prog i{transition:width .4s linear}.ed-busyc .ed-prog.ind i{width:35%!important;animation:edInd 1.3s ease-in-out infinite}@keyframes edInd{0%{transform:translate(-100%)}to{transform:translate(290%)}}.ed-spin{width:28px;height:28px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--cyan);animation:edSpin .8s linear infinite}@keyframes edSpin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.ed-spin,.ed-busyc .ed-prog.ind i{animation:none}}.ed-busy.mini{inset:auto 8px 8px;background:none;backdrop-filter:none;pointer-events:none}.ed-busy.mini .ed-busyc{pointer-events:auto;flex-direction:row;flex-wrap:wrap;width:min(420px,100%);padding:10px 12px;gap:6px 10px;text-align:left}.ed-busy.mini .ed-spin{width:18px;height:18px;border-width:2px}.ed-busy.mini .ed-busyc b{font-size:14px;flex:1}.ed-busy.mini .ed-busyc span{width:100%;order:3}.ed-busy.mini .ed-prog{order:4;margin:0}.ed-busy.mini .ed-btn{order:2;padding:4px 10px}.ed-kf{position:absolute;bottom:3px;width:9px;height:9px;margin-left:-4px;background:var(--cyan);border:1px solid #04102a;transform:rotate(45deg);pointer-events:none;z-index:1}.ed-xf{position:absolute;left:-1px;top:50%;width:14px;height:14px;margin-top:-7px;border-radius:50%;background:#fff;border:2px solid var(--violet);pointer-events:none;z-index:1}.ed-xf:after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--violet)}.ed-kfrow{display:grid;grid-template-columns:44px 1fr 44px;gap:8px}.ed-kfrow .ed-btn{min-width:0;padding-left:6px;padding-right:6px}.ed-tpl{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}.ed-tpl .ed-btn{justify-content:flex-start;text-align:left;white-space:normal;height:auto;min-height:44px;padding:8px 12px;line-height:1.25;min-width:0}.ed-insp{overflow-x:hidden}@media (max-width:999px){.ed-app:not(.has-sel) .ed-tool[data-need]{display:none}.ed-app.has-sel .ed-tool[data-act=media],.ed-app.has-sel .ed-tool[data-act=tpl],.ed-app.has-sel .ed-tool[data-act=text]{display:none}.ed-tool{min-width:52px;padding:0 4px}.ed-tools{justify-content:space-around}}.ed-row.cv .ed-lane{height:96px;background:#00ceff0d}.ed-cvh{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:18px}.ed-curve{position:absolute;top:0;height:96px;display:block;background:#04102ab3;border:1px solid var(--accent,#00ceff);border-radius:8px;touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair;overflow:visible}.ed-curve path{fill:none;stroke:var(--accent,#00ceff);stroke-width:3;pointer-events:none}.ed-curve .g{stroke:#56648f;stroke-dasharray:4 4;pointer-events:none}.ed-curve text{fill:#9aa6c8;font-size:10px;pointer-events:none}.ed-curve circle{fill:#fff;stroke:var(--accent,#00ceff);stroke-width:3;cursor:grab}.ed-curve circle.on{fill:var(--accent,#00ceff)}.ed-hint-on{color:var(--text,#fff);border-left:3px solid var(--accent,#00ceff);padding-left:8px}.ed-head{flex-wrap:wrap;align-content:center}.ed-head .ed-tdel:hover{color:var(--red)}@media (max-width:999px){.ed-head .ed-ib{min-width:26px;height:24px}}.ed-app:not(.sel-av) .ed-tool-spd{display:none}@media (max-width:999px){.ed-tool{min-width:46px}}.ed-tool[hidden]{display:none!important}@media (max-width:999px){.ed-tools{justify-content:flex-start;gap:0;scroll-snap-type:x proximity;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}.ed-tool{flex:none;width:62px;min-width:62px;padding:0 2px;scroll-snap-align:start}.ed-tool span{font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}}@media (min-width:1000px){.ed-tools{flex-wrap:wrap;overflow:visible}}.ed-flash{animation:edFlash 1.4s ease}@keyframes edFlash{0%,40%{background:#00ceff40}to{background:transparent}}#edSecP3,#edSecFz,#edSecAs,#edSecSt{scroll-margin-top:130px}
