/* Final palette contract shared by every route and embedded shell. */
:root, html[data-theme], body {
  --uno-background: #0b0907;
  --uno-surface: #0b0907;
  --uno-cyan: #f6b336;
  --uno-blue: #f6b336;
  --uno-highlight: #f6b336;
  --uno-white: #F7F5EF;
  --uno-muted: #B5C3CD;
  --uno-gradient: linear-gradient(135deg,#f6b336,#D5B990);
  --bg: #0b0907;
  --bg-soft: #0b0907;
  --surface: #0b0907;
  --surface-strong: #151515;
  --panel: #0b0907;
  --panel-strong: #151515;
  --text: #F7F5EF;
  --text-white: #F7F5EF;
  --text-muted: #B5C3CD;
  --muted: #B5C3CD;
  --accent: #f6b336;
  --yellow: #f6b336;
  --yellow-accent: #f6b336;
  --yellow-soft: rgba(221,179,101,.16);
  --yellow-glow: rgba(221,179,101,.4);
  --yellow-glow-subtle: rgba(221,179,101,.2);
  --card-border-active: #f6b336;
}
html, body, body.uno-settings, .settings-shell-stage { background-color: #0b0907; color: #F7F5EF; }
html body :is(.nav-capsule,.uno-settings-menu,.uno-settings-brand,.app-settings-header,.settings-shell .detail-header) { background: #0b0907; }
html body.uno-settings :is(.group-card,.form-card,.language-card) { background: #0b0907; border: 1px solid rgba(247,245,239,.09); }
html body :is(.uno-settings-menu a[aria-current],.library-tab[aria-current="page"],.library-tab.active) { color: #f6b336; }
html body .uno-settings-menu a[aria-current] { background: rgba(221,179,101,.1); box-shadow: inset 3px 0 #f6b336; }
html body :is(.zen-toggle input:checked + span,.progress-fill,.zen-progress-fill) { background: #f6b336; border-color: #f6b336; }
html body :is(a,button,input,select,textarea,[tabindex="0"]):focus-visible { outline: 2px solid #F7F5EF; outline-offset: 3px; }
html body.uno-settings .setting-row:focus-within { outline: none; background: #25221A; box-shadow: inset 0 0 0 2px #F7F5EF; }
html body.uno-settings .setting-row:focus-within input { outline: none; }
html body .media-card:focus-visible .poster { outline: 2px solid #F7F5EF; outline-offset: 3px; }
html body .uno-header-control:focus-visible { outline-color: #F7F5EF; }

/* One explicit choice per activation, for both touch and TV remotes. */
.setting-options-card { width: min(620px,100%); max-height: calc(100dvh - 40px); display: flex; flex-direction: column; padding: clamp(20px,2.5vw,36px); background: #0b0907; }
.setting-options-card h3 { font-size: clamp(24px,2vw,36px); }
.setting-options-card p { color: #B5C3CD; font-size: clamp(14px,1.1vw,20px); }
.setting-options-list { min-height: 0; overflow-y: auto; padding: 4px; display: grid; gap: 6px; }
.setting-option { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; padding: 16px 20px; border: 1px solid transparent; border-radius: 10px; background: #151515; color: #F7F5EF; text-align: left; font-size: clamp(18px,1.5vw,26px); cursor: pointer; }
.setting-option[aria-pressed="true"] { color: #f6b336; background: #25221A; }
.setting-option:hover { background: #25221A; }
.setting-options-cancel { flex-shrink: 0; align-self: flex-end; min-height: 48px; margin-top: 18px; }
@media(max-width:700px) {
  .setting-options-overlay { align-items: end; padding: 10px; }
  .setting-options-card { max-height: calc(100dvh - 24px); padding-bottom: max(20px,env(safe-area-inset-bottom)); }
}
