:root {
  --bg: #15121a;
  --panel: #1f1a26;
  --ink: #efe6dc;
  --muted: #a99e93;
  --accent: #f2a65a;
  --accent-2: #8fb8a8;
  --line: #2f2838;
  --radius: 14px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6efe6;
    --panel: #fffaf3;
    --ink: #2a2230;
    --muted: #6f6470;
    --accent: #c9762d;
    --accent-2: #4f7f6d;
    --line: #e6dccf;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.site {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: .02em; }
.logo img { width: 30px; height: 30px; }
nav a { color: var(--muted); margin-left: 16px; font-size: 15px; }
nav a[aria-current="page"] { color: var(--ink); }
main { flex: 1; padding: 32px 0 48px; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 32px 0 12px; }
p.lead { color: var(--muted); margin: 0 0 28px; }

.player {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
}
.cover {
  width: 120px; height: 120px; border-radius: 12px;
  background: radial-gradient(circle at 30% 25%, #ffcf8f 0 8%, transparent 9%),
              linear-gradient(160deg, #3b2f52, #1c1726 60%, #10202a);
  position: relative; overflow: hidden;
}
.cover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  background: repeating-linear-gradient(90deg, #0d0b12 0 14px, #17131d 14px 22px);
  clip-path: polygon(0 40%, 12% 40%, 12% 10%, 24% 10%, 24% 55%, 40% 55%, 40% 0, 55% 0, 55% 35%, 70% 35%, 70% 15%, 86% 15%, 86% 45%, 100% 45%, 100% 100%, 0 100%);
}
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
.player.paused .live i { animation: none; opacity: .4; }
@keyframes pulse { 50% { opacity: .25; } }
.now { font-size: 20px; font-weight: 700; margin: 4px 0 2px; }
.show { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
button.play {
  appearance: none; border: 0; cursor: pointer;
  background: var(--accent); color: #1b1410;
  font: inherit; font-weight: 700;
  padding: 10px 22px; border-radius: 999px;
}
button.play:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.volume { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.volume input { width: 110px; accent-color: var(--accent); }
.listeners { color: var(--muted); font-size: 13px; margin-top: 12px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card b { display: block; margin-bottom: 4px; }
.card span { color: var(--muted); font-size: 14px; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
tr.on-air td { color: var(--accent); font-weight: 700; }

ol.tracks { padding-left: 22px; }
ol.tracks li { margin: 6px 0; }
ol.tracks small { color: var(--muted); }

footer.site { border-top: 1px solid var(--line); padding: 18px 0; color: var(--muted); font-size: 13px; }

@media (max-width: 520px) {
  .player { grid-template-columns: 1fr; }
  .cover { width: 100%; height: 140px; }
  nav a { margin: 0 14px 0 0; }
  h1 { font-size: 26px; }
}
