body {
  margin: 0;
}

html {
  overflow-x: hidden;
  overflow-y: auto !important;
}

#loading-bg {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--initial-loader-bg, #fff);
  block-size: 100%;
  gap: 1rem 0;
  inline-size: 100%;
}

/* fix(2026-07-19): 品牌名文字 */
.loading-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--initial-loader-color, #808390);
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* fix(2026-07-19): 脉冲圆点加载动画 */
.loading-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 20px;
}

.loading-dots .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--initial-loader-color, #808390);
  animation: dot-pulse 1.4s ease-in-out infinite;
}

.loading-dots .dot:nth-child(1) {
  animation-delay: 0s;
}

.loading-dots .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dot-pulse {
  0%, 80%, 100% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}