/* Bandeau d'alerte micro (v294) : reste au-dessus de l'ecran d'enregistrement tant que le probleme dure */
.mic-alert-banner {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  /* Centre sans transform : l'animation d'entree reutilisee anime deja transform */
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 100001;
  width: calc(100% - 32px);
  max-width: 420px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
  animation: whispToastSlideDown 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mic-alert-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--accent-orange, #ff5e3a);
  animation: micAlertPulse 1.4s ease-in-out infinite;
}

.mic-alert-body strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
}

.mic-alert-body p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

@keyframes micAlertPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .mic-alert-banner,
  .mic-alert-dot {
    animation: none;
  }
}
