#app-loading {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #ffffff;
}

/* 主容器 */
#app-loading .loader {
  position: relative;
  width: 56px;
  height: 56px;
}

/* 圆环 */
#app-loading .ring {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  /* 1. 增加浅灰色底轨，让旋转更有逻辑感 */
  border: 3px solid #f1f5f9; 
  /* 2. 高亮部分使用渐变色或更纯净的品牌色 */
  border-top-color: #3b82f6;
  border-radius: 50%;
  /* 3. 增加一点阴影，提升层次 */
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
  animation: spin 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

/* 内部装饰：去掉复杂的反向环，改为一个精致的中心点或保留极简 */
#app-loading .ring::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 3px solid transparent;
  border-top-color: #60a5fa; /* 浅一点的蓝色 */
  border-radius: 50%;
  animation: spin 1.2s linear infinite reverse;
  opacity: 0.6; /* 降低透明度，制造前后景深 */
}

/* 文案 */
#app-loading .loading-text {
  margin-top: 28px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  animation: pulseText 2.5s ease-in-out infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseText {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); } /* 增加轻微浮动 */
}