/* Media legend-as-filter bar (shared: tour, city, venue, guest, today-in-history).
   The <x-media-filter> legend chips double as toggle filters over a table of show
   rows. Chip positions mirror the row: Setlist chip on the left (its icon sits by
   the date), recording/media chips on the right (Media column). space-between splits
   the two groups; on narrow screens they wrap and left-align, which is fine. */
.media-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.6rem;
}
.media-filter__group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.media-filter__label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-right: 0.1rem;
}
.media-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    line-height: 1;
    padding: 0.32rem 0.65rem;
    border: 1px solid #ced4da;
    border-radius: 999px;
    background: #fff;
    color: #555;
    cursor: pointer;
    transition: background-color .12s, border-color .12s, color .12s;
}
.media-chip i {
    font-size: 0.9rem;
    line-height: 1;
}
.media-chip--setlist i {
    color: #c8102e;
}
.media-chip--attended i {
    color: #1d9e75;
}
.media-chip:hover {
    border-color: #adb5bd;
    background: #f1f3f5;
}
.media-chip.is-active {
    background: #c8102e;
    border-color: #c8102e;
    color: #fff;
}
.media-chip.is-active i {
    color: #fff;
}
/* Attended chip goes green (the "I was at this show" colour), not the media red. */
.media-chip--attended.is-active {
    background: #1d9e75;
    border-color: #1d9e75;
}
/* Rows/tbody groups the filter has excluded. !important beats the .table-cards
   mobile rule that turns rows into display:block cards. */
.media-hidden {
    display: none !important;
}
.media-filter-empty {
    margin: 1rem 0 0;
    padding: 1rem;
    text-align: center;
    color: #6c757d;
    border: 1px dashed #ced4da;
    border-radius: 8px;
}
