.video-super-resolution{display:grid;gap:12px;margin-top:18px;padding:16px;border:1px solid var(--orbit-border);border-radius:12px;background:var(--orbit-surface);color:var(--orbit-text)}
.video-super-resolution>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.video-super-resolution>header strong{font-size:13px;font-weight:650}
.video-super-resolution>header p,.super-resolution-result-label,.super-resolution-cost-note{margin:5px 0 0;color:var(--orbit-muted);font-size:10px;line-height:1.7}
.super-resolution-badge{flex:0 0 auto;padding:5px 8px;border:1px solid var(--orbit-border);border-radius:20px;color:var(--orbit-muted);font-size:9px}
.video-super-resolution>.btn,.super-resolution-download{justify-self:start;min-height:35px}
.video-super-resolution .super-resolution-player{display:block;width:min(100%,720px);max-height:380px;aspect-ratio:16/9;object-fit:contain;background:#151a18;border-radius:9px}
.video-super-resolution .super-resolution-progress{display:flex;align-items:center;gap:9px;margin:2px 0;color:var(--orbit-text);font-size:11px}
.video-super-resolution .super-resolution-progress .video-spinner{width:16px;height:16px;margin:0}
.video-super-resolution .super-resolution-error{margin:0;color:#b34444;font-size:10px;line-height:1.7;overflow-wrap:anywhere}
.video-super-resolution .super-resolution-cost-note{display:block;margin:0}
.super-resolution-dialog{box-sizing:border-box;width:min(540px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);overflow-y:auto;margin:auto;color:var(--orbit-text);background:var(--orbit-surface);border:1px solid var(--orbit-border);border-radius:14px;padding:22px;box-shadow:0 28px 90px #10171345}
.super-resolution-dialog::backdrop{background:#17211f82;backdrop-filter:blur(4px)}
.super-resolution-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.super-resolution-dialog>header h2{margin:0;font-size:18px}
.super-resolution-dialog>header .dialog-close{flex:0 0 auto;color:var(--orbit-muted);background:var(--orbit-raised);border-color:var(--orbit-border)}
.super-resolution-dialog>p,.super-resolution-dialog li{font-size:11px;line-height:1.8;color:var(--orbit-muted)}
.super-resolution-template-label{display:grid;gap:7px;margin:12px 0;color:var(--orbit-text);font-size:11px;font-weight:600}
.super-resolution-template-label select{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--orbit-border);border-radius:8px;background:var(--orbit-raised);color:var(--orbit-text);font:inherit}
.super-resolution-dialog ul{margin:10px 0 16px;padding-left:20px}
.super-resolution-dialog li+li{margin-top:5px}
.super-resolution-confirm{display:flex;align-items:flex-start;gap:9px;padding:12px;border:1px solid var(--orbit-border);border-radius:9px;background:var(--orbit-raised);font-size:11px;line-height:1.7;color:var(--orbit-text)}
.super-resolution-confirm input{flex:0 0 auto;margin:2px 0 0;accent-color:var(--orbit-accent)}
.super-resolution-dialog>footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.super-resolution-dialog>footer .btn{min-height:36px}
.super-resolution-dialog>footer .btn:disabled{opacity:.55;cursor:not-allowed}
:root[data-theme=dark] .super-resolution-dialog{box-shadow:0 28px 90px #0009}
@media(max-width:700px){.video-super-resolution{padding:12px}.video-super-resolution>header{flex-direction:column}.super-resolution-dialog{padding:17px}.super-resolution-dialog>footer{position:sticky;bottom:-17px;padding:12px 0 0;background:var(--orbit-surface)}}
