/* ── Lecteur audio ── */
.audio-player {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.audio-surah-name {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-play {
  background: var(--primary);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.btn-play:hover  { background: var(--primary-dark); }
.btn-play:active { background: var(--primary-dark); }

.audio-progress { flex: 1; }

.audio-bar {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 0.3rem;
  /* zone de toucher élargie pour mobile */
  padding: 8px 0;
  margin-top: -8px;
}
.audio-fill {
  height: 5px;
  background: var(--primary-light);
  border-radius: 3px;
  transition: width 0.1s linear;
  width: 0%;
}

.audio-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.audio-speed-badge {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.audio-loading {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}
