@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --background: #101111;
  --surface: #171919;
  --surface-raised: #1d2020;
  --border: #292c2c;
  --text: #f4f2ec;
  --muted: #8b8e88;
  --accent: #b9f36b;
  --font-body: "DM Sans", sans-serif;
  --font-heading: "Manrope", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { color: inherit; }

.app-shell { min-height: 100vh; padding-bottom: 106px; }

.sidebar {
  position: fixed;
  z-index: 3;
  inset: 0 auto 0 0;
  display: flex;
  width: 234px;
  flex-direction: column;
  padding: 31px 21px 106px;
  border-right: 1px solid #232626;
  background: #121414;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 1px 0 60px 7px;
  color: var(--text);
  font: 800 25px var(--font-heading);
  letter-spacing: -1.6px;
  text-decoration: none;
}

.brand-period { color: var(--accent); }
.brand-mark { display: flex; height: 22px; align-items: center; gap: 3px; }
.brand-mark span { width: 3px; border-radius: 5px; background: var(--accent); }
.brand-mark span:nth-child(1), .brand-mark span:nth-child(3) { height: 11px; }
.brand-mark span:nth-child(2) { height: 21px; }

.nav-label, .eyebrow, .breadcrumb, .sidebar-footer, .player-label, .player-live, .page-footer {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.35px;
}

.nav-label { padding: 0 10px; color: #71746e; }
.main-nav { display: grid; gap: 7px; margin-top: 15px; }

.nav-link {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 0 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #a4a69f;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
  transition: background .18s, color .18s;
}

.nav-link:hover, .nav-link.is-active { background: #202322; color: var(--text); }
.nav-link.is-active { box-shadow: inset 2px 0 var(--accent); }
.nav-link svg, .search-box svg, .volume-controls svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.nav-count { display: grid; width: 20px; height: 20px; place-items: center; margin-left: auto; border-radius: 50%; background: #292d2b; color: #b5b8b0; font-size: 10px; }

.sidebar-note {
  display: flex;
  gap: 11px;
  margin-top: auto;
  padding: 14px 12px;
  border: 1px solid #292e2b;
  border-radius: 8px;
  background: #181b19;
}

.sidebar-note > div { display: grid; min-width: 0; gap: 4px; }
.sidebar-note strong { font-size: 12px; font-weight: 600; }
.sidebar-note > div > span { color: var(--muted); font-size: 10px; line-height: 1.4; overflow-wrap: break-word; }
.live-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px #b9f36b66; }
.sidebar-note .live-dot { margin-top: 4px; }
.sidebar-footer { margin: 24px 0 0 11px; color: #656862; font-size: 9px; }
.sidebar-footer span { padding-left: 4px; color: var(--accent); }

.main-content { max-width: 1250px; min-height: calc(100vh - 106px); margin-left: 234px; padding: 0 62px; }
.topbar { display: flex; height: 78px; align-items: center; justify-content: space-between; border-bottom: 1px solid #222525; }
.breadcrumb { display: flex; gap: 11px; color: #777a74; font-size: 9px; }
.breadcrumb span:last-child { color: #c2c4bd; }
.breadcrumb-separator { color: #4b4e49; }
.about-link { color: #a3a59f; font-size: 12px; text-decoration: none; }
.about-link span { margin-left: 4px; color: var(--accent); }
.about-link:hover { color: var(--text); }

.intro { padding: 45px 0 26px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0; color: #a4a69f; font-size: 9px; }
.eyebrow-line { width: 17px; height: 1px; background: var(--accent); }
h1, h2, p { margin-top: 0; }
h1 { margin: 15px 0 10px; font: 700 clamp(39px, 5.2vw, 63px)/1.07 var(--font-heading); letter-spacing: -3.6px; }
.title-accent { color: var(--accent); }
.intro-copy { margin: 0; color: #a4a69f; font-size: 13px; }

.search-section { display: flex; align-items: center; gap: 18px; margin-top: 19px; }
.search-box { display: flex; width: min(100%, 480px); height: 48px; align-items: center; gap: 12px; padding: 0 15px; border: 1px solid #303332; border-radius: 7px; background: #171919; color: #9c9f98; transition: border-color .18s; }
.search-box:focus-within { border-color: #718d4d; }
.search-box svg { width: 17px; height: 17px; flex: 0 0 auto; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12px; }
.search-box input::placeholder { color: #787b75; }
.search-box input::-webkit-search-cancel-button { cursor: pointer; }
kbd { display: grid; min-width: 21px; height: 21px; place-items: center; border: 1px solid #363938; border-radius: 4px; color: #888b84; font: 11px var(--font-body); }
.search-hint { color: #747771; font-size: 10px; }

.stations-section { padding-top: 49px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; }
.section-eyebrow { margin-bottom: 7px; color: #858881; }
h2 { margin: 0; font: 600 21px var(--font-heading); letter-spacing: -.7px; }
.result-count { padding-bottom: 3px; color: #858881; font-size: 11px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 21px; }
.filter-chip { min-height: 29px; padding: 0 12px; border: 1px solid #303332; border-radius: 20px; background: transparent; color: #a1a39d; cursor: pointer; font-size: 10px; transition: all .18s; }
.filter-chip:hover { border-color: #62685d; color: var(--text); }
.filter-chip.is-selected { border-color: var(--accent); background: var(--accent); color: #192014; font-weight: 700; }

.station-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.station-card { overflow: hidden; min-width: 0; border: 1px solid #292c2b; border-radius: 8px; background: var(--surface); transition: border-color .18s, transform .18s; }
.station-card:hover { transform: translateY(-2px); border-color: #464b46; }
.station-card-art { position: relative; display: grid; height: 142px; place-items: center; overflow: hidden; background: var(--art-background, linear-gradient(135deg, #343628, #777452)); }
.station-card-art::before, .station-card-art::after { position: absolute; content: ""; border: 1px solid #ffffff26; border-radius: 50%; }
.station-card-art::before { width: 160px; height: 160px; }
.station-card-art::after { width: 112px; height: 112px; }
.station-card-art img { z-index: 1; width: 64px; height: 64px; border: 1px solid #ffffff29; border-radius: 12px; background: #141616; object-fit: cover; }
.station-monogram { z-index: 1; display: grid; width: 57px; height: 57px; place-items: center; border: 1px solid #ffffff46; border-radius: 13px; background: #151716aa; color: white; font: 700 18px var(--font-heading); letter-spacing: -1px; box-shadow: 0 5px 22px #0003; }
.station-live { position: absolute; z-index: 1; top: 10px; left: 10px; display: flex; align-items: center; gap: 6px; padding: 5px 7px; border: 1px solid #ffffff22; border-radius: 4px; background: #10111199; color: #f2f1eb; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.station-live .live-dot { width: 5px; height: 5px; }
.station-play { position: absolute; z-index: 1; right: 10px; bottom: 10px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 50%; background: var(--accent); color: #172012; cursor: pointer; transition: transform .18s, background .18s; }
.station-play:hover { transform: scale(1.07); background: #c8ff7a; }
.station-play svg { width: 14px; height: 14px; fill: currentColor; }
.station-play .pause-symbol { display: none; }
.station-play.is-playing .play-symbol { display: none; }
.station-play.is-playing .pause-symbol { display: block; }
.station-card-info { min-height: 76px; padding: 12px 12px 11px; }
.station-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.station-name { overflow: hidden; margin: 0; color: #efeee8; font: 600 12px var(--font-heading); text-overflow: ellipsis; white-space: nowrap; }
.station-country { overflow: hidden; margin: 5px 0 0; color: #82857e; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.station-tags { color: #747771; }
.favorite-toggle { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #777a74; cursor: pointer; }
.favorite-toggle:hover { background: #292d2a; color: var(--text); }
.favorite-toggle.is-favorite { color: var(--accent); }
.favorite-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.favorite-toggle.is-favorite svg { fill: currentColor; }

.status-message { padding: 30px 12px; color: #a7a9a2; font-size: 12px; text-align: center; }
.status-message[hidden], .load-more[hidden] { display: none; }
.load-more { display: block; margin: 23px auto 0; padding: 9px 15px; border: 1px solid #383c38; border-radius: 6px; background: transparent; color: #c5c7c0; cursor: pointer; font-size: 11px; }
.load-more:hover { border-color: var(--accent); color: var(--accent); }
.load-more span { padding-left: 7px; }
.page-footer { display: flex; justify-content: space-between; margin-top: 58px; padding: 20px 0 23px; border-top: 1px solid #242727; color: #6e716b; font-size: 8px; }
.footer-mark { color: var(--accent); font-size: 10px; }

.player { position: fixed; z-index: 5; right: 0; bottom: 0; left: 0; display: grid; min-height: 82px; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 10px 33px; border-top: 1px solid #323533; background: #191b1b; }
.player-station { display: flex; min-width: 0; align-items: center; gap: 12px; }
.player-artwork { display: grid; width: 49px; height: 49px; flex: 0 0 auto; place-items: center; border: 1px solid #53623f; border-radius: 6px; background: linear-gradient(135deg, #35422c, #20271d); color: var(--accent); font: 700 16px var(--font-heading); }
.player-artwork img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.player-track { display: grid; min-width: 0; gap: 4px; }
.player-label { display: flex; align-items: center; gap: 6px; color: #8d9089; font-size: 8px; }
.player-label .live-dot { width: 5px; height: 5px; }
.player-track strong { overflow: hidden; color: #eeede7; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.player-track > span:last-child { overflow: hidden; color: #858880; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.player-favorite { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: 0; background: transparent; color: #7b7e77; cursor: pointer; }
.player-favorite[hidden] { display: none; }
.player-favorite:hover, .player-favorite.is-favorite { color: var(--accent); }
.player-favorite svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.player-favorite.is-favorite svg { fill: currentColor; }
.player-controls { display: flex; align-items: center; justify-content: center; gap: 12px; }
.play-button { display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; background: var(--accent); color: #192014; cursor: pointer; transition: transform .18s; }
.play-button:hover { transform: scale(1.06); }
.play-button svg { width: 17px; height: 17px; fill: currentColor; }
.pause-icon { display: none; }
.play-button.is-playing .play-icon { display: none; }
.play-button.is-playing .pause-icon { display: block; }
.player-live { display: flex; align-items: center; gap: 6px; color: #8f928b; font-size: 8px; }
.player-live .live-dot { width: 5px; height: 5px; }
.volume-controls { display: flex; align-items: center; justify-self: end; gap: 12px; color: #a5a79f; }
.volume-controls svg { width: 17px; height: 17px; }
.volume-controls input { width: 104px; height: 3px; accent-color: var(--accent); cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

@media (min-width: 1500px) {
  .main-content { margin-right: auto; margin-left: calc((100vw - 234px - 1250px) / 2 + 234px); }
}

@media (max-width: 1050px) {
  .main-content { padding-right: 36px; padding-left: 36px; }
  .station-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-section { align-items: flex-start; flex-direction: column; gap: 9px; }
}

@media (max-width: 700px) {
  .app-shell { padding-bottom: 91px; }
  .sidebar { position: static; width: auto; height: 62px; flex-direction: row; align-items: center; justify-content: space-between; padding: 0 18px; border-right: 0; border-bottom: 1px solid #252827; }
  .brand { margin: 0; font-size: 22px; }
  .brand-mark { transform: scale(.87); }
  .nav-label, .sidebar-note, .sidebar-footer { display: none; }
  .main-nav { display: flex; gap: 4px; margin: 0; }
  .nav-link { min-height: 35px; gap: 7px; padding: 0 9px; font-size: 11px; }
  .nav-link svg { width: 15px; height: 15px; }
  .nav-link.is-active { box-shadow: inset 0 -2px var(--accent); }
  .nav-count { width: 17px; height: 17px; font-size: 9px; }
  .main-content { min-height: calc(100vh - 153px); margin: 0; padding: 0 22px; }
  .topbar { height: 55px; }
  .intro { padding: 37px 0 20px; }
  h1 { font-size: clamp(41px, 11vw, 57px); letter-spacing: -2.8px; }
  .intro-copy { max-width: 300px; font-size: 12px; line-height: 1.6; }
  .search-section { margin-top: 14px; }
  .search-box { width: 100%; }
  .search-hint { font-size: 9px; }
  .stations-section { padding-top: 38px; }
  .station-grid { gap: 10px; }
  .station-card-art { height: 123px; }
  .station-card-info { min-height: 72px; padding: 10px; }
  .station-name { font-size: 11px; }
  .filter-row { gap: 6px; margin: 16px 0; }
  .filter-chip { min-height: 27px; padding: 0 10px; font-size: 9px; }
  .page-footer { gap: 14px; font-size: 7px; letter-spacing: .7px; }
  .player { min-height: 78px; grid-template-columns: 1fr auto; gap: 10px; padding: 9px 17px; }
  .player-artwork { width: 44px; height: 44px; }
  .player-favorite { display: none; }
  .player-controls { justify-content: end; }
  .player-live, .volume-controls { display: none; }
}

@media (max-width: 390px) {
  .sidebar { padding: 0 12px; }
  .main-content { padding-right: 16px; padding-left: 16px; }
  .nav-link { gap: 5px; padding: 0 7px; font-size: 10px; }
  .station-card-art { height: 103px; }
  .page-footer span:last-child { text-align: right; }
}

:root {
  color-scheme: light;
  --background: #e8e2d6;
  --surface: #f2ede3;
  --surface-raised: #faf6ed;
  --border: #d1c8b8;
  --text: #28231d;
  --muted: #777064;
  --accent: #d79450;
}

body {
  background-color: var(--background);
  background-image: radial-gradient(#63513b0c .7px, transparent .7px);
  background-size: 6px 6px;
  color: var(--text);
}

.sidebar {
  border-right-color: #514034;
  background: linear-gradient(160deg, #30251f, #211b17 72%);
  box-shadow: 5px 0 24px #382b2014;
}

.brand { color: #f4eddf; }
.brand-period, .brand-mark span, .sidebar-footer span { color: #e5b16d; }
.brand-mark span { background: #e5b16d; }
.nav-label { color: #a99a86; }
.nav-link { color: #d0c5b5; }
.nav-link:hover, .nav-link.is-active { background: #ffffff11; color: #fff8ec; }
.nav-link.is-active { box-shadow: inset 2px 0 #e5b16d; }
.nav-count { background: #ffffff16; color: #e8dece; }
.sidebar-note { border-color: #685543; background: #ffffff09; }
.sidebar-note strong { color: #f5eee3; }
.sidebar-note > div > span { color: #b7a997; }
.sidebar-footer { color: #a3937f; }
.live-dot { background: #dca761; box-shadow: 0 0 9px #dca76166; }

.topbar { border-bottom-color: #d5ccbd; }
.breadcrumb { color: #82796c; }
.breadcrumb span:last-child { color: #51473b; }
.breadcrumb-separator { color: #b7ad9d; }
.about-link { color: #61584b; }
.about-link span, .eyebrow-line, .footer-mark { color: #ac6432; }
.about-link span { color: #ac6432; }

.intro {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: 28px;
  padding: 43px 0 27px;
}

.intro-copy-block { padding: 5px 0; }
.eyebrow { color: #776d5e; }
.eyebrow-line { background: #ac6432; }
h1 { color: #30261f; }
.title-accent { color: #a8592d; }
.intro-copy { color: #716859; }

.radio-console {
  position: relative;
  width: 100%;
  max-width: 484px;
  justify-self: end;
  padding: 12px 14px 16px;
  border: 1px solid #654a37;
  border-radius: 23px 28px 24px 20px;
  background: linear-gradient(145deg, #514034, #2b211c 58%, #211b17);
  box-shadow: 0 13px 22px #32251d36, inset 0 2px 1px #ffffff28, inset 0 -4px 7px #0008;
}

.radio-console::before {
  position: absolute;
  top: 7px;
  left: 48%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #daa763;
  box-shadow: 6px 0 #957451;
  content: "";
}

.radio-bezel {
  display: grid;
  min-height: 184px;
  grid-template-columns: minmax(0, 1.55fr) minmax(115px, .8fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid #1c1713;
  border-radius: 13px 16px 13px 12px;
  background: linear-gradient(145deg, #211b17, #393027 50%, #1b1714);
  box-shadow: inset 0 1px 2px #000a, 0 1px 0 #8a725a77;
}

.radio-speaker {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #b8a886;
  border-radius: 5px;
  background-color: #e3dcc9;
  background-image:
    repeating-linear-gradient(0deg, #746b5d12 0, #746b5d12 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, #70665612 0, #70665612 1px, transparent 1px, transparent 4px),
    linear-gradient(145deg, #f1ecdf, #cec4ad);
  box-shadow: inset 0 0 13px #55483332, 0 1px 2px #0007;
}

.radio-speaker::before, .radio-speaker::after {
  position: absolute;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: #887b6240;
  content: "";
}
.radio-speaker::before { left: 8px; }
.radio-speaker::after { right: 8px; }

.radio-lights {
  position: absolute;
  bottom: 17px;
  left: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  border: 1px solid #86785d66;
  border-radius: 10px;
  background: #d1c8b48c;
  box-shadow: inset 0 1px 3px #51483230;
}

.radio-lights i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--light-color, #a34a36);
  opacity: .35;
  box-shadow: 0 0 2px var(--light-color, #a34a36);
}

.radio-lights i:nth-child(1) { --light-color: #e94262; }
.radio-lights i:nth-child(2) { --light-color: #f49b38; }
.radio-lights i:nth-child(3) { --light-color: #f4d64e; }
.radio-lights i:nth-child(4) { --light-color: #55bd75; }
.radio-lights i:nth-child(5) { --light-color: #558be8; }

.radio-console.is-playing .radio-lights i {
  animation: radio-light-pulse 900ms ease-in-out infinite alternate;
}

.radio-console.is-playing .radio-lights i:nth-child(2) { animation-duration: 1250ms; animation-delay: -370ms; }
.radio-console.is-playing .radio-lights i:nth-child(3) { animation-duration: 760ms; animation-delay: -180ms; }
.radio-console.is-playing .radio-lights i:nth-child(4) { animation-duration: 1450ms; animation-delay: -820ms; }
.radio-console.is-playing .radio-lights i:nth-child(5) { animation-duration: 1050ms; animation-delay: -590ms; }

@keyframes radio-light-pulse {
  from { opacity: .35; box-shadow: 0 0 2px var(--light-color); }
  to { opacity: 1; box-shadow: 0 0 6px 2px var(--light-color); }
}

.radio-badge {
  z-index: 1;
  padding: 3px 6px;
  border: 1px solid #8d805f;
  border-radius: 2px;
  background: linear-gradient(#f3eedf, #cec3a8);
  box-shadow: 0 1px 2px #493c2b55;
  color: #343025;
  font: 800 9px var(--font-heading);
  letter-spacing: .9px;
}
.radio-badge span { color: #9a5c34; font-size: 7px; }

.radio-tuner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 7px 7px 5px;
  border: 1px solid #908066;
  border-radius: 4px;
  background: linear-gradient(145deg, #ddd4c0, #bdb19a);
  box-shadow: inset 0 0 7px #40372545, 0 1px 2px #0007;
}

.tuner-window {
  display: grid;
  min-height: 62px;
  align-content: center;
  gap: 5px;
  overflow: hidden;
  padding: 7px;
  border: 1px solid #51483a;
  border-radius: 2px;
  background: linear-gradient(160deg, #33352f, #252720);
  box-shadow: inset 0 0 8px #0009;
}

.tuner-label { color: #d1ba92; font-size: 6px; font-weight: 700; letter-spacing: 1px; }
.tuner-window strong { overflow: hidden; color: #f4ebd8; font: 700 9px var(--font-heading); letter-spacing: .25px; text-overflow: ellipsis; white-space: nowrap; }
.tuner-band { color: #ca9f5b; font-size: 6px; font-weight: 700; letter-spacing: .7px; }
.tuner-band > span { display: inline-block; max-width: 100px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; white-space: nowrap; }
.tuner-band i { display: inline-block; width: 4px; height: 4px; margin: 0 3px 0 5px; border-radius: 50%; background: #d78d46; box-shadow: 0 0 5px #f7ad54; }

.tuner-scale {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 4px 4px;
  border: 1px solid #a99c81;
  background: repeating-linear-gradient(90deg, transparent 0, transparent 17px, #75694d77 18px, transparent 19px), #e5ddc9;
  color: #574c38;
  font: 700 7px var(--font-heading);
}
.tuner-scale span { z-index: 1; align-self: flex-end; }
.tuner-scale span:first-child, .tuner-scale span:nth-child(2) { align-self: flex-start; }
.tuner-needle { position: absolute; top: 1px; bottom: 1px; left: 61%; width: 1px; background: #b34d30; box-shadow: 0 0 3px #aa442b; }

.tuner-knob {
  position: absolute;
  right: -14px;
  bottom: 14px;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 2px solid #9a8563;
  border-radius: 50%;
  background: repeating-conic-gradient(#42352a 0deg 7deg, #594838 8deg 15deg);
  box-shadow: 0 2px 5px #0009, inset 0 1px 2px #d7bd8a66;
}
.tuner-knob span { width: 14px; height: 14px; border: 1px solid #867052; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #837052, #30261e 73%); }
.radio-foot { position: absolute; bottom: 5px; width: 35px; height: 5px; border-radius: 0 0 5px 5px; background: #1d1815; box-shadow: 0 3px 3px #0005; }
.radio-foot-left { left: 30px; }
.radio-foot-right { right: 30px; }

.search-box { border-color: #cfc4b2; background: #f3eee4; color: #756b5d; }
.search-box:focus-within { border-color: #a7673b; box-shadow: 0 0 0 3px #a7673b18; }
.search-box input { color: #302920; }
.search-box input::placeholder, .search-hint, kbd { color: #827767; }
kbd { border-color: #d2c7b6; }

.stations-section { padding-top: 37px; }
.section-eyebrow { color: #827767; }
h2 { color: #332a22; }
.result-count { color: #82796d; }
.filter-chip { border-color: #c9bead; color: #655b4d; }
.filter-chip:hover { border-color: #9d795c; color: #332a22; }
.filter-chip.is-selected { border-color: #583d2b; background: #583d2b; color: #f4ead7; }
.station-card { border-color: #d1c6b5; background: #f5f0e7; box-shadow: 0 3px 9px #5748340b; }
.station-card:hover { border-color: #a89880; box-shadow: 0 6px 14px #57483417; }
.station-card-art { filter: saturate(.72); }
.station-name { color: #332a22; }
.station-country { color: #786f62; }
.favorite-toggle { color: #8c8173; }
.favorite-toggle:hover { background: #e8dfd1; color: #614433; }
.favorite-toggle.is-favorite { color: #a85d35; }
.station-live { border-color: #ffffff55; background: #30271dbd; }
.station-play { background: #f2d291; color: #38291c; }
.station-play:hover { background: #ffe1a2; }
.status-message { color: #685d4e; }
.load-more { border-color: #c7baa7; color: #615748; }
.load-more:hover { border-color: #99643f; color: #89532f; }
.page-footer { border-top-color: #d3cabc; color: #82796d; }

.player {
  border-top-color: #524034;
  background: linear-gradient(100deg, #30251f, #241d18 64%, #30251f);
  box-shadow: 0 -5px 20px #42332621;
}
.player-artwork { border-color: #987b56; background: linear-gradient(135deg, #684d34, #33271f); color: #f1cb8e; }
.player-track strong { color: #f4eddf; }
.player-track > span:last-child, .player-label, .player-live, .volume-controls { color: #c1b19c; }
.player-favorite { color: #c2b29d; }
.player-favorite:hover, .player-favorite.is-favorite { color: #eab875; }
.play-button { background: #e5b16d; color: #302218; }
.play-button:hover { background: #f4c37e; }
.player-live .live-dot { background: #e5b16d; }
.volume-controls input { accent-color: #e5b16d; }

@media (max-width: 1050px) {
  .intro { grid-template-columns: minmax(0, .8fr) minmax(310px, 1.2fr); gap: 18px; }
}

@media (max-width: 700px) {
  .sidebar { border-bottom-color: #514034; background: linear-gradient(100deg, #30251f, #241d18); }
  .intro { grid-template-columns: 1fr; gap: 23px; padding: 34px 0 20px; }
  .radio-console { width: min(100%, 470px); justify-self: center; }
  .stations-section { padding-top: 32px; }
  .nav-link:hover, .nav-link.is-active { background: #ffffff11; }
  .nav-link.is-active { box-shadow: inset 0 -2px #e5b16d; }
}

@media (max-width: 390px) {
  .radio-console { padding: 10px 11px 15px; }
  .radio-bezel { min-height: 160px; grid-template-columns: minmax(0, 1.4fr) minmax(104px, .8fr); gap: 7px; padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .radio-console.is-playing .radio-lights i {
    animation: none;
    opacity: 1;
    box-shadow: 0 0 5px 1px var(--light-color);
  }
}

:root {
  color-scheme: dark;
  --background: #101111;
  --surface: #171919;
  --surface-raised: #1d2020;
  --border: #292c2c;
  --text: #f4f2ec;
  --muted: #8b8e88;
  --accent: #b9f36b;
}

body { background-color: var(--background); background-image: none; color: var(--text); }
.sidebar { border-right-color: #232626; background: #121414; box-shadow: none; }
.brand { color: var(--text); }
.brand-period, .brand-mark span, .sidebar-footer span { color: var(--accent); }
.brand-mark span { background: var(--accent); }
.nav-label { color: #71746e; }
.nav-link { color: #a4a69f; }
.nav-link:hover, .nav-link.is-active { background: #202322; color: var(--text); }
.nav-link.is-active { box-shadow: inset 2px 0 var(--accent); }
.nav-count { background: #292d2b; color: #b5b8b0; }
.sidebar-note { border-color: #292e2b; background: #181b19; }
.sidebar-note strong { color: var(--text); }
.sidebar-note > div > span { color: var(--muted); }
.sidebar-footer { color: #656862; }
.live-dot { background: var(--accent); box-shadow: 0 0 9px #b9f36b66; }
.topbar { border-bottom-color: #222525; }
.breadcrumb { color: #777a74; }
.breadcrumb span:last-child { color: #c2c4bd; }
.breadcrumb-separator { color: #4b4e49; }
.about-link { color: #a3a59f; }
.about-link span, .eyebrow-line, .footer-mark { color: var(--accent); }
.intro { display: block; padding: 45px 0 26px; }
.eyebrow { color: #a4a69f; }
.eyebrow-line { background: var(--accent); }
h1 { color: var(--text); }
.title-accent { color: var(--accent); }
.intro-copy { color: #a4a69f; }
.radio-console { display: none; }
.search-box { border-color: #303332; background: #171919; color: #9c9f98; }
.search-box:focus-within { border-color: #718d4d; box-shadow: none; }
.search-box input { color: var(--text); }
.search-box input::placeholder, .search-hint, kbd { color: #787b75; }
kbd { border-color: #363938; }
.stations-section { padding-top: 49px; }
.section-eyebrow { color: #858881; }
h2 { color: var(--text); }
.result-count { color: #858881; }
.filter-chip { border-color: #303332; color: #a1a39d; }
.filter-chip:hover { border-color: #62685d; color: var(--text); }
.filter-chip.is-selected { border-color: var(--accent); background: var(--accent); color: #192014; }
.station-card { border-color: #292c2b; background: var(--surface); box-shadow: none; }
.station-card:hover { border-color: #464b46; box-shadow: none; }
.station-card-art { filter: none; }
.station-name { color: #efeee8; }
.station-country { color: #82857e; }
.favorite-toggle { color: #777a74; }
.favorite-toggle:hover { background: #292d2a; color: var(--text); }
.favorite-toggle.is-favorite { color: var(--accent); }
.station-live { border-color: #ffffff22; background: #10111199; }
.station-play { background: var(--accent); color: #172012; }
.station-play:hover { background: #c8ff7a; }
.status-message { color: #a7a9a2; }
.load-more { border-color: #383c38; color: #c5c7c0; }
.load-more:hover { border-color: var(--accent); color: var(--accent); }
.page-footer { border-top-color: #242727; color: #6e716b; }
.player { border-top-color: #323533; background: #191b1b; box-shadow: none; }
.player-artwork { border-color: #53623f; background: linear-gradient(135deg, #35422c, #20271d); color: var(--accent); }
.player-track strong { color: #eeede7; }
.player-track > span:last-child, .player-label, .player-live, .volume-controls { color: #858880; }
.player-favorite { color: #7b7e77; }
.player-favorite:hover, .player-favorite.is-favorite { color: var(--accent); }
.play-button { background: var(--accent); color: #192014; }
.play-button:hover { background: #c8ff7a; }
.player-live .live-dot { background: var(--accent); }
.volume-controls input { accent-color: var(--accent); }

@media (max-width: 700px) {
  .sidebar { border-bottom-color: #252827; background: #121414; }
  .intro { display: block; padding: 37px 0 20px; }
  .stations-section { padding-top: 38px; }
  .nav-link:hover, .nav-link.is-active { background: #202322; }
  .nav-link.is-active { box-shadow: inset 0 -2px var(--accent); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.topbar-actions { display: flex; align-items: center; gap: 18px; }
.install-app, .retry-search, .retry-play {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #383c38;
  border-radius: 6px;
  background: transparent;
  color: #c5c7c0;
  cursor: pointer;
  font-size: 11px;
}
.install-app:hover, .retry-search:hover, .retry-play:hover { border-color: var(--accent); color: var(--accent); }
.search-control { position: relative; width: min(100%, 480px); }
.search-box { width: 100%; padding-right: 68px; }
.search-clear {
  position: absolute;
  top: 50%;
  right: 37px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #a4a69f;
  cursor: pointer;
  font-size: 20px;
}
.search-clear:hover { background: #292d2a; color: var(--text); }
.search-clear[hidden], .install-app[hidden], .retry-search[hidden], .retry-play[hidden] { display: none; }
.discovery-shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; color: #858881; font-size: 10px; }
.discovery-shortcuts button { min-height: 30px; padding: 0 11px; border: 1px solid #303332; border-radius: 18px; background: transparent; color: #a1a39d; cursor: pointer; font-size: 10px; }
.discovery-shortcuts button:hover { border-color: var(--accent); color: var(--accent); }
.player-updated { color: #777b73; font-size: 8px; }
.playback-status { max-width: 230px; color: #a7a9a2; font-size: 9px; line-height: 1.35; text-align: right; }
.retry-play { min-height: 30px; white-space: nowrap; }
.retry-search { display: block; margin: -18px auto 18px; }
.filter-chip:focus-visible, .nav-link:focus-visible, .station-play:focus-visible, .favorite-toggle:focus-visible,
.play-button:focus-visible, .player-favorite:focus-visible, .search-clear:focus-visible,
.discovery-shortcuts button:focus-visible, .install-app:focus-visible, .retry-search:focus-visible, .retry-play:focus-visible,
.about-link:focus-visible, .load-more:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.search-box:focus-within { outline: 2px solid #718d4d; outline-offset: 2px; }
.filter-chip { min-height: 36px; }
.station-play, .favorite-toggle, .player-favorite { min-width: 36px; min-height: 36px; }
.play-button { min-width: 44px; min-height: 44px; }

@media (max-width: 1050px) {
  .search-control { width: 100%; }
}

@media (max-width: 700px) {
  .app-shell { min-height: 100vh; min-height: 100dvh; padding-bottom: calc(106px + env(safe-area-inset-bottom)); }
  .main-content { min-height: calc(100vh - 168px); min-height: calc(100dvh - 168px); }
  .topbar-actions { gap: 10px; }
  .install-app { min-height: 32px; padding: 0 8px; font-size: 10px; }
  .discovery-shortcuts { gap: 6px; }
  .discovery-shortcuts > span { flex-basis: 100%; }
  .discovery-shortcuts button { min-height: 34px; }
  .filter-chip { min-height: 34px; }
  .player { min-height: calc(96px + env(safe-area-inset-bottom)); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .player-controls { flex-direction: column; gap: 3px; }
  .playback-status { max-width: 150px; font-size: 8px; text-align: center; }
  .retry-play { min-height: 26px; padding: 0 8px; font-size: 9px; }
}

@media (max-width: 390px) {
  .brand { font-size: 20px; }
  .nav-link { min-height: 38px; }
  .main-content { padding-right: 16px; padding-left: 16px; }
  .player { padding-right: 8px; padding-left: 8px; }
  .playback-status { max-width: 125px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 14px; border-radius: 5px; background: var(--accent); color: #192014; font-size: 12px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
