@font-face{font-family:Anton;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/anton-vietnamese-400-normal-CkBxLiRJ.woff2)format("woff2"),url(/assets/anton-vietnamese-400-normal-2FfR1wHA.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Anton;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/anton-latin-ext-400-normal-SyiqE2Jt.woff2)format("woff2"),url(/assets/anton-latin-ext-400-normal-BMODBQc6.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Anton;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/anton-latin-400-normal-Byf51wtH.woff2)format("woff2"),url(/assets/anton-latin-400-normal-AUNGEG_V.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-cyrillic-ext-400-normal-BQZuk6qB.woff2)format("woff2"),url(/assets/inter-cyrillic-ext-400-normal-DQukG94-.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-cyrillic-400-normal-obahsSVq.woff2)format("woff2"),url(/assets/inter-cyrillic-400-normal-HOLc17fK.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-greek-ext-400-normal-DGGRlc-M.woff2)format("woff2"),url(/assets/inter-greek-ext-400-normal-KugGGMne.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-greek-400-normal-B4URO6DV.woff2)format("woff2"),url(/assets/inter-greek-400-normal-q2sYcFCs.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-vietnamese-400-normal-DMkecbls.woff2)format("woff2"),url(/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-latin-ext-400-normal-C1nco2VV.woff2)format("woff2"),url(/assets/inter-latin-ext-400-normal-77YHD8bZ.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-latin-400-normal-C38fXH4l.woff2)format("woff2"),url(/assets/inter-latin-400-normal-CyCys3Eg.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-cyrillic-ext-500-normal-B0yAr1jD.woff2)format("woff2"),url(/assets/inter-cyrillic-ext-500-normal-BmqWE9Dz.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-cyrillic-500-normal-BasfLYem.woff2)format("woff2"),url(/assets/inter-cyrillic-500-normal-CxZf_p3X.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-greek-ext-500-normal-C4iEst2y.woff2)format("woff2"),url(/assets/inter-greek-ext-500-normal-2j5mBUwD.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-greek-500-normal-BIZE56-Y.woff2)format("woff2"),url(/assets/inter-greek-500-normal-Xzm54t5V.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-vietnamese-500-normal-DOriooB6.woff2)format("woff2"),url(/assets/inter-vietnamese-500-normal-mJboJaSs.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-latin-ext-500-normal-CV4jyFjo.woff2)format("woff2"),url(/assets/inter-latin-ext-500-normal-BxGbmqWO.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-latin-500-normal-Cerq10X2.woff2)format("woff2"),url(/assets/inter-latin-500-normal-BL9OpVg8.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-cyrillic-ext-600-normal-Dfes3d0z.woff2)format("woff2"),url(/assets/inter-cyrillic-ext-600-normal-Bcila6Z-.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-cyrillic-600-normal-CWCymEST.woff2)format("woff2"),url(/assets/inter-cyrillic-600-normal-4D_pXhcN.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-greek-ext-600-normal-DRtmH8MT.woff2)format("woff2"),url(/assets/inter-greek-ext-600-normal-B8X0CLgF.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-greek-600-normal-plRanbMR.woff2)format("woff2"),url(/assets/inter-greek-600-normal-BZpKdvQh.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-vietnamese-600-normal-Cc8MFFhd.woff2)format("woff2"),url(/assets/inter-vietnamese-600-normal-BuLX-rYi.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-latin-ext-600-normal-D2bJ5OIk.woff2)format("woff2"),url(/assets/inter-latin-ext-600-normal-CIVaiw4L.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-latin-600-normal-LgqL8muc.woff2)format("woff2"),url(/assets/inter-latin-600-normal-CiBQ2DWP.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Space Grotesk;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/space-grotesk-vietnamese-600-normal-DUi7WF5p.woff2)format("woff2"),url(/assets/space-grotesk-vietnamese-600-normal-D6zpsUhD.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Space Grotesk;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/space-grotesk-latin-ext-600-normal-DxxdqCpr.woff2)format("woff2"),url(/assets/space-grotesk-latin-ext-600-normal-VcznFIpX.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Space Grotesk;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/space-grotesk-latin-600-normal-DjKNqYRj.woff2)format("woff2"),url(/assets/space-grotesk-latin-600-normal-BflQw4A9.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f6f6f4;--surface:#fff;--subtle:#efefeb;--border:#e6e6e1;--border-strong:#d4d4ce;--text:#17181a;--muted:#5c5e63;--primary:#17181a;--on-primary:#fff;--accent:#2f6bff;--selected:#f1f5ff;--danger:#c62828;--dots:#e2e2dc;--track-0:#2f6bff;--track-1:#b45309;--track-2:#047857;--track-3:#be185d;--on-track:#fff;--font-ui:Inter, system-ui, sans-serif;--font-display:"Space Grotesk", Inter, system-ui, sans-serif}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e0f11;--surface:#16181b;--subtle:#1d2024;--border:#24272c;--border-strong:#343840;--text:#e8e9ec;--muted:#a3a8b0;--primary:#e8e9ec;--on-primary:#0e0f11;--accent:#6ea0ff;--selected:#1b2230;--danger:#ff6b6b;--dots:#22252a;--track-0:#6ea0ff;--track-1:#e0a43a;--track-2:#5fd3a5;--track-3:#f28cb8;--on-track:#0e0f11}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e0f11;--surface:#16181b;--subtle:#1d2024;--border:#24272c;--border-strong:#343840;--text:#e8e9ec;--muted:#a3a8b0;--primary:#e8e9ec;--on-primary:#0e0f11;--accent:#6ea0ff;--selected:#1b2230;--danger:#ff6b6b;--dots:#22252a;--track-0:#6ea0ff;--track-1:#e0a43a;--track-2:#5fd3a5;--track-3:#f28cb8;--on-track:#0e0f11}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);font-family:var(--font-ui);margin:0;font-size:14px}button,input,select,textarea{font:inherit;color:inherit}h1,h2{font-family:var(--font-display);letter-spacing:-.01em;margin:0;font-weight:600}h1{font-size:22px}h2{font-size:15px}.muted{color:var(--muted)}.error{color:var(--danger)}.button{border:1px solid var(--border-strong);white-space:nowrap;cursor:pointer;background:0 0;border-radius:999px;justify-content:center;align-items:center;gap:8px;height:36px;padding:0 16px;font-weight:500;text-decoration:none;display:inline-flex}.button:hover{background:var(--subtle)}.button--primary{background:var(--primary);color:var(--on-primary);border-color:#0000;font-weight:600}.button--primary:hover{background:var(--primary);opacity:.88}.button--primary:disabled{opacity:.6;cursor:progress}.button--small{height:32px;padding:0 12px;font-size:13px}.button--danger{color:var(--danger);border-color:#0000;align-self:flex-start}.icon-button{border:1px solid var(--border-strong);cursor:pointer;background:0 0;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.icon-button--filled{background:var(--primary);width:32px;height:32px;color:var(--on-primary);border:none}.chip{background:var(--subtle);color:var(--muted);white-space:nowrap;border-radius:999px;padding:2px 10px;font-size:12px}.field{min-width:0;color:var(--muted);flex-direction:column;flex:1;gap:6px;font-size:12px;display:flex}.field input:not([type=range]),.field select,.field textarea{border:1px solid var(--border-strong);background:var(--bg);height:36px;color:var(--text);border-radius:8px;padding:0 10px;font-size:14px}.field textarea{resize:vertical;height:auto;padding:10px}.field input[type=range],.checkbox input{accent-color:var(--accent)}.field-row{flex-wrap:wrap;gap:12px;display:flex}.swatch,.checkbox{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:flex}.swatch input{border:1px solid var(--border-strong);cursor:pointer;background:0 0;border-radius:6px;width:32px;height:32px;padding:0}.app{flex-direction:column;min-height:100vh;display:flex}.app-header{border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0;align-items:center;gap:12px;height:64px;padding:0 24px;display:flex}.app-header__logo{font-family:var(--font-display);letter-spacing:-.01em;font-size:18px;font-weight:600}.app-header__file{max-width:280px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.app-header__file:before{color:var(--border-strong);content:"/";margin-right:12px}.app-header__spacer{flex:1}.app-main{flex-direction:column;flex:1;min-height:0;display:flex}.home{width:100%;max-width:960px;margin:0 auto;padding:48px 32px}.dropzone{border:2px dashed var(--border-strong);background:var(--surface);cursor:pointer;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;min-height:260px;padding:32px;display:flex}.dropzone strong{font-size:17px}.dropzone span{color:var(--muted)}.dropzone--active,.dropzone:hover{border-color:var(--accent)}.video-setup{border:1px solid var(--border);background:var(--surface);border-radius:16px;flex-direction:column;gap:20px;width:100%;max-width:520px;margin:48px auto;padding:28px;display:flex}.video-setup p{margin:6px 0 0}.video-setup__actions{justify-content:flex-end;gap:8px;display:flex}.editor{grid-template:"stage inspector"minmax(0,1fr)/minmax(0,1fr) 340px;height:calc(100vh - 64px);min-height:0;display:grid}.editor--animated{grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"stage inspector""timeline timeline"}@media (width<=900px){.editor,.editor--animated{grid-template:"stage""timeline""inspector"/minmax(0,1fr);height:auto}.stage__canvas{height:auto}}.stage{background-color:var(--bg);background-image:radial-gradient(var(--dots) 1px, transparent 1px);background-size:16px 16px;grid-area:stage;justify-content:center;align-items:center;min-width:0;min-height:0;padding:32px;display:flex}.stage__canvas{object-fit:contain;touch-action:none;width:100%;height:100%;display:block}.inspector{border-left:1px solid var(--border);background:var(--surface);flex-direction:column;grid-area:inspector;display:flex;overflow-y:auto}.inspector__header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:14px 20px;display:flex}.inspector__fields{flex-direction:column;gap:16px;padding:16px 20px 24px;display:flex}.inspector__empty{margin:0;padding:20px}.caption-list{border-bottom:1px solid var(--border);flex-direction:column;gap:4px;margin:0;padding:10px;list-style:none;display:flex}.caption-item{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;width:100%;padding:9px 12px;font-size:13px;display:flex}.caption-item:hover{background:var(--subtle)}.caption-item--selected,.caption-item--selected:hover{border-color:var(--accent);background:var(--selected)}.caption-item__dot{border-radius:2px;flex-shrink:0;width:8px;height:8px}.caption-item__text{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.timing{border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:12px;margin:0;padding:14px;display:flex}.timing legend{color:var(--muted);padding:0 4px;font-size:12px}.timeline{border-top:1px solid var(--border);background:var(--surface);flex-direction:column;grid-area:timeline;gap:10px;padding:12px 24px 16px;display:flex}.timeline__transport{align-items:center;gap:12px;display:flex}.timeline__time{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.timeline__body{flex-direction:column;gap:6px;display:flex;position:relative}.timeline__strip{cursor:ew-resize;touch-action:none;border-radius:4px;width:100%;height:40px;display:block}.timeline__track{height:24px;position:relative}.timeline__bar{min-width:4px;color:var(--on-track);text-align:left;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;cursor:pointer;border:2px solid #0000;border-radius:4px;padding:0 8px;font-size:12px;font-weight:600;position:absolute;top:0;bottom:0;overflow:hidden}.timeline__bar--selected{border-color:var(--text)}.timeline__playhead{background:var(--text);pointer-events:none;border-radius:1px;width:2px;margin-left:-1px;position:absolute;top:-4px;bottom:-4px}.output{border-top:1px solid var(--border);flex-direction:column;gap:12px;margin-top:auto;padding:16px 20px 20px;display:flex}.segmented-field{border:none;margin:0;padding:0}.segmented-field legend{color:var(--muted);margin-bottom:6px;padding:0;font-size:12px}.segmented{border:1px solid var(--border-strong);background:var(--bg);border-radius:999px;gap:4px;padding:3px;display:flex}.segmented__option{height:30px;color:var(--muted);white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:999px;flex:1;padding:0 8px;font-size:13px}.segmented__option[aria-pressed=true]{background:var(--primary);color:var(--on-primary);font-weight:500}.segmented__option:disabled{opacity:.4;cursor:not-allowed}.segmented__option[aria-pressed=true]:disabled{opacity:.7}
