/* ======================
   Playlist Popup - Minified
   ====================== */
#playlistTransferPopup {
    position: fixed;
    top: 120px;
    right: 20px;
    width: 300px;
    background: linear-gradient(135deg, #39e14b 0%, #2575fc 100%);
    color: #fff;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: popupSlide 0.5s ease-out;
    font-family: 'Barlow', sans-serif;
    /* 添加初始隐藏状态 */
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    /* 确保动画完成后保持状态 */
    animation-fill-mode: forwards;
}

#playlistTransferPopup.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

@keyframes popupSlide {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.popup-btn {
    display: inline-block;
    background: #fff;
    color: #2575fc;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    margin: 0 auto;
    text-align: center;
    min-width: 180px;
}

.popup-btn:hover {
    background: transparent;
    color: #fff;
}

@media (max-width: 768px) {
    #playlistTransferPopup {
        width: calc(100% - 40px);
        max-width: 300px;
        right: 20px;
        left: 20px;
        margin: 0 auto;
        top: 80px;
    }
}