:root {
  --loading-bg-image: none;
  --loading-tips-color: #c8c8d4;
  --loading-panel-background: #151515;
  --loading-page-background: #222222;
}

body {
  background: var(--loading-page-background);
}

.loadingMain {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background-color: var(--loading-page-background);
  background-image: var(--loading-bg-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  left: 50%;
  right: auto;
  transform: translate3d(-50%, 0, 0);
}

.loadingTop {
  width: 30.93vw;
  max-width: 140px;
  position: absolute;
  left: 50%;
  top: calc(50% - 14.535vw - 20px);
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loadingLogoImg {
  width: 105px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loadingLogoImg img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: contain;
}

.loading-name {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.loading-tips {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--loading-tips-color);
  text-align: center;
}

.loading-cont {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(41.87vw, 180px);
  min-height: 109px;
  border-radius: 20px;
  background: var(--loading-panel-background);
  padding: 14px 12px 16px;
  box-sizing: border-box;
}

.loading-title {
  font-size: 12px;
  text-align: center;
  color: #ffffff;
  line-height: 1.4;
}

.loading-img {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px auto 0;
}

.loading-img img {
  width: 100%;
  height: 100%;
  animation: rotateLoading 1s linear infinite;
  will-change: transform;
}

@keyframes rotateLoading {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  .loadingMain {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .loadingTop {
    width: 116px;
    top: calc(50% - 54.5px - 20px);
  }

  .loadingLogoImg {
    width: 101px;
    height: 101px;
  }

  .loading-name {
    margin-top: 23px;
    font-size: 26px;
  }

  .loading-tips {
    margin-top: 7px;
    font-size: 13px;
  }

  .loading-cont {
    width: 157px;
  }
}

/* 初始化顶部进度条 */
.app-init-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100001;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.app-init-progress__bar {
  height: 100%;
  background: #73bcff;
  transition: width 0.25s ease;
  box-shadow: 0 0 4px rgba(115, 188, 255, 0.4);
}
