body {
  --vt-bg: #081425;
  --vt-panel: rgba(8, 20, 37, 0.74);
  --vt-panel-strong: rgba(8, 20, 37, 0.9);
  --vt-border: rgba(167, 139, 250, 0.32);
  --vt-primary: #a78bfa;
  --vt-primary-soft: rgba(167, 139, 250, 0.18);
  --vt-accent: #7dd3fc;
  --vt-text: #f7f2ff;
  --vt-muted: #cbb8e8;
  margin: 0;
  min-height: 100vh;
  background-color: var(--vt-bg);
  background-image: url("/assets/sp-bg-h-001.svg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--vt-text);
  font-family: var(--font);
  line-height: 1.55;
}

body.has-studio-player {
  padding-bottom: calc(var(--player-height, 108px) + env(safe-area-inset-bottom, 0px));
}

a {
  color: var(--vt-accent);
}

.wrap {
  max-width: var(--content);
  margin: 0 auto;
  padding: 9px 27px;
}

header.site {
  border-bottom: 1px solid var(--vt-border);
  background: rgba(5, 10, 22, 0.56);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

nav strong,
nav a {
  color: var(--vt-text);
}

nav a {
  text-decoration: none;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.12;
}

.hero {
  /* min-height: 62vh; */
  display: grid;
  align-items: end;
  /* border-bottom: 1px solid var(--vt-border); */
  backdrop-filter: blur(3px);
}

.hero .wrap,
.wrap > h1,
.wrap > h2,
.work-layout > section,
.panel,
.work-card,
main.wrap {
  position: relative;
}

.hero .wrap,
main.wrap,
.work-layout > section:last-child,
.panel {
  /* background: var(--vt-panel); */
  /* border: 1px solid var(--vt-border); */
  /* box-shadow: 0 18px 40px rgba(1, 4, 13, 0.34); */
  /* backdrop-filter: blur(14px); */
}

.hero .wrap,
main.wrap {
  border-radius: 7px;
}

.hero .wrap {
  padding-top: 34px;
  padding-bottom: 34px;
}

.hero p {
  max-width: 760px;
  color: var(--vt-muted);
  font-size: 1.05rem;
}

.album-hero {
  display: grid;
  grid-template-columns: minmax(220px, 410px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 26px;
}

.album-hero__art {
  align-self: stretch;
}

.album-hero__cover {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--vt-border);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(2, 6, 18, 0.42);
  background: #111;
}

.album-hero__copy {
  min-width: 0;
}

.album-kicker,
.album-hero__artist,
.album-hero__meta {
  color: var(--vt-muted);
}

.album-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: baseline;
  margin: 0 0 0.25rem;
}

.album-kicker__presents {
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.album-kicker__label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--vt-accent);
}

.album-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 2.9rem);
}

.album-hero__artist {
  margin: 0.5rem 0 0;
  font-size: 1.35rem;
}

.album-hero__meta {
  margin: 0.35rem 0 1rem;
}

.release-state,
.release-badge {
  color: var(--vt-accent);
  letter-spacing: 0.03em;
}

.release-countdown {
  display: grid;
  grid-template-columns: minmax(190px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 34px;
}

.release-countdown__visual {
  display: grid;
  place-items: center;
  min-height: 250px;
}

.cosmic-torus {
  position: relative;
  width: min(72vw, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(3, 5, 8, 0.96) 0 34%, transparent 35%),
    conic-gradient(from 18deg, rgba(125, 211, 252, 0.12), rgba(255, 190, 96, 0.92), rgba(125, 211, 252, 0.82), rgba(167, 139, 250, 0.22), rgba(255, 190, 96, 0.74), rgba(125, 211, 252, 0.12));
  box-shadow: 0 0 42px rgba(125, 211, 252, 0.18), inset 0 0 32px rgba(255, 190, 96, 0.16);
  animation: vt-torus-spin 18s linear infinite;
}

.cosmic-torus::before,
.cosmic-torus::after,
.cosmic-torus span {
  content: "";
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(125, 211, 252, 0.42);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(24deg);
  box-shadow: 0 0 24px rgba(125, 211, 252, 0.22);
}

.cosmic-torus::after {
  transform: rotateX(68deg) rotateZ(112deg);
  border-color: rgba(255, 190, 96, 0.36);
}

.cosmic-torus span:nth-child(1) {
  inset: 6%;
  transform: rotateX(72deg) rotateZ(158deg);
}

.cosmic-torus span:nth-child(2) {
  inset: 23%;
  border-color: rgba(255, 190, 96, 0.34);
  transform: rotateX(58deg) rotateZ(78deg);
}

.cosmic-torus span:nth-child(3) {
  inset: 40%;
  border-color: rgba(125, 211, 252, 0.66);
  background: radial-gradient(circle, rgba(125, 211, 252, 0.9), transparent 38%);
  animation: vt-pulse 3.8s ease-in-out infinite;
}

.release-countdown__timer {
  font-size: clamp(1.9rem, 7vw, 4.8rem);
  line-height: 1;
  margin: 0.35rem 0 1rem;
  letter-spacing: 0.04em;
}

.release-countdown__album {
  color: var(--vt-text);
  letter-spacing: 0.12em;
}

.release-milestones {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.release-milestones li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.7rem;
  align-items: baseline;
  border-top: 1px solid var(--vt-border);
  padding-top: 0.55rem;
}

.release-milestones strong,
.release-milestones em {
  color: var(--vt-muted);
  font-style: normal;
  font-size: 0.88rem;
}

.release-locked {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.08), rgba(255, 190, 96, 0.05));
}

@keyframes vt-torus-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes vt-pulse {
  0%, 100% {
    opacity: 0.42;
  }
  50% {
    opacity: 0.96;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.work-card {
  border: 1px solid var(--vt-border);
  background: linear-gradient(180deg, rgba(16, 31, 56, 0.8), rgba(8, 20, 37, 0.9));
  border-radius: 7px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 36px rgba(3, 7, 18, 0.28);
}

.work-card__link {
  color: inherit;
  text-decoration: none;
  display: block;
  flex-grow: 13;
}

.work-card__actions {
  padding: 0 14px 14px;
}

.media-action {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: stretch;
}

.work-card img,
.work-art img,
.gallery img {
  width: 100%;
  height: auto;
  display: block;
  background: #111;
}

.work-card .meta {
  padding: 0px 14px 14px 14px;
}

.muted {
  color: var(--vt-muted);
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(240px, 420px) 1fr;
  gap: 28px;
  align-items: start;
}

.work-layout > section:last-child {
  border-radius: 7px;
  padding: 24px;
}

audio {
  width: 100%;
  margin: 16px 0;
}

audio.is-inline-audio-hidden {
  display: none;
}

.panel {
  border-top: 1px solid var(--vt-border);
  border-radius: 7px;
  padding: 18px;
  margin-top: 26px;
}

.lyrics {
  white-space: pre-wrap;
}

.lyrics-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.lyrics article {
  margin: 0;
}

.lyrics h2 {
  margin-top: 0;
}

.lyrics .credit-line {
  color: var(--vt-muted);
  margin-bottom: 0.8rem;
}

.track-play-button {
  appearance: none;
  border: 1px solid var(--vt-primary);
  background: rgba(124, 58, 237, 0.14);
  color: var(--vt-text);
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  font: inherit;
  cursor: pointer;
  min-width: 7rem;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.08);
}

.track-play-button--compact {
  width: 100%;
  min-width: 0;
  padding: 0.65rem 0.9rem;
}

.media-action .track-play-button {
  border-radius: 999px 12px 12px 999px;
}

.media-action__toggle {
  appearance: none;
  border: 1px solid var(--vt-primary);
  background: rgba(124, 58, 237, 0.14);
  color: var(--vt-text);
  border-radius: 12px 999px 999px 12px;
  padding: 0 0.8rem;
  font: inherit;
  cursor: pointer;
}

.media-action__menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  width: min(280px, calc(100vw - 32px));
  border: 1px solid var(--vt-border);
  border-radius: 14px;
  background: rgba(5, 10, 22, 0.96);
  box-shadow: 0 18px 44px rgba(1, 4, 13, 0.52);
  padding: 8px;
  z-index: 35;
}

.media-action__menu.is-portal {
  position: fixed;
  right: auto;
  bottom: auto;
  width: min(300px, calc(100vw - 24px));
  max-height: calc(100vh - var(--player-height, 108px) - 24px);
  overflow: auto;
  z-index: 90;
}

.media-action__item,
.media-action__menu-status {
  width: 100%;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--vt-text);
  font: inherit;
  text-align: left;
  padding: 0.68rem 0.75rem;
}

.media-action__item {
  cursor: pointer;
}

.media-action__item:hover,
.media-action__item:focus {
  background: rgba(125, 211, 252, 0.14);
  outline: none;
}

.media-action__item.is-disabled {
  color: var(--vt-muted);
  cursor: not-allowed;
  opacity: 0.74;
}

.media-action__divider {
  height: 1px;
  background: var(--vt-border);
  margin: 6px 4px;
}

.track-play-button.is-active-track {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.28), rgba(125, 211, 252, 0.24));
  border-color: var(--vt-accent);
}

.track-play-button.has-hq-access {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.2), rgba(167, 139, 250, 0.24));
  border-color: var(--vt-accent);
}

.work-card.is-active-track {
  box-shadow: 0 0 0 2px var(--vt-accent), 0 18px 40px rgba(3, 7, 18, 0.34);
}

.studio-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  border-top: 1px solid var(--vt-border);
  background: rgba(5, 10, 22, 0.56);
  backdrop-filter: blur(18px);
  box-shadow: 0 -18px 44px rgba(1, 4, 13, 0.42);
}

.studio-player[hidden] {
  display: none;
}

.studio-player__inner {
  max-width: calc(var(--content) + 56px);
  margin: 0 auto;
  padding: 12px 28px calc(12px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px 18px;
  align-items: center;
}

.studio-player__meta {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.studio-player__artwork {
  width: 56px;
  height: 56px;
  border-radius: 7px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-player__copy {
  min-width: 0;
}

.studio-player__eyebrow,
.studio-player__status {
  color: var(--vt-muted);
  font-size: 0.78rem;
}

.studio-player__quality {
  display: inline-flex;
  margin-left: 0.45rem;
  border: 1px solid var(--vt-border);
  border-radius: 999px;
  padding: 0.08rem 0.42rem;
  color: var(--vt-text);
  letter-spacing: 0.08em;
}

.studio-player__title {
  margin: 0.1rem 0 0.2rem;
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-player__center {
  display: flex;
  justify-content: center;
}

.studio-player__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.studio-player__volume-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.studio-player__button,
.studio-player__volume-toggle {
  appearance: none;
  border: 1px solid rgba(167, 139, 250, 0.34);
  background: rgba(10, 18, 33, 0.72);
  color: var(--vt-text);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.06);
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.studio-player__button:hover,
.studio-player__volume-toggle:hover {
  border-color: rgba(125, 211, 252, 0.48);
  background: rgba(16, 28, 48, 0.88);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.14);
}

.studio-player__button[aria-pressed="true"],
.studio-player__volume-toggle[aria-pressed="true"],
.studio-player__button[data-state="active"] {
  border-color: var(--vt-accent);
  color: var(--vt-accent);
  background: rgba(18, 34, 56, 0.92);
}

.studio-player__button--small {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
}

.studio-player__button--primary {
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  background: radial-gradient(circle at 30% 30%, rgba(125, 211, 252, 0.2), rgba(167, 139, 250, 0.24) 55%, rgba(10, 18, 33, 0.94) 100%);
  border-color: rgba(167, 139, 250, 0.56);
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.2);
}

.studio-player__icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.studio-player__button--primary .studio-player__icon {
  width: 26px;
  height: 26px;
}

.studio-player__button[data-icon="play"] .studio-player__icon {
  fill: currentColor;
  stroke: none;
}

.studio-player__transport {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
}

.studio-player__seek,
.studio-player__volume {
  accent-color: var(--vt-accent);
}

.studio-player__seek {
  width: 100%;
}

.studio-player__timeline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--vt-muted);
  font-size: 0.79rem;
}

.studio-player__volume {
  width: 116px;
}

.studio-player__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--vt-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .studio-player__button,
  .studio-player__volume-toggle,
  .cosmic-torus,
  .cosmic-torus span:nth-child(3) {
    transition: none;
    animation: none;
  }
}

@media (max-width: 800px), (orientation: portrait) {
  body {
    background-image: url("/assets/sp-bg-v-001.svg");
    /* background-attachment: scroll; */
  }
}

@media (max-width: 780px) {
  .work-layout {
    grid-template-columns: 1fr;
  }

  .album-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .album-hero__cover {
    max-width: 520px;
  }

  .release-countdown {
    grid-template-columns: 1fr;
  }

  .release-milestones li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .wrap {
    padding: 18px;
  }

  body.has-studio-player {
    padding-bottom: calc(var(--player-height, 104px) + env(safe-area-inset-bottom, 0px));
  }

  .hero .wrap,
  main.wrap,
  .work-layout > section:last-child {
    border-radius: 7px;
  }

  .studio-player__inner {
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
    /* grid-template-columns: minmax(0, 1fr); */
    gap: 10px;
  }

  .studio-player__meta {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .studio-player__artwork {
    width: 48px;
    height: 48px;
  }

  .studio-player__title {
    font-size: 0.94rem;
  }

  .studio-player__center {
    order: 2;
  }

  .studio-player__controls {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .studio-player__button,
  .studio-player__volume-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .studio-player__button--small {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .studio-player__button--primary {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
  }

  .studio-player__volume-group {
    order: 3;
    justify-content: center;
  }

  .studio-player__volume {
    display: none;
  }
}
