/* Christmas login presentation only. Shared portal CSS is deliberately untouched. */
@font-face {
  font-family: Brooke Christmas Script;
  src: url("../fonts/christmas/GreatVibes-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Brooke Christmas Serif;
  src: url("../fonts/christmas/CormorantGaramond.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Brooke Christmas Serif;
  src: url("../fonts/christmas/CormorantGaramond-Italic.ttf") format("truetype");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
body.brooke-auth-page.brooke-christmas {
  --plexus-cyan: #74ddff;
  --christmas-gold: #f5c46c;
  min-height: 100vh;
  margin: 0;
  background: #0b1b2b;
  color: #f1f5fc;
  font-family: "Segoe UI", Arial, sans-serif;
  isolation: isolate;
  overflow-x: hidden;
  color-scheme: dark;
}
.brooke-christmas *,
.brooke-christmas *::before,
.brooke-christmas *::after {
  box-sizing: border-box;
}
.brooke-christmas .christmas-backdrop {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: #132335;
}
.brooke-christmas .christmas-backdrop .brooke-auth-story__video {
  position: absolute;
  inset: -10% auto auto 2%;
  width: 82%;
  height: 86%;
  object-fit: cover;
  object-position: center;
  opacity: 0.77;
  filter: saturate(0.73);
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 13%,
    #000 80%,
    transparent
  );
  border: 0;
  border-radius: 0;
}
.brooke-christmas .christmas-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #091b2d66,
      transparent 25%,
      transparent 67%,
      #0e2033c9 89%
    ),
    linear-gradient(
      180deg,
      #091c2b05 0%,
      #0b1b2b36 23%,
      #102233b8 41%,
      #132335 70%,
      #192638 100%
    );
}
.brooke-christmas .brooke-auth-shell {
  position: relative;
  display: grid;
  grid-template-columns: 31.5% 40.5% 25%;
  gap: 1.5%;
  align-items: center;
  width: 80%;
  max-width: 1800px;
  min-height: 100vh;
  margin: 0 0 0 11.3%;
  padding: 5vh 0 3vh;
  z-index: 3;
}
.brooke-christmas .brooke-auth-story {
  display: block;
  position: relative;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: none;
  overflow: visible;
}
.brooke-christmas .brooke-auth-story::before,
.brooke-christmas .brooke-auth-story::after,
.brooke-christmas .brooke-auth-panel::before {
  display: none;
}
.brooke-christmas .brooke-auth-story__content {
  position: relative;
  max-width: none;
  z-index: 1;
}
.brooke-christmas .brooke-auth-story .brooke-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 20px;
  color: #ffc638;
  font-size: clamp(7px, 0.61vw, 12px);
  font-weight: 700;
  letter-spacing: 1.1px;
  line-height: 1.6;
  text-transform: uppercase;
  white-space: nowrap;
}
.brooke-christmas .brooke-login-signal {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: #ffc638;
  flex: none;
  position: relative;
  margin-right: 5px;
}
.brooke-christmas .brooke-login-signal::after {
  content: "";
  position: absolute;
  right: -8px;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffc638;
}
.brooke-christmas .brooke-auth-story h1 {
  margin: 0 0 18px;
  color: #f3f7ff;
  font-size: clamp(30px, 2.85vw, 62px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1.8px;
  text-shadow: 0 2px 10px #00122455;
}
.brooke-christmas .brooke-auth-story h1 span {
  color: #73c9ef;
  white-space: nowrap;
}
.brooke-christmas .brooke-auth-story .brooke-login-lead {
  display: block;
  margin: 0;
  max-width: 95%;
  color: #e3edf7;
  font-size: clamp(11px, 0.79vw, 16px);
  line-height: 1.65;
  font-weight: 400;
}
.brooke-christmas .brooke-auth-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 16px;
}
.brooke-christmas .brooke-auth-sectors a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 31px;
  padding: 6px 7px;
  border: 1px solid #7098ad88;
  border-radius: 5px;
  background: #102d42b3;
  color: #eef8ff;
  font-size: clamp(8px, 0.52vw, 11px);
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.brooke-christmas .brooke-auth-sectors a::after {
  content: "+";
  font-size: 12px;
  color: #f8bf54;
}
.brooke-christmas .brooke-auth-sectors a:hover {
  background: #274d65;
  border-color: #f5c46c;
}
.brooke-christmas .brooke-login-story-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d4e2ef;
  font-size: clamp(8px, 0.63vw, 13px);
  line-height: 1.5;
}
.brooke-christmas .brooke-login-rule {
  width: 28px;
  height: 1px;
  background: #efc156;
  flex: none;
}
.brooke-christmas .christmas-brand {
  position: absolute;
  right: 6%;
  top: 6.5%;
  z-index: 4;
}
.brooke-christmas .christmas-brand img {
  display: block;
  width: clamp(112px, 9.8vw, 184px);
  height: auto;
  border-radius: 6px;
  filter: drop-shadow(0 5px 18px #0003);
}
.brooke-christmas .brooke-auth-panel {
  position: relative;
  display: block;
  min-height: 0;
  width: auto;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  transform: none;
}
.brooke-christmas .brooke-auth-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0;
  padding: clamp(23px, 2vw, 40px);
  border: 1px solid #c9a86a;
  border-radius: 17px;
  background: linear-gradient(130deg, #3b4c5ee3, #142738e8 75%);
  box-shadow:
    0 18px 50px #0003,
    inset 0 1px 0 #fff2;
  isolation: isolate;
  transform: none;
  overflow: visible;
}
.brooke-christmas .brooke-auth-card h2 {
  position: relative;
  margin: 0 0 7px;
  color: #f7f8ff !important;
  font-size: clamp(23px, 1.55vw, 31px);
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.2;
}
.brooke-christmas .brooke-auth-intro {
  position: relative;
  margin: 0 0 21px;
  color: #f0f4fb !important;
  font-size: clamp(11px, 0.83vw, 15px);
  line-height: 1.5;
}
.brooke-christmas .brooke-auth-card .form-group {
  margin: 0 0 15px;
}
.brooke-christmas .brooke-auth-input {
  position: relative;
}
.brooke-christmas .brooke-auth-input .form-control {
  width: 100%;
  height: 38px;
  min-height: 38px;
  padding: 8px 38px 8px 40px;
  border: 1px solid #9aabba88;
  border-radius: 6px;
  background: #14283c55 !important;
  color: #fff !important;
  font:
    400 clamp(12px, 0.76vw, 15px) / 1.3 "Segoe UI",
    Arial,
    sans-serif;
  box-shadow: inset 0 1px 3px #0001;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.brooke-christmas .brooke-auth-input .form-control::placeholder {
  color: #f0f3f8 !important;
  opacity: 1;
}
.brooke-christmas .brooke-auth-input .form-control:focus {
  outline: none;
  border-color: #ffd68d;
  box-shadow: 0 0 0 3px #edbb5c25;
}
.brooke-christmas .brooke-auth-input .form-control:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  box-shadow: 0 0 0 100px #21374a inset;
}
.brooke-christmas .brooke-auth-input > i {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 17px;
  color: #eaf4ff !important;
}
.brooke-christmas .brooke-password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 100%;
  padding: 0;
  border: 0;
  transform: none;
  background: transparent;
  color: #f5f8ff;
  cursor: pointer;
}
.brooke-christmas .christmas-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin: 11px 0 13px;
}
.brooke-christmas .christmas-remember {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #f0f4fb !important;
  font-size: clamp(10px, 0.68vw, 13px);
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
}
.brooke-christmas .christmas-remember input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #edbd65;
  cursor: pointer;
}
.brooke-christmas .christmas-help-button {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #ffd158;
  font:
    400 clamp(10px, 0.68vw, 13px) / 1.3 "Segoe UI",
    Arial,
    sans-serif;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.brooke-christmas .christmas-help-button[hidden] {
  display: none;
}
.brooke-christmas .brooke-auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  min-height: 39px;
  margin-top: 0;
  padding: 9px 14px;
  border: 1px solid #ffda90;
  border-radius: 7px;
  background: linear-gradient(112deg, #dfa546, #ffe09b 47%, #d89835);
  box-shadow:
    inset 0 1px #fff8,
    0 5px 18px #0002;
  color: #15150e !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  transition:
    box-shadow 0.2s,
    filter 0.2s;
  transform: none;
}
.brooke-christmas .brooke-auth-submit:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 20px #edba6240;
  transform: none;
}
.brooke-christmas .brooke-auth-submit span {
  font-size: 22px;
  font-weight: 400;
  line-height: 0.8;
}
.brooke-christmas .brooke-auth-help {
  display: flex;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #d4e0ed;
  font-size: 11px;
}
.brooke-christmas.christmas-enhanced .brooke-auth-help {
  display: none;
}
.brooke-christmas .brooke-auth-card .alert {
  margin: 0 0 16px;
  padding: 11px;
  font-size: 13px;
  color: #ffd9d9;
  background: #6d2326;
  border: 1px solid #db8b83;
}
.brooke-christmas .christmas-card-lights {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  overflow: visible;
  pointer-events: none;
  z-index: -1;
}
.brooke-christmas .christmas-card-radiance {
  opacity: 0.83;
}
.brooke-christmas .christmas-card-radiance > svg {
  /* Each one-pixel viewport anchors a highlight at the centre of its edge. */
  overflow: visible;
}
@media (hover: hover) and (pointer: fine) {
  .brooke-christmas .christmas-card-radiance {
    transition: opacity 420ms ease-in-out;
  }
  .brooke-christmas .brooke-auth-card:hover .christmas-card-radiance {
    opacity: 0.98;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brooke-christmas .christmas-card-radiance {
    transition: none;
  }
}
.brooke-christmas .brooke-login-controls {
  position: fixed;
  right: 25px;
  bottom: 20px;
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}
.brooke-christmas .brooke-login-motion,
.brooke-christmas .brooke-theme-toggle--auth,
.brooke-christmas .brooke-settings-button {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 35px;
  min-height: 35px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #b7c7d43d;
  border-radius: 8px;
  background: #112a3de8;
  color: #e8f1fa;
  font-size: 11px;
  cursor: pointer;
  box-shadow: none;
}
.brooke-christmas .brooke-theme-toggle--auth {
  width: 35px;
  padding: 0;
}
.brooke-christmas .brooke-login-motion svg,
.brooke-christmas .brooke-settings-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.brooke-christmas .brooke-login-motion[hidden] {
  display: none;
}
.brooke-christmas :is(button, a, input):focus-visible {
  outline: 2px solid #ffd888;
  outline-offset: 4px;
}
/* Text stays in a fixed layout; only its entrance mask and metallic sheen animate. */
.brooke-christmas .christmas-greeting {
  position: relative;
  left: -1.2vw;
  top: 3.6vh;
  text-align: center;
  align-self: center;
  min-width: 0;
  padding: 0 0 6px;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px #07101c80);
}
/* The alpha-separated reference supplies the filled gold, connected swash and divider.
   The SVG keeps highlights registered to all three as the viewport changes. */
.brooke-christmas .christmas-engraving {
  display: block;
  width: 104%;
  height: auto;
  margin: 0 -2%;
  overflow: visible;
  pointer-events: none;
}
.brooke-christmas .christmas-new-year {
  margin: 2px 0 0;
  white-space: nowrap;
  color: #fff8e8;
  font:
    500 italic clamp(27px, 2.95vw, 62px) / 1.2 "Brooke Christmas Serif",
    Georgia,
    serif;
  text-shadow: 0 2px 2px #0005;
}
/* Each photographic cutout moves around its own physical pivot. */
.brooke-christmas .christmas-holly {
  width: 22%;
  aspect-ratio: 549/312;
  margin: 0 auto -1.4%;
  background: url("../img/christmas/holly.webp") center/contain no-repeat;
}
.brooke-christmas .christmas-scenery {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.brooke-christmas .christmas-sprite {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
}
.brooke-christmas .christmas-tree {
  position: absolute;
  width: min(49.5vh, 35vw);
  aspect-ratio: 472/620;
  bottom: 7.6vh;
  background-image: url("../img/christmas/tree.webp");
  transform-origin: 50% 97%;
  animation: christmas-tree-sway 11s ease-in-out infinite alternate;
}
.brooke-christmas .christmas-tree--left {
  left: max(-19.5vh, -14vw);
}
.brooke-christmas .christmas-tree--painted {
  background-image: none;
}
.brooke-christmas .christmas-tree-paint {
  position: absolute;
  inset: 0 auto auto -2.54237%;
  width: 105.08475%;
  height: 100%;
  pointer-events: none;
}

.brooke-christmas .christmas-tree--right {
  right: max(-19.5vh, -14vw);
  animation-delay: -7s;
}
.brooke-christmas .christmas-bough {
  position: absolute;
  top: -4.7vw;
  width: 30vw;
  aspect-ratio: 623/230;
  background-image: url("../img/christmas/bough.webp");
  transform-origin: 15% 20%;
  animation: christmas-branch-sway 8s ease-in-out infinite alternate;
}
.brooke-christmas .christmas-bough--left {
  left: -3vw;
}
.brooke-christmas .christmas-bough--right {
  right: 13vw;
  top: -4.7vw;
  width: 19vw;
  transform-origin: 80% 20%;
  animation-delay: -4s;
}
.brooke-christmas .christmas-gifts {
  position: absolute;
  bottom: 4.8vh;
  width: 22vw;
  aspect-ratio: 609/357;
  background-image: url("../img/christmas/presents.webp");
}
.brooke-christmas .christmas-gifts--left {
  left: 7vw;
}
.brooke-christmas .christmas-gifts--right {
  right: 4vw;
  transform: scaleX(-1);
}
.brooke-christmas .christmas-bow {
  position: relative;
  background-image: url("../img/christmas/ribbon.webp");
  aspect-ratio: 614/317;
  width: 55%;
  margin: 16px auto 0;
  transform-origin: 50% 70%;
  animation: christmas-bow-sway 9s ease-in-out infinite alternate;
}
.brooke-christmas .christmas-snowbank {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 13vh;
  background: url("../img/christmas/snow.webp") center bottom/100% 100%
    no-repeat;
}
.brooke-christmas .christmas-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.brooke-christmas .christmas-ornament {
  position: absolute;
  top: -4px;
  left: var(--x);
  height: var(--drop);
  width: var(--size);
  transform-origin: 50% 0;
  animation: christmas-bulb-swing var(--period) ease-in-out infinite alternate;
  animation-delay: var(--delay);
}
.brooke-christmas .christmas-ornament::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  height: calc(100% - var(--size) + 4px);
  width: 1px;
  background: linear-gradient(#7a571b, #eab353);
  box-shadow: 1px 0 #ffdfa62b;
}
.brooke-christmas .christmas-ornament::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 360/464;
  background: url("../img/christmas/glass.webp") center/contain no-repeat;
  filter: brightness(calc(0.76 + var(--lamp-power, 0.45) * 0.49))
    drop-shadow(0 0 calc(2px + var(--lamp-power, 0.45) * 7px) #ffc26c6b);
}
.brooke-christmas .christmas-ornament-halo {
  position: absolute;
  z-index: 1;
  bottom: calc(var(--bulb-size) * -0.36);
  left: 50%;
  width: calc(var(--bulb-size) * 1.65);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    #ffedb6b0 0%,
    #ffd07561 23%,
    #ffc3611f 50%,
    transparent 70%
  );
  opacity: calc(0.04 + var(--lamp-power, 0.45) * 0.76);
  pointer-events: none;
}
.brooke-christmas .christmas-ornament--crystal::after {
  aspect-ratio: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='g' x2='1' y2='1'%3E%3Cstop stop-color='%23fff5c7'/%3E%3Cstop offset='.52' stop-color='%23e9bc75'/%3E%3Cstop offset='1' stop-color='%23fff5c7'/%3E%3C/linearGradient%3E%3Cpath id='b' d='M32 31V3m0 21-7-7m7 7 7-7m-7 0-5-5m5 5 5-5m-5-2-3-3m3 3 3-3'/%3E%3C/defs%3E%3Cg stroke='url(%23g)' stroke-width='1.7' stroke-linecap='round' fill='none'%3E%3Cuse href='%23b'/%3E%3Cuse href='%23b' transform='rotate(60 32 32)'/%3E%3Cuse href='%23b' transform='rotate(120 32 32)'/%3E%3Cuse href='%23b' transform='rotate(180 32 32)'/%3E%3Cuse href='%23b' transform='rotate(240 32 32)'/%3E%3Cuse href='%23b' transform='rotate(300 32 32)'/%3E%3C/g%3E%3C/svg%3E");
}
.brooke-christmas .christmas-ornament.christmas-ornament--crystal::before {
  height: calc(100% - var(--bulb-size) * 0.96);
}
.brooke-christmas .christmas-ornament--solid::after {
  background-image: url("../img/christmas/bauble.webp");
}
.brooke-christmas .christmas-ornament::before {
  height: calc(100% - var(--size) * 1.24);
}
@keyframes christmas-tree-sway {
  from {
    transform: rotate(-0.65deg);
  }
  to {
    transform: rotate(0.65deg);
  }
}
@keyframes christmas-branch-sway {
  from {
    transform: rotate(-0.9deg) skewX(-0.65deg);
  }
  56% {
    transform: rotate(0.3deg) skewX(0.9deg);
  }
  to {
    transform: rotate(1.2deg) skewX(0.5deg);
  }
}
@keyframes christmas-bow-sway {
  from {
    transform: rotate(-1deg);
  }
  to {
    transform: rotate(1deg);
  }
}
@keyframes christmas-bulb-swing {
  from {
    transform: rotate(-4deg);
  }
  to {
    transform: rotate(4deg);
  }
}
.brooke-christmas.christmas-motion-paused
  :is(.christmas-sprite, .christmas-ornament) {
  animation-play-state: paused;
}

/* Dialogs retain the existing sector interactions and native keyboard/focus behavior. */
.brooke-christmas .brooke-sector-dialog {
  position: fixed;
  inset: 0;
  max-width: 600px;
  width: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 38px;
  border: 1px solid #dbba7a;
  border-radius: 18px;
  background: #132b40f5;
  box-shadow: 0 25px 80px #0008;
  color: #eaf3fc;
  font-family: "Segoe UI", Arial, sans-serif;
  overflow: auto;
  overscroll-behavior: contain;
}
.brooke-christmas .brooke-sector-dialog:not([open]) {
  display: none;
}
.brooke-christmas .brooke-sector-dialog::backdrop {
  background: #041020b3;
  backdrop-filter: blur(5px);
}
.brooke-christmas .brooke-sector-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #adcee633;
  border-radius: 50%;
  background: #e8f3ff09;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}
.brooke-christmas .brooke-sector-eyebrow {
  display: block;
  padding-right: 25px;
  margin-bottom: 18px;
  color: #f1c771;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.7;
}
.brooke-christmas .brooke-sector-dialog h2 {
  margin: 0 20px 18px 0;
  color: #f5f8ff;
  font-size: 28px;
}
.brooke-christmas .brooke-sector-dialog p {
  font-size: 14px;
  line-height: 1.8;
  color: #caddf0;
}
.brooke-christmas .brooke-sector-facts {
  padding: 20px 0 20px 20px;
  margin: 0;
  border-block: 1px solid #a5d8ff30;
  font-size: 13px;
  line-height: 1.8;
}
.brooke-christmas .brooke-sector-facts li + li {
  margin-top: 10px;
}
.brooke-christmas .brooke-sector-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.brooke-christmas .brooke-sector-sources a {
  color: #a2dcff;
  font-size: 13px;
  line-height: 1.7;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.brooke-christmas .brooke-sector-dialog .brooke-sector-caption {
  font-size: 10px;
  margin-top: 18px;
}
.brooke-christmas .christmas-help-dialog small {
  font-size: 11px;
  line-height: 1.8;
  color: #adc6d9;
}
@media (min-width: 1900px) {
  .brooke-christmas .brooke-auth-shell {
    margin-left: auto;
    margin-right: auto;
    max-width: 1550px;
  }
  .brooke-christmas .brooke-auth-input .form-control {
    height: 47px;
  }
  .brooke-christmas .brooke-password-toggle {
    height: 47px;
  }
}
@media (max-width: 1200px) and (min-width: 1001px) {
  .brooke-christmas .brooke-auth-shell {
    width: 86%;
    margin-left: 7%;
    grid-template-columns: 30% 38% 29%;
  }
  .brooke-christmas .brooke-auth-card {
    padding: 22px;
  }
  .brooke-christmas .brooke-auth-story h1 {
    font-size: 32px;
  }

  .brooke-christmas .christmas-new-year {
    font-size: 2.7vw;
  }
  .brooke-christmas .brooke-auth-story .brooke-eyebrow {
    white-space: normal;
    letter-spacing: 0.6px;
  }
  .brooke-christmas .brooke-auth-story h1 span {
    white-space: normal;
  }
}
@media (max-width: 1000px) {
  .brooke-christmas .brooke-auth-shell {
    width: 82%;
    max-width: 720px;
    margin: 0 auto;
    min-height: 100vh;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    padding: 150px 0 170px;
  }
  .brooke-christmas .christmas-greeting {
    left: 0;
    top: 0;
    grid-column: 1;
    grid-row: 1;
  }
  .brooke-christmas .brooke-auth-panel {
    grid-column: 2;
    grid-row: 1;
  }
  .brooke-christmas .brooke-auth-story {
    grid-column: 1/-1;
    grid-row: 2;
    text-align: center;
    max-width: 600px;
    margin: 10px auto 0;
  }
  .brooke-christmas .brooke-auth-story .brooke-eyebrow,
  .brooke-christmas .brooke-auth-sectors,
  .brooke-christmas .brooke-login-story-footer {
    justify-content: center;
  }
  .brooke-christmas .brooke-auth-story .brooke-eyebrow {
    font-size: 9px;
    white-space: normal;
  }
  .brooke-christmas .brooke-auth-story h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }
  .brooke-christmas .brooke-auth-story .brooke-login-lead {
    max-width: 460px;
    margin: auto;
    font-size: 13px;
  }
  .brooke-christmas .brooke-auth-story h1 br:first-child {
    display: none;
  }
  .brooke-christmas .brooke-auth-sectors a {
    font-size: 10px;
  }
  .brooke-christmas .brooke-login-story-footer {
    font-size: 10px;
  }
  .brooke-christmas .brooke-auth-card {
    padding: 25px;
  }

  .brooke-christmas .christmas-new-year {
    font-size: 28px;
  }
  .brooke-christmas .christmas-brand {
    top: 30px;
    right: 6%;
  }
  .brooke-christmas .christmas-tree {
    width: 34vw;
    bottom: 4vh;
  }
  .brooke-christmas .christmas-tree--left {
    left: -20vw;
  }
  .brooke-christmas .christmas-tree--right {
    right: -20vw;
  }
  .brooke-christmas .christmas-gifts {
    width: 28vw;
    bottom: 3vh;
  }
  .brooke-christmas .christmas-gifts--left {
    left: 0;
  }
  .brooke-christmas .christmas-gifts--right {
    right: 0;
  }
  .brooke-christmas .christmas-bough {
    width: 50vw;
    top: -8vw;
  }
  .brooke-christmas .christmas-bough--right {
    right: 25vw;
    width: 25vw;
    top: -6vw;
  }
  .brooke-christmas .christmas-ornament {
    height: calc(var(--drop) * 0.7);
    width: calc(var(--size) * 0.75);
  }
}
@media (max-width: 650px) {
  .brooke-christmas .brooke-auth-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 32px;
    padding: 106px 24px 140px;
  }
  .brooke-christmas .christmas-greeting {
    order: 0;
    width: min(100%, 365px);
    padding: 0;
  }
  .brooke-christmas .brooke-auth-panel {
    order: 1;
    width: 100%;
    max-width: 380px;
  }
  .brooke-christmas .brooke-auth-story {
    order: 2;
    margin: 24px 0 0;
    padding: 0 5px;
    width: 100%;
  }

  .brooke-christmas .christmas-new-year {
    font-size: 27px;
  }
  .brooke-christmas .christmas-holly {
    width: 50px;
    margin: 0 auto 0;
  }
  .brooke-christmas .christmas-bow {
    width: 30%;
    margin: 6px auto 0;
  }
  .brooke-christmas .brooke-auth-card {
    padding: 28px;
    border-radius: 17px;
    background: linear-gradient(135deg, #324658f7, #13283bf7);
  }
  .brooke-christmas .brooke-auth-card h2 {
    font-size: 26px;
  }
  .brooke-christmas .brooke-auth-intro {
    font-size: 13px;
    margin-bottom: 23px;
  }
  .brooke-christmas .brooke-auth-input .form-control {
    height: 46px;
    font-size: 16px;
  }
  .brooke-christmas .brooke-password-toggle {
    height: 46px;
    width: 42px;
  }
  .brooke-christmas .brooke-auth-submit {
    min-height: 46px;
    font-size: 15px;
  }
  .brooke-christmas .christmas-form-options {
    margin: 12px 0 18px;
  }
  .brooke-christmas .christmas-help-button {
    min-height: 32px;
    font-size: 12px;
  }
  .brooke-christmas .christmas-remember {
    font-size: 12px;
  }
  .brooke-christmas .christmas-brand {
    top: 25px;
    right: 24px;
  }
  .brooke-christmas .christmas-brand img {
    width: 108px;
  }
  .brooke-christmas .christmas-tree {
    width: 55vw;
    bottom: 3vh;
    opacity: 0.85;
  }
  .brooke-christmas .christmas-tree--left {
    left: -35vw;
  }
  .brooke-christmas .christmas-tree--right {
    right: -35vw;
  }
  .brooke-christmas .christmas-gifts {
    width: 34vw;
    bottom: 2vh;
  }
  .brooke-christmas .christmas-gifts--left {
    left: -6vw;
  }
  .brooke-christmas .christmas-gifts--right {
    right: -6vw;
  }
  .brooke-christmas .christmas-bough--left {
    width: 65vw;
    top: -11vw;
    left: -8vw;
  }
  .brooke-christmas .christmas-bough--right {
    display: none;
  }
  .brooke-christmas .christmas-ornament:nth-child(n + 4) {
    display: none;
  }
  .brooke-christmas .christmas-ornament {
    left: calc(var(--x) * 1.5);
    height: calc(var(--drop) * 0.5);
    width: calc(var(--size) * 0.6);
  }
  .brooke-christmas .christmas-backdrop::after {
    background: linear-gradient(#0c1e3199, #0b1b2be8 65%);
  }
  .brooke-christmas .christmas-snowbank {
    height: 7vh;
    bottom: 0;
  }
  .brooke-christmas .brooke-auth-story h1 {
    font-size: 34px;
  }
  .brooke-christmas .brooke-auth-story h1 span {
    white-space: normal;
  }
  .brooke-christmas .brooke-auth-sectors a {
    min-height: 40px;
    font-size: 10px;
  }
  .brooke-christmas .brooke-login-controls {
    position: static;
    order: 2;
    margin-top: 14px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .brooke-christmas .brooke-auth-panel {
    display: flex;
    flex-direction: column;
  }
  .brooke-christmas .brooke-sector-dialog {
    padding: 30px 24px;
  }
}
@media (max-width: 360px) {
  .brooke-christmas .christmas-new-year {
    font-size: 26px;
  }
  .brooke-christmas .brooke-auth-shell {
    padding-inline: 18px;
  }
  .brooke-christmas .brooke-auth-card {
    padding: 23px;
  }
  .brooke-christmas .brooke-auth-story h1 {
    font-size: 29px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brooke-christmas :is(.christmas-sprite, .christmas-ornament) {
    animation: none !important;
  }
  .brooke-christmas .christmas-particles {
    display: none;
  }
  .brooke-christmas :is(button, a, input) {
    transition: none !important;
  }
}

.brooke-christmas .brooke-auth-story .brooke-eyebrow::before {
  display: none;
}
@media (min-width: 1201px) {
  .brooke-christmas .brooke-auth-story {
    top: 2vh;
  }
  .brooke-christmas .brooke-auth-sectors {
    flex-wrap: nowrap;
  }
  .brooke-christmas .brooke-auth-sectors a {
    white-space: nowrap;
  }
}
@media (max-width: 1000px) {
  .brooke-christmas .christmas-backdrop .brooke-auth-story__video {
    width: 100%;
    height: 100%;
    inset: 0;
    mask-image: none;
  }
}
html[data-brooke-theme="dark"] .brooke-christmas .brooke-auth-card {
  background: linear-gradient(135deg, #23364bf2, #09192bea);
}

.brooke-christmas .christmas-ornament {
  --bulb-size: var(--size);
  width: var(--bulb-size);
}
.brooke-christmas .christmas-ornament::before {
  height: calc(100% - var(--bulb-size) * 1.24);
}
@media (max-width: 1000px) {
  .brooke-christmas .christmas-ornament {
    --bulb-size: calc(var(--size) * 0.75);
  }
}
@media (max-width: 650px) {
  .brooke-christmas .christmas-ornament {
    --bulb-size: calc(var(--size) * 0.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brooke-christmas .christmas-illumination,
  .brooke-christmas [data-card-traveler] {
    display: none;
  }
}
