html, body {
    height: 100%;
    margin: 0;
}

#music-box {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 430px;
    height: 600px;
    margin-top: -250px;
    margin-left: -215px;
    background-color: #dddddd;
    border-radius: 15px;
}

#music-player {
    position: relative;
    height: 100px;
    z-index: 3;
}

#player-track {
    position: absolute;
    top: 0;
    right: 15px;
    left: 15px;
    padding: 13px 17px 13px 163px;
    background-color: #dddddd;
    border-radius: 15px 15px 0 0;
    /**信息面板渐变速度**/
    transition: 0.5s ease top;
    z-index: 1;
}

#player-track.active {
    top: -100px;
}

#album-name {
    color: #555555;
    font-size: 17px;
    height: 23px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
}

#track-name {
    color: #555555;
    font-size: 13px;
    height: 17px;
    margin: 2px 0 13px 0;
    white-space: nowrap;
    overflow: hidden;
}

#track-time {
    height: 12px;
    margin-bottom: 3px;
    overflow: hidden;
}

#current-time {
    float: left;
}

#track-length {
    float: right;
}

#current-time,
#track-length {
    color: transparent;
    font-size: 11px;
    background-color: #eeeeee;
    border-radius: 10px;
}

#track-time.active #current-time,
#track-time.active #track-length {
    color: #555555;
    background-color: transparent;
}

#s-area,
#seek-bar {
    position: relative;
    height: 4px;
    border-radius: 4px;
}

#s-area {
    background-color: #eeeeee;
    cursor: pointer;
}

#ins-time {
    position: absolute;
    top: 4px;
    color: #555555;
    font-size: 12px;
    white-space: pre;
    border-radius: 4px;
    display: none;
    z-index: 2;
}

#s-hover {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    opacity: 0.2;
    z-index: 2;
}

#ins-time,
#s-hover {
    width: 24px;
    margin-left: -12px;
}

#seek-bar {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    background-color: #cccccc;
    /**时间轴渐变速度**/
    transition: 0.2s ease width;
    z-index: 1;
}

#player-content {
    position: relative;
    height: 100%;
    background-color: #cccccc;
    border-radius: 15px;
    z-index: 2;
}

#album-art {
    position: absolute;
    top: -50px;
    width: 120px;
    height: 120px;
    margin-left: 40px;
    -webkit-transform: rotateZ(0);
    transform: rotateZ(0);
    /**图片面板渐变速度**/
    transition: 0.5s ease all;
    border-radius: 50%;
    overflow: hidden;
}

#album-art.active {
    top: -70px;
}

#album-art img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#album-art.active img.active {
    z-index: 1;
    /**图片内容旋转速度**/
    -webkit-animation: rotateAlbumArt 10s linear 0s infinite forwards;
    animation: rotateAlbumArt 10s linear 0s infinite forwards;
}

@-webkit-keyframes rotateAlbumArt {
    0% {
        -webkit-transform: rotateZ(0);
        transform: rotateZ(0);
    }

    100% {
        -webkit-transform: rotateZ(360deg);
        transform: rotateZ(360deg);
    }
}

@keyframes rotateAlbumArt {
    0% {
        -webkit-transform: rotateZ(0);
        transform: rotateZ(0);
    }

    100% {
        -webkit-transform: rotateZ(360deg);
        transform: rotateZ(360deg);
    }
}

#buffer-box {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 13px;
    color: #555555;
    font-size: 13px;
    text-align: center;
    font-weight: bold;
    line-height: 1;
    padding: 6px;
    margin: -12px auto 0 auto;
    background-color: rgba(255, 255, 255, 0.19);
    opacity: 0;
    z-index: 2;
}

#album-art img,
#buffer-box {
    /**图片内容渐变速度**/
    transition: 0.2s linear all;
}

#album-art.buffering img {
    opacity: 0.25;
}

#album-art.buffering img.active {
    opacity: 0.8;
    filter: blur(2px);
    -webkit-filter: blur(2px);
}

#album-art.buffering #buffer-box {
    opacity: 1;
}

#player-controls {
    width: 250px;
    height: 100%;
    margin: 0 5px 0 140px;
    float: right;
    overflow: hidden;
}

.control {
    width: 33%;
    float: left;
    padding: 12px 0;
}

.button {
    width: 26px;
    height: 26px;
    padding: 25px;
    border-radius: 6px;
    cursor: pointer;
}

.button i {
    display: block;
    color: #eeeeee;
    font-size: 26px;
    text-align: center;
    line-height: 1;
}

.button,
.button i {
    /**操作按钮渐变速度**/
    transition: 0.2s ease all;
}

.button:hover {
    background-color: #dddddd;
}

#music-list {
    width: 100%;
    height: 500px;
    font-size: 0;
    overflow-y: auto;
}

#music-list::-webkit-scrollbar {
    display: none;
}

#music-list .music-name {
    display: inline-block;
    width: 400px;
    margin: 5px 15px;
    color: #555555;
    font-size: 19px;
    line-height: 26px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}

#music-list .music-name.active {
    background-color: #cccccc;
}

#s-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 1px !important;
    height: 1px !important;
}
