@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-latin-400-normal-C38fXH4l.woff2)format("woff2"),url(./inter-latin-400-normal-CyCys3Eg.woff)format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./inter-latin-500-normal-Cerq10X2.woff2)format("woff2"),url(./inter-latin-500-normal-BL9OpVg8.woff)format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./inter-latin-700-normal-Yt3aPRUw.woff2)format("woff2"),url(./inter-latin-700-normal-BLAVimhd.woff)format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:900;src:url(./inter-latin-900-normal-D4nM5aha.woff2)format("woff2"),url(./inter-latin-900-normal-EUCDUbiG.woff)format("woff")}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(./poppins-latin-400-normal-cpxAROuN.woff2)format("woff2"),url(./poppins-latin-400-normal-BOb3E3N0.woff)format("woff")}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:700;src:url(./poppins-latin-700-normal-Qrb0O0WB.woff2)format("woff2"),url(./poppins-latin-700-normal-BVuQR_eA.woff)format("woff")}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:900;src:url(./poppins-latin-900-normal-BmL1zqjw.woff2)format("woff2"),url(./poppins-latin-900-normal-By5LX1Cr.woff)format("woff")}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:400;src:url(./montserrat-latin-400-normal-BLhwKU8k.woff2)format("woff2"),url(./montserrat-latin-400-normal-xItZbAXg.woff)format("woff")}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:700;src:url(./montserrat-latin-700-normal-BdjcYUrC.woff2)format("woff2"),url(./montserrat-latin-700-normal-BWkrl476.woff)format("woff")}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:900;src:url(./montserrat-latin-900-normal-B0TD3Qnu.woff2)format("woff2"),url(./montserrat-latin-900-normal-BDWDmVut.woff)format("woff")}@font-face{font-family:Space Grotesk;font-style:normal;font-display:swap;font-weight:400;src:url(./space-grotesk-latin-400-normal-CJ-V5oYT.woff2)format("woff2"),url(./space-grotesk-latin-400-normal-BnQMeOim.woff)format("woff")}@font-face{font-family:Space Grotesk;font-style:normal;font-display:swap;font-weight:700;src:url(./space-grotesk-latin-700-normal-RjhwGPKo.woff2)format("woff2"),url(./space-grotesk-latin-700-normal-CwsQ-cCU.woff)format("woff")}@font-face{font-family:Oswald;font-style:normal;font-display:swap;font-weight:400;src:url(./oswald-latin-400-normal-BAFo8sP8.woff2)format("woff2"),url(./oswald-latin-400-normal-D1wpMXgf.woff)format("woff")}@font-face{font-family:Oswald;font-style:normal;font-display:swap;font-weight:700;src:url(./oswald-latin-700-normal-vy6hmKSr.woff2)format("woff2"),url(./oswald-latin-700-normal-UmC9Ev9x.woff)format("woff")}@font-face{font-family:Bebas Neue;font-style:normal;font-display:swap;font-weight:400;src:url(./bebas-neue-latin-400-normal-9mHNbWWO.woff2)format("woff2"),url(./bebas-neue-latin-400-normal-Bi-ndsyu.woff)format("woff")}@font-face{font-family:Anton;font-style:normal;font-display:swap;font-weight:400;src:url(./anton-latin-400-normal-Byf51wtH.woff2)format("woff2"),url(./anton-latin-400-normal-AUNGEG_V.woff)format("woff")}@font-face{font-family:Righteous;font-style:normal;font-display:swap;font-weight:400;src:url(./righteous-latin-400-normal-DIzXvQUm.woff2)format("woff2"),url(./righteous-latin-400-normal-CRvo487o.woff)format("woff")}@font-face{font-family:Playfair Display;font-style:normal;font-display:swap;font-weight:400;src:url(./playfair-display-latin-400-normal-CFtfchNt.woff2)format("woff2"),url(./playfair-display-latin-400-normal-DHYHbkg3.woff)format("woff")}@font-face{font-family:Playfair Display;font-style:normal;font-display:swap;font-weight:700;src:url(./playfair-display-latin-700-normal-CuDiGg7c.woff2)format("woff2"),url(./playfair-display-latin-700-normal-Bc_1Q1cG.woff)format("woff")}@font-face{font-family:Playfair Display;font-style:normal;font-display:swap;font-weight:900;src:url(./playfair-display-latin-900-normal-oSb7_CWx.woff2)format("woff2"),url(./playfair-display-latin-900-normal-DypQvTWf.woff)format("woff")}@font-face{font-family:Playfair Display;font-style:italic;font-display:swap;font-weight:400;src:url(./playfair-display-latin-400-italic-LeeEXsx5.woff2)format("woff2"),url(./playfair-display-latin-400-italic-hIeePEuE.woff)format("woff")}@font-face{font-family:Playfair Display;font-style:italic;font-display:swap;font-weight:700;src:url(./playfair-display-latin-700-italic-CB566L-e.woff2)format("woff2"),url(./playfair-display-latin-700-italic-DgrU7w_p.woff)format("woff")}@font-face{font-family:DM Serif Display;font-style:normal;font-display:swap;font-weight:400;src:url(./dm-serif-display-latin-400-normal-C5_t9oOD.woff2)format("woff2"),url(./dm-serif-display-latin-400-normal-_kVFYEpx.woff)format("woff")}@font-face{font-family:Abril Fatface;font-style:normal;font-display:swap;font-weight:400;src:url(./abril-fatface-latin-400-normal-utNZUC9m.woff2)format("woff2"),url(./abril-fatface-latin-400-normal-CSRW-xuf.woff)format("woff")}@font-face{font-family:Pacifico;font-style:normal;font-display:swap;font-weight:400;src:url(./pacifico-latin-400-normal-7HIToT7q.woff2)format("woff2"),url(./pacifico-latin-400-normal-DArfF-vd.woff)format("woff")}@font-face{font-family:Lobster;font-style:normal;font-display:swap;font-weight:400;src:url(./lobster-latin-400-normal-VmWungf4.woff2)format("woff2"),url(./lobster-latin-400-normal-Cc8ENR_t.woff)format("woff")}@font-face{font-family:Dancing Script;font-style:normal;font-display:swap;font-weight:400;src:url(./dancing-script-latin-400-normal--YrtvvVF.woff2)format("woff2"),url(./dancing-script-latin-400-normal-BY5FxJb0.woff)format("woff")}@font-face{font-family:Dancing Script;font-style:normal;font-display:swap;font-weight:700;src:url(./dancing-script-latin-700-normal-CX8AaSVl.woff2)format("woff2"),url(./dancing-script-latin-700-normal-LI5MgW9m.woff)format("woff")}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:400;src:url(./caveat-latin-400-normal-D6LQsQ_v.woff2)format("woff2"),url(./caveat-latin-400-normal-BzhAQZkN.woff)format("woff")}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:700;src:url(./caveat-latin-700-normal-D8_1Nw6V.woff2)format("woff2"),url(./caveat-latin-700-normal-cPyBTTZN.woff)format("woff")}@font-face{font-family:Permanent Marker;font-style:normal;font-display:swap;font-weight:400;src:url(./permanent-marker-latin-400-normal-BF23djCy.woff2)format("woff2"),url(./permanent-marker-latin-400-normal-BnZj5c41.woff)format("woff")}:root{--bg:#0e0e10;--surface:#18181b;--surface-2:#232327;--surface-3:#2e2e34;--text:#f4f4f5;--text-muted:#f4f4f59e;--border:#ffffff1a;--accent:#7b61ff;--accent-fg:#fff;--primary-action:#7b61ff;--primary-action-fg:#fff;--danger:#ff5a6e;--radius:10px;--font:"Inter", system-ui, -apple-system, "Segoe UI", sans-serif;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;overscroll-behavior:none;margin:0;font-size:14px;line-height:1.45}h1,h2,h3,p{margin:0}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0;padding:0}button:disabled{cursor:not-allowed;opacity:.45}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}small,.muted{color:var(--text-muted)}.btn{border-radius:var(--radius);background:var(--surface-2);border:1px solid var(--border);white-space:nowrap;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 14px;font-weight:500;display:inline-flex}.btn:hover:not(:disabled){background:var(--surface-3)}.btn-primary{background:var(--primary-action);color:var(--primary-action-fg);border-color:#0000;font-weight:700}.btn-primary:hover:not(:disabled){background:#8d76ff}.btn-block{width:100%}.btn-small{min-height:30px;padding:0 10px;font-size:13px}.text-btn{min-height:36px;color:var(--text-muted);border-radius:8px;align-items:center;gap:4px;padding:0 8px;font-weight:500;text-decoration:none;display:inline-flex}.text-btn:hover{color:var(--text);background:var(--surface-2)}.icon-btn{width:34px;height:34px;color:var(--text-muted);border-radius:8px;flex:none;place-items:center;display:inline-grid}.icon-btn:hover:not(:disabled){background:var(--surface-3);color:var(--text)}.icon-btn.is-active{background:var(--accent);color:var(--accent-fg)}.icon-btn.is-danger:hover:not(:disabled){color:var(--danger)}.chips{flex-wrap:wrap;gap:6px;display:flex}.chips-scroll{scrollbar-width:none;flex-wrap:nowrap;padding-bottom:4px;overflow-x:auto}.chip{background:var(--surface-2);border:1px solid var(--border);min-height:32px;color:var(--text-muted);white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:0 12px;font-size:13px;font-weight:500;display:inline-flex}.chip:hover{color:var(--text)}.chip.is-active{background:var(--text);border-color:var(--text);color:#111}.tabs{border-radius:var(--radius);background:var(--surface-2);gap:2px;padding:3px;display:flex}.tab{min-height:30px;color:var(--text-muted);border-radius:7px;flex:1;font-size:13px;font-weight:500}.tab.is-active{background:var(--surface-3);color:var(--text)}.section{flex-direction:column;gap:10px;padding:12px 14px;display:flex}.section+.section{border-top:1px solid var(--border)}.section-head{justify-content:space-between;align-items:center;display:flex}.section h3,h3.sub{letter-spacing:.02em;color:var(--text-muted);font-size:12px;font-weight:700}.row{align-items:center;gap:6px;display:flex}.row-wrap{flex-wrap:wrap}.hint,.empty{color:var(--text-muted);font-size:13px}.empty{padding:20px 14px}.slider{grid-template-columns:84px 1fr 58px;align-items:center;gap:8px;font-size:13px;display:grid}.slider-label{color:var(--text-muted)}.slider-value{text-align:right;font-variant-numeric:tabular-nums}input[type=range]{width:100%;height:24px;accent-color:var(--accent);background:0 0;margin:0}.swatches{flex-wrap:wrap;gap:8px;display:flex}.swatch{border:1px solid var(--border);border-radius:50%;width:30px;height:30px;position:relative;overflow:hidden}.swatch.is-active{outline:2px solid var(--accent);outline-offset:2px}.swatch-none{background:linear-gradient(45deg, transparent 46%, var(--danger) 46%, var(--danger) 54%, transparent 54%), var(--surface-2)}.swatch-custom{cursor:pointer;background:conic-gradient(#ff3b5c,#ffd23f,#2dd36f,#2a9df4,#7b61ff,#ff3b5c)}.swatch-custom input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.textarea{resize:vertical;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface-2);width:100%;min-height:64px;padding:10px 12px}.grid{gap:8px;display:grid}.grid-2{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}.grid-6{grid-template-columns:repeat(6,1fr)}.tile{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface-2);min-width:0;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:12px;display:flex;overflow:hidden}.tile:hover{border-color:#ffffff47}.tile.is-active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);color:var(--text)}.tile canvas{display:block;width:100%!important;height:auto!important}.tile-effect{padding-bottom:5px}.tile-photo{aspect-ratio:3/4}.tile-photo img{object-fit:cover;width:100%;height:100%}.tile-sticker{aspect-ratio:1;background:#3a3a42;padding:8px}.tile-sticker img{object-fit:contain;width:100%;height:100%}.tile-emoji{aspect-ratio:1;color:var(--text);font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif;font-size:24px}.tile-shape{color:var(--text);padding:12px 4px}.tile-shape span{color:var(--text-muted)}.tile-bg{aspect-ratio:3/4;justify-content:flex-end}.tile-bg span{color:#fff;text-align:center;background:#0000008c;width:100%;padding:3px 0}.tile-filter{padding-bottom:5px}.filter-thumb{aspect-ratio:1;width:100%;display:block;position:relative;overflow:hidden}.filter-thumb img,.filter-thumb video{object-fit:cover;width:100%;height:100%;display:block}.filter-thumb i{position:absolute;inset:0}.tile-format{text-align:left;flex-direction:row;justify-content:flex-start;gap:10px;padding:10px}.tile-format i{border:2px solid;border-radius:4px;flex:none}.tile-format span{color:var(--text);flex-direction:column;display:flex}.font-list{flex-direction:column;gap:2px;display:flex}.font-item{text-align:left;border-radius:8px;justify-content:space-between;align-items:baseline;padding:8px 10px;font-size:18px;display:flex}.font-item small{font-family:var(--font);font-size:11px;font-weight:400}.font-item:hover{background:var(--surface-2)}.font-item.is-active{background:var(--surface-3);box-shadow:inset 2px 0 0 var(--accent)}.list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.list-item{border-radius:var(--radius);background:var(--surface-2);border:1px solid #0000;align-items:center;gap:6px;padding:6px 8px;display:flex}.list-item.is-active{border-color:var(--accent)}.list-text{text-overflow:ellipsis;white-space:nowrap;flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.layer-item{gap:0;padding:2px 4px 2px 8px}.layer-item .icon-btn{width:28px;height:30px}.layer-main{text-align:left;flex:1;align-items:center;gap:8px;min-width:0;min-height:34px;display:flex}.layer-main .list-text{display:block}.music-current{justify-content:space-between;align-items:center;gap:8px;display:flex}.music-name{text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.home{max-width:1180px;min-height:100%;margin:0 auto;padding:0 16px 56px}.home-head{justify-content:space-between;align-items:center;height:60px;display:flex}.logo{letter-spacing:-.02em;align-items:center;gap:9px;font-size:19px;font-weight:900;display:inline-flex}.home-hero{padding:28px 0 8px}.home-hero h1{letter-spacing:-.02em;max-width:18ch;font-size:clamp(24px,4vw,38px);font-weight:900;line-height:1.12}.home-hero p{color:var(--text-muted);max-width:56ch;margin-top:10px;font-size:15px}.format-row{flex-wrap:wrap;gap:8px;margin-top:20px;display:flex}.format-btn{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);text-align:left;flex-direction:column;align-items:flex-start;min-width:108px;padding:9px 14px;display:flex}.format-btn.is-active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.home-section{margin-top:30px}.home-section h2{margin-bottom:12px;font-size:17px;font-weight:700}.template-grid{justify-content:start;gap:18px 12px;margin-top:14px;display:grid}.template-card{text-align:left;flex-direction:column;gap:7px;min-width:0;display:flex}.template-canvas,.template-blank{background:var(--surface);border:1px solid var(--border);border-radius:12px;display:block}.template-card:hover .template-canvas,.template-card:hover .template-blank{border-color:#ffffff59}.template-blank{color:var(--text-muted);border-style:dashed;place-items:center;display:grid}.template-name{white-space:nowrap;text-overflow:ellipsis;justify-content:space-between;gap:8px;font-size:13px;font-weight:500;display:flex;overflow:hidden}.project-row{gap:12px;padding-bottom:6px;display:flex;overflow-x:auto}.project-card{flex:none;width:124px;position:relative}.project-open{text-align:left;flex-direction:column;gap:6px;width:100%;display:flex}.project-open img,.project-blank{object-fit:cover;border:1px solid var(--border);background:var(--surface);border-radius:10px;width:100%;max-height:220px;display:block}.project-delete{color:#fff;background:#0009;width:28px;height:28px;position:absolute;top:5px;right:5px}.editor{grid-template-rows:52px minmax(0,1fr);height:100dvh;display:grid}.topbar{background:var(--surface);border-bottom:1px solid var(--border);align-items:center;gap:6px;padding:0 10px;display:flex}.topbar-spacer{flex:1}.name-input{background:0 0;border:1px solid #0000;border-radius:8px;flex-shrink:1;width:220px;min-width:0;height:34px;padding:0 10px;font-weight:700}.name-input:hover,.name-input:focus{border-color:var(--border);background:var(--surface-2)}.editor-body{grid-template:"rail panel stage"minmax(0,1fr)"rail panel timeline"/76px 340px minmax(0,1fr);min-height:0;display:grid}.editor-body.no-panel{grid-template-columns:76px 0 minmax(0,1fr)}.toolrail{background:var(--surface);border-right:1px solid var(--border);scrollbar-width:none;flex-direction:column;grid-area:rail;gap:2px;padding:8px 6px;display:flex;overflow-y:auto}.tool{border-radius:var(--radius);color:var(--text-muted);flex-direction:column;flex:none;align-items:center;gap:3px;padding:8px 2px;font-size:11px;font-weight:500;display:flex}.tool:hover{color:var(--text);background:var(--surface-2)}.tool.is-active{color:var(--text);background:var(--surface-3)}.panel{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;grid-area:panel;min-height:0;display:flex}.panel-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:8px 8px 8px 14px;display:flex}.panel-head h2{font-size:15px;font-weight:700}.panel-body{flex:1;min-height:0;overflow-y:auto}.stage-wrap{grid-area:stage;min-width:0;min-height:0;display:flex;position:relative}.stage{flex:1;place-items:center;min-width:0;min-height:0;padding-top:28px;display:grid;overflow:hidden}.stage-frame{position:relative;box-shadow:0 10px 40px #00000080}.stage-canvas{background:#000;display:block}.stage-overlay{touch-action:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0}.guide{pointer-events:none;background:#ff3b8d;position:absolute}.guide-v{width:1px;top:0;bottom:0;left:50%}.guide-h{height:1px;top:50%;left:0;right:0}.selection{border:1.5px solid var(--accent);pointer-events:none;position:absolute}.handle{border:2px solid var(--accent);pointer-events:auto;cursor:nwse-resize;background:#fff;border-radius:50%;width:14px;height:14px;margin:-7px;position:absolute}.handle:after{content:"";position:absolute;inset:-9px}.handle-nw{top:0;left:0}.handle-ne{cursor:nesw-resize;top:0;left:100%}.handle-sw{cursor:nesw-resize;top:100%;left:0}.handle-se{top:100%;left:100%}.handle-side{border-radius:4px}.handle-w,.handle-e{cursor:ew-resize;width:8px;height:22px;margin:-11px -4px;top:50%}.handle-w{left:0}.handle-e{left:100%}.handle-n,.handle-s{cursor:ns-resize;width:22px;height:8px;margin:-4px -11px;left:50%}.handle-n{top:0}.handle-s{top:100%}.handle-rotate{background:var(--accent);cursor:grab;border-color:#fff;width:18px;height:18px;margin:-9px;top:calc(100% + 26px);left:50%}.selection-bar{z-index:5;background:var(--surface-2);border:1px solid var(--border);border-radius:12px;gap:2px;padding:3px;display:flex;position:absolute;top:6px;left:50%;transform:translate(-50%);box-shadow:0 6px 20px #0006}.timeline{background:var(--surface);border-top:1px solid var(--border);grid-area:timeline;min-width:0}.tl-controls{align-items:center;gap:10px;padding:6px 12px;display:flex}.play-btn{background:var(--text);color:#111;border-radius:50%;place-items:center;width:36px;height:36px;display:grid}.tl-time{font-variant-numeric:tabular-nums;font-weight:500}.tl-spacer{flex:1}.tl-body{max-height:152px;padding:0 20px 10px;overflow-y:auto}.tl-track{position:relative}.tl-ruler{z-index:2;background:var(--surface);border-bottom:1px solid var(--border);cursor:ew-resize;touch-action:none;height:26px;position:sticky;top:0}.tl-tick{background:var(--border);width:1px;height:5px;position:absolute;bottom:0}.tl-tick.is-major{background:#ffffff4d;height:9px}.tl-tick i{color:var(--text-muted);font-size:10px;font-style:normal;position:absolute;bottom:9px;left:3px}.tl-rows{flex-direction:column;gap:3px;padding-top:6px;display:flex}.tl-row{background:#ffffff08;border-radius:6px;height:24px;position:relative}.tl-empty{color:var(--text-muted);padding:8px 0;font-size:12px}.tl-bar{color:#fff;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:#3b3b45;border-radius:6px;align-items:center;gap:4px;min-width:14px;font-size:11px;display:flex;position:absolute;top:0;bottom:0;overflow:hidden;box-shadow:inset -1px 0 #0000008c}.tl-bar.is-text{background:#5a47c9}.tl-bar.is-media{background:#1f7a8c}.tl-bar.is-sticker{background:#b0562c}.tl-bar.is-shape{background:#4a5568}.tl-bar.is-music{cursor:pointer;background:#8a2d6b;padding-left:8px}.tl-bar.is-hidden{opacity:.4}.tl-bar.is-selected{outline-offset:-2px;outline:2px solid #fff}.tl-label{text-overflow:ellipsis;white-space:nowrap;pointer-events:none;flex:1;min-width:0;overflow:hidden}.tl-grip{cursor:ew-resize;background:#ffffff47;flex:none;align-self:stretch;width:9px}.tl-playhead{z-index:3;pointer-events:none;background:#ff3b8d;width:2px;margin-left:-1px;position:absolute;top:0;bottom:0}.tl-playhead:before{content:"";background:#ff3b8d;border-radius:3px 3px 50% 50%;width:12px;height:12px;position:absolute;top:0;left:-5px}.modal-backdrop{z-index:50;background:#0009;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:var(--surface);border:1px solid var(--border);border-radius:16px;width:min(440px,100%);padding:16px}.modal-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.modal-head h2{font-size:17px}.export-options{flex-direction:column;gap:8px;display:flex}.export-option{border-radius:var(--radius);background:var(--surface-2);border:1px solid var(--border);text-align:left;align-items:center;gap:14px;padding:12px 14px;display:flex}.export-option:hover:not(:disabled){border-color:var(--accent)}.export-option span{flex-direction:column;display:flex}.export-status{flex-direction:column;gap:6px;margin-top:14px;font-size:13px;display:flex}.export-status.is-done{color:#6ee7a0}.export-status.is-error{color:var(--danger)}.progress{background:var(--surface-3);border-radius:3px;height:6px;overflow:hidden}.progress i{background:var(--accent);height:100%;display:block}.toast{z-index:60;color:#111;background:#fff;border-radius:999px;padding:10px 16px;font-weight:500;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #00000080}@media (width<=899px){.hide-sm{display:none}.name-input{width:120px}.editor-body,.editor-body.no-panel{grid-template:"stage"minmax(0,1fr)"timeline""panel""rail"/minmax(0,1fr)}.toolrail{padding:4px 6px calc(4px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--border);flex-direction:row;overflow:auto hidden}.tool{min-width:62px;padding:6px 2px}.panel{border-right:0;border-top:1px solid var(--border);max-height:42dvh}.panel-head{padding:4px 6px 4px 14px}.tl-body{max-height:120px;padding:0 16px 8px}.tl-controls{padding:4px 10px}.stage{padding-top:40px}}@media (pointer:coarse){.handle{width:18px;height:18px;margin:-9px}.handle-w,.handle-e{width:10px;height:28px;margin:-14px -5px}.handle-n,.handle-s{width:28px;height:10px;margin:-5px -14px}.handle-rotate{width:24px;height:24px;margin:-12px}}.input{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface-2);width:100%;min-height:38px;padding:0 12px}select.input{appearance:auto}.fields{flex-direction:column;gap:12px;min-width:0;display:flex}.field{flex-direction:column;gap:5px;min-width:0;display:flex}.field>span{font-size:13px;font-weight:500}.field small{font-size:12px}.check{align-items:center;gap:8px;font-size:14px;display:flex}.link-btn{color:var(--accent);font-size:inherit;text-decoration:underline}.modal-wide{width:min(900px,100%);max-height:92dvh;overflow-y:auto}.modal-head h2{align-items:center;gap:4px;display:flex}.modal-lead{color:var(--text-muted);margin-bottom:14px;font-size:14px}.modal-foot{background:var(--surface);justify-content:flex-end;align-items:center;gap:10px;margin-top:16px;margin-bottom:-16px;padding:12px 0 16px;display:flex;position:sticky;bottom:-16px}.btn-big{min-height:46px;padding:0 18px;font-size:15px}.hero-actions{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.format-row-flat{margin-top:0}.brand-dots{flex:none;display:inline-flex}.brand-dots i{border:2px solid var(--surface);border-radius:50%;width:16px;height:16px}.brand-dots i+i{margin-left:-6px}.brand-layout{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:24px;display:grid}.brand-preview{flex-direction:column;align-items:center;gap:6px;display:flex;position:sticky;top:0}.brand-summary{align-items:center;gap:10px;margin-bottom:10px;display:flex}.brand-summary>span:last-child{flex-direction:column;min-width:0;display:flex}.logo-thumb{object-fit:contain;background:#fff;border-radius:8px;width:44px;height:44px}.palette-row{flex-wrap:wrap;gap:8px;margin-bottom:6px;display:flex}.palette{border:1px solid var(--border);border-radius:8px;width:44px;height:30px;display:flex;overflow:hidden}.palette i{flex:1}.palette.is-active{box-shadow:0 0 0 2px var(--accent)}.color-field{color:var(--text-muted);align-items:center;gap:6px;font-size:13px;display:inline-flex}.color-field input{background:0 0;border:0;width:32px;height:28px;padding:0}.font-pair{color:var(--text);padding:10px 4px}.goal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.goal-card{background:var(--surface-2);border:1px solid var(--border);text-align:left;border-radius:12px;flex-direction:column;gap:6px;padding:16px;display:flex}.goal-card svg{color:var(--accent)}.goal-card:hover,.idea-card:hover{border-color:var(--accent)}.wizard-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;display:grid}.photo-row{flex-wrap:wrap;gap:8px;display:flex}.photo-thumb,.photo-add{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;width:68px;height:68px;position:relative;overflow:hidden}.photo-add{color:var(--text-muted);border-style:dashed;place-items:center;display:grid}.photo-thumb img{object-fit:cover;width:100%;height:100%}.photo-thumb svg{color:#fff;background:#000000b3;border-radius:50%;width:18px;height:18px;padding:2px;position:absolute;top:3px;right:3px}.variant-row{justify-content:center;gap:12px;margin-bottom:18px;display:flex}.variant{text-align:center;flex-direction:column;align-items:stretch;gap:6px;min-width:0;font-size:13px;display:flex}.caption-box{flex-direction:column;gap:8px;display:flex}.caption-text{font-size:13px;line-height:1.5}.idea-row{gap:10px;padding-bottom:6px;display:flex;overflow-x:auto}.idea-card{background:var(--surface);border:1px solid var(--border);text-align:left;border-radius:12px;flex-direction:column;flex:none;gap:4px;width:210px;padding:14px;display:flex}.idea-card span{color:var(--text-muted);flex:1;font-size:13px}.idea-card em{color:var(--accent);margin-top:6px;font-size:12px;font-style:normal;font-weight:700}@media (width<=699px){.brand-layout,.wizard-form{grid-template-columns:minmax(0,1fr)}.brand-preview{display:none}.goal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.goal-card{padding:12px}}.export-option svg{flex:none}.modal-clips{width:min(1120px,100%)}.clips{grid-template-columns:minmax(220px,280px) auto minmax(240px,1fr);align-items:start;gap:18px;display:grid}.clip-list{flex-direction:column;gap:8px;min-width:0;display:flex}.clip-card{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface-2);text-align:left;gap:10px;padding:8px;display:flex}.clip-card.is-active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.clip-card img,.clip-thumb{object-fit:cover;background:var(--surface-3);border-radius:6px;flex:none;width:72px;height:48px}.clip-card>span{flex-direction:column;gap:2px;min-width:0;display:flex}.clip-card b{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.3;display:-webkit-box;overflow:hidden}.clip-card small,.clip-card em{color:var(--text-muted);font-size:11.5px;font-style:normal}.clip-card em{color:var(--accent)}.clip-preview{position:sticky;top:0}.clip-preview canvas{cursor:pointer;background:#000;border-radius:12px;display:block}.clip-transport{align-items:center;gap:8px;margin-top:6px;font-size:12px;display:flex}.clip-transport input{flex:1;min-width:0}.trim-row{align-items:center;gap:6px;display:flex}.trim-row small{min-width:0;color:var(--text-muted);flex:1}.word-list{flex-wrap:wrap;gap:4px;max-height:260px;display:flex;overflow-y:auto}.word{box-sizing:content-box;field-sizing:content;background:var(--surface-2);width:auto;min-width:1ch;min-height:28px;color:inherit;border:1px solid #0000;border-radius:6px;padding:0 6px;font-family:inherit;font-size:13px}.word.is-now{background:var(--accent);color:var(--accent-fg)}.word.is-active{border-color:var(--text)}@media (width<=899px){.modal-clips .modal-foot{flex-wrap:wrap}.modal-clips .modal-foot .btn{flex:auto}.clips{grid-template-columns:1fr}.clip-preview{margin:0 auto;position:static}.clip-list{max-height:230px;overflow-y:auto}}.footage{flex-wrap:wrap;gap:8px;display:flex}.footage-item,.footage-add{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;width:84px;height:84px;position:relative;overflow:hidden}.footage-item img{object-fit:cover;width:100%;height:100%;display:block}.footage-item small{color:#fff;background:#000000b3;border-radius:5px;padding:1px 5px;font-size:11px;position:absolute;bottom:4px;left:4px}.footage-remove{color:#fff;background:#000000b3;border-radius:50%;place-items:center;width:20px;height:20px;display:grid;position:absolute;top:4px;right:4px}.footage-add{color:var(--text-muted);text-align:center;border-style:dashed;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:4px;display:flex}.footage-add:only-child{width:100%}.footage-add:hover{border-color:var(--accent);color:var(--text)}.footage-add small{font-size:11.5px;line-height:1.2}.style-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px;display:grid}.style-card{background:var(--surface-2);border:1px solid var(--border);text-align:left;border-radius:10px;flex-direction:column;gap:3px;padding:10px 12px;display:flex}.style-card b{font-size:14px}.style-card small{color:var(--text-muted);font-size:12px;line-height:1.35}.style-card.is-active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:860px;margin-top:22px;display:grid}.mode-card{background:var(--surface-2);border:1px solid var(--border);text-align:left;border-radius:16px;flex-direction:column;align-items:flex-start;gap:8px;padding:20px;display:flex}.mode-card:hover{border-color:var(--accent)}.mode-icon{background:var(--accent);width:44px;height:44px;color:var(--accent-fg);border-radius:12px;place-items:center;display:grid}.mode-card b{font-size:19px}.mode-card>span:not(.mode-icon){color:var(--text-muted);font-size:14px;line-height:1.45}.mode-card small{color:var(--text-muted);font-size:12.5px}.mode-card em{background:var(--accent);color:var(--accent-fg);border-radius:10px;margin-top:6px;padding:9px 16px;font-size:14px;font-style:normal;font-weight:600}@media (width<=640px){.mode-grid{grid-template-columns:1fr}}
