: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;
    margin-top: -5px !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: 48px 20px 50px !important;
    
    isolation: isolate;
    overflow: hidden;
	border-bottom: 5px solid #ffcc00 !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, 500px);
    height: min(48vw, 500px);
    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, 234px);
    height: min(82vw, 234px);
    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 {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease;
}

.lpa-radio-live {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    padding-bottom:20px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffcc00;
}

.lpa-radio-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffcc00;
    box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.5);
    animation: lpa-radio-pulse 1.8s infinite;
}

@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;
}

.lpa-radio-artist {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 500;
    color: #ffffff;
    word-break: break-word;
}

.lpa-radio-button {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: min(88%, 310px);
    min-height: 40px;
    padding: 10px 20px;
    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;
}

.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-icon {
    font-size: 0.9rem;
    line-height: 1;
}

.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: 90%;
        min-height: 58px;
    }

    .lpa-visualiser {
        gap: 2px;
    }

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