/* ===== 加载页 ===== */
.loading-stage {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #e9f2ff 0%, #f7fbff 100%);
}

.loading-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/static/images/bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: blur(2px);
}

.loading-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 12px 8px;
  max-width: 760px;
  width: 90%;
}

.loading-mascot {
  width: 180px;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(22, 119, 255, 0.18));
  animation: floaty 3s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.loading-text {
  flex: 1;
  font-size: 22px;
  font-weight: 500;
  color: #2a3a52;
  letter-spacing: 1px;
}

.loading-text .tip {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #6b7e98;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.progress-wrap {
  position: absolute;
  left: 50%;
  bottom: 28%;
  transform: translateX(-50%);
  width: min(720px, 70vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(22, 119, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.progress-bar .progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1677ff, #25d4ff 80%, #b6f1ff);
  border-radius: 999px;
  transition: width 0.2s linear;
  box-shadow: 0 0 12px rgba(37, 212, 255, 0.6);
}

.progress-percent {
  font-size: 12px;
  color: #5a7196;
  letter-spacing: 1px;
}
