/* P4（2026-11-22）：首屏启动占位。
   目的：入口 JS（~140KB gzip）与登录路由 chunk 到达前，页面不再是纯白；
   路由就绪后由 main.ts 加 .is-done 淡出并移除。独立文件而不是内联样式，
   与 theme-boot.js 同一理由：未来网关 CSP 可拦内联样式，外链无状态。 */
#boot-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #16191d;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
  transition: opacity 0.2s ease;
}
#boot-splash.is-done {
  opacity: 0;
  pointer-events: none;
}
.boot-splash__brand {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #f9be00;
}
.boot-splash__sub {
  margin-top: 8px;
  font-size: 14px;
  color: #b9c0c8;
  letter-spacing: 1px;
}
.boot-splash__bar {
  margin-top: 24px;
  width: 120px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}
.boot-splash__bar::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: #f9be00;
  animation: boot-slide 1s ease-in-out infinite;
}
@keyframes boot-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}
@media (prefers-reduced-motion: reduce) {
  .boot-splash__bar::after { animation: none; width: 100%; }
}
