/* Girlanda świąteczna. Wyłączenie: js/christmas.js → PB_CHRISTMAS.enabled = false */

body.home-page .pb-xmas {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  pointer-events: none;
}

body.home-page .pb-xmas svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

body.home-page .pb-xmas .wire {
  fill: none;
  stroke: #3d2a1c;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-page .pb-xmas .wire-hi {
  fill: none;
  stroke: rgba(255, 236, 210, 0.55);
  stroke-width: 0.45;
  stroke-linecap: round;
  transform: translate(-0.2px, -0.3px);
}

body.home-page .pb-xmas .cap { fill: #8d6840; }
body.home-page .pb-xmas .spec { fill: #fff; opacity: 0.85; }

body.home-page .pb-xmas .bloom,
body.home-page .pb-xmas .glass {
  transform-box: fill-box;
  transform-origin: center;
}

body.home-page .pb-xmas .bloom {
  animation: pb-xmas-blink var(--dur, 1.8s) steps(1, end) var(--delay, 0s) infinite;
}
body.home-page .pb-xmas .glass {
  animation: pb-xmas-blink var(--dur, 1.8s) steps(1, end) var(--delay, 0s) infinite;
}

@keyframes pb-xmas-blink {
  0%, 42% { opacity: 1; }
  43%, 48% { opacity: 0.18; }
  49%, 70% { opacity: 1; }
  71%, 76% { opacity: 0.28; }
  77%, 100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page .pb-xmas .bloom,
  body.home-page .pb-xmas .glass {
    animation: none !important;
    opacity: 1;
  }
  body.home-page .pb-xmas .bulb.is-dim .glass { opacity: 0.5; }
}

@media (max-width: 767px) {
  body.home-page .pb-xmas .wire { stroke-width: 1.1; }
}

@media print {
  body.home-page .pb-xmas { display: none !important; }
}
