/**
 * Peha Seasonal Themes — decorative layer on top of brand tokens.
 * Does not replace --red / logo system; only accents + FX + atmosphere.
 * Motifs: Halloween webs/pumpkins · Winter frost/snow · Christmas lights/holly ·
 * Summer sun rays · Easter pastels/eggs · New Year confetti/gold.
 */

:root {
  --peha-season-accent: var(--red);
  --peha-season-accent-soft: rgba(255, 30, 50, 0.18);
  --peha-season-glow: rgba(255, 30, 50, 0.12);
}

/* —— Accents per season (layer; brand red stays primary CTA) —— */
body.peha-season-halloween {
  --peha-season-accent: #ff7a18;
  --peha-season-accent-soft: rgba(255, 122, 24, 0.28);
  --peha-season-glow: rgba(160, 60, 220, 0.18);
}
body.peha-season-winter {
  --peha-season-accent: #7eb8ff;
  --peha-season-accent-soft: rgba(126, 184, 255, 0.22);
  --peha-season-glow: rgba(140, 190, 255, 0.14);
}
body.peha-season-christmas {
  --peha-season-accent: #e8b84a;
  --peha-season-accent-soft: rgba(232, 184, 74, 0.26);
  --peha-season-glow: rgba(200, 40, 40, 0.1);
}
body.peha-season-new_year {
  --peha-season-accent: #f5d76e;
  --peha-season-accent-soft: rgba(245, 215, 110, 0.28);
  --peha-season-glow: rgba(245, 215, 110, 0.16);
}
body.peha-season-easter {
  --peha-season-accent: #c4b5fd;
  --peha-season-accent-soft: rgba(196, 181, 253, 0.28);
  --peha-season-glow: rgba(154, 230, 180, 0.14);
}
body.peha-season-summer {
  --peha-season-accent: #f6ad55;
  --peha-season-accent-soft: rgba(246, 173, 85, 0.22);
  --peha-season-glow: rgba(246, 173, 85, 0.12);
}

body.peha-season-active .logo img,
body.peha-season-active .hub-loader-crown {
  filter: drop-shadow(0 0 12px var(--peha-season-accent-soft));
}
body.peha-season-active .logo em {
  color: var(--peha-season-accent);
}
body.peha-season-active .top {
  box-shadow:
    inset 0 -1px 0 var(--peha-season-accent-soft),
    0 8px 28px -18px var(--peha-season-glow);
}
body.peha-season-halloween .menu a.is-active,
body.peha-season-primary-halloween .live-pill {
  color: #ffb070;
}
body.peha-season-christmas .menu a.is-active {
  color: #f0d078;
}
body.peha-season-christmas .logo::after,
body.peha-season-winter .logo::after,
body.peha-season-new_year .logo::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--peha-season-accent);
  box-shadow: 0 0 10px var(--peha-season-accent);
  vertical-align: middle;
  opacity: 0.9;
}

/* Soft page wash — readability kept (low opacity)
   Explicit 100vw/100vh + TRBL: avoid Chrome 0×0 from size containment. */
.peha-season-atm {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  z-index: 30;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.35s ease;
  /* no contain — size containment collapsed layers in Chromium */
}
.peha-season-atm[hidden] { display: none !important; }
.peha-season-atm::before,
.peha-season-atm::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* —— Atmosphere washes —— */
body.peha-season-halloween .peha-season-atm::before {
  background:
    radial-gradient(ellipse 95% 70% at 50% 40%, rgba(42, 10, 68, 0.38), transparent 68%),
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(255, 110, 20, 0.18), transparent 58%),
    radial-gradient(ellipse 50% 45% at 100% 85%, rgba(72, 20, 90, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 35% at 0% 70%, rgba(20, 8, 0, 0.28), transparent 50%);
}
body.peha-season-halloween .peha-season-atm::after {
  background: linear-gradient(180deg, rgba(12, 4, 20, 0.22), transparent 30%, rgba(8, 2, 12, 0.2));
  box-shadow: inset 0 0 140px rgba(20, 0, 40, 0.35);
}
body.peha-season-christmas .peha-season-atm::before {
  background:
    radial-gradient(ellipse 80% 50% at 20% -5%, rgba(200, 40, 50, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 0%, rgba(232, 184, 74, 0.16), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(20, 80, 40, 0.1), transparent 55%);
}
body.peha-season-winter .peha-season-atm::before {
  background:
    radial-gradient(ellipse 100% 60% at 50% -15%, rgba(180, 210, 255, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(200, 220, 255, 0.08), transparent 40%),
    radial-gradient(ellipse 40% 30% at 0% 100%, rgba(220, 235, 255, 0.1), transparent 50%),
    radial-gradient(ellipse 40% 30% at 100% 100%, rgba(220, 235, 255, 0.1), transparent 50%);
}
body.peha-season-winter .peha-season-atm::after {
  box-shadow:
    inset 0 0 80px rgba(180, 210, 255, 0.12),
    inset 0 0 1px rgba(230, 240, 255, 0.25);
}
body.peha-season-new_year .peha-season-atm::before {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(245, 215, 110, 0.2), transparent 55%),
    radial-gradient(ellipse 40% 30% at 15% 80%, rgba(255, 107, 116, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 30% at 85% 75%, rgba(126, 184, 255, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(245, 215, 110, 0.08), transparent 55%);
}
body.peha-season-easter .peha-season-atm::before {
  background:
    radial-gradient(ellipse 80% 50% at 40% -5%, rgba(196, 181, 253, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 60%, rgba(255, 182, 210, 0.12), transparent 50%),
    radial-gradient(ellipse 45% 35% at 10% 80%, rgba(154, 230, 180, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 30% at 70% 90%, rgba(255, 236, 180, 0.08), transparent 50%);
}
body.peha-season-summer .peha-season-atm::before {
  background:
    radial-gradient(ellipse 90% 55% at 70% -10%, rgba(246, 173, 85, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(255, 220, 140, 0.1), transparent 50%),
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(255, 240, 200, 0.08), transparent 60%);
}

/* —— Season décor (injected into .peha-season-atm) —— */
.peha-season-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Halloween: webs + spiders + pumpkins + mist */
.peha-hw-web {
  position: absolute;
  top: -2%;
  width: min(300px, 48vw);
  height: min(240px, 38vw);
  opacity: 0.72;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
}
.peha-hw-web--tl {
  left: -2%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 160' fill='none' stroke='%23f2eef8' stroke-width='1.1' opacity='0.85'%3E%3Cpath d='M0 0 L200 0 M0 0 L0 160 M0 0 L180 140 M0 0 L120 160 M0 0 L200 70 M0 0 L60 160'/%3E%3Cpath d='M18 8 Q55 35 28 70 M40 6 Q90 45 55 105 M70 4 Q130 50 95 125 M110 3 Q160 40 145 95 M150 2 Q185 30 175 60' stroke-width='0.9'/%3E%3Cpath d='M8 22 Q40 55 12 95 M6 45 Q55 85 18 130 M4 75 Q50 110 22 155' stroke-width='0.9'/%3E%3C/svg%3E");
}
.peha-hw-web--tr {
  right: -2%;
  transform: scaleX(-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 160' fill='none' stroke='%23f2eef8' stroke-width='1.1' opacity='0.85'%3E%3Cpath d='M0 0 L200 0 M0 0 L0 160 M0 0 L180 140 M0 0 L120 160 M0 0 L200 70 M0 0 L60 160'/%3E%3Cpath d='M18 8 Q55 35 28 70 M40 6 Q90 45 55 105 M70 4 Q130 50 95 125 M110 3 Q160 40 145 95 M150 2 Q185 30 175 60' stroke-width='0.9'/%3E%3Cpath d='M8 22 Q40 55 12 95 M6 45 Q55 85 18 130 M4 75 Q50 110 22 155' stroke-width='0.9'/%3E%3C/svg%3E");
}
.peha-hw-thread {
  position: absolute;
  top: 0;
  width: 1px;
  height: min(120px, 18vh);
  background: linear-gradient(180deg, rgba(242, 238, 248, 0.7), transparent);
}
.peha-hw-thread--l { left: min(72px, 14vw); }
.peha-hw-thread--r { right: min(88px, 16vw); }
.peha-hw-spider {
  position: absolute;
  width: 14px;
  height: 10px;
  background: #1a1218;
  border-radius: 50%;
  box-shadow:
    -5px 1px 0 -2px #1a1218,
    5px 1px 0 -2px #1a1218,
    -7px 4px 0 -3px #1a1218,
    7px 4px 0 -3px #1a1218,
    0 0 8px rgba(0, 0, 0, 0.45);
  animation: peha-hw-sway 4.5s ease-in-out infinite;
}
.peha-hw-spider--l {
  top: min(110px, 16vh);
  left: calc(min(72px, 14vw) - 6px);
}
.peha-hw-spider--r {
  top: min(95px, 14vh);
  right: calc(min(88px, 16vw) - 6px);
  animation-delay: -1.8s;
}
@keyframes peha-hw-sway {
  0%, 100% { transform: translateX(0) rotate(-4deg); }
  50% { transform: translateX(5px) rotate(5deg); }
}
.peha-hw-mist {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -4%;
  height: min(28vh, 220px);
  background:
    radial-gradient(ellipse 45% 70% at 20% 80%, rgba(235, 230, 245, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 80% at 55% 90%, rgba(220, 215, 235, 0.2), transparent 68%),
    radial-gradient(ellipse 40% 65% at 85% 85%, rgba(235, 230, 245, 0.18), transparent 70%),
    linear-gradient(180deg, transparent, rgba(30, 10, 40, 0.15) 40%, rgba(18, 8, 28, 0.35));
  filter: blur(8px);
  animation: peha-hw-mist 12s ease-in-out infinite;
  opacity: 0.9;
}
@keyframes peha-hw-mist {
  0%, 100% { transform: translateX(0); opacity: 0.82; }
  50% { transform: translateX(2%); opacity: 1; }
}
.peha-hw-pumpkins {
  position: absolute;
  bottom: max(10px, 1.5vh);
  display: flex;
  align-items: flex-end;
  gap: 10px;
  z-index: 2;
  filter: drop-shadow(0 0 14px rgba(255, 120, 20, 0.45));
}
.peha-hw-pumpkins--bl { left: max(8px, 1.5vw); }
.peha-hw-pumpkins--br { right: max(8px, 1.5vw); flex-direction: row-reverse; }
.peha-hw-pumpkin {
  position: relative;
  width: var(--pk-w, 52px);
  height: var(--pk-h, 42px);
  border-radius: 48% 48% 42% 42%;
  background:
    radial-gradient(ellipse 40% 45% at 35% 40%, rgba(255, 180, 60, 0.55), transparent 55%),
    linear-gradient(160deg, #ff9a2e 0%, #e06a10 45%, #b84808 100%);
  box-shadow:
    inset -8px -6px 12px rgba(80, 20, 0, 0.35),
    0 0 18px rgba(255, 120, 20, 0.35);
}
.peha-hw-pumpkin::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 8px;
  height: 10px;
  transform: translateX(-50%);
  background: #3d6b28;
  border-radius: 2px 2px 3px 3px;
  box-shadow: 2px -1px 0 -1px #2f5420;
}
.peha-hw-pumpkin::after {
  content: "";
  position: absolute;
  inset: 28% 18% 22%;
  background:
    radial-gradient(circle at 28% 35%, #1a0a00 0 3px, transparent 3.5px),
    radial-gradient(circle at 72% 35%, #1a0a00 0 3px, transparent 3.5px),
    radial-gradient(ellipse 55% 40% at 50% 78%, #1a0a00 0 55%, transparent 56%);
  filter: drop-shadow(0 0 4px rgba(255, 160, 40, 0.9));
  opacity: 0.92;
}
.peha-hw-pumpkin--sm { --pk-w: 34px; --pk-h: 28px; }
.peha-hw-pumpkin--lg { --pk-w: 64px; --pk-h: 50px; }
.peha-hw-pumpkin--sm::after {
  background:
    radial-gradient(circle at 30% 38%, #1a0a00 0 2px, transparent 2.5px),
    radial-gradient(circle at 70% 38%, #1a0a00 0 2px, transparent 2.5px),
    radial-gradient(ellipse 40% 35% at 50% 72%, #1a0a00 0 50%, transparent 52%);
}
.peha-hw-pumpkin--angry::after {
  background:
    linear-gradient(155deg, transparent 40%, #1a0a00 40% 52%, transparent 52%) left 22% top 28% / 12px 8px no-repeat,
    linear-gradient(-155deg, transparent 40%, #1a0a00 40% 52%, transparent 52%) right 22% top 28% / 12px 8px no-repeat,
    radial-gradient(ellipse 60% 35% at 50% 78%, #1a0a00 0 55%, transparent 56%);
}

/* Winter frost / ice crystals */
.peha-wi-frost {
  position: absolute;
  width: min(220px, 42vw);
  height: min(170px, 34vw);
  opacity: 0.72;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 10px rgba(200, 230, 255, 0.45));
}
.peha-wi-frost--tl {
  top: 0; left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 120' fill='none' stroke='%23e8f2ff' stroke-width='1.15' opacity='0.95'%3E%3Cpath d='M0 48 L22 34 L10 20 L34 26 L26 4 L48 22 L58 0'/%3E%3Cpath d='M0 24 L38 24 M0 0 L0 58 M14 14 L44 44 M8 70 L30 58 L18 82 Z'/%3E%3Cpath d='M4 55 L20 48 L14 62 Z' fill='%23e8f2ff' stroke='none' opacity='0.4'/%3E%3Cpath d='M50 8 L58 20 L70 12 L62 28 L78 30' opacity='0.7'/%3E%3Ccircle cx='28' cy='36' r='1.5' fill='%23fff' stroke='none'/%3E%3Ccircle cx='12' cy='52' r='1' fill='%23fff' stroke='none'/%3E%3C/svg%3E");
}
.peha-wi-frost--tr {
  top: 0; right: 0; transform: scaleX(-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 120' fill='none' stroke='%23e8f2ff' stroke-width='1.15' opacity='0.95'%3E%3Cpath d='M0 48 L22 34 L10 20 L34 26 L26 4 L48 22 L58 0'/%3E%3Cpath d='M0 24 L38 24 M0 0 L0 58 M14 14 L44 44 M8 70 L30 58 L18 82 Z'/%3E%3Cpath d='M4 55 L20 48 L14 62 Z' fill='%23e8f2ff' stroke='none' opacity='0.4'/%3E%3Cpath d='M50 8 L58 20 L70 12 L62 28 L78 30' opacity='0.7'/%3E%3Ccircle cx='28' cy='36' r='1.5' fill='%23fff' stroke='none'/%3E%3Ccircle cx='12' cy='52' r='1' fill='%23fff' stroke='none'/%3E%3C/svg%3E");
}
.peha-wi-frost--bl {
  bottom: 0; left: 0; transform: scaleY(-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 120' fill='none' stroke='%23e8f2ff' stroke-width='1.1' opacity='0.8'%3E%3Cpath d='M0 48 L22 34 L10 20 L34 26 L26 4 L48 22 L58 0'/%3E%3Cpath d='M0 24 L38 24 M0 0 L0 58 M14 14 L44 44'/%3E%3C/svg%3E");
}
.peha-wi-frost--br {
  bottom: 0; right: 0; transform: scale(-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 120' fill='none' stroke='%23e8f2ff' stroke-width='1.1' opacity='0.8'%3E%3Cpath d='M0 48 L22 34 L10 20 L34 26 L26 4 L48 22 L58 0'/%3E%3Cpath d='M0 24 L38 24 M0 0 L0 58 M14 14 L44 44'/%3E%3C/svg%3E");
}
.peha-wi-crystal {
  position: absolute;
  width: 18px;
  height: 18px;
  opacity: 0.55;
  background:
    linear-gradient(0deg, transparent 46%, #e8f2ff 46% 54%, transparent 54%),
    linear-gradient(60deg, transparent 46%, #d6e8ff 46% 54%, transparent 54%),
    linear-gradient(-60deg, transparent 46%, #fff 46% 54%, transparent 54%);
  filter: drop-shadow(0 0 4px rgba(200, 230, 255, 0.6));
}
.peha-wi-crystal--1 { top: 12%; left: 18%; }
.peha-wi-crystal--2 { top: 22%; right: 22%; width: 12px; height: 12px; opacity: 0.4; }
.peha-wi-crystal--3 { bottom: 18%; left: 28%; width: 14px; height: 14px; opacity: 0.35; }
.peha-wi-edge {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  box-shadow:
    inset 0 0 60px rgba(190, 215, 255, 0.14),
    inset 0 1px 0 rgba(230, 240, 255, 0.22),
    inset 0 -1px 0 rgba(200, 220, 255, 0.12);
}

/* Christmas: light string + holly + sparkle dots */
.peha-xm-wire {
  position: absolute;
  top: 10px;
  left: 3%;
  right: 3%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(80, 80, 90, 0.55), transparent);
  border-radius: 2px;
}
.peha-xm-lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  padding: 6px 3% 0;
}
.peha-xm-bulb {
  width: 9px;
  height: 12px;
  border-radius: 40% 40% 45% 45%;
  background: var(--bulb, #e25555);
  box-shadow: 0 0 10px var(--bulb, #e25555), 0 0 18px rgba(226, 85, 85, 0.45);
  animation: peha-xm-twinkle 2.4s ease-in-out infinite;
  opacity: 0.9;
}
.peha-xm-bulb:nth-child(3n) { --bulb: #e8b84a; animation-delay: -0.4s; box-shadow: 0 0 10px #e8b84a, 0 0 18px rgba(232, 184, 74, 0.5); }
.peha-xm-bulb:nth-child(3n+1) { --bulb: #4ade80; animation-delay: -1.1s; box-shadow: 0 0 10px #4ade80, 0 0 18px rgba(74, 222, 128, 0.45); }
.peha-xm-bulb:nth-child(3n+2) { --bulb: #f87171; animation-delay: -1.8s; box-shadow: 0 0 10px #f87171, 0 0 18px rgba(248, 113, 113, 0.45); }
.peha-xm-bulb::before {
  content: "";
  display: block;
  width: 4px;
  height: 3px;
  margin: -2px auto 0;
  background: #6b7280;
  border-radius: 1px;
}
@keyframes peha-xm-twinkle {
  0%, 100% { opacity: 0.45; filter: brightness(0.85); }
  50% { opacity: 1; filter: brightness(1.25); }
}
.peha-xm-holly {
  position: absolute;
  width: 64px;
  height: 54px;
  opacity: 0.88;
}
.peha-xm-holly--bl { left: 10px; bottom: 8px; }
.peha-xm-holly--br { right: 10px; bottom: 8px; transform: scaleX(-1); }
.peha-xm-holly::before,
.peha-xm-holly::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 18px;
  background: #1f7a3a;
  border-radius: 60% 0 55% 0;
  box-shadow: 0 0 8px rgba(40, 140, 70, 0.4);
}
.peha-xm-holly::before { left: 6px; top: 10px; transform: rotate(-25deg); }
.peha-xm-holly::after { left: 22px; top: 8px; transform: rotate(35deg); border-radius: 0 60% 0 55%; }
.peha-xm-berry {
  position: absolute;
  left: 24px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow:
    9px 2px 0 #dc2626,
    -1px 9px 0 #b91c1c,
    0 0 10px rgba(220, 50, 50, 0.55);
}
.peha-xm-spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffe9a8;
  box-shadow: 0 0 10px rgba(255, 220, 140, 0.85);
  animation: peha-fx-spark 2.8s ease-in-out infinite;
  opacity: 0.7;
}
.peha-xm-spark--1 { top: 14%; left: 12%; }
.peha-xm-spark--2 { top: 28%; right: 16%; animation-delay: -0.9s; }
.peha-xm-spark--3 { bottom: 22%; left: 40%; width: 3px; height: 3px; animation-delay: -1.6s; }

/* Summer warm glow + sun disc + rays */
.peha-su-glow {
  position: absolute;
  top: -10%;
  right: 4%;
  width: min(380px, 60vw);
  height: min(320px, 50vw);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 230, 160, 0.32), transparent 55%),
    radial-gradient(circle at 60% 50%, rgba(246, 173, 85, 0.2), transparent 65%);
  animation: peha-fx-sun 10s ease-in-out infinite;
}
.peha-su-sun {
  position: absolute;
  top: 4%;
  right: 8%;
  width: min(72px, 14vw);
  height: min(72px, 14vw);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff8d6, #ffd56a 45%, #f6ad55 78%);
  box-shadow:
    0 0 40px rgba(255, 200, 80, 0.55),
    0 0 80px rgba(246, 173, 85, 0.28);
  opacity: 0.85;
}
.peha-su-rays {
  position: absolute;
  top: -5%;
  right: -5%;
  width: min(420px, 70vw);
  height: min(360px, 58vw);
  background:
    linear-gradient(108deg, transparent 46%, rgba(255, 220, 140, 0.12) 50%, transparent 54%),
    linear-gradient(92deg, transparent 48%, rgba(255, 240, 200, 0.1) 52%, transparent 56%),
    linear-gradient(124deg, transparent 44%, rgba(246, 173, 85, 0.1) 50%, transparent 56%);
  animation: peha-fx-sun 9s ease-in-out infinite;
  opacity: 0.9;
}

/* Easter pastel eggs + soft grass wash */
.peha-ea-grass {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(18vh, 120px);
  background:
    radial-gradient(ellipse 40% 80% at 15% 100%, rgba(154, 230, 180, 0.22), transparent 70%),
    radial-gradient(ellipse 45% 90% at 55% 100%, rgba(134, 220, 170, 0.18), transparent 68%),
    radial-gradient(ellipse 35% 70% at 88% 100%, rgba(196, 181, 253, 0.12), transparent 70%);
  pointer-events: none;
}
.peha-ea-egg {
  position: absolute;
  width: var(--egg-w, 32px);
  height: var(--egg-h, 42px);
  border-radius: 50% 50% 48% 48%;
  background:
    repeating-linear-gradient(
      120deg,
      transparent 0 4px,
      rgba(255, 255, 255, 0.28) 4px 6px
    ),
    linear-gradient(160deg, var(--egg-a, #f9a8d4), var(--egg-b, #c4b5fd));
  box-shadow:
    inset -4px -4px 8px rgba(0, 0, 0, 0.12),
    0 4px 14px rgba(0, 0, 0, 0.18);
  opacity: 0.88;
  z-index: 2;
}
.peha-ea-egg--1 { left: 3%; bottom: 6%; --egg-a: #f9a8d4; --egg-b: #fda4af; }
.peha-ea-egg--2 { left: 8%; bottom: 4%; --egg-w: 22px; --egg-h: 28px; --egg-a: #a7f3d0; --egg-b: #6ee7b7; transform: rotate(-12deg); }
.peha-ea-egg--3 { right: 4%; bottom: 7%; --egg-a: #c4b5fd; --egg-b: #a5b4fc; transform: rotate(8deg); }
.peha-ea-egg--4 { right: 10%; bottom: 3%; --egg-w: 20px; --egg-h: 26px; --egg-a: #fde68a; --egg-b: #fcd34d; transform: rotate(18deg); }
.peha-ea-egg--5 { left: 14%; bottom: 8%; --egg-w: 18px; --egg-h: 24px; --egg-a: #a5b4fc; --egg-b: #f9a8d4; transform: rotate(-22deg); opacity: 0.7; }
.peha-ea-egg--6 { right: 16%; bottom: 9%; --egg-w: 16px; --egg-h: 22px; --egg-a: #fda4af; --egg-b: #fde68a; transform: rotate(14deg); opacity: 0.65; }

/* New Year gold + firework burst décor */
.peha-ny-gold {
  position: absolute;
  width: min(180px, 34vw);
  height: min(140px, 26vw);
  opacity: 0.65;
  background:
    radial-gradient(circle at 20% 30%, rgba(245, 215, 110, 0.65) 0 2px, transparent 3px),
    radial-gradient(circle at 60% 20%, rgba(255, 248, 220, 0.8) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 40% 70%, rgba(232, 184, 74, 0.55) 0 2px, transparent 3px),
    linear-gradient(135deg, rgba(245, 215, 110, 0.22), transparent 55%);
}
.peha-ny-gold--tl { top: 0; left: 0; }
.peha-ny-gold--tr { top: 0; right: 0; transform: scaleX(-1); }
.peha-ny-gold--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.peha-ny-gold--br { bottom: 0; right: 0; transform: scale(-1); }
.peha-ny-burst {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 160px;
  height: 80px;
  margin-left: -80px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(245, 215, 110, 0.45), transparent 70%),
    radial-gradient(circle at 30% 50%, rgba(255, 107, 116, 0.25) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 45%, rgba(126, 184, 255, 0.3) 0 2px, transparent 3px);
  animation: peha-fx-spark 3.2s ease-in-out infinite;
}
.peha-ny-fw {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  opacity: 0.75;
  background:
    radial-gradient(circle, rgba(245, 215, 110, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle, transparent 28%, rgba(245, 215, 110, 0.35) 30%, transparent 32%),
    conic-gradient(from 0deg, transparent 0 8%, rgba(255, 107, 116, 0.45) 8% 10%, transparent 10% 20%, rgba(126, 184, 255, 0.4) 20% 22%, transparent 22% 33%, rgba(245, 215, 110, 0.5) 33% 35%, transparent 35% 45%, rgba(154, 230, 180, 0.4) 45% 47%, transparent 47% 58%, rgba(255, 182, 100, 0.45) 58% 60%, transparent 60% 100%);
  animation: peha-ny-fw-pulse 4.5s ease-in-out infinite;
  pointer-events: none;
}
.peha-ny-fw--1 { top: 10%; left: 18%; animation-delay: 0s; }
.peha-ny-fw--2 { top: 18%; right: 14%; width: 110px; height: 110px; animation-delay: -1.5s; }
.peha-ny-fw--3 { top: 40%; left: 42%; width: 70px; height: 70px; animation-delay: -2.8s; opacity: 0.55; }
@keyframes peha-ny-fw-pulse {
  0%, 100% { transform: scale(0.55); opacity: 0.2; }
  35% { transform: scale(1.05); opacity: 0.85; }
  70% { transform: scale(1.2); opacity: 0.15; }
}

/* Festive banner — rgba fallbacks first (Chrome <111 / Safari without color-mix) */
.peha-season-banner {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.5rem 1rem;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  color: var(--text);
  background:
    linear-gradient(90deg, transparent, var(--peha-season-accent-soft), transparent),
    linear-gradient(180deg, rgba(16, 12, 10, 0.96), rgba(8, 8, 10, 0.94));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom-color: var(--peha-season-accent-soft, rgba(255, 255, 255, 0.12));
  box-shadow: 0 10px 28px -18px var(--peha-season-glow);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.peha-season-banner[hidden] { display: none !important; }
.peha-season-banner button,
.peha-season-fab {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-color: var(--peha-season-accent-soft, rgba(255, 255, 255, 0.14));
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
  font-size: 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.peha-season-banner button:hover,
.peha-season-fab:hover {
  color: #fff;
  border-color: var(--peha-season-accent);
  background: rgba(255, 30, 50, 0.18);
  background: var(--peha-season-accent-soft);
}
body.peha-festive-off .peha-season-banner button[data-peha-festive-toggle] {
  border-color: var(--peha-season-accent);
  color: var(--peha-season-accent);
  background: var(--peha-season-accent-soft);
}

/* Floating re-enable / toggle when season FX are live */
.peha-season-fab {
  position: fixed;
  right: 12px;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: 16px;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 90;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.peha-season-fab[hidden] { display: none !important; }
.peha-season-fab.is-off {
  border-color: var(--peha-season-accent);
  color: #fff;
  background: #8a3a18;
  background: var(--peha-season-accent);
  animation: peha-fab-pulse 2.4s ease-in-out infinite;
}
@keyframes peha-fab-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 0 var(--peha-season-accent-soft); }
  50% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 8px transparent; }
}

/* FX stage — pointer-events none, mobile-light; explicit size for Chromium */
.peha-season-fx {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  z-index: 40;
  pointer-events: none;
  overflow: hidden;
}
.peha-season-fx[hidden] { display: none !important; }

.peha-fx-particle {
  position: absolute;
  top: -8%;
  left: 0;
  opacity: 0.8;
  animation-name: peha-fx-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  -webkit-animation-name: peha-fx-fall;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
}
body.peha-fx-intensity-low .peha-fx-particle { opacity: 0.5; }
body.peha-fx-intensity-high .peha-fx-particle { opacity: 0.95; }

@keyframes peha-fx-fall {
  0% { transform: translate3d(0, -10vh, 0) rotate(0deg); }
  100% { transform: translate3d(var(--fx-drift, 20px), 110vh, 0) rotate(360deg); }
}
@keyframes peha-fx-snow {
  0% { transform: translate3d(0, -8vh, 0) rotate(0deg); opacity: 0; }
  8% { opacity: 0.85; }
  100% { transform: translate3d(var(--fx-drift, 28px), 108vh, 0) rotate(180deg); opacity: 0.35; }
}
@keyframes peha-fx-bat {
  0% { transform: translate3d(0, 12vh, 0) scaleX(1) rotate(-6deg); }
  35% { transform: translate3d(calc(var(--fx-drift, 35vw) * 0.55), 38vh, 0) scaleX(-1) rotate(4deg); }
  70% { transform: translate3d(calc(var(--fx-drift, 35vw) * 1.05), 18vh, 0) scaleX(1) rotate(-4deg); }
  100% { transform: translate3d(calc(var(--fx-drift, 35vw) * 1.35), -12vh, 0) scaleX(-1) rotate(2deg); }
}
@keyframes peha-fx-spark {
  0%, 100% { opacity: 0.15; transform: scale(0.55); }
  50% { opacity: 1; transform: scale(1.25); }
}
@keyframes peha-fx-confetti {
  0% { transform: translate3d(0, -8vh, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate3d(var(--fx-drift, 40px), 110vh, 0) rotate(720deg); opacity: 0.4; }
}
@keyframes peha-fx-leaf {
  0% { transform: translate3d(0, -6vh, 0) rotate(0deg); }
  50% { transform: translate3d(var(--fx-drift, 30px), 50vh, 0) rotate(120deg); }
  100% { transform: translate3d(calc(var(--fx-drift, 30px) * -0.4), 110vh, 0) rotate(260deg); }
}
@keyframes peha-fx-egg {
  0% { transform: translate3d(0, -6vh, 0) rotate(-10deg); opacity: 0; }
  12% { opacity: 0.85; }
  100% { transform: translate3d(var(--fx-drift, 24px), 110vh, 0) rotate(40deg); opacity: 0.35; }
}

.peha-fx-snow .peha-fx-particle {
  width: var(--fx-size, 5px);
  height: var(--fx-size, 5px);
  border-radius: 50%;
  background: #eef5ff;
  box-shadow: 0 0 6px rgba(200, 220, 255, 0.65);
  animation-name: peha-fx-snow;
  -webkit-animation-name: peha-fx-snow;
}
/* Snowflake cross for larger flakes (no emoji dependency) */
.peha-fx-snow .peha-fx-particle.peha-fx-flake {
  border-radius: 0;
  background:
    linear-gradient(#eef5ff, #eef5ff) center / 100% 22% no-repeat,
    linear-gradient(#eef5ff, #eef5ff) center / 22% 100% no-repeat,
    linear-gradient(45deg, transparent 42%, #e8f2ff 42% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, #e8f2ff 42% 58%, transparent 58%);
  box-shadow: 0 0 8px rgba(200, 220, 255, 0.7);
}
.peha-fx-bats .peha-fx-particle,
.peha-fx-halloween .peha-fx-particle {
  width: 22px;
  height: 10px;
  background: #121216;
  border-radius: 50% 50% 45% 45%;
  box-shadow:
    -9px 1px 0 -1px #121216,
    9px 1px 0 -1px #121216,
    0 0 8px rgba(0, 0, 0, 0.35);
  color: transparent;
  font-size: 0;
  animation-name: peha-fx-bat;
  animation-timing-function: ease-in-out;
  opacity: 0.55;
}
.peha-fx-halloween .peha-fx-particle { opacity: 0.4; }
.peha-fx-bats .peha-fx-particle::before,
.peha-fx-halloween .peha-fx-particle::before { content: none; }
.peha-fx-confetti .peha-fx-particle {
  width: 7px;
  height: 12px;
  border-radius: 1px;
  background: var(--peha-season-accent, #f5d76e);
  animation-name: peha-fx-confetti;
  -webkit-animation-name: peha-fx-confetti;
  box-shadow: 0 0 6px rgba(245, 215, 110, 0.4);
}
.peha-fx-fireworks .peha-fx-particle {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  top: auto;
  left: auto;
  background: #f5d76e;
  box-shadow: 0 0 8px rgba(245, 215, 110, 0.85);
  animation-name: peha-fx-firework;
  -webkit-animation-name: peha-fx-firework;
  animation-timing-function: cubic-bezier(0.15, 0.75, 0.35, 1);
  -webkit-animation-timing-function: cubic-bezier(0.15, 0.75, 0.35, 1);
  animation-iteration-count: infinite;
  opacity: 0;
}
@keyframes peha-fx-firework {
  0% {
    transform: translate3d(0, 0, 0) scale(0.4);
    opacity: 0;
  }
  12% { opacity: 1; }
  100% {
    transform: translate3d(var(--fx-dx, 40px), var(--fx-dy, -60px), 0) scale(0);
    opacity: 0;
  }
}
@-webkit-keyframes peha-fx-firework {
  0% {
    -webkit-transform: translate3d(0, 0, 0) scale(0.4);
    opacity: 0;
  }
  12% { opacity: 1; }
  100% {
    -webkit-transform: translate3d(var(--fx-dx, 40px), var(--fx-dy, -60px), 0) scale(0);
    opacity: 0;
  }
}
.peha-fx-leaves .peha-fx-particle {
  width: 12px;
  height: 10px;
  border-radius: 40% 0 55% 40%;
  background: linear-gradient(135deg, #9ae6b4, #68d391);
  opacity: 0.75;
  animation-name: peha-fx-leaf;
}
.peha-fx-eggs .peha-fx-particle {
  width: 10px;
  height: 13px;
  border-radius: 50% 50% 48% 48%;
  background: linear-gradient(160deg, #f9a8d4, #c4b5fd);
  opacity: 0.7;
  animation-name: peha-fx-egg;
  box-shadow: 0 0 6px rgba(196, 181, 253, 0.35);
}
.peha-fx-sparkles .peha-fx-particle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffe9a8;
  box-shadow:
    0 0 8px rgba(255, 220, 140, 0.85),
    0 0 16px rgba(232, 184, 74, 0.35);
  animation-name: peha-fx-spark;
  animation-duration: 2.2s;
  top: auto;
  bottom: auto;
}
.peha-fx-sparkles .peha-fx-particle:nth-child(3n) {
  width: 3px;
  height: 3px;
  background: #fff8e0;
}
.peha-fx-sunbeams .peha-season-fx::before,
.peha-fx-sunbeams .peha-season-atm::after {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 58%;
  background:
    radial-gradient(ellipse at 70% 0%, rgba(246, 173, 85, 0.22), transparent 58%),
    linear-gradient(105deg, transparent 38%, rgba(255, 220, 140, 0.08) 50%, transparent 62%),
    linear-gradient(85deg, transparent 42%, rgba(255, 240, 200, 0.05) 52%, transparent 62%);
  animation: peha-fx-sun 9s ease-in-out infinite;
}
@keyframes peha-fx-sun {
  0%, 100% { opacity: 0.7; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(-2%); }
}

/* Easter egg hotspots (tiny, accessible via focus) */
.peha-season-egg {
  position: absolute;
  width: 18px;
  height: 18px;
  opacity: 0.15;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  z-index: 5;
}
.peha-season-egg:focus-visible {
  opacity: 0.85;
  outline: 2px solid var(--peha-season-accent);
}
.peha-season-egg--halloween { right: 12%; top: 18%; }
.peha-season-egg--easter { left: 8%; bottom: 22%; }
.peha-season-egg--christmas { right: 6%; top: 8%; }

/* Opt-out: hide FX + atmosphere, keep banner/FAB so visitor can re-enable */
body.peha-festive-off .peha-season-fx,
body.peha-festive-off .peha-season-atm,
body.peha-festive-off.peha-fx-sunbeams .peha-season-fx::before {
  display: none !important;
}

@media (max-width: 720px) {
  body.peha-fx-intensity-medium .peha-fx-particle:nth-child(n + 12),
  body.peha-fx-intensity-low .peha-fx-particle:nth-child(n + 8),
  body.peha-fx-intensity-high .peha-fx-particle:nth-child(n + 18) {
    display: none;
  }
  .peha-season-banner { font-size: 0.75rem; padding: 0.4rem 0.75rem; }
  .peha-season-fab { font-size: 0.72rem; padding: 0.35rem 0.8rem; }
  .peha-hw-pumpkin--lg { --pk-w: 48px; --pk-h: 38px; }
  .peha-hw-pumpkin { --pk-w: 40px; --pk-h: 32px; }
  .peha-hw-pumpkin--sm { --pk-w: 28px; --pk-h: 22px; }
  .peha-xm-lights { height: 22px; }
  .peha-xm-bulb { width: 6px; height: 9px; }
}

/* Reduced motion: keep static décor/wash; hide moving particles + FAB pulse */
@media (prefers-reduced-motion: reduce) {
  .peha-season-fx,
  body.peha-fx-sunbeams .peha-season-fx::before,
  body.peha-fx-sunbeams .peha-season-atm::after {
    display: none !important;
  }
  .peha-fx-particle,
  .peha-hw-spider,
  .peha-hw-mist,
  .peha-xm-bulb,
  .peha-xm-spark,
  .peha-su-glow,
  .peha-su-rays,
  .peha-ny-burst,
  .peha-ny-fw,
  .peha-season-fab.is-off {
    animation: none !important;
    -webkit-animation: none !important;
  }
  body.peha-season-active .logo img {
    filter: none;
  }
}
