body {
    font-family: 'Microsoft YaHei', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: #333;
}

.music-player {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 350px;
}

.cover-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-info {
    margin-bottom: 1.5rem;
}

#title {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

#artist {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.progress {
    width: 100%;
    margin-bottom: 1.5rem;
    accent-color: #6e8efb; /* 给进度条上色 */
}

.controls {
    margin-bottom: 1.5rem;
}

.controls button {
    font-size: 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    margin: 0 10px;
    padding: 10px;
    border-radius: 50%;
    background-color: #6e8efb;
    color: white;
}

.volume-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

#volume {
    accent-color: #a777e3;
}

.playlist {
    text-align: left;
}

.playlist ul {
    list-style: none;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
}

.playlist li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.playlist li:hover {
    background-color: #f0f0f0;
    border-radius: 5px;
}