.jul-lights { position: absolute; left: 0; top: 0; right: 0; height: 46px; pointer-events: none; z-index: 4; }
.jul-lights svg { display: block; overflow: visible; }

.ga-jul .vb-logo span { position: relative; isolation: isolate; }
.jul-logo-lights { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.jul-logo-lights.back { z-index: -1; }
.jul-logo-lights.front { z-index: 1; }
.ga-jul .jul-logo-lights .wire { fill: none; stroke: #183a25; stroke-width: 1.3; opacity: 1; stroke-linecap: round; }
.jul-logo-lights .wire-shine { fill: none; stroke: #8cc6a0; stroke-width: .5; stroke-linecap: round; opacity: .75; }
.jul-logo-lights.front { filter: drop-shadow(0 1.2px .8px rgba(0,0,0,.35)); }
.ga-jul .jul-logo-lights.back .wire { opacity: 1; }

html.ga-jul[data-theme="dark"] .jul-logo-lights .wire { stroke: #2c5a3c; }
.jul-logo-lights .glow { animation: jul-glow-b 2.4s ease-in-out infinite; }
.jul-logo-lights .glass { animation: jul-glass 2.4s ease-in-out infinite; }
@keyframes jul-glow-b { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes jul-glass { 0%,100% { filter: brightness(1.1); } 50% { filter: brightness(.72); } }
.jul-lights .wire { fill: none; stroke: #2b3a2f; stroke-width: 1.4; opacity: .55; vector-effect: non-scaling-stroke; }
html[data-theme="dark"] .jul-lights .wire { stroke: #9fb2a6; opacity: .35; }
.jul-lights .bulb { animation: jul-blink 2.4s ease-in-out infinite; }
.jul-lights .bulb:nth-child(3n)   { animation-delay: .8s; }
.jul-lights .bulb:nth-child(3n+1) { animation-delay: 1.6s; }
@keyframes jul-blink { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

.jul-snow {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 2;
}

.jul-g { position: relative; display: inline-block; }
.jul-hat {
  position: absolute; left: -.19em; top: -.25em; width: 1.18em; height: .98em;
  transform: rotate(-10deg); transform-origin: 25% 80%; pointer-events: none; overflow: visible;
}

.ga-jul .vb-title .hl { position: relative; padding-top: .14em; margin-top: .12em; }

.jul-hl-frost, .jul-hl-cap { position: absolute; pointer-events: none; overflow: visible; }
.jul-hl-frost { left: 0; top: 0; width: 100%; height: 100%; z-index: -1; }
.jul-hl-cap {
  z-index: 1;
  filter: drop-shadow(0 1px 1px rgba(60,85,120,.18));
}
.jul-hl-cap .shade { fill: #b4c6dd; }
html[data-theme="dark"] .jul-hl-cap .shade { fill: #8399b7; }
.jul-hl-cap .spark { fill: #fff; transform-box: fill-box; transform-origin: center; animation: jul-spark 3.2s ease-in-out infinite; }
@keyframes jul-spark { 0%,100% { opacity: 0; transform: scale(.3) rotate(0); } 45%,55% { opacity: 1; transform: scale(1) rotate(45deg); } }
.jul-hl-cap .drop { transform-box: fill-box; transform-origin: center top; animation: jul-drop 5.5s ease-in infinite; }
@keyframes jul-drop {
  0%, 62%  { opacity: 0; transform: translateY(0) scale(.2); }
  78%      { opacity: .95; transform: translateY(1px) scale(1); }
  84%      { opacity: .95; transform: translateY(2px) scale(1, 1.15); }
  100%     { opacity: 0; transform: translateY(46px) scale(.8, 1.3); }
}

.jul-hl-cap .tl { animation: jul-tw 1.8s ease-in-out infinite; }
@keyframes jul-tw { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.jul-hl-cap .jul-star-glow { transform-box: fill-box; transform-origin: center; animation: jul-glow 3s ease-in-out infinite; }
@keyframes jul-glow { 0%,100% { opacity: .65; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.12); } }

@media (prefers-reduced-motion: reduce) {
  .jul-lights .bulb, .jul-logo-lights .glow, .jul-logo-lights .glass, .jul-hl-cap .spark, .jul-hl-cap .drop, .jul-hl-cap .tl, .jul-hl-cap .jul-star-glow { animation: none; }
  .jul-hl-cap .drop { opacity: 0; }
  .jul-snow { display: none; }
}
