/* Active household theme. Update the tokens and seasonal decorations here to restyle every page. */
@font-face {
  font-family: "Libre Caslon Text";
  src: url("caslon.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Carattere";
  src: url("carattere.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --household-nav-transition: 1;
  --holiday-patrick: 1;
  --body-font: "Libre Caslon Text", Georgia, serif;
  --heading-font: "Carattere", var(--body-font);
  --ink: #fff5df;
  --muted: #c1c7a9;
  --accent: #f4d58d;
  --on-accent: #243225;
  --line: #526347;
  --input-line: #768467;
  --panel: #21372a;
  --panel-raised: #304836;
  --panel-edge: #847858;
  --tab-active: #39513b;
  --inset: #16271e;
  --page: #101e19;
  --primary: #812838;
  --primary-border: #b46672;
  --on-primary: #fff5df;
  --danger: #ffc6ca;
  --success: #bce2ad;
  --heat: #ffd4a3;
  --cool: #a4deff;
  --subtle-shadow: #090e0c42;
  --deep-shadow: #080e0bb3;
  --dialog-shadow: #0a1710ba;
  --backdrop: #0a160ff0;
  --chart-grid: #465b43;
  --chart-label: #c1c7a9;
  --chart-trend: #f4d58d;
  --chart-shade-top: #f4d58d30;
  --chart-shade-bottom: #f4d58d03;
  --page-background:
    radial-gradient(ellipse at 50% 0%, #344833 0, transparent 41rem),
    radial-gradient(ellipse at 0% 100%, #291c20 0, transparent 48rem),
    var(--page);
  --card-background: linear-gradient(145deg, #293e2e, var(--panel) 68%);
  --login-background: linear-gradient(150deg, #2d4431, var(--panel) 58%);
}

/* Ribbon stripes printed on Christmas wrapping paper. */
body { isolation: isolate; }
.holiday-wrapping {
  display: block;
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    repeating-linear-gradient(45deg, #ffecd909 0 1px, transparent 1px 3px),
    repeating-linear-gradient(135deg,
      #682338 0 1.7rem,
      #803043 1.7rem 2.05rem,
      #c3a274 2.05rem 2.12rem,
      #583044 2.12rem 2.38rem,
      #263d31 2.38rem 3.64rem,
      #3b5340 3.64rem 3.87rem,
      #b39162 3.87rem 3.94rem,
      #66263a 3.94rem 4.1rem);
}
.holiday-wrapping::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, #101c16b5, transparent 61%),
    linear-gradient(180deg, #111c1645, #111c1617 52%, #101e1966);
}

.holiday-snow {
  display: block;
  position: absolute;
  inset: 0;
}
.holiday-snow-far {
  z-index: 1;
  --snow-duration: 15s;
  --snow-drift: -1.5rem;
  --snow-delay-offset: 0s;
  --snow-size: clamp(.75rem, 1.7vw, 1rem);
  color: #e7f1f9;
  opacity: .62;
}
.holiday-snow-near {
  z-index: 3;
  --snow-duration: 11s;
  --snow-drift: 2.1rem;
  --snow-delay-offset: -2.3s;
  --snow-size: clamp(1.18rem, 3vw, 1.68rem);
  color: #fffdf6;
  opacity: .92;
}
.holiday-flake {
  position: absolute;
  top: var(--flake-y);
  left: var(--flake-x);
  width: var(--snow-size);
  aspect-ratio: 1;
  transform: rotate(var(--flake-angle));
  filter: drop-shadow(0 0 1.4px #1c3545dd);
}
/* A branching stem drawn three times makes one six-point crystal. */
.holiday-flake::before,
.holiday-flake::after,
.holiday-flake > span {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  clip-path: polygon(
    46% 0, 54% 0, 54% 21%, 65% 8%, 71% 13%, 54% 33%,
    54% 67%, 71% 87%, 65% 92%, 54% 79%, 54% 100%, 46% 100%,
    46% 79%, 35% 92%, 29% 87%, 46% 67%, 46% 33%, 29% 13%,
    35% 8%, 46% 21%
  );
}
.holiday-flake::before { transform: rotate(60deg); }
.holiday-flake::after { transform: rotate(120deg); }
.holiday-flake:nth-child(1) { --flake-x: 5%; --flake-y: 19%; --flake-delay: -.7s; --flake-angle: 12deg; }
.holiday-flake:nth-child(2) { --flake-x: 16%; --flake-y: 72%; --flake-delay: -8.1s; --flake-angle: 36deg; }
.holiday-flake:nth-child(3) { --flake-x: 28%; --flake-y: 43%; --flake-delay: -4.4s; --flake-angle: 4deg; }
.holiday-flake:nth-child(4) { --flake-x: 41%; --flake-y: 88%; --flake-delay: -10.7s; --flake-angle: 24deg; }
.holiday-flake:nth-child(5) { --flake-x: 54%; --flake-y: 56%; --flake-delay: -6.5s; --flake-angle: 48deg; }
.holiday-flake:nth-child(6) { --flake-x: 66%; --flake-y: 25%; --flake-delay: -2.6s; --flake-angle: 17deg; }
.holiday-flake:nth-child(7) { --flake-x: 79%; --flake-y: 67%; --flake-delay: -9.8s; --flake-angle: 31deg; }
.holiday-flake:nth-child(8) { --flake-x: 90%; --flake-y: 38%; --flake-delay: -5.7s; --flake-angle: 53deg; }

@media (prefers-reduced-motion: no-preference) {
  .holiday-flake {
    top: -2.5rem;
    animation: holiday-snowfall var(--snow-duration) linear
      calc(var(--flake-delay) + var(--snow-delay-offset)) infinite;
  }

  @keyframes holiday-snowfall {
    from { transform: translate3d(0, 0, 0) rotate(var(--flake-angle)); }
    50% { transform: translate3d(var(--snow-drift), calc(50vh + 2.5rem), 0) rotate(calc(var(--flake-angle) + 42deg)); }
    to { transform: translate3d(0, calc(100vh + 5rem), 0) rotate(calc(var(--flake-angle) + 84deg)); }
  }
}

/* Christmas decorations and space for the holiday portrait. */
.dashboard-masthead {
  grid-template-columns: minmax(0, 1fr) clamp(9rem, 22vw, 13rem) max-content;
  grid-template-areas: "intro illustration weather";
}
.login-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(4.85rem, 19vw, 7.05rem);
  align-items: center;
  gap: .6rem;
}
.login-panel label[for="pin"] {
  color: var(--accent);
  font: 700 1rem/1.35 var(--body-font);
}
.login {
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  row-gap: .55rem;
  padding: max(.85rem, env(safe-area-inset-top, 0px))
    max(.75rem, env(safe-area-inset-right, 0px))
    env(safe-area-inset-bottom, 0px)
    max(.75rem, env(safe-area-inset-left, 0px));
}
.login-panel :is(input[type="password"], button[type="submit"]) { min-height: 2.75rem; }
.login-gary-lane {
  --gary-size: clamp(4.2rem, 15vw, 7rem);
  --gary-travel-time: 72s;
  display: block;
  position: relative;
  width: 100%;
  height: calc(var(--gary-size) + .55rem);
  overflow: hidden;
  pointer-events: none;
}
.login-gary-traveler {
  position: absolute;
  inset: 0 calc(var(--gary-size) + .35rem) 0 .35rem;
  transform: translate3d(18%, 0, 0);
}
.login-gary-frame {
  position: absolute;
  bottom: .18rem;
  left: 0;
  width: var(--gary-size);
  aspect-ratio: 1;
}
.login-gary-sprite {
  position: absolute;
  inset: 0;
  transform-origin: center 96%;
  filter: drop-shadow(0 .14rem .16rem #0b170dbb);
}
.login-gary-sprite img {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: auto;
}
.login-gary-hat {
  position: absolute;
  left: 14%;
  bottom: 79%;
  width: 37%;
  height: 24%;
  transform: rotate(-11deg);
  transform-origin: 62% 97%;
  filter: drop-shadow(0 0 .65px #301522) drop-shadow(0 .5px .35px #301522);
}
.login-gary-hat::before,
.login-gary-hat::after,
.login-gary-hat > span {
  content: "";
  position: absolute;
}
.login-gary-hat::before {
  inset: 0 3% 18% 0;
  background: linear-gradient(152deg, #ff6262, #de2439 51%, #a91834);
  clip-path: polygon(1% 62%, 9% 35%, 23% 17%, 43% 5%, 61% 3%, 73% 10%,
    84% 26%, 92% 55%, 100% 100%, 36% 100%, 46% 64%, 51% 42%, 34% 44%,
    21% 66%, 14% 79%, 4% 74%);
}
.login-gary-hat::after {
  inset: auto 0 0 32%;
  height: 31%;
  border-radius: 24% 24% 24% 24% / 47% 47% 47% 47%;
  background: linear-gradient(#fffdf3 26%, #ead8cf 100%);
}
.login-gary-hat > span {
  bottom: 15%;
  left: -5%;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fffdf3 35%, #ead8cf 94%);
}
@media (max-width: 40rem) {
  .login-gary-lane { --gary-travel-time: 46s; }
}
@media (prefers-reduced-motion: no-preference) {
  .login-gary-traveler { animation: login-gary-travel var(--gary-travel-time) linear -8s infinite; }
  .login-gary-frame { animation: login-gary-turn var(--gary-travel-time) step-end -8s infinite; }
  .login-gary-sprite { animation: login-gary-scoot 2.7s ease-in-out infinite; }

  @keyframes login-gary-travel {
    0%, 100% { transform: translate3d(0, 0, 0); }
    46%, 50% { transform: translate3d(100%, 0, 0); }
    96% { transform: translate3d(0, 0, 0); }
  }
  @keyframes login-gary-turn {
    0%, 98%, 100% { transform: scaleX(1); }
    48% { transform: scaleX(-1); }
  }
  @keyframes login-gary-scoot {
    0%, 100% { transform: scale(1, 1); }
    35% { transform: rotate(2deg) scale(1.035, .95); }
    70% { transform: rotate(-1.5deg) scale(.985, 1.035); }
  }
}
.holiday-portrait {
  display: block;
  position: relative;
  flex: none;
  isolation: isolate;
}
.holiday-portrait::before {
  content: "";
  position: absolute;
  inset: 5% -8% 0;
  z-index: -1;
  background: radial-gradient(ellipse, #f8cd7159, transparent 68%);
}
.holiday-portrait img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 .32rem .35rem #0b170dbb);
}
.holiday-portrait-dashboard { grid-area: illustration; align-self: center; }
.holiday-portrait-login { margin-block: -.55rem -.3rem; }
.holiday-portrait-eyes { position: absolute; inset: 0; pointer-events: none; }
.portrait-eye {
  position: absolute;
  width: 14.5%;
  height: 15%;
  transform: translate(-50%, -50%);
}
.portrait-eye-left {
  top: 34.8%;
  left: 36.35%;
  --eye-cover: polygon(0 0, 100% 0, 100% 95%, 76% 84%, 65% 71%, 53% 68%, 40% 80%, 43% 100%, 0 100%);
  --twinkle-delay: -.2s;
}
.portrait-eye-right {
  top: 35.65%;
  left: 49.75%;
  --eye-cover: polygon(0 0, 100% 0, 100% 55%, 88% 67%, 79% 83%, 100% 100%, 0 100%);
  --twinkle-delay: -.63s;
}
.portrait-eye::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(#fff36b 10% 46%, #3f2142 48% 55%, #f5df54 57%);
  clip-path: var(--eye-cover);
  transform: scaleY(0);
  opacity: 0;
}
.portrait-eye::after {
  content: "";
  position: absolute;
  top: 37%;
  left: 53%;
  width: 80%;
  aspect-ratio: 1;
  background: #fff9d6;
  clip-path: polygon(50% 0, 58% 36%, 69% 29%, 64% 42%, 100% 50%, 64% 58%,
    71% 71%, 58% 64%, 50% 100%, 42% 64%, 29% 71%, 36% 58%, 0 50%, 36% 42%,
    29% 29%, 42% 36%);
  transform: translate(-50%, -50%) scale(.4);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .portrait-eye::before { animation: santa-sponge-blink 5.6s ease-in-out infinite; }
  .portrait-eye::after { animation: santa-sponge-twinkle 5.6s ease-in-out var(--twinkle-delay) infinite; }

  @keyframes santa-sponge-blink {
    0%, 67%, 73%, 100% { transform: scaleY(0); opacity: 0; }
    69.5%, 70.5% { transform: scaleY(1); opacity: 1; }
  }
  @keyframes santa-sponge-twinkle {
    0%, 28%, 100% { transform: translate(-50%, -50%) rotate(-15deg) scale(.4); opacity: 0; }
    10%, 16% { transform: translate(-50%, -50%) rotate(12deg) scale(1); opacity: 1; }
  }
}

.household-transition {
  position: fixed;
  z-index: 100;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #18271ee6, #0b1511b8 76%);
}
.household-transition::before {
  content: "";
  position: absolute;
  inset: calc(50% + clamp(2.25rem, 7.5vw, 3.65rem)) 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f4d58d72, transparent);
}
.holiday-chase-track {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: end;
  gap: clamp(.85rem, 3vw, 2.1rem);
  width: max-content;
  font-size: clamp(4.5rem, 15vw, 7.2rem);
  transform: translate3d(-100%, -50%, 0);
}
.holiday-runner {
  position: relative;
  width: .7em;
  height: 1em;
}
.holiday-runner::after {
  content: "";
  position: absolute;
  inset: auto .01em -.055em;
  height: .11em;
  background: radial-gradient(ellipse, #020704bc, transparent 70%);
}
.holiday-runner-body {
  position: absolute;
  z-index: 1;
  inset: 0;
  transform-origin: center 84%;
}
.holiday-runner-body > span { position: absolute; }
.holiday-arm, .holiday-leg { transform-origin: center 14%; }
.holiday-arm-front { z-index: 2; }

.holiday-nutcracker { --step-offset: -.11s; }
.holiday-nutcracker-hat {
  z-index: 4;
  top: .018em;
  left: .172em;
  width: .37em;
  height: .274em;
  border: .012em solid #dfbb79;
  border-bottom: .04em solid #e1b965;
  border-radius: .055em .055em .026em .026em;
  background: radial-gradient(circle at 53% 52%, #fff3bb 0 11%, #c99a4b 13% 16%, transparent 18%),
    linear-gradient(135deg, #393d3f, #111919 67%);
  box-shadow: 0 .027em #100f10;
}
.holiday-nutcracker-head {
  z-index: 3;
  top: .273em;
  left: .211em;
  width: .287em;
  height: .219em;
  border: .011em solid #74422c;
  border-radius: .035em .038em .076em .069em;
  background: radial-gradient(circle at 32% 32%, #27242b 0 8%, transparent 9%),
    radial-gradient(circle at 72% 32%, #27242b 0 8%, transparent 9%),
    radial-gradient(circle at 14% 57%, #cc685b 0 13%, transparent 15%),
    radial-gradient(circle at 92% 57%, #cc685b 0 13%, transparent 15%),
    linear-gradient(120deg, #ffe6bb, #dc9d70);
  box-shadow: -.058em .018em 0 -.008em #e1ddd0, .058em .018em 0 -.008em #e1ddd0;
}
.holiday-nutcracker-head::before {
  content: "";
  position: absolute;
  top: .083em;
  left: .04em;
  width: .184em;
  height: .055em;
  background: #28242a;
  clip-path: polygon(0 22%, 28% 39%, 50% 0, 72% 39%, 100% 22%, 88% 84%, 59% 83%, 50% 58%, 41% 83%, 12% 84%);
}
.holiday-nutcracker-head::after {
  content: "";
  position: absolute;
  top: .142em;
  left: .083em;
  width: .1em;
  height: .045em;
  border: .01em solid #633b34;
  border-radius: .008em;
  background: repeating-linear-gradient(90deg, #fff4dc 0 .024em, #855549 .024em .032em);
}
.holiday-jacket {
  top: .455em;
  left: .193em;
  width: .345em;
  height: .27em;
  border: .012em solid #6f2630;
  border-bottom: .043em solid #302623;
  border-radius: .059em .059em .032em .032em;
  background: radial-gradient(circle at 48% 29%, #fff0a5 0 6%, transparent 7%),
    radial-gradient(circle at 48% 53%, #fff0a5 0 6%, transparent 7%),
    radial-gradient(circle at 48% 77%, #fff0a5 0 6%, transparent 7%),
    linear-gradient(104deg, #a92e40 0 10%, #f0c16e 11% 18%, #b63849 19% 80%, #f0c16e 81% 88%, #a92e40 89%);
}
.holiday-nutcracker .holiday-arm {
  top: .475em;
  width: .113em;
  height: .25em;
  left: .224em;
  border-radius: .057em;
  background: linear-gradient(#edce85 0 14%, #ad3545 15% 63%, #e6b768 64% 75%, #ffdcb8 76%);
  box-shadow: inset -.017em 0 #651b324f;
}
.holiday-nutcracker .holiday-arm-front { left: .433em; }
.holiday-nutcracker .holiday-leg {
  top: .66em;
  left: .23em;
  width: .114em;
  height: .31em;
  border-radius: .04em .041em .03em .03em;
  background: linear-gradient(#eece90 0 8%, #ddc8a2 9% 51%, #18212a 52%);
  box-shadow: inset -.02em 0 #0e121a45;
}
.holiday-nutcracker .holiday-leg-front { left: .377em; }
.holiday-nutcracker .holiday-leg::after {
  content: "";
  position: absolute;
  right: -.049em;
  bottom: 0;
  width: .117em;
  height: .065em;
  border-radius: .035em;
  background: #18212a;
}

.holiday-gingerbread { --step-offset: -.03s; }
.holiday-gingerbread .holiday-arm, .holiday-gingerbread .holiday-leg {
  background: #ba6b31;
  box-shadow: inset -.023em -.012em #965126;
}
.holiday-gingerbread .holiday-arm {
  top: .492em;
  left: .209em;
  width: .126em;
  height: .243em;
  border-radius: .06em;
  background: linear-gradient(#c67a3a 0 68%, #fff1d1 69% 78%, #ba6b31 79%);
}
.holiday-gingerbread .holiday-arm-front { left: .438em; }
.holiday-gingerbread .holiday-leg {
  top: .691em;
  left: .232em;
  width: .137em;
  height: .285em;
  border-radius: .062em;
  background: linear-gradient(#c77b3e 0 65%, #fff1d1 66% 76%, #ba6b31 77%);
}
.holiday-gingerbread .holiday-leg-front { left: .388em; }
.holiday-cookie-torso {
  top: .458em;
  left: .2em;
  width: .365em;
  height: .304em;
  border: .012em solid #8a4724;
  border-radius: 36% 34% 45% 43%;
  background: radial-gradient(circle at 54% 45%, #ac2940 0 8%, #fff0d9 9% 11%, transparent 12%),
    radial-gradient(circle at 53% 72%, #2e704e 0 8%, #fff0d9 9% 11%, transparent 12%),
    linear-gradient(140deg, #dc9452, #b16731 70%);
}
.holiday-cookie-head {
  z-index: 3;
  top: .166em;
  left: .19em;
  width: .404em;
  height: .348em;
  border: .012em solid #8f4925;
  border-radius: 49% 46% 47% 47%;
  background: radial-gradient(circle at 37% 42%, #fff1d1 0 6%, transparent 8%),
    radial-gradient(circle at 69% 42%, #fff1d1 0 6%, transparent 8%),
    radial-gradient(circle at 78% 61%, #e99b82 0 7%, transparent 8%),
    radial-gradient(circle at 23% 60%, #e99b82 0 7%, transparent 8%),
    linear-gradient(135deg, #e3a260, #bc7037 72%);
  box-shadow: inset 0 0 0 .019em #edb475;
}
.holiday-cookie-head::after {
  content: "";
  position: absolute;
  top: .168em;
  left: .137em;
  width: .117em;
  height: .074em;
  border-bottom: .019em solid #fff1d1;
  border-radius: 50%;
}

@media (prefers-reduced-motion: no-preference) {
  .holiday-chase-track { animation: holiday-chase-run 1.1s linear both; }
  .holiday-runner-body { animation: holiday-chase-bounce .23s ease-in-out var(--step-offset) infinite; }
  .holiday-arm, .holiday-leg { animation: holiday-chase-stride .21s ease-in-out var(--step-offset) infinite alternate; }
  .holiday-arm-front, .holiday-leg-back { animation-direction: alternate-reverse; }
  @keyframes holiday-chase-run {
    from { transform: translate3d(-100%, -50%, 0); }
    to { transform: translate3d(100vw, -50%, 0); }
  }
  @keyframes holiday-chase-bounce {
    0%, 100% { transform: translateY(0) rotate(9deg); }
    50% { transform: translateY(-.054em) rotate(13deg); }
  }
  @keyframes holiday-chase-stride {
    from { transform: rotate(-47deg); }
    to { transform: rotate(52deg); }
  }
}

.christmas-countdown:not([hidden]) {
  display: grid;
  position: relative;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(.7rem, 3vw, 1rem);
  margin: 0 0 1.2rem;
  padding: .78rem 1.5rem .72rem .8rem;
  border: 1px solid #b79a5e;
  border-radius: .82rem;
  background: radial-gradient(ellipse at 12% 30%, #d4a76023, transparent 70%),
    linear-gradient(122deg, #314a32, #1a2d23 73%);
  box-shadow: inset 0 0 0 2px #f5cf8320;
}
.christmas-countdown::after {
  content: "";
  position: absolute;
  right: .65rem;
  top: .6rem;
  width: .74rem;
  aspect-ratio: 1;
  background: var(--accent);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
}
.christmas-countdown-number {
  display: grid;
  position: relative;
  place-items: center;
  width: clamp(3.5rem, 14vw, 4.1rem);
  aspect-ratio: 1;
  border: 1px solid #f1c988;
  border-radius: 50%;
  background: radial-gradient(ellipse at 26% 21%, #ffe0b550, transparent 41%),
    linear-gradient(145deg, #ae3e4a, #7c2031 76%);
  box-shadow: 0 .22rem .65rem #10090775, inset 0 0 0 2px #fad99a2b;
  color: #fff5df;
  font: 700 clamp(1.25rem, 5vw, 1.87rem)/1 var(--body-font);
  font-variant-numeric: lining-nums tabular-nums;
}
.christmas-countdown-number::before {
  content: "";
  position: absolute;
  top: -.29rem;
  left: 36%;
  width: 28%;
  height: .43rem;
  border: 1px solid #e1bc75;
  border-radius: .12rem;
  background: repeating-linear-gradient(90deg, #80613b 0 2px, #cba066 2px 4px);
}
.christmas-countdown-label {
  color: var(--accent);
  font: 400 clamp(1.65rem, 6.3vw, 2.35rem)/1.08 var(--heading-font);
}

.holiday-lights {
  --sag: clamp(.68rem, 2.4vw, 1.12rem);
  --bulb: clamp(.77rem, 1.85vw, 1.42rem);
  position: relative;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  justify-items: center;
  margin: 0 0 clamp(1.4rem, 4vw, 2.3rem);
  padding: 0 .45rem;
  pointer-events: none;
}
.holiday-lights::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: var(--sag);
  border-bottom: .17rem solid #132419;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  box-shadow: 0 1px #788161;
}
.holiday-lights span {
  --glass: #ee5262;
  --glass-dark: #920c2d;
  --glow: #ed37584d;
  --tilt: 0deg;
  --drop: 1;
  position: relative;
  width: var(--bulb);
  height: calc(var(--bulb) * 1.63);
  margin-top: calc(var(--sag) * var(--drop));
  transform: rotate(var(--tilt));
  transform-origin: center top;
}
.holiday-lights span::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #ffebc94a;
  border-radius: 43% 43% 51% 51% / 29% 29% 72% 72%;
  background:
    radial-gradient(ellipse at 31% 25%, #fff5ccda 0, #fff0c46b 11%, transparent 31%),
    repeating-linear-gradient(80deg, #fff1c51f 0 6%, transparent 7% 24%),
    linear-gradient(145deg, var(--glass) 0 43%, var(--glass-dark) 99%);
  box-shadow: inset -.13rem -.14rem .21rem #2b101861, 0 .16rem .78rem .12rem var(--glow);
}
.holiday-lights span::after {
  content: "";
  position: absolute;
  top: -.34rem;
  left: 21%;
  width: 58%;
  height: .48rem;
  border: 1px solid #201e15;
  border-radius: .08rem;
  background: repeating-linear-gradient(0deg, #aaa07e 0 1px, #695e46 1px 3px, #383327 3px 4px);
  box-shadow: 0 1px .12rem #06100c;
}
.holiday-lights span:nth-child(5n+2) { --glass: #ffd371; --glass-dark: #bf651a; --glow: #ffc66147; }
.holiday-lights span:nth-child(5n+3) { --glass: #88d179; --glass-dark: #237443; --glow: #71d86b46; }
.holiday-lights span:nth-child(5n+4) { --glass: #6ab5ef; --glass-dark: #29568e; --glow: #61aefa49; }
.holiday-lights span:nth-child(5n+5) { --glass: #fff0bf; --glass-dark: #b99a50; --glow: #fff0bc47; }
.holiday-lights span:first-child { --shimmer-step: 0; --drop: .49; --tilt: 17deg; }
.holiday-lights span:nth-child(2) { --shimmer-step: 1; --drop: .75; --tilt: 13deg; }
.holiday-lights span:nth-child(3) { --shimmer-step: 2; --drop: .89; --tilt: 9deg; }
.holiday-lights span:nth-child(4) { --shimmer-step: 3; --drop: .97; --tilt: 5deg; }
.holiday-lights span:nth-child(5) { --shimmer-step: 4; --tilt: 2deg; }
.holiday-lights span:nth-child(6) { --shimmer-step: 5; --tilt: -2deg; }
.holiday-lights span:nth-child(7) { --shimmer-step: 6; --drop: .97; --tilt: -5deg; }
.holiday-lights span:nth-child(8) { --shimmer-step: 7; --drop: .89; --tilt: -9deg; }
.holiday-lights span:nth-child(9) { --shimmer-step: 8; --drop: .75; --tilt: -13deg; }
.holiday-lights span:last-child { --shimmer-step: 9; --drop: .49; --tilt: -17deg; }
.login-panel .holiday-lights { --sag: .75rem; --bulb: clamp(.69rem, 1.6vw, 1rem); margin-bottom: 1.45rem; }

.holiday-patrick {
  position: fixed;
  z-index: 25;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.holiday-patrick:not([data-phase]) { visibility: hidden; }
.holiday-patrick-sprite, .holiday-patrick-puff {
  position: absolute;
  top: 0;
  left: 0;
}
.holiday-patrick-sprite {
  --patrick-grip-left-x: .050;
  --patrick-grip-left-y: .279;
  --patrick-grip-right-x: .939;
  --patrick-grip-right-y: .259;
  width: clamp(3.25rem, 14vw, 6.25rem);
  aspect-ratio: 378 / 487;
  transform-origin: 0 0;
  filter: drop-shadow(0 .18rem .22rem #101811ad);
}
.holiday-patrick-sprite > img { display: block; width: 100%; height: auto; }
.holiday-patrick-hat {
  position: absolute;
  top: -10%;
  left: 15%;
  width: 47%;
  height: 23%;
  transform: rotate(-13deg);
  transform-origin: 60% 92%;
  filter: drop-shadow(0 .5px .4px #571928);
}
.holiday-patrick-hat::before, .holiday-patrick-hat::after, .holiday-patrick-hat i {
  content: "";
  position: absolute;
}
.holiday-patrick-hat::before {
  inset: 0 2% 17% 0;
  background: linear-gradient(162deg, #ff7566, #dd2937 56%, #9f1930);
  clip-path: polygon(2% 70%, 12% 32%, 25% 11%, 46% 0, 64% 9%, 76% 25%,
    88% 57%, 100% 100%, 32% 100%, 48% 39%, 30% 43%, 20% 74%, 10% 85%);
}
.holiday-patrick-hat::after {
  inset: auto 0 0 29%;
  height: 28%;
  border-radius: 28% / 42%;
  background: linear-gradient(#fffdf5 26%, #e9dbcf);
}
.holiday-patrick-hat i {
  left: -5%;
  bottom: 11%;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 25%, #fffdf6, #eadbcf 84%);
}
.holiday-patrick-scarf {
  position: absolute;
  top: 49.5%;
  left: 33%;
  width: 34%;
  height: 7.5%;
  border: 1px solid #64233c;
  border-radius: 32% 30% 35% 25%;
  transform: rotate(8deg);
  background: repeating-linear-gradient(120deg, #a62e3e 0 24%, #ffe0a3 25% 35%, #246545 36% 62%);
}
.holiday-patrick-scarf::after {
  content: "";
  position: absolute;
  top: 58%;
  right: 6%;
  width: 25%;
  height: 184%;
  border: 1px solid #64233c;
  border-radius: 0 0 18% 16%;
  background: repeating-linear-gradient(#a62e3e 0 24%, #ffe0a3 25% 35%, #246545 36% 53%);
  transform: rotate(-24deg);
  transform-origin: center top;
}
.holiday-patrick-puff {
  width: clamp(3.8rem, 16vw, 6rem);
  height: 1.25rem;
  transform-origin: center bottom;
  opacity: 0;
  background:
    radial-gradient(circle at 7% 82%, #fffdf2 0 6%, transparent 7%),
    radial-gradient(circle at 24% 44%, #eef6ff 0 8%, transparent 9%),
    radial-gradient(circle at 44% 22%, #fffdf2 0 6%, transparent 7%),
    radial-gradient(circle at 58% 71%, #e5f1ff 0 9%, transparent 10%),
    radial-gradient(circle at 78% 34%, #fffdf2 0 6%, transparent 7%),
    radial-gradient(circle at 93% 75%, #fffdf2 0 6%, transparent 7%);
}

@media (max-height: 39rem) {
  .login { row-gap: .25rem; padding-top: max(.5rem, env(safe-area-inset-top, 0px)); }
  .login-panel { padding: .7rem .85rem; }
  .login-panel .holiday-lights { --sag: .46rem; margin-bottom: .85rem; }
  .login-masthead { margin-bottom: .55rem; }
  .christmas-countdown:not([hidden]) { margin-bottom: .6rem; padding-block: .5rem; }
  .christmas-countdown-number { width: clamp(2.7rem, 12vw, 3.2rem); }
  .login-panel button { margin-top: .7rem; }
  .login-access-notice { margin-top: .55rem; padding: .55rem .65rem; }
  .login-gary-lane { --gary-size: clamp(3.65rem, 14vw, 5.5rem); }
}

@media (prefers-reduced-motion: no-preference) {
  .holiday-lights span::before {
    /* Start the strand partway through a wave so it is visible on arrival. */
    animation: holiday-shimmer 3.4s ease-in-out infinite;
    animation-delay: calc(-2.6s + .28s * var(--shimmer-step));
  }
  @keyframes holiday-shimmer {
    0%, 65%, 100% {
      filter: brightness(.72);
      box-shadow: inset -.13rem -.14rem .21rem #2b101861,
        0 .12rem .25rem var(--glow), 0 0 .45rem var(--glow);
    }
    28% {
      filter: brightness(1.6);
      box-shadow: inset -.13rem -.14rem .21rem #2b10182e,
        0 0 .6rem .16rem var(--glass), 0 0 1.65rem .45rem var(--glow);
    }
  }
}

@media (max-width: 42rem) {
  .dashboard-masthead {
    grid-template-columns: minmax(0, 1fr) clamp(6rem, 31vw, 10rem);
    grid-template-areas: "intro illustration" "weather weather";
  }
}

.pin-rejected-overlay {
  position: fixed;
  z-index: 105;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.pin-rejected-track {
  position: absolute;
  top: max(.5rem, env(safe-area-inset-top));
  right: clamp(.7rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.pin-santa-bubble {
  position: relative;
  margin: 0 .15rem 1.1rem 0;
  padding: .56rem .76rem;
  border: 1px solid #dec07b;
  border-radius: .85rem;
  background: #fff1cd;
  box-shadow: 0 .3rem .85rem #090d0a62;
  color: #7b2633;
  font: 400 clamp(1.5rem, 6vw, 1.92rem)/1.08 var(--heading-font);
  white-space: nowrap;
}
.pin-santa-bubble::after {
  content: "";
  position: absolute;
  top: 42%;
  right: -.29rem;
  width: .49rem;
  height: .49rem;
  transform: rotate(45deg);
  border-top: 1px solid #dec07b;
  border-right: 1px solid #dec07b;
  background: #fff1cd;
}
.pin-santa {
  position: relative;
  width: 1.3em;
  height: 1.23em;
  font-size: clamp(4.5rem, 21vw, 6.2rem);
  filter: drop-shadow(0 .06em .08em #090b099c);
}
.pin-santa span { position: absolute; display: block; }
.pin-santa-coat {
  bottom: .03em;
  left: .13em;
  width: .82em;
  height: .47em;
  border-radius: .38em .37em .12em .12em;
  background: linear-gradient(160deg, #e35251, #9b2339 75%);
}
.pin-santa-coat::before {
  content: "";
  position: absolute;
  inset: auto 0 .055em;
  height: .086em;
  background: #33232b;
}
.pin-santa-coat::after {
  content: "";
  position: absolute;
  bottom: .043em;
  left: .34em;
  width: .14em;
  height: .11em;
  border: .024em solid #f7cd82;
  border-radius: .024em;
}
.pin-santa-arm {
  top: .78em;
  left: .77em;
  width: .46em;
  height: .17em;
  transform: rotate(-43deg);
  transform-origin: left center;
  border-radius: .12em;
  background: linear-gradient(#e04b49, #9b2339);
}
.pin-santa-arm::after {
  content: "";
  position: absolute;
  right: 0;
  top: -.01em;
  width: .116em;
  height: .19em;
  border-radius: .035em;
  background: linear-gradient(#fff9e9, #dcccb2);
}
.pin-santa-face {
  top: .43em;
  left: .275em;
  width: .53em;
  height: .43em;
  border-radius: 38% 38% 45% 45%;
  background:
    radial-gradient(circle at 15% 53%, #e4847b 0, transparent 19%),
    radial-gradient(circle at 85% 53%, #e4847b 0, transparent 19%),
    linear-gradient(#ffe0b1, #eaaa88);
}
.pin-santa-face::before {
  content: "";
  position: absolute;
  left: .124em;
  top: .111em;
  width: .046em;
  height: .058em;
  border-radius: 50%;
  background: #382828;
  box-shadow: .235em 0 #382828;
}
.pin-santa-beard {
  top: .66em;
  left: .217em;
  width: .646em;
  height: .405em;
  border-radius: 21% 21% 48% 48% / 31% 31% 68% 68%;
  background: radial-gradient(ellipse at 48% 24%, #fffdf2 25%, #f3e7d2 76%, #d9c7ad);
}
.pin-santa-beard::after {
  content: "";
  position: absolute;
  top: .108em;
  left: .255em;
  width: .125em;
  height: .077em;
  border-bottom: .021em solid #883c45;
  border-radius: 50%;
}
.pin-santa-moustache {
  top: .657em;
  left: .313em;
  width: .235em;
  height: .115em;
  transform: rotate(-11deg);
  border-radius: 80% 38% 66% 48%;
  background: #fffdf0;
  box-shadow: 0 .013em .015em #9d78612b;
}
.pin-santa-moustache::after {
  content: "";
  position: absolute;
  left: .222em;
  top: .04em;
  width: .231em;
  height: .113em;
  transform: rotate(24deg);
  border-radius: 38% 80% 48% 66%;
  background: inherit;
  box-shadow: inherit;
}
.pin-santa-nose {
  top: .617em;
  left: .475em;
  width: .132em;
  height: .09em;
  border-radius: 50%;
  background: linear-gradient(150deg, #ffc7a5, #e89780);
}
.pin-santa-hat {
  top: .092em;
  left: .224em;
  width: .65em;
  height: .352em;
  transform: rotate(-8deg);
  border-radius: 55% 62% 16% 15% / 95% 65% 17% 13%;
  background: linear-gradient(145deg, #ec6055, #a82940 76%);
}
.pin-santa-hat::after {
  content: "";
  position: absolute;
  top: .08em;
  right: -.113em;
  width: .166em;
  height: .158em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fffdf3, #e7dac1);
  box-shadow: 0 .016em .018em #6b372c39;
}
.pin-santa-trim {
  top: .362em;
  left: .204em;
  width: .672em;
  height: .129em;
  transform: rotate(-6deg);
  border-radius: .067em;
  background: linear-gradient(#fffdf0, #ede0c8);
  box-shadow: 0 .013em .028em #753c332e;
}
.pin-santa-glove {
  top: .424em;
  left: 1.035em;
  width: .215em;
  height: .192em;
  border-radius: 41% 47% 36% 44%;
  background: linear-gradient(145deg, #fffdf2, #dcd0b6);
}
.pin-santa-glove::after {
  content: "";
  position: absolute;
  left: -.062em;
  top: .045em;
  width: .122em;
  height: .072em;
  transform: rotate(38deg);
  border-radius: .045em;
  background: #f4ead8;
}
.pin-santa-finger {
  top: -.164em;
  left: .061em;
  width: .084em;
  height: .214em;
  transform: rotate(-19deg);
  transform-origin: 50% 88%;
  border-radius: .052em .052em .038em .038em;
  background: linear-gradient(90deg, #fffdf2, #e4d8bf);
  box-shadow: 0 0 0 1px #887b6639;
}

@media (prefers-reduced-motion: no-preference) {
  .pin-rejected-track { animation: pin-santa-arrive 1.72s both; }
  .pin-santa-finger { animation: pin-santa-wag .21s .23s ease-in-out 6 alternate; }

  @keyframes pin-santa-arrive {
    0% { transform: translate3d(calc(100% + 3rem), -.24rem, 0) scale(.96); }
    17% { transform: translate3d(-.25rem, 0, 0) scale(1.025); }
    24%, 84% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(calc(100% + 3rem), -.18rem, 0) scale(.98); }
  }
  @keyframes pin-santa-wag {
    from { transform: rotate(-33deg); }
    to { transform: rotate(28deg); }
  }
}
