@font-face {
  font-family: "Icona";
  src: url("/assets/Icona-Sans-Regular.woff2") format("woff2");
  font-weight: 300 400;
  font-display: swap;
  ascent-override: 87%;
  descent-override: 13%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Icona";
  src: url("/assets/Icona-Sans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  ascent-override: 87%;
  descent-override: 13%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Icona";
  src: url("/assets/Icona-Sans-Semibold.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
  ascent-override: 87%;
  descent-override: 13%;
  line-gap-override: 0%;
}

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #181818;
  --text: #f4f3f0;
  --muted: #a5a49e;
  --faint: #96958e;
  --line: rgba(244, 243, 240, 0.10);
  --line-strong: rgba(244, 243, 240, 0.22);
  --pink: #f794b3;
  --pink-strong: #e0558a;
  --green: #7fd1a0;
  --amber: #e0b45c;
  --radius: 6px;
  --max: 1160px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 620px at 16% -8%, rgba(247, 148, 179, 0.11), transparent 62%),
    radial-gradient(700px 500px at 92% 18%, rgba(224, 85, 138, 0.05), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: "Icona", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

a { color: var(--pink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.top {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 34px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: block; line-height: 0; }
.brand img { display: block; width: 232px; height: auto; }

.top-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  color: var(--muted);
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.01em;
}
.live-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
}
.live-chip[data-live="true"] { color: var(--green); border-color: rgba(127, 209, 160, 0.5); }
.live-chip[data-live="true"] i { background: var(--green); box-shadow: 0 0 0 4px rgba(127, 209, 160, 0.12); }
.live-chip[data-live="false"] { color: var(--pink); border-color: rgba(247, 148, 179, 0.45); }
.live-chip[data-live="false"] i { background: var(--pink); box-shadow: 0 0 0 4px rgba(247, 148, 179, 0.10); }

.channel { color: var(--faint); }

.stage {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(340px, 1.08fr);
  gap: 72px;
  align-items: start;
}

.cover-wrap { position: relative; max-width: 520px; width: 100%; }

.cover {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.cover img#cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 240ms ease;
}
.cover img#cover-image.is-swapping { opacity: 0; }

.cover-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(247, 148, 179, 0.26), transparent 58%),
    var(--surface-2);
}
.cover-fallback img { width: 34%; height: auto; opacity: 0.9; }

.cover-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.55);
}
.cover-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--pink);
  transition: width 1s linear;
}

.play {
  position: absolute;
  right: 18px;
  bottom: 24px;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--pink);
  color: #0a0a0a;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(224, 85, 138, 0.35);
  transition: transform 140ms ease, background 140ms ease;
}
.play:hover { transform: scale(1.04); background: var(--pink-strong); color: #fff; }
.play svg { width: 26px; height: 26px; fill: currentColor; }
.play .icon-pause { display: none; }
.play[data-playing="true"] .icon-play { display: none; }
.play[data-playing="true"] .icon-pause { display: block; }

.cover-note {
  margin: 12px 0 0;
  min-height: 18px;
  color: var(--faint);
  font-size: 11.5px;
}

.now { padding-top: 8px; min-width: 0; }

.kicker {
  margin: 0 0 14px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1 {
  margin: 0;
  font-size: clamp(2.55rem, 4.5vw, 4.35rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.artist {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.timeline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  color: var(--faint);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

.progress {
  height: 2px;
  margin-top: 8px;
  background: var(--line);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--pink);
  transition: width 1s linear;
}

.listen-line {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  color: var(--text);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.listen-line span + span {
  padding-left: 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}
.facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.facts dt { color: var(--faint); font-size: 11px; white-space: nowrap; }
.facts dd {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.next {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 22px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}
.next[hidden] { display: none; }
.next span { color: var(--faint); font-size: 11px; }
.next b { color: var(--text); font-weight: 400; }

.data-note {
  min-height: 17px;
  margin: 14px 0 0;
  color: var(--amber);
  font-size: 11.5px;
}

.foot {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 22px 0 38px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--faint);
  font-size: 11.5px;
}
.foot a { color: var(--muted); }

@media (max-width: 860px) {
  .top, .stage, .foot { width: calc(100% - 40px); }
  .top { padding-top: 24px; }
  .brand img { width: 196px; }
  .stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    padding: 44px 0 48px;
  }
  .cover-wrap { max-width: min(460px, 100%); width: 100%; }
  .now { padding-top: 0; }
  h1 { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .facts { margin-top: 28px; }
  .foot { flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .channel { display: none; }
  .brand img { width: 188px; }
  .top-meta { gap: 10px; }
}

@media (max-width: 460px) {
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { border-bottom: 0; padding-bottom: 2px; }
  .facts div:nth-child(even) { padding-top: 2px; }
  .timeline { margin-top: 24px; }
  .play { width: 60px; height: 60px; right: 14px; bottom: 20px; }
}

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