.catalog-hero.home-hero { min-height: clamp(245px, 30vw, 350px); }
.home-hero p { max-width: 44ch; }

.library-heading {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0 12px; margin-bottom: 10px;
}
.library-heading a {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px;
  color: var(--green); font-size: 14px; font-weight: 600; text-decoration: none;
}
.library-heading a:hover { text-decoration: underline; }
.library-heading .icon-arrow-right { font-size: 12px; }
.popular-tracks, .genre-tiles, .featured-artists { margin: 0; padding: 0; list-style: none; }
.popular-tracks {
  overflow: hidden; background: #fffef9; border: 1px solid var(--line); border-radius: 12px;
}
.popular-tracks li + li { border-top: 1px solid var(--line); }
.popular-track {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 11px; min-height: 58px; padding: 7px 13px 7px 8px;
  color: var(--ink); text-decoration: none;
}
.popular-track img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.track-credit { display: grid; line-height: 1.3; gap: 2px; overflow-wrap: anywhere; }
.track-credit strong { font-size: 16px; font-weight: 600; }
.track-credit small { color: var(--muted); font-size: 13px; }
.popular-track .icon-chevron-right { color: var(--green); font-size: 12px; }
.popular-track:hover, .featured-artists a:hover { background: #eef1e7; color: var(--ink); }
.popular-track:focus-visible { outline-offset: -3px; }

.genre-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.genre-tiles a {
  position: relative; isolation: isolate; display: flex; align-items: flex-end; height: 100%;
  min-height: 94px; padding: 13px; border-radius: 10px; overflow: hidden; background: #193a32;
  text-decoration: none;
}
.genre-tiles a::before {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: linear-gradient(0deg, #102d29ef, #102d2966 60%, #102d292b);
}
.genre-tiles img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.genre-tiles strong { color: #fffdf0; font: 600 clamp(21px, 2.4vw, 29px)/1.05 Georgia, serif; }
.genre-tiles a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.featured-artists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.featured-artists a {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px 13px; height: 100%; padding: 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fffef9;
  color: var(--ink); font-size: 16px; line-height: 1.25; text-decoration: none;
}
.featured-artists img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.featured-artists strong { flex: 1 1 82px; }

.search-suggestions { max-width: 740px; }
.song-sheet:has(.search-field input:not(:placeholder-shown)) .search-suggestions,
#song-results:not([data-query=""]) + .search-suggestions { display: none; }

@media (min-width: 760px) {
  .home-library { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); }
  .home-library > section { display: flex; flex-direction: column; min-width: 0; }
  .genre-tiles { flex: 1; }
  .genre-tiles a { padding: 18px; }
  .featured-artists { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
