.toast-stack {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 30;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.toast-message {
  min-width: 160px;
  max-width: min(70vw, 280px);
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(17, 17, 17, 0.88);
  color: #ffffff;
  font-size: 12px;
  line-height: 1.6;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.toast-message--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 420px) {
  .toast-stack {
    top: 14px;
    right: 14px;
    left: 14px;
  }

  .toast-message {
    max-width: 100%;
  }
}
