:root {
  color-scheme: dark;
  --bg: #090b0c;
  --surface: #14191a;
  --surface-strong: #1a2021;
  --text: #f5f7f7;
  --muted: #a8b1b2;
  --line: #343b3d;
  --red: #ff493e;
  --cyan: #4be3ec;
  --amber: #f2ad62;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1220px, calc(100% - 80px)); margin-inline: auto; }

.masthead {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid #232829;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; font-size: 20px; font-weight: 700; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 400; }
.masthead nav { display: flex; gap: 28px; font-size: 14px; }
.masthead nav a { padding: 12px 0; color: var(--muted); }
.masthead nav a:hover { color: var(--text); }
.masthead nav [aria-current] { color: var(--text); border-bottom: 2px solid var(--red); }
.languages { display: flex; gap: 4px; padding-left: 22px; border-left: 1px solid var(--line); font-size: 12px; }
.languages a { padding: 8px; color: var(--muted); }
.languages a[aria-current] { border-radius: 4px; background: var(--surface-strong); color: var(--text); }

.harder-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-bottom: 1px solid #3c2525;
  background: #080a0b;
}
.harder-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
}
.harder-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.harder-hero-copy { position: relative; z-index: 1; min-height: 520px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero-eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: 12px; line-height: 1.4; font-weight: 800; text-transform: uppercase; }
.harder-hero h1 { max-width: 620px; margin: 0; font-size: 64px; line-height: 1.02; font-weight: 800; text-transform: uppercase; text-shadow: 0 3px 20px #000; }
.hero-lead { max-width: 560px; margin: 22px 0 0; color: #d9dede; font-size: 19px; line-height: 1.55; text-shadow: 0 2px 12px #000; }
.hero-genres { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-genres span { padding: 8px 12px; border: 1px solid rgba(75, 227, 236, 0.7); border-radius: 3px; background: rgba(9, 11, 12, 0.78); color: var(--text); font-size: 12px; font-weight: 700; }
.hero-genres span:nth-child(2) { border-color: rgba(255, 73, 62, 0.8); }
.hero-genres span:nth-child(3) { border-color: rgba(242, 173, 98, 0.8); }

body .station-selector { border-color: #593b3a; background: #111516; }
body .station-selector a:hover { background: #282f30; }
body .station-selector a[aria-current="page"] { background: var(--red); color: #160706; }

.listening { padding-block: 28px 0; }
.station-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.station-kicker { display: block; margin-bottom: 7px; color: var(--red); font-size: 10px; font-weight: 800; }
.station-line h2 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; }
.stream-format { color: var(--muted); font-size: 12px; white-space: nowrap; }
.stream-format span { margin-left: 8px; color: var(--cyan); }

.now-playing { display: grid; grid-template-columns: 128px minmax(0, 1fr) 210px; gap: 28px; align-items: center; padding: 26px 0; border-block: 1px solid var(--line); }
.cover { width: 128px; height: 128px; border: 1px solid #3b4648; border-radius: 4px; background: var(--surface); object-fit: cover; }
.track { min-width: 0; }
.on-air { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; color: var(--red); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px rgba(255, 73, 62, 0.9); }
.track h3 { margin: 0; overflow-wrap: anywhere; font-size: 25px; line-height: 1.25; font-weight: 700; }
.track p { margin: 8px 0 0; overflow-wrap: anywhere; color: var(--muted); font-size: 16px; line-height: 1.45; }
.track-time { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.track-time span { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
progress { display: block; width: 100%; height: 4px; border: 0; background: var(--line); accent-color: var(--cyan); }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--cyan); }
progress::-moz-progress-bar { background: var(--cyan); }

.transport { display: flex; flex-direction: column; align-items: stretch; gap: 11px; }
.play-button { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 4px; background: var(--red); color: #180706; font-size: 15px; font-weight: 800; }
.play-button:hover { background: #ff6a61; }
.play-button svg { width: 20px; height: 20px; }
.volume { display: flex; align-items: center; gap: 8px; }
.icon-button { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 0; border-radius: 4px; background: none; color: var(--muted); }
.icon-button:hover { background: var(--surface); color: var(--text); }
.icon-button svg { width: 18px; height: 18px; }
input[type="range"] { width: 100%; min-width: 0; height: 24px; accent-color: var(--cyan); }
.airplay { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: none; color: var(--muted); font-size: 12px; }
.airplay svg { width: 16px; height: 16px; }
.external-player { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.external-player:hover { color: var(--cyan); }
.external-player svg { width: 15px; height: 15px; }
.playback-status { min-height: 17px; margin: 12px 0; color: var(--red); font-size: 13px; }
.next { display: grid; grid-template-columns: 96px minmax(0, 1fr) 20px; gap: 16px; align-items: center; padding: 18px 0; border-block: 1px solid var(--line); font-size: 14px; }
.next-label { color: var(--cyan); font-size: 12px; }
.next #next-track { overflow-wrap: anywhere; line-height: 1.5; }
.next svg { width: 17px; height: 17px; color: var(--muted); }
.metadata-status { min-height: 14px; margin: 10px 0; color: var(--muted); font-size: 12px; }

.music { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; padding-block: 32px 64px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: 20px; }
.section-heading > span { color: var(--muted); font-size: 11px; }
ol { margin: 0; padding: 0; list-style: none; }
#history li { display: grid; grid-template-columns: 46px minmax(0, 1fr) 42px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
#history img { width: 46px; height: 46px; border-radius: 3px; object-fit: cover; }
#history strong { display: block; overflow-wrap: anywhere; font-size: 14px; line-height: 1.4; }
#history small { display: block; margin-top: 4px; overflow-wrap: anywhere; color: var(--muted); font-size: 12px; }
#history time { color: var(--muted); font-size: 11px; text-align: right; font-variant-numeric: tabular-nums; }
#history .empty { display: block; color: var(--muted); font-size: 14px; }
.station-story { align-self: start; padding-left: 40px; border-left: 1px solid var(--line); }
.eyebrow { color: var(--red); font-size: 10px; font-weight: 800; }
.station-story h2 { margin: 18px 0; font-size: 30px; line-height: 1.15; }
.station-story p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.genres { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px 0; color: var(--cyan); font-size: 12px; }
.genres span:nth-child(even) { color: var(--amber); }
.station-links { border-top: 1px solid var(--line); }
.station-links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.station-links a:hover { color: var(--cyan); }
.station-links svg { width: 18px; height: 18px; flex: none; }

footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer > span:first-child { color: var(--text); }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .masthead { min-height: 78px; flex-wrap: wrap; gap: 18px; padding-block: 12px; }
  .brand { font-size: 17px; }
  .brand img { width: 42px; height: 42px; }
  .brand small { font-size: 10px; }
  .masthead nav { width: 100%; order: 3; gap: 18px; padding-top: 2px; border-top: 1px solid var(--line); font-size: 12px; }
  .masthead nav a { padding: 10px 0 5px; }
  .languages { padding-left: 0; border: 0; }
  .harder-hero, .harder-hero-copy { min-height: 470px; }
  .harder-hero > img { object-position: 62% center; }
  .harder-hero::after { background: rgba(0, 0, 0, 0.34); }
  .harder-hero h1 { max-width: 310px; font-size: 44px; line-height: 1.04; }
  .hero-lead { max-width: 330px; font-size: 16px; }
  .station-line { margin-bottom: 20px; }
  .station-line h2 { font-size: 21px; }
  .stream-format { font-size: 10px; }
  .now-playing { grid-template-columns: 84px minmax(0, 1fr); gap: 18px; }
  .cover { width: 84px; height: 84px; }
  .track h3 { font-size: 21px; }
  .track p { font-size: 14px; }
  .transport { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 18px; align-items: center; }
  .play-button { min-height: 48px; }
  .airplay, .external-player { grid-column: 1 / -1; }
  .next { grid-template-columns: 50px minmax(0, 1fr) 16px; gap: 12px; }
  .music { grid-template-columns: 1fr; gap: 40px; padding-top: 22px; }
  .station-story { padding: 30px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .station-story h2 { font-size: 26px; }
  footer { flex-wrap: wrap; font-size: 11px; }
}

@media (max-width: 420px) {
  .masthead { gap: 14px; }
  .brand { flex: 1 1 calc(100% - 78px); }
  .harder-hero h1 { font-size: 38px; }
  .hero-genres { gap: 7px; }
  .hero-genres span { padding: 7px 9px; font-size: 10px; }
}
