/* Boot loading — also inlined lightly in index.html for first paint. */
#boot-loading {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
  font-family: "HarmonyOS Sans SC", "PingFang SC", sans-serif;
  transition: opacity 0.45s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.45s;
}

#boot-loading.is-done {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.boot-loading__inner {
  width: min(280px, 72vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.boot-loading__logo {
  width: min(180px, 52vw);
  height: auto;
  opacity: 0.95;
}

.boot-loading__bar {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.boot-loading__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, #8b3a1c 0%, #a84a20 18%, #d47a3b 42%, #ffb440 62%, #fde047 80%, #d47a3b 100%);
  box-shadow: 0 0 12px rgba(212, 122, 59, 0.5);
  transition: width 0.08s linear;
}

.boot-loading__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
}

.boot-loading__pct {
  color: rgba(255, 255, 255, 0.92);
  font-variant-numeric: tabular-nums;
}
