/* Video workspace. Measurements from the user-supplied reference at 1280 × 720. */
.video-studio{--studio-bg:#0f1113;--studio-surface:#131517;--studio-field:#202224;--studio-border:#ffffff1a;--studio-lime:#d1fe17;--studio-text:#f7f7f8;--studio-muted:#85878a;--studio-top:89px;margin:0;background:var(--studio-bg);color:var(--studio-text);font:14px/20px Inter,Arial,sans-serif;height:100dvh;overflow:hidden;-webkit-font-smoothing:antialiased}.video-studio *{box-sizing:border-box}.video-studio button,.video-studio input,.video-studio textarea,.video-studio select{font:inherit}.video-studio button,.video-studio a{touch-action:manipulation}.video-studio button{cursor:pointer;color:inherit;border:0}.video-studio a{color:inherit;text-decoration:none}.video-studio button:focus-visible,.video-studio a:focus-visible,.video-studio input:focus-visible,.video-studio textarea:focus-visible,.video-studio select:focus-visible{outline:2px solid var(--studio-lime);outline-offset:3px}.video-studio svg{width:18px;height:18px;flex:none;vertical-align:middle}.video-studio img{display:block;max-width:100%}.video-studio [hidden]{display:none!important}.video-studio h1,.video-studio h2,.video-studio p{margin:0}.studio-skip{position:fixed;top:-100px;left:16px;z-index:100;background:#d1fe17;color:#101314!important;padding:10px}.studio-skip:focus{top:8px}.studio-promo{height:44px;display:flex;align-items:center;justify-content:center;gap:10px;background:var(--studio-lime);color:#111519;font-size:14px;font-weight:600;padding:0 45px}.studio-promo>span{display:flex;align-items:center;gap:8px}.studio-promo>span svg{width:16px;height:16px;fill:currentColor;stroke:none}.studio-promo>a{font-size:12px;line-height:20px;background:#f7f7f8;padding:2px 9px;border-radius:5px;font-weight:500}.studio-promo>button{position:absolute;right:16px;top:8px;display:grid;place-items:center;width:28px;height:28px;background:transparent;color:#131517}.studio-promo>button svg{width:16px;height:16px}.no-promo{--studio-top:45px}.studio-header{height:45px;display:flex;align-items:center;gap:18px;padding:0 16px;white-space:nowrap}.studio-brand{flex:none;display:flex;align-items:center;gap:8px}.studio-brand img{width:24px;height:24px;border-radius:6px}.studio-brand>span{display:none}.studio-header>nav{display:flex;align-items:center;gap:18px;min-width:0;overflow-x:auto;scrollbar-width:none;mask-image:linear-gradient(to right,#000 95%,transparent);flex:1}.studio-header>nav::-webkit-scrollbar{display:none}.studio-header>nav a{font-size:14px;color:#87898c;line-height:24px}.studio-header>nav a:hover{color:#f7f7f8}.studio-header>nav a[aria-current]{color:var(--studio-lime)}.studio-account{display:flex;align-items:center;gap:8px;font-size:13px;line-height:24px}.studio-pricing{background:#242628;border-radius:7px;padding:0 10px}.studio-login{background:#d1fe170d;color:#d1fe17!important;padding:0 9px;border-radius:7px}.studio-signup{background:#d1fe17;color:#111519!important;border-radius:7px;padding:0 10px}.studio-shell{display:grid;grid-template-columns:320px minmax(0,1fr);gap:8px;height:calc(100dvh - var(--studio-top) - 31px);margin:0 16px;min-height:0}.studio-sidebar{display:flex;flex-direction:column;min-height:0;border:1px solid var(--studio-border);border-radius:20px;overflow:hidden;background:var(--studio-surface)}.studio-workflow-tabs{height:48px;display:flex;align-items:stretch;gap:14px;padding:0 16px;flex:none}.studio-workflow-tabs>button{background:none;white-space:nowrap;padding:8px 0 12px;color:#a4a5a7;font-size:14px;border-bottom:2px solid transparent}.studio-workflow-tabs>button[aria-selected=true]{color:#f7f7f8;border-bottom-color:#f7f7f8}.studio-form{display:flex;flex-direction:column;min-height:0;flex:1;position:relative}.studio-form-scroll{min-height:0;flex:1;overflow:auto;padding:8px 8px 24px;scrollbar-width:none}.studio-form-scroll::-webkit-scrollbar{display:none}.studio-preset-cover{height:130px;position:relative;width:100%;display:block;background:#202224;border-radius:12px;overflow:hidden;text-align:left}.studio-preset-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#080a0de6,transparent 80%)}.studio-preset-cover>img{width:100%;height:100%;object-fit:cover;object-position:center 58%}.studio-change{position:absolute;right:6px;top:6px;z-index:1;display:flex;gap:4px;align-items:center;font-size:12px;line-height:20px;padding:2px 8px;border-radius:5px;background:#20222499;backdrop-filter:blur(12px)}.studio-change svg{width:13px;height:13px}.studio-preset-cover:hover .studio-change{background:var(--studio-lime);color:#111519}.studio-preset-caption{position:absolute;left:12px;bottom:11px;z-index:1;display:flex;flex-direction:column;gap:2px}.studio-preset-caption strong{color:#d1fe17;text-transform:uppercase;font:700 19px/24px 'Space Grotesk',Inter,sans-serif;letter-spacing:-.04em}.studio-preset-caption small{font-size:12px;color:#ddd}.studio-source-tabs{display:flex;height:40px;padding:4px;gap:4px;border:1px solid #ffffff17;border-radius:12px;margin:8px 0;background:#1c1e20}.studio-source-tabs button{min-width:0;flex:1;border-radius:7px;background:none;color:#8d8f91;font-size:12px;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 3px;white-space:nowrap}.studio-source-tabs svg{width:13px;height:13px}.studio-source-tabs button[aria-selected=true]{background:linear-gradient(#3b3d3f,#303234);color:#fff;box-shadow:inset 0 0 0 1px #ffffff12,0 1px 3px #0005}.studio-upload{position:relative;border-radius:12px;min-height:168px;background:#1f2123;padding:4px}.studio-upload-zone{width:100%;height:160px;border:1px dashed #ffffff0d!important;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:none}.studio-upload-zone:hover{background:#ffffff04;border-color:#ffffff30!important}.studio-upload-zone strong{font-weight:500;font-size:14px}.studio-upload-zone small{font-size:12px;color:#85878a;line-height:18px}.studio-upload-symbols{display:flex;margin-bottom:9px;padding:0 6px}.studio-upload-symbols i{height:36px;width:36px;display:grid;place-items:center;background:radial-gradient(at 40% 20%,#505255,#1c1e20);border:1px solid #ffffff0b;border-radius:50%;box-shadow:inset 0 1px 3px #ffffff17;margin:0 -3px}.studio-upload-symbols svg{width:15px;height:15px;color:#c6c8cb}.studio-reference-list:empty{display:none}.studio-reference-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px}.studio-reference-item{position:relative;aspect-ratio:1;background:#16181a;border-radius:8px;overflow:hidden}.studio-reference-item img,.studio-reference-item video{width:100%;height:100%;object-fit:cover}.studio-reference-item button{position:absolute;right:3px;top:3px;border-radius:50%;height:22px;width:22px;line-height:20px;background:#08090be6;color:#fff}.studio-reference-item small{position:absolute;bottom:0;left:0;right:0;padding:3px 5px;background:#08090bb0;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-error{font-size:11px;line-height:16px;color:#ffad95;padding:0 6px}.studio-error:empty{display:none}.studio-upload.is-dragging{outline:2px solid #d1fe17}.studio-prompt-field{margin-top:8px;position:relative;background:#202224;border-radius:12px;overflow:hidden;height:160px;display:flex;flex-direction:column}.studio-prompt-field>label{font-size:14px;line-height:20px;padding:10px 12px 4px}.studio-prompt-field textarea{width:100%;resize:none;outline:0!important;flex:1;min-height:70px;border:0;background:none;color:#f7f7f8;font-size:14px;line-height:20px;padding:0 12px}.studio-prompt-field textarea::placeholder{color:#85878a}.studio-prompt-field:focus-within{box-shadow:inset 0 0 0 1px #d1fe1755}.studio-prompt-tools{display:flex;justify-content:space-between;padding:8px 12px;gap:8px}.studio-prompt-tools button{display:flex;align-items:center;gap:4px;line-height:20px;font-size:11px;background:none;color:#8b8d90;padding:0}.studio-prompt-tools button:first-child{background:#ffffff08;padding:2px 6px;border-radius:5px;color:#aaa}.studio-prompt-tools svg{height:12px;width:12px}.studio-mode-field{width:100%;height:52px;margin-top:8px;background:#202224;border-radius:12px;display:flex;align-items:center;justify-content:space-between;padding:8px 12px;text-align:left}.studio-mode-field span{display:flex;flex-direction:column;gap:1px}.studio-mode-field small{font-size:11px;color:#85878a;line-height:16px}.studio-mode-field strong{font-size:14px;font-weight:500}.studio-mode-field svg{width:16px;height:16px;color:#898b8d}.studio-setting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.studio-setting-grid>label{height:54px;border-radius:12px;position:relative;background:#202224;display:flex;flex-direction:column;justify-content:center;padding:6px 12px;min-width:0}.studio-setting-grid>label>span{font-size:11px;color:#85878a;line-height:16px;pointer-events:none}.studio-setting-grid select{appearance:none;border:0;border-radius:10px;cursor:pointer;width:100%;padding:0 14px 0 0;background:transparent;color:#f7f7f8;font-size:14px;line-height:20px}.studio-setting-grid option{background:#202224;color:#f7f7f8}.studio-setting-grid svg{position:absolute;right:10px;top:20px;width:14px;height:14px;color:#85878a;pointer-events:none}.studio-full-field{grid-column:1/-1}.studio-draft-status{font-size:10px;line-height:16px;color:#63676b;padding:12px 4px 0;min-height:28px}.studio-submit-wrap{padding:8px 8px 12px;flex:none;background:linear-gradient(0deg,#131517 90%,#131517ee);box-shadow:0 -8px 15px #13151780}.studio-generate{width:100%;height:48px;border-radius:12px;background:#d1fe17;color:#111519!important;display:flex;align-items:center;justify-content:center;gap:9px;font-size:16px!important;font-weight:600!important;box-shadow:inset 0 -3px 0 #a4c507,0 1px 2px #0003}.studio-generate svg{fill:currentColor;stroke:none;width:19px;height:19px}.studio-generate:hover{background:#ddff4d}.studio-workspace{min-height:0;min-width:0;border:1px solid #ffffff1a;border-radius:20px;overflow:hidden;display:flex;flex-direction:column;padding:0 16px;background:#0f1113}.studio-workspace-toolbar{height:56px;flex:none;display:flex;align-items:flex-start;padding-top:10px;justify-content:space-between;gap:10px}.studio-workspace-toolbar>div{display:flex;gap:4px}.studio-workspace-toolbar button{height:32px;border-radius:7px;padding:0 8px;background:none;color:#85878a;font-size:12px;display:flex;align-items:center;gap:5px}.studio-workspace-toolbar button svg{height:14px;width:14px}.studio-workspace-toolbar button[aria-selected=true]{color:#f7f7f8;background:linear-gradient(#303234,#292b2d);box-shadow:inset 0 0 0 1px #ffffff09}.studio-workspace-name{font-size:10px;letter-spacing:.09em;line-height:32px;color:#51565a}.studio-workspace-body{flex:1;min-height:0;overflow:auto;scrollbar-width:none}.studio-workspace-body::-webkit-scrollbar{display:none}.studio-how{padding:96px 32px;min-height:100%}.studio-how>header{margin-bottom:32px}.studio-how h1{font:700 40px/48px 'Space Grotesk',Inter,sans-serif;letter-spacing:-.055em;margin-bottom:8px}.studio-how>header>p{font-size:14px;line-height:20px;color:#85878a}.studio-how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}.studio-how-grid article{min-width:0}.studio-step-art{position:relative;height:auto;aspect-ratio:1.3;width:100%;background:none;color:#f7f7f8;display:block}.studio-how-grid h2{font:700 20px/28px 'Space Grotesk',Inter,sans-serif;letter-spacing:-.055em;margin-top:14px;white-space:nowrap}.studio-how-grid article>p{font-size:14px;line-height:20px;color:#85878a;margin-top:8px}.studio-upload-outline{position:absolute;left:12%;top:16%;width:88%;height:66%;border:1px dashed #ffffff12;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px}.studio-upload-outline>svg{width:24px;height:24px;margin-bottom:4px}.studio-upload-outline>strong{font:700 14px/20px 'Space Grotesk',Inter,sans-serif}.studio-upload-outline>small{font-size:8px;color:#74777b}.studio-floating-photo{position:absolute;left:7%;bottom:2%;width:51%;height:45%;object-fit:cover;object-position:center 30%;transform:rotate(-10deg);border:1px solid #d1fe17;border-radius:7px;box-shadow:0 8px 20px #0006}.studio-cursor{position:absolute;left:11%;bottom:38%;font-size:28px;line-height:28px;font-weight:800;transform:rotate(20deg);color:white;filter:drop-shadow(0 1px 1px #000)}.studio-step-presets{display:flex;align-items:center;justify-content:center;border-radius:14px;overflow:hidden;background:linear-gradient(#08090a,#131517);isolation:isolate;gap:6px}.studio-demo-card{height:70%;width:34%;flex:none;position:relative;border-radius:8px;overflow:hidden;opacity:.4;transform:translateX(-1px)}.studio-demo-card img{height:100%;width:100%;object-fit:cover}.studio-demo-card:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 45%,#000a)}.studio-demo-card small{position:absolute;left:5px;bottom:6px;z-index:1;font-size:8px;line-height:12px;color:white}.studio-demo-active{width:42%;height:72%;opacity:1;border:1px solid #d1fe17}.studio-step-presets .studio-cursor{left:64%;bottom:1%}.studio-step-result{border-radius:14px;overflow:hidden;background:#080a0c;padding:8px}.studio-step-result video{display:block;width:100%;height:100%;object-fit:cover;object-position:center 55%;border:3px solid white;border-radius:13px}.studio-result-corner{position:absolute;right:15%;bottom:17%;height:30%;width:22%;border-right:1px solid #d1fe17;border-bottom:1px solid #d1fe17;border-radius:0 0 4px}.studio-help{height:66px;flex:none;position:relative;display:flex;justify-content:center;align-items:center;border-top:1px solid #ffffff02;margin:10px -16px 0;background:#ffffff01;overflow:visible;gap:42px}.studio-help-images{width:200px;height:82px;position:relative;margin-top:-12px;flex:none}.studio-help-images>img{height:80px;width:100px;object-fit:cover;border-radius:8px;position:absolute;bottom:0;left:18px;transform:rotate(-12deg);box-shadow:0 4px 12px #0008}.studio-help-images>img:nth-child(2){left:66px;transform:rotate(3deg);bottom:7px}.studio-help-images>img:nth-child(3){left:106px;transform:rotate(13deg);bottom:-13px}.studio-help>button{background:none;text-align:left;display:flex;flex-direction:column;gap:2px;padding-right:34px;position:relative}.studio-help strong{font-weight:500;font-size:14px}.studio-help small{color:#85878a;font-size:12px;line-height:18px}.studio-help>button>svg{position:absolute;right:0;top:10px;color:#969a9d;width:18px}.studio-history{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 25px;gap:14px}.studio-history-icon{height:64px;width:64px;border-radius:20px;display:grid;place-items:center;background:#202224;border:1px solid #ffffff0c;color:#b6bbbf;margin-bottom:12px}.studio-history-icon svg{width:30px;height:30px}.studio-history h2{font:700 28px/34px 'Space Grotesk',Inter,sans-serif;max-width:420px;letter-spacing:-.04em}.studio-history p{color:#85878a;max-width:360px;font-size:14px;line-height:22px}.studio-primary{display:flex;align-items:center;justify-content:center;gap:10px;border-radius:10px;padding:12px 18px;background:#d1fe17;color:#111519!important;min-height:44px;font-weight:600}.studio-history .studio-primary{margin-top:10px}.studio-mobile-tabs{display:none}.video-studio dialog{color:#f7f7f8;background:#131517;border:1px solid #ffffff1a;border-radius:18px;padding:24px;box-shadow:0 20px 100px #0008;max-height:calc(100dvh - 32px)}.video-studio dialog::backdrop{background:#0005;backdrop-filter:blur(2px)}.studio-preset-dialog{position:fixed;top:var(--studio-top);left:344px;right:16px;bottom:auto;margin:0;width:calc(100% - 360px);max-width:none;min-height:438px;max-height:calc(100dvh - var(--studio-top) - 31px)!important}.studio-preset-dialog::backdrop{background:transparent!important;backdrop-filter:none!important}.studio-preset-dialog>header{display:flex;align-items:center;gap:16px;margin-bottom:24px}.studio-preset-dialog h2{font:700 18px/24px 'Space Grotesk',Inter,sans-serif;letter-spacing:-.03em}.studio-preset-dialog header p{font-size:12px;color:#85878a;margin-top:3px}.studio-preset-search{margin-left:auto;display:flex;align-items:center;gap:8px;background:#202224;padding:0 12px;height:40px;border-radius:12px;width:220px;color:#85878a}.studio-preset-search input{border:0;background:none;outline:none;color:white;width:100%;min-width:0}.studio-icon-button{width:40px;height:40px;border:1px solid #ffffff0b!important;border-radius:12px;background:transparent;display:grid;place-items:center;flex:none}.studio-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.studio-preset-card{min-width:0;aspect-ratio:3/4;position:relative;border-radius:12px;background:#202224;overflow:hidden;text-align:left;max-height:310px;padding:0}.studio-preset-card>img{height:100%;width:100%;object-fit:cover;transition:transform .25s}.studio-preset-card:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 45%,#080a0dea)}.studio-preset-card>span{position:absolute;bottom:14px;left:14px;right:14px;z-index:1;display:flex;flex-direction:column;gap:3px}.studio-preset-card strong{font:700 18px/22px 'Space Grotesk',Inter,sans-serif;letter-spacing:-.03em}.studio-preset-card small{font-size:11px;line-height:16px;color:#b0b4b8}.studio-preset-card>i{position:absolute;right:10px;top:10px;border-radius:50%;height:24px;width:24px;background:#d1fe17;color:#111519;font-style:normal;text-align:center;line-height:24px;opacity:0;z-index:2}.studio-preset-card.is-selected{outline:2px solid #d1fe17;outline-offset:-2px}.studio-preset-card.is-selected>i{opacity:1}.studio-preset-card:hover>img{transform:scale(1.04)}.studio-preset-note{margin-top:18px!important;color:#85878a;font-size:12px;line-height:18px}.studio-continue-dialog{position:fixed;inset:0;margin:auto;width:min(460px,calc(100% - 32px));padding:36px!important;overflow:auto}.studio-dialog-close{position:absolute;right:12px;top:12px}.studio-dialog-logo{height:44px;width:44px;margin-bottom:24px}.studio-continue-dialog h2{font:700 28px/32px 'Space Grotesk',Inter,sans-serif;letter-spacing:-.045em;margin-bottom:16px}.studio-continue-dialog>p{font-size:14px;line-height:22px;color:#afb3b6;margin-bottom:16px}.studio-continue-dialog .studio-local-note{font-size:12px;line-height:18px;color:#797e82}.studio-copy{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid #ffffff18!important;background:#242729;border-radius:10px;width:100%;font-size:12px!important;margin:20px 0 8px}.studio-continue-dialog #continue-status{font-size:12px;line-height:18px;margin:10px 0 0;min-height:18px;color:#d1fe17}.studio-continue-dialog .studio-primary{font-size:14px}
@media(min-width:1600px){.studio-how{max-width:1240px;margin:0 auto;padding:96px 48px}.studio-how h1{font-size:48px;line-height:56px}.studio-how-grid h2{font-size:24px;line-height:30px}}
@media(min-width:768px) and (max-width:1100px){.studio-header>nav{gap:14px}.studio-header>nav a{font-size:13px}.studio-shell{grid-template-columns:300px minmax(0,1fr)}.studio-workflow-tabs{gap:12px;padding:0 12px}.studio-workflow-tabs button{font-size:13px}.studio-how{padding:52px 16px}.studio-how h1{font-size:28px;line-height:34px}.studio-how-grid{gap:16px;grid-template-columns:1fr}.studio-how-grid article{display:grid;grid-template-columns:120px 1fr;gap:0 16px}.studio-step-art{grid-row:1/3}.studio-how-grid h2{font-size:17px;line-height:22px;white-space:normal;margin:15px 0 0}.studio-how-grid article>p{font-size:12px;line-height:18px;margin:0}.studio-workspace-name{display:none}.studio-help-images{width:100px}.studio-help-images>img{width:70px;left:0}.studio-help-images>img:nth-child(2){left:20px}.studio-help-images>img:nth-child(3){left:40px}.studio-help{gap:20px}.studio-help small{max-width:170px}.studio-preset-dialog{left:324px;width:calc(100% - 340px)}.studio-preset-dialog>header{flex-wrap:wrap}.studio-preset-dialog h2{font-size:16px}.studio-preset-search{order:3;width:100%}.studio-preset-dialog>header>.studio-icon-button{margin-left:auto}.studio-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.video-studio{--studio-top:52px;overflow:hidden;height:100dvh;background:#0f1113}.studio-promo{display:none}.studio-header{height:52px;padding:0 16px;gap:10px;background:#0c0e10}.studio-brand img{width:30px;height:30px;border-radius:8px}.studio-brand>span{display:block;font-size:12px;font-weight:600;letter-spacing:-.4px}.studio-header>nav{display:none}.studio-account{margin-left:auto;gap:5px;font-size:11px}.studio-pricing,.studio-signup{line-height:32px;padding:0 8px;border-radius:8px}.studio-login{display:none}.studio-mobile-tabs{height:40px;display:flex;align-items:stretch;gap:24px;padding:0 16px;border-bottom:1px solid #ffffff0b}.studio-mobile-tabs button{background:none;color:#85878a;font-size:13px;padding:0 0 9px;border-bottom:2px solid transparent}.studio-mobile-tabs button[aria-selected=true]{color:#f7f7f8;border-bottom-color:#d1fe17}.studio-shell{height:calc(100dvh - 92px);display:block;margin:0}.studio-sidebar{height:100%;border:0;border-radius:0}.studio-workflow-tabs{height:44px;padding:0 16px;gap:24px}.studio-workflow-tabs button{font-size:13px}.studio-form-scroll{padding:8px 16px 24px}.studio-preset-cover{height:140px}.studio-source-tabs{margin-top:10px}.studio-source-tabs button{font-size:12px}.studio-upload{min-height:160px}.studio-upload-zone{height:152px}.studio-prompt-field{height:160px}.studio-submit-wrap{padding:10px 16px max(14px,env(safe-area-inset-bottom));border-top:1px solid #ffffff07}.studio-generate{height:46px}.studio-workspace{height:100%;border:0;border-radius:0;padding:0 16px;display:none}.video-studio[data-mobile-panel=examples] .studio-sidebar{display:none}.video-studio[data-mobile-panel=examples] .studio-workspace{display:flex}.studio-workspace-toolbar{height:50px;padding-top:9px}.studio-workspace-name{display:none}.studio-how{padding:30px 0 36px}.studio-how h1{font-size:30px;line-height:35px;max-width:380px}.studio-how>header{margin-bottom:28px}.studio-how>header p{font-size:13px;line-height:20px}.studio-how-grid{grid-template-columns:1fr;gap:28px}.studio-how-grid article{display:grid;grid-template-columns:140px 1fr;gap:0 14px}.studio-step-art{grid-row:1/3}.studio-how-grid h2{font-size:17px;line-height:21px;white-space:normal;margin:12px 0 5px}.studio-how-grid article>p{font-size:12px;line-height:18px;margin:0}.studio-upload-outline>strong{font-size:10px;line-height:13px}.studio-upload-outline>small{display:none}.studio-upload-outline>svg{width:18px;height:18px}.studio-step-result{padding:5px}.studio-step-result video{border-width:2px;border-radius:9px}.studio-cursor{font-size:20px}.studio-demo-card small{font-size:6px}.studio-help{height:65px;gap:20px;margin-top:0}.studio-help-images{width:100px;height:64px;overflow:hidden;margin-top:0}.studio-help-images img{height:60px;width:65px;left:0}.studio-help-images>img:nth-child(2){left:25px;bottom:0}.studio-help-images>img:nth-child(3){left:50px;bottom:-10px}.studio-help small{font-size:10px;line-height:16px;max-width:175px}.studio-help strong{font-size:13px}.studio-help>button{padding-right:24px}.studio-history{padding:20px 12px}.studio-history h2{font-size:25px;line-height:30px}.studio-preset-dialog{left:8px;right:8px;top:60px;bottom:8px;width:calc(100% - 16px);min-height:0;max-height:calc(100dvh - 68px)!important;padding:16px!important}.studio-preset-dialog>header{flex-wrap:wrap;gap:12px;margin-bottom:18px}.studio-preset-dialog h2{font-size:16px;line-height:20px}.studio-preset-dialog header p{font-size:11px}.studio-preset-dialog>header>.studio-icon-button{margin-left:auto}.studio-preset-search{order:3;width:100%;height:38px}.studio-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.studio-preset-card strong{font-size:16px;line-height:20px}.studio-preset-card small{font-size:10px;line-height:14px}.studio-preset-card>span{left:10px;right:10px;bottom:10px}.studio-continue-dialog{padding:30px 24px!important}.studio-continue-dialog h2{font-size:26px;line-height:30px}}
@media(max-width:370px){.studio-brand>span{font-size:10px}.studio-header{gap:6px;padding:0 12px}.studio-account{font-size:10px}.studio-how-grid article{grid-template-columns:120px 1fr;gap:0 12px}.studio-how-grid h2{font-size:15px}}
@media(prefers-reduced-motion:reduce){.video-studio *{scroll-behavior:auto!important;transition:none!important}}

/* Local reference thumbnails and clipboard fallback. */
.studio-reference{position:relative;aspect-ratio:1;background:#16181a;border-radius:8px;overflow:hidden}.studio-reference-media{height:100%;width:100%;object-fit:cover}.studio-reference-name{position:absolute;bottom:0;left:0;right:0;font-size:9px;line-height:14px;background:#080a0cbb;padding:3px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-reference-kind{position:absolute;top:4px;left:4px;font-size:8px;line-height:14px;background:#080a0caa;padding:0 4px;border-radius:4px}.studio-reference-remove{position:absolute;top:3px;right:3px;height:22px;width:22px;border-radius:50%;background:#080a0ce0;line-height:20px;font-size:16px!important}.studio-copy-fallback{display:block;width:100%;min-height:160px;resize:vertical;border:1px solid #ffffff20;border-radius:8px;background:#202224;color:white;padding:10px;font-size:12px!important;line-height:18px!important;margin-top:12px}.studio-upload-zone.is-dragging{outline:2px solid #d1fe17;background:#d1fe1710}.studio-heading-mobile,.studio-mobile-dock,.studio-mobile-back{display:none}.studio-upload-zone small{max-width:260px;text-align:center}.has-references .studio-upload-zone{height:90px}.has-references .studio-upload-symbols{display:none}#preset-empty{padding:30px 0;color:#969a9d;text-align:center}
/* On mobile the reference opens on the explainer. The central action opens the form. */
@media(max-width:767px){.video-studio{--studio-top:97px}.video-studio.no-promo{--studio-top:53px}.studio-promo{display:flex;height:44px;padding:6px 16px;font-size:11px;line-height:15px;text-align:center}.studio-promo>span{gap:6px}.studio-promo>a,.studio-promo>button{display:none}.studio-header{height:53px}.studio-mobile-tabs{display:none}.studio-shell{height:calc(100dvh - var(--studio-top));margin:0 16px;padding-bottom:0}.studio-workspace{border:1px solid #ffffff1a;border-radius:20px;padding:0 16px;display:flex;height:100%;overflow:hidden}.studio-workspace-toolbar{height:56px;padding-top:10px}.studio-workspace-body{padding-bottom:30px}.studio-how{padding:96px 32px;min-height:0}.studio-how h1{font-size:40px;line-height:48px;margin-bottom:12px;letter-spacing:-.055em}.studio-heading-full{display:none}.studio-heading-mobile{display:inline}.studio-how>header{margin-bottom:32px}.studio-how>header>p{font-size:14px;line-height:20px}.studio-how-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.studio-how-grid article{display:block}.studio-step-art{aspect-ratio:1.3}.studio-how-grid h2{font-size:20px;line-height:28px;margin-top:14px;letter-spacing:-.05em}.studio-how-grid article>p{font-size:13px;line-height:20px;margin-top:8px;overflow-wrap:break-word}.studio-upload-outline>strong{font-size:5px;line-height:8px}.studio-upload-outline>svg{width:10px;height:10px;margin-bottom:0}.studio-upload-outline{gap:2px}.studio-floating-photo{border-radius:3px}.studio-cursor{font-size:11px;line-height:12px}.studio-step-result{padding:3px;border-radius:7px}.studio-step-result video{border-width:1px;border-radius:5px}.studio-demo-card{border-radius:4px}.studio-demo-card small{font-size:3px;line-height:5px;left:2px;bottom:2px}.studio-result-corner{border-width:1px}.studio-help{margin-top:0;height:75px;padding-bottom:10px;gap:20px}.studio-help-images{width:145px;height:80px;overflow:hidden}.studio-help-images>img{height:80px;width:90px}.studio-help-images>img:nth-child(2){left:35px}.studio-help-images>img:nth-child(3){left:70px}.studio-help>button{padding-right:0;max-width:155px}.studio-help strong{font-size:14px}.studio-help small{font-size:11px}.studio-help>button svg{display:none}.studio-mobile-dock{position:fixed;bottom:0;left:0;right:0;z-index:30;display:flex;align-items:center;justify-content:space-around;height:58px;padding:4px 10px max(5px,env(safe-area-inset-bottom));background:linear-gradient(transparent,#0f1113f5 35%);backdrop-filter:blur(8px)}.studio-mobile-dock>a{display:flex;flex-direction:column;align-items:center;gap:2px;color:#8c9093;font-size:10px;line-height:14px;min-width:44px}.studio-mobile-dock>a>svg{height:19px;width:19px;fill:#8c909311}.studio-mobile-dock>button{display:grid;place-items:center;height:44px;width:66px;border-radius:13px;background:#d1fe17;color:#111519;box-shadow:inset 0 -2px 0 #a4c507}.studio-mobile-dock>button svg{height:25px;width:25px;fill:currentColor;stroke:none}.studio-sidebar{display:none;position:fixed;top:var(--studio-top);left:0;right:0;bottom:0;height:auto;z-index:35;border-radius:20px 20px 0 0;border:1px solid #ffffff18;border-bottom:0;box-shadow:0 -20px 60px #0009}.video-studio[data-mobile-panel=create] .studio-sidebar{display:flex}.video-studio[data-mobile-panel=create] .studio-workspace{display:none}.video-studio[data-mobile-panel=create] .studio-mobile-dock{display:none}.video-studio[data-mobile-panel=examples] .studio-sidebar{display:none}.studio-mobile-back{display:grid;place-items:center;position:absolute;right:9px;top:9px;width:28px;height:28px;background:#ffffff09;border-radius:8px;z-index:2}.studio-mobile-back svg{width:14px;height:14px}.studio-workflow-tabs{padding-right:48px;gap:20px}.studio-history{padding-bottom:70px}.studio-preset-dialog{z-index:50}.studio-sidebar .studio-preset-caption strong{font-size:20px}.studio-sidebar .studio-heading-full{display:inline}}
@media(max-width:400px){.studio-how{padding-left:20px;padding-right:20px}.studio-how h1{font-size:34px;line-height:40px}.studio-how-grid{gap:18px}.studio-how-grid h2{font-size:18px;line-height:25px}.studio-how-grid article>p{font-size:12px;line-height:18px}.studio-help{gap:12px}.studio-help-images{width:115px}.studio-help>button{max-width:150px}.studio-brand>span{font-size:11px}}
