/* Appearance overrides load after the shared player layout and brand styles. */
html[data-piplo-theme="light"] {
  color-scheme:light;
  --bg:#f8f6fb;--panel:#fff;--surface:#f0ebf5;--line:#d9d1e1;
  --ink:#29212f;--muted:#685e72;--light:#65407e;--warn:#795312;
  --background:#f8f6fb;--foreground:#29212f;--card:#fff;--card-foreground:#29212f;
  --popover:#fff;--popover-foreground:#29212f;--primary:#adbf50;--primary-foreground:#11150a;
  --secondary:#ece5f2;--secondary-foreground:#29212f;--muted-foreground:#685e72;
  --border:#d9d1e1;--input:#b8a9c4;--ring:#65407e;
}
html[data-piplo-theme="light"] .player-screen {--muted:#685e72;--pip-pink:#754187;background:var(--bg);color:var(--ink)}
html[data-piplo-theme="light"] .player-screen>header {background:#fff;border-color:var(--line);--ink:#29212f;--light:#65407e;--muted:#685e72}
html[data-piplo-theme="light"] .player-screen .brand .piplo-header-dark {display:none}
html[data-piplo-theme="light"] .player-screen .brand .piplo-header-light {display:block;background:transparent}
html[data-piplo-theme="light"] .player-screen .piplo-wordmark {filter:invert(1) brightness(1.1);mix-blend-mode:normal}
html[data-piplo-theme="light"] .player-screen .brand .pip-mascot img,
html[data-piplo-theme="light"] .player-screen .idle-pip img {background:transparent}
html[data-piplo-theme="light"] .player-screen .idle-pip {mix-blend-mode:normal}
html[data-piplo-theme="light"] .player-screen .placeholder {background:radial-gradient(ellipse at 50% 60%,#e9e0f1 0,#f8f6fb 65%,#fff 100%)}
html[data-piplo-theme="light"] .player-screen .placeholder p a,
html[data-piplo-theme="light"] .player-screen .placeholder p button {color:var(--light)}
html[data-piplo-theme="light"] .player-screen button:hover,
html[data-piplo-theme="light"] .player-screen .button:hover {background:#e9e0f1;border-color:#8d6b9f}
html[data-piplo-theme="light"] .player-screen .primary,
html[data-piplo-theme="light"] .player-screen .primary:hover {background:var(--pip-green);border-color:var(--pip-green);color:#11150a}
html[data-piplo-theme="light"] .player-screen #next,
html[data-piplo-theme="light"] .player-screen #next:hover,
html[data-piplo-theme="light"] .player-screen .rotation-controls button[aria-pressed=true] {background:#4d2d65;color:#fff;border-color:#79558f}
html[data-piplo-theme="light"] .player-screen .district-trigger {background:var(--surface);border-color:var(--line)}
html[data-piplo-theme="light"] .player-screen .queue li {border-color:var(--line)}
html[data-piplo-theme="light"] .player-screen .track:hover {background:#f0eaf6}
html[data-piplo-theme="light"] .player-screen .track.current {background:#eae1f1;border-left-color:#6c7b22}
html[data-piplo-theme="light"] .player-screen .queue {scrollbar-color:#a489b5 transparent}
html[data-piplo-theme="light"] .player-screen .spot {background:linear-gradient(135deg,#f0e7f7,#fff);border-color:#baa5ca}
html[data-piplo-theme="light"] .player-screen .spot .skip {background:#e4dcea;border-color:#baa5ca;color:#40254f}
html[data-piplo-theme="light"] .player-screen dialog,
html[data-piplo-theme="light"] .player-screen .dialogtop {background:var(--panel);border-color:var(--line)}
html[data-piplo-theme="light"] .player-screen dialog {box-shadow:0 20px 90px #2c19314d}
html[data-piplo-theme="light"] .player-screen input:not([type=checkbox]):not([type=range]):not([type=radio]),
html[data-piplo-theme="light"] .player-screen select,
html[data-piplo-theme="light"] .player-screen textarea,
html[data-piplo-theme="light"] .player-screen .settings-choice-trigger {background:var(--surface);color:var(--ink);border-color:#b8a9c4}
html[data-piplo-theme="light"] .player-screen .settings-choice-panel,
html[data-piplo-theme="light"] .player-screen .location-search-results,
html[data-piplo-theme="light"] .player-screen .phone-control,
html[data-piplo-theme="light"] .player-screen .notice,
html[data-piplo-theme="light"] .player-screen .editrow {background:#f1ebf7;color:var(--ink);border-color:#baa5ca}
html[data-piplo-theme="light"] .player-screen .settings-choice-option:has(:checked),
html[data-piplo-theme="light"] .player-screen .location-search-option:hover,
html[data-piplo-theme="light"] .player-screen .location-search-option.active,
html[data-piplo-theme="light"] .player-screen .location-search-option[aria-selected=true] {background:#e2d4ee;color:#45265c}
html[data-piplo-theme="light"] .player-screen .genre-option {background:#f0ebf5}
html[data-piplo-theme="light"] .player-screen .genre-option:has(input:checked) {background:#e8edce;outline-color:#6c7b22}
html[data-piplo-theme="light"] .player-screen .warning {background:#fff3dd;color:#735018;border-color:#b28230}
html[data-piplo-theme="light"] .player-screen .danger,
html[data-piplo-theme="light"] .player-screen .statusline.error,
html[data-piplo-theme="light"] .player-screen #removeGenreError {color:#98394c}
html[data-piplo-theme="light"] .player-screen .settings-privacy,
html[data-piplo-theme="light"] .player-screen .player-terms {color:var(--muted)}
html[data-piplo-theme="light"] .player-screen .player-terms a {color:var(--light)}
html[data-piplo-theme="light"] .player-screen .timebar progress,
html[data-piplo-theme="light"] .player-screen .timebar progress::-webkit-progress-bar,
html[data-piplo-theme="light"] .player-screen #volume::-webkit-slider-runnable-track {background:#d9d1e1}
html[data-piplo-theme="light"] .player-screen #volume::-moz-range-track {background:#d9d1e1}
/* Comfortable touch targets, including older native-select fallbacks. */
.player-screen .appearance-setting {max-width:440px}
.player-screen #appearanceMode {font-size:16px}
