/* ============================================================
   Fisha2Fou — Preuve sociale (toasts "X vient de débloquer le VIP")
   Vanilla CSS statique — aucune dépendance.
   ============================================================ */
.sp-stack {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;          /* ne bloque jamais les clics du dessous */
  max-width: min(330px, calc(100vw - 32px));
}

.sp-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(26, 12, 12, .92);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f7e9e8;
  font-family: Manrope, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  transform: translateY(14px);
  opacity: 0;
  transition: transform .42s cubic-bezier(.2, .9, .25, 1), opacity .42s ease;
  will-change: transform, opacity;
}
.sp-toast.sp-in { transform: translateY(0); opacity: 1; }
.sp-toast.sp-out { transform: translateY(8px); opacity: 0; }

/* avatar = pastille dégradée avec l'initiale */
.sp-ava {
  flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font: 800 15px/1 Manrope; color: #fff;
  position: relative;
}
.sp-ava b { mix-blend-mode: normal; }
/* petite pastille de statut "en ligne / validé" */
.sp-ava i {
  position: absolute; right: -1px; bottom: -1px;
  width: 13px; height: 13px; border-radius: 50%;
  background: oklch(0.82 0.18 90);
  border: 2px solid rgba(26, 12, 12, .92);
}

.sp-body { min-width: 0; }
.sp-line { font: 500 12.5px/1.35 Manrope; color: #f7e9e8; }
.sp-line b { font-weight: 800; }
.sp-meta {
  margin-top: 2px;
  font: 600 10px/1 Manrope; letter-spacing: .02em;
  color: rgba(247, 233, 232, .5);
  display: flex; align-items: center; gap: 6px;
}
.sp-meta .sp-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(247,233,232,.4); }
.sp-meta .sp-verif { color: oklch(0.82 0.16 90); }

.sp-close {
  flex: 0 0 auto; margin-left: 2px; align-self: flex-start;
  border: none; background: transparent; color: rgba(247, 233, 232, .4);
  font-size: 15px; line-height: 1; cursor: pointer; padding: 1px 2px;
}
.sp-close:hover { color: rgba(247, 233, 232, .85); }

@media (max-width: 480px) {
  .sp-stack { left: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .sp-toast { padding: 9px 11px; gap: 9px; }
  .sp-ava { width: 34px; height: 34px; font-size: 14px; }
  .sp-line { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-toast { transition: opacity .3s ease; transform: none; }
  .sp-toast.sp-in { transform: none; }
  .sp-toast.sp-out { transform: none; }
}
