/* ============ 翡翠绿配色变量 ============ */
:root {
  --bgPage: #F7F9F5;
  --surface: #FFFFFF;
  --header: #1A2E1A;
  --text: #2C3E2C;
  --textMuted: #64746B;
  --textFaint: #94A39B;
  --accent: #A3E67A;
  --accentDark: #6CBF4A;
  --accentDeeper: #3D7A2A;
  --border: #D4DFCE;
  --borderLight: #EEF3EB;
  --danger: #EF4444;
  --bgSoft: #F7F9F6;
  --fontSans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fontMono: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
}

body {
  background-color: var(--bgPage);
  background-image:
    radial-gradient(ellipse 60% 40% at 10% 0%, rgba(163, 230, 122, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(163, 230, 122, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #F7F9F5 0%, #F4F6F2 100%);
  background-attachment: fixed;
  color: var(--text);
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============ Toast 提示 ============ */
.toast-container {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: rgba(26, 46, 26, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(26, 46, 26, 0.25);
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  max-width: 90vw;
}

.toast-success i { color: #A3E67A; }
.toast-error i { color: #fca5a5; }
.toast-warning i { color: #fcd34d; }
.toast-info i { color: #93c5fd; }

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
