/* ===== NATALE (tutto in questo blocco: si accende e si spegne da solo per data) ===== */
header.top{position:relative}
#xm-lights{position:absolute;left:0;right:0;top:100%;height:58px;pointer-events:none;z-index:6;overflow:hidden}
#xm-lights svg{display:block;width:100%;height:100%}
.xm-wire{fill:none;stroke:#8a8479;stroke-width:1.3}
.xm-b{animation:xm-lampada 2.4s ease-in-out infinite}
@keyframes xm-lampada{0%,100%{opacity:1;filter:drop-shadow(0 0 8px currentColor) drop-shadow(0 0 3px currentColor)}50%{opacity:.16;filter:none}}
@keyframes xm-tw{0%,100%{opacity:1}50%{opacity:.45}}
#xm-snow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:15}
.xm-band{background:var(--card);border-top:2px dashed var(--green);border-bottom:2px dashed var(--green)}
.xm-band .w{display:flex;align-items:center;justify-content:center;gap:24px;padding-block:20px;flex-wrap:wrap;text-align:center}
.xm-band p{margin:0}
.xm-band .hand{font-size:1.9rem}
.xm-tree{width:110px;height:auto;flex:none;overflow:visible}
.xm-o{animation:xm-tw 2.6s ease-in-out infinite}
.xm-o:nth-child(2n){animation-delay:.7s}
.xm-o:nth-child(3n){animation-delay:1.4s}
body.xm-on-lights main{padding-top:30px}
body:not(.xm-on-lights) #xm-lights,body:not(.xm-on-snow) #xm-snow,body:not(.xm-on-tree) .xm-band{display:none}
@media(prefers-reduced-motion:reduce){.xm-b,.xm-o{animation:none!important}
.xm-b{filter:drop-shadow(0 0 6px currentColor)}}
@media(max-width:760px){.xm-tree{width:84px}}
