.loading-screen {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
  transition: background-color 0.2s;
}

/* 深色模式（默认） */
.loading-screen.dark {
  background: #18181B;
}

.loading-screen.dark .loading-title {
  color: #ffffff;
}

.loading-screen.dark .loading-text {
  color: rgba(255, 255, 255, 0.56);
}

/* 浅色模式 */
.loading-screen.light {
  background: #ffffff;
}

.loading-screen.light .loading-title {
  color: #18181B;
}

.loading-screen.light .loading-text {
  color: rgba(0, 0, 0, 0.42);
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.loading-title {
  font-size: 18px;
  letter-spacing: 2px;
}

.loading-logo {
  width: 64px;
  height: 64px;
  display: block;
}

.loading-text {
  display: flex;
  gap: 4px;
  height: 24px;
  align-items: center;
  font-size: 24px;
  letter-spacing: 2px;
  line-height: 1;
}

.dot {
  animation: blink 1.4s ease-in-out infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%, 60%, 100% { opacity: 0.2; }
  30% { opacity: 1; }
}

#nprogress .bar {
  background: #00A155 !important;
}
