/* Secret World 落地页 - 集成层样式（Toast + 减少动画） */

/* ============ Toast ============ */
.sw-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 16px);
  z-index: 10000;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  max-width: calc(100vw - 32px);
  text-align: center;
  line-height: 1.4;
}
.sw-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.sw-toast--success { background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); }
.sw-toast--warn    { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.sw-toast--error   { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }

/* ============ 视觉无障碍：尊重减少动画偏好 ============ */
@media (prefers-reduced-motion: reduce) {
  .sw-toast { animation: none !important; transition: none !important; }
}