:root {
  color-scheme: dark;
  --bg: #0e1210;
  --ink: #f4f0e6;
  --muted: #b3aa9a;
  --gold: #dcaf5b;
  --line: rgba(244, 240, 230, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(220, 175, 91, 0.18), transparent 55%),
    radial-gradient(700px 420px at 100% 100%, rgba(125, 206, 160, 0.08), transparent 50%),
    var(--bg);
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 380;
}

body[data-page="embed"] {
  min-height: 0;
  background: var(--bg);
}

.room {
  max-width: 640px;
  margin: 0 auto;
  padding: max(48px, env(safe-area-inset-top)) 24px 64px;
  text-align: center;
}

.eyebrow, .tagline, .status, .artist, .stream, .studio {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

h1, h2, .bar strong {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
}

h1 {
  margin: 8px 0 0;
  font-size: clamp(56px, 10vw, 92px);
  line-height: 0.9;
}

.tagline { margin-top: 14px; }

.play {
  width: 112px;
  height: 112px;
  margin: 36px auto 8px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1408;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 50px rgba(220, 175, 91, 0.28);
}

.play:focus-visible { outline: 2px solid white; outline-offset: 4px; }

.mark {
  width: 0;
  height: 0;
  border-left: 22px solid #1a1408;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}

.play.on .mark {
  width: 18px;
  height: 22px;
  border: 0;
  margin: 0;
  background: linear-gradient(#1a1408, #1a1408) 0 0 / 5px 100% no-repeat,
    linear-gradient(#1a1408, #1a1408) 100% 0 / 5px 100% no-repeat;
}

#bars {
  width: min(360px, 100%);
  height: 72px;
  display: block;
  margin: 8px auto 0;
}

.status { min-height: 1em; }

h2 {
  margin: 18px 0 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 520;
}

.artist { margin-top: 8px; letter-spacing: 0.08em; }

#cover {
  width: min(280px, 70%);
  margin: 28px auto 0;
  border-radius: 18px;
  display: block;
}

.recent { margin-top: 48px; text-align: left; }
.recent h3 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.recent ol { list-style: none; padding: 0; margin: 0; }
.recent li { padding: 10px 0; border-top: 1px solid var(--line); }
.recent small { display: block; color: var(--muted); }

.stream, .embed, .studio { margin-top: 28px; }
.stream button, .studio {
  color: var(--gold);
  background: none;
  border: 0;
  font: inherit;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.embed { color: var(--muted); }
.embed code {
  display: block;
  margin-top: 10px;
  text-align: left;
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.5;
}

.bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}
.bar .play { width: 64px; height: 64px; margin: 0; flex: none; }
.bar .mark { border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
.bar .meta { min-width: 0; text-align: left; }
.bar strong, .bar span { display: block; }
.bar span {
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
