/* Hurus · loader único: mismos trazos, colores y tiempos que el splash. Modo espera: dibujar → pausa → borrar → dibujar. */
.hl-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.hl-svg{overflow:visible;display:block}
#hl-logo path{fill:none;stroke:url(#hl-grad);stroke-width:30;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:720;stroke-dashoffset:720;animation:hl-loop 2.2s cubic-bezier(.4,0,.2,1) infinite}
#hl-logo path:nth-child(2){animation-delay:.08s}
#hl-logo path.bar{stroke-dasharray:400;stroke-dashoffset:400;animation-delay:.22s;animation-name:hl-loop-bar}
/* 0–25 % dibuja (≈.55 s) · 25–55 % pausa · 55–80 % borra · 80–100 % pausa antes de volver a dibujar */
@keyframes hl-loop{0%{stroke-dashoffset:720}25%,55%{stroke-dashoffset:0}80%,100%{stroke-dashoffset:720}}
@keyframes hl-loop-bar{0%{stroke-dashoffset:400}25%,55%{stroke-dashoffset:0}80%,100%{stroke-dashoffset:400}}
/* Overlay (pantalla completa) */
.hl-overlay{position:fixed;inset:0;z-index:9998;display:grid;place-items:center;background:#FAFAF7;opacity:0;transition:opacity .25s ease}
.hl-overlay.in{opacity:1}
.hl-overlay.out{opacity:0;pointer-events:none}
.hl-overlay[hidden]{display:none}
.hl-box{display:flex;flex-direction:column;align-items:center;gap:18px}
.hl-overlay .hl-svg{width:88px;height:88px}
.hl-label{margin:0;font:500 14px/1.4 "Geist",system-ui,sans-serif;color:#414042}
.hl-slow{margin:0;font:400 12px/1.4 "Space Mono","Geist Mono",monospace;letter-spacing:.02em;color:#6b6b77}
.hl-slow[hidden],.hl-label[hidden]{display:none}
@media (prefers-color-scheme:dark){.hl-overlay{background:#17171a}.hl-label{color:#eee}}
/* Inline (dentro de botón, tarjeta o panel): 40 px */
.hl-wait{position:relative}
.hl-on>.hl-keep{visibility:hidden}
.hl-inline{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;opacity:1;transition:opacity .25s ease;pointer-events:none}
.hl-inline.out{opacity:0}
.hl-inline .hl-svg{width:40px;height:40px;flex:none}
.hl-inline .hl-ilabel{font:500 13px/1 "Geist",system-ui,sans-serif;color:currentColor}
.hl-inline .hl-slow{position:absolute;left:0;right:0;top:calc(100% + 6px);text-align:center;font-size:11px}
.hl-error{box-shadow:0 0 0 2px #b4351f!important;animation:hl-shake .4s ease}
@keyframes hl-shake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
/* Botones primarios de la demo: trazo blanco dentro del botón índigo */
.btn.primary .hl-inline{filter:brightness(0) invert(1)}
/* Reduced motion: logo estático con pulso suave */
@media (prefers-reduced-motion:reduce){#hl-logo path{animation:none;stroke-dashoffset:0}.hl-svg{animation:hl-pulse 1.6s ease-in-out infinite}@keyframes hl-pulse{50%{opacity:.45}}}
