/* 天眼信息服务 · 公开信息目录加载视觉 */
body.is-loading { overflow: hidden; }
.boot-screen {
  --boot-green: #10b981;
  --boot-cyan: #06b6d4;
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 100svh;
  box-sizing: border-box;
  padding: 36px 24px max(32px, env(safe-area-inset-bottom));
  background: #0a0f0d;
  color: #e7f3ec;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: center;
  opacity: 1;
  transition: opacity 600ms ease, visibility 600ms ease;
}
.boot-screen *, .boot-screen *::before, .boot-screen *::after { box-sizing: border-box; }
.boot-screen[hidden] { display: none !important; }
.boot-screen.is-exiting { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-screen::before, .boot-screen::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.boot-screen::before { inset: 0; background: radial-gradient(ellipse 58% 55% at 50% 37%, #10b98112, transparent 72%), radial-gradient(ellipse 40% 45% at 100% 100%, #06b6d409, transparent); }
.boot-screen::after { width: 1px; height: 70px; left: 50%; top: 0; background: linear-gradient(#10b98100, #10b98125, #10b98100); }
.boot-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(#10b98107 1px, transparent 1px), linear-gradient(90deg, #10b98107 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 68% 60% at 50% 44%, #000, transparent);
  mask-image: radial-gradient(ellipse 68% 60% at 50% 44%, #000, transparent);
}
.boot-visual { position: relative; width: 232px; height: 232px; flex: 0 0 232px; margin: -12px 0 28px; }
.boot-visual::after { content: ""; position: absolute; z-index: 2; left: calc(50% + 63px); top: calc(50% + 61px); width: 28px; height: 4px; border-radius: 3px; transform: rotate(45deg); transform-origin: left center; background: linear-gradient(90deg, #34d399, #06b6d4); box-shadow: 0 0 12px #10b98124; }
.boot-orbit { position: absolute; left: 50%; top: 50%; border: 1px solid #10b9811e; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.boot-orbit::before { content: ""; position: absolute; top: 50%; left: -2.5px; width: 4px; height: 4px; border-radius: 50%; background: #2bd3a1; box-shadow: 0 0 12px #10b98180; }
.boot-orbit.orbit-outer { width: 232px; height: 232px; border-style: dashed; border-color: #10b98128; animation: ty-orbit 36s linear infinite; }
.boot-orbit.orbit-inner { width: 190px; height: 190px; border-color: #06b6d41c; animation: ty-orbit 28s linear infinite reverse; }
.boot-orbit.orbit-inner::before { background: #22bfd6; box-shadow: 0 0 12px #06b6d470; left: auto; right: -2.5px; }
.boot-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 104px;
  height: 128px;
  transform: translate(-50%, -50%);
  border: 1px solid #3ac79e57;
  border-radius: 12px;
  background: linear-gradient(#0d1d16, #0b1813);
  box-shadow: inset 0 1px #d2ffeb07, 0 18px 48px #0003, 0 0 45px #10b9810a;
}
.boot-core {
  background-image: linear-gradient(#44b89644, #44b89644), linear-gradient(#44b89625, #44b89625), linear-gradient(#44b89625, #44b89625), linear-gradient(#44b89625, #44b89625), linear-gradient(#0d1d16, #0b1813);
  background-size: 29px 3px, 60px 2px, 53px 2px, 36px 2px, 100% 100%;
  background-position: 20px 24px, 20px 47px, 20px 61px, 20px 75px, 0 0;
  background-repeat: no-repeat;
}
.boot-core::before { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 1px; background: linear-gradient(90deg, transparent, #34d399aa, #06b6d487, transparent); box-shadow: 0 3px 11px #10b98140; animation: ty-scan 3.8s ease-in-out infinite; }
.boot-core::after { content: ""; position: absolute; right: -25px; bottom: -10px; width: 61px; height: 61px; border: 3px solid #38cfa2; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #06b6d412, #0b1815dd 68%); box-shadow: 0 0 0 5px #0a0f0d, inset 0 0 16px #10b98108, 0 0 26px #10b9810d; }
.boot-core > * { position: relative; z-index: 1; }
.boot-brand { margin: 0 0 14px; padding-left: .26em; color: #589181; font-size: 9px; line-height: 1.8; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.boot-title { margin: 0; padding-left: .12em; color: #e5f4ec; font-size: clamp(26px, 4.5vw, 34px); line-height: 1.45; font-weight: 650; letter-spacing: .12em; }
.boot-title span, .boot-title em { color: #3dd6ac; font-style: normal; }
.boot-subtitle { margin: 12px 0 0; color: #587368; font-size: 12px; line-height: 1.8; letter-spacing: .06em; }
.boot-progress { width: min(100%, 330px); margin-top: 36px; }
.boot-progress-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 11px; line-height: 1.6; }
#loaderStage { color: #819f91; letter-spacing: .06em; }
#loaderPercent { color: #a6cbbd; font-family: "SFMono-Regular", Consolas, monospace; font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .07em; }
.boot-track { width: 100%; height: 3px; overflow: hidden; border-radius: 999px; background: #17271f; }
#loaderBar { position: relative; display: block; width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #10b981, #06b6d4); box-shadow: 0 0 12px #10b98130; }
#loaderBar::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, #d6fff04d, transparent); animation: ty-shimmer 3s ease-in-out infinite; }
.boot-steps { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 26px; color: #3f594c; font-size: 9px; line-height: 1.8; letter-spacing: .03em; }
.boot-steps span { display: flex; align-items: center; gap: 6px; transition: color .4s ease; }
.boot-steps span::before { content: ""; display: inline-block; width: 4px; height: 4px; flex: 0 0 4px; border-radius: 50%; background: #2b4337; transition: background .4s ease, box-shadow .4s ease; }
.boot-steps span.is-active { color: #91b5a5; }
.boot-steps span.is-active::before { background: #10b981; box-shadow: 0 0 8px #10b98166; }
.boot-steps span.is-complete { color: #658d78; }
.boot-steps span.is-complete::before { background: #4ca785; }
#loaderRemaining { display: block; min-height: 18px; margin: 12px 0 0; color: #3c5849; font-size: 10px; line-height: 1.8; letter-spacing: .04em; }
.boot-footer { position: absolute; left: 20px; right: 20px; bottom: max(26px, env(safe-area-inset-bottom)); color: #324b3d; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; line-height: 1.8; letter-spacing: .1em; }
.boot-footer span { color: #3d7057; padding: 0 7px; }
@keyframes ty-orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes ty-scan { 0%, 100% { transform: translateY(0); opacity: .25; } 50% { transform: translateY(94px); opacity: 1; } }
@keyframes ty-shimmer { 55%, 100% { transform: translateX(100%); } }
@media (max-width: 380px) { .boot-title { font-size: 25px; } .boot-brand { font-size: 8px; letter-spacing: .22em; } .boot-steps { gap: 5px; font-size: 8px; } }
@media (max-height: 700px) { .boot-screen { padding-top: 24px; padding-bottom: 30px; } .boot-visual { width: 208px; height: 208px; flex-basis: 208px; transform: scale(.84); margin: -22px 0 8px; } .boot-progress { margin-top: 25px; } .boot-steps { margin-top: 22px; } .boot-footer { bottom: 14px; font-size: 8px; } }
@media (max-height: 570px) { .boot-visual { height: 172px; flex-basis: 172px; transform: scale(.7); margin-bottom: 0; } .boot-title { font-size: 25px; } .boot-subtitle { margin-top: 8px; font-size: 11px; } .boot-progress { margin-top: 20px; } .boot-steps { margin-top: 18px; } }
@media (prefers-reduced-motion: reduce) { .boot-screen *, .boot-screen *::before, .boot-screen *::after { animation: none !important; transition: none !important; } .boot-screen { transition: opacity 600ms ease, visibility 600ms ease; } }
