/* --- LOGICA ICONE --- */
.radio-toggle-btn .pause-icon { display: none !important; }
.radio-toggle-btn .play-icon { display: block !important; }
.radio-player-container.is-playing .play-icon { display: none !important; }
.radio-player-container.is-playing .pause-icon { display: block !important; }

/* --- STILI BASE --- */
.radio-player-container { display: flex !important; align-items: center; visibility: visible !important; }

.radio-toggle-btn {
    appearance: none !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ef4444 !important; /* Colore di fallback se WoodMart non carica la variabile */
    background-color: var(--wd-primary-color, #ef4444) !important;
    fill: #ffffff !important;
    padding: 0 !important;
    transition: transform 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.radio-toggle-btn.mini-btn { width: 42px !important; height: 42px !important; min-width: 42px !important; }
.radio-toggle-btn.huge-btn { width: 85px !important; height: 85px !important; min-width: 85px !important; }
.radio-toggle-btn svg.oda-svg { width: 50% !important; height: 50% !important; pointer-events: none; }

/* --- HUGE PLAYER --- */
.radio-player-container.huge {
    position: relative;
    padding: 20px;
    background: #ffffff;
    background: var(--wd-main-bgcolor, #ffffff);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    gap: 20px;
}

.radio-art-wrapper { width: 90px; height: 90px; flex-shrink: 0; border-radius: 8px; overflow: hidden; position: relative; background: #f0f0f0; }
.radio-art { width: 100%; height: 100%; object-fit: cover; }
.radio-info { flex-grow: 1; min-width: 0; }
.radio-title { margin: 0; font-weight: 700; font-size: 1.3rem; color: #222; }
.radio-artist { margin: 4px 0 0; opacity: 0.7; font-size: 1rem; }

/* --- OVERLAY --- */
.radio-event-overlay {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(3px);
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

#event-image { max-height: 85px; width: auto; border-radius: 6px; margin-bottom: 8px; }
#event-message { font-weight: 700; font-size: 1rem; color: #ef4444; text-align: center; }

@keyframes odaPopIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }