.toast {
  position: fixed;
  right: 24px;
  bottom: 158px;
  z-index: 10000;
  max-width: min(360px, calc(100vw - 32px));
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(24, 31, 45, 0.96);
  color: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.24);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

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

@media (max-width: 640px) {
  .toast {
    right: 16px;
    bottom: calc(142px + env(safe-area-inset-bottom));
    left: 16px;
    max-width: none;
  }
}
