.video-generation-page{max-width:1500px;margin:0 auto}.video-generation{display:grid;gap:14px;min-width:0}.video-generation-top{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:14px}.video-gen-top-group,.video-gen-settings,.video-gen-results{min-width:0;border:1px solid var(--mirror-line);border-radius:10px;background:var(--mirror-card);padding:16px;color:var(--mirror-ink)}.video-gen-top-group{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:14px}.video-gen-group-head h1,.video-gen-group-head h2,.video-gen-panel-head h2{margin:0;color:var(--mirror-ink);font-size:16px;letter-spacing:0}.video-gen-group-head small{display:block;margin-top:5px;color:var(--mirror-muted);font-size:11px;line-height:1.4}.video-model-options,.video-reference-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0}.video-model-option,.video-reference-options button,.video-gen-ratio{min-width:0;border:1px solid var(--mirror-line);border-radius:7px;background:var(--mirror-field,#fafafe);color:var(--mirror-ink);font:inherit;cursor:pointer;transition:border-color .15s,background .15s,color .15s}.video-model-option{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:54px;padding:8px;text-align:left}.video-model-option b{font-size:12px;line-height:1.2}.video-model-option small{color:var(--mirror-muted);font-size:10px;line-height:1.25}.video-model-option.selected,.video-reference-options button.selected,.video-gen-ratio.selected{border-color:#686be9;background:#f1f1ff;color:#5559dc;box-shadow:0 0 0 1px #686be91a}.video-model-option.selected small{color:#5d61c8}.video-model-option:hover,.video-reference-options button:hover,.video-gen-ratio:hover{border-color:#8b8ef0}.video-model-option:focus-visible,.video-reference-options button:focus-visible,.video-gen-ratio:focus-visible,.video-gen-primary:focus-visible,.video-reference-slot:focus-within{outline:3px solid #8bb7ff;outline-offset:2px}.video-reference-options button{min-height:42px;padding:7px 9px;font-size:13px;font-weight:650}.video-reference-area{min-width:0;padding:13px 15px;border:1px solid var(--mirror-line);border-radius:10px;background:var(--mirror-card);color:var(--mirror-ink)}.video-reference-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.video-reference-head h2{margin:0;font-size:14px}.video-reference-head small{color:var(--mirror-muted);font-size:11px}.video-reference-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,142px));gap:9px}.video-reference-slot{position:relative;display:grid;place-items:center;align-content:center;gap:6px;min-width:0;aspect-ratio:1;border:1px dashed #c9cddd;border-radius:7px;background:var(--mirror-field,#fafafe);color:#696de2;text-align:center;cursor:pointer;overflow:hidden}.video-reference-slot:hover{border-color:#7074ec;background:#f5f5ff}.video-reference-slot input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.video-reference-slot .slot-plus{font-size:25px;line-height:1;font-weight:350}.video-reference-slot b{font-size:12px}.video-reference-slot small{max-width:100%;padding:0 6px;color:var(--mirror-muted);font-size:10px;overflow-wrap:anywhere}.video-reference-slot .slot-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#1d2029}.video-reference-slot .slot-remove{position:absolute;z-index:2;top:5px;right:5px;width:24px;height:24px;border:0;border-radius:50%;background:#171a22cc;color:#fff;font-size:16px;cursor:pointer}.video-reference-slot.has-file{border-style:solid}.video-reference-slot.has-file b,.video-reference-slot.has-file small{position:absolute;left:5px;right:5px;bottom:5px;width:max-content;max-width:calc(100% - 10px);padding:3px 5px;border-radius:3px;background:#141720c9;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.video-reference-slot.has-file b{bottom:26px;font-size:9px}.video-reference-note{margin:9px 0 0;color:var(--mirror-muted);font-size:11px;line-height:1.45}.video-reference-note.error{color:#bb4f5c}.video-generation-lower{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:stretch}.video-gen-settings,.video-gen-results{padding:17px}.video-gen-settings{display:flex;flex-direction:column;gap:17px}.video-gen-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:30px;border-bottom:1px solid var(--mirror-line);padding-bottom:10px}.video-gen-panel-head #video-gen-status{color:var(--mirror-muted);font-size:12px}.video-gen-panel-head .image-clear{min-width:32px;min-height:32px;padding:5px 9px;font-size:12px}.video-gen-field{display:grid;gap:9px;min-width:0;margin:0;padding:0;border:0;color:var(--mirror-ink)}.video-gen-field>span,.video-gen-field legend{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0;color:var(--mirror-ink);font-size:13px;font-weight:650}.video-gen-field output{color:#6468dc;font-variant-numeric:tabular-nums}.video-gen-field input[type=range]{width:100%;margin:5px 0;accent-color:#6569eb}.video-gen-range-ticks{color:var(--mirror-muted);font-size:11px}.video-gen-ratios{display:flex;gap:7px;flex-wrap:wrap}.video-gen-ratio{min-width:52px;min-height:34px;padding:6px 10px;font-size:12px}.video-gen-field textarea{box-sizing:border-box;width:100%;min-height:130px;padding:11px 12px;border:1px solid var(--mirror-line);border-radius:7px;background:var(--mirror-field,#fafafe);color:var(--mirror-ink);font:inherit;font-size:13px;line-height:1.55;resize:vertical}.video-gen-submit-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;border-top:1px solid var(--mirror-line);padding-top:13px}.video-gen-cost{display:grid;gap:3px;margin:0}.video-gen-cost b{color:var(--mirror-muted);font-size:11px;font-weight:500}.video-gen-cost span{color:var(--mirror-ink);font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}.video-gen-primary{display:flex;align-items:center;justify-content:center;gap:16px;min-height:44px;padding:0 15px;border:1px solid #6266e7;border-radius:7px;background:#6266e7;color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.video-gen-primary:hover{background:#5458d8}.video-gen-primary:disabled{opacity:.55;cursor:wait}.video-gen-primary span{font-size:18px}.video-gen-results{display:flex;flex-direction:column;min-height:370px}.video-gen-result{display:grid;flex:1;min-height:0;margin-top:13px}.video-gen-empty{display:grid;place-content:center;justify-items:center;min-height:300px;border:1px dashed var(--mirror-line);border-radius:7px;background:var(--mirror-field,#fafafe);color:var(--mirror-muted);text-align:center}.video-gen-empty>span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#eff0ff;color:#6569e5;font-size:24px}.video-gen-empty p{margin:12px 0 0;font-size:13px}.video-gen-result video{display:block;width:100%;max-height:65vh;min-height:260px;border-radius:7px;background:#151820;object-fit:contain}.video-gen-result-info{display:flex;justify-content:space-between;gap:12px;padding-top:9px;color:var(--mirror-muted);font-size:11px}.video-gen-feedback{margin:0;padding:10px 12px;border:1px solid #f0c2c6;border-radius:7px;background:#fff4f4;color:#a53c49;font-size:13px;line-height:1.5}.video-gen-feedback[hidden]{display:none}.video-generation-page .image-topline{margin-bottom:10px}body:not(.day-mode) .video-gen-top-group,body:not(.day-mode) .video-reference-area,body:not(.day-mode) .video-gen-settings,body:not(.day-mode) .video-gen-results{background:#151821;border-color:#292c38;color:#f5f5f7}body:not(.day-mode) .video-gen-group-head h1,body:not(.day-mode) .video-gen-group-head h2,body:not(.day-mode) .video-gen-panel-head h2,body:not(.day-mode) .video-gen-field,body:not(.day-mode) .video-gen-field>span,body:not(.day-mode) .video-gen-field legend{color:#f5f5f7}body:not(.day-mode) .video-model-option,body:not(.day-mode) .video-reference-options button,body:not(.day-mode) .video-gen-ratio,body:not(.day-mode) .video-gen-field textarea,body:not(.day-mode) .video-reference-slot,body:not(.day-mode) .video-gen-empty{background:#202330;border-color:#343746;color:#e2e4eb}body:not(.day-mode) .video-model-option.selected,body:not(.day-mode) .video-reference-options button.selected,body:not(.day-mode) .video-gen-ratio.selected{background:#2d3154;border-color:#7075ef;color:#dbdcff}body:not(.day-mode) .video-gen-empty>span{background:#303357;color:#d2d4ff}body:not(.day-mode) .video-gen-primary{background:#6266e7}@media(max-width:980px){.video-generation-top{grid-template-columns:1fr}.video-gen-top-group{grid-template-columns:120px minmax(0,1fr)}}@media(max-width:760px){.video-generation{gap:10px}.video-generation-top,.video-generation-lower{gap:10px}.video-gen-top-group{grid-template-columns:1fr;gap:9px;padding:13px}.video-generation-lower{grid-template-columns:1fr}.video-gen-results{min-height:300px}.video-gen-empty{min-height:240px}.video-gen-field textarea{min-height:105px}.video-reference-slots{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.video-reference-slot{max-width:160px}.video-gen-primary{padding:0 12px;gap:8px}}@media(max-width:390px){.video-model-options,.video-reference-options{gap:4px}.video-model-option{padding:6px}.video-model-option b{font-size:11px}.video-model-option small{font-size:9px}.video-reference-area{padding:11px}.video-reference-head{align-items:flex-start;flex-direction:column;gap:4px}.video-gen-submit-row{align-items:stretch;flex-direction:column}.video-gen-primary{width:100%}}
