@layer properties,theme,base;@layer components{.uv-app{--uv-bg:var(--video-tool-bg);--uv-surface:var(--video-tool-surface);--uv-ink:var(--video-tool-ink);--uv-muted:var(--video-tool-muted);--uv-line:var(--video-tool-line);--uv-orange:var(--video-tool-accent);min-width:0;color:var(--uv-ink);font-family:var(--f-ui,Onest,system-ui,sans-serif)}.uv-header{white-space:nowrap;align-items:center;gap:30px;height:58px;padding:0 30px;display:flex}.uv-brand{color:var(--uv-ink);font-family:var(--f-display,Bricolage Grotesque,sans-serif);letter-spacing:-.08em;align-items:center;gap:8px;font-size:26px;font-weight:900;text-decoration:none;display:inline-flex}.uv-brand img{object-fit:contain;width:36px;height:36px}.uv-nav{color:#6f6278;align-items:center;gap:24px;font-size:16px;display:flex}.uv-nav a{color:inherit;align-items:center;gap:4px;text-decoration:none;display:inline-flex}.uv-nav a:hover,.uv-actions a:hover{color:var(--uv-ink)}.uv-nav svg{width:13px;height:13px}.uv-nav i{background:#d0c0ba;width:1px;height:20px;margin:0 -7px}.uv-actions{color:#6f6278;align-items:center;gap:17px;margin-left:auto;font-size:16px;display:flex}.uv-actions a{color:inherit;text-decoration:none}.uv-sign-in{font-weight:800;color:var(--uv-ink)!important}.uv-avatar{background:var(--uv-orange);color:#fff8ea;border:3px solid #e7c2b4;border-radius:50%;place-items:center;width:38px;height:38px;font-size:12px;font-weight:900;display:grid}.uv-actions button,.uv-mobile-menu{color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.uv-actions button svg{width:18px;height:18px}.uv-protection{border:1px solid #f5a179;border-radius:999px;padding:8px 14px;font-weight:800;color:var(--uv-orange)!important}.uv-protection span{margin-right:6px}.uv-mobile-menu{display:none}.uv-panel-scroll{scrollbar-width:none;min-height:0;padding-right:1px;overflow:auto}.uv-panel-scroll::-webkit-scrollbar{display:none}.uv-fieldset legend{color:#6f6175;align-items:center;gap:8px;font-size:16px;font-weight:800;display:flex}.uv-fieldset legend svg{stroke-width:1.9px;width:18px;height:18px}.uv-fieldset{border:0;min-width:0;margin:4px 0 0;padding:0}.uv-size-grid{grid-template-columns:repeat(4,1fr);gap:7px;margin-top:10px;display:grid}.uv-size-grid button{height:64px;color:var(--uv-ink);cursor:pointer;background:#f2e9dd;border:1px solid #0000;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex}.uv-size-grid button.selected{border:2px solid var(--uv-orange);background:#fffaf1}.uv-size-grid strong{font-size:19px;line-height:1}.uv-size-grid span{color:#a18f99;font-size:11px}.uv-low-credit{color:var(--uv-ink);background:#fbe2d1;border-radius:15px;margin:0;padding:12px 14px;font-size:14px}.uv-low-credit strong{display:block}.uv-low-credit button,.uv-result-error button{background:var(--uv-ink);color:#fff8ea;font:inherit;cursor:pointer;border:0;border-radius:10px;margin-top:9px;padding:8px 13px;font-weight:800}.uv-stage-content{overflow:auto}.uv-examples-stage{overflow:hidden}.uv-example-carousel{--uv-ink:var(--video-tool-ink);--uv-orange:var(--video-tool-accent);flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.uv-example-media{flex:1;place-items:center;min-width:0;min-height:0;display:grid;container-type:size}.uv-example-single{width:min(100%,calc(100cqh * var(--uv-example-ratio)));animation:.5s cubic-bezier(.16,1,.3,1) both uv-example-in;display:grid}.uv-example-single figure{min-width:0;aspect-ratio:var(--uv-example-ratio);border-radius:24px;margin:0;position:relative;overflow:hidden;box-shadow:0 30px 60px -36px #35224273}.uv-example-single :is(video,img){object-fit:cover;width:100%;height:100%;display:block}.uv-example-pair{width:min(100%,calc(100cqh * var(--uv-example-ratio) * 2 + 10px));grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;animation:.5s cubic-bezier(.16,1,.3,1) both uv-example-in;display:grid}.uv-example-pair figure{min-width:0;aspect-ratio:var(--uv-example-ratio);border-radius:24px;margin:0;position:relative;overflow:hidden;box-shadow:0 30px 60px -36px #35224273}.uv-example-pair video{object-fit:contain;width:100%;height:100%;display:block}.uv-example-pair figcaption{color:#fff6e6;background:#140c1a99;border-radius:99px;padding:3px 10px;font-size:12px;font-weight:650;line-height:1.6;position:absolute;top:10px;left:10px}.uv-example-pair figure:last-child figcaption{background:#e65a2f}.uv-example-info{flex-wrap:wrap;flex:none;justify-content:center;align-items:center;gap:10px 18px;margin-top:14px;display:flex}.uv-example-facts{color:#352242ad;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:2px 8px;min-width:0;margin:0;font-size:13px;line-height:1.45;display:flex}.uv-example-facts strong{color:var(--uv-ink);font-weight:700}.uv-example-facts span{font-size:12px}.uv-example-try{height:36px;color:var(--uv-ink);font:650 14px/1.6 var(--f-ui,Onest,system-ui,sans-serif);cursor:pointer;background:0 0;border:0;border-radius:999px;flex:none;align-items:center;gap:6px;padding:0 14px 0 16px;transition:background .15s,box-shadow .15s,transform .12s;display:inline-flex;box-shadow:inset 0 0 0 1px #3522424d}.uv-example-try:hover:enabled{background:#3522420f;box-shadow:inset 0 0 0 1px #35224273}.uv-example-try:active:enabled{transform:scale(.98)}.uv-example-try:disabled{opacity:.5;cursor:wait}.uv-example-try svg{stroke-width:1.8px;width:16px;height:16px}.uv-example-rail{flex:none;justify-content:center;align-items:center;gap:10px;margin-top:12px;display:flex}.uv-example-dots{background:#3522420f;border-radius:999px;align-items:center;gap:2px;height:36px;padding:0 8px;display:flex}.uv-example-dot{cursor:pointer;background:0 0;border:0;flex:none;place-items:center;width:22px;height:36px;padding:0;transition:width .35s cubic-bezier(.16,1,.3,1);display:grid;position:relative}.uv-example-dot:before{content:"";background:#35224247;border-radius:99px;width:8px;height:8px}.uv-example-dot[aria-selected=true]{width:48px}.uv-example-dot[aria-selected=true]:before{background:#35224229;width:40px}.uv-example-fill{border-radius:99px;width:40px;height:8px;margin-top:-4px;position:absolute;top:50%;left:4px;overflow:hidden}.uv-example-fill:after{border-radius:inherit;content:"";transform-origin:0;background:#e65a2f;width:100%;height:100%;display:block;transform:scaleX(0)}.uv-example-fill[data-playing=true]:after{animation:6s linear both uv-example-progress}.uv-example-play{width:36px;height:36px;color:var(--uv-ink);cursor:pointer;background:#3522420f;border:0;border-radius:50%;flex:none;place-items:center;padding:0;transition:background .15s,transform .12s;display:grid}.uv-example-play:hover{background:#3522421f}.uv-example-play:active{transform:scale(.95)}.uv-example-play svg{fill:currentColor;stroke-width:0;width:16px;height:16px}.uv-example-carousel button:focus-visible{outline:2px solid var(--uv-orange);outline-offset:2px}@keyframes uv-example-in{0%{opacity:0;transform:translateY(8px)scale(.985)}to{opacity:1;transform:none}}@keyframes uv-example-progress{to{transform:scaleX(1)}}@media (width<=900px){.uv-example-info{justify-content:space-between;margin-top:10px}.uv-example-facts{justify-content:flex-start}.uv-example-try{margin-left:auto}.uv-example-rail{margin-top:10px}.uv-examples-stage{flex:none;height:clamp(360px,60svh,580px)}}@media (prefers-reduced-motion:reduce){.uv-example-single,.uv-example-pair,.uv-example-fill[data-playing=true]:after{animation:none}.uv-example-dot,.uv-example-try,.uv-example-play{transition:none}}.uv-result{flex:1;place-items:center;min-height:0;padding:25px 0 10px;display:grid}.uv-processing{text-align:center;width:min(480px,85%)}.uv-processing-mark{width:92px;height:92px;color:var(--uv-orange);background:#f4e8da;border:1px solid #e5d6c9;border-radius:50%;place-items:center;margin:0 auto 20px;display:grid;position:relative}.uv-processing-mark svg{width:44px;height:44px}.uv-spinner{animation:1s linear infinite uv-spin}.uv-processing-mark span{color:var(--uv-ink);font-size:12px;font-weight:800;position:absolute}.uv-processing strong{font-size:21px}.uv-processing p{color:#a08e99;margin:7px 0 17px;font-size:14px}.uv-progress{background:#eadfd5;border-radius:999px;height:8px;overflow:hidden}.uv-progress span{border-radius:inherit;background:var(--uv-orange);height:100%;transition:width .5s;display:block}.uv-processing small{color:#a08e99;margin-top:13px;font-size:12px;display:block}.uv-result-video{background:#160c1c;border-radius:17px;width:min(760px,90%);max-height:calc(100svh - 180px);box-shadow:0 16px 40px #3522421f}.uv-result-tools{color:#8f7d8d;flex-wrap:wrap;justify-content:space-between;align-self:end;align-items:center;gap:8px;width:min(760px,90%);margin-top:12px;font-size:13px;display:flex}.uv-result-tools span,.uv-result-tools a{align-items:center;gap:6px;display:inline-flex}.uv-result-tools svg{width:16px}.uv-result-tools a{background:var(--uv-ink);color:#fff8ea;border-radius:10px;padding:8px 12px;font-weight:800;text-decoration:none}.uv-result-error{text-align:center;width:min(440px,90%)}.uv-result-error img{object-fit:contain;width:95px;height:95px;margin:0 auto 12px}.uv-result-error strong{font-size:22px;display:block}.uv-result-error p{color:#9c8997;margin:8px 0 0;font-size:14px}.uv-run{width:min(100%,520px);padding-top:30px;animation:.45s cubic-bezier(.2,.8,.2,1) both uv-rise;position:relative}.uv-pending{isolation:isolate;width:100%;max-height:64vh;box-shadow:inset 0 0 0 1px var(--uv-line);background:#f7eee3;border-radius:16px;position:relative;overflow:hidden}.uv-noise{z-index:0;width:100%;height:100%;image-rendering:pixelated;opacity:.9;position:absolute;inset:0}.uv-sim-blur{z-index:-1;filter:blur(30px)saturate(1.1);opacity:.85;background:radial-gradient(40% 50% at 30% 35%,#d6c4f2,#0000 70%),radial-gradient(45% 55% at 70% 60%,#ef542d,#0000 70%),radial-gradient(40% 40% at 55% 20%,#f4db64,#0000 70%),#c4e6de;position:absolute;inset:-20%}.uv-stage-pill{z-index:2;color:#fff8ea;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#140c1aa8;border-radius:999px;align-items:center;gap:7px;height:28px;padding:0 11px;font-size:12.5px;font-weight:600;display:inline-flex;position:absolute;top:10px;left:10px}.uv-stage-pill svg{width:12px;height:12px}.uv-run-caption{color:var(--uv-muted);justify-content:space-between;gap:10px;margin-top:12px;font-size:13px;display:flex}.uv-run-caption strong{color:var(--uv-ink)}.uv-run-progress{background:#fff8ea66;border-radius:9px;height:6px;margin:14px;overflow:hidden}.uv-run-progress span{transform-origin:0;background:#f4db64;height:100%;transition:transform .2s;display:block}.uv-vpair{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;height:100%;display:grid}.uv-vpair figure{background:#140c19;border-radius:14px;place-items:center;min-height:0;margin:0;display:grid;position:relative;overflow:hidden}.uv-vpair video{object-fit:contain;width:100%;height:100%;display:block}.uv-vpair figcaption{color:#fff8ea;background:#140c1a99;border-radius:99px;padding:3px 10px;font-size:11.5px;font-weight:800;position:absolute;top:8px;left:8px}.uv-vpair figure:last-of-type figcaption{background:var(--uv-orange)}.uv-vpair-actions{flex-wrap:wrap;grid-column:1/-1;justify-content:center;gap:8px;display:flex}.uv-vpair-actions a,.uv-vpair-actions button{min-height:34px;color:var(--uv-ink);cursor:pointer;background:#f4db64;border:0;border-radius:11px;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.uv-vpair-actions svg{width:15px}.uv-fail{border:1.5px solid var(--uv-line);background:var(--uv-surface);text-align:center;border-radius:20px;place-items:center;gap:8px;min-height:280px;padding:24px;display:grid}.uv-fail img{width:110px;height:auto}.uv-fail strong{font-family:var(--f-display);font-size:22px;font-weight:800}.uv-fail p{max-width:32ch;color:var(--uv-muted);margin:0;font-size:14px;line-height:1.45}.uv-fail button{background:var(--uv-ink);color:#fff8ea;font:inherit;cursor:pointer;border:0;border-radius:11px;margin-top:6px;padding:9px 15px;font-weight:800}.uv-auth-gate{z-index:95;color:#fff8ea;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#140c1a80;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.uv-gate-content{text-align:center;justify-items:center;gap:12px;max-width:420px;animation:.45s 80ms both uv-rise;display:grid}.uv-gate-mascot{width:84px;margin:-34px 0 -8px}.uv-gate-content h2{font-family:var(--f-display);margin:0;font-size:clamp(30px,4vw,44px);line-height:1}.uv-gate-content p{color:#fff8eacc;margin:0;font-size:16px;line-height:1.5}.uv-gate-create{background:var(--uv-orange);color:#fff8ea;width:min(320px,100%);height:52px;font-family:var(--f-display);cursor:pointer;border:0;border-radius:14px;margin-top:8px;font-size:17px;font-weight:800}.uv-gate-alt{font-size:14px!important}.uv-gate-alt button{color:#fff8ea;text-decoration:underline;-webkit-text-decoration-color:var(--uv-orange);text-decoration-color:var(--uv-orange);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;font-weight:700}.uv-gate-close{color:#fff8ea;cursor:pointer;background:#fff8ea24;border:0;border-radius:50%;place-items:center;width:38px;height:38px;display:grid;position:fixed;top:20px;right:24px}.uv-gate-close svg{width:18px}@keyframes uv-rise{0%{opacity:.4;transform:translateY(18px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.uv-inline-error{color:#6b3341;background:#fbe2d1;border-radius:12px;flex:none;margin:8px auto 0;padding:9px 14px;font-size:13px}.uv-inline-error button{color:var(--uv-ink);cursor:pointer;background:0 0;border:0;margin-left:10px;font-weight:800;text-decoration:underline}@keyframes uv-spin{to{transform:rotate(360deg)}}@media (width<=1200px){.uv-header{gap:17px;padding-inline:17px}.uv-nav{gap:14px;font-size:14px}.uv-actions{gap:11px;font-size:14px}.uv-protection{display:none}.uv-main{grid-template-columns:340px minmax(0,1fr);column-gap:12px}}@media (width<=900px){.uv-header{height:58px}.uv-nav,.uv-actions button,.uv-actions>a:not(:last-child){display:none}.uv-actions{margin-left:auto}.uv-mobile-menu{display:grid}.uv-panel-scroll{overflow:visible}.uv-run{width:100%}.uv-vpair{grid-template-rows:minmax(200px,auto) minmax(200px,auto) auto;grid-template-columns:minmax(0,1fr);height:auto}}@media (width<=560px){.uv-brand{font-size:22px}.uv-brand img{width:31px;height:31px}.uv-size-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.uv-size-grid button{height:59px}.uv-example-dot{width:32px;height:40px}}}@layer utilities;
