.winter-mascot {
  display: inline-block;
  position: relative;
  flex: none;
}
.winter-mascot img { display: block; }
.winter-hat {
  position: absolute;
  left: 35%;
  top: -10%;
  width: 49%;
  height: 28%;
  pointer-events: none;
  transform: rotate(8deg);
  transform-origin: 37% 82%;
}
.winter-hat::before {
  content: "";
  position: absolute;
  inset: -7% 7% 9% 0;
  border-radius: 58% 78% 27% 18% / 95% 75% 35% 15%;
  background:
    radial-gradient(ellipse at 70% 69%, #6e142c80 0%, transparent 48%),
    radial-gradient(ellipse at 45% 95%, #8c142db3 0%, transparent 55%),
    radial-gradient(ellipse at 33% 24%, #ff997c 0%, #e74d48 37%, #b82439 71%, #73132b 100%);
  box-shadow: inset 0 -1px 1px #54102488;
}
.winter-hat::after {
  content: "";
  position: absolute;
  right: -2%;
  top: 40%;
  width: 27%;
  aspect-ratio: 1;
  border-radius: 49% 53% 47% 55%;
  background: radial-gradient(circle at 31% 28%, #fffdf5 21%, #efe3d7 62%, #b5a2aa 100%);
  box-shadow: 0 1px 2px #30112170;
}
.winter-hat i {
  position: absolute;
  bottom: 5%;
  left: -3%;
  width: 84%;
  height: 30%;
  border-radius: 50% 50% 36% 36% / 68% 68% 43% 43%;
  background:
    radial-gradient(ellipse at 23% 23%, #fffdf2 0%, transparent 56%),
    linear-gradient(#fcf6ed 18%, #eaddd4 70%, #baaaad);
  box-shadow: 0 1px 2px #3117217a, inset 0 1px 1px #fffbf3;
}

.advent-lights {
  position: relative;
  isolation: isolate;
  display: flex;
  width: min(100%, 176px);
  justify-content: center;
  align-items: end;
  gap: 10px;
  margin: 0 0 12px;
  padding: 18px 0 12px;
}
.advent-lights::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 41px;
  z-index: -1;
  background: url("/assets/advent-gesteck-3d.webp") center bottom / contain no-repeat;
}
.advent-lights span {
  position:relative; width:15px; height:24px; border-radius:45% 45% 22% 22% / 14% 14% 9% 9%;
  background:linear-gradient(90deg,#562d77,#a47ac0 37%,#8054a0 66%,#4c286b);
  box-shadow:inset 0 2px 2px #f1d6ff66,0 2px 4px #15062280;
}
.advent-lights span[data-lit] {
  background:
    radial-gradient(ellipse, #e8777c 18%, #ce4657 55%, #ce465700 76%) 3px 2px / 2px 5px no-repeat,
    radial-gradient(ellipse, #d65a66 18%, #bc354c 55%, #bc354c00 76%) 9px 2px / 2px 3px no-repeat,
    linear-gradient(90deg,#79243c,#d96062 36%,#a63750 71%,#652039);
  box-shadow:inset 0 2px 3px #ffd2a788,0 2px 4px #15062280;
}
.advent-lights span::after {
  content:""; position:absolute; left:7px; bottom:calc(100% - 1px);
  width:2px; height:5px; background:#392639; border-radius:2px;
}
.advent-lights span[data-lit]::before {
  content:""; position:absolute; left:1px; bottom:calc(100% + 2px); width:9px; height:15px;
  border-radius:70% 35% 52% 50% / 74% 60% 40% 35%;
  background:radial-gradient(ellipse at 50% 72%,#fffbea 0%,#fff2b4 27%,#ffc44d 52%,#ec7825 79%);
  box-shadow:0 0 5px 1px #ffae456e,0 0 12px 3px #ff8d353d;
  transform:rotate(4deg); transform-origin:50% 94%;
}
@media (prefers-reduced-motion: no-preference) {
  .advent-lights span[data-lit]::before { animation:advent-flicker 2.31s infinite; }
  .advent-lights span:nth-child(2n)::before { animation-duration:2.77s; animation-delay:-.85s; }
  .advent-lights span:nth-child(3n)::before { animation-duration:1.97s; animation-delay:-1.55s; }
}
@keyframes advent-flicker {
  0%,100% { transform:rotate(4deg) scale(1,.98); opacity:.96; }
  13% { transform:rotate(-7deg) scale(.91,1.08); opacity:1; }
  22% { transform:rotate(8deg) scale(1.08,.84); opacity:.87; }
  38% { transform:rotate(2deg) scale(.99,1.03); opacity:.98; }
  56% { transform:rotate(-5deg) scale(.95,.91); opacity:.91; }
  69% { transform:rotate(10deg) scale(1.04,1.07); opacity:1; }
  83% { transform:rotate(-4deg) scale(.95,.97); opacity:.94; }
}
