/* ========================================
   PLAYLIST PAGE CSS
   ======================================== */

.playlist-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.playlist-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.playlist-frame-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.playlist-video {
    position: absolute;
    z-index: 5;
    overflow: hidden;
}

.playlist-video iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.playlist-nav {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 20;
    pointer-events: auto;
    align-items: flex-end;
}

.playlist-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #c6201e;
    border: 2px dashed #fff;
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-pixel);
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
    min-width: 160px;
}

.playlist-nav-item:hover {
    background: #e9190d;
}

.playlist-nav-icon {
    font-size: 1rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .playlist-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .playlist-nav-item {
        padding: 6px 14px;
        font-size: 0.8rem;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .playlist-nav {
        gap: 6px;
    }

    .playlist-nav-item {
        min-width: 90px;
        font-size: 0.7rem;
        padding: 5px 10px;
    }
}
