:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #61707f;
  --line: #dce3ea;
  --paper: #f6f8fb;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-solid: rgba(255, 255, 255, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.78);
  --line-soft: rgba(220, 227, 234, 0.86);
  --gold: #c79b3b;
  --teal: #0e8d8a;
  --coral: #e86f61;
  --blue: #2457a7;
  --shadow: 0 18px 50px rgba(16, 24, 32, 0.12);
  --shadow-soft: 0 12px 32px rgba(16, 24, 32, 0.075);
  --shadow-hover: 0 18px 44px rgba(16, 24, 32, 0.11);
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --module-gap: clamp(16px, 2.4vw, 24px);
  --cover-aspect: 16 / 11;
  --cover-radius: 20px;
  --cover-bg: #26313c;
  --cover-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(14, 141, 138, 0.16), transparent 30rem),
    radial-gradient(circle at 86% 14%, rgba(199, 155, 59, 0.18), transparent 28rem),
    linear-gradient(180deg, #fbfcfe 0%, #eef3f7 52%, #f7f8fb 100%);
  padding-bottom: 112px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.now-card img,
.live-cover-wrap img,
.community-now-cover img,
.track-tile img,
.result-card img,
.station-list img,
.player-cover img {
  object-fit: cover;
  background: var(--cover-bg);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(190px, 270px) 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 9px clamp(16px, 4vw, 54px);
  background: rgba(16, 24, 32, 0.92);
  color: #fff;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-grid;
  justify-items: start;
  gap: 0;
  min-width: 0;
  line-height: 1;
}

.brand img {
  width: auto;
  height: 66px;
  max-width: min(250px, 24vw);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.brand-subline {
  margin-top: -5px;
  padding-left: 16px;
  color: #f4c95d;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(244, 201, 93, 0.18);
}

.mainnav {
  display: flex;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.mainnav a,
.ghost,
.solid,
.menu-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #edf2f7;
  white-space: nowrap;
}

.mainnav a.active,
.solid {
  color: #101820;
  background: #f4c95d;
  border-color: #f4c95d;
}

.ghost {
  background: rgba(255, 255, 255, 0.08);
}

.top-actions {
  display: flex;
  gap: 8px;
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
}

.page {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 28px;
}

.hero {
  min-height: clamp(520px, 72vh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.68fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(28px, 5vw, 74px) 0;
  overflow: hidden;
}

.hero > * {
  min-width: 0;
}

.hero-copy span,
.section-intro span,
.panel-head span {
  color: var(--teal);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.hero h1,
.section-intro h1 {
  margin: 10px 0 16px;
  max-width: 880px;
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.hero p,
.section-intro p {
  max-width: 690px;
  color: #415161;
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn,
.station-list button,
.postbox button,
.searchbar button,
.auth-card button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
}

.primary {
  background: #101820;
  color: #fff;
}

.secondary {
  background: #fff;
  color: #101820;
  border: 1px solid var(--line);
}

.now-card {
  position: relative;
  overflow: hidden;
  contain: paint;
  min-width: 0;
  border-radius: 30px;
  background: #111b24;
  color: #fff;
  box-shadow: var(--shadow);
  padding: 22px;
}

.now-card::before {
  content: "";
  position: absolute;
  top: -90px;
  right: 22px;
  width: 220px;
  height: 220px;
  background: rgba(244, 201, 93, 0.28);
  border-radius: 50%;
  filter: blur(45px);
}

.now-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--cover-radius);
}

.now-card,
.now-card * {
  max-width: 100%;
}

.now-card div {
  position: relative;
  margin-top: 20px;
}

.now-card span,
.now-card footer {
  color: #b9c4cf;
}

.now-card h2 {
  margin: 8px 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.now-card p {
  margin: 0;
  color: #f4c95d;
  font-weight: 800;
}

.now-card footer {
  position: relative;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body[data-route="home"] .hero {
  min-height: auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.44fr);
  align-items: stretch;
  gap: 18px;
  padding: 26px 0 20px;
}

body[data-route="home"] .hero-copy {
  display: grid;
  align-content: center;
  min-height: 330px;
  padding: clamp(24px, 3.2vw, 42px);
  border: 1px solid rgba(220, 227, 234, 0.86);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 32px rgba(16, 24, 32, 0.07);
}

body[data-route="home"] .hero h1 {
  max-width: 760px;
  margin: 9px 0 10px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.03;
}

body[data-route="home"] .hero p {
  max-width: 680px;
  font-size: 1.03rem;
  line-height: 1.65;
}

body[data-route="home"] .hero-actions {
  margin-top: 22px;
}

body[data-route="home"] .now-card {
  display: grid;
  align-content: start;
  border-radius: 24px;
  padding: 16px;
}

body[data-route="home"] .now-card::before {
  display: none;
}

body[data-route="home"] .now-card img {
  aspect-ratio: var(--cover-aspect);
  border-radius: var(--cover-radius);
}

body[data-route="home"] .now-card h2 {
  font-size: clamp(1.25rem, 2.25vw, 1.85rem);
}

body[data-route="home"] .now-card div {
  margin-top: 16px;
}

body[data-route="home"] .now-card footer {
  margin-top: 14px;
  padding-top: 14px;
  font-size: 0.9rem;
}

.metric-grid,
.track-grid,
.artist-grid,
.member-grid,
.dj-grid {
  display: grid;
  gap: 16px;
}

.metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.metric-grid article,
.panel,
.search-shell,
.auth-card,
.profile-summary,
.track-tile,
.artist-card,
.member-card,
.dj-card,
.intel-card {
  background: var(--panel);
  border: 1px solid rgba(220, 227, 234, 0.85);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(16, 24, 32, 0.08);
}

.metric-grid article {
  padding: 24px;
}

.metric-grid span {
  display: block;
  color: var(--teal);
  font-size: 2rem;
  font-weight: 900;
}

.metric-grid b {
  display: block;
  margin-top: 6px;
}

.metric-grid p,
.panel p,
.track-tile span,
.artist-card em,
.member-card span,
.dj-card span {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 20px;
  margin-top: 22px;
}

.room-shell {
  grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
  align-items: start;
}

.room-nav-panel {
  position: sticky;
  top: 112px;
}

.split.wide {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
}

.panel {
  padding: clamp(18px, 3vw, 30px);
}

.health-panel {
  margin-top: 22px;
  overflow: hidden;
}

.health-panel.health-healthy {
  border-color: rgba(14, 141, 138, 0.28);
}

.health-panel.health-degraded,
.health-panel.health-critical {
  border-color: rgba(232, 111, 97, 0.32);
}

.health-grid,
.health-checks,
.health-nodes {
  display: grid;
  gap: 12px;
}

.health-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.health-checks,
.health-nodes {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 14px;
}

.health-grid article,
.health-checks article,
.health-nodes article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(220, 227, 234, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.health-checks article.ok,
.health-nodes article.ok {
  border-color: rgba(14, 141, 138, 0.24);
  background: rgba(14, 141, 138, 0.07);
}

.health-checks article.warn,
.health-nodes article.warn {
  border-color: rgba(232, 111, 97, 0.28);
  background: rgba(232, 111, 97, 0.08);
}

.health-grid b,
.health-checks b,
.health-nodes b,
.health-grid span,
.health-checks span,
.health-nodes span {
  display: block;
  min-width: 0;
}

.health-grid b,
.health-checks b,
.health-nodes b {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.health-grid span,
.health-checks span,
.health-nodes span {
  margin-top: 5px;
  overflow: hidden;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.health-grid p,
.health-checks p,
.health-nodes p {
  margin: 7px 0 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.86rem;
}

.live-page {
  display: grid;
  gap: 16px;
}

body[data-route="live"] .section-intro {
  padding: 30px 0 16px;
}

body[data-route="live"] .section-intro h1 {
  max-width: 760px;
  font-size: clamp(2.1rem, 4.4vw, 4.4rem);
}

body[data-route="live"] .section-intro p {
  max-width: 620px;
  font-size: 1.02rem;
}

.live-status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.live-status-strip article {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid rgba(220, 227, 234, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.055);
}

.live-status-strip span,
.live-status-strip b,
.live-status-strip em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-status-strip span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.live-status-strip b {
  margin-top: 5px;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.65vw, 1.28rem);
  font-weight: 900;
  line-height: 1.15;
  white-space: normal;
}

.live-status-strip em {
  margin-top: 3px;
  color: var(--teal);
  font-size: 0.83rem;
  font-style: normal;
  font-weight: 850;
}

.live-controlroom {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.58fr);
  gap: 16px;
  align-items: stretch;
}

.live-main-stack,
.live-side-stack {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.live-network-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 16px;
  align-items: start;
}

.live-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.82fr) minmax(280px, 0.78fr);
  gap: 18px;
  margin-top: 22px;
  align-items: stretch;
}

.live-now-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(18px, 2.7vw, 32px);
  align-items: start;
  padding: clamp(18px, 2.4vw, 26px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(16, 24, 32, 0.98), rgba(20, 55, 63, 0.94)),
    #101820;
  color: #fff;
}

.live-cover-wrap {
  position: relative;
  align-self: start;
  width: 100%;
  min-height: 0;
}

.live-cover-wrap img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: var(--cover-aspect);
  border-radius: var(--cover-radius);
  object-fit: cover;
  background: var(--cover-bg);
  box-shadow: var(--cover-shadow);
}

.live-cover-wrap span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e86f61;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.live-now-copy {
  min-width: 0;
  align-self: center;
}

.live-now-copy > span,
.track-hero-card > div > span {
  color: #f4c95d;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.live-now-copy h2,
.track-hero-card h2 {
  margin: 8px 0 4px;
  font-size: clamp(1.7rem, 3.2vw, 2.9rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.live-now-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 850;
}

.live-progress {
  height: 7px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.live-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f4c95d, #0e8d8a);
}

.live-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
}

.live-lyrics-line {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(244, 201, 93, 0.18);
  border-radius: 16px;
  background: rgba(244, 201, 93, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.45;
}

.live-now-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.live-now-panel .primary {
  background: #f4c95d;
  color: #101820;
}

.live-now-panel .secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.compact-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.compact-stats div,
.request-meters div,
.profile-stats article,
.lyrics-meter {
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(220, 227, 234, 0.78);
}

.live-now-panel .compact-stats div {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.compact-stats dt,
.compact-stats dd {
  margin: 0;
}

.compact-stats dt,
.request-meters span,
.profile-stats span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compact-stats dd,
.request-meters b,
.profile-stats b,
.lyrics-meter b {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-weight: 950;
  overflow-wrap: anywhere;
}

.live-now-panel .compact-stats dt {
  color: rgba(255, 255, 255, 0.58);
}

.live-now-panel .compact-stats dd {
  color: #fff;
}

.ai-host-card {
  background:
    linear-gradient(145deg, rgba(16, 24, 32, 0.96), rgba(22, 54, 63, 0.94)),
    #101820;
  color: #fff;
}

.ai-host-card .panel-head span,
.ai-host-card p {
  color: rgba(255, 255, 255, 0.72);
}

.ai-host-card p {
  color: #eef4f7;
  font-size: 0.95rem;
  line-height: 1.55;
}

.ai-host-card footer {
  display: grid;
  gap: 6px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-host-card footer span {
  color: #f4c95d;
  line-height: 1.45;
}

.ai-host-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ai-host-actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(244, 201, 93, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.ai-host-actions a:first-child {
  background: #f4c95d;
  color: #101820;
  border-color: #f4c95d;
}

.request-insights {
  display: grid;
  align-content: start;
}

.request-meters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.request-meters b {
  color: var(--teal);
  font-size: 1.42rem;
}

.request-queue,
.request-history,
.request-top {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.request-queue-row,
.request-history-row,
.request-top a {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.request-queue-row {
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.13), transparent 46%),
    #fff;
}

.request-queue-row strong {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #101820;
  color: #f4c95d;
  font-size: 0.82rem;
  font-weight: 950;
}

.request-history {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.request-history-row {
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.72);
}

.request-queue-row span,
.request-top b,
.request-top span,
.request-history-row b,
.request-history-row span {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-queue-row b,
.request-queue-row em {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-queue-row b,
.request-history-row b {
  color: var(--ink);
}

.request-queue-row em,
.request-top span,
.request-history-row span {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
}

.request-progress {
  display: block;
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 24, 32, 0.08);
}

.request-progress i {
  display: block;
  height: 100%;
  min-width: 8px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}

.live-streams-panel .station-list {
  gap: 10px;
}

.live-streams-panel .station-list article {
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 13px;
  padding: 11px;
  border-radius: 18px;
}

.live-streams-panel .station-list img {
  width: 74px;
  height: 74px;
  border-radius: 16px;
}

.live-streams-panel .station-list span {
  display: none;
}

.live-streams-panel .station-list p {
  margin-top: 8px;
  padding: 8px 10px;
}

.live-track-panel .intel-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.live-track-panel .intel-card h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.live-track-panel .intel-card dl {
  margin-top: 16px;
}

.block-header {
  display: flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(220, 227, 234, 0.72);
}

.block-header h2 {
  position: relative;
  margin: 0;
  padding-left: 14px;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.85vw, 1.42rem);
  font-weight: 920;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.block-header h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--teal));
}

.ai-host-card .block-header {
  border-color: rgba(255, 255, 255, 0.12);
}

.ai-host-card .block-header h2 {
  color: #fff;
}

.panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-head h2,
.section-intro h1,
.profile-hero h1 {
  overflow-wrap: anywhere;
}

.panel-head h2 {
  margin: 4px 0 0;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

body[data-route="live"] .panel-head {
  margin-bottom: 14px;
}

body[data-route="live"] .panel-head h2 {
  font-size: clamp(1.12rem, 2.1vw, 1.55rem);
}

body[data-route="live"] .panel {
  padding: clamp(16px, 2.2vw, 24px);
}

body[data-route="live"] .live-now-panel {
  padding: clamp(18px, 2.4vw, 26px);
}

.station-list {
  display: grid;
  gap: 12px;
}

.station-list article {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.06);
}

.station-list article.is-active {
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.16), transparent 44%),
    linear-gradient(135deg, #101820, #17343d);
  color: #fff;
}

.station-list article.featured:not(.is-active) {
  border-color: rgba(244, 201, 93, 0.36);
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.14), transparent 46%),
    #fff;
}

.station-list article.featured:not(.is-active)::after {
  content: "Hoofdstream";
  position: absolute;
  top: 11px;
  right: 11px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(244, 201, 93, 0.18);
  color: #705312;
  padding: 0 9px;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.03em;
}

.station-list article.is-active {
  border-color: rgba(244, 201, 93, 0.62);
  box-shadow: 0 18px 46px rgba(16, 24, 32, 0.2);
}

.station-list article.is-active::after {
  content: "Gekozen";
  position: absolute;
  top: 11px;
  right: 11px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f4c95d;
  color: #101820;
  padding: 0 9px;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.03em;
}

.station-list img {
  width: 92px;
  height: 92px;
  border-radius: var(--cover-radius);
}

.station-list b,
.station-list span,
.station-list em,
.station-list strong,
.station-list small {
  display: block;
}

.station-copy {
  min-width: 0;
}

.station-copy header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.station-list span {
  color: inherit;
  opacity: 0.76;
  line-height: 1.45;
}

.station-list em {
  color: var(--gold);
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.station-list p {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(14, 141, 138, 0.08);
  min-width: 0;
}

.station-list article.is-active p {
  background: rgba(255, 255, 255, 0.09);
}

.station-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-list small {
  margin-top: 2px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-list article.is-active small {
  color: rgba(255, 255, 255, 0.68);
}

.station-list button {
  background: #f4c95d;
  color: #101820;
  min-width: 118px;
}

.station-list button.is-playing {
  background: #fff;
  color: #101820;
}

.station-list article.is-active button {
  background: #fff;
  color: #101820;
}

.section-intro {
  padding: 44px 0 24px;
}

.section-intro h1 {
  max-width: 1040px;
  font-size: clamp(2.3rem, 5vw, 5rem);
}

.search-shell {
  padding: clamp(18px, 3vw, 30px);
}

.searchbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.searchbar input,
.postbox input,
.postbox textarea,
.auth-card input,
.auth-card textarea,
.auth-card select,
.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  min-height: 50px;
  padding: 13px 15px;
  color: var(--ink);
}

.searchbar button,
.postbox button,
.auth-card button {
  background: var(--teal);
  color: #fff;
}

.search-facets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  min-height: 34px;
  align-items: center;
}

.search-facets span,
.search-facets button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(14, 141, 138, 0.14);
  background: rgba(14, 141, 138, 0.08);
  color: var(--teal);
  padding: 0 11px;
  font-size: 0.82rem;
  font-weight: 850;
}

.search-facets button {
  cursor: pointer;
}

.search-facets button.is-active {
  border-color: rgba(244, 201, 93, 0.55);
  background: #101820;
  color: #f4c95d;
}

.search-results,
.timeline,
.track-list,
.room-list,
.chart-list {
  display: grid;
  gap: 12px;
}

.search-results {
  margin-top: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.result-card,
.timeline article,
.track-list article,
.room-list a,
.chart-list article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.result-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 122px;
}

.result-card img {
  width: 88px;
  height: 88px;
  border-radius: calc(var(--cover-radius) - 2px);
}

.result-card b,
.track-tile b,
.artist-card b,
.member-card b {
  overflow-wrap: anywhere;
}

.result-card span,
.result-card em,
.track-list span,
.timeline em {
  color: var(--muted);
}

.result-card b,
.result-card span,
.result-card em {
  display: block;
}

.result-card b {
  font-size: 1.02rem;
}

.result-card em {
  margin-top: 7px;
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.35;
}

.result-card button {
  justify-self: end;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: #101820;
  color: #fff;
  font-weight: 800;
}

.community-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 16px;
  align-items: stretch;
  margin: 28px 0 18px;
}

.community-hero-copy,
.community-now-card,
.community-hero-stats article {
  border: 1px solid rgba(220, 227, 234, 0.86);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 32px rgba(16, 24, 32, 0.07);
}

.community-hero-copy {
  display: grid;
  align-content: center;
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
}

.community-hero-copy span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.community-hero-copy h1 {
  max-width: 720px;
  margin: 9px 0 10px;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.community-hero-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.community-now-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-content: start;
  padding: 16px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(16, 24, 32, 0.98), rgba(21, 58, 63, 0.94)),
    #101820;
  color: #fff;
}

.community-now-card .block-header {
  margin-bottom: 0;
  border-color: rgba(255, 255, 255, 0.12);
}

.community-now-card .block-header h2 {
  color: #fff;
}

.community-now-cover {
  position: relative;
}

.community-now-cover img {
  width: 100%;
  aspect-ratio: var(--cover-aspect);
  border-radius: var(--cover-radius);
  box-shadow: var(--cover-shadow);
}

.community-now-cover span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e86f61;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.community-now-copy {
  min-width: 0;
}

.community-now-card b,
.community-now-card em {
  display: block;
  min-width: 0;
}

.community-hero-stats span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.community-now-card b {
  overflow: hidden;
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 950;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-now-card em {
  margin-top: 5px;
  overflow: hidden;
  color: #f4c95d;
  font-style: normal;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-now-progress {
  height: 7px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.community-now-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f4c95d, #0e8d8a);
}

.community-now-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.community-now-actions .btn {
  min-height: 40px;
  padding: 0 14px;
}

.community-now-actions .primary {
  background: #f4c95d;
  color: #101820;
}

.community-now-actions .secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.community-now-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.community-now-mini span {
  min-width: 0;
  overflow: hidden;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.community-hero-stats article {
  min-width: 0;
  padding: 15px 16px;
  border-radius: 18px;
}

.community-hero-stats b {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 950;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.profile-summary {
  position: sticky;
  top: 96px;
  padding: 0 18px 20px;
  overflow: hidden;
}

.profile-cover {
  height: 96px;
  margin: 0 -18px;
  background: linear-gradient(135deg, #10202b, #0e8d8a 58%, #f4c95d);
}

.avatar {
  width: 82px;
  height: 82px;
  margin-top: -32px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #101820;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-summary h2 {
  margin: 12px 0 4px;
}

.postbox {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.postbox-context,
.room-current {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(14, 141, 138, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(14, 141, 138, 0.1), rgba(244, 201, 93, 0.12)),
    #fff;
  padding: 14px 16px;
}

.room-current {
  margin: 4px 0 14px;
}

.postbox-context span,
.room-current span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.postbox-context b,
.room-current strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.15;
}

.postbox-context em,
.room-current p {
  margin: 0;
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.timeline article header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.timeline article p {
  margin: 9px 0;
  color: #26333f;
  overflow-wrap: anywhere;
}

.timeline article span,
.timeline em {
  font-size: 0.85rem;
}

.room-list a {
  position: relative;
  display: grid;
  gap: 4px;
  padding-right: 76px;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.room-list a:hover,
.room-list a.is-active {
  border-color: rgba(14, 141, 138, 0.34);
  background: rgba(14, 141, 138, 0.08);
}

.room-list a.is-active {
  transform: translateX(2px);
}

.room-list a.is-active::after {
  content: "Actief";
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  padding: 0 9px;
  font-size: 0.72rem;
  font-weight: 900;
}

.room-list span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.member-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.member-card,
.artist-card {
  padding: 20px;
  display: grid;
  gap: 8px;
}

.profile-page {
  display: grid;
  gap: 22px;
}

.profile-hero {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.98)),
    #fff;
  border: 1px solid rgba(220, 227, 234, 0.86);
  box-shadow: 0 28px 80px rgba(16, 24, 32, 0.14);
}

.profile-hero .profile-cover {
  position: relative;
  margin: 0;
  height: clamp(230px, 32vw, 360px);
  background:
    radial-gradient(circle at 18% 16%, rgba(244, 201, 93, 0.44), transparent 26rem),
    linear-gradient(135deg, #10202b, #0e8d8a 56%, #f4c95d);
}

.profile-hero .profile-cover span {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.04), rgba(16, 24, 32, 0.58)),
    linear-gradient(90deg, rgba(16, 24, 32, 0.44), transparent 62%);
}

.profile-hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 28px);
  align-items: end;
  margin-top: -86px;
  padding: 0 clamp(18px, 3vw, 34px) 24px;
}

.profile-hero .avatar {
  width: clamp(126px, 16vw, 168px);
  height: clamp(126px, 16vw, 168px);
  margin-top: 0;
  border-width: 6px;
  box-shadow: 0 18px 44px rgba(16, 24, 32, 0.24);
}

.profile-avatar-frame {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  padding: 6px;
  box-shadow: 0 18px 44px rgba(16, 24, 32, 0.14);
}

.profile-identity {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding-bottom: 6px;
}

.profile-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.profile-kicker span,
.profile-kicker b {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 0.78rem;
  font-weight: 950;
}

.profile-kicker span {
  background: #101820;
  color: #f4c95d;
}

.profile-kicker b {
  background: rgba(14, 141, 138, 0.11);
  color: var(--teal);
}

.profile-identity h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.profile-identity p {
  max-width: 760px;
  margin: 0;
  color: #415161;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.6;
}

.profile-meta-pills,
.profile-artist-strip,
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.profile-meta-pills span,
.profile-artist-strip a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 12px;
  border: 1px solid rgba(220, 227, 234, 0.92);
  background: rgba(255, 255, 255, 0.8);
  color: #26333f;
  font-size: 0.86rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.profile-meta-pills b {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.profile-relationship-link {
  color: var(--teal);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-color: rgba(14, 141, 138, 0.28);
  text-underline-offset: 3px;
}

.profile-relationship-link:hover {
  color: #0b6f6d;
  text-decoration-color: currentColor;
}

.profile-artist-strip a {
  border-color: rgba(14, 141, 138, 0.16);
  background: rgba(14, 141, 138, 0.08);
  color: var(--teal);
}

.profile-actions {
  justify-content: flex-end;
  align-self: center;
  min-width: 190px;
}

.profile-actions .btn {
  min-height: 42px;
  padding: 0 15px;
  font-size: 0.88rem;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 clamp(18px, 3vw, 34px) clamp(18px, 3vw, 30px);
}

.profile-stats article {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(16, 24, 32, 0.07);
}

.profile-stats b {
  color: var(--teal);
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
}

.profile-grid,
.account-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.account-grid .danger {
  grid-column: 2;
  border-color: rgba(232, 111, 97, 0.45);
}

.form hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 8px 0;
}

.danger h2 {
  margin: 0;
  color: #9b2f28;
}

.info-list {
  display: grid;
  gap: 12px;
}

.info-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.info-list span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-cloud a {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(14, 141, 138, 0.09);
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 850;
}

.auth-card {
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 32px);
}

.auth-card.wide {
  width: min(920px, 100%);
}

.auth-card label,
.form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.track-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.track-tile {
  padding: 20px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
}

.track-tile img {
  width: 100%;
  aspect-ratio: var(--cover-aspect);
  border-radius: var(--cover-radius);
}

.track-tile div {
  min-width: 0;
}

.track-tile b,
.track-tile span,
.track-tile em,
.track-tile small {
  display: block;
}

.track-tile em,
.track-tile small {
  color: var(--muted);
  font-style: normal;
  font-size: 0.86rem;
}

.track-tile footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.track-tile footer a {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(14, 141, 138, 0.09);
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 850;
}

.track-tile a {
  color: var(--teal);
  font-weight: 800;
}

.artist-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.artist-card span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #101820;
  color: #f4c95d;
  font-weight: 900;
}

.chart-list article {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.chart-list strong {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #101820;
  color: #fff;
}

.chart-list b,
.chart-list span {
  display: block;
}

.chart-list span {
  color: var(--muted);
}

.dj-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dj-card {
  overflow: hidden;
}

.dj-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #dde6ef;
}

.dj-card div {
  padding: 20px;
  border-top: 5px solid var(--accent, var(--gold));
}

.dj-card b {
  display: block;
  font-size: 1.25rem;
}

.dj-card a {
  color: var(--teal);
  font-weight: 800;
}

.intel-card {
  padding: 24px;
}

.intel-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.intel-card dl {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
}

.intel-card div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #f7fafc;
}

.intel-card dt {
  font-weight: 900;
}

.intel-card dd {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.track-universe {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.track-main-column,
.track-side-column {
  min-width: 0;
  display: grid;
  gap: 18px;
  align-content: start;
}

.track-hero-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 20px;
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.18), transparent 36%),
    linear-gradient(160deg, #fff, rgba(255, 255, 255, 0.82));
}

.track-hero-cover {
  width: 100%;
  aspect-ratio: var(--cover-aspect);
  border-radius: var(--cover-radius);
  object-fit: cover;
  background: var(--cover-bg);
  box-shadow: var(--cover-shadow);
}

.track-hero-card > div {
  min-width: 0;
}

.track-hero-card p {
  max-width: 780px;
  line-height: 1.7;
}

.track-hero-card .compact-stats {
  grid-column: 1 / -1;
}

.artist-bio-panel p {
  line-height: 1.75;
}

.artist-bio-panel .bio-context {
  padding: 12px 14px;
  border: 1px solid rgba(14, 141, 138, 0.16);
  border-radius: 16px;
  background: rgba(14, 141, 138, 0.08);
  color: var(--ink);
  font-weight: 760;
}

.lyrics-panel {
  overflow: hidden;
}

.lyrics-meter {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
  background: rgba(14, 141, 138, 0.08);
}

.lyrics-meter span {
  color: var(--muted);
}

.lyrics-lines {
  display: grid;
  gap: 7px;
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
}

.lyrics-lines p {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.lyrics-lines p > span:only-child {
  grid-column: 1 / -1;
}

.lyrics-lines time {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.lyrics-lines span {
  min-width: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.lyrics-source {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.related-track-list {
  display: grid;
  gap: 10px;
}

.related-track-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(14, 141, 138, 0.06), transparent 42%),
    #fff;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.related-track-row:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 141, 138, 0.28);
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.08);
}

.related-track-row img {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--cover-bg);
}

.related-track-row > span,
.related-track-row b,
.related-track-row em,
.related-track-row small {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-track-row b {
  color: var(--ink);
  font-size: 0.98rem;
}

.related-track-row em {
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 820;
}

.related-track-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.related-track-row strong {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(244, 201, 93, 0.2);
  color: #705312;
  font-size: 0.76rem;
  font-weight: 950;
}

.related-panel {
  overflow: hidden;
}

.related-panel .related-track-list {
  max-height: 650px;
  overflow: auto;
  padding-right: 4px;
}

.text-panel {
  max-width: 900px;
  line-height: 1.75;
}

/* Community design system pass. */
.section-intro {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  margin: 0 0 var(--module-gap);
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(14, 141, 138, 0.11), transparent 42%),
    linear-gradient(160deg, rgba(244, 201, 93, 0.13), rgba(255, 255, 255, 0.9) 46%),
    var(--panel-solid);
  box-shadow: var(--shadow-soft);
}

.section-intro::after {
  content: "";
  position: absolute;
  left: clamp(22px, 4vw, 48px);
  right: clamp(22px, 4vw, 48px);
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--coral));
}

.section-intro > span {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(14, 141, 138, 0.14);
  background: rgba(255, 255, 255, 0.72);
  padding: 0 12px;
  color: var(--teal);
}

.section-intro h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: 1;
}

.section-intro p {
  margin: 0;
  max-width: 780px;
  color: #415161;
  font-size: clamp(0.98rem, 1.45vw, 1.13rem);
  line-height: 1.68;
}

body[data-route="live"] .section-intro {
  padding: clamp(24px, 3.3vw, 40px);
}

body[data-route="live"] .section-intro h1 {
  max-width: 820px;
  font-size: clamp(1.9rem, 3.8vw, 3.85rem);
}

body[data-route="live"] .section-intro p {
  max-width: 720px;
  font-size: 1rem;
}

.panel,
.search-shell,
.auth-card,
.profile-summary,
.track-tile,
.artist-card,
.member-card,
.dj-card,
.intel-card,
.community-hero-copy,
.community-hero-stats article,
.live-status-strip article,
.health-grid article,
.health-checks article,
.health-nodes article {
  border-color: var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--panel-solid);
  box-shadow: var(--shadow-soft);
}

.panel,
.search-shell,
.auth-card {
  padding: clamp(18px, 2.5vw, 28px);
}

.block-header {
  min-height: 40px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom-color: rgba(220, 227, 234, 0.82);
}

.block-header h2 {
  font-size: clamp(1.04rem, 1.55vw, 1.36rem);
  line-height: 1.18;
}

.community-now-card .block-header,
.ai-host-card .block-header,
.live-now-panel .block-header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.community-hero,
.community-layout,
.profile-page,
.profile-grid,
.account-grid,
.track-universe,
.live-page,
.live-controlroom,
.live-network-grid,
.split,
.split.wide,
.room-shell {
  gap: var(--module-gap);
}

.community-hero-copy {
  min-height: 0;
  align-content: center;
}

.community-hero-copy h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.95rem);
  line-height: 1.04;
}

.community-hero-copy p {
  font-size: 1rem;
}

.profile-summary {
  border: 1px solid var(--line-soft);
}

.profile-summary .btn {
  width: 100%;
  margin-top: 10px;
}

.postbox {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(220, 227, 234, 0.72);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(14, 141, 138, 0.07), transparent 38%),
    rgba(247, 250, 252, 0.88);
}

.postbox-context,
.room-current,
.artist-bio-panel .bio-context,
.lyrics-meter {
  border-radius: var(--radius-md);
  border-color: rgba(14, 141, 138, 0.18);
  background:
    linear-gradient(135deg, rgba(14, 141, 138, 0.08), rgba(244, 201, 93, 0.08)),
    rgba(255, 255, 255, 0.86);
}

.searchbar input,
.postbox input,
.postbox textarea,
.auth-card input,
.auth-card textarea,
.auth-card select,
.form input,
.form textarea,
.form select {
  border-color: var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.searchbar input:focus,
.postbox input:focus,
.postbox textarea:focus,
.auth-card input:focus,
.auth-card textarea:focus,
.auth-card select:focus,
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 0;
  border-color: rgba(14, 141, 138, 0.48);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 141, 138, 0.1);
}

.btn,
.station-list button,
.postbox button,
.searchbar button,
.auth-card button,
.track-tile footer a,
.tag-cloud a,
.ai-host-actions a,
.community-now-actions .btn,
.footer-actions a {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.btn:hover,
.station-list button:hover,
.postbox button:hover,
.searchbar button:hover,
.auth-card button:hover,
.track-tile footer a:hover,
.tag-cloud a:hover,
.ai-host-actions a:hover,
.community-now-actions .btn:hover,
.footer-actions a:hover {
  transform: translateY(-1px);
}

.result-card,
.timeline article,
.track-list article,
.room-list a,
.chart-list article,
.request-queue-row,
.request-history-row,
.request-top a,
.related-track-row,
.lyrics-lines p {
  border-color: var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--panel-solid);
  box-shadow: 0 8px 22px rgba(16, 24, 32, 0.045);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.result-card:hover,
.timeline article:hover,
.track-list article:hover,
.room-list a:hover,
.chart-list article:hover,
.request-queue-row:hover,
.request-history-row:hover,
.request-top a:hover,
.related-track-row:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 141, 138, 0.3);
  box-shadow: var(--shadow-hover);
}

.timeline article header,
.chart-list article,
.track-list article,
.request-queue-row,
.request-history-row,
.related-track-row {
  min-width: 0;
}

.timeline article b,
.timeline article span,
.timeline article em,
.track-list article b,
.track-list article span,
.room-list a b,
.room-list a span,
.chart-list b,
.chart-list span,
.chart-list em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.room-list a {
  padding: 15px 78px 15px 16px;
}

.room-list a b {
  font-size: 1rem;
  line-height: 1.18;
}

.room-list span {
  line-height: 1.45;
}

.track-tile,
.artist-card,
.member-card,
.dj-card {
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.track-tile:hover,
.artist-card:hover,
.member-card:hover,
.dj-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 141, 138, 0.26);
  box-shadow: var(--shadow-hover);
}

.track-tile b,
.artist-card b,
.member-card b,
.dj-card b {
  line-height: 1.18;
}

.track-tile img,
.result-card img,
.related-track-row img,
.station-list img,
.community-now-cover img,
.live-cover-wrap img,
.track-hero-cover {
  border-radius: var(--cover-radius);
}

.artist-card span {
  border-radius: var(--radius-md);
}

.member-card .avatar {
  margin-top: 0;
}

.info-list {
  gap: 10px;
}

.info-list div {
  padding: 12px 13px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(247, 250, 252, 0.86);
}

.info-list b,
.info-list span {
  min-width: 0;
  display: block;
  overflow-wrap: anywhere;
}

.info-list b {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 950;
}

.info-list span {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.45;
}

.tag-cloud a,
.track-tile footer a {
  border: 1px solid rgba(14, 141, 138, 0.12);
}

.chart-list strong {
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.auth-card > a {
  justify-self: start;
  color: var(--teal);
  font-weight: 850;
}

.danger {
  background:
    linear-gradient(135deg, rgba(232, 111, 97, 0.08), transparent 42%),
    var(--panel-solid);
}

.text-panel {
  border-radius: var(--radius-lg);
}

.live-now-panel,
.ai-host-card {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(16, 24, 32, 0.98), rgba(20, 55, 63, 0.94)),
    #101820;
  color: #fff;
}

.ai-host-card {
  background:
    linear-gradient(145deg, rgba(16, 24, 32, 0.96), rgba(22, 54, 63, 0.94)),
    #101820;
}

.live-now-panel .block-header,
.ai-host-card .block-header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.live-now-panel .block-header h2,
.ai-host-card .block-header h2,
.live-now-panel h2,
.ai-host-card h2,
.ai-host-card b {
  color: #fff;
}

.live-now-panel p,
.ai-host-card p {
  color: rgba(255, 255, 255, 0.78);
}

.live-now-panel .compact-stats div {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.live-now-panel .compact-stats dt {
  color: rgba(255, 255, 255, 0.62);
}

.live-now-panel .compact-stats dd {
  color: #fff;
}

.live-now-panel .secondary,
.ai-host-actions a {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.live-now-panel .primary,
.ai-host-actions a:first-child {
  border-color: #f4c95d;
  background: #f4c95d;
  color: #101820;
}

.footer {
  width: min(1440px, calc(100% - 32px));
  margin: clamp(36px, 6vw, 70px) auto 0;
  padding-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.8fr);
  gap: clamp(24px, 4vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px 30px 0 0;
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.16), transparent 34%),
    linear-gradient(160deg, rgba(14, 141, 138, 0.18), rgba(16, 24, 32, 0.98) 42%),
    #101820;
  box-shadow: 0 30px 90px rgba(16, 24, 32, 0.28);
  padding: clamp(22px, 4vw, 44px);
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

.footer-logo {
  display: inline-grid;
  justify-items: start;
  gap: 6px;
  width: fit-content;
}

.footer-logo img {
  width: min(230px, 100%);
  max-height: 74px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  padding: 10px 14px;
}

.footer-logo span {
  color: #f4c95d;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-brand p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.footer-live {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  max-width: 420px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px;
}

.footer-live > span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(46, 211, 125, 0.12);
  color: #dfffee;
  padding: 0 10px;
  font-size: 0.75rem;
  font-weight: 950;
  white-space: nowrap;
}

.footer-live b,
.footer-live em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-live b {
  color: #fff;
}

.footer-live em {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  font-style: normal;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.footer-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 14px;
  font-size: 0.86rem;
  font-weight: 900;
}

.footer-actions a.primary {
  border-color: rgba(244, 201, 93, 0.6);
  background: #f4c95d;
  color: #101820;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.footer-links section {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 950;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.footer-links a:hover {
  color: #f4c95d;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.84rem;
}

.player {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 80;
  width: min(1180px, calc(100% - 28px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 56px 66px minmax(210px, 1fr) minmax(168px, 220px) minmax(190px, 290px) 190px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.14), transparent 38%),
    rgba(16, 24, 32, 0.96);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 26px 78px rgba(16, 24, 32, 0.38);
  backdrop-filter: blur(18px);
}

.player .play {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7d66a, #f4c95d);
  color: #101820;
  cursor: pointer;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 12px 28px rgba(244, 201, 93, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.player .play.is-playing {
  background: linear-gradient(135deg, #f7d66a, #f4c95d);
  color: #101820;
}

.player-cover {
  position: relative;
  width: 66px;
  height: 66px;
}

.player-cover img {
  width: 66px;
  height: 66px;
  border-radius: var(--cover-radius);
}

.player-cover span {
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  padding: 3px 8px;
  border-radius: 999px;
  background: #e86f61;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.player .meta {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.player b,
.player span,
.player small,
.player a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player b {
  margin-top: 2px;
  font-size: 1.02rem;
}

.player span {
  color: #c5ced8;
}

.player small {
  color: #f4c95d;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.player-spectrum {
  justify-self: stretch;
  display: grid;
  grid-template-columns: repeat(64, 1fr);
  align-items: end;
  gap: 1px;
  width: 100%;
  height: 64px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.player-spectrum span {
  --level: 0.18;
  --idle-scale: 0.46;
  align-self: end;
  display: block;
  position: relative;
  height: 52px;
  min-width: 0;
  overflow: hidden;
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
}

.player-spectrum span::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 100%;
  border-radius: inherit;
  opacity: calc(0.46 + (var(--level) * 0.54));
  transform: scaleY(var(--level));
  transform-origin: center bottom;
  transition: transform 80ms linear, opacity 80ms linear;
  will-change: transform, opacity;
  background: linear-gradient(180deg, #f2d267, var(--gold) 58%, var(--teal));
}

.player:not(.spectrum-active) .player-spectrum span::before,
.player.spectrum-fallback.is-playing .player-spectrum span::before {
  animation: spectrum-idle 1.1s ease-in-out infinite;
  animation-delay: calc(var(--bar-index, 0) * -48ms);
}

@keyframes spectrum-idle {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleY(0.16);
  }

  50% {
    opacity: 0.82;
    transform: scaleY(var(--idle-scale));
  }
}

.player-side {
  display: grid;
  gap: 0;
  position: relative;
}

.community-live-lyrics {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(244, 201, 93, 0.18);
  border-radius: 16px;
  background: rgba(244, 201, 93, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.45;
}

.player-volume {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(72px, 1fr) 38px;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(244, 201, 93, 0.18);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
}

.player-volume span,
.player-volume b {
  color: #f4c95d;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.player-volume b {
  color: #fff;
  text-align: right;
  letter-spacing: 0;
}

.player-volume input {
  width: 100%;
  min-width: 0;
  height: 18px;
  margin: 0;
  accent-color: #f4c95d;
  cursor: pointer;
  appearance: none;
  background: transparent;
}

.player-volume input::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f4c95d var(--volume-level, 85%), rgba(255, 255, 255, 0.18) var(--volume-level, 85%));
}

.player-volume input::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -5px;
  border: 2px solid #101820;
  border-radius: 50%;
  background: #f4c95d;
  box-shadow: 0 4px 12px rgba(244, 201, 93, 0.34);
  appearance: none;
}

.player-volume input::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.player-volume input::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: #f4c95d;
}

.player-volume input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid #101820;
  border-radius: 50%;
  background: #f4c95d;
  box-shadow: 0 4px 12px rgba(244, 201, 93, 0.34);
}

.player-station-picker {
  position: relative;
  min-width: 0;
}

.player-station-native {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.player-station-toggle {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
  padding: 7px 7px 7px 13px;
  border: 1px solid rgba(244, 201, 93, 0.22);
  border-radius: 16px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.16), rgba(14, 141, 138, 0.1)),
    rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  text-align: left;
}

.player-station-toggle:hover,
.player-station-picker.is-open .player-station-toggle {
  border-color: rgba(244, 201, 93, 0.48);
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.22), rgba(14, 141, 138, 0.14)),
    rgba(255, 255, 255, 0.1);
}

.player-station-toggle:focus-visible {
  outline: 2px solid rgba(244, 201, 93, 0.68);
  outline-offset: 3px;
}

.player-station-toggle span,
.player-station-toggle small,
.player-station-toggle strong {
  min-width: 0;
  display: block;
}

.player-station-toggle small {
  color: #f4c95d;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.player-station-toggle strong {
  margin-top: 3px;
  overflow: hidden;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-station-toggle i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.18s ease, background 0.18s ease;
}

.player-station-toggle i::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid #f4c95d;
  border-bottom: 2px solid #f4c95d;
  transform: translateY(-2px) rotate(45deg);
}

.player-station-picker.is-open .player-station-toggle i {
  background: rgba(244, 201, 93, 0.15);
  transform: rotate(180deg);
}

.player-station-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 95;
  width: min(320px, calc(100vw - 32px));
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(244, 201, 93, 0.26);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.12), rgba(14, 141, 138, 0.08)),
    rgba(12, 18, 24, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.player-station-picker.is-open .player-station-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.player-station-menu button {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.player-station-menu button:hover,
.player-station-menu button:focus-visible {
  border-color: rgba(244, 201, 93, 0.28);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.player-station-menu button.is-selected {
  border-color: rgba(244, 201, 93, 0.42);
  background: linear-gradient(135deg, rgba(244, 201, 93, 0.18), rgba(14, 141, 138, 0.12));
}

.player-station-menu button b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.player-station-menu button b::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f4c95d;
  box-shadow: 0 0 0 5px rgba(244, 201, 93, 0.14);
}

.player-station-menu button.is-selected b {
  background: #f4c95d;
}

.player-station-menu button.is-selected b::before {
  width: 8px;
  height: 14px;
  border-radius: 0;
  border-right: 2px solid #101820;
  border-bottom: 2px solid #101820;
  background: transparent;
  box-shadow: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

.player-station-menu span,
.player-station-menu strong,
.player-station-menu em {
  min-width: 0;
  display: block;
}

.player-station-menu strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-station-menu em {
  margin-top: 4px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty {
  color: var(--muted);
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: auto auto 1fr;
  }

  .brand img {
    height: 60px;
    max-width: min(220px, 30vw);
  }

  .brand-subline {
    padding-left: 14px;
    font-size: 0.66rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mainnav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    padding: 12px;
    border-radius: 22px;
    background: #101820;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .mainnav.open {
    display: flex;
  }

  .top-actions {
    justify-self: end;
  }

  .hero,
  .split,
  .split.wide,
  .live-hub-grid,
  .live-controlroom,
  .live-network-grid,
  .health-grid,
  .community-hero,
  .community-layout,
  .profile-grid,
  .account-grid,
  .track-universe {
    grid-template-columns: minmax(0, 1fr);
  }

  .track-universe {
    gap: 18px;
  }

  .account-grid .danger {
    grid-column: auto;
  }

  .room-nav-panel {
    position: static;
  }

  .profile-hero-main {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .profile-actions {
    grid-column: 2;
    justify-content: flex-start;
  }

  .metric-grid,
  .live-status-strip,
  .community-hero-stats,
  .profile-stats,
  .track-grid,
  .artist-grid,
  .member-grid,
  .dj-grid,
  .search-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-summary {
    position: static;
  }
}

@media (max-width: 980px) {
  .live-now-panel {
    grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1fr);
  }

  .player {
    grid-template-columns: 54px 62px minmax(0, 1fr) minmax(160px, 230px);
  }

  .player .play {
    width: 54px;
    height: 54px;
  }

  .player-cover,
  .player-cover img {
    width: 62px;
    height: 62px;
  }

  .player-spectrum {
    grid-column: 1 / -1;
    height: 52px;
  }

  .player-spectrum span {
    height: 38px;
  }

  .player-side {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 156px;
  }

  .topbar {
    min-height: 78px;
    padding: 8px 10px;
    gap: 8px;
  }

  .brand img {
    height: 48px;
    max-width: clamp(128px, 37vw, 170px);
  }

  .brand-subline {
    margin-top: -4px;
    padding-left: 10px;
    font-size: 0.54rem;
    letter-spacing: 0.18em;
  }

  .top-actions .ghost {
    display: none;
  }

  .page {
    width: min(100% - 24px, 1440px);
    padding-top: 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
    overflow: visible;
  }

  body[data-route="home"] .hero {
    padding-top: 18px;
  }

  body[data-route="home"] .hero-copy {
    min-height: auto;
  }

  .now-card {
    width: 100%;
  }

  .now-card::before {
    display: none;
  }

  .hero h1,
  .section-intro h1 {
    font-size: clamp(2rem, 10.5vw, 3.6rem);
    line-height: 1;
  }

  .profile-hero {
    border-radius: 24px;
  }

  .profile-hero .profile-cover {
    height: 210px;
  }

  .profile-hero-main {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    margin-top: -64px;
  }

  .profile-actions {
    grid-column: auto;
    width: 100%;
  }

  .profile-actions .btn {
    flex: 1 1 140px;
  }

  .profile-identity h1 {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }

  .profile-meta-pills span,
  .profile-artist-strip a {
    max-width: 100%;
  }

  .metric-grid,
  .live-status-strip,
  .community-hero-stats,
  .profile-stats,
  .track-grid,
  .artist-grid,
  .member-grid,
  .dj-grid,
  .search-results {
    grid-template-columns: 1fr;
  }

  .community-hero {
    margin-top: 18px;
  }

  .community-hero-copy {
    min-height: auto;
  }

  .community-now-cover img {
    aspect-ratio: var(--cover-aspect);
    border-radius: calc(var(--cover-radius) - 4px);
  }

  .track-hero-card,
  .live-now-panel {
    grid-template-columns: 1fr;
  }

  .track-hero-card .compact-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-cover-wrap,
  .live-cover-wrap img {
    min-height: auto;
  }

  .live-cover-wrap img {
    aspect-ratio: var(--cover-aspect);
    height: auto;
  }

  .compact-stats,
  .request-meters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .station-list article {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .station-list img {
    width: 72px;
    height: 72px;
    border-radius: calc(var(--cover-radius) - 4px);
  }

  .station-list button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .live-streams-panel .station-list article {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .live-streams-panel .station-list img {
    width: 64px;
    height: 64px;
  }

  .lyrics-lines p {
    grid-template-columns: 1fr;
  }

  .related-track-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .related-track-row img {
    width: 58px;
    height: 58px;
  }

  .related-track-row strong {
    grid-column: 2;
    justify-self: start;
  }

  .station-copy header {
    display: grid;
    gap: 4px;
  }

  .searchbar {
    grid-template-columns: 1fr;
  }

  .result-card {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .result-card img {
    width: 70px;
    height: 70px;
    border-radius: 15px;
  }

  .result-card button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .chart-list article {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .chart-list em {
    grid-column: 2;
  }

  .footer {
    width: min(100% - 20px, 1440px);
    padding-bottom: 10px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 24px 24px 0 0;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    display: grid;
  }

  .player {
    bottom: 10px;
    grid-template-columns: 48px 54px minmax(0, 1fr);
    border-radius: 20px;
    gap: 10px;
  }

  .player .play {
    width: 48px;
    height: 48px;
  }

  .player-cover,
  .player-cover img {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .player-spectrum {
    grid-column: 1 / -1;
    height: 42px;
    grid-template-columns: repeat(32, minmax(2px, 1fr));
    padding: 6px 8px;
  }

  .player-volume {
    grid-column: 1 / -1;
  }

  .player-spectrum span {
    height: 30px;
  }

  .player-spectrum span:nth-child(n+33) {
    display: none;
  }

  .player-side,
  .player-station-picker,
  .player-station-toggle {
    grid-column: 1 / -1;
    width: 100%;
  }

  .player-side {
    grid-template-columns: 1fr;
  }

  .player-station-menu {
    left: 0;
    right: 0;
    width: 100%;
    transform-origin: bottom center;
  }
}

@media (max-width: 540px) {
  .footer-inner {
    padding: 20px;
  }

  .footer-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-live {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-actions {
    display: grid;
  }

  .footer-actions a {
    width: 100%;
  }
}
