@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-weight:200 800;font-display:swap;src:url(../media/0b1dc8ddaa74ba49-s.0e__wj8580tc5.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-weight:200 800;font-display:swap;src:url(../media/e629b5bc06499d58-s.10u7vx61f1ie7.woff2)format("woff2");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:Plus Jakarta Sans;font-style:normal;font-weight:200 800;font-display:swap;src:url(../media/1a099d89ee94ee96-s.35a5cae5tspm2.woff2)format("woff2");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:Plus Jakarta Sans;font-style:normal;font-weight:200 800;font-display:swap;src:url(../media/fba5a26ea33df6a3-s.p.18rizl4rsrl42.woff2)format("woff2");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:Plus Jakarta Sans Fallback;src:local(Arial);ascent-override:98.88%;descent-override:21.15%;line-gap-override:0.0%;size-adjust:104.98%}.plus_jakarta_sans_4434d8f8-module__Ct-moG__className{font-family:Plus Jakarta Sans,Plus Jakarta Sans Fallback;font-style:normal}.plus_jakarta_sans_4434d8f8-module__Ct-moG__variable{--font-outfit:"Plus Jakarta Sans", "Plus Jakarta Sans Fallback"}
@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(../media/a342834df7752944-s.3hd2l7bm32o7k.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(../media/d3fe2f289711ac3f-s.1l2zhvq5eocqf.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(../media/58c4895d0a0ef7cc-s.2vhvl9vrvk-va.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(../media/bfc7db5c00d21bc5-s.173xwsdme27n8.woff2)format("woff2");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:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(../media/6ab0db14f70d8ed6-s.13hnt-xgp82zk.woff2)format("woff2");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:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(../media/a343f882a40d2cc9-s.p.1sj6eobyi31rd.woff2)format("woff2");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:Manrope Fallback;src:local(Arial);ascent-override:103.31%;descent-override:29.07%;line-gap-override:0.0%;size-adjust:103.19%}.manrope_1c15ed2e-module__q3v3va__className{font-family:Manrope,Manrope Fallback;font-style:normal}.manrope_1c15ed2e-module__q3v3va__variable{--font-parkinsans:"Manrope", "Manrope Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5ce348bf30bf5439-s.31988l_ccedte.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.2tuy5pz7dlieh.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6306c77e7c8268e4-s.2dbetqa9o8jxf.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7d817b4c03b0c5f1-s.1uyisp29ctx0d.woff2)format("woff2");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:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.1rgnod-3esatf.woff2)format("woff2");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:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.0r6juujl39pe6.woff2)format("woff2");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:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_b8951c21-module__D_3IMG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_b8951c21-module__D_3IMG__variable{--font-mono:"Geist Mono", "Geist Mono Fallback"}
:root{--ink:#1c1933;--muted:#6e6a83;--paper:#f7f6ff;--card:#ffffffe6;--line:#e3def7;--soft:#f0edff;--primary:#6948ff;--primary-dark:#4d2dd8;--primary-soft:#eeeaff;--mint:#e8fbf6;--mint-ink:#08786d;--amber:#fff0eb;--amber-ink:#bd4d35;--blue:#eaf4ff;--blue-ink:#2967c8;--danger:#be123c;--danger-soft:#fff1f2;--shadow:0 18px 52px #32227017}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth;width:100%;max-width:100%;overflow-x:clip}body{width:100%;max-width:100%;min-height:100vh;color:var(--ink);background:radial-gradient(circle at 8% 10%, #6948ff1c, transparent 25rem), radial-gradient(circle at 90% 24%, #25d3ae1a, transparent 23rem), var(--paper);font-family:var(--font-outfit), "Noto Sans Myanmar", system-ui, sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;overflow-x:clip}button,input,select{font:inherit}button,a,.dropzone{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:inherit;text-decoration:none}.site-header{z-index:30;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffd6;border:1px solid #e3def7e6;border-radius:19px;justify-content:space-between;align-items:center;width:min(1120px,100% - 48px);height:64px;margin:14px auto 0;padding:8px 10px 8px 14px;display:flex;position:sticky;top:14px;box-shadow:0 12px 34px #32227014}.site-header:after{display:none}.brand{font-family:var(--font-parkinsans), sans-serif;letter-spacing:-.045em;align-items:center;gap:9px;font-size:17px;font-weight:750;display:inline-flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#7c5cff,#4f2eea 58%,#26bfa4);border-radius:12px;place-items:center;width:36px;height:36px;display:grid;overflow:hidden;box-shadow:0 8px 18px #6948ff40}.brand-dot{color:var(--primary)}.header-actions{align-items:center;gap:18px;min-width:0;max-width:100%;display:flex}.menu-toggle{width:38px;height:38px;color:var(--ink);border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:11px;place-items:center;display:none}.app-nav{background:var(--soft);border:1px solid #e3def7c7;border-radius:12px;align-items:center;gap:3px;padding:4px;display:flex}.app-nav-link{min-height:30px;color:var(--muted);font-family:var(--font-mono), monospace;letter-spacing:.12em;text-transform:uppercase;border-radius:8px;justify-content:center;align-items:center;padding:0 12px;font-size:9px;font-weight:500;transition:color .15s,background .15s;display:inline-flex}.app-nav-link:hover,.app-nav-link.active{color:var(--ink);background:#fff;box-shadow:0 2px 8px #32227014}.header-status{color:#4b4665;min-width:0;box-shadow:none;font-family:var(--font-mono), monospace;letter-spacing:.05em;text-transform:uppercase;background:#f4f1ff;border:0;border-radius:10px;align-items:center;gap:8px;padding:8px 11px;font-size:9px;font-weight:500;display:flex}.privacy-dot{background:#18ad94;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 5px #18ad941f}.page-shell{isolation:isolate;width:min(1120px,100% - 48px);margin:0 auto;padding:76px 0 112px;position:relative}.page-shell:before{content:"";z-index:-2;filter:blur(2px);opacity:.82;pointer-events:none;background:radial-gradient(circle at 35% 35%,#6948ff47,#0000 40%),radial-gradient(circle at 70% 72%,#25d3ae38,#0000 38%),#eeebff;border-radius:38% 62% 52% 48%/46% 39% 61% 54%;width:560px;height:520px;position:absolute;top:38px;left:auto;right:0;transform:rotate(-9deg)}.page-shell:after{content:"";z-index:-1;pointer-events:none;background-image:radial-gradient(#6948ff33 1.4px,#0000 1.4px);background-size:16px 16px;width:180px;height:180px;position:absolute;top:48px;left:-70px;transform:rotate(12deg)}.hero{text-align:left;grid-template-columns:minmax(0,760px);justify-content:start;align-items:center;min-height:370px;margin-bottom:52px;display:grid}.hero-copy{max-width:760px}.eyebrow,.step-label{color:var(--primary);font-family:var(--font-mono), monospace;letter-spacing:.13em;text-transform:uppercase;font-size:9px;font-weight:500;line-height:1}.eyebrow{background:var(--primary-soft);box-shadow:none;border:0;border-radius:999px;align-items:center;gap:7px;padding:9px 13px;display:inline-flex}.hero h1{font-family:var(--font-parkinsans), sans-serif;letter-spacing:-.055em;text-wrap:balance;margin:27px 0 22px;font-size:clamp(46px,5.4vw,67px);font-weight:760;line-height:1.04}.hero h1 em{color:var(--primary);font-style:normal}.hero p{max-width:610px;color:var(--muted);text-wrap:balance;margin:0;font-size:16px;line-height:1.65}.hero-promise-row{flex-wrap:wrap;gap:10px;margin-top:28px;display:flex}.hero-promise-row span{color:#56516d;border:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffb8;border-radius:10px;align-items:center;gap:7px;min-height:34px;padding:0 11px;font-size:11px;font-weight:700;display:inline-flex}.hero-promise-row svg{color:var(--primary)}.editor-hero{grid-template-columns:minmax(0,720px);min-height:350px}.workspace-main{z-index:2;gap:14px;min-width:0;max-width:100%;display:grid;position:relative}.editor-input-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:16px;display:grid}.editor-input-grid>.upload-card{min-width:0}.settings-split{grid-template-columns:1fr 1fr;gap:16px;display:grid}.settings-card,.usage-card,.upload-card,.start-card,.progress-card,.error-panel,.preview-card,.style-card,.actions-card{background:var(--card);border:1px solid var(--line);min-width:0;max-width:100%;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.settings-card,.usage-card,.upload-card,.style-card{border-radius:18px;padding:24px}.section-heading{align-items:flex-start;gap:13px;min-width:0;display:flex}.section-heading>div{min-width:0}.compact-heading{margin-bottom:20px}.section-icon{width:40px;height:40px;color:var(--primary);background:var(--primary-soft);border:1px solid var(--line);border-radius:12px;flex:none;place-items:center;display:grid}.section-icon.lavender{color:var(--primary);background:var(--primary-soft)}.section-icon.amber{color:var(--amber-ink);background:var(--amber)}.section-icon.mint{color:var(--mint-ink);background:var(--mint)}.section-icon.blue{color:var(--blue-ink);background:var(--blue)}.section-heading h2,.start-card h2,.progress-card h2,.result-heading h2,.actions-card h2{font-family:var(--font-parkinsans), sans-serif;letter-spacing:-.035em;margin-top:6px;font-size:15px;font-weight:650;line-height:1.25}.fieldset-reset{border:0;min-width:0}.model-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:15px;display:grid}.name-translation-option{border:1px solid var(--line);cursor:pointer;background:#f7f6ffd1;border-radius:12px;align-items:flex-start;gap:11px;min-height:52px;padding:12px;display:flex}.name-translation-option input{width:18px;height:18px;accent-color:var(--primary);flex:none;margin-top:1px}.name-translation-option span{gap:4px;display:grid}.name-translation-option strong{font-family:var(--font-mono), monospace;letter-spacing:.02em;font-size:10px;font-weight:600;line-height:1.45}.name-translation-option small{color:var(--muted);font-size:9px;line-height:1.45}.field-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;display:grid}.api-key-pool-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;display:grid}.provider-key-pool{border:1px solid var(--line);background:#f7f6ffa8;border-radius:14px;gap:14px;min-width:0;padding:15px;display:grid}.provider-key-heading{width:100%;color:inherit;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:0;display:flex}.provider-key-copy{gap:4px;display:grid}.provider-key-copy strong{font-family:var(--font-parkinsans), sans-serif;font-size:12px;font-weight:650}.provider-key-copy>span{color:var(--muted);font-family:var(--font-mono), monospace;font-size:8px}.provider-key-fields{gap:12px;display:grid}.field{color:#4c4861;min-width:0;font-family:var(--font-mono), monospace;letter-spacing:.02em;gap:8px;font-size:9px;font-weight:600;display:grid}.field-label-row,.field>span{justify-content:space-between;align-items:center;gap:10px;display:flex}.field-label-row a{color:var(--primary);font-size:9px}.field input:not([type=range]),.field select{width:100%;height:44px;color:var(--ink);border:1px solid var(--line);font-family:var(--font-outfit), sans-serif;background:#fff;border-radius:11px;outline:none;padding:0 12px;font-size:12px;font-weight:500;transition:all .2s}.field input:focus,.field select:focus{border-color:var(--primary);box-shadow:0 0 0 3px #6948ff1c}.field select{cursor:pointer}.secret-input{width:100%;min-width:0;display:block;position:relative}.secret-input input{min-width:0;padding-right:42px!important}.secret-input button{color:#7b7e80;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:5px;right:5px}.secret-input button:hover{color:var(--ink);background:var(--soft)}.security-note{color:var(--muted);border-top:1px solid var(--line);align-items:center;gap:9px;margin-top:17px;padding-top:16px;display:flex}.security-note>svg{color:var(--mint-ink);flex:none}.security-note p{font-family:var(--font-mono), monospace;flex:1;font-size:9px;line-height:1.5}.language-grid{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:8px;display:grid}.language-arrow{color:#9b9b96;place-items:center;height:44px;display:grid}.dropzone{text-align:center;cursor:pointer;background:linear-gradient(#f7f6ffe6,#f7f6ffe6),linear-gradient(90deg,#6948ff14 1px,#0000 1px) 0 0/24px 24px,linear-gradient(#6948ff14 1px,#0000 1px) 0 0/24px 24px;border:1.5px dashed #bdb4ec;border-radius:16px;outline:none;flex-direction:column;justify-content:center;align-items:center;min-height:180px;padding:28px;transition:all .2s;display:flex}.dropzone:hover,.dropzone:focus-visible,.dropzone.dragging{border-color:var(--primary);background:linear-gradient(#f2efffeb,#f2efffeb),linear-gradient(90deg,#6948ff1f 1px,#0000 1px) 0 0/24px 24px,linear-gradient(#6948ff1f 1px,#0000 1px) 0 0/24px 24px;box-shadow:0 0 0 4px #6948ff17}.dropzone.disabled{opacity:.55;cursor:not-allowed}.dropzone-icon{width:54px;height:54px;color:var(--primary);background:var(--primary-soft);border:1px solid #d8d0ff;border-radius:16px;place-items:center;margin-bottom:13px;display:grid}.dropzone strong{font-size:14px}.dropzone>span:not(.dropzone-icon){color:var(--primary);margin-top:5px;font-size:11px;font-weight:700}.dropzone small{color:#8a8d8f;margin-top:14px;font-size:9px}.selected-video{border:1px solid var(--line);background:#f6f4ff;border-radius:14px;align-items:center;gap:13px;padding:15px;display:flex}.selected-video-icon{width:42px;height:42px;color:var(--mint-ink);background:var(--mint);border-radius:12px;flex:none;place-items:center;display:grid}.selected-video-copy{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.selected-video-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.selected-video-copy span{color:var(--muted);font-size:9px}.start-card,.actions-card{border-radius:18px;justify-content:space-between;align-items:center;gap:24px;padding:23px 25px;display:flex}.start-card p,.actions-card p{color:var(--muted);margin-top:6px;font-size:10px;line-height:1.5}.editor-ready-card{min-height:104px}.translation-recovery-copy{max-width:760px;color:var(--muted);margin:-4px 0 18px;font-size:10px;line-height:1.6}.translation-recovery-fields{margin-bottom:14px}.translation-recovery-actions{align-items:center;margin-top:16px}.translation-recovery-error,.translation-recovery-status{border-top:1px solid var(--line);margin-top:14px;padding-top:13px;font-size:10px;line-height:1.55}.translation-recovery-error{color:var(--danger)}.translation-recovery-status{color:var(--mint-ink)}.local-only-pill{min-height:36px;color:var(--mint-ink);background:var(--mint);font-family:var(--font-mono), monospace;white-space:nowrap;border:1px solid #a7f3d0;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:10px;font-weight:800;display:inline-flex}.primary-button,.secondary-button,.text-button{cursor:pointer;border-radius:11px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 17px;font-size:11px;font-weight:650;transition:transform .15s,background .15s,border-color .15s;display:inline-flex}.primary-button{color:#fff;background:linear-gradient(135deg, #7658ff, var(--primary-dark));border:1px solid var(--primary);box-shadow:var(--shadow)}.primary-button:hover:not(:disabled){background:var(--primary-dark);transform:translateY(-1px)}.secondary-button{color:var(--ink);border:1px solid var(--line);background:#fff}.secondary-button:hover:not(:disabled){border-color:#999791;transform:translateY(-1px)}.text-button{min-height:34px;color:var(--muted);background:0 0;border:0;padding:0 8px}.text-button:hover:not(:disabled){color:var(--ink);background:var(--soft)}.danger-text:hover:not(:disabled){color:var(--danger);background:var(--danger-soft)}.compact-button{min-height:36px;padding:0 12px}button:disabled,fieldset:disabled{cursor:not-allowed}button:disabled{opacity:.55}button:focus-visible,.dropzone:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #6948ff38}.progress-card{border-radius:18px;padding:28px}.progress-heading{align-items:center;gap:15px;display:flex}.progress-spinner{width:45px;height:45px;color:var(--primary);background:var(--primary-soft);border:1px solid var(--line);border-radius:13px;flex:none;place-items:center;display:grid}.progress-spinner svg{animation:1s linear infinite spin}.progress-card h2{font-size:18px}.progress-card p{color:var(--muted);margin-top:5px;font-size:10px}.progress-track{background:var(--soft);border-radius:99px;height:9px;margin-top:25px;overflow:hidden}.progress-track>span{background:linear-gradient(90deg, var(--primary), #9c7aff, #d5caff);border-radius:inherit;height:100%;transition:width .35s;display:block}.progress-footer{color:var(--muted);font:9px var(--font-mono), monospace;justify-content:space-between;align-items:center;margin-top:9px;display:flex}.error-panel{color:#7c302d;background:var(--danger-soft);box-shadow:none;border-color:#ebc8c3;border-radius:15px;align-items:flex-start;gap:12px;padding:19px 21px;display:flex}.error-icon{flex:none;margin-top:1px}.error-panel strong{font-size:12px}.error-panel p{margin-top:5px;font-size:10px;line-height:1.55}.button-row{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.preview-card{border-radius:18px;padding:25px}.result-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.ready-pill{color:var(--mint-ink);background:var(--mint);font-family:var(--font-mono), monospace;border:1px solid #a7f3d0;border-radius:99px;align-items:center;gap:5px;padding:6px 9px;font-size:9px;font-weight:800;display:inline-flex}.preview-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.preview-switch-button{white-space:nowrap;min-height:31px;padding-inline:10px}.video-player{background:#080808;border:1px solid #242424;border-radius:14px;overflow:hidden}.video-stage{aspect-ratio:16/9;background:#080808;position:relative;overflow:hidden}.video-stage video{object-fit:contain;cursor:pointer;width:100%;height:100%;display:block}.custom-video-controls{color:#fff;opacity:1;background:#111;border-top:1px solid #292929;max-height:180px;padding:8px 12px 10px;transition:max-height .18s,padding .18s,opacity .15s,border-color .18s;overflow:hidden}.video-player.controls-hidden .custom-video-controls{opacity:0;pointer-events:none;border-top-color:#0000;max-height:0;padding-top:0;padding-bottom:0}.video-progress{width:100%;padding:3px 0 7px;display:flex}.video-progress input,.video-volume input{accent-color:#a78bfa;cursor:pointer;width:100%;margin:0}.video-progress input{height:18px}.video-control-row,.video-control-group{align-items:center;display:flex}.video-control-row{justify-content:space-between;gap:14px}.video-control-group{gap:7px;min-width:0}.video-control-button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;width:42px;height:42px;transition:color .16s,background .16s;display:grid}.video-control-button:hover,.video-control-button:focus-visible{color:#c4b5fd;background:#292929;outline:none}.mobile-landscape-button{display:none}.video-skip-button{position:relative}.video-skip-button span{font-size:8px;font-weight:800;line-height:1;position:absolute;top:16px}.video-time{color:#dedede;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:11px}.video-speed{display:flex}.video-speed select{color:#f4f4f5;height:34px;font:700 11px var(--font-outfit), sans-serif;cursor:pointer;background:#242424;border:1px solid #3d3d3d;border-radius:5px;padding:0 25px 0 10px}.video-speed select:hover,.video-speed select:focus-visible{border-color:#a78bfa;outline:none}.video-volume{width:78px;padding-inline:2px;display:flex}.video-volume input{height:18px}.video-player:fullscreen{border:0;border-radius:0;flex-direction:column;justify-content:center;display:flex}.video-player:fullscreen .video-stage{aspect-ratio:auto;flex:1;width:100%;max-height:calc(100vh - 78px)}.video-player.controls-hidden:fullscreen .video-stage{max-height:100vh}.video-player.mobile-landscape-fallback{z-index:1000;border:0;border-radius:0;flex-direction:column;width:100dvh;height:100vw;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)rotate(90deg)}.video-player.mobile-landscape-fallback .video-stage{aspect-ratio:auto;flex:1;width:100%;min-height:0;max-height:none}.video-player.mobile-landscape-fallback .video-control-row{flex-direction:row;align-items:center}@media (hover:none) and (pointer:coarse){.mobile-landscape-button{display:grid}}.editable-overlay{box-sizing:border-box;cursor:move;touch-action:none;-webkit-user-select:none;user-select:none;border:1px dashed #ffffffc7;outline:1px solid #00000061;position:absolute}.editable-overlay:focus-visible{outline-offset:2px;outline:3px solid #a78bfab8}.editable-overlay.editor-guides-hidden{cursor:default;pointer-events:none;border-color:#0000;outline:0}.subtitle-editor-overlay{z-index:4;text-align:center;justify-content:center;align-items:center;padding:4px 10px;display:flex}.subtitle-editor-text{color:#fff;max-width:100%;font-family:Noto Sans Myanmar,Noto Sans,Arial,sans-serif;font-size:inherit;white-space:pre-line;text-shadow:-2px -2px #000,2px -2px #000,-2px 2px #000,2px 2px #000,0 3px 8px #000000f2;font-weight:700;line-height:1.38}.subtitle-editor-placeholder{opacity:.72}.blur-editor-overlay{z-index:3;-webkit-backdrop-filter:blur(var(--blur-strength));backdrop-filter:blur(var(--blur-strength));background:#ffffff0d}.overlay-editor-label{z-index:2;color:#fff;letter-spacing:.06em;pointer-events:none;text-transform:uppercase;background:#0c0c0cb8;border-radius:5px;padding:3px 6px;font-size:8px;font-weight:800;line-height:1;position:absolute;top:5px;left:6px}.resize-handle{z-index:5;touch-action:none;background:0 0;border:0;border-radius:50%;width:32px;height:32px;padding:0;position:absolute}.resize-handle:after{content:"";border:2px solid var(--primary);background:#fff;border-radius:50%;position:absolute;inset:9px;box-shadow:0 1px 4px #00000073}.resize-north-west{cursor:nwse-resize;top:-16px;left:-16px}.resize-north{cursor:ns-resize;top:-16px;left:calc(50% - 16px)}.resize-north-east{cursor:nesw-resize;top:-16px;right:-16px}.resize-east{cursor:ew-resize;top:calc(50% - 16px);right:-16px}.resize-south-east{cursor:nwse-resize;bottom:-16px;right:-16px}.resize-south{cursor:ns-resize;bottom:-16px;left:calc(50% - 16px)}.resize-south-west{cursor:nesw-resize;bottom:-16px;left:-16px}.resize-west{cursor:ew-resize;top:calc(50% - 16px);left:-16px}.overlay-controls{gap:15px;display:grid}.editor-help{color:var(--muted);font-size:10px;line-height:1.6}.blur-toggle{border:1px solid var(--line);cursor:pointer;background:#f7f6ff;border-radius:12px;align-items:flex-start;gap:11px;min-height:58px;padding:13px;display:flex}.blur-toggle input{width:18px;height:18px;accent-color:var(--primary);flex:none;margin-top:1px}.blur-toggle span{gap:4px;display:grid}.blur-toggle strong{font-size:10px;line-height:1.4}.blur-toggle small{color:var(--muted);font-size:9px;line-height:1.4}.reset-overlay-button{width:fit-content}.field input[type=range]{width:100%;height:6px;accent-color:var(--primary);margin:14px 0}.field output{color:var(--primary);font-size:9px}.inline-label{align-items:center;gap:5px;display:inline-flex}.result-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:500px;display:flex}footer{width:min(1160px,100% - 40px);color:var(--muted);border-top:1px solid var(--line);font-family:var(--font-mono), monospace;letter-spacing:.04em;text-transform:uppercase;justify-content:space-between;gap:20px;margin:0 auto;padding:23px 0 30px;font-size:8px;display:flex}.auth-splash,.login-page{place-items:center;min-height:100dvh;display:grid}.auth-splash{color:var(--muted);font-family:var(--font-mono), monospace;align-content:center;gap:14px;font-size:10px}.auth-spinner{animation:.9s linear infinite auth-spin}@keyframes auth-spin{to{transform:rotate(360deg)}}.login-page{padding:28px 14px}.login-card{border:1px solid var(--line);width:min(460px,100%);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffeb;border-radius:24px;padding:34px}.login-brand{font-family:var(--font-parkinsans), sans-serif;letter-spacing:-.04em;align-items:center;gap:10px;margin-bottom:38px;font-weight:750;display:flex}.login-card h1{font-family:var(--font-parkinsans), sans-serif;letter-spacing:-.07em;margin:20px 0 10px;font-size:clamp(34px,9vw,52px);line-height:1}.login-card>p{color:var(--muted);font-size:12px;line-height:1.65}.login-form{gap:15px;margin-top:28px;display:grid}.login-uuid-input{align-items:center;display:flex}.login-uuid-input>svg{z-index:1;color:var(--muted);position:absolute;left:13px}.login-uuid-input input{padding-left:40px!important;padding-right:12px!important}.login-button{width:100%}.login-error{color:var(--danger);background:var(--danger-soft);border:1px solid #fecdd3;border-radius:10px;padding:10px 12px;font-size:10px;line-height:1.5}.login-card .login-privacy{border-top:1px solid var(--line);margin-top:22px;padding-top:18px;font-size:9px}.profile-page{gap:18px;padding-top:86px;display:grid}.profile-intro{align-items:flex-start;gap:16px;min-width:0;max-width:760px;display:flex}.profile-intro>div{min-width:0}.profile-intro h1{font-family:var(--font-parkinsans), sans-serif;letter-spacing:-.055em;margin:5px 0 9px;font-size:clamp(32px,5vw,54px);line-height:1.05}.profile-intro p{max-width:620px;color:var(--muted);font-size:12px;line-height:1.65}.profile-account-card{background:var(--line);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.profile-account-card>div{min-width:0;color:var(--primary);background:var(--card);align-items:center;gap:10px;padding:16px;display:flex}.profile-account-card span{gap:3px;min-width:0;display:grid}.profile-account-card small{color:var(--muted);font-family:var(--font-mono), monospace;text-transform:uppercase;font-size:8px}.profile-account-card strong{color:var(--ink);font-family:var(--font-mono), monospace;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:600;overflow:hidden}.profile-workspace{margin-top:2px}.usage-card{gap:2px;display:grid}.usage-card .compact-heading,.library-card .compact-heading{padding-right:38px;position:relative}.usage-refresh{width:32px;height:32px;color:var(--muted);border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:9px;place-items:center;display:grid;position:absolute;top:2px;right:0}.usage-refresh:disabled{cursor:wait;opacity:.65}.usage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.usage-key-selector{color:var(--muted);font-family:var(--font-mono), monospace;justify-content:flex-end;align-items:center;gap:8px;margin:-5px 0 13px;font-size:8px;display:flex}.usage-key-selector select{height:30px;color:var(--ink);border:1px solid var(--line);background:#fff;border-radius:9px;outline:none;padding:0 26px 0 9px;font-family:inherit;font-size:8px}.usage-key-selector select:focus{border-color:var(--primary);box-shadow:0 0 0 3px #6948ff1c}.usage-meter{gap:8px;min-width:0;display:grid}.usage-meter-heading{min-width:0;color:var(--muted);font-family:var(--font-mono), monospace;justify-content:space-between;align-items:center;gap:8px;font-size:8px;display:flex}.usage-meter-heading span,.usage-meter-heading strong{align-items:center;gap:5px;display:inline-flex}.usage-meter-heading strong{color:var(--ink);font-weight:600}.usage-track{background:var(--soft);border-radius:999px;height:5px;overflow:hidden}.usage-track>span{background:linear-gradient(90deg, var(--primary), #26bfa4);border-radius:inherit;height:100%;display:block}.usage-note{color:var(--muted);border-top:1px solid var(--line);margin-top:15px;padding-top:13px;font-size:9px;line-height:1.55}.result-name-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;width:min(420px,100%);margin-top:16px;display:grid}.result-name-row .secondary-button{min-height:44px}.actions-card .result-save-error{color:var(--danger);font-size:9px}.subtitle-source-tabs{background:var(--soft);border:1px solid var(--line);border-radius:12px;gap:4px;width:fit-content;padding:4px;display:flex}.subtitle-source-tabs button{min-height:34px;color:var(--muted);font-family:var(--font-mono), monospace;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 13px;font-size:9px}.subtitle-source-tabs button.active{color:var(--ink);background:#fff;box-shadow:0 2px 8px #32227014}.library-list{gap:7px;max-height:330px;display:grid;overflow-y:auto}.library-item{border:1px solid var(--line);background:#fff;border-radius:11px;align-items:center;gap:7px;min-width:0;padding:5px;display:flex}.library-item.selected{border-color:var(--primary);box-shadow:0 0 0 2px #6948ff17}.library-open{text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:9px;min-width:0;padding:5px 7px;display:flex}.library-open>span{gap:3px;min-width:0;display:grid}.library-open strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.library-open small{color:var(--muted);font-family:var(--font-mono), monospace;font-size:8px}.library-item-actions,.library-rename{align-items:center;gap:3px;display:flex}.library-item-actions button,.library-rename button{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.library-item-actions button:hover,.library-rename button:hover{color:var(--ink);background:var(--soft)}.library-rename{width:100%}.library-rename input{border:1px solid var(--primary);border-radius:8px;outline:none;flex:1;min-width:0;height:36px;padding:0 10px}.library-empty{min-height:110px;color:var(--muted);border:1px dashed var(--line);text-align:center;background:#faf9ff;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:20px;font-size:10px;line-height:1.5;display:flex}.library-error{color:var(--danger);margin-top:10px;font-size:9px}.sr-only{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:920px){.page-shell{padding-top:54px}.hero{grid-template-columns:1fr;align-items:flex-start}.editor-hero{min-height:310px}.header-status{display:none}}.header-status>span{gap:2px;min-width:0;display:grid}.header-status strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.header-status small{color:var(--muted);text-transform:none;align-items:center;gap:4px;font-size:8px;font-weight:500;display:inline-flex}.header-logout{width:34px;height:34px;color:var(--muted);border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:10px;place-items:center;display:grid}.header-logout:hover,.header-logout:focus-visible{color:var(--danger);border-color:#fecdd3;outline:none}@media (max-width:720px){.site-header,.page-shell,footer{width:min(100% - 28px,1160px)}.site-header{border-radius:16px;height:60px;margin-top:8px;position:sticky;top:8px}.menu-toggle{display:grid}.header-actions{z-index:20;background:var(--card);border:1px solid var(--line);width:min(290px,100vw - 28px);max-width:calc(100vw - 28px);box-shadow:var(--shadow);border-radius:14px;padding:7px;display:none;position:absolute;top:52px;right:0}.header-actions.menu-open{flex-direction:column;align-items:stretch;display:flex}.header-actions.menu-open .header-status{display:flex}.app-nav{min-width:0;max-width:100%}.app-nav-link{flex:1;min-width:0}.header-actions.menu-open .header-logout{width:100%;min-height:34px}.page-shell{padding:48px 0 70px}.page-shell:before{width:260px;height:340px;right:0}.page-shell:after{width:120px;height:120px;left:0}.hero{min-height:auto;margin-bottom:52px}.hero h1{margin:20px 0 16px;font-size:clamp(41px,12.5vw,58px)}.hero p{font-size:14px}.settings-split,.field-grid,.api-key-pool-grid,.model-fields,.editor-input-grid,.usage-grid{grid-template-columns:1fr}.usage-key-selector,.usage-meter-heading{flex-wrap:wrap}.usage-key-selector select{min-width:0;max-width:100%}.profile-page{padding-top:48px}.profile-account-card{grid-template-columns:1fr}.settings-card,.upload-card,.style-card,.preview-card{padding:21px 18px}.language-grid{grid-template-columns:1fr}.language-arrow{display:none}.security-note{flex-wrap:wrap;align-items:flex-start}.security-note p{min-width:calc(100% - 28px)}.start-card,.actions-card{flex-direction:column;align-items:stretch;padding:21px 18px}.start-button,.result-actions,.result-actions .primary-button,.result-actions .secondary-button{width:100%}.result-actions{justify-content:stretch;max-width:none}.result-actions .text-button{flex:1}.result-name-row{grid-template-columns:1fr}.result-name-row .secondary-button{width:100%}.video-player{border-radius:11px;margin-inline:-8px}.custom-video-controls{padding-inline:8px}.video-volume{display:none}.mobile-landscape-button{display:grid}.video-control-row{flex-direction:column;align-items:stretch;gap:5px}.video-control-group{justify-content:space-between}}@media (max-width:440px){.site-header{gap:10px}.brand{gap:7px;font-size:17px}.brand-mark{border-radius:10px;width:33px;height:33px}.header-actions{gap:8px;min-width:0}.app-nav-link{min-height:28px;padding-inline:8px;font-size:9px}.selected-video{flex-wrap:wrap;align-items:flex-start}.selected-video-copy{flex:none;width:calc(100% - 58px)}.selected-video .secondary-button{width:100%}.progress-card{padding:23px 18px}.result-heading{flex-direction:column;align-items:flex-start}.preview-heading-actions{justify-content:flex-start;width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
