.sk-toasts {
  position: fixed;
  z-index: 10050;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: min(22rem, calc(100vw - 2rem));
  pointer-events: none;
}

.sk-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #1c1917;
  color: #fafaf9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  font-size: 0.92rem;
  line-height: 1.35;
  animation: sk-toast-in 0.22s ease-out;
}

.sk-toast.is-leaving {
  animation: sk-toast-out 0.2s ease-in forwards;
}

.sk-toast--success {
  background: #14532d;
}

.sk-toast--error,
.sk-toast--danger {
  background: #7f1d1d;
}

.sk-toast--warning {
  background: #92400e;
}

.sk-toast--info {
  background: #1e3a5f;
}

.sk-toast__text {
  flex: 1 1 auto;
}

.sk-toast__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.75;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin: -0.15rem 0 0;
}

.sk-toast__close:hover {
  opacity: 1;
}

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

@keyframes sk-toast-out {
  to {
    opacity: 0;
    transform: translateY(6px);
  }
}

@media (max-width: 640px) {
  .sk-toasts {
    left: 1rem;
    right: 1rem;
    bottom: 4.5rem;
    max-width: none;
  }
}
