.cloud-save-toast-host {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10050;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}

.cloud-save-toast {
  position: relative;
  box-sizing: border-box;
  min-width: 190px;
  max-width: min(520px, calc(100vw - 32px));
  padding: 10px 18px 10px 42px;
  border: 1px solid #cfe9d6;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 38, 26, 0.16);
  color: #14532d;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cloud-save-toast::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: #2f9e1a;
  color: #ffffff;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}

.cloud-save-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cloud-save-toast.is-error {
  border-color: #f0c9c5;
  color: #8f1d15;
}

.cloud-save-toast.is-error::before {
  content: "!";
  background: #c0392b;
}

.cloud-save-toast.is-warning {
  border-color: #f0dfb6;
  color: #8a5a00;
}

.cloud-save-toast.is-warning::before {
  content: "!";
  background: #d18b00;
}

@media (max-width: 640px) {
  .cloud-save-toast-host {
    top: 12px;
  }
}
