/* ============ maddahi.css — صفحه مداحی (جدا از سرود) ============ */

body.is-maddahi .player,
body.no-global-player .player {
  display: none !important;
}

body.is-maddahi .app {
  padding-bottom: 24px;
}

.maddahi-no-audio {
  color: var(--muted-foreground, #a8a29e);
  font-size: 0.92rem;
}

.maddahi-player {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--glass-border);
}

.maddahi-player__toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  box-shadow: 0 6px 18px rgba(185, 28, 28, 0.45);
  transition: transform 0.15s ease;
}

.maddahi-player__toggle:hover {
  transform: scale(1.06);
}

.maddahi-player__progress {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.maddahi-player__time {
  font-size: 0.78rem;
  color: var(--muted-foreground, #a8a29e);
  font-variant-numeric: tabular-nums;
  min-width: 2.4em;
}

.maddahi-player__progress .range {
  flex: 1;
  min-width: 0;
}

@media (max-width: 680px) {
  .maddahi-player {
    flex-wrap: wrap;
  }
  .maddahi-player__progress {
    width: 100%;
  }
}
