.player {
    width: 100%;
    height: calc(100dvh - 200px);
    min-height: 530px;
    display: grid;
    place-content: center;
}
#mbmbox{
    width: 240px;
    height: 240px;
    margin: auto;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    margin-bottom: 20px;
}
#mbmb {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    transform: scale(0.7);
    transition: all 0.6s ease;
    z-index: 100;
}
.controls-m {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    gap: 3px;
    font-size: 14px;
    color: #ff9c9c;
}

.btn-m {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.1s ease;
    overflow: hidden;
    background: none;
    margin: 0 2px;
}

.btn-m:active {
    transform: scale(0.85);
    opacity: 0.8;
}

.btn-m img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* transform: scale(1.05) */
}

.song-display {
    width: 100px;
    height: 18px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.song-text {
    color: white;
    text-shadow: 0 0 2px #000;
    font-size: 13px;
    white-space: nowrap;
    position: absolute;
    animation: scroll 12s linear infinite;
    transform: translateX(100px);

}

@keyframes scroll {
    0% {
        transform: translateX(100px);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* 进度条 */
#songtime {
    width: 300px;
    height: 12px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    transition: all 0.3s ease;
}

#progressBar {
    width: 100%;
    height: 2px;
    background: #ddd;
    border-radius: 2px;
    margin: auto 3px;
}

#progressFill {
    width: 0%;
    height: 100%;
    background: #3179ff;
    border-radius: 2px;
    transition: width 0.1s;
    position: relative;
}

.time-11 {
    display: block;
    min-width: 32px;
    line-height: 12px;
    text-shadow: 0 0 2px #000;
    font-size: 12px;
    color: #fff;
}

/* 歌曲列表 */
#song-list {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 100%;
    max-width: 300px;
    height: 0;
    max-height: 600px;
    z-index: 1000;
    border-radius: 15px 12px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

.song-list-container {
    height: calc(100% - 30px);
    overflow: auto;
    margin: 15px;
    margin-right: 0;
}

.song-item {
    padding: 1px 0;
    color: rgb(255, 255, 255);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
    counter-increment: song-counter;
}

.song-item::before {
    content: counter(song-counter) ".";
    margin-right: 5px;
}

.song-item:hover {
    color: #41a0ff;
}

#song-list-close {
    width: 100%;
    height: 30px;
    padding: 5px 12px;
    cursor: pointer;
    text-align: right;
    color: #c17373;
}

.song-list-container::-webkit-scrollbar-thumb {
    background: rgba(102, 183, 255, 0.5);

}

.song-list-container::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 183, 255, 0.5);
}

@media screen and (max-width: 500px) {
    .song-item {
        padding: 5px 0;
    }

    .song-text {
        font-size: 13px;
    }
}