* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
}

body {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  line-height: 1.5;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-size: 16px;
  color: var(--primary);
  font-weight: 500;
  flex-direction: column;
  gap: 12px;
}

#loading::before {
  content: "";
  width: 32px;
  height: 32px;
  border: 3px solid var(--primary-light);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#toast {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--success);
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  display: none;
  z-index: 9999;
  font-size: 14px;
  font-weight: 500;
}