#player_tools, .player-container, .player-placeholder {
    display: none;
}

@media (max-width: 767px) {
    .player-offset {
        padding-top: 65px;
    }
}

.radio-player {
    --player-primary: #1787d4;
    --player-secondary: #073d78;
    --player-dark: #061a38;
    --player-accent: #97f33e;
    --player-controls: #1787d4;
    position: relative;
    margin-top: 10px;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(0, 0, 0, .75);
    border-radius: 8px;
    background: radial-gradient( circle at 25% 15%, rgba(255, 255, 255, .10), transparent 42% ), linear-gradient( 135deg, var(--player-primary) 0%, var(--player-secondary) 55%, var(--player-dark) 100% );
    box-shadow: 0 6px 18px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .13);
    font-family: Arial, Helvetica, sans-serif;
}

.radio-player.station-3fm {
    --player-primary: #117fc7;
    --player-secondary: #07549a;
    --player-dark: #061d43;
    --player-accent: #92f43e;
}

.radio-player.station-qmusic {
    --player-primary: #df2643;
    --player-secondary: #a81834;
    --player-dark: #430c1b;
    --player-accent: #ffd300;
}

.radio-player.station-538 {
    --player-primary: #ad00ef;
    --player-secondary: #6715bd;
    --player-dark: #21055b;
    --player-accent: #42f584;
}

.radio-player.station-skyradio {
    --player-primary: #147ed1;
    --player-secondary: #0958a2;
    --player-dark: #052e60;
    --player-accent: #dcff22;
}

.radio-player-watermark {
    position: absolute;
    width: 145px;
    height: 145px;
    right: -30px;
    top: -20px;
    object-fit: contain;
    opacity: .2;
    mask-image: linear-gradient(to left, white, transparent 90%);
    /* filter: grayscale(100%) brightness(230%); */
    filter: grayscale(100%) brightness(100%);
    pointer-events: none;
    z-index: 1;
}

.radio-player-info {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 13px;
    z-index: 2;
}

.player-station-logo {
    position: relative;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, .10);
    box-shadow: 0 5px 12px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
    margin: 0;
}

.player-station-logo img {
    background: #fff;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.radio-player.is-idle .player-station-logo img {
    background: none;
}

.station-content {
    min-width: 0;
    margin-left: 13px;
    flex: 1;
}

.station-status {
    display: inline-block;
    margin-bottom: 3px;
    padding: 2px 7px;
    color: var(--player-accent);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 10px;
    background: rgba(255, 255, 255, .09);
    font-size: 9px;
    font-weight: 700;
    line-height: 13px;
    letter-spacing: .4px;
}

.live-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 4px;
    vertical-align: 1px;
    border-radius: 50%;
    background: var(--player-accent);
    box-shadow: 0 0 5px var(--player-accent);
}

.station-name {
    overflow: hidden;
    margin-bottom: 2px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .35);
}

.station-nowplaying {
    position: relative;
    width: 100%;
    /* max-width: 180px; */
    height: 16px;
    margin-bottom: 6px;
    overflow: hidden;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 16px;
    white-space: nowrap;
}

.nowplaying-track {
    display: inline-block;
    white-space: nowrap;
}

.station-nowplaying.is-overflowing .nowplaying-track {
    animation: nowplaying-scroll var(--scroll-duration, 10s) linear infinite alternate;
    will-change: transform;
}

.radio-player-controls {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px 8px;
    border-top: 1px solid rgba(255, 255, 255, .11);
    background: linear-gradient( to bottom, rgba(5, 30, 62, .92), rgba(2, 15, 33, .98) );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    z-index: 3;
}

.player-playpause {
    position: relative;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 0;
    color: #fff;
    border: 2px solid var(--player-controls);
    border-radius: 50%;
    outline: none;
    background: linear-gradient( #283c52, #111c28 );
    box-shadow: 0 0 8px rgba(0, 0, 0, .35), 0 0 8px var(--player-controls), inset 0 1px 0 rgba(255, 255, 255, .16);
    font-size: 14px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.player-playpause:hover, .player-playpause:focus {
    color: #fff;
    outline: none;
    box-shadow: 0 0 12px var(--player-controls), inset 0 1px 0 rgba(255, 255, 255, .16);
}

.player-playpause:active {
    transform: scale(.94);
}

.player-playpause .glyphicon {
    top: 1px;
    left: 1px;
}

.player-equalizer {
    display: flex;
    width: 25px;
    height: 24px;
    margin: 0 7px;
    align-items: center;
    justify-content: space-between;
}

.player-equalizer span {
    display: block;
    width: 3px;
    border-radius: 3px;
    background: var(--player-accent);
    transform-origin: center;
    box-shadow: 0 0 4px var(--player-accent);
}

.player-equalizer span:nth-child(1) {
    height: 10px;
}

.player-equalizer span:nth-child(2) {
    height: 22px;
}

.player-equalizer span:nth-child(3) {
    height: 14px;
}

.player-equalizer span:nth-child(4) {
    height: 19px;
}

.radio-player.is-playing .player-equalizer span {
    animation: radio-equalizer .7s infinite ease-in-out alternate;
}

.radio-player.is-playing .player-equalizer span:nth-child(2) {
    animation-delay: -.25s;
}

.radio-player.is-playing .player-equalizer span:nth-child(3) {
    animation-delay: -.5s;
}

.radio-player.is-playing .player-equalizer span:nth-child(4) {
    animation-delay: -.35s;
}

@keyframes radio-equalizer {
    from {
        transform: scaleY(.35);
    }

    to {
        transform: scaleY(1);
    }
}

.player-volume {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
}

@media (max-width: 768px) {
    .player-volume {
        display: none;
    }

    .player-rating-container {
        margin-left: auto;
    }

}

.volume-button {
    width: 24px;
    flex: 0 0 24px;
    padding: 0;
    color: rgba(255, 255, 255, .88);
    border: 0;
    outline: none;
    background: transparent;
    font-size: 18px;
    margin-top: 5px;
}

.volume-button:hover, .volume-button:focus {
    color: #fff;
    outline: none;
}

.volume-slider {
    width: 58px;
    height: 4px;
    margin: 0 0 0 2px;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    border-radius: 3px;
    outline: none;
    background: linear-gradient( to right, var(--player-controls) 0%, var(--player-controls) 65%, rgba(255, 255, 255, .16) 65%, rgba(255, 255, 255, .16) 100% );
}

.volume-slider::-webkit-slider-thumb {
    width: 11px;
    height: 11px;
    -webkit-appearance: none;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
    cursor: pointer;
}

.radio-player-actions {
    position: relative;
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, .10);
    background: linear-gradient( to bottom, rgba(10, 32, 57, .97), rgba(4, 18, 35, .99) );
    z-index: 4;
    height: 36px;
}

.player-action {
    position: relative;
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 4px;
    color: rgba(255, 255, 255, .75);
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, .09);
    outline: none;
    background: transparent;
    font-size: 14px;
    line-height: 34px;
    text-align: center;
    text-decoration: none;
    transition: color .15s ease, background .15s ease;
}

.player-action:last-child {
    border-right: 0;
}

.player-action:hover, .player-action:focus {
    color: #fff;
    background: rgba(255, 255, 255, .07);
    outline: none;
    text-decoration: none;
}

.player-action .glyphicon {
    top: 0;
    color: var(--player-controls);
    font-size: 14px;
}

.player-favorite {
    font-family: inherit;
}

.player-favorite.is-favorite {
    color: #fff;
}

.player-favorite .glyphicon {
    color: #ff1a1a;
}

.player-favorite.is-disabled {
    color: rgba(255,255,255,.30);
    cursor: default;
    pointer-events: none;
}

.player-favorite.is-disabled .glyphicon {
    color: rgba(255,255,255,.22);
}

.player-favorite.is-disabled:hover,
.player-favorite.is-disabled:focus {
    color: rgba(255,255,255,.30);
    background: transparent;
}

.radio-player-sticky {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    bottom: auto;
    height: 62px;
    display: none;
    align-items: center;
    padding: 7px 10px;
    color: #fff;
    background: linear-gradient(135deg, #0870bd 0%, #064881 55%, #041e40 100%);
    border-top: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 5px 18px rgba(0,0,0,.75);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
    z-index: 9;
}

.radio-player-sticky.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 767px) {
    .radio-player-sticky {
        display: flex;
    }
}

.sticky-station-logo {
    background: #fff;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .30);
}

.sticky-station-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky-player-main {
    min-width: 0;
    flex: 1;
    margin-left: 9px;
    padding: 0;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    text-align: left;
}

.sticky-station-name {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .35);
}

.sticky-nowplaying {
    position: relative;
    display: block;
    margin-bottom: 6px;
    overflow: hidden;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 16px;
    white-space: nowrap;
}

.sticky-nowplaying-track {
    display: inline-block;
    white-space: nowrap;
}

.sticky-nowplaying.is-overflowing .sticky-nowplaying-track {
    animation: nowplaying-scroll var(--scroll-duration, 10s) linear infinite alternate;
    will-change: transform;
}

@keyframes nowplaying-scroll {
    0%, 15% {
        transform: translateX(0);
    }

    85%, 100% {
        transform: translateX(var(--scroll-distance, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .station-nowplaying.is-overflowing .nowplaying-track,
    .sticky-nowplaying.is-overflowing .sticky-nowplaying-track {
        animation: none;
        transform: none;
    }
}

.sticky-playpause, .sticky-favorite {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 0;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font-size: 17px;
}

.sticky-playpause {
    margin-left: 6px;
    /* border: 2px solid var(--player-accent, #92f43e); */
    border: 2px solid var(--player-controls, #1787d4);
    border-radius: 50%;
    background: rgba(0, 0, 0, .22);
    box-shadow: 0 0 8px rgba(146, 244, 62, .28);
}

.sticky-favorite {
    font-size: 16px;
    color: #ff1a1a;
}

.sticky-favorite.is-favorite {
    color: var(--player-accent, #92f43e);
}

/* =========================================================
   BACKGROUND EQUALIZER GLOW
   ========================================================= */

.player-bg-equalizer {
    position: absolute;

    left: 88px;
    right: 0;
    top: 6px;

    height: 102px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    opacity: 0;

    pointer-events: none;

    z-index: 0;

    /* Hierdoor wordt het echt een glow i.p.v. harde balken */
    filter: blur(7px);
}


/* Equalizer bars */

.player-bg-equalizer span {
    display: block;

    width: 12px;
    height: 45px;

    border-radius: 8px;

    background:
        linear-gradient(
            to top,
            transparent 0%,
            var(--player-accent) 30%,
            rgba(255,255,255,.65) 100%
        );

    opacity: .25;

    transform: scaleY(.35);

    transform-origin: center center;

    box-shadow:
        0 0 16px var(--player-accent),
        0 0 30px var(--player-accent);
}


/* Alleen zichtbaar als stream speelt */

.radio-player.is-playing .player-bg-equalizer {
    opacity: .55;
}


/* Verschillende animaties voor een natuurlijker effect */

.radio-player.is-playing .player-bg-equalizer span:nth-child(1) {
    animation: bgEq1 1.3s ease-in-out infinite alternate;
}

.radio-player.is-playing .player-bg-equalizer span:nth-child(2) {
    animation: bgEq2 .9s ease-in-out infinite alternate;
}

.radio-player.is-playing .player-bg-equalizer span:nth-child(3) {
    animation: bgEq3 1.5s ease-in-out infinite alternate;
}

.radio-player.is-playing .player-bg-equalizer span:nth-child(4) {
    animation: bgEq1 1.05s ease-in-out infinite alternate;
}

.radio-player.is-playing .player-bg-equalizer span:nth-child(5) {
    animation: bgEq2 1.4s ease-in-out infinite alternate;
}

.radio-player.is-playing .player-bg-equalizer span:nth-child(6) {
    animation: bgEq3 .85s ease-in-out infinite alternate;
}

.radio-player.is-playing .player-bg-equalizer span:nth-child(7) {
    animation: bgEq2 1.2s ease-in-out infinite alternate;
}

.radio-player.is-playing .player-bg-equalizer span:nth-child(8) {
    animation: bgEq1 .95s ease-in-out infinite alternate;
}

.radio-player.is-playing .player-bg-equalizer span:nth-child(9) {
    animation: bgEq3 1.35s ease-in-out infinite alternate;
}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes bgEq1 {

    0% {
        transform: scaleY(.25);
        opacity: .15;
    }

    50% {
        transform: scaleY(.75);
        opacity: .35;
    }

    100% {
        transform: scaleY(.45);
        opacity: .22;
    }

}


@keyframes bgEq2 {

    0% {
        transform: scaleY(.55);
        opacity: .22;
    }

    50% {
        transform: scaleY(.30);
        opacity: .15;
    }

    100% {
        transform: scaleY(1);
        opacity: .40;
    }

}


@keyframes bgEq3 {

    0% {
        transform: scaleY(.35);
        opacity: .18;
    }

    50% {
        transform: scaleY(.95);
        opacity: .38;
    }

    100% {
        transform: scaleY(.50);
        opacity: .24;
    }

}

@media (prefers-reduced-motion: reduce) {

    .radio-player.is-playing .player-bg-equalizer span {
        animation: none;
    }

    .radio-player.is-playing .player-bg-equalizer {
        opacity: .30;
    }

}

.sticky-bg-equalizer {
    position: absolute;
    left: 70px;
    right: 85px;
    bottom: 0;
    height: 45px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    opacity: 0;
    filter: blur(7px);
    pointer-events: none;
}

.radio-player-sticky.is-playing .sticky-bg-equalizer {
    opacity: .28;
}

.sticky-bg-equalizer span {
    width: 14px;
    height: 30px;
    border-radius: 8px;
    background: var(--player-accent, #92f43e);
    transform-origin: bottom;
    animation: stickyEq 1.2s ease-in-out infinite alternate;
}

.sticky-bg-equalizer span:nth-child(2) {
    animation-delay: -.4s;
}

.sticky-bg-equalizer span:nth-child(3) {
    animation-delay: -.8s;
}

.sticky-bg-equalizer span:nth-child(4) {
    animation-delay: -.2s;
}

.sticky-bg-equalizer span:nth-child(5) {
    animation-delay: -.65s;
}

.sticky-bg-equalizer span:nth-child(6) {
    animation-delay: -.95s;
}

@keyframes stickyEq {
    from {
        transform: scaleY(.25);
        opacity: .25;
    }

    to {
        transform: scaleY(1);
        opacity: .6;
    }
}

.volume-slider {
    --volume: 65%;

    width: 62px;
    height: 16px;

    margin: 0 0 0 4px;
    padding: 0;

    -webkit-appearance: none;
    appearance: none;

    border: 0;
    outline: 0;
    background: transparent;

    cursor: pointer;
}


/* Chrome / Safari / Edge */

.volume-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;

    border: 0;
    border-radius: 4px;

    background:
        linear-gradient(
            to right,
            var(--player-accent) 0%,
            var(--player-accent) var(--volume),
            rgba(255,255,255,.18) var(--volume),
            rgba(255,255,255,.18) 100%
        );
}


.volume-slider::-webkit-slider-thumb {
    width: 12px;
    height: 12px;

    margin-top: -4px;

    -webkit-appearance: none;
    appearance: none;

    border: 0;
    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 1px 4px rgba(0,0,0,.45);

    cursor: pointer;
}


/* Firefox */

.volume-slider::-moz-range-track {
    width: 100%;
    height: 4px;

    border: 0;
    border-radius: 4px;

    background: rgba(255,255,255,.18);
}


.volume-slider::-moz-range-progress {
    height: 4px;

    border: 0;
    border-radius: 4px;

    background: var(--player-accent);
}


.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;

    border: 0;
    border-radius: 50%;

    background: #fff;

    cursor: pointer;
}

/* Rating */

.player-rating {
    position: relative;
    margin-left: 5px;
    padding-left: 6px;
    border-left: 1px solid rgba(255, 255, 255, .12);
    text-align: center;
}

.rating-summary {
    padding: 0;
    border: 0;
    outline: 0;
    color: inherit;
    background: transparent;
    text-align: center;
    cursor: pointer;
}

.rating-summary:hover, .rating-summary:focus {
    outline: 0;
}

.rating-summary[disabled] {
    cursor: default;
}

.rating-summary[disabled]:hover .reviews, 
.rating-summary[disabled]:focus .reviews {
    color: rgba(255, 255, 255, .58);
}

.rating-stars {
    display: block;
    height: 14px;
    color: #ffd21a;
    font-size: 12px;
    white-space: nowrap;
}

.rating-stars .glyphicon {
    margin-right: -2px;
}

.rating-stars .glyphicon.greyed-out {
    color: rgba(255, 255, 255, .5);
}

.reviews {
    display: block;
    margin-top: 1px;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    line-height: 14px;
    white-space: nowrap;
}

.rating-summary:hover .reviews {
    color: #fff;
}

.rating-popup {
    position: absolute;
    right: -4px;
    bottom: 45px;
    width: 176px;
    min-height: 85px;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(5px) scale(.97);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 7px;
    background: linear-gradient( 145deg, rgba(15, 49, 84, .98), rgba(4, 22, 44, .99) );
    box-shadow: 0 7px 22px rgba(0, 0, 0, .50);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    z-index: 20;
}

.rating-popup:after {
    content: "";
    position: absolute;
    right: 31px;
    bottom: -6px;
    width: 11px;
    height: 11px;
    background: #061b35;
    border-right: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    transform: rotate(45deg);
}

.player-rating.rating-open .rating-popup {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.rating-popup-title {
    color: rgba(255, 255, 255, .80);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.rating-select {
    display: flex;
    justify-content: center;
    gap: 3px;
}

.rating-select button {
    width: 26px;
    height: 28px;
    padding: 0;
    border: 0;
    outline: none;
    color: rgba(255, 255, 255, .22);
    background: transparent;
    font-size: 19px;
    transition: color .12s ease, transform .12s ease, text-shadow .12s ease;
}

.rating-select button:hover, .rating-select button:focus {
    outline: none;
    transform: scale(1.12);
}

.rating-select button.hover, .rating-select button.selected {
    color: #ffd21a;
    text-shadow: 0 0 7px rgba(255, 210, 26, .45);
}

.rating-label {
    height: 14px;
    color: rgba(255, 255, 255, .60);
    font-size: 14px;
    line-height: 16px;
    text-align: center;
}

.rating-success {
    display: none;
    padding: 8px;
    color: rgba(255,255,255,.75);
    text-align: center;
    font-size: 12px;
}

.rating-success .glyphicon {
    display: block;

    margin-bottom: 6px;

    color: var(--player-accent);

    font-size: 22px;

    text-shadow:
        0 0 8px var(--player-accent);
}

.rating-success strong {
    display: block;

    margin-bottom: 2px;

    color: #fff;

    font-size: 12px;
}

/* Idle state */

.radio-player-idle-overlay {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 36px;
    left: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 15px;

    visibility: hidden;
    opacity: 0;

    background:
        linear-gradient(
            135deg,
            rgba(3, 18, 36, .90),
            rgba(4, 30, 58, .94)
        );

    z-index: 3;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}

.radio-player.is-idle .radio-player-idle-overlay {
    visibility: visible;
    opacity: 1;
}

.player-idle-message {
    width: 100%;
    color: #fff;
    text-align: center;
}

.player-idle-icon {
    width: 42px;
    height: 42px;

    margin: 0 auto 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--player-controls);

    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;

    background: rgba(255,255,255,.07);

    box-shadow:
        0 0 15px rgba(0,0,0,.25),
        0 0 12px rgba(143, 255, 58, .10);
}


.player-idle-icon .glyphicon {
    top: 0;
    font-size: 19px;
}

.player-idle-title {
    margin-bottom: 4px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 20px;
    text-shadow:
        0 2px 4px rgba(0,0,0,.35);
}

.player-idle-subtitle {
    color: rgba(255,255,255,.65);
    font-size: 12px;
    line-height: 14px;
}

/* Buffering state */

.radio-player-buffering-overlay {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 15px;

    visibility: hidden;
    opacity: 0;

    background:
        linear-gradient(
            135deg,
            rgba(3,18,36,.76),
            rgba(4,30,58,.82)
        );

    backdrop-filter: blur(1px);

    z-index: 4;

    transition:
        opacity .2s ease,
        visibility .2s ease;
}


.radio-player.is-buffering .radio-player-buffering-overlay {
    visibility: visible;
    opacity: 1;
}

.player-buffering-spinner {
    position: relative;

    width: 36px;
    height: 36px;

    margin: 0 auto 10px;

    border: 3px solid rgba(255,255,255,.10);
    border-top-color: var(--player-accent);
    border-right-color: rgba(255,255,255,.30);
    border-radius: 50%;

    box-shadow:
        0 0 12px rgba(0,0,0,.20),
        0 0 8px color-mix(
            in srgb,
            var(--player-accent) 25%,
            transparent
        );

    animation: playerSpinner .75s linear infinite;
}

@keyframes playerSpinner {
    100% {
        transform: rotate(360deg);
    }
}

.sticky-state {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    display: flex;

    align-items: center;

    padding: 8px 12px;

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    transition:
        opacity .18s ease,
        visibility .18s ease;
}

.radio-player-sticky.is-buffering
.sticky-buffering-state {
    visibility: visible;
    opacity: 1;
}


.sticky-buffering-state {
    background:
        linear-gradient(
            135deg,
            rgba(3,18,36,.94),
            rgba(5,40,73,.96)
        );
}


.sticky-spinner {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    margin-right: 11px;

    border: 3px solid rgba(255,255,255,.10);
    border-top-color: #97f33e;
    border-right-color: rgba(255,255,255,.30);
    border-radius: 50%;

    animation:
        stickySpinner .75s linear infinite;
}


@keyframes stickySpinner {

    to {
        transform: rotate(360deg);
    }

}

/* Error state */

.radio-player-error-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px;

    visibility: hidden;
    opacity: 0;

    background:
        linear-gradient(
            135deg,
            rgba(20, 15, 24, .90),
            rgba(22, 27, 38, .94)
        );

    z-index: 4;

    transition:
        opacity .2s ease,
        visibility .2s ease;
}


.radio-player.is-error .radio-player-error-overlay {
    visibility: visible;
    opacity: 1;
}


.player-error-message {
    width: 100%;
    text-align: center;
}


.player-error-icon {
    display: flex;

    width: 42px;
    height: 42px;

    margin: 0 auto 8px;

    align-items: center;
    justify-content: center;

    color: #ff8c5a;

    border: 1px solid rgba(255,140,90,.35);
    border-radius: 50%;

    background: rgba(255,100,65,.08);

    box-shadow:
        0 0 12px rgba(255,100,65,.16);
}


.player-error-icon .glyphicon {
    top: 0;

    font-size: 18px;
}


.player-error-title {
    margin-bottom: 4px;

    color: #fff;

    font-size: 15px;
    font-weight: 700;
    line-height: 19px;
}


.player-error-subtitle {
    max-width: 220px;

    margin: 0 auto;

    color: rgba(255,255,255,.60);

    font-size: 12px;
    line-height: 14px;
}

.player-error-retry {
    margin-top: 10px;
    padding: 5px 10px;

    color: rgba(255,255,255,.80);

    border: 1px solid rgba(255,255,255,.16);
    border-radius: 4px;

    background: rgba(255,255,255,.06);

    font-size: 10px;
    font-weight: 600;

    transition:
        background .15s ease,
        color .15s ease;
}


.player-error-retry:hover,
.player-error-retry:focus {
    color: #fff;

    background: rgba(255,255,255,.12);

    outline: none;
}


.player-error-retry .glyphicon {
    margin-right: 4px;

    font-size: 9px;
}

.radio-player-sticky.is-error
.sticky-error-state {
    visibility: visible;
    opacity: 1;

    pointer-events: auto;
}


.sticky-error-state {
    background:
        linear-gradient(
            135deg,
            rgba(25,17,23,.96),
            rgba(20,26,38,.98)
        );
}


.sticky-error-icon {
    display: flex;

    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    align-items: center;
    justify-content: center;

    margin-right: 10px;

    color: #ff8c5a;

    border: 1px solid rgba(255,140,90,.30);
    border-radius: 50%;

    background: rgba(255,100,65,.08);
}


.sticky-error-icon .glyphicon {
    top: 0;

    font-size: 14px;
}

.sticky-retry {
    display: flex;

    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    align-items: center;
    justify-content: center;

    padding: 0;

    color: rgba(255,255,255,.70);

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;

    background: rgba(255,255,255,.05);

    outline: none;
}


.sticky-retry:hover,
.sticky-retry:focus {
    color: #fff;

    background: rgba(255,255,255,.10);

    outline: none;
}

.sticky-state-text {
    font-size: 15px;
    width: 100%;
}

.sticky-state-text small {
    color: rgba(255,255,255,.60);
    font-size: 12px;
}

