:root {
    --nrlp-height: 84px;
}

html.nrlp-active body {
    padding-bottom: var(--nrlp-height) !important;
}

.nrlp-player {
    align-items: center;
    background: var(--nrlp-bg, #030303);
    bottom: 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
    color: var(--nrlp-text, #f7f7f7);
    display: flex;
    font-family: inherit;
    height: var(--nrlp-height);
    left: 0;
    position: fixed;
    right: 0;
    z-index: 999999;
}

.nrlp-player *,
.nrlp-player *::before,
.nrlp-player *::after {
    box-sizing: border-box;
}

.nrlp-inner {
    align-items: center;
    display: flex;
    gap: 16px;
    margin: 0 auto;
    max-width: 1440px;
    padding: 10px 28px;
    width: 100%;
}

.nrlp-toggle {
    align-items: center;
    appearance: none;
    background: var(--nrlp-accent, #ec2323);
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 52px;
    height: 52px;
    justify-content: center;
    padding: 0;
    transition: transform 160ms ease, filter 160ms ease;
    width: 52px;
}

.nrlp-toggle:hover {
    filter: brightness(1.1);
    transform: scale(1.04);
}

.nrlp-toggle:focus-visible {
    outline: 3px solid var(--nrlp-text, #f7f7f7);
    outline-offset: 3px;
}

.nrlp-toggle:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.nrlp-icon {
    fill: currentColor;
    height: 25px;
    width: 25px;
}

.nrlp-icon-play {
    margin-left: 3px;
}

.nrlp-icon-pause,
.nrlp-player.is-playing .nrlp-icon-play {
    display: none;
}

.nrlp-player.is-playing .nrlp-icon-pause {
    display: block;
}

.nrlp-artwork {
    align-items: center;
    background: #171717;
    border-radius: 8px;
    display: flex;
    flex: 0 0 58px;
    height: 58px;
    justify-content: center;
    overflow: hidden;
    width: 58px;
}

.nrlp-artwork img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.nrlp-artwork svg {
    fill: var(--nrlp-accent, #ec2323);
    height: 27px;
    width: 27px;
}

.nrlp-details {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.nrlp-station {
    color: inherit;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nrlp-status {
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    display: flex;
    font-size: 13px;
    gap: 7px;
    margin-top: 4px;
}

.nrlp-status i {
    background: var(--nrlp-accent, #ec2323);
    border-radius: 50%;
    display: block;
    height: 7px;
    width: 7px;
}

.nrlp-player[data-state="playing"] .nrlp-status i {
    animation: nrlp-pulse 1.6s infinite;
}

.nrlp-player[data-state="error"] .nrlp-status i,
.nrlp-player[data-state="blocked"] .nrlp-status i {
    background: #f3b51b;
}

.nrlp-spacer {
    flex: 1 1 auto;
}

.nrlp-volume-wrap {
    align-items: center;
    display: flex;
    gap: 10px;
}

.nrlp-volume-wrap svg {
    fill: currentColor;
    height: 21px;
    opacity: 0.75;
    width: 21px;
}

.nrlp-volume-wrap input[type="range"] {
    --nrlp-volume-level: 80%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    cursor: pointer;
    height: 17px;
    margin: 0;
    outline: none;
    padding: 0;
    width: 120px;
}

.nrlp-volume-wrap input[type="range"]::-webkit-slider-runnable-track {
    background: linear-gradient(
        to right,
        var(--nrlp-accent, #ec2323) 0,
        var(--nrlp-accent, #ec2323) var(--nrlp-volume-level),
        rgba(255, 255, 255, 0.24) var(--nrlp-volume-level),
        rgba(255, 255, 255, 0.24) 100%
    ) !important;
    border: 0 !important;
    border-radius: 999px;
    box-shadow: none !important;
    height: 5px !important;
}

.nrlp-volume-wrap input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: var(--nrlp-text, #f7f7f7);
    border: 3px solid var(--nrlp-accent, #ec2323);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    height: 17px;
    margin-top: -6px;
    width: 17px;
}

.nrlp-volume-wrap input[type="range"]::-moz-range-track {
    background: rgba(255, 255, 255, 0.24);
    border: 0;
    border-radius: 999px;
    height: 5px;
}

.nrlp-volume-wrap input[type="range"]::-moz-range-progress {
    background: var(--nrlp-accent, #ec2323);
    border-radius: 999px;
    height: 5px;
}

.nrlp-volume-wrap input[type="range"]::-moz-range-thumb {
    background: var(--nrlp-text, #f7f7f7);
    border: 3px solid var(--nrlp-accent, #ec2323);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    height: 11px;
    width: 11px;
}

.nrlp-volume-wrap input[type="range"]:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(236, 35, 35, 0.3);
}

.nrlp-volume-wrap input[type="range"]:focus-visible::-moz-range-thumb {
    box-shadow: 0 0 0 4px rgba(236, 35, 35, 0.3);
}

@keyframes nrlp-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(236, 35, 35, 0.55); }
    50% { box-shadow: 0 0 0 5px rgba(236, 35, 35, 0); }
}

@media (max-width: 600px) {
    :root {
        --nrlp-height: 74px;
    }

    .nrlp-inner {
        gap: 11px;
        padding: 8px 14px;
    }

    .nrlp-toggle {
        flex-basis: 46px;
        height: 46px;
        width: 46px;
    }

    .nrlp-artwork {
        flex-basis: 50px;
        height: 50px;
        width: 50px;
    }

    .nrlp-volume-wrap {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nrlp-toggle,
    .nrlp-status i {
        animation: none !important;
        transition: none !important;
    }
}
