#beat-discovery .discovery-current-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}
#beat-discovery [data-clear-selection] {
  min-width: 44px;
  min-height: 44px;
  font-size: 1.5rem;
  line-height: 1;
}
#beat-discovery [data-clear-selection][hidden] { display: none; }
#beat-discovery .discovery-result.is-current {
  outline: 2px solid var(--theme-accent, #2f5e62);
  outline-offset: -2px;
}
@media (max-width: 760px) {
  #beat-discovery .discovery-beatstars { height: clamp(320px, 56svh, 480px); }
  #beat-discovery .discovery-result.is-current [data-play] { min-height: 44px; }
}

#beat-discovery .discovery-track-picker {
  display: grid;
  gap: 4px;
  margin-block: 4px 10px;
  font-size: .875rem;
}
#beat-discovery [data-player-track] {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding-inline: 10px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: var(--theme-paper, #171717);
  color: var(--theme-text, #fff);
  font: inherit;
  font-size: max(16px, 1rem);
}

@media (max-width: 980px) {
  html[data-brand] body.catalog-page.experience > .site-header .brand > span {
    display: inline !important;
    min-width: 0;
    font-size: clamp(10px, 3.2vw, 13px);
    line-height: 1.15;
    color: inherit;
  }
}

html[data-brand] body.experience #beat-discovery .discovery-layout {
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
}
html[data-brand] body.experience #beat-discovery .discovery-player {
  background: var(--theme-paper);
  color: var(--theme-text);
  border-color: var(--theme-input-line);
}
#beat-discovery .discovery-player img[data-player-cover] {
  display: block;
  float: none;
  width: 100%;
  height: auto;
  margin: 0 0 16px;
  object-fit: cover;
}
#beat-discovery [data-player-audio] { width: 100%; display: block; }
#beat-discovery [data-player-audio],
#beat-discovery .cover-player-links { margin-top: 12px; }
#beat-discovery [data-current-meta] { white-space: normal; }
#beat-discovery .cover-player-links { display: flex; flex-wrap: wrap; gap: 8px; }
#beat-discovery .cover-player-links a {
  color: var(--theme-text);
  border: 1px solid var(--theme-input-line);
  border-radius: 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
}
@media (max-width: 1000px) {
  html[data-brand] body.experience #beat-discovery .discovery-layout { grid-template-columns: minmax(0, 1fr); }
}

/* Let the large cover and the whole track list move with the document. */
html[data-brand] body.experience #beat-discovery .discovery-player {
  position: relative;
  top: auto;
  align-self: start;
  z-index: auto;
}
#beat-discovery .discovery-results {
  max-height: none;
  overflow: visible;
}
#catalog-after-tracks { scroll-margin-top: 120px; }
#beat-discovery .catalog-skip-tracks {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--theme-text);
  text-underline-offset: .2em;
}
