/* Seasonal decoration only; the shared brand palette and page layout stay intact. */
.holiday-lights {
  position: absolute;
  inset: auto 0 -22px;
  height: 24px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='16' viewBox='0 0 160 16'%3E%3Cpath d='M0 1Q80 27 160 1' fill='none' stroke='%233b634d' stroke-width='1.3'/%3E%3C/svg%3E") left top / 160px 16px repeat-x;
}

.holiday-bulb {
  position: absolute;
  width: 7px;
  height: 10px;
  border-radius: 45% 45% 55% 55%;
  background: var(--bulb);
  box-shadow: 0 0 7px 2px var(--bulb-glow), inset 1px 0 1px rgba(255, 255, 255, .6);
  transform: translateX(-50%) rotate(var(--tilt));
}

.holiday-bulb::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 3px;
  left: 1px;
  top: -2px;
  border-radius: 1px;
  background: #3b634d;
}

.holiday-season .home-hero { position: relative; }
.holiday-corner {
  position: absolute;
  width: clamp(98px, 14vw, 170px);
  right: -2px;
  top: 6px;
  pointer-events: none;
  user-select: none;
}
.holiday-corner svg { display: block; width: 100%; height: auto; }

.holiday-snow {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 1100;
  pointer-events: none;
  user-select: none;
  contain: strict;
}
.holiday-snow[hidden] { display: none; }
.holiday-snowflake {
  position: absolute;
  top: -24px;
  left: var(--x);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 2px 1px rgba(12, 91, 166, .2);
  opacity: var(--opacity);
  animation: holiday-snowfall var(--duration) var(--delay) linear infinite;
}
.holiday-snowflake.is-crystal {
  background: none;
  box-shadow: none;
  border-radius: 0;
  color: #fff;
  font: var(--size)/1 Arial, sans-serif;
  text-shadow: 0 1px 3px rgba(12, 91, 166, .45);
}
@keyframes holiday-snowfall {
  from { transform: translate3d(0, -24px, 0) rotate(0deg); }
  to { transform: translate3d(var(--drift), calc(100vh + 48px), 0) rotate(var(--turn)); }
}

.holiday-snow-toggle {
  position: fixed;
  bottom: max(14px, env(safe-area-inset-bottom));
  right: max(14px, env(safe-area-inset-right));
  z-index: 1101;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid rgba(var(--brand-blue-rgb), .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: var(--brand-blue);
  box-shadow: 0 3px 18px rgba(var(--brand-blue-rgb), .1);
  font-family: inherit;
  font-size: .76rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
}
.holiday-snow-toggle:hover { border-color: var(--brand-blue); }
.holiday-snow-toggle:disabled { cursor: default; }
html[data-theme="dark"] .holiday-snow-toggle {
  background: var(--surface, #0b2f52);
  color: var(--ink, #f4f8fc);
  border-color: var(--line);
}
html[data-theme="dark"] .holiday-bulb { box-shadow: 0 0 9px 3px var(--bulb-glow); }

@media (max-width: 600px) {
  .holiday-corner { width: 100px; top: 1px; }
  .holiday-snow-toggle { min-height: 40px; padding: 8px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .holiday-snow { display: none; }
  .holiday-snowflake { animation: none; }
}
@media print {
  .holiday-lights, .holiday-corner, .holiday-snow, .holiday-snow-toggle { display: none !important; }
}
