/* V4 layout and motion, with the requested greeting, blue palette and ornaments. */
body.brooke-auth-page.brooke-christmas {
  background: #061b46;
}
.brooke-christmas .christmas-backdrop {
  background: #061b46;
}
.brooke-christmas .christmas-backdrop::after {
  background:
    linear-gradient(90deg, #061b4666, transparent 25%, transparent 67%, #0a2e7ac9 89%),
    linear-gradient(180deg, #061b4605 0%, #061b4636 23%, #0a2e7ab8 41%, #061b46 70%, #0a2e7a 100%);
}
.brooke-christmas .brooke-auth-card {
  background: linear-gradient(130deg, #214878e3, #061b46e8 75%);
}
html[data-brooke-theme="dark"] .brooke-christmas .brooke-auth-card {
  background: linear-gradient(135deg, #123669f2, #041536ea);
}
.brooke-christmas .brooke-auth-input .form-control {
  background: #06245255 !important;
}
.brooke-christmas .christmas-new-year {
  position: relative;
  /* Preserve the original text row's footprint and the Christmas word's position. */
  height: 1.2em;
  line-height: 1.2;
}
.brooke-christmas .christmas-bow {
  background-image: url("../img/christmas/pinecone-bow.webp");
  background-size: 88% auto;
  background-position: center bottom;
}
.brooke-christmas .christmas-blue-presents {
  position: absolute;
  right: 14vw;
  bottom: 4.7vh;
  width: min(17vw, 290px);
  aspect-ratio: 691 / 485;
  background-image: url("../img/christmas/blue-gifts.webp");
}
.brooke-christmas .christmas-scenery > .christmas-ornament--snowflake {
  display: block;
}
.brooke-christmas .christmas-ornament--snowflake::after {
  background-image: url("../img/christmas/glass-snowflake.webp");
  aspect-ratio: 369 / 494;
}
@media (max-width: 1000px) {
  .brooke-christmas .christmas-blue-presents {
    width: 22vw;
    right: 17vw;
    bottom: 3vh;
  }
}
@media (max-width: 650px) {
  .brooke-christmas .christmas-backdrop::after {
    background: linear-gradient(#061b4699, #061b46e8 65%);
  }
  .brooke-christmas .brooke-auth-card {
    background: linear-gradient(135deg, #163d70f7, #061b46f7);
  }
  .brooke-christmas .christmas-bow {
    background-size: 76% auto;
  }
  .brooke-christmas .christmas-blue-presents {
    width: 27vw;
    right: 17vw;
    bottom: 2vh;
  }
  .brooke-christmas .christmas-scenery > .christmas-ornament--snowflake {
    left: 3%;
    height: 94px;
  }
}

@font-face {
  font-family: "Brooke Christmas Bodoni";
  src: url("../fonts/christmas/BodoniModa-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
}
/* Both phrases share one responsive SVG coordinate system, within the v6 row. */
.brooke-christmas .christmas-new-year-art {
  position: absolute;
  top: -0.15em;
  left: -2%;
  width: 104%;
  height: auto;
  overflow: visible;
  pointer-events: none;
}
.brooke-christmas .christmas-type-sheen {
  opacity: 0;
  animation: christmas-text-sheen 9s ease-in-out infinite;
}
.brooke-christmas .christmas-underline-sheen {
  opacity: 0;
  animation: christmas-text-sheen 7s ease-in-out infinite;
  animation-delay: -2s;
}
.brooke-christmas .christmas-type-glint {
  opacity: 0;
  transform-origin: 0 0;
  animation: christmas-type-glint 8.6s ease-in-out infinite;
  animation-delay: -1.4s;
}
.brooke-christmas .christmas-type-glint--second { animation-delay: -4.6s; }
.brooke-christmas .christmas-type-glint--third { animation-delay: -6.8s; }
@keyframes christmas-text-sheen {
  0%, 15% { transform: translateX(0); opacity: 0; }
  24% { opacity: 0.46; }
  70% { opacity: 0.46; }
  82%, 100% { transform: translateX(1650px); opacity: 0; }
}
@keyframes christmas-type-glint {
  0%, 68%, 86%, 100% { opacity: 0; transform: scale(0.55); }
  76% { opacity: 0.78; transform: scale(0.9); }
}
.brooke-christmas.christmas-motion-paused .christmas-typography-effects * {
  animation-play-state: paused;
}
@media (max-width: 650px) {
  .brooke-christmas .christmas-new-year-art {
    top: -0.28em;
    left: 4%;
    width: 92%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brooke-christmas .christmas-typography-effects {
    display: none;
  }
  .brooke-christmas .christmas-typography-effects * {
    animation: none;
  }
}
