/* Cargador mientras llega el JavaScript; coincide con BootLoader.jsx. Archivo aparte por la CSP del ingress. */
#boot {
  --bf: #e8f0fa; --bt: #d3e2f3; --bg: rgba(84, 148, 210, 0.28); --bi: rgba(19, 40, 74, 0.68);
  --lr: #1b3359; --ls: #5494d2; --ink: #1b3359; --box: #1d1d27;
  position: fixed; inset: 0;
  background: radial-gradient(120% 90% at 85% 50%, var(--bg), transparent 60%), linear-gradient(160deg, var(--bf), var(--bt));
  font-family: "Geist Variable", "Geist", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #boot { --bf: #1b3359; --bt: #0d1c33; --bg: rgba(84, 148, 210, 0.22); --bi: rgba(255, 255, 255, 0.7); --lr: #5494d2; --ls: #8fbbe6; --ink: #f2f5fa; --box: #24263a; }
}
:root[data-theme="dark"] #boot { --bf: #1b3359; --bt: #0d1c33; --bg: rgba(84, 148, 210, 0.22); --bi: rgba(255, 255, 255, 0.7); --lr: #5494d2; --ls: #8fbbe6; --ink: #f2f5fa; --box: #24263a; }
#boot .box { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 16px; }
#boot .wm { display: inline-flex; align-items: center; font: 800 clamp(36px, 7vw, 56px)/1 "Bricolage Grotesque", "Geist Variable", sans-serif; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
#boot .zat { background: var(--box); color: #fff; border-radius: .2em; padding: .12em .2em; margin-right: .16em; }
#boot svg { width: 1.02em; height: 1.02em; margin: 0 .01em 0 -.02em; transform: translateY(.1em); }
#boot .sw { transform-box: view-box; transform-origin: 21px 21px; animation: boot-spin 1.1s linear infinite; }
#boot .dt { animation: boot-blink 1.1s ease-in-out infinite; }
#boot .dt:nth-of-type(2) { animation-delay: .25s; } #boot .dt:nth-of-type(3) { animation-delay: .5s; }
#boot .lbl { font-size: 13.5px; color: var(--bi); animation: boot-fade 2.2s ease-in-out infinite; }
@keyframes boot-spin { to { transform: rotate(360deg); } }
@keyframes boot-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes boot-fade { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #boot * { animation: none !important; } }
