/* Small stage overlay: no layout changes, pointer interception or text animation. */
html body .site-header .brand>.brand-mark.xl-logo{position:relative}
.xl-stage{position:absolute;inset:-2px;display:block;overflow:hidden;pointer-events:none;opacity:0;border-radius:2px;background:transparent;isolation:isolate}
html body .site-header .brand-mark .xl-stage svg{visibility:visible!important;position:absolute;inset:0;width:100%;height:100%;display:block}
.xl-halo{position:absolute;inset:3px;border-radius:50%;background:radial-gradient(circle,#ffda6d80,transparent 70%)}
.xl-curtain{position:absolute;top:0;bottom:0;width:52%;background:repeating-linear-gradient(90deg,#961b18 0,#e43c28 20%,#fa6041 38%,#c1231c 60%,#831b18 100%);box-shadow:inset 0 -3px 5px #64121030}
.xl-left{left:0;transform-origin:left top;border-radius:0 0 9px 0}
.xl-right{right:0;transform-origin:right top;border-radius:0 0 0 9px}
.xl-spark{position:absolute;right:2px;top:1px;font:12px/1 sans-serif;color:#df9b22;opacity:0}
.xl-running .xl-stage{animation:xl-stage 4.8s ease-in-out both}
.xl-running .xl-left{animation:xl-left 4.8s cubic-bezier(.45,0,.2,1) both}
.xl-running .xl-right{animation:xl-right 4.8s cubic-bezier(.45,0,.2,1) both}
.xl-running .xl-bulb{animation:xl-bulb 4.8s ease-in-out both}
.xl-running .xl-halo{animation:xl-glow 4.8s ease-in-out both}
.xl-running .xl-spark{animation:xl-spark 4.8s ease-in-out both}
@keyframes xl-stage{0%,100%{opacity:0}9%,88%{opacity:1}}
@keyframes xl-left{0%,16%,88%,100%{transform:translateX(0) scaleX(1)}36%,73%{transform:translateX(-78%) scaleX(.7)}}
@keyframes xl-right{0%,16%,88%,100%{transform:translateX(0) scaleX(1)}36%,73%{transform:translateX(78%) scaleX(.7)}}
@keyframes xl-bulb{0%,23%,89%,100%{opacity:0;transform:translateY(5px) scale(.8)}40%,72%{opacity:1;transform:translateY(0) scale(1)}52%{transform:translateY(-1px) scale(1.06)}}
@keyframes xl-glow{0%,27%,84%,100%{opacity:0;transform:scale(.6)}44%,68%{opacity:1;transform:scale(1.12)}}
@keyframes xl-spark{0%,43%,68%,100%{opacity:0;transform:scale(.4) rotate(-25deg)}52%,58%{opacity:1;transform:scale(1) rotate(0)}}
html[data-motion="off"] .xl-stage{display:none!important}
@media(prefers-reduced-motion:reduce){.xl-stage{display:none!important}.xl-stage *{animation:none!important}}

/* Reveal the bulb cleanly on a genuinely transparent stage. */
html body .brand-mark.xl-running>img,html body .brand-mark.xl-running::before{animation:xl-base-hide 4.8s ease-in-out both}
@keyframes xl-base-hide{0%,100%{opacity:1}10%,88%{opacity:0}}
@media(prefers-reduced-motion:reduce){html body .brand-mark.xl-running>img,html body .brand-mark.xl-running::before{animation:none!important;opacity:1}}
