:root {
    --lpa-scrollbar-w: 0px;
}

.lpa-radio-player-wrapper {
    width: calc(100vw - var(--lpa-scrollbar-w)) !important;
    max-width: calc(100vw - var(--lpa-scrollbar-w)) !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: calc(-50vw + (var(--lpa-scrollbar-w) / 2)) !important;
    margin-right: calc(-50vw + (var(--lpa-scrollbar-w) / 2)) !important;
    background: linear-gradient(135deg, #002b5c 0%, #001026 100%) !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
	padding: 0px 20px 0px !important;
    isolation: isolate;
    overflow: hidden;
    
	border-top: 6px solid #ffcc00 !important;

    padding-bottom:23px !important;

}

.lpa-visualiser {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lpa-visualiser.active {
    opacity: 1;
}

.lpa-visualiser::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(75vw, 760px);
    height: min(75vw, 760px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 204, 0, 0.20) 0%,
        rgba(35, 115, 210, 0.12) 32%,
        rgba(0, 26, 51, 0) 70%
    );
    filter: blur(35px);
    animation: lpa-visualiser-glow 2.8s ease-in-out infinite;
}

.lpa-visualiser::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(48vw, 450px);
    height: min(48vw, 450px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 204, 0, 0.16);
    box-shadow:
        0 0 40px rgba(255, 204, 0, 0.12),
        inset 0 0 40px rgba(77, 163, 255, 0.08);
}

.lpa-visualiser-bar {
    position: relative;
    z-index: 1;
    flex: 0 0 4px;
    width: 4px;
    height: 8%;
    min-height: 8px;
    max-height: 72%;
    border-radius: 999px;
    background: linear-gradient(to top, #ffcc00, #ffffff, #4da3ff);
    opacity: 0.58;
    transform-origin: center;
    transition: height 0.07s linear, opacity 0.12s ease;
    filter: drop-shadow(0 0 5px rgba(255, 204, 0, 0.25));
}

.lpa-radio-player {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding: 0;

/*
padding-top:40px;
padding-bottom:40px;
*/

    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-align: center;
    color: #ffffff;

/*
    border-radius: 28px;
    box-shadow: 0 25px 70px rgb(7 104 169);
*/






    overflow: hidden;
    position: relative;
    z-index: 2;
}

.lpa-radio-artwork {
    width: min(82vw, 200px);
    height: min(82vw, 200px);
    margin: 0 auto 24px;
    border-radius: 24px;
    overflow: hidden;
    background: #001a33;
    box-shadow: 0 25px 70px rgb(7 104 169);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 3;
}


.lpa-radio-artwork img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.lpa-radio-artwork img.is-visible {
    opacity: 1;
}



@media (prefers-reduced-motion: reduce) {
    .lpa-radio-artwork img {
        transition-duration: 0.01ms;
    }
}


.lpa-radio-live {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-top:30px;
    padding-bottom:30px;
    padding-left:4px;
    padding-right:4px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffcc00;
    width:500px;
    text-align:center;
}

@keyframes lpa-radio-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.5); }
    70% { box-shadow: 0 0 0 7px rgba(255, 204, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

@keyframes lpa-visualiser-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(0.94); opacity: 0.65; }
    50% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
}

.lpa-radio-metadata {
    width: 100%;
    margin-bottom: 28px;
    padding: 0 10px;
    box-sizing: border-box;
}

.lpa-radio-title {
    margin: 0 0 7px;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    line-height: 1.25;
    font-weight: 800;
    color: #ffffff;
    word-break: break-word;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    padding-bottom:30px;
    padding-top:0px;
}

.lpa-radio-artist {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.4;
    font-weight: 500;
    color: #ffffff;
    word-break: break-word;
    padding-top:0px;
    padding-bottom:30px;
}




.lpa-radio-title,
.lpa-radio-artist {
    transition: opacity 1.5s ease-in-out;
}

.lpa-radio-title.is-fading,
.lpa-radio-artist.is-fading {
    opacity: 0;
    transform: translateY(-3px);
}






.lpa-radio-button {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 11px;
    width: min(88%, 310px);
    min-height: 38px;
    padding: 8px;
    margin: 0;
    box-sizing: border-box;
    border: 0;
    border-radius: 999px;
    background: #ffcc00;
    color: #001a33;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.3);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 3;
    width:175px;
}

.lpa-radio-button:hover {
    background: #ffda33;
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(255, 204, 0, 0.45);
}

.lpa-radio-button:active {
    transform: translateY(0);
}

.lpa-radio-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.lpa-radio-button-text {
    line-height: 1;
}

.lpa-radio-player audio {
    display: none;
}

@media (max-width: 480px) {
    .lpa-radio-player-wrapper {
        padding: 30px 10px !important;
    }

    .lpa-radio-player {
        padding: 0;
        border-radius: 22px;
    }

    .lpa-radio-artwork {
/*
        margin-bottom: 20px;
        border-radius: 20px;
*/
    }

    .lpa-radio-metadata {
        margin-bottom: 23px;
    }

    .lpa-radio-button {
        width: 100%;
        min-height: 65px;
    }

    .lpa-visualiser {
        gap: 2px;
    }

    .lpa-visualiser-bar {
        flex-basis: 3px;
        width: 3px;
    }
}







/* --- Desktop header pill --- */
.lpa-header-play-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    margin: 0 0 0 14px;
    padding: 0 18px;
    height: 36px;
    border-radius: 999px;
    background: #ffcc00;
    color: #001a33;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 204, 0, 0.35);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;

    box-sizing: border-box;
    min-width: 106px;

}

.lpa-header-play-btn:hover {
    background: #ffda33;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.55);
}

.lpa-header-play-btn:active {
    transform: translateY(0);
}

/* --- Mobile full-width bar --- */
.lpa-play-bar {
    display: none;
}

.lpa-play-bar-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    margin: 0;
    padding: 16px 20px;
    width: 100%;
    min-height: 56px;
    background: linear-gradient(135deg, #002b5c 0%, #001026 100%);
    color: #ffcc00;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    display: block;
    border-bottom: 3px solid #ffcc00;
    transition: background 0.2s ease, color 0.2s ease;
}

.lpa-play-bar-btn:active {
    background: #001a33;
}



@media (max-width: 768px) {
    .lpa-header-play-btn {
        display: none !important;
    }
    .lpa-play-bar {
        display: block;
        margin: 0 !important;
        margin-block-start: 0 !important;
        padding: 0;
    }
}