/* Song hero — fills the right half of the <x-postcard> with song metadata +
   quick-jump buttons to the media sections. Loaded on the /song/{id} page.
   Parallels public/css/album-hero.css; the byline/jump styling is duplicated
   under song-hero-* names — consider merging the two into one generic hero
   stylesheet someday. */

.song-hero-byline {
    font-size: 0.9rem;
    color: rgba(24, 21, 31, 0.75);
    margin-top: 0.25rem;
}
.song-hero-byline a {
    color: inherit;
    text-decoration: underline;
}
.song-hero-span {
    font-size: 0.85rem;
    color: rgba(24, 21, 31, 0.6);
    margin-top: 0.35rem;
}
.song-hero-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.1rem;
}
.song-hero-jump a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(24, 21, 31, 0.2);
    background: rgba(24, 21, 31, 0.04);
    color: #18151f;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.song-hero-jump a:hover {
    background: rgba(24, 21, 31, 0.1);
    border-color: rgba(24, 21, 31, 0.35);
    color: #18151f;
}

/* --- Song information redesign (test page) --------------------------------
   Replaces the old "Song Information" table with type-specific blocks:
   play-count metric cards, first/last "live span" bookends, personnel chips,
   and album cover tiles (the tiles themselves use public/css/cover-tile.css). */

.song-info-label {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: rgba(24, 21, 31, 0.55);
    margin-bottom: 0.45rem;
}
.song-info-label:not(:first-child) {
    margin-top: 1.5rem;
}
.song-info-label__count {
    color: rgba(24, 21, 31, 0.4);
}

/* Play-count metric cards */
.song-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}
.song-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    background: #f1f1f3;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.song-stat:hover {
    background: #e7e7ea;
    text-decoration: none;
}
.song-stat__label {
    font-size: 0.8rem;
    color: rgba(24, 21, 31, 0.6);
}
.song-stat__value {
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1;
    color: #18151f;
}

/* First/last "live span" bookends */
.song-span {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
}
.song-span__card {
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(24, 21, 31, 0.12);
    border-radius: 10px;
    text-decoration: none;
    color: #18151f;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.song-span__card:hover {
    border-color: rgba(24, 21, 31, 0.3);
    background: rgba(24, 21, 31, 0.02);
    color: #18151f;
    text-decoration: none;
}
.song-span__head {
    font-size: 0.75rem;
    color: rgba(24, 21, 31, 0.55);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.song-span__date {
    font-size: 1rem;
    font-weight: 600;
}
.song-span__venue {
    font-size: 0.82rem;
    color: rgba(24, 21, 31, 0.6);
}
.song-span__arrow {
    display: flex;
    align-items: center;
    padding: 0 0.85rem;
    color: rgba(24, 21, 31, 0.35);
    font-size: 1.2rem;
}

/* Guest-personnel chips */
.song-personnel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.song-personnel__chip {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    font-size: 0.83rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #f1f1f3;
    color: #18151f;
}
.song-personnel__role {
    font-size: 0.78rem;
    color: rgba(24, 21, 31, 0.5);
}
.song-personnel-raw {
    font-size: 0.9rem;
    color: rgba(24, 21, 31, 0.8);
}

/* Album cover tiles */
.song-album-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.75rem;
}

/* Watch-live pagination controls — test page only. (The video-facade visuals
   they sit under are global, in site.css.) */
.vlp-pagination {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.vlp-pagination .pagination {
    flex-wrap: wrap;
    gap: 0.15rem;
}

/* "Outtake" badge in the song hero byline — marks a song recorded for an album's
   sessions that never made the final cut (songnumber.is_outtake). Red, mirrors the
   album-edition badge so the two read as the same family of status pills. */
.song-hero-outtake-badge {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    background: #b31217;
    vertical-align: middle;
}
