/* ===== 音乐列表页 ===== */

.playlist-main {
    position: relative;
    z-index: 10;
    max-width: 860px;
    margin: 0 auto;
    padding: 130px 60px 100px;
}

.playlist-main h1 {
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 6px;
    text-align: center;
    margin-bottom: 12px;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.playlist-main .subtitle {
    text-align: center;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 2px;
    margin-bottom: 50px;
}

/* 歌曲列表 */
.playlist-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.song-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 14px 20px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
    cursor: pointer;
}

.song-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 204, 0, 0.6);
    background: rgba(255, 255, 255, 0.12);
}

.song-cover {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
}

.song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.song-info {
    flex: 1;
    min-width: 0;
}

.song-title {
    font-size: 16px;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-artist {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 播放图标（默认歌 + 本地歌通用） */
.song-play-icon {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    flex-shrink: 0;
    transition: color 0.3s;
}

/* 鼠标直接碰到播放图标才变黄 */
.song-play-icon:hover {
    color: #ffcc00;
}

/* 本地歌的播放图标额外加个右边距 */
.local-song .song-play-icon {
    margin-right: 6px;
}

/* 删除按钮 */
.song-delete {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    cursor: pointer;
    padding: 6px;
    transition: color 0.3s;
    flex-shrink: 0;
}

/* 鼠标直接碰到删除图标才变粉 */
.song-delete:hover {
    color: #ff6f9c;
}

/* 本地歌的边框颜色 */
.local-song {
    border-color: rgba(255, 204, 0, 0.3);
}

/* 空状态 */
.playlist-empty {
    text-align: center;
    padding: 80px 20px;
    color: #ffcc00;
    font-size: 22px;
    letter-spacing: 2px;
    text-shadow: 0 0 12px rgba(255, 204, 0, 0.4);
}

/* 上传按钮：右下角悬浮 */
.upload-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 204, 0, 0.9);
    color: #0a0a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(255, 204, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 100;
}

.upload-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 24px rgba(255, 204, 0, 0.6);
}

/* 手机适配 */
@media (max-width: 1024px) {
    .playlist-main {
        padding: 100px 20px 60px;
    }

    .playlist-main h1 {
        font-size: 28px;
        letter-spacing: 4px;
    }

    .playlist-main .subtitle {
        margin-bottom: 36px;
    }

    .song-item {
        padding: 12px 16px;
    }

    .song-cover {
        width: 48px;
        height: 48px;
    }

    .song-title {
        font-size: 15px;
    }

    .upload-btn {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}