
body {

  background: rgb(33, 37, 41);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

/* 1. 底色轨道（红色） */
.flutter-loader {
  background-color: #ff0000 !important;
  height: 4px !important;
  position: relative;
  overflow: hidden;
}

/* 2. 滑动条（黄色，加上透明度，避免全遮挡；或者使用混合模式） */
.flutter-loader > *::before,
.flutter-loader > *::after {
  background-color: #ffff00 !important;
  opacity: 0.5 !important; /* 设置半透明，让底色和滑块能明显区分 */
}

#loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  transition: opacity .35s ease;
  background: transparent;
}

#loading-logo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

#loading-logo {
  width: min(60vw, 320px);
  display: block;
  margin: 0 auto;
  animation: logoIn .6s ease-out both;
  will-change: transform, opacity;
}

#loading.hiding #loading-logo {
  animation: logoOut .9s ease-in-out forwards;
}

#loading.hiding .loader {
  opacity: 0;
  transition: opacity .2s ease;
}

.loader {
  width: 15px;
  height: 15px;
  border: 5px solid #e2e8f0;
  border-radius: 50%;
  border-top-color: #09e338;
  animation: spin 1s linear infinite;
}

@keyframes logoIn {
  from {
    transform: translateX(120vw);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes logoOut {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  35% {
    transform: translateX(30vw);
    opacity: 1;
  }

  100% {
    transform: translateX(-120vw);
    opacity: 0;
  }
}

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