.corner-option{position:relative;display:flex;align-items:center;gap:12px;margin:14px 0 0;padding:12px;border:1px solid var(--border);border-radius:8px;cursor:pointer;color:var(--text);font-weight:400}
.corner-option input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.switch-track{position:relative;width:34px;height:20px;margin-inline-start:auto;flex:none;border-radius:20px;background:#716d63;transition:background .2s}
.switch-track:after{content:'';position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .2s}
.corner-option input:checked+.switch-track{background:var(--gold)}
.corner-option input:checked+.switch-track:after{transform:translateX(14px)}
.corner-option input:focus-visible+.switch-track{outline:2px solid var(--gold);outline-offset:4px}
.corner-option:has(input:disabled){opacity:.45;cursor:wait}

:root[data-theme="light"] body{background:radial-gradient(ellipse at 86% 0%,rgba(160,120,40,.055),transparent 42%),var(--bg)}
:root[data-theme="light"] .brand-logo{filter:brightness(0)}
:root[data-theme="light"] :is(.privacy-pill,label,summary,.info-note,.preview-heading,.preview-caption,dialog p){color:#4a3a1a}
:root[data-theme="light"] :is(input:not([type=range]):not([type=color]):not([type=file]):not([type=checkbox]),select){background:#f0ebe0;color:var(--text)}
:root[data-theme="light"] input::placeholder{color:var(--muted)}
:root[data-theme="light"] :is(.search-field span,.preview-heading>span:last-child,.preview-caption>span:last-child,.timeline>div,.preview-footnote,.export-note,footer,.footer-dot,.version,#progressLabel){color:var(--muted)}
:root[data-theme="light"] .ratios button{background:#f0ebe0}
:root[data-theme="light"] .ratios .selected{background:var(--gold-muted);border-color:var(--gold)}
:root[data-theme="light"] .ratio-icon{border-color:var(--muted)}
:root[data-theme="light"] .ratios .selected .ratio-icon{border-color:var(--gold)}
:root[data-theme="light"] :is(.primary-button,.play-button){color:#fff}
:root[data-theme="light"] .primary-button:hover{background:#76561a}
:root[data-theme="light"] .format-tag{border-color:#ffffff70}
:root[data-theme="light"] .preview-section{background:linear-gradient(145deg,#fff,#f0ebe0)}
:root[data-theme="light"] .preview-stage{background:#e8e1d6;border-color:var(--border)}
:root[data-theme="light"] .loading-overlay{background:#ffffffee}
:root[data-theme="light"] .bg-card span{color:#f0ede6}
:root[data-theme="light"] :is(.info-note,.reciter-card){border-color:var(--border)}
:root[data-theme="light"] .upload-zone{background:rgba(160,120,40,.035);border-color:var(--gold)}
:root[data-theme="light"] .swatch{border-color:#7a6a5070}
:root[data-theme="light"] #message.error{color:#a43828}
:root[data-theme="light"] #message.success{color:#356023}
:root[data-theme="light"] dialog{background:#fff;border-color:var(--border)}
