.gms-christmas-lights {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 43px;
  z-index: 110;
  pointer-events: none;
  overflow: hidden;
}

.gms-christmas-wire {
  position: absolute;
  width: 100%;
  height: 40px;
  fill: none;
  stroke: #253a37;
  stroke-width: 2.7;
}

.gms-christmas-bulb {
  position: absolute;
  left: var(--gms-light-x);
  top: 14px;
  width: clamp(9px, 1vw, 14px);
  height: clamp(14px, 1.65vw, 20px);
  transform: translateX(-50%);
  background: var(--gms-light-color);
  border-radius: 45%;
  box-shadow: 0 0 7px var(--gms-light-color),
              0 0 14px var(--gms-light-color);
  animation: christmas-glow var(--gms-light-speed)
             ease-in-out infinite alternate;
  animation-delay: var(--gms-light-delay);
}

.gms-christmas-bulb::before {
  content: "";
  position: absolute;
  width: 64%;
  height: 5px;
  top: -5px;
  left: 18%;
  background: #22352e;
}

@keyframes christmas-glow {
  from { opacity: .6; filter: brightness(.84); }
  to { opacity: 1; filter: brightness(1.23); }
}

.gms-christmas-snow {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 90;
  pointer-events: none;
  user-select: none;
}

.gms-christmas-flake {
  position: absolute;
  top: -12px;
  left: var(--gms-snow-x);
  width: var(--gms-snow-size);
  height: var(--gms-snow-size);
  background: white;
  border-radius: 50%;
  opacity: var(--gms-snow-opacity);
  animation: christmas-fall var(--gms-snow-duration)
             linear infinite;
  animation-delay: var(--gms-snow-delay);
}

@keyframes christmas-fall {
  from { transform: translate(0, -18px); }
  to {
    transform: translate(
      var(--gms-snow-drift), calc(100vh + 35px)
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .gms-christmas-bulb,
  .gms-christmas-flake {
    animation: none;
  }
  .gms-christmas-flake {
    display: none;
  }
}
