:root {
  color-scheme: light;
  --paper: #f3f3ef;
  --surface: #fff;
  --ink: #252921;
  --muted: #71766c;
  --line: #e4e6de;
  --accent: var(--home-accent, #596b45);
  --wash: #eceee7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
:root[data-home-theme="midnight"] { color-scheme: dark; --paper:#1b2025; --surface:#272d34; --ink:#f3f4ec; --muted:#a7b0b7; --line:#3e454d; --wash:#333a43; }
:root[data-home-theme="electric"] { --paper:#f0edf9; --wash:#e9e4f3; }
:root[data-home-theme="sunset"] { --paper:#fff0e7; --wash:#f9e5da; }
:root[data-home-theme="ocean"] { --paper:#eaf3f3; --wash:#deeeee; }
:root[data-home-theme="candy"] { --paper:#f9edf4; --wash:#f2e1ed; }
:root[data-home-theme="forest"] { --paper:#edf1e9; --wash:#e0e8d9; }
:root[data-home-theme="retro"] { --paper:#f5ecd9; --wash:#eee3ca; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--paper); font-size:15px; line-height:1.45; }
a { color:inherit; text-decoration:none; }
button,input,select { font:inherit; }
button,a,input,select { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
button { cursor:pointer; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
button { color:inherit; }
[hidden] { display:none!important; }
.settings-header { min-height:80px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px; padding:12px max(28px,calc((100vw - 1260px)/2)); border-bottom:1px solid var(--line); }
.back-home { min-height:44px; display:flex; align-items:center; justify-self:start; gap:11px; font-size:14px; font-weight:600; }
.back-home>span { font-size:24px; font-weight:400; }
.settings-wordmark { display:flex; align-items:baseline; gap:3px; font-size:24px; font-weight:800; letter-spacing:-1.2px; }
.settings-wordmark>span { color:var(--muted); font-size:16px; font-weight:500; letter-spacing:-.6px; }
.settings-save-status { display:flex; justify-self:end; align-items:center; gap:8px; color:var(--muted); font-size:11px; }
.settings-save-status i { width:6px; height:6px; flex-shrink:0; border-radius:50%; background:var(--accent); }
.settings-save-status b { font-weight:500; }
.settings-shell { width:min(1140px,calc(100% - 64px)); display:grid; grid-template-columns:260px minmax(0,1fr); align-items:start; gap:80px; margin:auto; padding:56px 0 max(80px,env(safe-area-inset-bottom)); }
.settings-sidebar { position:sticky; top:30px; }
.settings-kicker,.section-heading>p { margin:0 0 14px; color:var(--muted); font-size:10px; font-weight:600; letter-spacing:1.8px; }
.settings-sidebar h1 { margin:0; font-size:42px; line-height:1.1; font-weight:650; letter-spacing:-1.8px; }
.settings-intro { margin:13px 0 31px; color:var(--muted); font-size:13px; }
.settings-nav { display:grid; padding:7px; border:1px solid var(--line); border-radius:21px; background:var(--surface); }
.settings-nav a { min-height:65px; display:grid; grid-template-columns:33px minmax(0,1fr) 12px; align-items:center; gap:11px; padding:10px; border-radius:14px; }
.settings-nav a.is-active { background:var(--wash); }
.settings-nav a:hover { background:var(--wash); }
.settings-nav i { width:33px; height:33px; display:grid; place-items:center; border-radius:9px; color:white; font-size:23px; font-style:normal; }
.settings-nav .nav-player { background:#8e8dc7; }.settings-nav .nav-appearance { background:#cd8d65; }.settings-nav .nav-library { background:#708663; }.settings-nav .nav-audio { background:#c78493; }.settings-nav .nav-accessibility { background:#629caa; font-size:14px; }.settings-nav .nav-data { background:#8f9998; font-size:22px; }
.settings-nav b,.settings-nav small { display:block; }
.settings-nav b { font-size:13px; font-weight:600; }
.settings-nav small { margin-top:2px; color:var(--muted); font-size:10px; }
.settings-nav em { color:var(--muted); font-size:23px; font-style:normal; }
.sidebar-note { margin:23px 14px; color:var(--muted); font-size:11px; line-height:1.7; }
.settings-content,.settings-section { min-width:0; }
.section-heading { margin-bottom:30px; }
.section-heading>p { margin-bottom:12px; }
.section-heading h2 { margin:0 0 10px; font-size:36px; font-weight:600; letter-spacing:-1.5px; line-height:1.15; }
.section-heading>span { display:block; color:var(--muted); font-size:14px; }
.settings-group { padding:8px 24px; border:1px solid var(--line); border-radius:23px; background:var(--surface); }
.profile-settings-form { display:grid; gap:20px; }
.profile-preview-row { display:flex; align-items:center; gap:19px; min-height:144px; padding:28px; border:1px solid var(--line); border-radius:23px; background:var(--wash); }
.settings-avatar { width:72px; height:72px; display:grid; flex-shrink:0; place-items:center; border-radius:23px; color:#fff; background:#7656ff; font-size:24px; font-weight:700; }
.profile-preview-row>div { min-width:0; }
.profile-preview-row small,.profile-preview-row strong,.profile-preview-row div>span { display:block; overflow-wrap:anywhere; }
.profile-preview-row small { margin-bottom:4px; color:var(--muted); font-size:9px; font-weight:650; letter-spacing:1.2px; }
.profile-preview-row strong { font-size:23px; font-weight:650; letter-spacing:-.6px; }
.profile-preview-row div>span { margin-top:2px; color:var(--muted); font-size:12px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px 20px; padding:25px; }
.form-grid .wide { grid-column:1/-1; }
.form-grid label,.settings-fieldset legend,.home-title-label,.track-select-label { display:block; min-width:0; font-size:13px; font-weight:600; }
.form-grid input,.form-grid select,.home-title-label input,.track-picker select { width:100%; min-height:48px; margin-top:8px; padding:11px 13px; border:1px solid var(--line); border-radius:11px; color:var(--ink); background:var(--paper); font-size:16px; }
.form-grid label>small,.home-title-label>small { display:block; margin-top:7px; color:var(--muted); font-size:11px; font-weight:400; }
.form-grid input[aria-invalid="true"] { border-color:#c94455; }
.settings-fieldset { min-width:0; margin:0; padding:0; border:0; }
.settings-fieldset legend { margin-bottom:13px; }
.accent-options { display:flex; flex-wrap:wrap; gap:12px; }
.accent-options button { width:44px; height:44px; padding:0; border:6px solid var(--surface); border-radius:50%; outline:1px solid transparent; background:var(--accent-color); }
.accent-options button.selected { outline-color:var(--ink); }
.section-actions { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.section-actions p { margin:0; color:var(--muted); font-size:12px; }
.primary-action,.secondary-action,.quiet-action,.danger-button { min-height:46px; display:inline-flex; align-items:center; justify-content:center; gap:22px; padding:12px 20px; border:1px solid var(--line); border-radius:13px; font-size:13px; font-weight:600; white-space:nowrap; }
.primary-action,.secondary-action { border-color:var(--ink); color:var(--surface); background:var(--ink); }
.quiet-action { background:var(--surface); }
.primary-action:hover,.secondary-action:hover { opacity:.85; }
.theme-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px 14px; }
.theme-options button { position:relative; min-width:0; padding:0 0 7px; border:0; border-radius:17px; background:transparent; text-align:left; }
.theme-options button>span { display:block; padding:11px 4px 0; }
.theme-options b { display:block; font-size:12px; font-weight:600; }
.theme-options small { display:block; margin-top:3px; color:var(--muted); font-size:10px; }
.theme-swatch { aspect-ratio:1; display:grid; place-items:center; overflow:hidden; border:4px solid var(--surface); border-radius:23px; box-shadow:0 0 0 1px var(--line); }
.theme-swatch>span { font-size:55px; font-style:normal; font-weight:300; }
.theme-options button.selected .theme-swatch { box-shadow:0 0 0 2px var(--accent); }
.theme-options em { position:absolute; top:9px; right:9px; display:none; width:21px; height:21px; place-items:center; border-radius:50%; color:#fff; background:#252921; font-size:12px; font-style:normal; }
.theme-options button.selected em { display:grid; }
.theme-swatch.studio { color:#748366; background:#e7ecdf; }.theme-swatch.midnight { color:#e6dab6; background:#282c38; }.theme-swatch.electric { color:#f1eb7e; background:#a58dda; }.theme-swatch.sunset { color:#f7f0c5; background:linear-gradient(#dd8e84,#ebb68d); }.theme-swatch.ocean { color:#e3f1e9; background:#7daeb4; }.theme-swatch.candy { color:#f8dbb5; background:#d595ae; }.theme-swatch.forest { color:#dfdf96; background:#527657; }.theme-swatch.retro { color:#b76139; background:#eadbaa; }
.appearance-details { margin-top:28px; }
.setting-row { min-width:0; display:flex; align-items:center; justify-content:space-between; gap:25px; min-height:93px; padding:21px 0; border-top:1px solid var(--line); }
.setting-row:first-child { border-top:0; }
.setting-row b,.setting-row span,.setting-row small { display:block; }
.setting-row b { margin-bottom:4px; color:var(--ink); font-size:14px; font-weight:600; }
.setting-row span,.setting-row small { color:var(--muted); font-size:12px; font-weight:400; }
.setting-row small { max-width:380px; }
.color-row input { width:46px; height:46px; flex-shrink:0; padding:3px; border:1px solid var(--line); border-radius:12px; background:var(--paper); cursor:pointer; }
.home-title-label { padding:20px 0; border-top:1px solid var(--line); }
.segmented-control { display:flex; flex:0 0 auto; gap:3px; padding:4px; border-radius:11px; background:var(--paper); }
.segmented-control button { min-width:76px; min-height:38px; padding:8px 11px; border:0; border-radius:8px; color:var(--muted); background:transparent; font-size:12px; font-weight:550; }
.segmented-control button.selected { color:var(--ink); background:var(--surface); box-shadow:0 1px 4px #00000012; }
.switch { width:49px; height:30px; flex-shrink:0; position:relative; margin:0; border:2px solid transparent; border-radius:18px; appearance:none; background:#c6ccc1; cursor:pointer; transition:background .15s; }
.switch::before { content:""; position:absolute; width:24px; height:24px; top:1px; left:1px; border-radius:50%; background:white; box-shadow:0 1px 3px #0002; transition:transform .15s; }
.switch:checked { background:var(--accent); }
.switch:checked::before { transform:translateX(19px); }
.arrangement-group { margin-top:20px; padding-bottom:22px; }
.row-actions { display:flex; flex-wrap:wrap; gap:10px; }
.audio-topline { padding:24px; margin-bottom:20px; border:1px solid var(--line); border-radius:23px; background:var(--wash); }
.now-playing { display:flex; align-items:center; gap:17px; min-width:0; }
.music-bars { width:64px; height:64px; display:grid; place-items:center; flex-shrink:0; border-radius:19px; color:#fff; background:#c78493; font-size:33px; }
.now-playing>div { min-width:0; }
.now-playing small,.now-playing strong,.now-playing div>span { display:block; overflow-wrap:anywhere; }
.now-playing small { margin-bottom:4px; color:var(--muted); font-size:9px; letter-spacing:1.2px; font-weight:650; }
.now-playing strong { font-size:19px; font-weight:650; letter-spacing:-.4px; }
.now-playing div>span { margin-top:3px; color:var(--muted); font-size:12px; }
.audio-toggles { display:flex; gap:10px; margin-top:22px; }
.audio-toggles button { min-height:44px; display:flex; align-items:center; gap:10px; padding:10px 15px; border:1px solid var(--line); border-radius:12px; background:var(--surface); font-size:12px; font-weight:550; }
.audio-toggles i { font-style:normal; font-size:18px; }
.audio-toggles button[aria-pressed="true"] { background:var(--ink); border-color:var(--ink); color:var(--surface); }
.track-select-label { margin-top:16px; }
.track-picker { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:7px; margin:10px 0 12px; }
.track-picker select { min-width:0; margin:0; font-size:14px; }
.track-picker>button { min-width:44px; height:48px; padding:0; border:1px solid var(--line); border-radius:11px; background:var(--surface); font-size:27px; font-weight:400; }
.playback-options { display:flex; gap:8px; margin-bottom:24px; }
.playback-options button { min-height:42px; padding:9px 14px; border:1px solid var(--line); border-radius:11px; color:var(--muted); background:var(--surface); font-size:12px; font-weight:600; }
.playback-options button[aria-pressed="true"] { color:var(--surface); border-color:var(--ink); background:var(--ink); }
.playback-options span { margin-right:5px; font-size:17px; }
.playlist-picker { min-width:0; padding:19px 0 6px; margin:0 0 24px; border:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.playlist-picker legend { width:100%; display:flex; justify-content:space-between; gap:16px; padding:0; color:var(--ink); font-size:13px; font-weight:650; }
.playlist-picker legend span,.playlist-picker>p { color:var(--muted); font-size:11px; font-weight:450; }
.playlist-picker>p { margin:6px 0 13px; }
.playlist-tracks { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.playlist-tracks label { min-width:0; min-height:57px; display:flex; align-items:center; gap:10px; padding:9px 11px; border:1px solid var(--line); border-radius:11px; background:var(--surface); cursor:pointer; }
.playlist-tracks input { width:19px; height:19px; flex:0 0 auto; accent-color:var(--accent); }
.playlist-tracks span,.playlist-tracks b,.playlist-tracks small { display:block; min-width:0; }
.playlist-tracks b { overflow:hidden; color:var(--ink); font-size:12px; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
.playlist-tracks small { margin-top:2px; color:var(--muted); font-size:10px; }
.volume-grid { display:grid; gap:20px; padding:0 0 15px; }
.volume-grid label { display:grid; gap:8px; }
.volume-grid label>span { display:flex; justify-content:space-between; }
.volume-grid b { font-size:13px; font-weight:550; }
.volume-grid output { color:var(--muted); font-size:12px; font-variant-numeric:tabular-nums; }
.volume-grid input { --level:50%; width:100%; height:32px; margin:0; appearance:none; background:linear-gradient(90deg,var(--accent) var(--level),var(--line) var(--level)) center/100% 5px no-repeat; cursor:pointer; }
.volume-grid input::-webkit-slider-thumb { width:25px; height:25px; border:1px solid var(--line); border-radius:50%; appearance:none; background:var(--surface); box-shadow:0 2px 5px #0002; }
.volume-grid input::-moz-range-thumb { width:24px; height:24px; border:1px solid var(--line); border-radius:50%; background:var(--surface); box-shadow:0 2px 5px #0002; }
.section-note { margin:18px 8px; color:var(--muted); font-size:12px; line-height:1.6; }
.section-note a { font-weight:650; text-underline-offset:2px; }
.data-summary { display:flex; align-items:center; gap:20px; padding:24px; margin-bottom:20px; border:1px solid var(--line); border-radius:23px; background:var(--wash); }
.data-summary>span { font-size:44px; color:var(--accent); }
.data-summary b { font-size:15px; font-weight:600; }
.data-summary p { margin:5px 0 0; color:var(--muted); font-size:12px; }
.danger-actions { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:24px 0; border-top:1px solid var(--line); }
.danger-actions:first-child { border-top:0; }
.danger-actions b,.danger-actions span,.danger-actions small { display:block; }
.danger-actions b { margin-bottom:5px; font-size:14px; font-weight:600; }
.danger-actions span { color:var(--muted); font-size:12px; }
.danger-actions small { margin-top:6px; color:#b84752; font-size:11px; }
.danger-button { color:#b84752; background:transparent; border-color:#b8475240; }
:root[data-text-size="large"] { font-size:18px; }
:root[data-text-size="large"] .setting-row b,:root[data-text-size="large"] .form-grid label { font-size:17px; }
:root[data-text-size="large"] .setting-row span,:root[data-text-size="large"] .setting-row small,:root[data-text-size="large"] .section-heading>span,:root[data-text-size="large"] .settings-intro,:root[data-text-size="large"] .section-note,:root[data-text-size="large"] .form-grid label>small { font-size:15px; }
:root[data-contrast="high"] { --muted:var(--ink); --line:#8c9385; }
:root[data-motion="reduced"] * { transition:none!important; animation:none!important; scroll-behavior:auto!important; }
@media(prefers-reduced-motion:reduce) { * { transition:none!important; animation:none!important; scroll-behavior:auto!important; } }
@media(max-width:1000px) { .settings-shell { grid-template-columns:230px minmax(0,1fr); gap:36px; }.theme-options { grid-template-columns:repeat(2,minmax(0,1fr)); }.theme-swatch { aspect-ratio:1.5; }.setting-row { gap:16px; }.segmented-control button { min-width:65px; }.danger-actions { align-items:flex-start; flex-direction:column; gap:15px; } }
@media(max-width:720px) {
  .settings-header { min-height:65px; padding:10px max(20px,env(safe-area-inset-left)); gap:10px; }
  .settings-wordmark { font-size:23px; }.settings-wordmark>span { font-size:15px; }
  .settings-save-status { position:fixed; z-index:3; bottom:max(12px,env(safe-area-inset-bottom)); left:50%; width:max-content; max-width:calc(100% - 32px); transform:translateX(-50%); padding:9px 14px; border:1px solid var(--line); border-radius:25px; background:var(--surface); box-shadow:0 2px 12px #00000008; font-size:10px; pointer-events:none; }
  .settings-shell { width:100%; display:block; padding:25px 20px max(80px,env(safe-area-inset-bottom)); }
  .settings-sidebar { position:static; }.settings-kicker { display:none; }.settings-sidebar h1 { font-size:34px; letter-spacing:-1.2px; }.settings-intro { margin:9px 0 22px; font-size:13px; }
  .settings-nav { display:flex; overflow-x:auto; gap:6px; margin:0 -20px 30px; padding:0 20px 9px; border:0; border-radius:0; background:none; scrollbar-width:none; }.settings-nav::-webkit-scrollbar { display:none; }
  .settings-nav a { min-width:max-content; min-height:47px; display:flex; gap:8px; padding:7px 11px; border:1px solid var(--line); border-radius:14px; background:var(--surface); }.settings-nav a.is-active { background:var(--ink); color:var(--surface); border-color:var(--ink); }.settings-nav i { width:27px; height:27px; border-radius:7px; font-size:20px; }.settings-nav .nav-accessibility { font-size:12px; }.settings-nav b { font-size:12px; }.settings-nav small,.settings-nav em,.sidebar-note { display:none; }
  .section-heading { margin-bottom:23px; }.section-heading>p { margin-bottom:10px; font-size:9px; letter-spacing:1.5px; }.section-heading h2 { font-size:30px; letter-spacing:-1px; }.section-heading>span { font-size:13px; line-height:1.6; }
  .settings-group { padding:4px 18px; border-radius:20px; }.profile-preview-row { min-height:130px; padding:22px; gap:15px; border-radius:20px; }.settings-avatar { width:61px; height:61px; border-radius:20px; font-size:20px; }.profile-preview-row strong { font-size:20px; }.form-grid { padding:21px 18px; gap:22px 14px; }.form-grid select { font-size:16px; padding-left:10px; padding-right:5px; }.accent-options { gap:7px; }
  .section-actions { align-items:stretch; flex-direction:column-reverse; gap:12px; }.section-actions p { text-align:center; }.primary-action { width:100%; }
  .theme-options { grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px 10px; }.theme-swatch { aspect-ratio:.9; border-width:3px; border-radius:16px; }.theme-swatch>span { font-size:36px; }.theme-options button>span { padding:9px 0 0; }.theme-options b { font-size:11px; }.theme-options small { display:none; }.theme-options em { top:6px; right:6px; width:17px; height:17px; font-size:10px; }
  .setting-row { gap:14px; min-height:89px; padding:21px 0; }.setting-row b { font-size:14px; }.setting-row span,.setting-row small { font-size:12px; }.setting-row:has(.segmented-control) { align-items:flex-start; flex-direction:column; gap:13px; }.segmented-control { width:100%; }.segmented-control button { flex:1; min-height:38px; font-size:12px; }
  .arrangement-group { padding-bottom:18px; }.row-actions>* { flex:1; padding:11px; }.audio-topline { padding:22px; border-radius:20px; }.now-playing { gap:13px; }.music-bars { width:55px; height:55px; border-radius:17px; }.now-playing strong { font-size:18px; }.audio-toggles button { flex:1; justify-content:center; padding:10px; }.track-picker { grid-template-columns:40px minmax(0,1fr) 40px; gap:5px; }.track-picker>button { min-width:40px; }.track-picker select { font-size:16px; padding:10px 6px; }.playback-options button { flex:1; }.playlist-tracks { grid-template-columns:1fr; }.volume-grid { padding-bottom:18px; }
  .data-summary { padding:20px; gap:15px; }.danger-actions { padding:23px 0; }.danger-actions button { width:100%; }
}
@media(max-width:350px) { .settings-shell { padding-right:14px; padding-left:14px; }.settings-nav { margin-right:-14px; margin-left:-14px; padding-right:14px; padding-left:14px; }.form-grid { grid-template-columns:1fr; }.form-grid .wide { grid-column:auto; }.accent-options { gap:3px; }.section-heading h2 { font-size:27px; } }
