/* CONTENEUR BANDEAU */
.player-band {
    display: flex;
    width: 100%;
    max-width: 100%;
    background: #111;
    overflow: hidden;
}

/* IMAGE À GAUCHE */
.player-cover {
    width: 80px;
    flex-shrink: 0;
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

/* PLAYER À DROITE */
.player {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    padding: 12px 30px;
    color: #fff;
}

/* BOUTON PLAY */
.play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #ff0000;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

/* ▶ PLAY */
.play-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
}

/* ❚❚ PAUSE */
/* état pause : on neutralise le triangle - barre gauche  */
.play-btn.playing::before {
    border: none;
    background: #fff;
    width: 4px;
    height: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-8px, -50%);
}

/* deuxième barre - barre droite */
.play-btn.playing::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 16px;
    background: #fff;
    transform: translate(4px, -50%);
}

/* TEXTE + BARRE */
.track-info {
    flex: 1;
    min-width: 0;
}

.track-title {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
}

.progress {
    width: 100%;
    height: 5px;
    background: #333;
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
	cursor: pointer;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: #ff0000;
}

.time {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 4px;
}



/* ===== INTEGRATION VIDDEOS YOUTUBE */

.clip-video {
	margin: 15px 0;
	padding:6px;
	background:#1a102d;
	border-radius:18px;
	border:1px solid rgba(255,255,255,0.10);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;   /* 🔑 magie moderne */
    background: #1a102d;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 14px;
	border-color: #1a102d;
}



/* 📱 MOBILE */
@media (max-width: 600px) {
    .player-cover {
        width: 60px;
    }

    .play-btn {
        width: 38px;
        height: 38px;
    }

    .track-title {
        font-size: 0.85rem;
    }
}

 
 