/* Boot layer styles, served from /boot.css so the CSP can stay
   `style-src-elem 'self'` (no inline <style>). */
#boot-layer{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;background:#002060;transition:opacity 220ms ease}
#boot-layer>.boot-mark{display:none;width:104px;height:auto;transition:transform 180ms ease;will-change:transform}
html.js #boot-layer>.boot-mark{display:block}
#boot-layer .boot-top{position:absolute;top:0;left:0;right:0;height:52px;background:rgba(255,255,255,.05);border-bottom:1px solid rgba(255,255,255,.12);opacity:0;transition:opacity 180ms ease}
#boot-layer .boot-sk{position:absolute;left:16px;right:16px;border-radius:12px;background:rgba(255,255,255,.09);opacity:0;transition:opacity 220ms ease;overflow:hidden}
#boot-layer .boot-sk::after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.14) 50%,transparent 70%);animation:boot-shimmer 1.5s linear infinite}
#boot-layer .boot-sk--title{top:8%;height:3%}
#boot-layer .boot-sk--a{top:14%;height:20%}
#boot-layer .boot-sk--b{top:37%;height:20%}
#boot-layer .boot-sk--c{top:60%;height:20%}
#boot-layer[data-space='sell'] .boot-sk--a{height:26%}
#boot-layer[data-space='sell'] .boot-sk--b{top:34%;height:8%}
#boot-layer[data-space='sell'] .boot-sk--c{top:44%;height:8%}
#boot-layer[data-space='carrier'] .boot-sk--c{display:none}
#boot-layer[data-space='carrier'] .boot-sk--a{height:26%}
#boot-layer[data-space='admin'] .boot-sk--title{height:2%}
#boot-layer[data-space='admin'] .boot-sk--a{top:16%;height:8%}
#boot-layer[data-space='admin'] .boot-sk--b{top:26%;height:8%}
#boot-layer[data-space='admin'] .boot-sk--c{top:36%;height:8%}
#boot-layer[data-space='public'] .boot-sk{display:none}
/* Variante A (BOOT_VARIANT='plain') : logo fixe + filet de progression. */
#boot-layer.boot-plain>.boot-mark{transform:none}
#boot-layer.boot-plain .boot-top,
#boot-layer.boot-plain .boot-sk{display:none}
#boot-layer.boot-plain::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:#4c93ff;animation:boot-sweep 1.4s ease-in-out infinite}
/* Variante B (BOOT_VARIANT='shine') : reflet sur la marque + points. */
#boot-layer.boot-shine>.boot-mark{transform:none;animation:boot-glow 2.4s ease-in-out infinite}
#boot-layer.boot-shine .boot-top,
#boot-layer.boot-shine .boot-sk{display:none}
@keyframes boot-sweep{0%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
@keyframes boot-glow{0%,100%{opacity:.82}50%{opacity:1}}
#boot-layer.is-morph>.boot-mark{transform:translateY(-40vh) scale(.44)}
#boot-layer.is-morph .boot-top,
#boot-layer.is-morph .boot-sk{opacity:1}
#boot-layer.is-revealed{opacity:0;pointer-events:none}
#boot-layer .boot-hint{display:block;color:#c2d1e6;font:600 14px/1.4 system-ui,sans-serif;text-align:center;padding:0 24px}
html.js #boot-layer .boot-hint{display:none}
@keyframes boot-shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
@media (prefers-reduced-motion:reduce){
  #boot-layer,#boot-layer *{transition-duration:120ms!important;animation:none!important}
  #boot-layer>.boot-mark{transition:none}
}
