/* Festive assets are only included when the server authorizes the design. */
.festive-logo {
  position: relative;
  isolation: isolate;
}
.festive-logo__image {
  display: block;
  width: 100%;
  height: auto;
}
.festive-logo__hat {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.festive-logo--hero {
  z-index: 10;
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
}
.festive-logo--header {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}
/* Match the existing header image crop without clipping the hat. */
.festive-logo--header .festive-logo__hat {
  transform: scale(1.32);
  transition: transform 300ms;
}
.group:hover .festive-logo--header .festive-logo__hat {
  transform: scale(1.4);
}
.festive-design .festive-card--positioned {
  position: relative;
}
.festive-snow {
  position: absolute;
  top: 0;
  inset-inline: 0;
  z-index: 20;
  display: block;
  height: 22px;
  border-start-start-radius: inherit;
  border-start-end-radius: inherit;
  overflow: hidden;
  background: url("festive-snow.svg") top center / 100% 22px no-repeat;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 2px 2px rgb(0 31 40 / .24));
}
.festive-card--small > .festive-snow {
  height: 18px;
  background-size: 100% 18px;
}
.festive-card--compact > .festive-snow {
  height: 14px;
  background-size: 100% 14px;
}
.festive-preview {
  width: calc(100% - 2rem);
  max-width: 1436px;
  margin: 1rem auto 0;
  padding: .75rem 1rem;
  border: 1px solid rgb(106 211 230 / .2);
  border-radius: 14px;
  background: rgb(6 38 47 / .75);
  color: #d8f4f8;
  font-size: .75rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
@media (min-width: 640px) {
  .festive-preview { width: calc(100% - 3rem); }
}
@media (min-width: 1024px) {
  .festive-preview { width: calc(100% - 4rem); }
}
@media (max-width: 600px) {
  .festive-home .festive-hero:has(.festive-logo__hat) { padding-top: 44px; }
  .festive-home .festive-hero:has(.festive-logo__hat) > .festive-hero-telemetry { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .festive-logo--header .festive-logo__hat { transition: none; }
}
