/* Shared finish layer, independent of the future WordPress editor/plugin. */
.cover-unavailable {
  object-fit: contain !important;
  padding: 20%;
  background: var(--wash);
}
.download-panel {
  flex-wrap: wrap;
  gap: 16px;
}
.download-panel > div:first-child {
  flex: 1 1 240px;
  min-width: 0;
}
.download-panel p {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}
.quality-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-basis: 100%;
}
.quality-options .small-button {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.album-head-actions,
.song-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.album-head-actions > *,
.song-download-actions > * {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.album-card-facts:empty {
  display: none;
}
.feature-description {
  overflow-wrap: anywhere;
}
.track-more-links {
  z-index: 30;
}
.slide-dot {
  position: relative;
}
.slide-dot::before {
  content: '';
  position: absolute;
  inset: -9px;
}
@media (max-width: 800px) {
  .album-head .album-description {
    line-height: 1.65;
  }
  .download-panel {
    padding: 22px 18px;
  }
  .download-panel > .button,
  .download-panel > .small-button {
    flex: 1 1 150px;
  }
  .related-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    padding: 4px 0 16px;
    scroll-snap-type: x mandatory;
  }
  .related-grid > .album-card {
    flex: 0 0 42%;
    min-width: 0;
    scroll-snap-align: start;
  }
  .track-actions .small-button {
    font-size: .875rem;
  }
}
@media (max-width: 560px) {
  .album-head {
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }
  .album-head .album-description,
  .album-head .album-summary,
  .album-head .album-head-actions {
    grid-column: 1 / -1;
  }
  .album-head > div {
    display: contents;
  }
  .album-head > img,
  .album-head > .collection-cover {
    grid-row: 1 / span 3;
    width: 100%;
  }
  .album-head .eyebrow,
  .album-head h1,
  .album-head .album-artist {
    grid-column: 2;
    margin-bottom: 0;
  }
  .album-head h1 {
    font-size: clamp(1.4rem, 6vw, 2rem);
    line-height: 1.25;
  }
  .album-head .album-description {
    margin: 4px 0 0;
  }
  .album-head .album-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
  }
  .album-head .album-head-actions {
    margin-top: 4px;
  }
  .related-grid > .album-card {
    flex-basis: 64%;
  }
  .track-more-links {
    min-width: 160px;
  }
  .quality-options > a {
    flex: 1 1 130px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html,
  .touch-rail {
    scroll-behavior: auto;
  }
}
