/* ===== Toast 通知（千年学园风） ===== */
#toast-container {
  position: fixed;
  top: 80px;
  left: 30px;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(180, 210, 255, 0.95), rgba(255, 230, 245, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(145, 185, 255, 0.3);
  color: #2c3e50;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  backdrop-filter: blur(12px) saturate(180%);
  animation: toast-slide 4s ease forwards;
  position: relative;
  overflow: hidden;
}

/* 左侧渐变高亮条 */
.toast::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #a8d8ff, #ffb0f4);
  border-radius: 6px 0 0 6px;
}

/* 小图标 */
.toast::after {
  content: "💖";
  margin-right: 6px;
  font-size: 16px;
}

/* 入场与出场动画 */
@keyframes toast-slide {
  0% {
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
  }
  10% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.9);
  }
}

/* Hover 暂停动画 */
.toast:hover {
  animation-play-state: paused;
  transform: scale(1.03);
  box-shadow: 0 10px 28px rgba(120, 160, 255, 0.4);
}
