/* ============================================================
   RADIO COUVIN — COLONNE 2 (PLAYER COMPACT)
   Auteur : Christophe Delire
   Rôle : featured image + pochette full-width + player
      Version : V2.0
      ============================================================ */


/* ------------------------------------------------------------
   STRUCTURE DE BASE
------------------------------------------------------------- */

#radio-couvin-live {
    display: flex !important;
    flex-direction: column !important;
    background: transparent !important;
    width: 100%;
}


/* ------------------------------------------------------------
   HEADER VISUEL — IMAGE 16/9
------------------------------------------------------------- */

#rcl-main-visual {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover !important;
    background-position: center !important;
    border-radius: none !important;
    margin-bottom: 1.2rem;
}


/* ------------------------------------------------------------
   PLAYER COMPACT — MODE VERTICAL
------------------------------------------------------------- */

.rcl-player-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0 1.4em 1.4em 1.4em;
}


/* Pochette FULL-WIDTH */
#radio-couvin-live .rcl-cover-wrapper {
    width: 100% !important;
}

#radio-couvin-live #rcl-cover {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .55);
    display: block;
}


/* ------------------------------------------------------------
   TEXTE
------------------------------------------------------------- */

#radio-couvin-live .rcl-player-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    text-align: center;
    margin-top: 1rem;
}

#radio-couvin-live .rcl-header {
    padding: 0 !important;
    background: transparent !important;
}

#radio-couvin-live .rcl-label {
    font-size: .75rem;
    opacity: .65;
    text-transform: uppercase;
    letter-spacing: .08em;
}

#radio-couvin-live .rcl-track {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
}

#radio-couvin-live .rcl-sep {
    opacity: .55;
    padding: 0 .25rem;
}


/* ------------------------------------------------------------
   BOUTONS
------------------------------------------------------------- */

#radio-couvin-live .rcl-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: .8rem;
}

.rcl-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #2a2a2a, #101010);
    border: 2px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: .22s ease;
}

.rcl-btn:hover {
    transform: translateY(-2px);
}


/* ------------------------------------------------------------
   ÉTATS JS (play, stop, attente)
------------------------------------------------------------- */

.rcl-btn.playing {
    box-shadow: 0 0 16px rgba(0,255,120,.8);
    border-color: rgba(0,255,120,.5);
}

.rcl-btn.waiting {
    animation: rcl-blink 1s infinite;
}

@keyframes rcl-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: .4; }
}

.rcl-btn.stopping {
    box-shadow: 0 0 16px rgba(255,50,50,.85);
    border-color: rgba(255,50,50,.6);
}


/* ------------------------------------------------------------
   MOBILE
------------------------------------------------------------- */

@media (max-width: 1024px) {
    #radio-couvin-live {
        border-radius: 18px;
    }
}