/* 清空默认边距 */
* {
    margin: 0;
    padding: 0;
}

/* 音乐播放器主体 */
.play_box {
    width: 500px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    border-radius: 5px;
}

.play_box>.play_bc {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    overflow: hidden;
    border-radius: 5px;
}

.play_box>.play_bc>img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(50px);
}

/* 
    音乐播放器的音乐图像显示
    开始播放和暂停播放
*/
.play_box>.state {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.play_box>.state>.head {
    width: 100%;
    opacity: 0.7;
}

/* 播放和暂停 */
.play_box>.state>.state_set {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: 20px;
}

/* 进度条组件和切换曲目组件 */
.play_box>.progress {
    width: 400px;
    height: 50px;
    display: flex;
    position: relative;
}

.play_box>.progress>.last,
.next {
    width: 30px;
    height: 50px;
    font-size: 20px;
    line-height: 50px;
    text-align: center;
}

.play_box>.progress>.line {
    width: 330px;
    height: 6px;
    background: white;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    box-shadow: 0 0 5px white;
    border-radius: 10px;
    transition: all .3s;
}

.play_box>.progress>.line>.pros {
    width: 0px;
    height: 6px;
    background: linear-gradient(to left, #fff, #87CEEB);
    border-radius: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 330px;
}

.play_box>.progress>.line>.pros>.Anchor {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: 50%;
    right: -7.5px;
    transform: translateY(-50%);
}

/* 时间进度显示 */
.play_box>.time_show {
    width: 100px;
    height: 20px;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    font-size: 10px;
    color: white;
    text-shadow: 0 0 10px white;
    text-align: center;
}

/* 音乐工具设置 */
.play_box>.tool {
    width: 50px;
    height: 50px;
}

.play_box>.tool>div {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 20px;
    color: white;
    text-shadow: 0 0 10px white;
    position: relative;
}

.play_box>.tool>.volume>.volume_range {
    position: absolute;
    top: 0;
    left: 7.5px;
    width: 25px;
    height: 0px;
    background: white;
    transform: rotate(0deg);
    z-index: 1000;
    padding: 0px;
    border-radius: 20px;
    box-shadow:
        0 0 10px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(0, 0, 0, 0.1) inset;
    overflow: hidden;
    transition: all .3s;
}

.play_box>.tool>.volume>.volume_range>.range {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    height: 25px;
    width: 100px;
}

/* 音乐信息显示 */
.play_box>.music_info {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    font-size: 10px;
    text-align: center;
    line-height: 20px;
    color: white;
    text-shadow: 0 0 10px white;
}