@charset "UTF-8";
.radio24-player-widget {
    --r24-primary: #14a8c9;
    --r24-hover: #1ed760;
    --r24-live: #ff2b2b;
    --r24-bg-start: #1a1a1a;
    --r24-bg-end: #282828;
    --r24-eq-color: #ffffff;
    --r24-eq-rgb: 255,255,255;
    --r24-chevron-color: #ffffff;
    --r24-chevron-hover-color: #ffffff;
    --r24-chevron-width: 52px;
    --r24-chevron-height: 38px;
    --r24-chevron-hover-height: 42px;
    --r24-chevron-icon-size: 26px;
    --r24-chevron-top: -36px;
}

.radio24-player-widget .is-hidden {
    display: none !important;
}

body .radio24-player-widget {
    position: relative;
    z-index: 999999;
}

body .radio24-player-widget .player-content {
    background: transparent;
}

.radio24-player-widget .radio-player-wrapper {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    opacity: 1;
    transform: translateY(0);
    transition: transform .3s ease;
}

.radio24-player-widget .radio-player-wrapper.hidden {
    transform: translateY(calc(100% - 26px));
}

.radio24-player-widget .radio-player {
    position: relative;
    overflow: visible;
    isolation: isolate;
    padding: 10px 20px 18px;
    color: #fff;
    background-color: var(--r24-bg-start);
    background-image: linear-gradient(90deg, var(--r24-bg-start) 0%, var(--r24-bg-end) 100%);
    border-top: 2px solid var(--r24-primary);
    box-shadow: 0 -5px 20px rgba(0,0,0,.5);
    opacity: 1;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.radio24-player-widget.no-bg-eq .r24-bg-eq {
    display: none !important;
}


.radio24-player-widget .r24-bg-eq {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2px;
    padding: 8px 10px 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 1;
}

.radio24-player-widget .r24-bg-eq::before,
.radio24-player-widget .r24-bg-eq::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.radio24-player-widget .r24-bg-eq::before {
    background:
        radial-gradient(circle at center, rgba(var(--r24-eq-rgb), .10) 0%, rgba(var(--r24-eq-rgb), 0) 70%),
        linear-gradient(180deg, rgba(var(--r24-eq-rgb), .05) 0%, rgba(var(--r24-eq-rgb), 0) 34%);
}

.radio24-player-widget .r24-bg-eq::after {
    background: linear-gradient(180deg, rgba(0,0,0,.56) 0%, rgba(0,0,0,.24) 32%, rgba(0,0,0,.08) 66%, rgba(0,0,0,.34) 100%);
}

.radio24-player-widget .r24-bg-eq-bar {
    --r24-eq-scale: .20;
    --r24-eq-opacity: .28;
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    align-self: flex-end;
    min-width: 1px;
    max-width: none;
    height: 100%;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, rgba(var(--r24-eq-rgb), 0) 0%, rgba(var(--r24-eq-rgb), .18) 18%, rgba(var(--r24-eq-rgb), .62) 100%);
    box-shadow: 0 0 12px rgba(var(--r24-eq-rgb), .10);
    transform-origin: center bottom;
    transform: scaleY(var(--r24-eq-scale));
    opacity: var(--r24-eq-opacity);
    filter: blur(.1px);
    transition: transform .12s cubic-bezier(.2,.75,.2,1), opacity .12s ease;
}

.radio24-player-widget.playing .r24-bg-eq-bar {
    background: linear-gradient(180deg, rgba(var(--r24-eq-rgb), 0) 0%, rgba(var(--r24-eq-rgb), .22) 16%, rgba(var(--r24-eq-rgb), .78) 100%);
}

.radio24-player-widget .r24-credit {
    position: absolute;
    right: 14px;
    bottom: 6px;
    z-index: 3;
    font-size: 11px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: .15px;
    color: rgba(255,255,255,.56);
    text-shadow: 0 1px 2px rgba(0,0,0,.22);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.radio24-player-widget .player-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.radio24-player-widget .player-toggle {
    position: absolute;
    top: var(--r24-chevron-top);
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--r24-chevron-width);
    height: var(--r24-chevron-height);
    color: var(--r24-chevron-color);
    cursor: pointer;
    background: #282828;
    border: none;
    border-top: 2px solid var(--r24-primary);
    border-right: 1px solid #404040;
    border-left: 1px solid #404040;
    border-radius: 20px 20px 0 0;
    transform: translateX(-50%);
    transition: all .3s ease;
    z-index: 6;
    box-shadow: 0 -2px 10px rgba(0,0,0,.28);
}

.radio24-player-widget .player-toggle:hover {
    height: var(--r24-chevron-hover-height);
    color: var(--r24-chevron-hover-color);
    background: #404040;
}

.radio24-player-widget.no-chevron .player-toggle {
    display: none !important;
}

.radio24-player-widget .player-toggle svg {
    width: var(--r24-chevron-icon-size);
    height: var(--r24-chevron-icon-size);
    fill: currentColor;
    transition: transform .3s ease;
}

.radio24-player-widget .radio-player-wrapper.hidden .player-toggle svg {
    transform: rotate(180deg);
}

.radio24-player-widget .station-info {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 280px;
    flex: 1 1 320px;
}

.radio24-player-widget .station-logo {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: visible !important;
    z-index: 30;
    transition: transform .3s ease;
}

.radio24-player-widget .station-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px;
    transition: transform .3s ease, box-shadow .3s ease;
    transform-origin: center center;
    position: relative;
    z-index: 31;
}

.radio24-player-widget .station-logo:hover {
    z-index: 50;
}

.radio24-player-widget .station-logo:hover img {
    transform: scale(1.4) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
}


.radio24-player-widget .station-cover,
.radio24-player-widget .station-logo-placeholder {
    width: 100%;
    height: 100%;
}

.radio24-player-widget .station-cover {
    display: block;
    object-fit: cover;
}

.radio24-player-widget .station-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.radio24-player-widget.playing .station-logo {
    box-shadow: 0 0 20px var(--r24-primary);
    animation: r24-pulse-border 2s infinite;
}

@keyframes r24-pulse-border {
    0% { border-color: var(--r24-primary); }
    50% { border-color: var(--r24-hover); }
    100% { border-color: var(--r24-primary); }
}

.radio24-player-widget .station-details {
    flex: 1;
    min-width: 0;
}

.radio24-player-widget .station-details-top {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    min-width: 0;
}

.radio24-player-widget .station-texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.radio24-player-widget .station-details h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-left: 10px;
}

.radio24-player-widget .station-details h4::before {
    content: "";
    color: var(--r24-primary);
}

.radio24-player-widget .station-details p {
    margin: 0;
    font-size: .85rem;
    color: #b3b3b3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio24-player-widget .station-details-top .volume-wrapper {
    display: flex;
    flex: 0 0 auto;
    min-width: auto;
    gap: 8px;
}


.radio24-player-widget .station-details-top .volume-slider-container {
    width: 82px;
    flex: 0 0 auto;
}

.radio24-player-widget .platform-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.radio24-player-widget .now-playing .platform-links {
    margin-left: auto;
}

.radio24-player-widget .platform-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: rgba(255,255,255,.92);
    text-decoration: none;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.radio24-player-widget .platform-link:hover {
    color: #fff;
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.24);
    transform: translateY(-1px);
}

.radio24-player-widget .platform-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.radio24-player-widget .now-playing {
    position: relative;
    flex: 2;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 15px;
    background: rgba(20,168,201,.1);
    border-radius: 30px;
}

.radio24-player-widget .song-metadata {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
}

.radio24-player-widget .metadata-label {
    margin-bottom: 2px;
    font-size: .7rem;
    font-weight: 600;
    color: var(--r24-primary);
    letter-spacing: .5px;
}

.radio24-player-widget .metadata-value {
    overflow: hidden;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,.3);
}

.radio24-player-widget .metadata-artist {
    overflow: hidden;
    font-size: .85rem;
    color: #b3b3b3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio24-player-widget .playback-controls {
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio24-player-widget .playback-controls-inline {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    min-width: 56px;
    z-index: 2;
    transform: none;
    order: -1;
}

.radio24-player-widget .control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: #b3b3b3;
    cursor: pointer;
    background: none;
    border: none;
    transition: all .2s ease;
}

.radio24-player-widget .control-btn svg {
    fill: currentColor;
}

.radio24-player-widget .control-btn:hover {
    color: #fff;
    transform: scale(1.08);
}

.radio24-player-widget .play-pause {
    padding: 10px;
    color: #fff !important;
    background: var(--r24-primary);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(20,168,201,.3);
}

.radio24-player-widget .play-pause:hover {
    color: #fff !important;
    background: var(--r24-hover);
}

.radio24-player-widget .volume-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
}

.radio24-player-widget .volume-slider-container {
    flex: 1;
}

.radio24-player-widget .volume-slider {
    width: 100%;
    height: 4px;
    outline: none;
    background: #4f4f4f;
    border-radius: 2px;
    -webkit-appearance: none;
}

.radio24-player-widget .volume-slider::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    cursor: pointer;
    background: var(--r24-primary);
    border-radius: 50%;
    -webkit-appearance: none;
}

.radio24-player-widget .volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    cursor: pointer;
    background: var(--r24-primary);
    border: none;
    border-radius: 50%;
}


.radio24-player-widget .live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.radio24-player-widget .live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--r24-live);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(255, 43, 43, .7);
    animation: r24-live-pulse 1.2s infinite ease-in-out;
    margin-left: 10px;
}


@keyframes r24-status-pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes r24-live-pulse {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(255,43,43,.7); }
    50% { transform: scale(1.25); opacity: .75; box-shadow: 0 0 0 8px rgba(255,43,43,0); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(255,43,43,0); }
}

@media (max-width:1024px) {
    .radio24-player-widget .now-playing {
        min-width: 250px;
    }

    .radio24-player-widget .metadata-value {
        font-size: .9rem;
    }
}

@media (max-width:768px) {
    .radio24-player-widget .player-content {
        flex-wrap: wrap;
        gap: 10px;
    }

    .radio24-player-widget .station-info {
        min-width: auto;
        flex: 1 1 100%;
    }

    .radio24-player-widget .station-details-top .volume-slider-container {
        width: 68px;
    }

    .radio24-player-widget .now-playing {
        order: 3;
        width: 100%;
        min-width: 100%;
    }

            .radio24-player-widget .volume-wrapper {
        min-width: auto;
        flex: 0 1 auto;
    }

    .radio24-player-widget .volume-slider-container {
        width: 80px;
    }
}

@media (max-width:480px) {
    .radio24-player-widget .radio-player {
        padding: 8px 12px 16px;
    }

    .radio24-player-widget .r24-credit {
        right: 10px;
        bottom: 5px;
        font-size: 9px;
    }

    .radio24-player-widget .station-details-top {
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .radio24-player-widget .station-details-top .volume-wrapper {
        display: flex;
    }

    .radio24-player-widget .station-logo {
        flex-basis: 55px;
        width: 55px;
        height: 55px;
    }

    .radio24-player-widget .station-info {
        gap: 10px;
    }

    .radio24-player-widget .station-texts {
        gap: 8px;
    }

    .radio24-player-widget .station-details-top .volume-slider-container {
        display: none;
    }

    .radio24-player-widget .now-playing {
        align-items: center;
        gap: 10px;
    }

            .radio24-player-widget .now-playing .platform-links {
        width: auto;
        justify-content: flex-end;
    }

    .radio24-player-widget .playback-controls-inline {
        min-width: 50px;
    }

    .radio24-player-widget .platform-links {
        gap: 8px;
    }

    .radio24-player-widget .platform-link {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }

    .radio24-player-widget .platform-link svg {
        width: 16px;
        height: 16px;
    }

    .radio24-player-widget .station-details h4 {
        font-size: .9rem;
    }

    .radio24-player-widget .station-details p {
        font-size: .7rem;
    }

    .radio24-player-widget .play-pause svg {
        width: 28px;
        height: 28px;
    }

    .radio24-player-widget .volume-wrapper {
        display: none;
    }

    .radio24-player-widget .now-playing {
        margin-top: 5px;
    }

    .radio24-player-widget .metadata-label {
        font-size: .6rem;
    }

    .radio24-player-widget .metadata-value {
        font-size: .85rem;
    }

    .radio24-player-widget .metadata-artist {
        font-size: .75rem;
    }
}
