:root {
  color-scheme: dark;
  --bg: #0f111a;
  --panel: #171a26;
  --border: #282d40;
  --text: #eef0f6;
  --muted: #8f96ad;
  --amber: #f59e0b;
  --amber-hover: #fbbf24;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.shell {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.station {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.freq {
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber);
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 700;
}

.name {
  font-weight: 700;
  letter-spacing: 0.1em;
}

.air-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}

.player-card {
  padding: 2rem;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  margin-bottom: 1.75rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
}

h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4.2vw, 2.8rem);
  line-height: 1.15;
}

.desc {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 58ch;
}

.now-playing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.np-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.np-track {
  font-size: 1.02rem;
}

.switch-btn {
  padding: 0.65rem 1.1rem;
  border: 0;
  border-radius: 8px;
  background: var(--amber);
  color: #11131a;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.switch-btn:hover {
  background: var(--amber-hover);
}

.switch-btn:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.schedule {
  padding: 1.5rem 2rem;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.schedule h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 600;
}

.program-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.program-list li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.program-list li:first-child {
  border-top: 0;
}

.program-list time {
  font-family: ui-monospace, monospace;
  color: var(--amber);
  font-size: 0.9rem;
}

.genre {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .player-card,
  .schedule {
    padding: 1.25rem;
  }

  .program-list li {
    grid-template-columns: 60px 1fr;
  }

  .genre {
    display: none;
  }
}
