/* Chompy Arcade — holiday touches (added 2026-11-25).
   Turned on by /assets/js/holiday.js only between Nov 25 and Jan 6 (html.is-holiday).
   Local files only: no outside requests, no tracking. Remove this file, holiday.js and
   their two tags per page to take the holiday look away for good. */

/* ---- String lights along the bottom edge of the menu bar (every page) ---- */
.hx-lights{
  position:absolute; left:0; right:0; bottom:-13px; height:22px;
  pointer-events:none; overflow:hidden; z-index:1;
}
.hx-lights svg.hx-wire{ position:absolute; inset:0 0 auto 0; width:100%; height:12px; }
.hx-bulb{
  position:absolute; top:4px; width:9px; height:13px; margin-left:-4.5px;
  border-radius:50% 50% 50% 50% / 40% 40% 60% 60%;
  background:var(--hx-c); box-shadow:0 0 6px 2px var(--hx-c);
  animation:hx-twinkle 2.6s ease-in-out infinite; animation-delay:var(--hx-d);
}
.hx-bulb::before{ /* little socket */
  content:""; position:absolute; top:-4px; left:2px; width:5px; height:5px;
  border-radius:1px; background:#1f4d2c;
}
@keyframes hx-twinkle{ 0%,100%{ opacity:1; } 50%{ opacity:.45; box-shadow:0 0 2px 0 var(--hx-c); } }

/* ---- Snow over the home page hero ---- */
.hero.hx-has-snow{ overflow:hidden; }
.hx-snow{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:0; }
.hero.hx-has-snow > .wrap{ position:relative; z-index:1; }
.hx-snow-toggle{
  position:absolute; top:10px; left:12px; z-index:2;
  min-height:36px; padding:6px 12px; border-radius:999px;
  border:2px solid rgba(242,239,232,.35); background:rgba(12,22,38,.55); color:var(--cream);
  font:800 .85rem var(--body); cursor:pointer;
}
.hx-snow-toggle:hover{ border-color:var(--gold-hi); }

/* ---- Santa-hat Chompy peeking out from behind the home logo ---- */
.hx-logo-wrap{ position:relative; display:inline-block; isolation:isolate; }
.hero-inner.solo .hx-logo-wrap{ display:block; width:max-content; margin:0 auto; }
.hx-logo-wrap .hero-logo{ position:relative; z-index:2; }
.hx-peek{
  position:absolute; z-index:1; width:70%; right:-34%; bottom:2%;
  transform:rotate(14deg); transform-origin:20% 90%;
  animation:hx-peek 7s ease-in-out infinite;
  filter:drop-shadow(0 6px 14px rgba(0,0,0,.45));
}
.hx-peek svg{ display:block; width:100%; height:auto; }
@keyframes hx-peek{
  0%,12%  { transform:translateX(-42%) rotate(4deg); }
  22%,70% { transform:translateX(0) rotate(14deg); }
  76%     { transform:translateX(0) rotate(8deg); }
  82%     { transform:translateX(0) rotate(14deg); }
  92%,100%{ transform:translateX(-42%) rotate(4deg); }
}
@media (max-width:820px){
  .hx-logo-wrap{ display:block; width:max-content; margin:0 auto; }
  .hx-peek{ right:-38%; }
}

/* ---- Gentle on motion-sensitive devices: steady lights, Chompy stays put, no snow ---- */
@media (prefers-reduced-motion: reduce){
  .hx-bulb, .hx-peek{ animation:none; }
  .hx-peek{ transform:rotate(14deg); }
}
