:root {
  --background: #100e0b;
  --surface: #191510;
  --soft: #241e16;
  --border: #3a3021;
  --accent: #f0c46c;
  --accent-hover: #ffda8c;
  --ink: #fff3da;
  --subtle: #c9b89d;
  --muted: #a89883;
  --button-text: #261b0c;
  --glass: #17130ff5;
}
:root[data-theme="light"] {
  --background: #fbf5e9;
  --surface: #fffaf0;
  --soft: #f5e8cf;
  --border: #dfcba5;
  --accent: #8d5a18;
  --accent-hover: #714813;
  --ink: #342511;
  --subtle: #655235;
  --muted: #775f3c;
  --button-text: #fff8eb;
  --glass: #fffaf1f5;
}
body { background:var(--background);color:var(--ink);--green:var(--accent);--line:var(--border); }
.sidebar,.topbar { background:var(--surface); }
.sidebar { scrollbar-color:var(--border) transparent; }
.brand { gap:11px;align-items:center;margin-bottom:35px; }
.brand-mark { width:48px;height:48px;background:none;border-radius:14px;transform:none; }
.brand-mark img { width:100%;height:100%;display:block; }
.brand-name { display:flex;flex-direction:column;gap:3px; }
.brand-name small { font-size:12px;font-weight:450;color:var(--subtle); }
.brand-name strong { font-size:23px;line-height:1.2;white-space:nowrap; }
.brand-en { color:var(--muted);font-size:8px;letter-spacing:1.3px; }
.side-label,.side-footer,.subtle,.content-footer,.section-kicker,.journey-hint { color:var(--muted); }
.nav-item,.mood-nav button,.top-install { color:var(--subtle); }
.nav-item.active { color:var(--accent);background:var(--soft);font-weight:650; }
.nav-item:hover,.mood-nav button:hover { color:var(--accent);background:var(--soft); }
#favorite-count,.side-footer span,.install-symbol { color:var(--accent); }
.install-card { background:var(--soft);border-color:var(--border); }
.install-card p { color:var(--subtle); }
.install-card button,.search,.theme-toggle { background:var(--surface);border:1px solid var(--border);color:var(--accent); }
.install-card button:hover,.theme-toggle:hover { background:var(--soft); }
.search { background:var(--background);width:min(350px,34vw); }
.search input { color:var(--ink);font-size:13px; }
.search input::placeholder { color:var(--muted); }
.search kbd { color:var(--subtle);background:var(--soft); }
.hello { color:var(--accent); }
.theme-toggle { display:flex;align-items:center;gap:8px;flex-shrink:0;border-radius:10px;padding:8px 10px;font-size:12px;white-space:nowrap; }
.theme-toggle svg { width:18px;height:18px; }

.hero { background:#21180e;border:1px solid #73532c;border-radius:24px;color:#fff4db;min-height:388px; }
.hero-image { background:linear-gradient(270deg,#19120cf8 8%,#21190fed 44%,#21190f0f 100%),url('./assets/mountain.svg?v=3') center 53%/cover; }
.hero-image:after { background:linear-gradient(0deg,#120d09a6,transparent 58%);mix-blend-mode:normal; }
.hero-text { padding-bottom:39px; }
.eyebrow,.hero-text p,.hero-meta { color:#e4cda9; }
.eyebrow { font-size:13px; }
h1 { color:#fff3dc; }
h1 em { color:#f0c46c; }
.hero-text p { font-size:15px; }
.hero-explore { color:#f5d399;border-color:#ad854a; }
.hero-meta i { background:#c79759; }
.primary,.main-play { background:var(--accent);color:var(--button-text); }
.primary:hover,.main-play:hover { background:var(--accent-hover); }
.hero .primary { background:#f0c46c;color:#261b0c; }
.hero .primary:hover { background:#ffda8c; }
.record { background:repeating-radial-gradient(circle,#161310 0 2px,#4c3b25 3px,#18130e 4px);box-shadow:0 12px 42px #050302b0,inset 0 0 0 2px #e3b15b55; }
.record:after { background:conic-gradient(transparent 25deg,#fbd29230 48deg,transparent 90deg,transparent 175deg,#e1ab5633 220deg,transparent 260deg); }
.record-label { background:radial-gradient(circle at 30% 25%,#ffe4a0,#daa24e 70%);border-color:#b8863b;color:#503313;gap:8px; }
.record-label img { width:55%;height:auto;border-radius:20%; }
.record-label small { font-size:8px;letter-spacing:.8px;font-weight:750;margin:0; }
.orbit { border-color:#ffe2ae46; }
.orbit-two { border-color:#ffe2ae66; }
.orbit-one:after,.art-star { color:#ffe09f;background-color:transparent; }
.orbit-one:after { background:#ffdc91;box-shadow:0 0 20px #f0c46c; }
.hero-bottom { display:none; }

.mood-heading { color:var(--subtle);font-size:14px; }
.mood-chips button,.timer-options button { background:var(--surface);border-color:var(--border);color:var(--subtle);font-size:13px; }
.mood-chips button span { color:inherit; }
.mood-chips button.selected { background:var(--accent);border-color:var(--accent);color:var(--button-text); }
.mood-chips button:hover,.timer-options button:hover { border-color:var(--accent); }
.tiny-pill { display:none; }
.text-button,.content-footer b,.content-footer button { color:var(--accent); }
.text-button span { border-color:var(--border); }
.catalog-filters { display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 18px; }
.catalog-filters label { display:grid;gap:4px;color:var(--subtle);font-size:13px; }
.catalog-filters select { color:var(--ink);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:8px 9px;min-width:145px;font:inherit; }
.catalog-filters output { margin-inline-start:auto;color:var(--muted);font-size:13px;padding:8px 0; }
.station-grid { grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:22px 15px; }
.station-card { max-width:270px; }
.cover-button { border-color:#c396553a;border-radius:14px; }
.cover-gold { background:#332315; }
.cover-gold .cover-pattern { background:linear-gradient(145deg,#2c1e14,#9d713b 65%,#3e2b1c); }
.cover-gold .cover-pattern:after { content:'';position:absolute;inset:10%;background:repeating-radial-gradient(circle at 75% 30%,#eac18235 0 1px,transparent 2px 9px);opacity:.65; }
.cover-top { font:600 10px Vazir,Tahoma,sans-serif;letter-spacing:0; }
.cover-words { bottom:16px;right:12px;transition:opacity .2s; }
.cover-words strong { font-size:clamp(15px,1.45vw,22px);line-height:1.14;overflow-wrap:anywhere; }
.cover-button:hover .cover-words,.cover-button:focus-visible .cover-words,.station-card.current .cover-words { right:43px; }
.card-play { background:#f0c46c;color:#261b0c;width:32px;height:32px;right:8px;bottom:9px; }
.card-play svg { width:17px;height:17px; }
.card-play svg:has(use[href="#i-globe"]),.card-play svg:has(use[href="#i-pause"]) { fill:none;stroke-width:2; }
.card-favorite { left:auto;right:9px;opacity:1; }
.card-favorite.saved { color:#f0c46c!important; }
.card-favorite:focus-visible { opacity:1; }
.card-info h3 { font-size:14px; }
.card-description { color:var(--subtle);font-size:12px; }
.journey { background:var(--soft);border-color:var(--border);color:var(--ink); }
.journey p,.journey>div>span { color:var(--subtle); }
.journey>svg { color:var(--accent); }

.player,.mobile-nav { background:var(--glass);border-color:var(--border); }
.player { box-shadow:0 -4px 26px #0003; }
.track-info>span,.icon-button,.playback-status,.sound-label,.mobile-nav button { color:var(--subtle); }
.icon-button:hover,.mobile-nav button.active,.saved { color:var(--accent)!important; }
.icon-button:hover { background:var(--soft); }
.live-line,.tool-divider,.equalizer i { background:var(--border); }
.player.playing .equalizer i,.player.playing .playback-status>span:first-child { background:var(--accent); }
.empty,dialog { background:var(--surface);border:1px solid var(--border);color:var(--ink); }
dialog::backdrop { background:#080603aa; }
#modal-body,.modal-note { color:var(--subtle); }
#modal-body a,.modal-badge,.cancel-timer { color:var(--accent); }
.modal-badge { background:var(--soft); }
#toast { background:var(--accent);color:var(--button-text); }

@media(max-width:1180px) {
  .brand-name strong { font-size:21px; }
  .theme-label { display:none; }
}
@media(max-width:900px) {
  .brand-mark { width:36px;height:36px; }
  .brand-name strong { font-size:19px; }
  .search { width:min(240px,27vw); }
  .hero-text p { font-size:13px; }
}
@media(max-width:700px) {
  .topbar { padding:0 14px;gap:8px;background:var(--background); }
  .mobile-brand { width:32px;height:32px; }
  .search { width:36px;flex-shrink:0; }
  .search:focus-within { background:var(--surface);border-color:var(--accent); }
  .theme-toggle { padding:8px; }
  .top-install { border-color:var(--border); }
  .hero { min-height:412px;border-radius:18px; }
  .hero-image { background-position:37% center; }
  .record-label small { font-size:5px; }
  .station-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .catalog-filters label { flex:1 1 43%;min-width:0;font-size:12px; }
  .catalog-filters select { width:100%;min-width:0; }
  .catalog-filters output { padding:0; }
  .cover-words { right:43px; }
  .cover-words strong { font-size:18px; }
}

#stream-source { color:var(--accent);font-size:11px;text-decoration:underline;padding:0 3px;white-space:nowrap; }
