/* The Song. Kept out of site.css on purpose: that file is at its budget. */

.song-page { background: #0b1426; }

.party {
  position: relative;
  background: #0b1426;
  color: #f4f1ea;
}

.party-stage {
  position: relative;
  height: calc(100svh - var(--nav-h));
  min-height: 520px;
  overflow: hidden;
  background: #0b1426;
}

.party-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0b1426;
}

.party-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(11, 20, 38, 0.94) 0%, rgba(11, 20, 38, 0.15) 46%, rgba(11, 20, 38, 0.45) 100%);
}

.party-intro {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 46%;
  transform: translateY(-50%);
  text-align: center;
  padding: 0 24px;
}

.party .eyebrow { color: rgba(244, 241, 234, 0.72); }
.party .node { box-shadow: none; }
.party .display { color: #f4f1ea; }

.party-dek {
  margin: 16px auto 28px;
  max-width: 26em;
  font-size: 1.2rem;
  line-height: 1.45;
  color: rgba(244, 241, 234, 0.78);
}

.party-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.party-save {
  color: rgba(244, 241, 234, 0.72);
  font-size: 0.95rem;
  font-weight: 600;
  text-underline-offset: 3px;
}

.party-save:hover { color: #f4f1ea; }

.party-live {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 92px;
  padding: 0 7vw;
  text-align: center;
}

.party-now {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 24px;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.72);
}

.party-line {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.party-next {
  margin: 12px 0 0;
  min-height: 1.4em;
  font-size: 1.05rem;
  color: rgba(244, 241, 234, 0.55);
}

.party-controls {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 18px;
}

.party-pause {
  flex: none;
  min-width: 88px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(244, 241, 234, 0.28);
  background: transparent;
  color: #f4f1ea;
  font-weight: 600;
}

.party-pause:hover { background: rgba(244, 241, 234, 0.08); }

.party-bar {
  flex: 1;
  height: 28px;
  display: flex;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 0;
}

.party-bar i {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: rgba(244, 241, 234, 0.22);
  position: relative;
  overflow: hidden;
}

.party-bar b {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #3fe0d0;
}

.party-time {
  flex: none;
  min-width: 9ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 0.875rem;
  color: rgba(244, 241, 234, 0.72);
}

.party:not(.is-on) .party-live,
.party:not(.is-on) .party-now,
.party:not(.is-on) .party-controls { display: none; }

.party.is-on .party-intro { display: none; }

@media (max-width: 720px) {
  .party-live { bottom: 108px; padding: 0 20px; }
  .party-now { left: 16px; right: 16px; }
  .party-controls { gap: 10px; padding: 12px 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .party-intro { transform: none; top: 18%; }
}
