.rc-video-studio{--rc-ink:#26213a;--rc-muted:#635d77;--rc-stroke:#d8d2e4;--rc-surface:#fffdff;--rc-inset:#f6f3fa;--rc-accent:#7146cc;--rc-soft:#ece6fb;--rc-action:#6e42d0;min-width:0;height:100%;color:var(--rc-ink);background:radial-gradient(at 80% 0,#ebe1f9,#0000 58%),#f3f1f6}.dark .rc-video-studio{--rc-ink:#f4f0ff;--rc-muted:#afa9c3;--rc-stroke:#3b354e;--rc-surface:#171520;--rc-inset:#100f18;--rc-accent:#c2a2ff;--rc-soft:#322445;--rc-action:#7650d6;background:radial-gradient(65% 48% at 88% 0,#231836 0%,#0000 92%),#0c0b12}.rcv-workspace{align-content:start;align-items:start;gap:clamp(.7rem,1.25vw,1.25rem);max-width:1720px;height:100%;margin-inline:auto;padding:clamp(.7rem,1.5vw,1.65rem);display:grid;overflow:auto}.rcv-workspace>*,.rcv-panel,.rcv-results{min-width:0}.rcv-panel{background:var(--rc-surface);border:1px solid var(--rc-stroke);border-radius:18px;box-shadow:0 8px 25px -22px #16102080}.rcv-editor__header,.rcv-panel-head,.rcv-submit{padding:15px clamp(14px,1.5vw,24px)}.rcv-editor__header h1,.rcv-panel-head h2{letter-spacing:-.03em;color:var(--rc-ink);align-items:center;gap:.55rem;margin:0;font-size:clamp(1.05rem,1.35vw,1.4rem);font-weight:650;line-height:1.2;display:flex}.rcv-editor__header h1 svg,.rcv-panel-head>span>svg,.rcv-history-icon{color:var(--rc-accent)}.rcv-editor__header{border-bottom:1px solid var(--rc-stroke)}.rcv-editor__scroll{padding:11px clamp(14px,1.5vw,24px)}.rcv-editor__scroll>*+*{margin-top:.7rem}.rcv-section{min-width:0}.rcv-section>div:first-child{align-items:center;gap:.4rem;padding:0 0 .45rem;font-size:.84rem;font-weight:650;display:flex}.rcv-section+.rcv-section{margin-top:.6rem}.rc-video-studio .ant-btn-sm{box-shadow:none}.rc-video-studio .ant-btn-primary:not(:disabled){background:var(--rc-action);color:#fff;border-color:#0000}.rc-video-studio .ant-btn-primary:not(:disabled):hover{background:#885ddb}.rc-video-studio .ant-switch-checked{background:var(--rc-action)}.rc-video-studio .rcv-prompt{resize:vertical;background:var(--rc-inset);border:1px solid var(--rc-stroke);width:100%;color:var(--rc-ink);border-radius:12px;padding:.75rem .85rem;line-height:1.65;display:block}.rc-video-studio .rcv-prompt:is(:focus,:hover){border-color:var(--rc-accent)}.rc-video-studio .rcv-prompt:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--rc-accent) 15%,transparent)}.rc-video-studio .rcv-prompt::placeholder{color:var(--rc-muted)}.rcv-prompt-tools{flex-wrap:wrap;gap:.25rem;margin-top:.35rem;display:flex}.rcv-prompt-tools .ant-btn,.rcv-reference-shelf .ant-btn{color:var(--rc-muted);background:0 0;border-color:#0000}.rcv-submit{border-top:1px solid var(--rc-stroke)}.rcv-submit .ant-btn{border-radius:11px;min-height:42px}.rcv-frames{border-block:1px solid var(--rc-stroke);padding-block:.4rem;font-size:.82rem}.rcv-frames summary{cursor:pointer;align-items:center;gap:.55rem;font-weight:580;display:flex}.rcv-frames summary span{color:var(--rc-muted);font-variant-numeric:tabular-nums;font-size:.72rem}.rcv-frames summary svg{margin-left:auto}.rcv-frames[open] summary{margin-bottom:.55rem}.rcv-frames[open] summary svg{transform:rotate(180deg)}.rcv-layout-switch{border:1px solid var(--rc-stroke);background:var(--rc-inset);border-radius:9px;flex-shrink:0;gap:2px;padding:3px;display:flex}.rcv-reference-shelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.3rem,.55vw,.65rem);display:grid}.rcv-ref-slot{border:1px solid var(--rc-stroke);background:var(--rc-inset);border-radius:11px;flex-direction:column;gap:.6rem;min-width:0;padding:clamp(.4rem,.65vw,.75rem);display:flex}.rcv-ref-slot header,.rcv-ref-slot header span,.rcv-ref-actions{align-items:center;gap:.25rem;display:flex}.rcv-ref-slot header{flex-wrap:wrap;justify-content:space-between;row-gap:0}.rcv-ref-slot header span:first-child{white-space:nowrap;font-size:.78rem;font-weight:570}.rcv-ref-slot header span:first-child svg{color:var(--rc-accent);flex:none}.rcv-ref-slot header span:last-child{color:var(--rc-muted);font-variant-numeric:tabular-nums;font-size:.74rem}.rcv-ref-slot :is(.hover-scrollbar,audio){max-width:100%}.rcv-ref-slot .hover-scrollbar{border:0;padding:.2rem}.rcv-ref-slot .group:focus-within>button{display:flex}.rcv-ref-actions{flex-wrap:wrap;gap:.15rem;margin-top:auto}.rcv-ref-actions button{cursor:pointer;min-width:24px;min-height:26px;color:var(--rc-muted);border-radius:.35rem;justify-content:center;align-items:center;gap:.15rem;font-size:.72rem;display:inline-flex}.rcv-ref-actions button:first-child{color:var(--rc-accent);margin-right:auto;padding:0 .2rem}.rcv-ref-actions button:hover:not(:disabled){background:var(--rc-soft)}.rcv-ref-actions button:disabled{opacity:.4;cursor:default}.rcv-dock-main{gap:1rem;display:grid}.rcv-dock-main>.rcv-reference-shelf{align-content:center}.rcv-dock-prompt{gap:.4rem;min-width:0;display:grid}.rcv-dock-prompt>label{font-size:.83rem;font-weight:600}.rcv-panel-head h2 svg{color:var(--rc-accent)}.rcv-history-jump{display:none}.rcv-upload-note{color:var(--rc-muted);font-size:.72rem;line-height:1.5}.rcv-results{flex-direction:column;gap:.85rem;display:flex}.rcv-panel-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.rcv-panel-head>span{align-items:center;gap:.5rem;display:inline-flex}.rcv-panel-head select{border:1px solid var(--rc-stroke);background:var(--rc-inset);max-width:min(100%,16rem);color:var(--rc-ink);border-radius:7px;padding:.2rem .4rem;font-size:.78rem}.rcv-preview{background:linear-gradient(120deg, color-mix(in srgb,var(--rc-accent) 7%,var(--rc-surface)), var(--rc-surface))}.rcv-screen{aspect-ratio:16/9;background:var(--rc-inset);border-radius:11px;margin:0 clamp(.65rem,1.2vw,1.2rem) clamp(.65rem,1.2vw,1.2rem);position:relative;overflow:hidden}.rcv-screen video{object-fit:contain;background:#0c0b12;width:100%;height:100%;display:block}.rcv-history{padding:0 clamp(.7rem,1.2vw,1.2rem) clamp(.7rem,1.2vw,1.2rem)}.rcv-history .rcv-panel-head{padding-inline:0}.rcv-history-empty{min-height:5.5rem;color:var(--rc-muted);border:1px dashed var(--rc-stroke);border-radius:10px;justify-content:center;align-items:center;gap:.6rem;font-size:.85rem;display:flex}.rcv-dock{min-width:0}.rcv-dock__body{background:linear-gradient(140deg, color-mix(in srgb,var(--rc-accent) 8%,var(--rc-surface)),var(--rc-surface));padding:clamp(.8rem,1.4vw,1.4rem)}.rc-video-studio [type=button]:focus-visible,.rc-video-studio summary:focus-visible{outline:2px solid var(--rc-accent);outline-offset:2px}@media (min-width:1024px){.rcv-workspace{align-content:stretch;align-items:stretch;overflow:hidden}[data-layout=side] .rcv-workspace{grid-template-columns:minmax(380px,.78fr) minmax(0,1.22fr)}.rcv-editor{flex-direction:column;min-height:0;display:flex}.rcv-editor__scroll{flex:1;min-height:0;overflow:auto}.rcv-results{min-height:0;overflow:auto}.rcv-results>*{flex:none}.rcv-dock-main:has(.rcv-reference-shelf){grid-template-columns:minmax(18rem,.75fr) minmax(0,1.25fr)}.rcv-dock-settings{grid-template-columns:minmax(10.5rem,1.5fr) repeat(auto-fit,minmax(5.5rem,1fr));align-items:end}.rc-video-studio .rcv-generate-desktop{display:inline-flex}.rc-video-studio .rcv-generate-mobile{display:none}[data-layout=bottom] .rcv-workspace{grid-template-rows:minmax(10rem,1fr) auto}[data-layout=bottom] .rcv-preview{flex-direction:column;height:100%;max-height:48rem;display:flex}[data-layout=bottom] .rcv-screen{flex:1;min-height:0}[data-layout=bottom] .rcv-history-jump{color:var(--rc-accent);cursor:pointer;align-items:center;gap:.25rem;margin-left:auto;font-size:.8rem;display:inline-flex}.rc-video-studio .rcv-dock-settings-toggle{display:none}[data-layout=bottom] .rcv-dock{max-height:42dvh;overflow:auto}}@media (max-width:1023px){.rcv-dock,.rcv-dock-prompt{order:-1}.rc-video-studio .rcv-generate-desktop{display:none}.rc-video-studio .rcv-generate-mobile{display:inline-flex}.rcv-history .rcv-panel-head .ant-btn-sm{padding-inline:.4rem}}@media (max-width:430px){.rcv-editor__header,.rcv-panel-head,.rcv-submit{padding:.75rem}.rcv-ref-slot header{flex-direction:column;align-items:start}.rcv-ref-actions button:first-child{flex:1 0 100%;justify-content:start}}@media (hover:none){.rc-video-studio .rcv-ref-slot .group>button{display:flex}}.rcv-creative{--studio-gap:clamp(.85rem, 1.45vw, 1.5rem);width:100%;max-width:120rem;height:100%;padding:var(--studio-gap);align-content:start;gap:var(--studio-gap);overscroll-behavior-y:contain;color:var(--rc-ink);background:linear-gradient(155deg, var(--rc-inset), color-mix(in srgb, var(--rc-soft) 52%, var(--rc-surface)));grid-template-columns:minmax(0,1fr);grid-auto-rows:max-content;margin-inline:auto;display:grid;overflow-y:auto}.rcv-creative__preview{isolation:isolate;background:var(--rc-inset);min-width:0;height:clamp(13rem,40dvh,34rem);box-shadow:inset 0 0 0 1px var(--rc-stroke);border-radius:clamp(.8rem,1.1vw,1.25rem);place-items:center;display:grid;position:relative;overflow:hidden}.rcv-creative__preview video{object-fit:contain;background:#15131b;width:100%;height:100%;min-height:0;display:block}.rcv-creative__empty{text-align:center;width:100%;height:100%;color:var(--rc-muted);background:radial-gradient(ellipse at 50% 85%, color-mix(in srgb, var(--rc-soft) 65%, transparent), transparent 68%);flex-direction:column;justify-content:center;align-items:center;gap:.65rem;font-size:.88rem;display:flex}.rcv-creative__empty>svg{color:var(--rc-accent);stroke-width:1.4px;width:1.8rem;height:1.8rem}.rcv-creative__preview-picker{z-index:1;border:1px solid var(--rc-stroke);max-width:calc(100% - 1.5rem);color:var(--rc-ink);background:var(--rc-surface);border-radius:.55rem;padding:.4rem .6rem;position:absolute;inset:.75rem .75rem auto auto}.rcv-creative__status{z-index:1;background:var(--rc-surface);max-width:calc(100% - 1.5rem);color:var(--rc-accent);cursor:pointer;border-radius:.6rem;align-items:center;gap:.4rem;padding:.4rem .7rem;font-size:.82rem;display:inline-flex;position:absolute;inset:.75rem auto auto .75rem}.rcv-creative .rcv-composer{border:1px solid color-mix(in srgb, var(--rc-stroke) 76%, var(--rc-accent));background:var(--rc-surface);min-width:0;box-shadow:0 12px 34px -28px var(--rc-action);border-radius:clamp(1rem,1.65vw,1.65rem);padding:clamp(.75rem,1.4vw,1.4rem)}.rcv-composer__header{border-bottom:1px solid var(--rc-stroke);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem 1rem;padding-bottom:.65rem;display:flex}.rcv-mode-list{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.rcv-mode-list button{min-height:2.65rem;color:var(--rc-muted);cursor:pointer;background:0 0;border:0;border-radius:.72rem;justify-content:center;align-items:center;gap:.5rem;padding:.5rem clamp(.5rem,1.45vw,1.4rem);font-size:clamp(.92rem,1.15vw,1.12rem);font-weight:570;display:inline-flex;position:relative}.rcv-mode-list button svg{flex-shrink:0;width:1.1em;height:1.1em}.rcv-mode-list button:enabled:hover{background:var(--rc-inset);color:var(--rc-ink)}.rcv-mode-list button[aria-pressed=true],.rcv-mode-list button[aria-pressed=true]:enabled:hover{color:var(--rc-accent);background:var(--rc-soft);font-weight:650}.rcv-mode-list button[aria-pressed=true]:after{content:"";background:var(--rc-accent);border-radius:3px;height:3px;position:absolute;inset:auto .2rem -.7rem}.rcv-mode-list button:disabled{opacity:.5;cursor:not-allowed}.rcv-composer__model{width:clamp(11rem,20vw,18rem);min-width:0;margin-left:auto}.rcv-composer__model button{border:1px solid var(--rc-stroke);background:var(--rc-surface);border-radius:.75rem;width:100%;min-height:2.75rem}.rcv-composer__body{grid-template-columns:minmax(0,1fr);gap:clamp(.65rem,1.1vw,1rem);margin-block:clamp(.85rem,1.65vw,1.5rem);display:grid}.rcv-composer__body:has(>.rcv-composer__media){grid-template-columns:minmax(0,.95fr) minmax(0,1.25fr)}.rcv-composer__media,.rcv-composer__prompt{min-width:0}.rcv-composer__frames{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:.5rem;height:100%;display:grid}.rcv-composer__media .rcv-reference-shelf{align-items:stretch;gap:.5rem;height:100%}.rcv-composer__media .rcv-ref-slot{background:linear-gradient(150deg, var(--rc-surface), var(--rc-inset));border-radius:.85rem;justify-content:space-between;min-height:7.5rem}.rcv-composer__media .rcv-ref-slot .hover-scrollbar{scrollbar-width:thin;min-height:0}.rcv-composer__media .rcv-ref-slot .hover-scrollbar>.group{width:100%;height:clamp(4rem,7.5dvh,7rem)}.rcv-composer__media .rcv-ref-actions button{min-width:1.85rem;min-height:1.85rem}.rcv-composer__media .group:focus-within>button{display:flex}.rcv-composer__prompt{flex-direction:column;gap:.35rem;display:flex}.rcv-composer__prompt>label{font-size:.85rem;font-weight:600}.rcv-composer__prompt textarea.rcv-prompt{border:1px solid var(--rc-stroke);background:var(--rc-surface);min-height:clamp(6.5rem,14dvh,11.5rem);color:var(--rc-ink);border-radius:.85rem;flex:1;padding:.8rem 1rem;font-size:1rem}.rcv-composer__prompt textarea.rcv-prompt:focus{border-color:var(--rc-accent)}.rcv-composer__more{color:var(--rc-muted);margin:-.45rem 0 .6rem;font-size:.8rem}.rcv-composer__more summary{cursor:pointer;border-radius:.5rem;align-items:center;gap:.4rem;padding:.35rem .4rem;font-weight:550;list-style:none;display:inline-flex}.rcv-composer__more summary::-webkit-details-marker{display:none}.rcv-composer__more summary:hover,.rcv-composer__more[open] summary{color:var(--rc-accent);background:var(--rc-soft)}.rcv-composer__notice{color:var(--rc-accent);margin:0 0 .65rem;padding-inline:.3rem;font-size:.81rem;line-height:1.5}.rcv-composer__footer{border:1px solid var(--rc-stroke);background:var(--rc-surface);border-radius:1rem;flex-wrap:wrap;align-items:center;gap:.65rem;padding:.55rem;display:flex}.rcv-composer__params{flex:1;grid-template-columns:repeat(auto-fit,minmax(min(10rem,100%),1fr));align-items:start;gap:.55rem;min-width:0;display:grid}.rcv-composer__params>*{min-width:0}.rcv-composer__params label:has(>select){border:1px solid var(--rc-stroke);min-height:2.7rem;color:var(--rc-ink);background:var(--rc-surface);white-space:nowrap;border-radius:.68rem;align-items:center;gap:.4rem;padding-inline:.65rem;font-size:.9rem;display:flex}.rcv-composer__params label:focus-within{border-color:var(--rc-accent)}.rcv-composer__params label>select{background:var(--rc-surface);width:100%;min-width:0;height:2.55rem;color:var(--rc-ink);cursor:pointer;border:0;flex:1;padding-inline:.2rem;font-size:.94rem}.rcv-composer__params select:disabled{color:var(--rc-muted);cursor:default}.rcv-creative .rcv-composer__generate{border-radius:.72rem;justify-content:center;align-items:center;gap:.45rem;min-width:9.5rem;min-height:2.85rem;padding-inline:1.3rem;font-size:1rem;font-weight:650;display:inline-flex}.rcv-creative .rcv-composer__generate:not(:disabled){color:#fff;background:linear-gradient(115deg,#7140df,#6136c7);border-color:#0000}.rcv-creative .rcv-composer__generate:not(:disabled):hover{background:#6434ce}.rcv-creative .rcv-composer__generate:disabled{cursor:not-allowed;color:var(--rc-muted);background:var(--rc-soft)}@media (min-width:761px) and (max-height:760px){.rcv-creative__preview{height:clamp(8rem,24dvh,12rem)}}@media (min-width:461px){.rcv-composer__media .rcv-reference-shelf:has(audio){grid-template-columns:repeat(2,minmax(0,1fr)) minmax(10.5rem,1fr)}}@media (max-width:760px){.rcv-creative{gap:.75rem;padding:.75rem}.rcv-creative__preview{aspect-ratio:16/9;height:auto;max-height:38dvh}.rcv-composer__body:has(>.rcv-composer__media){grid-template-columns:minmax(0,1fr)}.rcv-mode-list{flex:100%;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.rcv-mode-list button{gap:.3rem;padding-inline:.15rem;font-size:.85rem}.rcv-mode-list button[aria-pressed=true]:after{bottom:0}.rcv-composer__model{width:100%}.rcv-composer__params{flex-basis:100%}.rcv-creative .rcv-composer__generate{width:100%}}@media (max-width:460px){.rcv-composer__params{grid-template-columns:repeat(3,minmax(0,1fr))}.rcv-composer__params label:has(>select){flex-direction:column;align-items:stretch;gap:0;padding:.35rem .55rem 0;font-size:.74rem}.rcv-composer__params label>select{flex:none;height:1.85rem;padding:0}.rcv-mode-list button{font-size:.78rem}.rcv-composer__media .rcv-ref-actions{justify-content:space-between}.rcv-composer__media .rcv-reference-shelf:has(audio){grid-template-columns:repeat(2,minmax(0,1fr))}.rcv-composer__media .rcv-ref-slot:has(audio){grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;min-height:auto;display:grid}.rcv-composer__media .rcv-ref-slot:has(audio) header{flex-direction:row;justify-content:start;align-items:center;gap:.4rem}.rcv-composer__media .rcv-ref-slot:has(audio) .hover-scrollbar{grid-area:2/1/auto/-1}.rcv-composer__media .rcv-ref-slot:has(audio) .rcv-ref-actions{flex-wrap:nowrap;grid-area:1/2}.rcv-composer__media .rcv-ref-slot:has(audio) .rcv-ref-actions button{flex:none}}@media (max-width:370px){.rcv-mode-list button{white-space:nowrap;flex-direction:column;gap:.15rem}}
