.toast-stack {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #2b2824;
  color: #f5f2ec;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  animation: toast-in .2s ease-out;
}
.toast.is-error { background: var(--danger); color: #fff; }
.toast.is-leaving { animation: toast-out .2s ease-in forwards; }

.toast-action {
  flex: 0 0 auto;
  padding: 2px 4px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  opacity: .85;
}
.toast-action:hover { opacity: 1; background: rgba(255, 255, 255, .12); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(8px) scale(.96); }
}
