.scenario-feature-shell{display:grid;grid-gap:14px;gap:14px;min-height:0;overflow-y:auto;padding-bottom:10px}.scenario-layout{display:grid;grid-gap:12px;gap:12px}.scenario-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px;padding:8px;border-radius:14px}.scenario-step-item{position:relative;display:inline-flex;align-items:center;gap:8px;border:1px solid #2b4470;border-radius:10px;background:rgba(12,24,46,.8);color:#9fb2d6;padding:10px 12px;font-weight:700;justify-content:flex-start}.scenario-step-index{width:24px;height:24px;border-radius:999px;border:1px solid rgba(149,188,255,.42);display:grid;place-items:center;font-size:12px;flex:0 0 auto}.scenario-step-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scenario-step-item.is-done{border-color:rgba(61,219,154,.42);color:#bbf7d0;background:rgba(17,70,45,.24)}.scenario-step-item.is-current{border-color:rgba(149,188,255,.68);color:#ffffff;background:linear-gradient(135deg,rgba(110,46,215,.86),rgba(199,55,155,.8))}.scenario-step-item.is-current .scenario-step-index{border-color:rgba(255,255,255,.75)}.scenario-step-item.is-locked{opacity:.88}.scenario-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);grid-gap:14px;gap:14px;min-height:0}.scenario-form,.scenario-side{display:grid;grid-gap:12px;gap:12px;align-content:start}.scenario-section-head{display:grid;grid-gap:4px;gap:4px}.scenario-section-head h2,.scenario-section-head h3{margin:0}.scenario-section-head p{margin:0;color:var(--muted);font-size:13px}.scenario-upload-block{display:grid;grid-gap:8px;gap:8px}.scenario-upload-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.scenario-upload-head span{color:var(--muted);font-size:13px}.scenario-upload-head small{color:#8fb4ff;font-size:12px}.scenario-file-picker{display:grid;grid-gap:8px;gap:8px;border:1px dashed #314e7d;border-radius:12px;background:rgba(12,24,46,.52);padding:10px}.scenario-file-picker.is-invalid{border-color:rgba(255,95,127,.6);background:rgba(84,21,36,.2)}.scenario-file-picker input[type=file]{border:0;background:transparent;padding:0}.scenario-file-name{color:#a8bfd7;font-size:12px}.scenario-upload-error{margin:0;color:#ffd2dc;font-size:12px}.scenario-video-preview{border:1px solid rgba(56,86,137,.64);border-radius:12px;background:#08142a;overflow:hidden}.scenario-video-preview video{width:100%;max-height:240px;display:block;object-fit:contain}.scenario-submit{width:100%;min-height:52px;border-radius:12px;font-size:17px}.scenario-error{margin:0;border:1px solid rgba(255,95,127,.36);border-radius:10px;background:rgba(84,21,36,.28);color:#ffd2dc;padding:10px 12px}.scenario-control-card{display:grid;grid-gap:10px;gap:10px;border:1px solid rgba(56,86,137,.5);border-radius:12px;background:rgba(10,20,40,.72);padding:10px}.scenario-chip-group{display:grid;grid-gap:8px;gap:8px}.scenario-chips{display:flex;flex-wrap:wrap;gap:8px}.scenario-chip{min-width:46px;border:1px solid #35578f;border-radius:12px;background:rgba(12,24,46,.76);color:#c7d5ec;padding:8px 10px;font-weight:700}.scenario-chip.active{border-color:rgba(149,188,255,.72);background:linear-gradient(135deg,rgba(110,46,215,.85),rgba(199,55,155,.72));color:#ffffff}.scenario-select-grid{display:grid;grid-gap:10px;gap:10px}.scenario-result-box{display:grid;grid-gap:8px;gap:8px;min-height:130px;border:1px solid rgba(56,86,137,.64);border-radius:12px;background:rgba(8,18,36,.8);padding:12px}.scenario-result-box.is-loading{border-color:rgba(244,190,79,.5)}.scenario-result-box.is-ready{border-color:rgba(61,219,154,.5)}.scenario-result-box.is-error{border-color:rgba(255,95,127,.5)}.scenario-result-box p{margin:0;color:#9fb2d6}.scenario-loading-inline{display:flex;align-items:center;gap:8px}.scenario-ready{display:grid;grid-gap:10px;gap:10px}.scenario-ready strong{color:#e7efff}.scenario-ready ul{margin:0;padding-left:18px;display:grid;grid-gap:8px;gap:8px;color:#cddbf3}.scenario-script-panel{display:grid;grid-gap:12px;gap:12px}.scenario-script-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.scenario-script-head h3,.scenario-script-item h4{margin:0}.scenario-script-head p{margin:4px 0 0;color:var(--muted);font-size:13px}.scenario-script-actions{display:flex;align-items:center;gap:8px}.scenario-script-item{border:1px solid rgba(56,86,137,.56);border-radius:12px;background:rgba(9,20,44,.86);display:grid;grid-gap:6px}.scenario-script-item-head{justify-content:space-between}.scenario-script-item-head,.scenario-script-item-meta{display:flex;align-items:center;gap:8px}.scenario-script-item p{margin:0;color:#d8e6ff;line-height:1.45}.scenario-script-item textarea{min-height:120px;border-radius:10px;background:#0a1426}.scenario-script-actions .badge{min-width:72px;justify-content:center}.scenario-editor-panel{width:80%;margin:0 auto;gap:14px;border-color:rgba(84,119,183,.45);background:radial-gradient(circle at 10% -20%,rgba(77,109,189,.2),transparent 40%),radial-gradient(circle at 100% 0,rgba(109,56,179,.12),transparent 36%),linear-gradient(180deg,rgba(11,20,46,.95),rgba(8,15,33,.95))}@media (max-width:1200px){.scenario-editor-panel{width:92%}}@media (max-width:900px){.scenario-editor-panel{width:100%}}.scenario-editor-panel .scenario-script-item h4{font-size:24px;letter-spacing:0;color:#f2f6ff}.scenario-editor-panel .scenario-script-item-head p{margin-top:5px}.scenario-editor-panel textarea:focus-visible{border-color:#5a8de3;box-shadow:0 0 0 2px rgba(90,141,227,.18);outline:none}.scenario-editor-panel button:hover:not(:disabled){border-color:#4f79b8}.scenario-editor-panel button:disabled{opacity:.45}.scenario-editor-footer-sticky{position:-webkit-sticky;position:sticky;bottom:0;z-index:2;padding-top:10px;background:linear-gradient(180deg,rgba(8,15,33,0),rgba(8,15,33,.95) 35%)}.scenario-editor-footer-sticky .primary-cta{min-height:44px;border-radius:10px}.scenario-editor-footer-sticky button{min-height:44px}.scenario-editor-inline-actions .badge{border-color:rgba(90,141,227,.5);background:rgba(12,24,46,.85)}.scenario-editor-scene-card{box-shadow:0 12px 26px rgba(0,0,0,.18)}.scenario-editor-item{border-radius:14px;background:#0c1530}.scenario-editor-item,.scenario-editor-item:hover{border-color:rgba(71,104,161,.7)}.scenario-editor-item .scenario-script-item-head{padding-bottom:2px;border-bottom:1px solid rgba(38,60,97,.7)}.scenario-editor-item .scenario-script-item-head h4{font-size:22px;font-weight:700;color:#eef4ff}.scenario-editor-item .scenario-script-item-head p{margin:6px 0 0;color:#31c6ee}.scenario-editor-label>span{color:#ff8f4d;letter-spacing:.03em}.scenario-editor-label textarea{min-height:74px;background:#070c16;border:1px solid #27406c;border-radius:8px;color:#f2f6ff;padding:10px 12px;line-height:1.42}.scenario-editor-label textarea::placeholder{color:#8298bf}.scenario-editor-camera{color:#8da3c8;line-height:1.45}.scenario-editor-preview-box{height:170px;border:1px solid #2a436f;border-radius:10px;background:#060b15}.scenario-editor-mini-btn{min-height:29px;border:1px solid #305182;background:#0d1b35;color:#cfe0ff}.scenario-editor-mini-btn:disabled{opacity:.45}.scenario-editor-inline-actions{gap:10px}.scenario-editor-inline-actions .badge{border-color:#3b5f93;background:#0d1b35;color:#d7e5ff}.scenario-editor-footer-sticky{border-top:1px solid rgba(43,68,112,.65);padding-top:12px}.scenario-editor-footer-sticky button{min-height:42px;border-radius:10px}.scenario-editor-footer-sticky .primary-cta{box-shadow:none}@media (max-width:900px){.scenario-editor-item .scenario-script-item-head h4{font-size:20px}.scenario-editor-preview-box{height:180px}}@media (max-width:620px){.scenario-editor-item .scenario-script-item-head h4{font-size:18px}.scenario-editor-preview-box{height:160px}.scenario-editor-footer-sticky button{width:100%}}.scenario-editor-content-col{gap:4px;margin-top:-2px}.scenario-editor-item .scenario-script-item-head{padding-bottom:0;margin-bottom:-2px}.scenario-script-item-head{padding:0}.scenario-editor-content-col .scenario-script-item-head{min-height:0}.scenario-editor-item .scenario-script-item-head h4{font-size:14px;font-weight:800}.scenario-editor-item .scenario-script-item-head p{margin:1px 0 0;color:#47d3ff;font-size:13px;font-weight:600;line-height:1.2}.scenario-editor-label{gap:4px}.scenario-editor-label>span{font-weight:800;letter-spacing:.04em}.scenario-editor-label textarea{border-radius:9px;color:#f3f7ff}.scenario-editor-label textarea::placeholder{color:#7f96bd}.scenario-editor-camera{color:#93a9cf;line-height:1.5}.scenario-editor-preview-box{height:176px}.scenario-editor-mini-btn{min-height:30px;font-weight:700;color:#d7e5ff}.scenario-editor-mini-btn:disabled{opacity:.4}.scenario-editor-inline-actions{justify-content:flex-start;align-items:center}.scenario-editor-inline-actions .badge{min-height:30px;padding-inline:12px}.scenario-editor-footer-sticky{border-top:1px solid rgba(56,86,137,.34);margin-top:4px}.scenario-editor-footer-sticky button{min-width:180px;font-weight:700}.scenario-editor-footer-sticky .primary-cta{box-shadow:0 10px 22px rgba(166,68,255,.28)}@media (max-width:900px){.scenario-editor-item .scenario-script-item-head h4{font-size:22px}.scenario-editor-preview-box{height:190px}}@media (max-width:620px){.scenario-editor-item .scenario-script-item-head h4{font-size:20px}.scenario-editor-preview-box{height:170px}.scenario-editor-footer-sticky button{width:100%}}.scenario-editor-mini-btn{border-color:#345888;background:rgba(10,20,40,.85)}.scenario-editor-mini-btn:hover:not(:disabled){border-color:#5a8de3;background:rgba(18,33,66,.95)}@media (prefers-reduced-motion:reduce){.scenario-editor-panel button,.scenario-editor-panel textarea{transition:none!important}}@media (max-width:900px){.scenario-editor-panel .scenario-script-item h4{font-size:20px}}.scenario-script-modal-backdrop{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:20px;background:rgba(2,8,20,.68)}.scenario-script-modal{width:min(980px,calc(100vw - 40px));max-height:calc(100vh - 40px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-gap:12px;gap:12px;padding:16px;border-radius:14px;border-color:rgba(80,120,190,.6);background:linear-gradient(180deg,#0b1630,#081127)}.scenario-script-modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.scenario-script-modal-head h3{margin:0;font-size:24px}.scenario-script-modal-input{min-height:420px;height:100%;resize:vertical;border-radius:10px;border:1px solid #325488;background:#050b17;color:#eef4ff;padding:12px 14px;line-height:1.5}.scenario-script-modal-actions{justify-content:flex-end}.scenario-script-modal-actions button{min-width:120px;min-height:40px}@media (max-width:900px){.scenario-script-modal{width:min(860px,calc(100vw - 24px));max-height:calc(100vh - 24px);padding:12px}.scenario-script-modal-input{min-height:320px}}@media (max-width:620px){.scenario-editor-footer-sticky{position:static;padding-top:0;background:transparent}.scenario-script-modal-backdrop{padding:10px}.scenario-script-modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px);border-radius:12px}.scenario-script-modal-head h3{font-size:20px}.scenario-script-modal-input{min-height:240px}}.scenario-editor-topbar{display:grid;grid-gap:10px;gap:10px;border:1px solid rgba(56,86,137,.64);border-radius:12px;background:rgba(8,18,36,.86);padding:10px}.scenario-editor-topbar-grid{grid-template-columns:repeat(3,minmax(0,176px));justify-content:center;align-items:center;gap:10px}.scenario-editor-stepbar button{min-height:36px;border-radius:999px;border:1px solid rgba(66,93,139,.75);background:rgba(24,37,70,.65);color:#9ab2dc;font-size:13px;font-weight:700;padding:0 12px}.scenario-editor-stepbar .primary-cta{border-color:rgba(76,225,255,.65);background:rgba(27,83,140,.5);color:#71e9ff;box-shadow:inset 0 0 0 1px rgba(76,225,255,.25)}.scenario-editor-topbox-single{width:100%;margin:0 auto;min-height:56px;display:grid;place-items:center}.scenario-editor-topbox-single strong{font-size:34px;letter-spacing:0}.scenario-editor-topbar-grid .scenario-editor-topbox{min-height:56px;padding:10px 12px}.scenario-editor-topbar-grid .scenario-editor-topbox strong{font-size:22px;line-height:1.2}.scenario-editor-topbar-grid .scenario-editor-topbox-single strong{font-size:22px;letter-spacing:0}@media (max-width:900px){.scenario-editor-topbar-grid .scenario-editor-topbox,.scenario-editor-topbar-grid .scenario-editor-topbox-single{min-height:52px}.scenario-editor-topbar-grid .scenario-editor-topbox strong,.scenario-editor-topbar-grid .scenario-editor-topbox-single strong{font-size:20px}}@media (max-width:620px){.scenario-editor-topbar-grid .scenario-editor-topbox,.scenario-editor-topbar-grid .scenario-editor-topbox-single{min-height:48px}.scenario-editor-topbar-grid .scenario-editor-topbox strong,.scenario-editor-topbar-grid .scenario-editor-topbox-single strong{font-size:18px}}@media (max-width:900px){.scenario-editor-topbox-single strong{font-size:24px}}@media (max-width:620px){.scenario-editor-topbox-single{min-height:62px}.scenario-editor-topbox-single strong{font-size:20px}}.scenario-editor-topbox{border:1px solid #1f3259;border-radius:10px;background:linear-gradient(180deg,#090f1d,#060b15);padding:11px 12px;display:grid;grid-gap:3px;gap:3px;justify-items:center}.scenario-editor-topbox small{color:#9ab2dc;font-size:10px;letter-spacing:.06em}.scenario-editor-topbox strong{color:#f3f7ff;font-size:16px;line-height:1.2}.scenario-editor-topbox span{color:#8ea7d6;font-size:11px}.scenario-editor-topbox:hover{border-color:#3b5f93}.scenario-editor-topbox:hover strong{color:#ffffff}.scenario-editor-topbox.is-active{border-color:#ff9a60;background:linear-gradient(180deg,rgba(255,154,96,.2),rgba(255,154,96,.1));box-shadow:inset 0 0 0 1px rgba(255,154,96,.25)}.scenario-editor-topbox.is-active strong{color:#ffb184}.scenario-editor-topbox.is-active:hover{border-color:#ffb184}.scenario-editor-topbox.is-active:hover strong{color:#ffd2b6}.scenario-editor-item{background:#0b1530;border-color:rgba(56,86,137,.44)}.scenario-editor-scene-card{display:grid;grid-template-columns:minmax(0,15%) minmax(0,85%);grid-gap:10px;gap:10px}.scenario-editor-preview-col{display:grid;align-content:start;grid-gap:8px;gap:8px}.scenario-editor-preview-box{height:260px;border:1px solid #233a64;border-radius:12px;background:#050913;display:grid;grid-template-columns:1fr;grid-gap:8px;color:#8ea7d6;font-size:12px;overflow:hidden}.scenario-editor-preview-box--split{grid-template-columns:1fr 1fr}.scenario-editor-preview-box:not(.scenario-editor-preview-box--split) .scenario-reference-upload{display:none}.scenario-editor-preview-box:not(.scenario-editor-preview-box--split) .scenario-preview-main-half{width:100%}.scenario-editor-preview-box:not(.scenario-editor-preview-box--split) .scenario-preview-main-half .scenario-editor-preview-image,.scenario-editor-preview-box:not(.scenario-editor-preview-box--split) .scenario-preview-main-half .scenario-empty-preview{width:100%;height:100%}.scenario-editor-preview-box--split .scenario-reference-upload{display:block}.scenario-editor-preview-box--split .scenario-reference-upload-preview{width:100%;height:100%}.scenario-editor-preview-box--split .scenario-preview-main-half,.scenario-editor-preview-box--split .scenario-reference-upload-preview{aspect-ratio:9/16;height:100%}@media (max-width:620px){.scenario-editor-preview-box--split{grid-template-columns:1fr}}.scenario-editor-preview-box>*{border-radius:10px}.scenario-preview-main-half,.scenario-reference-upload-preview{aspect-ratio:9/16;height:100%}.scenario-preview-main-half{justify-self:stretch;align-self:stretch}.scenario-preview-main-half .scenario-empty-preview,.scenario-reference-upload .scenario-empty-preview{display:grid;place-items:center}.scenario-preview-main-half .scenario-editor-preview-image,.scenario-reference-upload-image{width:100%;height:100%;object-fit:cover}.scenario-preview-main-half,.scenario-reference-upload-preview{border:1px solid rgba(86,122,186,.8)}.scenario-reference-upload{min-height:0;height:100%;display:block}.scenario-reference-upload-preview{width:100%;height:100%;min-height:100%;border:1px solid rgba(86,122,186,.8);border-radius:8px;overflow:hidden;background:#050913;display:block}.scenario-reference-upload-image{width:100%;height:100%;display:block;object-fit:cover}.scenario-editor-preview-box>.scenario-reference-upload{align-self:stretch}.scenario-editor-preview-box>.scenario-reference-upload>.scenario-reference-upload-preview{height:100%}.scenario-reference-upload .scenario-empty-preview{width:100%;height:100%}.scenario-editor-preview-col .scenario-reference-upload{position:static}.scenario-editor-preview-box>*{min-height:0}.scenario-editor-preview-box .scenario-editor-preview-image{width:100%;height:100%;display:block}.scenario-editor-card-actions .scenario-editor-mini-btn{min-width:142px}@media (max-width:900px){.scenario-editor-preview-box{height:220px}}@media (max-width:620px){.scenario-editor-preview-box{grid-template-columns:1fr;height:auto}.scenario-preview-main-half,.scenario-reference-upload-preview{aspect-ratio:9/16;height:auto}}.scenario-preview-main-half{border:1px solid rgba(86,122,186,.8);border-radius:8px;overflow:hidden;display:grid;place-items:center;min-height:0}.scenario-preview-main-half .scenario-editor-preview-image{width:100%;height:100%;min-width:100%;min-height:100%;display:block;object-fit:cover}.scenario-video-tab-content{display:grid;grid-gap:8px;gap:8px}.scenario-video-tab-content .scenario-script-item-head{margin-bottom:0;min-height:0}.scenario-video-tab-content .scenario-script-item-head h4{margin:0;line-height:1.2;font-size:24px}.scenario-video-tab-content .scenario-editor-label{gap:4px}.scenario-video-tab-content .scenario-editor-label textarea{min-height:64px}.scenario-video-tab-content .scenario-video-scene-body{gap:6px}.scenario-video-tab-content .scenario-video-scene-card{padding-top:8px;padding-bottom:8px}.scenario-video-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 4px;border-bottom:1px solid rgba(56,86,137,.32)}.scenario-video-preview-head h3{margin:0;font-size:30px;line-height:1.08;color:#f6f9ff;text-shadow:0 2px 16px rgba(72,178,255,.18)}.scenario-video-preview-head p{margin:6px 0 0;color:#9fb8e0;font-size:13px}.scenario-video-preview-actions{display:flex;align-items:center;gap:10px}.scenario-video-preview-actions>button{border:1px solid rgba(99,134,196,.72);border-radius:12px;background:linear-gradient(180deg,rgba(26,44,82,.85),rgba(17,30,58,.88));color:#e0edff;min-height:38px;padding:0 14px;transition:border-color .14s ease,transform .14s ease,box-shadow .14s ease}.scenario-video-preview-actions>button:hover{border-color:rgba(126,175,255,.9);box-shadow:inset 0 0 0 1px rgba(126,175,255,.22);transform:translateY(-1px)}.scenario-video-preview-actions>button:active{transform:translateY(0)}.scenario-video-preview-actions>button:focus-visible{outline:none;box-shadow:0 0 0 2px rgba(92,212,255,.45)}.scenario-video-model-bar{display:inline-grid;grid-template-columns:1fr;gap:0;border:1px solid rgba(255,132,44,.46);border-radius:8px;background:rgba(8,14,30,.66);padding:4px;box-shadow:none;width:min(320px,100%);margin-left:0;margin-right:auto}.scenario-video-model-col{display:grid;grid-gap:1px;gap:1px;border:1px solid rgba(51,78,126,.46);border-radius:6px;background:rgba(8,16,34,.58);padding:6px 8px;width:100%;min-height:52px;align-content:center;transition:border-color .16s ease,background-color .16s ease}.scenario-video-model-col:hover{border-color:rgba(103,144,223,.7);background:rgba(12,22,45,.84)}.scenario-video-model-col small{color:#85a0c8;text-transform:uppercase;letter-spacing:.08em;font-size:11px}.scenario-video-model-col strong{color:#e8f1ff;font-size:18px}.scenario-video-model-col span{color:#95b6f3;font-size:12px}.scenario-video-scene-list{display:grid;grid-gap:12px;gap:12px}.scenario-video-scene-card{border:1px solid rgba(166,176,198,.5);border-radius:16px;background:radial-gradient(120% 120% at 0 0,rgba(22,44,86,.42),transparent 45%),linear-gradient(180deg,rgba(10,22,49,.94),rgba(7,15,35,.92));padding:13px;display:grid;grid-template-columns:minmax(0,15%) minmax(0,85%);grid-gap:12px;gap:12px;box-shadow:0 6px 18px rgba(11,21,48,.16);transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}.scenario-video-scene-preview .scenario-editor-preview-box{height:260px;border-radius:12px}@media (max-width:1200px){.scenario-video-scene-preview .scenario-editor-preview-box{height:220px}}@media (max-width:980px){.scenario-video-scene-preview .scenario-editor-preview-box{height:190px}}@media (max-width:620px){.scenario-video-scene-preview .scenario-editor-preview-box{height:170px}}.scenario-video-scene-card:hover{border-color:rgba(87,98,121,.72);transform:translateY(-1px);box-shadow:0 10px 24px rgba(11,21,48,.2)}.scenario-video-scene-card:focus-within{border-color:rgba(86,206,255,.88);box-shadow:inset 0 0 0 1px rgba(86,206,255,.2),0 14px 30px rgba(0,0,0,.28)}.scenario-video-scene-preview{display:grid;grid-gap:8px;gap:8px;align-content:start}.scenario-video-scene-preview .scenario-editor-mini-btn{width:100%}.scenario-video-scene-body{padding-top:0}.scenario-video-scene-body .scenario-editor-label textarea{background:rgba(3,7,17,.88);border-color:rgba(52,80,128,.78)}.scenario-video-scene-body .scenario-editor-label textarea:focus-visible{border-color:rgba(90,214,255,.9);box-shadow:0 0 0 1px rgba(90,214,255,.34)}@media (max-width:980px){.scenario-video-scene-card{grid-template-columns:1fr}.scenario-video-preview-head{align-items:flex-start;flex-direction:column}}@media (max-width:620px){.scenario-video-preview-head h3{font-size:22px}}.scenario-video-result-section{display:grid;grid-gap:10px;gap:10px;border:1px solid rgba(56,86,137,.48);border-radius:12px;background:rgba(8,16,32,.86);padding:12px}.scenario-video-result-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:10px;gap:10px}@media (max-width:1500px){.scenario-video-result-list{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:1200px){.scenario-video-result-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:900px){.scenario-video-result-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:620px){.scenario-video-result-list{grid-template-columns:1fr}}.scenario-video-result-card{display:grid;grid-gap:8px;gap:8px;border:1px solid rgba(62,92,148,.5);border-radius:12px;background:rgba(9,20,42,.86);padding:10px;justify-items:start}.scenario-video-result-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}.scenario-video-result-meta strong{color:#e8f1ff}.scenario-video-result-meta span{color:#93afd8;font-size:12px}.scenario-video-result-player{width:100%;aspect-ratio:9/16;border-radius:10px;background:#000;object-fit:contain}.scenario-video-result-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;width:100%}.scenario-video-result-actions .scenario-editor-mini-btn{width:100%;text-align:center}.scenario-video-result-actions .scenario-editor-mini-btn-download{display:inline-flex;align-items:center;justify-content:center;background:rgba(22,42,78,.88);border-color:rgba(105,145,214,.52);color:#dcebff}.scenario-video-result-actions .scenario-editor-mini-btn-download:hover:not(:disabled){background:rgba(28,52,92,.92)}@media (max-width:620px){.scenario-video-result-actions{grid-template-columns:1fr}}.scenario-video-tab-content .scenario-script-item-head h4{font-size:14px;color:#f5f9ff}.scenario-video-tab-content .scenario-script-item-head p{color:#2be0ff}.scenario-video-tab-content .scenario-editor-label>span{color:#d28cff}.scenario-video-tab-content .scenario-editor-label:first-of-type>span{color:#ff8a3d}.scenario-video-tab-content .scenario-editor-preview-box{border-color:rgba(79,120,191,.76);background:radial-gradient(120% 120% at 0 0,rgba(31,60,110,.2),transparent 45%),#060b16}.scenario-image-bottom-actions{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:6px}.scenario-image-bottom-actions>button{min-width:176px;min-height:46px;border-radius:12px;font-weight:700}@media (max-width:760px){.scenario-image-bottom-actions{flex-direction:column;align-items:stretch}.scenario-image-bottom-actions>button{width:100%;min-width:0}}.scenario-image-bottom-actions+.scenario-script-actions{margin-top:6px}.scenario-empty-preview{display:grid;justify-items:center;grid-gap:8px;gap:8px;color:#9fb7de;font-size:13px}.scenario-empty-preview-icon{font-size:22px;filter:saturate(.9);opacity:.9}@media (max-width:900px){.scenario-editor-preview-box{height:180px}}@media (max-width:620px){.scenario-editor-preview-box{height:160px}}.scenario-editor-preview-image{width:100%;height:100%;object-fit:contain;object-position:center;transform:scale(.75);transform-origin:center;display:block}.scenario-editor-item .scenario-script-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:4px;padding:0;border-bottom:0;min-height:0;height:auto;align-self:start}.scenario-editor-item .scenario-script-item-head>div{min-height:0}.scenario-editor-item .scenario-script-item-head h4{margin:0;line-height:1.15}.scenario-editor-content-col>.scenario-editor-label:first-of-type{margin-top:-6px}.scenario-editor-content-col>.scenario-editor-label+.scenario-editor-label{margin-top:-2px}.scenario-editor-content-col>.scenario-error{margin-top:2px}.scenario-editor-card-actions{display:flex;flex-wrap:wrap}.scenario-editor-card-actions .scenario-editor-mini-btn{min-width:150px;justify-self:auto}.scenario-editor-item .scenario-script-item-head p{margin:4px 0 0;color:#66d5ff;font-size:12px}.scenario-editor-label{display:grid;grid-gap:6px}.scenario-editor-label>span{color:#ff9a60;font-size:11px;font-weight:700;text-transform:uppercase;line-height:1.1}.scenario-editor-label textarea{min-height:52px;background:#050913;border-color:#22395f;line-height:1.32;padding-top:8px;padding-bottom:8px}.scenario-editor-label textarea[rows="2"]{min-height:52px}.scenario-editor-label textarea[rows="3"]{min-height:64px}.scenario-script-item{padding:5px;gap:6px}.scenario-editor-preview-box{padding:6px;gap:8px}.scenario-editor-camera{margin:0;color:#8ea7d6;font-size:11px}.scenario-editor-mini-btn{min-height:28px;min-width:140px;border-radius:8px;font-size:12px;justify-self:start}.scenario-editor-footer{justify-content:center}.scenario-editor-footer button{min-width:160px}.scenario-center-actions{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}.scenario-center-actions .primary-cta,.scenario-center-actions button{min-width:180px}@media (max-width:620px){.scenario-center-actions{flex-direction:column}.scenario-center-actions .primary-cta,.scenario-center-actions button{width:100%}}@media (max-width:900px){.scenario-editor-scene-card,.scenario-editor-topbar-grid{grid-template-columns:1fr}}@media (max-width:620px){.scenario-editor-footer{grid-template-columns:1fr}}@media (max-width:1024px){.scenario-grid{grid-template-columns:1fr}}@media (max-width:900px){.scenario-stepper{grid-template-columns:1fr 1fr}}@media (max-width:620px){.scenario-stepper{grid-template-columns:1fr}.scenario-step-item{width:100%;text-align:left}.scenario-step-label{white-space:normal}}@media (prefers-reduced-motion:reduce){.scenario-chip,.scenario-step-item{transition:none!important}}.scenario-video-tab-content{gap:12px}.scenario-video-preview-head{padding:10px 4px 12px}.scenario-video-preview-head h3{font-size:28px;letter-spacing:0}.scenario-editor-scene-card{grid-template-columns:minmax(176px,208px) minmax(0,1fr);gap:14px;padding:12px;border-radius:14px}.scenario-editor-content-col{display:grid;grid-gap:10px;gap:10px;align-content:start;margin-top:0}.scenario-editor-item .scenario-script-item-head{display:block;margin:0;padding:0 0 8px;border-bottom:1px solid rgba(56,86,137,.42)}.scenario-editor-content-col .scenario-script-item-head+.scenario-editor-label,.scenario-editor-content-col>.scenario-editor-label+.scenario-editor-label,.scenario-editor-content-col>.scenario-editor-label:first-of-type{margin-top:0}.scenario-editor-item .scenario-script-item-head h4,.scenario-video-tab-content .scenario-script-item-head h4{font-size:16px;line-height:1.25;letter-spacing:0;color:#f5f9ff}.scenario-editor-label{gap:6px}.scenario-editor-label>span{letter-spacing:0}.scenario-editor-label textarea,.scenario-video-tab-content .scenario-editor-label textarea{min-height:64px;border-radius:10px}.scenario-editor-label textarea[rows="3"]{min-height:84px}.scenario-editor-preview-col{gap:10px}.scenario-editor-preview-box,.scenario-video-tab-content .scenario-editor-preview-box{height:308px;padding:7px}.scenario-editor-preview-box .scenario-editor-preview-image{transform:none;object-fit:cover}.scenario-empty-preview{width:100%;height:100%;align-content:center;justify-content:center;text-align:center}.scenario-empty-preview-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(90,141,227,.52);border-radius:8px;color:#8fb4ff;font-size:11px;font-weight:800;filter:none}.scenario-editor-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,188px));grid-gap:8px;gap:8px}.scenario-editor-preview-col>.scenario-editor-card-actions{grid-template-columns:1fr}.scenario-editor-card-actions .scenario-editor-mini-btn,.scenario-editor-mini-btn{width:100%;min-width:0;min-height:38px}@media (max-width:1100px){.scenario-editor-scene-card{grid-template-columns:minmax(168px,196px) minmax(0,1fr)}}@media (max-width:900px){.scenario-editor-scene-card{grid-template-columns:1fr}.scenario-editor-preview-box,.scenario-video-tab-content .scenario-editor-preview-box{height:260px}}@media (max-width:620px){.scenario-video-preview-head h3{font-size:22px}.scenario-editor-scene-card{padding:10px}.scenario-editor-preview-box,.scenario-video-tab-content .scenario-editor-preview-box{height:auto}.scenario-editor-card-actions{grid-template-columns:1fr}}.scenario-video-tab-content .scenario-video-scene-list{gap:14px}.scenario-video-tab-content .scenario-video-scene-card{grid-template-columns:minmax(176px,220px) minmax(0,1fr);gap:14px;min-height:0;padding:14px 16px;border-color:rgba(86,122,186,.58);border-radius:14px}.scenario-video-scene-preview{gap:10px}.scenario-video-scene-preview .scenario-editor-preview-box{height:290px;padding:7px}.scenario-video-scene-preview .scenario-editor-mini-btn{min-height:38px}.scenario-video-scene-body{display:grid;grid-gap:10px;gap:10px;align-content:start}.scenario-video-scene-body .scenario-script-item-head{display:block;padding:0 0 8px;border-bottom:1px solid rgba(56,86,137,.42)}.scenario-video-scene-body .scenario-script-item-head h4{margin:0;font-size:16px;line-height:1.25;letter-spacing:0}.scenario-video-scene-body .scenario-editor-label{gap:6px}.scenario-video-scene-body .scenario-editor-label>span{letter-spacing:0}.scenario-video-scene-body .scenario-editor-label textarea{min-height:76px;border-radius:10px}.scenario-video-scene-body .scenario-editor-label textarea[rows="3"]{min-height:104px}@media (max-width:980px){.scenario-video-tab-content .scenario-video-scene-card{grid-template-columns:1fr}.scenario-video-scene-preview .scenario-editor-preview-box{height:260px}}@media (max-width:620px){.scenario-video-scene-preview .scenario-editor-preview-box{height:auto}}.scenario-editor-scene-card .scenario-editor-preview-box--split{position:relative;display:block;border-color:rgba(87,128,205,.58);background:linear-gradient(180deg,rgba(9,18,39,.92),rgba(4,9,20,.98));box-shadow:0 14px 32px rgba(0,0,0,.28),inset 0 0 0 1px rgba(112,153,226,.08)}.scenario-editor-scene-card .scenario-editor-preview-box--split .scenario-preview-main-half{width:100%;height:100%;aspect-ratio:auto;position:relative;border-color:rgba(112,153,226,.58);border-radius:10px;background:#050913;box-shadow:0 0 0 1px rgba(3,7,18,.9),inset 0 12px 24px rgba(0,0,0,.22)}.scenario-result-preview-button{width:100%;height:100%;display:block;border:0;border-radius:inherit;background:transparent;padding:0;cursor:zoom-in;overflow:hidden}.scenario-result-preview-button:hover .scenario-editor-preview-image{filter:brightness(1.06) contrast(1.03);transform:scale(1.012)}.scenario-result-preview-button:focus-visible{outline:2px solid rgba(90,214,255,.76);outline-offset:3px}.scenario-image-lightbox{position:fixed;inset:0;z-index:130}.scenario-image-lightbox-backdrop{position:absolute;inset:0;border:0;background:rgba(2,8,20,.78);cursor:zoom-out}.scenario-image-lightbox-panel{position:fixed;z-index:1;display:grid;grid-template-rows:42px minmax(0,1fr);grid-gap:0;gap:0;border:1px solid rgba(97,137,207,.68);border-radius:12px;background:#071126;padding:6px;box-shadow:0 24px 70px rgba(0,0,0,.46);overflow:hidden}.scenario-image-lightbox-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding-bottom:6px}.scenario-image-lightbox-head strong{color:#edf4ff;font-size:13px;line-height:1.3;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scenario-image-lightbox-close{width:30px;height:30px;display:grid;place-items:center;border:1px solid rgba(99,134,196,.72);border-radius:7px;background:rgba(17,30,58,.88);color:#e0edff;font-size:20px;line-height:1}.scenario-image-lightbox-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}.scenario-image-lightbox-download{min-height:30px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(99,134,196,.72);border-radius:7px;background:rgba(17,30,58,.88);color:#e0edff;padding:0 10px;font-size:12px;font-weight:700;text-decoration:none}.scenario-image-lightbox-close:hover,.scenario-image-lightbox-download:hover{border-color:rgba(126,175,255,.9);background:rgba(24,45,83,.98)}.scenario-image-lightbox-picture{width:100%;height:100%;min-height:0;display:block;object-fit:contain;border-radius:9px;background:#030712}@media (max-width:620px){.scenario-image-lightbox-download{padding:0 8px}}.scenario-editor-scene-card .scenario-editor-preview-box--split .scenario-reference-upload{position:absolute;top:10px;right:10px;width:min(39%,88px);height:calc(100% - 20px);min-height:0;z-index:2;border-radius:11px;filter:drop-shadow(0 14px 22px rgba(0,0,0,.42));overflow:hidden}.scenario-editor-scene-card .scenario-editor-preview-box--split .scenario-reference-upload .scenario-empty-preview,.scenario-editor-scene-card .scenario-editor-preview-box--split .scenario-reference-upload-preview{width:100%;height:100%;min-height:0;aspect-ratio:auto;border-color:rgba(182,203,241,.78);border-radius:11px;background:rgba(248,250,246,.94);box-shadow:0 0 0 1px rgba(8,16,34,.72),0 0 0 4px rgba(5,10,22,.42)}.scenario-editor-scene-card .scenario-editor-preview-box--split .scenario-reference-upload-image{object-fit:cover;object-position:center}.scenario-editor-scene-card .scenario-editor-preview-box--split .scenario-editor-preview-image{transition:filter .15s ease,transform .15s ease}.scenario-editor-preview-col>.scenario-editor-card-actions .scenario-editor-mini-btn{border-color:rgba(94,132,203,.68);background:linear-gradient(180deg,rgba(18,34,65,.96),rgba(9,19,40,.98));box-shadow:0 8px 20px rgba(0,0,0,.16),inset 0 0 0 1px rgba(116,157,230,.08);color:#e8f1ff;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease,transform .15s ease}.scenario-editor-preview-col>.scenario-editor-card-actions .scenario-editor-mini-btn:hover:not(:disabled){border-color:rgba(126,175,255,.9);background:linear-gradient(180deg,rgba(24,45,83,.98),rgba(12,24,48,.98));box-shadow:0 10px 24px rgba(0,0,0,.22),inset 0 0 0 1px rgba(126,175,255,.16);transform:translateY(-1px)}.scenario-editor-preview-col>.scenario-editor-card-actions .scenario-editor-mini-btn:active:not(:disabled){transform:translateY(0)}.scenario-editor-scene-card .scenario-editor-preview-box--split .image-loading-card{min-height:0;border:0;background:radial-gradient(circle at 50% 38%,rgba(48,31,85,.48),transparent 32%),linear-gradient(180deg,rgba(9,17,34,.96),rgba(4,8,17,.98))}.scenario-editor-scene-card .scenario-editor-preview-box--split .shared-loading-spinner{width:34px;height:34px}.scenario-editor-scene-card .scenario-editor-preview-box--split .shared-loading-title{max-width:82px;line-height:1.2}@media (max-width:620px){.scenario-editor-scene-card .scenario-editor-preview-box--split{min-height:260px}.scenario-editor-scene-card .scenario-editor-preview-box--split .scenario-reference-upload{width:min(36%,86px)}}