/* ── Audio player bar ── */
#audio-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #0d2010; border-top: 1px solid #22c55e33;
  display: none; align-items: center; gap: 12px;
  padding: 10px 16px; z-index: 100;
}
#audio-bar.visible { display: flex; }
#audio-bar-name { flex: 1; font-size: 13px; color: var(--green); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#audio-bar-stop { background: none; border: 1px solid #22c55e55; color: var(--green);
  border-radius: 4px; padding: 4px 10px; cursor: pointer; font-size: 12px; }
body.has-audio-bar main { padding-bottom: 60px; }

/* ── Sound card thumbnail ── */
.sound-card-thumb {
  width: 100%; aspect-ratio: 1;
  background: var(--surf2, #1a1a1a);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  color: var(--muted, #888);
}
.sound-card-active .sound-card-thumb { background: #0d2010; color: var(--green); }

/* Mini égaliseur animé sur la carte active */
.sound-card-eq { display: flex; gap: 3px; align-items: flex-end; height: 20px; }
.sound-card-eq span {
  width: 4px; background: var(--green); border-radius: 2px;
  animation: snd-eq .7s ease-in-out infinite alternate;
}
.sound-card-eq span:nth-child(2) { animation-delay: .15s; }
.sound-card-eq span:nth-child(3) { animation-delay: .3s; }
@keyframes snd-eq { from { height: 4px } to { height: 18px } }
