/* 白屏阶段会执行的 CSS 加载动画 */

#app-loading {
  position: relative;
  top: 40vh;
  width: 90px;
  height: 90px;
  margin: 0 auto;
  background: url('/assets/logo.svg') center / 48px 48px no-repeat;
  border-radius: 50%;
}

#app-loading::before,
#app-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

#app-loading::before {
  inset: 12px;
  background: rgba(0, 110, 255, 0.06);
  box-shadow: 0 12px 24px rgba(0, 110, 255, 0.08);
}

#app-loading::after {
  border: 4px solid rgba(0, 190, 237, 0.25);
  border-top-color: #00beed;
  border-right-color: #006eff;
  animation: loading-spin 1s linear infinite;
  will-change: transform;
}

@keyframes loading-spin {
  from {
    transform: rotate(0deg);
  }

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