/* Christmas header (JULHEADER-20261124, inc/plugins/rb_julheader.php), 1 December 2026 to 6 January 2027.
   Owner 2026-11-24: red logo with a Santa hat and the sleigh over the moon, then more Christmas mood (coloured lights,
   a decorated tree with presents, a red cabin). The pictures are in images/roidboard/jul/.
   Everything that moves runs on the compositor: the snow and the sleigh move with translate3d, the glow of the lights
   fades with opacity. The front page has the tall header (is-xm-home, 231 px on PC, 171 on phones); other pages have a
   short one (151 / 81 px), so the pieces are drawn smaller there and stay clear of the logo. */
.rb-hero.is-xm{background:radial-gradient(120% 160% at 72% 0%,#1a2950 0%,#0f1a34 48%,#080d1a 100%)}
.rb-hero.is-xm::before,.rb-hero.is-xm::after,.rb-hero.is-xm .rb-hero-grain{display:none}
.rb-hero.is-xm .rb-hero-in{position:relative;z-index:6}
.rb-hero.is-xm .jh{position:absolute;pointer-events:none;background-repeat:no-repeat}
.rb-hero.is-xm .jh-back{left:0;right:0;bottom:4px;height:34px;z-index:0;background-image:url(jul/jh-back.svg?v=1);background-repeat:repeat-x;background-position:0 100%;background-size:192px 34px}
.rb-hero.is-xm .jh-moon,.rb-hero.is-xm .jh-sleigh{top:1px;right:40px;width:186px;height:123px;z-index:1;background-size:100% 100%}
.rb-hero.is-xm .jh-moon{background-image:url(jul/jh-moon.svg?v=1)}
.rb-hero.is-xm .jh-sleigh{background-image:url(jul/jh-sleigh.svg?v=1);animation:jh-fly 5s ease-in-out infinite alternate;will-change:transform}
.rb-hero.is-xm .jh-l,.rb-hero.is-xm .jh-r{bottom:0;width:273px;height:102px;z-index:2;background-size:100% 100%}
.rb-hero.is-xm .jh-l{left:0;background-image:url(jul/jh-left.svg?v=1)}
.rb-hero.is-xm .jh-r{right:0;background-image:url(jul/jh-right.svg?v=1)}
.rb-hero.is-xm .jh-bank{left:0;right:0;bottom:-1px;height:11px;z-index:3;background-image:url(jul/jh-bank.svg?v=1);background-size:100% 100%}
.rb-hero.is-xm .jh-snow{left:0;right:0;top:-150px;bottom:0;z-index:3;background-image:url(jul/jh-snow-a.svg?v=1);background-repeat:repeat;background-size:300px 150px;
 animation:jh-fall 12s linear infinite;will-change:transform}
.rb-hero.is-xm .jh-snow.b{top:-110px;opacity:.7;background-image:url(jul/jh-snow-b.svg?v=1);background-size:220px 110px;animation:jh-fall-b 19s linear infinite}
.rb-hero.is-xm .jh-glow,.rb-hero.is-xm .jh-gar{left:0;right:0;top:0;height:28px;background-repeat:repeat-x;background-size:150px 28px}
.rb-hero.is-xm .jh-glow{z-index:4;background-image:url(jul/jh-glow-a.svg?v=1);animation:jh-twinkle 2.8s ease-in-out infinite alternate;will-change:opacity}
.rb-hero.is-xm .jh-glow.b{background-image:url(jul/jh-glow-b.svg?v=1);animation-duration:3.7s;animation-delay:-1.6s}
.rb-hero.is-xm .jh-gar{z-index:5;background-image:url(jul/jh-garland.svg?v=1)}
/* the front page: the full-size scene */
.rb-hero.is-xm-home .jh-back{height:46px;bottom:6px;background-size:260px 46px}
.rb-hero.is-xm-home .jh-moon,.rb-hero.is-xm-home .jh-sleigh{top:-16px;right:24px;width:310px;height:205px}
.rb-hero.is-xm-home .jh-l,.rb-hero.is-xm-home .jh-r{width:440px;height:164px}
.rb-hero.is-xm-home .jh-bank{height:14px;bottom:-2px}
.rb-hero.is-xm-home .jh-glow,.rb-hero.is-xm-home .jh-gar{height:56px;background-size:300px 56px}
/* the logo in the header (not the small one in the top bar): red tile, red BOARD, a Santa hat on the tile */
.rb-hero.is-xm .rb-wm-orb{position:relative;display:inline-flex}
.rb-hero.is-xm .rb-wm-orb .rb-orb rect{fill:#d42b2b}
.rb-hero.is-xm .rb-wm-l b{color:#ef4444;-webkit-text-fill-color:#ef4444;background:none}
.rb-hero.is-xm .jh-hat{position:absolute;left:-16%;top:-50%;width:90%;height:76%;z-index:2;pointer-events:none;transform:rotate(-14deg);filter:drop-shadow(0 2px 2px rgba(0,0,0,.35))}
.rb-hero.is-xm .jh-hat svg{display:block;width:100%;height:100%}
@keyframes jh-fall{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,150px,0)}}
@keyframes jh-fall-b{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,110px,0)}}
@keyframes jh-twinkle{from{opacity:.25}to{opacity:1}}
@keyframes jh-fly{from{transform:translate3d(0,-1%,0)}to{transform:translate3d(-1.3%,1.6%,0)}}
/* narrower PC screens: a smaller moon on the front page, so the sleigh stays clear of BOARD */
@media (max-width:1180px){
 .rb-hero.is-xm-home .jh-moon,.rb-hero.is-xm-home .jh-sleigh{top:14px;right:12px;width:217px;height:144px}
}
/* phones (laid out 540 px wide by rb_zoom) */
@media (max-width:760px){
 .rb-hero.is-xm .jh-back{height:20px;bottom:2px;background-size:113px 20px}
 .rb-hero.is-xm .jh-moon,.rb-hero.is-xm .jh-sleigh{top:7px;right:8px;width:93px;height:62px}
 .rb-hero.is-xm .jh-l,.rb-hero.is-xm .jh-r{width:110px;height:41px}
 .rb-hero.is-xm .jh-bank{height:7px}
 .rb-hero.is-xm .jh-glow,.rb-hero.is-xm .jh-gar{height:24px;background-size:126px 24px}
 .rb-hero.is-xm-home .jh-back{height:30px;bottom:4px;background-size:170px 30px}
 .rb-hero.is-xm-home .jh-moon,.rb-hero.is-xm-home .jh-sleigh{top:6px;right:0;width:140px;height:92px}
 .rb-hero.is-xm-home .jh-l,.rb-hero.is-xm-home .jh-r{width:180px;height:67px}
 .rb-hero.is-xm-home .jh-bank{height:9px;bottom:-2px}
 .rb-hero.is-xm-home .jh-glow,.rb-hero.is-xm-home .jh-gar{height:36px;background-size:193px 36px}
}
@media (prefers-reduced-motion:reduce){
 .rb-hero.is-xm .jh{animation:none!important}
}
