.upscale{max-width:46rem;padding:var(--space-5) var(--space-5) var(--space-12);gap:var(--space-5);z-index:var(--z-content);flex-direction:column;margin:0 auto;display:flex;position:relative}.upscale-hero h1{font-size:var(--text-5xl);font-weight:800}.upscale-hero p{margin-top:var(--space-2);color:var(--ink-muted);font-size:var(--text-lg);line-height:1.5}.upscale-hero-credit{margin-top:var(--space-3);color:var(--ink-muted);font-size:var(--text-sm);line-height:1.5}.upscale-hero-credit a{color:var(--accent-strong);font-weight:600}.upscale-card{background:var(--paper-hi);border:2px solid var(--ink-line);border-radius:var(--radius-md);padding:var(--space-5);box-shadow:var(--panel-shadow)}.upscale-card h2{font-size:var(--text-3xl);margin-bottom:var(--space-4);font-weight:800}.upscale-setting-row{gap:var(--space-2);padding:var(--space-3) 0;border-bottom:1px solid var(--tint-subtle);flex-direction:column;display:flex}.upscale-setting-row:last-of-type{border-bottom:none}.upscale-setting-label{font-size:var(--text-sm-lg);color:var(--ink-muted);font-weight:700}.upscale-setting-value{font-size:var(--text-sm-lg);color:var(--ink);font-weight:800}.upscale-setting-hint{margin-top:var(--space-1);font-size:var(--text-sm-lg);color:var(--ink-muted);font-weight:600;line-height:1.5}.upscale-toggle{align-items:center;gap:var(--space-2);display:flex}.upscale-toggle input[type=checkbox]{width:1.25rem;height:1.25rem;accent-color:var(--accent);flex:none}.upscale-toggle label{font-size:var(--text-sm-lg);color:var(--ink);cursor:pointer}.upscale-segmented{gap:var(--space-2);grid-auto-columns:1fr;grid-auto-flow:column;display:grid}.upscale-segmented button{border:2px solid var(--ink-line);color:var(--ink-muted);font-size:var(--text-sm-lg);padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);transition:background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);background:0 0;font-weight:800}.upscale-segmented button:hover:not(:disabled){transform:translateY(-1px)}.upscale-segmented button:disabled{opacity:.5}.upscale-seg-active{background:var(--accent)!important;color:var(--paper-hi)!important;border-color:var(--accent-strong)!important}.upscale-setting-row input[type=range]{accent-color:var(--accent);width:100%}.upscale-drop{border:2px dashed var(--ink-line);border-radius:var(--radius-md);padding:var(--space-8) var(--space-5);text-align:center;background:var(--paper-hi);transition:border-color var(--transition-fast), background var(--transition-fast)}.upscale-drop--over{border-color:var(--accent);background:var(--tint-subtle)}.upscale-drop-text{font-weight:800;font-size:var(--text-lg)}.upscale-drop-hint{margin-top:var(--space-2);font-size:var(--text-sm-lg);color:var(--ink-muted);font-weight:600}.upscale-drop--picked{border-style:solid;border-color:var(--accent-strong);background:var(--tint-subtle)}.upscale-drop-label{font-size:var(--text-sm-lg);letter-spacing:.08em;text-transform:uppercase;color:var(--tint-teal);font-weight:800}.upscale-drop-name{overflow-wrap:anywhere}.upscale-source-actions{gap:var(--space-3);margin-top:var(--space-4);flex-wrap:wrap;display:flex}.upscale-btn{justify-content:center;align-items:center;gap:var(--space-2);border:2px solid var(--accent-strong);background:var(--accent);color:var(--paper-hi);font-size:var(--text-lg);padding:var(--space-2) var(--space-4);border-radius:var(--radius-sm);box-shadow:3px 3px 0 var(--shadow-deep);cursor:pointer;transition:transform var(--transition-fast), box-shadow var(--transition-fast);font-weight:800;display:inline-flex}.upscale-btn:hover:not(:disabled){box-shadow:1px 1px 0 var(--shadow-deep);transform:translate(1px,1px)}.upscale-btn:disabled{opacity:.5;cursor:not-allowed}.upscale-btn-ghost{color:var(--ink);border-color:var(--ink-line);box-shadow:none;background:0 0}.upscale-btn-ghost:hover:not(:disabled){background:var(--tint-subtle);box-shadow:none}.upscale-actions{gap:var(--space-4);flex-direction:column;display:flex}.upscale-actions-info{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.upscale-source-name{font-weight:800;font-size:var(--text-lg);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.upscale-progress-count{font-size:var(--text-sm-lg);color:var(--ink-muted);white-space:nowrap;font-weight:800}.upscale-buttons{gap:var(--space-3);flex-wrap:wrap;display:flex}.upscale-device-row{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.upscale-device-hint{font-size:var(--text-sm-lg);color:var(--ink-muted)}.upscale-progress-head{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.upscale-progress-head h2{margin-bottom:0}.upscale-bar{height:var(--space-3);border:2px solid var(--ink-line);border-radius:var(--radius-full);background:var(--tint-subtle);margin-top:var(--space-4);overflow:hidden}.upscale-bar-fill{background:var(--accent);border-radius:var(--radius-full);height:100%;transition:width var(--transition-normal)}.upscale-progress-status{margin-top:var(--space-3);font-size:var(--text-lg);color:var(--ink);font-weight:700}.upscale-progress-current{margin-top:var(--space-3);align-items:center;gap:var(--space-2);font-size:var(--text-base);color:var(--ink-muted);text-overflow:ellipsis;white-space:nowrap;display:flex;overflow:hidden}.upscale-state-chip{font-size:var(--text-2xs);text-transform:uppercase;letter-spacing:.06em;border:1px solid var(--ink-line);border-radius:var(--radius-full);padding:var(--space-1) var(--space-2);flex-shrink:0;font-weight:800}.upscale-progress-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.upscale-model-hint{font-size:var(--text-2xs);color:var(--ink-faint);flex-shrink:0}.upscale-results-head{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.upscale-results-head h2{margin-bottom:0}.upscale-result-actions{gap:var(--space-3);margin-top:var(--space-4);flex-wrap:wrap;display:flex}.upscale-error-text{color:var(--tint-amber);font-size:var(--text-base);font-weight:700}.upscale-error-global{text-align:center;padding:var(--space-3);border:2px solid var(--tint-amber);border-radius:var(--radius-sm)}@media (width>=640px){.upscale{padding-top:var(--space-8)}.upscale-actions{flex-direction:row;justify-content:space-between;align-items:center}}@media (width>=1024px){.upscale{max-width:58rem}.upscale-hero p{max-width:46rem}}@media (width>=1280px){.upscale{--text-2xs:.88rem;--text-xs:1.04rem;--text-sm:1.1rem;--text-sm-lg:1.12rem;--text-base:1.2rem;--text-md:1.3rem;--text-lg:1.4rem;--text-xl:1.5rem;--text-2xl:1.6rem;--text-3xl:1.8rem;--text-4xl:2rem;--text-5xl:2.4rem;--text-6xl:2.6rem;--text-7xl:3.2rem;--text-hero:3.2rem;--text-display:7.6rem;--space-1:.4rem;--space-2:.8rem;--space-3:1.2rem;--space-4:1.6rem;--space-5:2rem;--space-6:2.4rem;--space-8:3.2rem;--space-10:4rem;--space-12:4.8rem;--space-16:6.4rem;max-width:92rem}.upscale-hero p{max-width:70rem}.upscale-toggle input[type=checkbox]{width:2rem;height:2rem}.upscale-bar{height:1.25rem}}
