/* ═══════════════════════════════════════════════════════
   Radio Musique Libre — Player Zen
   Palette volontairement plus douce (teal/lavande) que le
   dégradé chakra vif du player généraliste, pour coller à
   l'ambiance méditation. Layout minimal, pensé pour tourner
   longtemps sans interaction (cabinet de thérapeute).
═══════════════════════════════════════════════════════ */

#rml-zen-wrap,
#rml-zen-wrap *,
#rml-zen-wrap *::before,
#rml-zen-wrap *::after {
  box-sizing: border-box;
}

#rml-zen-wrap button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  -webkit-appearance: none;
  appearance: none;
}
#rml-zen-wrap svg { display: block; }

#rml-zen-wrap {
  --zen-c1:   #6ec6c1;   /* teal doux */
  --zen-c2:   #8fb8e0;   /* bleu ciel */
  --zen-c3:   #b39ddb;   /* lavande */
  --zen-grad: linear-gradient(120deg, var(--zen-c1), var(--zen-c2), var(--zen-c3));
  --zen-bg:     #fdfdfc;
  --zen-card:   #f6f8f7;
  --zen-border: rgba(20,30,30,.08);
  --zen-text:   #1a2422;
  --zen-muted:  rgba(20,30,30,.5);

  width: 100%;
  display: flex;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
}

#rml-zen-wrap .rml-zen-card {
  width: 100%;
  max-width: 420px;
  background: var(--zen-bg);
  border-radius: 24px;
  border: 1px solid var(--zen-border);
  box-shadow: 0 20px 50px rgba(20,40,40,.08);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

#rml-zen-wrap .rml-zen-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  width: 100%;
}
#rml-zen-wrap .rml-zen-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--zen-muted);
}
#rml-zen-wrap .rml-zen-track {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  color: var(--zen-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#rml-zen-wrap .rml-zen-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

#rml-zen-wrap .rml-zen-play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  cursor: pointer;
  background: var(--zen-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(110,198,193,.35);
  transition: transform .15s ease;
}
#rml-zen-wrap .rml-zen-play:hover { transform: scale(1.04); }
#rml-zen-wrap .rml-zen-play:active { transform: scale(.97); }
#rml-zen-wrap .rml-zen-play-icon {
  width: 26px;
  height: 26px;
  fill: #fff;
}
/* Icône play légèrement décalée à droite pour compenser l'optique du triangle */
#rml-zen-wrap .rml-zen-play.paused .rml-zen-play-icon { margin-left: 3px; }

#rml-zen-wrap .rml-zen-volume-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 220px;
}
#rml-zen-wrap .rml-zen-vol-icon {
  font-size: .85rem;
  flex-shrink: 0;
  opacity: .6;
}
#rml-zen-wrap input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--zen-grad);
  outline: none;
  cursor: pointer;
}
#rml-zen-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--zen-c2);
  cursor: pointer;
}
#rml-zen-wrap input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--zen-c2);
  cursor: pointer;
}

@media (max-width: 480px) {
  #rml-zen-wrap .rml-zen-card { padding: 22px 18px; border-radius: 20px; }
}
