/* The landing page for signed-out visitors (see landing.js). Everything here
   lives under #landing, which only shows while <html> has the .landing class;
   while it does, the app's own scene and screens are hidden. */

#landing {
  display: none;
}
html.landing,
html.landing body {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}
html.landing #landing {
  display: block;
}
html.landing #sky,
html.landing #sleigh,
html.landing #landscape,
html.landing #meadow,
html.landing #heads,
html.landing #snow,
html.landing #frost,
html.landing #icicles,
html.landing #app,
html.landing #layer,
html.landing .meadow-tags,
html.landing .meadow-dogtags {
  display: none;
}

#landing {
  --ink: #10264a;
  --ink-soft: #4b6488;
  --ink-faint: #5a7395;
  --blood: #d4182f;
  --stencil: 'Arial Black', 'Helvetica Neue', Impact, system-ui, sans-serif;
  color: #fff;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
#landing h1,
#landing h2,
#landing h3,
#landing p {
  margin: 0;
}

/* ---- the stage ------------------------------------------------------------------- */

.lp-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.lp-stage.shake {
  animation: lp-shake 0.4s linear;
}
.lp-stage.shake-big {
  animation: lp-shake-big 0.6s linear;
}
.lp-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #040b1c 0%, #16335d 55%, #4a74a8 100%);
}
.lp-stars,
.lp-snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.lp-snow {
  z-index: 6;
}
.lp-aurora {
  position: absolute;
  left: -15vw;
  width: 130vw;
  height: 42vh;
  filter: blur(36px);
  mix-blend-mode: screen;
  opacity: 0.55;
}
.lp-aurora.one {
  top: 2vh;
  animation: lp-aurora 22s ease-in-out infinite alternate;
}
.lp-aurora.two {
  top: 10vh;
  animation: lp-aurora 28s ease-in-out infinite alternate-reverse;
}
.lp-aurora.green.one {
  background: radial-gradient(ellipse 40% 45% at 30% 55%, rgba(70, 255, 190, 0.5), transparent 70%),
    radial-gradient(ellipse 35% 35% at 55% 40%, rgba(60, 200, 255, 0.4), transparent 70%);
}
.lp-aurora.green.two {
  background: radial-gradient(ellipse 30% 40% at 72% 45%, rgba(150, 120, 255, 0.4), transparent 70%),
    radial-gradient(ellipse 30% 30% at 88% 60%, rgba(80, 255, 200, 0.3), transparent 70%);
}
.lp-aurora.red.one {
  background: radial-gradient(ellipse 40% 45% at 30% 55%, rgba(255, 40, 40, 0.65), transparent 70%),
    radial-gradient(ellipse 35% 35% at 60% 40%, rgba(255, 120, 40, 0.5), transparent 70%);
}
.lp-aurora.red.two {
  background: radial-gradient(ellipse 30% 40% at 72% 45%, rgba(200, 0, 60, 0.6), transparent 70%),
    radial-gradient(ellipse 30% 30% at 12% 60%, rgba(255, 60, 30, 0.45), transparent 70%);
}
@keyframes lp-aurora {
  from {
    transform: translateX(-4vw) skewX(-8deg) scaleY(0.9);
  }
  to {
    transform: translateX(5vw) skewX(10deg) scaleY(1.15);
  }
}
.lp-moon {
  position: absolute;
  top: 7vh;
  right: 9vw;
  width: clamp(54px, 8vw, 110px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #fffef6, #f3eed9 58%, #d9d2b6);
  box-shadow: 0 0 40px 10px rgba(255, 250, 220, 0.3), 0 0 140px 50px rgba(190, 215, 255, 0.16);
}
.lp-blood-moon {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #ff8a5a, #c2261c 58%, #6e0f12);
  box-shadow: 0 0 50px 14px rgba(255, 60, 30, 0.45), 0 0 160px 60px rgba(200, 20, 20, 0.25);
}

/* Without WebGL: plain snowy hills that go grey, standing in for the meadow. */
.lp-hills {
  position: absolute;
  left: -10vw;
  right: -10vw;
  bottom: -8vh;
  height: 36vh;
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  background: linear-gradient(180deg, #f4f9ff, #c9dbf0);
  box-shadow: 0 -20px 60px rgba(160, 200, 255, 0.25);
  transition: opacity 0.8s;
}
.lp-hills-ash {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #6e5e60, #2a1c1e);
}
.lp-3d-on .lp-hills {
  opacity: 0;
}
.lp-3d {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.lp-3d-on .lp-3d {
  opacity: 1;
}
.lp-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Labels pinned to things in the scene. */
.lp-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.lp-overlay > * {
  position: absolute;
  top: 0;
  left: 0;
}
.lp-scope {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 0 6px rgba(255, 40, 60, 0.5));
}
.lp-scope svg {
  display: block;
  width: 100%;
  height: 100%;
}
.lp-stamp {
  display: inline-block;
  font-family: var(--stencil);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff3348;
  border: 4px solid currentColor;
  border-radius: 6px;
  padding: 4px 12px;
  white-space: nowrap;
  background: rgba(18, 10, 12, 0.72);
  text-shadow: 0 0 1px currentColor;
}
.lp-redacted {
  font-size: clamp(22px, 5.5vw, 34px);
  padding: 6px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.lp-stamp-soon {
  font-size: clamp(16px, 3.6vw, 22px);
}

/* The family, as their floating heads in the sky (the game's own heads). */
.lp-heads {
  position: absolute;
  left: 4vw;
  right: 4vw;
  top: 44vh;
  height: 14vh;
  z-index: 3;
}
#landing .lp-head {
  --s: 50px;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  margin-left: calc(var(--s) / -2);
  pointer-events: none;
  cursor: default;
  will-change: transform;
  animation: lp-bob var(--bob, 5s) ease-in-out var(--delay, 0s) infinite alternate;
}
#landing .lp-head .bubble {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 0 0 6px rgba(160, 210, 255, 0.3), 0 10px 22px rgba(0, 10, 40, 0.45);
}
#landing .lp-head .label {
  font-size: 11px;
  padding: 1px 8px;
  transform: translate(-50%, 6px);
}
.lp-layer {
  position: absolute;
  inset: 0;
}
.lp-splat {
  position: absolute;
  inset: 4% 0 0 16%;
  border-radius: 46% 54% 40% 60%;
  background: radial-gradient(circle at 40% 40%, #fff, #e6f0fb 70%);
  box-shadow: -10px 6px 0 -4px #fff, 12px -8px 0 -6px #fff;
}
.lp-pop {
  position: absolute;
  right: -20px;
  top: -6px;
  font-size: 22px;
}
.lp-plaster {
  right: -4px;
  top: auto;
  bottom: 2px;
  font-size: 20px;
}
@keyframes lp-bob {
  from {
    transform: translate(-6px, -5px) rotate(-4deg);
  }
  to {
    transform: translate(6px, 6px) rotate(4deg);
  }
}

.lp-vignette {
  position: absolute;
  inset: 0;
  z-index: 7;
  box-shadow: inset 0 0 120px 30px rgba(120, 0, 10, 0.75);
}
.lp-flash {
  position: absolute;
  inset: 0;
  z-index: 8;
  opacity: 0;
  background: radial-gradient(circle at 50% 55%, rgba(255, 246, 200, 0.9), rgba(255, 140, 40, 0.5) 40%, rgba(255, 60, 20, 0) 75%);
}
.lp-flash.go {
  animation: lp-flash 0.7s ease-out;
}
@keyframes lp-flash {
  0% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
  }
}
@keyframes lp-shake {
  0%,
  100% {
    transform: none;
  }
  25% {
    transform: translate(-4px, 2px);
  }
  50% {
    transform: translate(3px, -3px);
  }
  75% {
    transform: translate(-2px, -1px);
  }
}
@keyframes lp-shake-big {
  0%,
  100% {
    transform: none;
  }
  15% {
    transform: translate(-9px, 5px);
  }
  30% {
    transform: translate(8px, -6px);
  }
  45% {
    transform: translate(-6px, -3px);
  }
  60% {
    transform: translate(5px, 4px);
  }
  80% {
    transform: translate(-2px, 2px);
  }
}

/* ---- the story ----------------------------------------------------------------------- */

.lp-story {
  position: relative;
  z-index: 10;
}
.lp-beat {
  height: 135svh;
}
.lp-beat.long {
  height: 185svh;
}

.lp-card {
  position: relative;
  color: var(--ink);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(226, 240, 255, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(2, 8, 26, 0.5), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 26px;
  padding: 26px 22px 22px;
}
/* A bumpy drift of snow resting on top of the card. */
.lp-card::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 18px;
  right: 18px;
  height: 26px;
  pointer-events: none;
  background: radial-gradient(circle at 6% 100%, var(--drift, #fff) 14px, transparent 15px),
    radial-gradient(circle at 17% 100%, var(--drift, #fff) 20px, transparent 21px),
    radial-gradient(circle at 30% 100%, var(--drift, #fff) 13px, transparent 14px),
    radial-gradient(circle at 44% 100%, var(--drift, #fff) 22px, transparent 23px),
    radial-gradient(circle at 58% 100%, var(--drift, #fff) 15px, transparent 16px),
    radial-gradient(circle at 71% 100%, var(--drift, #fff) 21px, transparent 22px),
    radial-gradient(circle at 84% 100%, var(--drift, #fff) 14px, transparent 15px),
    radial-gradient(circle at 95% 100%, var(--drift, #fff) 18px, transparent 19px);
  filter: drop-shadow(0 -2px 2px rgba(120, 170, 220, 0.25));
}
/* Halfway: the snow on the card has gone grey and something's dripping. */
.lp-card.grim {
  --drift: #c9c3c6;
  background: linear-gradient(165deg, rgba(238, 234, 236, 0.97), rgba(214, 205, 210, 0.94));
}
/* The end: charred, ash on top, blood dripping off the drift. */
.lp-card.wrecked {
  --drift: #5b4f53;
  color: #f6eaea;
  background: linear-gradient(165deg, rgba(36, 20, 24, 0.95), rgba(20, 10, 12, 0.96));
  border-color: rgba(212, 24, 47, 0.45);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.lp-card.wrecked::after,
.lp-card.grim::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 22%;
  width: 60%;
  height: 34px;
  pointer-events: none;
  background: radial-gradient(ellipse 5px 14px at 8% 0, var(--blood) 90%, transparent 100%),
    radial-gradient(ellipse 4px 22px at 31% 0, var(--blood) 90%, transparent 100%),
    radial-gradient(ellipse 6px 10px at 63% 0, var(--blood) 90%, transparent 100%),
    radial-gradient(ellipse 4px 26px at 88% 0, var(--blood) 90%, transparent 100%);
}
.lp-card.grim::after {
  height: 20px;
  opacity: 0.85;
}

/* The beats' cards sit over the scene and come and go with the scroll. */
.lp-card[data-card] {
  position: fixed;
  z-index: 11;
  top: max(16px, env(safe-area-inset-top));
  left: 12px;
  right: 12px;
  max-width: 460px;
  margin: 0 auto;
  /* Out of sight but still read out, so screen readers get the whole story. */
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.lp-card[data-card].on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.lp-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.wrecked .lp-eyebrow {
  color: #ff5a6b;
}
.lp-festive {
  font-family: var(--festive);
  font-weight: 700;
}
#landing h2.lp-festive {
  color: var(--red);
  font-size: clamp(27px, 7.4vw, 38px);
  line-height: 1.04;
}
#landing h2.lp-turn {
  font-family: var(--stencil);
  font-weight: 900;
  font-size: clamp(25px, 7vw, 36px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: #9e0f24;
}
#landing .wrecked h2.lp-turn {
  color: #fff;
}
.lp-lede {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.45;
  margin-top: 8px !important;
}
.wrecked .lp-lede {
  color: #d9c6c8;
}
.lp-fine {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 8px !important;
}
.wrecked .lp-fine {
  color: #b9a2a5;
}

/* Censor bar. */
.lp-redact {
  display: inline-block;
  min-width: 4.5em;
  background: #111;
  color: transparent;
  font-style: normal;
  border-radius: 2px;
  line-height: 1.1;
  user-select: none;
  -webkit-user-select: none;
}
.wrecked .lp-redact {
  background: #efe3e3;
}

.lp-btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  transition: transform 0.12s, filter 0.15s;
}
.lp-btn:hover {
  filter: brightness(1.06);
}
.lp-btn:active {
  transform: scale(0.97);
}
.lp-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.lp-btn.primary {
  color: #fff;
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  box-shadow: 0 8px 18px rgba(200, 16, 46, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.lp-btn.ice {
  color: #12407a;
  background: linear-gradient(180deg, #ffffff, var(--ice));
  box-shadow: inset 0 0 0 1.5px #b9d6f5, 0 4px 10px rgba(18, 64, 122, 0.12);
}
.lp-btn.big {
  padding: 17px 28px;
  font-size: 19px;
}
.lp-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.lp-chip {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #12407a;
  background: #eaf3ff;
  box-shadow: inset 0 0 0 1px #c7dcf3;
}

/* ---- hero ------------------------------------------------------------------------- */

.lp-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: max(46px, calc(env(safe-area-inset-top) + 40px)) 14px 0;
}
.lp-hero-card {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}
.lp-gift {
  font-size: 54px;
  line-height: 1;
  margin: -58px auto 6px;
  animation: lp-gift 2.4s ease-in-out infinite;
  filter: drop-shadow(0 10px 18px rgba(0, 10, 40, 0.35));
}
@keyframes lp-gift {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-10px) rotate(4deg);
  }
}
#landing .lp-hero h1 {
  color: var(--red);
  font-size: clamp(32px, 9vw, 52px);
  line-height: 1.02;
  text-shadow: 0 2px 0 #fff;
}
.lp-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.lp-back {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #12407a;
}
.lp-back a {
  color: var(--red);
  font-weight: 900;
}
/* Top right of the hero, for someone back to play. */
.lp-hero {
  position: relative;
}
.lp-login {
  position: absolute;
  z-index: 20;
  top: max(6px, calc(env(safe-area-inset-top) + 4px));
  right: max(10px, calc(env(safe-area-inset-right) + 8px));
  min-height: 36px;
  padding: 6px 16px;
  font-size: 15px;
}
.lp-cue {
  margin-top: 18px !important;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.lp-cue span {
  display: block;
  font-size: 28px;
  line-height: 1;
  animation: lp-cue 1.6s ease-in-out infinite;
}
@keyframes lp-cue {
  50% {
    transform: translateY(6px);
  }
}

/* ---- the beats' bits and bobs ------------------------------------------------------------ */

.lp-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.lp-pick div {
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #cfe0f3;
  font-size: 14px;
}
.lp-pick span {
  font-size: 20px;
}
.lp-pick small {
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.3;
}
.lp-pick .on {
  box-shadow: inset 0 0 0 2.5px var(--red), 0 6px 14px rgba(200, 16, 46, 0.15);
}
.lp-envelope {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  text-align: center;
  color: #fff;
  background: linear-gradient(160deg, #ef3349, #a10d26);
  box-shadow: 0 10px 22px rgba(200, 16, 46, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.lp-envelope small {
  display: block;
  font-weight: 800;
  opacity: 0.85;
}
.lp-envelope b {
  font-family: var(--festive);
  font-size: 30px;
}
.lp-wish {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.lp-wish li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #d6e5f5;
  font-weight: 700;
  font-size: 15px;
}
.lp-wish i {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  font-style: normal;
  font-weight: 900;
  font-size: 14px;
  box-shadow: inset 0 0 0 2px #b9d0ea;
}
.lp-wish .done {
  color: var(--ink-faint);
}
.lp-wish .done i {
  color: #fff;
  background: #20a35a;
  box-shadow: none;
}
.lp-shop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.lp-shop div {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1px;
  padding: 8px 4px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #d6e5f5;
  font-size: 12px;
  text-align: center;
}
.lp-shop span {
  font-size: 24px;
}
.lp-shop .mystery {
  background: repeating-linear-gradient(-45deg, #fff6d6 0 8px, #ffe9a8 8px 16px);
  box-shadow: inset 0 0 0 1.5px #e0b84a;
}
.lp-shop .mystery .lp-redact {
  min-width: 3.4em;
}
.lp-shop .mystery small {
  color: #9a5b00;
  font-weight: 800;
  font-size: 10.5px;
  line-height: 1.15;
}
.lp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.lp-dogtag {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  min-width: 132px;
  padding: 7px 12px 7px 26px;
  border-radius: 12px;
  color: #20262e;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  background: linear-gradient(160deg, #eef1f4, #b9c0c8 60%, #dde2e7);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0, 0, 0, 0.15), 0 6px 14px rgba(0, 0, 0, 0.35);
  rotate: -2deg;
}
.lp-dogtag + .lp-dogtag {
  rotate: 3deg;
}
.lp-dogtag::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #6b737c;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}
.lp-dogtag b {
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* The leaderboard. */
.lp-board-title {
  margin-top: 14px !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ff8a96;
}
.lp-board {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.lp-board li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 3px 10px;
  align-items: center;
}
.lp-board .face {
  grid-row: span 3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.12);
  align-self: start;
}
.lp-board .who {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-weight: 900;
  font-size: 14px;
}
.lp-board .who small {
  font-weight: 800;
  font-size: 12px;
  color: #ff8a96;
}
.lp-board .tally {
  font-size: 12.5px;
  opacity: 0.85;
}
.lp-meter {
  position: relative;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2fbf71 0%, #ffd45c 50%, #e0263c 100%);
}
.lp-meter i {
  position: absolute;
  top: 50%;
  left: var(--v, 50%);
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #1a1012;
}
.lp-meter-ends {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 4px;
}
.lp-soon {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.lp-soon li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-weight: 800;
  font-size: 15px;
}
.lp-soon b {
  flex: none;
  font-size: 20px;
}
.lp-soon small {
  display: block;
  font-weight: 600;
  opacity: 0.7;
}

/* ---- finale -------------------------------------------------------------------------------- */

.lp-finale {
  min-height: 100svh;
  padding: 30svh 16px 40px;
  background: linear-gradient(180deg, rgba(12, 3, 5, 0) 0, rgba(12, 3, 5, 0.55) 26svh, rgba(12, 3, 5, 0.86) 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lp-pre {
  font-weight: 800;
  font-size: 17px;
  line-height: 1.45;
  color: #ffd9d3;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}
#landing .lp-reveal {
  /* Huge while it slams in: don't let it swallow taps on Start. */
  pointer-events: none;
  margin: 14px 0 6px;
  font-family: var(--stencil);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.01em;
  color: #fff;
  font-size: clamp(64px, 19vw, 190px);
}
.lp-reveal span {
  display: block;
}
.lp-reveal .r1 {
  color: #ff2e45;
  text-shadow: 0 4px 0 #6d0a18, 0 0 40px rgba(255, 46, 69, 0.5), 0 10px 30px rgba(0, 0, 0, 0.6);
}
.lp-reveal .r2 {
  font-size: 0.56em;
  color: #fff4dc;
  text-shadow: 0 4px 0 #8f0d20, 0 10px 30px rgba(0, 0, 0, 0.6);
}
.lp-reveal.waiting {
  opacity: 0;
}
.lp-reveal.slam {
  animation: lp-slam 0.55s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
@keyframes lp-slam {
  from {
    transform: scale(2.6) rotate(-6deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.lp-tagline {
  font-family: var(--festive);
  font-weight: 700;
  font-size: clamp(28px, 7.4vw, 44px);
  line-height: 1.1;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.lp-cta {
  margin-top: 22px;
}
.lp-cta-fine {
  margin-top: 10px !important;
  font-size: 13px;
  font-weight: 700;
  color: #f2d9d6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.lp-cta-fine a {
  color: #fff;
  font-weight: 900;
}
.lp-age {
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left;
  margin-top: 34px;
  max-width: 460px;
}
.lp-age p {
  font-size: 14px;
  line-height: 1.45;
}
.lp-age-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-family: var(--stencil);
  font-size: 21px;
  font-weight: 900;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #ff5a6b, #b0142b);
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px #b0142b, 0 8px 20px rgba(0, 0, 0, 0.4);
}
#landing footer {
  margin-top: 30px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---- phones: short cards, so the meadow shows underneath ------------------------------------- */

@media (max-width: 899px) {
  .lp-card[data-card] {
    padding: 20px 18px 16px;
  }
  .lp-card[data-card] .lp-lede {
    font-size: 15px;
    line-height: 1.4;
  }
  .lp-head.wide-only {
    display: none;
  }
}
@media (max-width: 899px) and (max-height: 760px) {
  .lp-wish li:nth-child(2),
  .lp-card[data-card] .lp-fine {
    display: none;
  }
}

/* ---- wide screens: cards to either side, the scene in the middle ----------------------------- */

@media (min-width: 900px) {
  .lp-heads {
    top: 9vh;
    height: 30vh;
    left: 36vw;
    right: 36vw;
  }
  #landing .lp-head {
    --s: 62px;
  }
  .lp-card[data-card] {
    top: 12vh;
    left: 4vw;
    right: auto;
    width: min(420px, 31vw);
    max-width: none;
    margin: 0;
  }
  .lp-card[data-card].right {
    left: auto;
    right: 4vw;
  }
  .lp-hero {
    padding-top: 9vh;
  }
  .lp-hero-card {
    max-width: 640px;
    padding: 30px 44px 26px;
  }
  .lp-actions {
    flex-direction: row;
    justify-content: center;
  }
  .lp-actions .lp-btn {
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  #landing .lp-head,
  .lp-aurora,
  .lp-gift,
  .lp-cue span {
    animation: none;
  }
  .lp-card[data-card],
  .lp-card[data-card].on {
    transform: none;
    transition: none;
  }
  .lp-3d {
    transition: none;
  }
}
