.lineup-profile .lineup-media {
    margin-block: 1.25rem;
    padding: clamp(1rem, 2.5vw, 2rem);
    border: 1px solid #d9c5df;
    border-radius: 1.25rem;
    background: #efe6f2;
}

.lineup-profile .lineup-media h2 { margin: 0 0 1rem; }
.lineup-media .lineup-videos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
    gap: clamp(.85rem, 1.5vw, 1.3rem);
}

.lineup-media .lineup-video {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border-color: #dfcfe4;
    border-radius: .85rem;
    background: #fffdf8;
    box-shadow: 0 4px 12px #2b19370e;
}

.lineup-video__frame { aspect-ratio: 16 / 9; background: #251630; }
.lineup-media .lineup-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
}

.lineup-video__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
    padding: .85rem 1rem 1rem;
}

.lineup-video__body h3 { margin: 0; font-size: 1.04rem; line-height: 1.35; }
.lineup-media .lineup-video__body a { margin: auto 0 0; font-size: .88rem; }
.lineup-video:target { outline: 2px solid #743e83; outline-offset: 3px; }

.lineup-records {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: 1rem;
    margin-block: 1.5rem;
    align-items: start;
}

.lineup-records__card {
    min-width: 0;
    padding: clamp(1rem, 2.25vw, 1.6rem);
    border: 1px solid #e5d8cc;
    border-top: 4px solid #c4a4d0;
    border-radius: 1rem;
    background: #fffdf8;
    box-shadow: 0 5px 16px #2b19370b;
}

.lineup-records__card[id="lineup-discography"] { border-top-color: #ffbe1b; }
.lineup-records__card h2 { margin: 0 0 .6rem; color: #2b1937; font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--display-font); }
.lineup-records__card ul { list-style: none; padding: 0; margin: 0; }
.lineup-records__card li { display: flex; align-items: center; gap: .65rem; padding: .65rem 0; }
.lineup-records__card li + li { border-top: 1px solid #ecdfd3; }
.lineup-records__icon { display: grid; place-items: center; width: 2rem; height: 2rem; flex: 0 0 2rem; border-radius: .55rem; color: #673779; background: #efe3f2; }
#lineup-discography .lineup-records__icon { color: #694d05; background: #fff1c8; }

.lineup-profile--teacher .lineup-media .lineup-videos {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
    max-width: 51rem;
}

.lineup-profile--teacher .lineup-media .lineup-video {
    width: 100%;
    max-width: 17rem;
}

.lineup-profile--teacher .sc-profile-photos .lineup-video-gallery {
    grid-template: auto / repeat(3, minmax(0, 1fr));
    width: min(100%, 32rem);
    height: auto;
}

.lineup-profile--teacher .sc-profile-photos .lineup-video-gallery a {
    grid-area: auto;
    aspect-ratio: 16 / 9;
}

.lineup-profile--teacher .lineup-video-play { width: 2rem; height: 2rem; font-size: .8rem; }

.lineup-profile--teacher .sc-profile-photos .lineup-video-gallery--mixed {
    grid-template: repeat(2, minmax(0, 1fr)) / minmax(0, 1.55fr) minmax(0, 1fr);
    height: clamp(9rem, 16vw, 15rem);
}

.lineup-profile--teacher .sc-profile-photos .lineup-video-gallery--mixed a {
    aspect-ratio: auto;
}

.lineup-profile--teacher .sc-profile-photos .lineup-video-gallery--mixed .lineup-video-gallery__photo {
    grid-row: span 2;
}

@media (max-width: 600px) {
    .lineup-profile--teacher .sc-profile-photos .lineup-video-gallery--mixed {
        height: clamp(10rem, 42vw, 13rem);
    }
}

.lineup-sidebar { min-width: 0; }
.lineup-sidebar .sc-suggest--sidebar {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: .8rem;
    padding: 1.2rem;
    margin-top: 1.25rem;
}
.lineup-sidebar .sc-suggest--sidebar h2 {
    margin: 0;
    color: inherit;
    font: 700 clamp(1.5rem, 2vw, 1.9rem)/1.08 var(--display-font);
}
.lineup-sidebar .sc-suggest--sidebar .sc-suggest-art {
    height: clamp(6rem, 13vw, 9rem);
    object-position: center;
}
