.holiday-banner {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.holiday-banner img {
  display: block;
}

.christmas-hat {
  position: absolute;
  top: 11%;
  left: 3.7%;
  width: 14%;
  height: 35%;
  transform: rotate(-10deg);
  pointer-events: none;
  filter: drop-shadow(0 2px 2px #22080e80);
}

.christmas-hat::before {
  content: "";
  position: absolute;
  inset: 0 7% 10% 5%;
  border-radius: 67% 44% 10% 8% / 75% 85% 12% 16%;
  background: linear-gradient(120deg, #ff6665 5%, #d82036 56%, #8d0f26);
  clip-path: polygon(0 56%, 15% 28%, 44% 3%, 62% 5%, 81% 30%, 99% 91%, 16% 100%, 23% 54%, 3% 76%);
}

.christmas-hat::after,
.christmas-hat i {
  position: absolute;
  background: linear-gradient(160deg, #fff, #fff7ea 65%, #cbd5eb);
}

.christmas-hat::after {
  content: "";
  left: 16%;
  right: 0;
  bottom: 0;
  height: 28%;
  border-radius: 999px 999px 75% 82%;
  transform: rotate(4deg);
}

.christmas-hat i {
  left: -3%;
  top: 41%;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.holiday-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: .95;
  pointer-events: none;
}

body:has(> .holiday-backdrop) {
  isolation: isolate;
}

body:has(> .holiday-backdrop) #minecraft-theme-layer {
  z-index: -2;
}

#introScreen > .holiday-backdrop {
  position: absolute;
  z-index: 1;
}

body:has(#gameModal.active) > .holiday-backdrop {
  visibility: hidden;
}
#holiday-settings {
  text-align: center;
  margin-right: 29px;
}

#holiday-greeting {
  margin: 5px 0 0;
  text-align: center;
}

#holiday-greeting img {
  display: block;
  width: min(245px, 72vw);
  height: auto;
  margin: 0 auto;
}

.halloween-ornament {
  position: absolute;
  height: auto;
  pointer-events: none;
}

.halloween-spider {
  left: 4.6%;
  top: 7%;
  width: 12.8%;
  transform: rotate(-13deg);
}

.halloween-ghost {
  right: 17%;
  top: 5%;
  width: 12.2%;
  transform: rotate(12deg);
}
