.song-player {
  padding: 0;
}
.player-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  margin-bottom: 0;
}
.player-menu {
  position: relative;
  z-index: 5;
}
.player-menu > summary {
  list-style: none;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
}
.player-menu > summary::-webkit-details-marker {
  display: none;
}
.player-menu > div {
  position: absolute;
  right: 0;
  top: 44px;
  background: #17213b;
  box-shadow: 0 12px 36px #0005;
  border-radius: 12px;
  padding: 12px 20px;
  width: 260px;
}
.player-menu a {
  display: block;
  padding: 12px 0;
  font-size: 13px;
  cursor: pointer;
}
.player-body {
  gap: 120px;
  max-width: 1050px;
  margin: auto;
  align-items: start;
  display: block;
}
.record-side {
  min-width: 0;
  width: 100%;
  justify-self: center;
  max-width: 430px;
  margin: auto;
}
.celestial-record {
  position: relative;
  width: 100%;
  aspect-ratio: 500/350;
  display: grid;
  place-items: center;
  max-width: 360px;
  margin: auto;
}
.record-stars,
.record-orbits {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  color: var(--accent);
}
.record-stars {
  fill: currentColor;
  opacity: 0.8;
}
.record-orbits {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.6;
  opacity: 0.65;
  animation: orbit var(--orbit-speed, 70s) linear infinite;
  animation-play-state: paused;
}
.record-orbits .orbit-moon {
  fill: currentColor;
  stroke: none;
}
.album-sleeve {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 55px #0005;
  transform: rotate(-12deg);
  width: 53%;
}
.album-sleeve img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: hue-rotate(var(--sky-hue)) saturate(var(--sky-saturation));
  transition: filter 1s ease-out;
}
body[data-playing='true'] .record-orbits {
  animation-play-state: running;
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
.dream-signature {
  text-align: center;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 18px;
  font-size: 11px;
  margin-bottom: 18px;
}
.track-heading {
  text-align: center;
  margin-bottom: 14px;
}
.track-heading h1 {
  line-height: 1.5;
  letter-spacing: 0.15em;
  font-size: 28px;
}
.track-heading p {
  line-height: 1.8;
  color: var(--muted);
  margin: 12px auto 0;
  max-width: 30em;
  font-size: 11px;
  margin-top: 10px;
}
.track-heading .dream-signature {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-top: 14px;
}
.player-seek input {
  width: 100%;
  display: block;
  cursor: pointer;
  height: 32px;
  margin: 0;
  appearance: none;
  background: transparent;
  --played: 0%;
  accent-color: var(--accent);
}
.player-seek input::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent) var(--played),
    #a2aac14d var(--played),
    #a2aac14d 100%
  );
}
.player-seek input::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: -4px;
}
.player-seek input::-moz-range-track {
  height: 2px;
  background: #a2aac14d;
}
.player-seek input::-moz-range-progress {
  background: var(--accent);
  height: 2px;
}
.player-seek input::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  background: var(--accent);
  border-radius: 50%;
}
.player-clock {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.player-transport {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 12px;
  margin-top: 14px;
  gap: 30px;
}
.transport-small {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.transport-small:hover {
  color: var(--accent);
}
.transport-play {
  background: var(--accent);
  color: #0c1925;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease-out;
  width: 60px;
  height: 60px;
}
.transport-play svg {
  width: 25px;
  height: 25px;
}
.transport-play:hover {
  transform: scale(1.06);
}
.player-low {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
}
.player-volume {
  display: flex;
  gap: 8px;
  align-items: center;
}
.player-volume button {
  width: 38px;
  min-height: 44px;
  display: grid;
  place-items: center;
}
.player-volume svg {
  width: 18px;
  height: 18px;
}
.player-volume input {
  height: 24px;
  accent-color: var(--accent);
  width: 60px;
}
.player-create {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  gap: 24px;
  padding-top: 10px;
}
.player-create button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  color: var(--accent);
  font-size: 11px;
}
.player-create svg {
  width: 16px;
  height: 16px;
}
.player-error {
  font-size: 13px;
  line-height: 1.8;
  color: #ffbcb0;
  margin: 12px 0;
}
.player-caveat {
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.8;
  font-size: 11px;
}
.lyrics-pane {
  min-width: 0;
  align-self: start;
  padding-top: 44px;
  margin-top: 22px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}
.lyrics-pane > summary {
  list-style: none;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  min-height: 44px;
  margin: 0;
  font-size: 13px;
  justify-content: space-between;
}
.lyrics-pane > summary::-webkit-details-marker {
  display: none;
}
.lyrics-scroll {
  overflow-y: auto;
  padding: 0 18px 15px 0;
  scrollbar-width: thin;
  scrollbar-color: #7c80a250 transparent;
  max-height: none;
  padding-top: 22px;
  overflow: visible;
}
.song-stanza {
  margin: 0 0 28px;
  margin-bottom: 25px;
}
.song-stanza h3 {
  font-size: 11px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  line-height: 1.8;
}
.song-stanza p {
  font-family: DreamSong, 'Songti SC', serif;
  font-weight: 400;
  color: var(--ink);
  text-wrap: pretty;
  letter-spacing: 0.04em;
  font-size: 19px;
  line-height: 2.1;
}
.native-player {
  max-width: 1050px;
  margin: 5px auto 0;
  color: var(--muted);
  font-size: 11px;
  margin-top: 0;
}
.native-player > summary {
  min-height: 36px;
  line-height: 36px;
  font-size: 11px;
}
.native-player audio {
  max-width: 480px;
  width: 100%;
  margin-top: 8px;
}
.lyrics-pane > summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  color: var(--muted);
}
.lyrics-pane[open] > summary::after {
  transform: rotate(225deg);
}

.preview-note {
  margin: 22px 0 12px;
  color: var(--accent, #b8ecd9);
  font-size: 13px;
  line-height: 1.8;
}
.preview-note span {
  margin-left: 14px;
  color: #b9bdd9;
}
.song-unlock {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #c8c0f52e;
}
.song-unlock .primary {
  width: 100%;
  min-height: 48px;
}
.song-unlock > p {
  margin: 12px 0 0;
  color: #b9bdd9;
  font-size: 13px;
  line-height: 1.8;
}
.song-unlock .payment-status:empty {
  display: none;
}
.song-unlock .payment-status {
  color: #f3f0ff;
}
.song-unlock .text-button {
  margin-top: 6px;
}
.welcome-price {
  font-size: 13px !important;
  color: #b9bdd9;
}
.song-unlock button:focus-visible {
  outline: 2px solid var(--accent, #b8ecd9);
  outline-offset: 5px;
}
