.site-alerts {
  position: fixed;
  z-index: 10000;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  gap: 10px;
  width: min(420px, calc(100vw - 32px));
}
.site-alert {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #2B91C2;
  border-radius: 16px;
  background: #FFFFFF;
  color: #0A6699;
  box-shadow: 0 12px 32px rgba(10, 102, 153, .2);
  font: 600 1rem/1.5 Inter, "Segoe UI", Roboto, Arial, sans-serif;
  animation: site-alert-in .2s ease-out;
}
.site-alert[data-type="error"] { border-color: #A4262C; color: #7A1E22; }
.site-alert-message { overflow-wrap: anywhere; }
.site-alert-close {
  flex: 0 0 auto;
  border: 0;
  padding: 0 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
@keyframes site-alert-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .site-alert { animation: none; }
}
