.c-player {
    background-color: white;
    border-radius: 10px 10px 0 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    height: calc(100% - 0.875rem);
    width: 100%;
    opacity: 0;
    padding: 2rem 1rem;
    pointer-events: none;
    position: fixed;
    transition: all .2s ease;
    transform: translateY(100%);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 101
}

.c-player__img {
    background-size: cover;
    border-radius: 8px;
    box-shadow: 0 15px 40px 0 rgba(0, 17, 195, 0.15);
    display: block;
    flex: 0 0 auto;
    max-width: 18rem;
    width: 100%;
    margin: auto auto 2rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.c-player__img::before {
    content: '';
    display: block;
    padding-bottom: 90%
}

.c-player__wrap {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: center
}

.c-player__play {
    background-color: #4353FF;
    border-radius: 50%;
    height: 2.5rem;
    width: 2.5rem;
    flex-shrink: 0;
    margin: 0 1.5rem;
    order: 1;
    transition: all .2s ease
}

.c-player__play::before {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 14 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m10.643.353c-1.4-.828-2.536-.153-2.536 1.513v12.267c0 1.664 1.136 2.341 2.536 1.514l10.413-6.147c1.4-.828 1.4-2.169 0-3z' fill='%23ffffff' transform='translate(-8.107)'/%3E%3C/svg%3E");
    background-size: 14px 16px;
    background-position: center;
    content: '';
    height: 1.25rem;
    width: 1.25rem;
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(calc(-50% + 2px), -50%)
}

.c-player__play.pause::before {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 14 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff'%3E%3Crect height='18' rx='2.25' width='4.5'/%3E%3Crect height='18' rx='2.25' width='4.5' x='9.5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 14px 18px;
    transform: translate(-50%, -50%)
}

.c-player__next {
    height: 2rem;
    width: 2rem;
    flex-shrink: 0;
    margin: 0 1rem 0 -0.5rem;
    order: 1;
    transition: all .2s ease;
    transform: translateX(0.875rem)
}

.c-player__next::before {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg height='21' viewBox='0 0 24 21' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m15.6238155 12.2491343-12.18709318 6.9640532c-.95903489.54802-2.18074422.2148265-2.72876416-.7442084-.17268308-.3021954-.26351372-.644224-.26351372-.9922779v-13.92810649c0-1.1045695.8954305-2 2-2 .34805388 0 .69008249.09083064.99227788.26351372l12.18709318 6.96405326c.9590349.54801994 1.2922284 1.76972931.7442084 2.72876421-.1771786.3100625-.4341458.5670298-.7442084.7442084zm6.1539623-11.51422699c.9818395 0 1.7777778.79593822 1.7777778 1.77777778v16.00000001c0 .9818395-.7959383 1.7777778-1.7777778 1.7777778-.9818396 0-1.7777778-.7959383-1.7777778-1.7777778v-16.00000001c0-.98183956.7959382-1.77777778 1.7777778-1.77777778z' fill='%23242433' transform='translate(-.25)'/%3E%3C/svg%3E");
    background-size: 14px 16px;
    background-position: center;
    content: '';
    height: 1.25rem;
    width: 1.25rem;
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(calc(-50% + 2px), -50%)
}

.c-player__content {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    flex: 0 1 100%;
    justify-content: center
}

.c-player__title {
    display: block;
    flex: 1 0 100%;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap
}

.c-player__label {
    color: #95989A;
    font-size: 0.875rem;
    margin-bottom: 1rem
}

.c-player__meta {
    color: #2E3133;
    font-weight: 600
}

.c-player__wave {
    flex: 1 1 100%;
    margin-bottom: 0.25rem;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

.c-player__time {
    cursor: default;
    flex: 1 1 100%;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.c-player__add {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 34.549 34.549' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='17.274' cy='17.275' fill='%2338d996' r='17.275'/%3E%3Cpath d='m-8631.709-655.621v-6.291h-6.291v-2.8h6.291v-6.288h2.8v6.292h6.291v2.8h-6.291v6.291z' fill='%23fff' transform='translate(8647.563 681)'/%3E%3C/svg%3E");
    display: block;
    flex-shrink: 0;
    height: 2.5rem;
    width: 2.5rem;
    margin: 0 1.5rem;
    order: 2
}

.c-player__close {
    display: none
}

.c-player.is-active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0)
}

.c-player.is-active .c-player__img {
    display: block
}

@media (max-width: 1023px) {
    .c-player__close {
        background-color: #EDEDED;
        border-radius: 50%;
        display: none;
        height: 1.75rem;
        width: 1.75rem;
        margin-left: auto;
        position: fixed;
        top: 1rem;
        right: 1rem;
        transition: all .2s ease;
        z-index: 1
    }

    .c-player__close::before, .c-player__close::after {
        background-color: #2E3133;
        border-radius: 1rem;
        content: '';
        display: block;
        height: .1875rem;
        width: .875rem;
        left: 50%;
        top: 50%;
        position: absolute;
        transform: translate(-50%, -50%) rotate(45deg);
        transform-origin: center;
        transition: all .2s ease
    }

    .c-player__close::after {
        transform: translate(-50%, -50%) rotate(-45deg)
    }

    .c-player__close:hover {
        background-color: #7D7D80
    }

    .c-player__close:hover::before, .c-player__close:hover::after {
        background-color: white
    }

    .c-player__wave {
        min-height: 4rem;
        width: 100%
    }

    .c-player.is-active:not(.is-minimised) .c-player__close {
        display: block
    }

    .c-player.is-minimised {
        border-radius: 0;
        bottom: 0;
        left: 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        flex-wrap: nowrap;
        height: calc(4rem + env(safe-area-inset-bottom));
        width: 100%;
        padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom))
    }

    .c-player.is-minimised .c-player__img, .c-player.is-minimised .c-player__wave,
    .c-player.is-minimised .c-player__time, .c-player.is-minimised .c-player__meta,
    .c-player.is-minimised .c-player__label {
        left: -99999px;
        position: absolute
    }

    .c-player.is-minimised .c-player__play {
        margin-left: 0;
        margin-right: 0;
        position: absolute;
        left: 0
    }

    .c-player.is-minimised .c-player__wrap {
        flex: 0 1 100%;
        flex-wrap: nowrap;
        justify-content: space-between
    }

    .c-player.is-minimised .c-player__content {
        flex: 0 1 100%;
        justify-content: flex-start;
        margin-left: 3.25rem
    }

    .c-player.is-minimised .c-player__title {
        margin-bottom: 0;
        max-width: 80%;
        text-align: left
    }

    .c-player.is-minimised .c-player__add {
        margin-left: 0;
        margin-right: 0
    }

    .c-player.is-minimised .c-player__next {
        order: 0;
        transform: translateX(3.5rem)
    }
}

@media (min-width: 1024px) {
    .c-player {
        align-items: center;
        border-radius: 14px;
        box-shadow: 0 15px 40px 0 rgba(0, 17, 195, 0.2);
        bottom: 0.75rem;
        left: 0.75rem;
        flex-wrap: nowrap;
        height: auto;
        width: calc(100% - 1.5rem);
        padding: 0.75rem 1rem
    }

    .c-player__img {
        border-radius: 6px;
        height: 4rem;
        width: 4rem;
        margin: 0 1.5rem 0 0
    }

    .c-player__wrap {
        flex-wrap: nowrap;
        justify-content: initial
    }

    .c-player__content {
        flex: 0 1 auto;
        justify-content: initial;
        margin-right: 1rem
    }

    .c-player__next {
        order: 0;
        transform: translateX(0)
    }

    .c-player__title {
        font-size: 1.125rem;
        margin-bottom: 1rem;
        margin-bottom: 0;
        min-width: 4rem;
        padding-right: 0.5rem;
        text-align: left;
        width: 0
    }

    .c-player__label {
        font-size: 1rem;
        margin-bottom: 0
    }

    .c-player__wave {
        flex: 1 1 auto;
        margin-bottom: 0;
        margin-right: 1rem
    }

    .c-player__wave::before {
        background-color: #E6E8FF;
        content: '';
        height: 2px;
        width: calc(100% - 0.375rem);
        left: 0;
        top: 50%;
        opacity: 0.5;
        position: absolute;
        transform: translateY(-50%)
    }

    .c-player__time {
        flex: 0 1 auto;
        margin-bottom: 0;
        margin-right: 2rem;
        text-align: left
    }

    .c-player__play {
        margin: 0 1.5rem 0 0;
        order: initial
    }

    .c-player__add {
        margin: 0 1.5rem 0 0;
        order: initial
    }
}

