.player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #fff;
    display: none;
    z-index: 99999;
}

body.playing .player {
    display: block;
}

.player .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 8px 0;
    position: relative;
}

.player .meta-container {
    display: flex;
    align-items: center;
    flex: 1;
}

.player .meta-container .content {
    width: 100%;
}

.player .control-container {
    align-items: center;
    justify-content: center;
}

.player .control-container *, .player .addon-container * {
    display: flex;
    align-content: center;
}

.player .control-container, .player .addon-container {
    flex: 1;
    font-size: 30px;
    color: #888c95;
    display: flex;
}

.player .addon-container {
    justify-content: flex-end;
}

.player .summary {
    display: flex;
    justify-content: center;
    align-items: center;
}

.player .time {
    font-size: 14px;
    color: #888c95;
    margin: 0 10px;
}

.player .time .current-time, .player .divider {
    margin-right: 5px;
}

.player .control {
    margin: 0 10px;
    cursor: pointer;
}

.player .control:hover {
    color: #FF754C;
}

.player .cover {
    overflow: hidden;
    width: 70px;
    margin-right: 10px;
}

.player .cover img {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 5px;
}

.player .song-name {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.player .song-artist {
    font-size: 12px;
    color: #000;
}

.amplitude-play-pause {
    cursor: pointer;
    font-size: 60px;
    color: #FF754C;
}

.player a {
    text-decoration: none;
}

.player a:hover {
    color: #FF754C;
}

.player-close {
    cursor: pointer;
    color: #888c95;
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -20px;
    right: 20px;
    z-index: 99999;
}

.player-close:hover {
    background-color: #fff;
}

.amplitude-paused .icon-pause_circle_outline {
    display: none;
}

.amplitude-playing .icon-play_circle_outline {
    display: none;
}

.amplitude-not-muted .icon-volume_off {
    display: none;
}

.amplitude-muted .icon-volume_up {
    display: none;
}

#progress-container {
    width: 100%;
    position: relative;
    cursor: pointer;
}

#progress-container:hover input[type=range].amplitude-song-slider::-webkit-slider-thumb {
    display: block;
}

#progress-container:hover input[type=range].amplitude-song-slider::-moz-range-thumb {
    visibility: visible;
}

#progress-container progress#song-played-progress {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    z-index: 60;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 0;
    background: #888c95;
    border: none;
}

#progress-container progress#song-played-progress[value]::-webkit-progress-bar {
    background: none;
}

#progress-container progress#song-played-progress[value]::-webkit-progress-value {
    background-color: #FF754C;
}

#progress-container progress#song-buffered-progress {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 0;
    border: none;
    background-color: #ffbaa5;
}

#progress-container progress#song-buffered-progress[value]::-webkit-progress-bar {
    background-color: #ffbaa5;
}

#progress-container progress#song-buffered-progress[value]::-webkit-progress-value {
    background-color: #ffbaa5;
    transition: width .1s ease;
}

#progress-container progress#song-buffered-progress::-moz-progress-bar {
    border-radius: 5px;
    background-color: #78909C;
    height: 5px;
    margin-top: -2px;
}

#progress-container progress::-ms-fill {
    border: none;
}

@-moz-document url-prefix() {
    #progress-container progress#song-buffered-progress {
        top: 9px;
        border: none;
    }
}

@media all and (-ms-high-contrast: none) {
    #progress-container *::-ms-backdrop, #progress-container progress#song-buffered-progress {
        color: #78909C;
        border: none;
    }
}

@supports (-ms-ime-align: auto) {
    #progress-container progress#song-buffered-progress {
        color: #78909C;
        border: none;
    }
}

#progress-container input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    position: absolute;
    z-index: 9999;
    top: 0;
    cursor: pointer;
    background-color: inherit;
}

#progress-container input[type=range]:focus {
    outline: none;
}

#progress-container input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 0;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(13, 13, 13, 0);
    background: red;
    border-radius: 0;
    border: 0 solid #010101;
}

#progress-container input[type=range]::-webkit-slider-thumb {
    box-shadow: 0 0 0 #000000, 0 0 0 #0d0d0d;
    border: 1px solid #FF754C;
    height: 12px;
    width: 12px;
    border-radius: 6px;
    background: #FF754C;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -4px;
}

#progress-container input[type=range]:focus::-webkit-slider-runnable-track {
    background: #FF754C;
}

#progress-container input[type=range]::-moz-range-track {
    width: 100%;
    height: 0;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(13, 13, 13, 0);
    background: #FF754C;
    border-radius: 0;
    border: 0 solid #010101;
}

#progress-container input[type=range]::-moz-range-thumb {
    box-shadow: 0 0 0 #000000, 0 0 0 #0d0d0d;
    border: 1px solid #FF754C;
    height: 15px;
    width: 15px;
    border-radius: 16px;
    background: #FF754C;
    cursor: pointer;
}

#progress-container input[type=range]::-ms-track {
    width: 100%;
    height: 0;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

#progress-container input[type=range]::-ms-fill-lower {
    background: #003d57;
    border: 0 solid #010101;
    border-radius: 0;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(13, 13, 13, 0);
}

#progress-container input[type=range]::-ms-fill-upper {
    background: #FF754C;
    border: 0 solid #010101;
    border-radius: 0;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(13, 13, 13, 0);
}

#progress-container input[type=range]::-ms-thumb {
    box-shadow: 0 0 0 #000000, 0 0 0 #0d0d0d;
    border: 1px solid #FF754C;
    width: 15px;
    border-radius: 16px;
    background: #FF754C;
    cursor: pointer;
    height: 0;
    display: block;
}

input[type=range].amplitude-volume-slider {
    -webkit-appearance: none;
    width: calc(100% - 33px);
}

input[type=range].amplitude-volume-slider:focus {
    outline: none;
}

input[type=range].amplitude-volume-slider::-webkit-slider-runnable-track {
    width: 75%;
    height: 4px;
    cursor: pointer;
    background: #888c95;
}

input[type=range].amplitude-volume-slider::-webkit-slider-thumb {
    height: 10px;
    width: 10px;
    border-radius: 10px;
    background: #ff5722;
    cursor: pointer;
    margin-top: -3px;
    -webkit-appearance: none;
}

input[type=range].amplitude-volume-slider:focus::-webkit-slider-runnable-track {
    background: #ff5722;
}

input[type=range].amplitude-volume-slider::-moz-range-track {
    width: 100%;
    height: 1px;
    cursor: pointer;
    background: #ff5722;
}

input[type=range].amplitude-volume-slider::-moz-range-thumb {
    height: 10px;
    width: 10px;
    border-radius: 10px;
    background: #00A0FF;
    cursor: pointer;
    margin-top: -4px;
}

input[type=range].amplitude-volume-slider::-ms-track {
    width: 100%;
    height: 1px;
    cursor: pointer;
    background: transparent;
    border-color: #FF754C;
    border-width: 15px 0;
    color: transparent;
}

input[type=range].amplitude-volume-slider::-ms-fill-lower {
    background: #ff5722;
    border-radius: 10px;
}

input[type=range].amplitude-volume-slider::-ms-fill-upper {
    background: #ff5722;
    border-radius: 10px;
}

input[type=range].amplitude-volume-slider::-ms-thumb {
    height: 10px;
    width: 10px;
    border-radius: 10px;
    background: #00A0FF;
    cursor: pointer;
    margin-top: 2px;
}

input[type=range].amplitude-volume-slider:focus::-ms-fill-lower {
    background: #ff5722;
}

input[type=range].amplitude-volume-slider:focus::-ms-fill-upper {
    background: #ff5722;
}

input[type=range].amplitude-volume-slider::-ms-tooltip {
    display: none;
}

div.amplitude-wave-form {
    margin-top: -14px;
    height: 0;
    overflow: hidden;
}

div.amplitude-wave-form svg {
    stroke: #00a0ff;
    height: 50px;
    width: 100%;
    stroke-width: 1px;
}

.playing #amplitude-playlist {
    display: flex;
}

#amplitude-playlist {
    overflow-y: scroll;
    background-color: #fff;
    z-index: 9999;
    display: none;
    position: fixed;
    flex-direction: column;
    top: 50px;
    right: 16px;
    width: 340px;
    bottom: 84px;
    max-height: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}

.playlist-song-play {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.playlist-song-play:hover {
    background-color: #f5f5f5;
}

.playlist-song-play.active {
    background-color: #ffece6;
}

.playlist-name {
    font-size: 16px;
    color: #000;;
}

.playlist-duration {
    font-size: 14px;
    color: #888c95;
}

@media screen and (max-width: 768px) {

    .meta-container {
        display: none !important;
    }

    .addon-container .amplitude-volume-slider {
        display: none !important;
    }

    #amplitude-playlist {
        overflow-y: scroll;
        width: 100%;
        right: 0;
    }
}
