body {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  height: 100vh;
  height: 100dvh;
  padding: 24px;
  box-sizing: border-box;
  background: #000000;
  font-family: sans-serif;
  overflow: hidden;
}

main {
  width: min(90vw, 640px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
  margin: 0 auto;
  flex: 1 1 auto;
}

img {
  max-width: min(90vw, 640px);
  width: 100%;
  display: block;
  margin: 0 auto;
}

img {
  height: auto;
}

.embed-container {
  width: min(90vw, 640px, 43vh);
  aspect-ratio: 1 / 1;
  position: relative;
  display: block;
  margin: 0 auto;
}

.embed-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.playlist-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 56px;
  height: 56px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: rgb(0 0 0 / 44%);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: background 160ms ease, transform 160ms ease;
}

.playlist-button:hover,
.playlist-button:focus-visible {
  background: rgb(0 0 0 / 68%);
  transform: translateY(-50%) scale(1.04);
}

.playlist-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.playlist-button:disabled {
  cursor: default;
  opacity: 0.34;
  transform: translateY(-50%);
}

.playlist-button:disabled:hover {
  background: rgb(0 0 0 / 44%);
  transform: translateY(-50%);
}

.playlist-button img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  pointer-events: none;
  display: block;
  margin: 0;
}

.playlist-button.previous {
  left: 16px;
}

.playlist-button.previous img {
  transform: translateX(8px);
}

.playlist-button.next {
  right: 16px;
}

.playlist-button.next img {
  transform: translateX(4px);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 92px;
  height: 92px;
  padding: 18px;
  border: 0;
  border-radius: 50%;
  background: rgb(0 0 0 / 58%);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  transition: background 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.play-button:hover,
.play-button:focus-visible {
  background: rgb(0 0 0 / 76%);
  transform: translate(-50%, -50%) scale(1.04);
}

.play-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.play-button img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  pointer-events: none;
  transform: translateX(4px);
}

.play-button-icon {
  margin-right: 5px;
}

.play-button.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.artist-intro {
  color: #ffffff;
  text-align: center;
}

.artist-intro h1 {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0;
}

.artist-intro p {
  margin: 8px auto 0;
  max-width: 58ch;
  color: rgb(255 255 255 / 72%);
  font-size: 0.95rem;
  line-height: 1.5;
}

.track-list {
  margin-top: 14px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 14%);
  color: #ffffff;
  min-height: 0;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-color: rgb(255 255 255 / 28%) transparent;
}

.track-list h2 {
  margin: 0 0 12px;
  color: rgb(255 255 255 / 52%);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.track-list ol {
  columns: 2;
  column-gap: 28px;
  margin: 0;
  padding-left: 1.35rem;
}

.track-list li {
  break-inside: avoid;
  margin: 0 0 8px;
  color: rgb(255 255 255 / 36%);
  font-size: 0.92rem;
  line-height: 1.35;
}

.track-title {
  color: rgb(255 255 255 / 68%);
  text-decoration: none;
}

.track-title:hover,
.track-title:focus-visible,
.track-title.is-active {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.track-row {
  display: inline;
}

.track-services {
  display: inline-flex;
  gap: 7px;
  margin-left: 9px;
  vertical-align: 0.03em;
}

.track-service {
  color: rgb(255 255 255 / 44%);
  font-size: 0.72rem;
  line-height: 1.2;
  text-decoration: none;
}

.track-service:hover,
.track-service:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-links {
  width: min(90%, 600px);
  margin: 22px auto 0;
  flex: 0 0 auto;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.social-links a {
  min-width: 0;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-links img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.social-links .soundcloud-logo {
  height: 200%;
}

.social-links .ungap-logo {
  height: 100%;
}

@media (max-width: 520px) {
  body {
    padding: 18px;
    padding-bottom: 18px;
  }

  main {
    gap: 14px;
  }

  .embed-container {
    width: min(90vw, 640px, 38vh);
  }

  .playlist-button {
    width: 48px;
    height: 48px;
    padding: 6px;
  }

  .playlist-button.previous {
    left: 10px;
  }

  .playlist-button.next {
    right: 10px;
  }

  .play-button {
    width: 78px;
    height: 78px;
    padding: 14px;
  }

  .play-button img {
    width: 50px;
    height: 50px;
  }

  .track-list ol {
    columns: 1;
  }
}

@media (hover: none) and (pointer: coarse) {
  .embed-container {
    width: min(90vw, 640px, 36dvh);
  }

  .artist-intro p {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .social-links {
    margin-top: 16px;
    margin-bottom: 0;
  }
}
