.vs-main{max-width:1320px;margin:26px auto;padding:0 28px 32px;color:var(--text-color,#f4f4f7);font-family:Inter,Arial,sans-serif}.vs-main *{box-sizing:border-box}.vs-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:21px}.vs-tag{font-size:10px;letter-spacing:1.6px;color:#c28764;font-weight:700}.vs-heading h1{font-size:27px;line-height:1.25;letter-spacing:-.7px;margin:7px 0}.vs-heading p{color:#929bad;font-size:13px;margin:0}.vs-spec{display:flex;gap:10px;align-items:center;border:1px solid #363238;border-radius:8px;background:#19171b;padding:10px 13px;white-space:nowrap;font-size:11px;color:#c5c7d0}.vs-spec i{font-style:normal;color:#66554a}.vs-workspace{display:grid;grid-template-columns:360px minmax(0,1fr);gap:20px;align-items:start}.vs-card{border:1px solid #333039;border-radius:16px;background:linear-gradient(135deg,#19171d,#121217);overflow:hidden}.vs-controls{padding:20px}.vs-section-title{display:flex;align-items:center;gap:9px}.vs-section-title h2{margin:0;font-size:14px;font-weight:650;color:#f0f0f5}.vs-step{width:22px;height:22px;display:grid;place-items:center;background:#342218;color:#ffa967;border:1px solid #66432b;border-radius:7px;font-size:11px;font-weight:700}.vs-muted{margin-left:auto;font-size:10px;color:#8b91a0}.vs-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;margin-top:14px;min-height:117px;border:1px dashed #6b4a35;border-radius:11px;background:linear-gradient(140deg,#211b19,#19161a);cursor:pointer;color:#de9561;transition:background .15s,border .15s}.vs-drop:hover,.vs-drop.drag{background:#34231a;border-color:#fb923c}.vs-drop strong{font-size:13px;font-weight:600;color:#eee7e3}.vs-drop span{font-size:11px;color:#9496a2}.vs-drop b{color:#ffad75;font-weight:500}.vs-drop:focus-within{outline:2px solid #fb923c}.vs-file{position:absolute;width:1px;height:1px;opacity:0}.vs-selection{font-size:11px;color:#b4bac8;margin:11px 0 8px}.vs-details{font-size:10px;color:#8d95a7}.vs-details summary{cursor:pointer;padding:3px 0}.vs-details p{line-height:1.6}.vs-details ul{padding-left:17px;max-height:100px;overflow:auto;line-height:1.7;overflow-wrap:anywhere}.vs-divider{height:1px;background:#2e2a32;margin:18px 0}.vs-label{display:block;font-size:11px;color:#a9afbe;margin:14px 0 7px}#vsTitle{width:100%;background:#0f1016;border:1px solid #3c3742;border-radius:8px;color:#f3f3f6;padding:10px 11px;font:inherit;font-size:12px;outline:none}#vsTitle:focus{border-color:#e88749;box-shadow:0 0 0 2px #e887491b}.vs-modes{border:0;margin:15px 0;padding:0;min-width:0}.vs-modes legend{font-size:11px;color:#a9afbe;margin-bottom:8px}.vs-modes label{display:flex;align-items:center;gap:9px;cursor:pointer;border:1px solid #37323e;border-radius:9px;padding:11px;margin-bottom:8px;color:#888fa0;background:#16151c}.vs-modes input{accent-color:#f58b43;width:13px;height:13px;margin:0;flex-shrink:0}.vs-modes label>span{flex:1}.vs-modes strong{display:block;color:#dcdeea;font-size:12px;font-weight:600}.vs-modes small{display:block;font-size:10px;color:#929aab;margin-top:4px;line-height:1.35}.vs-modes label:has(input:checked){border-color:#bb6836;background:#302017;color:#ff9d58}.vs-primary{display:flex;justify-content:center;align-items:center;gap:12px;width:100%;border:1px solid #f5955c;border-radius:9px;padding:12px 15px;color:white;background:linear-gradient(105deg,#ed762e,#c65425);font:inherit;font-size:12px;font-weight:700;cursor:pointer;text-decoration:none;box-shadow:0 4px 15px #bd54211b}.vs-primary:disabled{opacity:.42;cursor:default;box-shadow:none}.vs-primary:focus-visible,.vs-details summary:focus-visible,.vs-drop:focus-visible{outline:2px solid #ffc695;outline-offset:3px}.vs-note{font-size:10px;color:#838c9f;line-height:1.5;margin:10px 0 0}.vs-output-head{padding:17px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #302b36;min-height:66px}.vs-live-dot{width:6px;height:6px;border-radius:100%;background:#f8a66a;box-shadow:0 0 10px #f8a66a40}.vs-format{font-size:9px;letter-spacing:1px;border:1px solid #42404a;border-radius:4px;padding:3px 5px;color:#8f98ab;margin-left:5px}.vs-save{width:auto;padding:8px 12px;font-size:11px}.vs-preview{margin:18px;background:radial-gradient(ellipse at 50% 25%,#211d26 0,#0c0d13 65%);border:1px solid #302b39;border-radius:11px;aspect-ratio:1280/894;position:relative;display:grid;place-items:center;overflow:hidden;max-height:420px}.vs-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:25px}.vs-play{width:54px;height:54px;display:grid;place-items:center;border:1px solid #514033;border-radius:17px;color:#d8996b;background:#2b201d;margin-bottom:4px}.vs-empty strong{font-size:14px;color:#d1d1de;font-weight:500}.vs-empty>span{font-size:11px;line-height:1.6;color:#727d92;max-width:270px}#vsVideo{display:block;width:100%;height:100%;max-height:420px;object-fit:contain;background:#090a0e}.vs-preview:has(video:not([hidden])) .vs-empty{display:none}.vs-status{padding:0 20px 12px}#vsStatus{font-size:12px;font-weight:600;color:#cbd0df;margin:0 0 7px}#vsElapsed{font-size:10px;color:#818b9f;line-height:1.6;margin:6px 0}#vsProgress{display:block;width:100%;height:5px;accent-color:#ec8948;margin:12px 0;border-radius:6px}#vsWarnings{font-size:10px;line-height:1.6;color:#c8a88f;padding-left:16px;margin:8px 0 0;max-height:105px;overflow:auto}#vsWarnings:empty{display:none}.vs-output-foot{border-top:1px solid #2b2732;display:flex;justify-content:space-between;gap:15px;padding:12px 20px;font-size:9px;color:#747d90}.vs-output-foot>span:first-child{letter-spacing:1.2px;color:#a5917f}.vs-main [hidden]{display:none!important}[data-theme=light] .vs-card{background:#fafafa;border-color:#dedee5}[data-theme=light] .vs-heading h1,[data-theme=light] .vs-section-title h2{color:#252632}[data-theme=light] #vsTitle{background:white;color:#252632;border-color:#d0ced8}[data-theme=light] .vs-modes label{background:#f0eef4;border-color:#ddd8e4}[data-theme=light] .vs-modes strong{color:#30313e}[data-theme=light] .vs-modes label:has(input:checked){background:#fff0e5;border-color:#c87945}[data-theme=light] #vsStatus{color:#45475a}@media(min-width:1500px){.vs-main{margin-top:30px}.vs-workspace{grid-template-columns:380px minmax(0,1fr)}.vs-preview{max-height:460px}#vsVideo{max-height:460px}}@media(max-width:950px){.vs-workspace{grid-template-columns:320px minmax(0,1fr);gap:14px}.vs-main{padding:0 18px 25px}.vs-output-foot{flex-direction:column;gap:5px}.vs-heading h1{font-size:24px}.vs-spec{gap:5px;font-size:10px}}@media(max-width:760px){.vs-main{margin-top:20px;padding:0 14px 25px}.vs-heading{align-items:flex-start;flex-direction:column;gap:13px}.vs-workspace{grid-template-columns:1fr}.vs-heading h1{font-size:24px}.vs-card{border-radius:12px}.vs-preview{max-height:none}.vs-output-foot{flex-direction:row}.vs-controls{padding:18px}}
@media(min-width:761px) and (max-height:800px){.vs-main{margin-top:20px}.vs-heading{margin-bottom:16px}.vs-heading h1{font-size:24px;margin:4px 0}.vs-heading p{display:none}.vs-controls{padding:17px}.vs-drop{min-height:95px;margin-top:11px;gap:5px}.vs-divider{margin:12px 0}.vs-label{margin-top:11px}.vs-modes{margin:10px 0}.vs-modes label{padding:9px;margin-bottom:6px}.vs-note{margin-top:8px}.vs-preview{max-height:375px}#vsVideo{max-height:375px}}

/* Full-width preview stage: max-height must not shrink its automatic width. */
.vs-output{min-width:0}
.vs-preview{width:calc(100% - 36px);min-width:0;justify-self:stretch}
#vsVideo{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain}
.vs-empty{width:100%;min-width:0}

/* Video app selector: UI selection only; generation payload is unchanged. */
.vs-apps{border:0;padding:0;min-width:0;margin:14px 0 0}
.vs-apps legend{font-size:11px;color:#a9afbe;margin-bottom:8px;padding:0}
.vs-app-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.vs-app-option{position:relative;min-width:0;min-height:74px;border:1px solid #393440;border-radius:8px;background:#15141b;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;padding:10px 3px 7px;cursor:pointer;transition:border-color .15s,background .15s}
.vs-app-option input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
.vs-app-option img{display:block;width:26px;height:26px;object-fit:contain;flex:none}
.vs-app-option span{font-size:9px;font-weight:500;line-height:1.3;color:#aeb5c6;text-align:center;overflow-wrap:anywhere}
.vs-app-option:has(input:checked){border-color:#d68047;background:#302017;box-shadow:0 0 0 1px #e38b4c20}
.vs-app-option:has(input:checked) span{color:#ffc091}
.vs-app-option:has(input:focus-visible){outline:2px solid #ffc695;outline-offset:2px}
.vs-app-option:hover{border-color:#9e6742}
#vsAppHint{font-size:9px;color:#818a9d;margin:7px 0 0;line-height:1.4}
[data-theme=light] .vs-app-option{background:#f0eef4;border-color:#d9d4df}
[data-theme=light] .vs-app-option span{color:#5f6475}
[data-theme=light] .vs-app-option:has(input:checked){background:#fff0e5;border-color:#c87945}
[data-theme=light] .vs-app-option:has(input:checked) span{color:#9e471c}

.vs-import-list{list-style:none;padding:0;margin:0 0 8px;max-height:112px;overflow:auto;border:1px solid #393440;border-radius:8px}
.vs-import-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 8px;font-size:11px}
.vs-import-list li+li{border-top:1px solid #393440}
.vs-import-list li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vs-import-list button{flex:none;background:transparent;color:inherit;border:0;border-radius:4px;font-size:15px;cursor:pointer;padding:2px 7px}
.vs-import-list button:hover{background:#ad70542b}
.vs-import-hint{color:#dd9869;font-size:10px;overflow-wrap:anywhere;margin:5px 0}
.vs-import-hint:empty{display:none}
.vs-source-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.vs-source-modes label{margin-bottom:0}
