.peet-youtube-playlist {
    box-sizing: border-box;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(18px, 3vw, 30px);
    color: #f7ffff;
    background: radial-gradient(circle at 50% 0, rgba(18, 67, 59, .48), transparent 48%), #030908;
    border: 1px solid rgba(37, 242, 194, .42);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(37, 242, 194, .14), inset 0 0 30px rgba(0, 0, 0, .5);
    overflow: hidden;
}

.peet-youtube-playlist[style] {
    min-height: calc(var(--peet-playlist-height) + 150px);
}

.peet-youtube-playlist-header {
    margin: 0 0 18px;
    text-align: center;
}

.peet-youtube-playlist-header h2 {
    margin: 0;
    color: #dfff35;
    font: 900 clamp(25px, 4vw, 42px)/1.05 system-ui, sans-serif;
    letter-spacing: .035em;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(223, 255, 53, .35);
}

.peet-youtube-playlist-header p {
    margin: 8px 0 0;
    color: #b8d7d1;
    font: 600 clamp(14px, 2vw, 17px)/1.4 system-ui, sans-serif;
}

.peet-youtube-playlist-player {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: var(--peet-playlist-height, auto);
    min-height: 280px;
    overflow: hidden;
    background: #000;
    border: 2px solid #25f2c2;
    border-radius: 14px;
    box-shadow: 0 0 24px rgba(37, 242, 194, .24);
}

.peet-youtube-playlist-player iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.peet-youtube-playlist-tip {
    margin: 12px 0 0;
    color: #7fb8ad;
    font: 600 12px/1.35 system-ui, sans-serif;
    text-align: center;
}

.peet-youtube-playlist-setup {
    padding: 16px;
    color: #fff;
    background: #301f00;
    border: 1px solid #dfff35;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .peet-youtube-playlist { padding: 12px; border-radius: 14px; }
    .peet-youtube-playlist-player { min-height: 250px; border-radius: 10px; }
    .peet-youtube-playlist[style] .peet-youtube-playlist-player { height: min(var(--peet-playlist-height), 75vh); }
    .peet-youtube-playlist[style] { min-height: calc(min(var(--peet-playlist-height), 75vh) + 135px); }
}
