/* Cover, numbers, hero track, top songs. */

.cover-page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.cover-page__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wrapped-wordmark {
  display: block;
  width: clamp(210px, 29vw, 300px);
  height: auto;
  user-select: none;
  filter:
    drop-shadow(0 0 20px rgba(92, 226, 255, 0.14))
    drop-shadow(0 16px 32px rgba(0, 0, 0, 0.24));
}
.cover-page__live {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(7, 8, 10, 0.42);
  color: rgba(245, 238, 226, 0.64);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}
.cover-page__middle {
  max-width: 660px;
  margin: auto 0;
  padding: 42px 0;
}
.cover-page__title {
  margin: 12px 0 0;
  color: var(--cream);
  font-family: var(--title);
  font-size: clamp(46px, 7.2vw, 78px);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-shadow: 0 4px 48px rgba(0, 0, 0, 0.2);
}
.cover-page__sub {
  max-width: 500px;
  margin: 22px 0 0;
  color: rgba(245, 238, 226, 0.72);
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.5;
}
.cover-page__middle .pill {
  margin-top: 29px;
}
.cover-page__foot {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  padding-bottom: 2px;
  color: rgba(245, 238, 226, 0.62);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cover-page .wrapped-wordmark {
  opacity: 0.98;
}

/* Minutes */
.center-page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.minutes-page .eyebrow {
  color: rgba(194, 255, 115, 0.7);
}
.giant-number {
  max-width: 100%;
  margin: 26px 0 0;
  color: var(--cream);
  font-family: var(--title);
  font-size: clamp(92px, 20vw, 218px);
  line-height: 0.88;
  font-weight: 800;
  letter-spacing: -0.075em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-shadow: 0 0 46px rgba(194, 255, 115, 0.08);
}
.giant-unit {
  margin: 20px 0 0;
  color: var(--cream);
  font-family: var(--title);
  font-size: clamp(27px, 4.2vw, 42px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.minutes-page .story-copy {
  margin-top: 22px;
  text-align: center;
}
.stat-grid {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-grid > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 8px;
}
.stat-grid > div + div {
  border-left: 1px solid var(--line-soft);
}
.stat-grid strong {
  color: var(--ink);
  font-family: var(--title);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.stat-grid span {
  color: rgba(245, 238, 226, 0.62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.minutes-page .source-note {
  margin-top: 15px;
}

/* Hero song */
.hero-page {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  align-content: center;
}
.hero-page__art {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.13);
}
.hero-page__art > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero-page__art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 58%, rgba(2, 3, 5, 0.4));
}
.scene--hero-song .scene__image {
  filter: blur(2px) saturate(1.12) brightness(0.5);
  opacity: 0.92;
  transform: scale(1.03);
}
.scene--hero-song .scene__tint {
  background:
    linear-gradient(180deg, rgba(4, 4, 6, 0.72) 0%, rgba(4, 4, 6, 0.08) 28%, rgba(4, 4, 6, 0.5) 64%, rgba(4, 4, 6, 0.92) 100%),
    linear-gradient(90deg, rgba(4, 4, 6, 0.45), transparent 52%);
}
.hero-page__details {
  min-width: 0;
}
.hero-page__title {
  margin: 13px 0 0;
  color: var(--cream);
  font-family: var(--title);
  font-size: clamp(44px, 7.7vw, 84px);
  line-height: 0.86;
  font-weight: 700;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
  text-shadow: 0 4px 36px rgba(0, 0, 0, 0.22);
}
.hero-page__artist {
  margin: 16px 0 0;
  color: var(--orange);
  font-size: clamp(19px, 2.8vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-page__meta {
  margin: 12px 0 0;
  color: rgba(245, 238, 226, 0.9);
  font-size: 14.5px;
  line-height: 1.5;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.38);
}
.hero-page__meta span {
  margin: 0 5px;
  color: rgba(245, 238, 226, 0.3);
}
.hero-page__details .pill {
  margin-top: 25px;
}
.hero-page__note {
  grid-column: 1 / -1;
  margin: 7px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: rgba(245, 238, 226, 0.7);
  font-size: 12px;
  text-align: center;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

/* Top songs */
.list-page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.list-page .story-heading {
  text-align: center;
  margin: 0 auto;
}
.list-page .story-heading h1 {
  color: var(--cream);
}
.list-labels {
  display: grid;
  grid-template-columns: 36px 58px minmax(0, 1fr) 78px 22px;
  gap: 12px;
  align-items: center;
  margin-top: clamp(24px, 5vh, 44px);
  padding: 0 12px 8px;
  color: rgba(245, 238, 226, 0.62);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.list-labels span:nth-child(2) {
  grid-column: 2 / 4;
}
.list-labels span:nth-child(3) {
  grid-column: 4;
  text-align: right;
}
.track-list {
  display: flex;
  flex-direction: column;
  background: rgba(5, 6, 8, 0.38);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  border-radius: 7px;
  backdrop-filter: blur(18px);
}
.track-row {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 36px 58px minmax(0, 1fr) 78px 22px;
  gap: 12px;
  align-items: center;
  padding: 7px 12px;
  border: 0;
  border-bottom: 1px solid rgba(245, 238, 226, 0.09);
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background 160ms ease;
}
.track-row:last-child {
  border-bottom: 0;
}
.track-row:hover,
.track-row.is-playing {
  background: rgba(255, 255, 255, 0.07);
}
.track-row__rank {
  color: rgba(245, 238, 226, 0.5);
  font-size: 10.5px;
}
.track-row__cover {
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}
.track-row__cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.track-row__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.track-row__meta strong {
  overflow: hidden;
  color: var(--cream);
  font-size: clamp(12px, 1.6vw, 15px);
  line-height: 1.1;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.track-row__meta small {
  overflow: hidden;
  color: rgba(245, 238, 226, 0.64);
  font-size: 11px;
  line-height: 1.1;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.track-row__plays {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.track-row__plays strong {
  color: var(--cream);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
}
.track-row__plays small {
  color: rgba(245, 238, 226, 0.62);
  font-size: 10px;
  letter-spacing: 0.05em;
}
.track-row__action {
  display: grid;
  place-items: center;
  color: rgba(245, 238, 226, 0.62);
}
.track-row__action .track-eq {
  display: none;
  height: 14px;
  color: var(--lime);
}
.track-row.is-playing .track-play {
  display: none;
}
.track-row.is-playing .track-eq {
  display: inline-flex;
}
.list-page .tap-note {
  padding-top: 18px;
}

/* Small screens */
@media (max-width: 760px) {
  .cover-page__top {
    align-items: flex-start;
  }
  .wrapped-wordmark {
    width: 200px;
  }
  .cover-page__middle {
    padding-top: 34px;
  }
  .cover-page__title {
    font-size: clamp(44px, 14.5vw, 72px);
  }
  .cover-page__foot {
    font-size: 9.5px;
  }
  .giant-number {
    font-size: clamp(88px, 26vw, 156px);
  }
  .hero-page {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 25px;
    padding-top: 12px;
  }
  .hero-page__art {
    width: min(76vw, 300px);
    margin: 0 auto;
  }
  .hero-page__details {
    text-align: center;
  }
  .hero-page__title {
    font-size: clamp(40px, 12vw, 58px);
  }
  .hero-page__note {
    margin-top: 1px;
  }
  .track-row {
    grid-template-columns: 25px 48px minmax(0, 1fr) 60px 18px;
    gap: 8px;
    padding-inline: 4px;
    min-height: 66px;
  }
  .list-labels {
    grid-template-columns: 25px 48px minmax(0, 1fr) 60px 18px;
    gap: 8px;
    padding-inline: 4px;
  }
  .track-row__cover {
    width: 46px;
    height: 46px;
  }
  .track-row__meta strong {
    font-size: 13px;
  }
  .track-row__meta small {
    font-size: 11px;
  }
  .track-row__plays strong {
    font-size: 12px;
  }
  .track-row__plays small {
    font-size: 9px;
  }
}

@media (max-width: 760px) and (max-height: 760px) {
  .hero-page {
    gap: 18px;
    padding-top: 4px;
  }
  .hero-page__art {
    width: min(58vw, 210px);
  }
  .hero-page__details .pill {
    margin-top: 18px;
  }
  .hero-page__note {
    margin-top: 0;
    padding-top: 12px;
  }
}
