/* Seasonal decoration stays outside the interactive and accessibility layers. */
body:has(.winter-app) {
  background: radial-gradient(ellipse at 50% 0, #1b2c3b, #090e16 64%);
}
.winter-app {
  background: radial-gradient(ellipse 75% 360px at 95% 45px, #30546150, transparent),
    radial-gradient(ellipse 80% 450px at -12% 160px, #374d7840, transparent),
    linear-gradient(170deg, #101d29 0, #0b111a 570px, #0e1823 100%);
}
.winter-app > header { background-color: #101d29e8; }
.winter-app #heroCard > div:first-child {
  background: radial-gradient(ellipse at 85% 12%, #406a826b, transparent 59%),
    linear-gradient(145deg, #213449, #121c29 70%);
}
.winter-app #navTrack { background-color: #152230f5; }
.winter-nft-entry, .winter-nft-head {
  background: radial-gradient(ellipse at 88% 0, #34478460, transparent 69%),
    linear-gradient(135deg, #213348, #121c2a);
}
.winter-garland, .winter-snow, .winter-drift, .winter-baubles {
  pointer-events: none;
  user-select: none;
}
.winter-garland { position: relative; height: 38px; margin: 0 12px 8px; overflow: hidden; }
.winter-garland svg { display: block; width: 100%; height: 38px; overflow: visible; }
.winter-bulb { animation: winter-glow 3.6s ease-in-out infinite alternate; }
.winter-bulb:nth-of-type(3n) { animation-delay: -1.2s; }
.winter-bulb:nth-of-type(3n + 1) { animation-delay: -2.4s; }
.winter-snow {
  position: fixed; top: 0; bottom: 0; left: max(0px, calc(50% - 215px));
  width: min(100%, 430px); overflow: hidden; z-index: 35;
  contain: strict;
}
.winter-flake {
  position: absolute; top: -12px; left: var(--x); width: var(--size); height: var(--size);
  border-radius: 50%; background: #eff8ff; opacity: var(--alpha);
  animation: winter-fall var(--duration) var(--delay) linear infinite;
}
@keyframes winter-fall {
  from { transform: translate3d(0, -12px, 0); }
  to { transform: translate3d(var(--drift), calc(100vh + 24px), 0); }
}
@keyframes winter-glow { from { opacity: .5; } to { opacity: 1; } }
.winter-paused .winter-flake, .winter-paused .winter-bulb { animation-play-state: paused; }
.winter-badge {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 6px;
  color: #e8cf96; font-size: 11px; font-weight: 500; letter-spacing: .02em;
}
.winter-card { position: relative; isolation: isolate; }
.winter-card::after {
  content: ""; position: absolute; pointer-events: none; z-index: 2;
  left: 0; right: 0; bottom: 0; height: 22px;
  border-radius: 0 0 28px 28px;
  background: url('/webapp/static/winter-drifts.svg?v=20261130-2') bottom / 100% 100% no-repeat;
}
.winter-baubles { position: absolute; top: 0; left: 52%; width: 65px; height: 78px; opacity: .85; }
.winter-drift {
  position: fixed; bottom: 0; left: max(0px, calc(50% - 215px)); width: min(100%, 430px);
  height: 30px; z-index: 39;
  background: url('/webapp/static/winter-drifts.svg?v=20261130-2') bottom / 100% 100% no-repeat;
}
:is(#productGrid, #nftGrid) > button { position: relative; }
:is(#productGrid, #nftGrid) > button::after {
  content: ""; position: absolute; top: -3px; right: 10px; width: 60px; height: 14px;
  background: url('/webapp/static/winter-snow-cap.svg?v=20261130-2') center / 100% 100% no-repeat;
  filter: drop-shadow(0 2px 2px #111b2a55); pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .winter-flake, .winter-bulb { animation: none; }
  .winter-snow { display: none; }
}
