/*!  build: Vue Shop Vite
     copyright: https://vuejs-core.cn/shop-vite
 */
figure {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  position: relative;
  width: 80px;
  height: 80px;
}

.loader-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: #4e88f3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-circle:nth-child(2) {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  border-top-color: #67c23a;
  animation: spin-reverse 1.2s linear infinite;
}

.loader-circle:nth-child(3) {
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
  border-top-color: #e6a23c;
  animation: spin 1.4s linear infinite;
}

.loader-text {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #4e88f3;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

/* 性能优化 */
.loader-circle {
  will-change: transform;
  backface-visibility: hidden;
}