/* First thing visitors see. Poster → mission briefing → game. */

html:has(#title-screen),
html:has(#title-screen) body {
  overflow: hidden;
  height: 100%;
}

#title-screen {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #12081f;
  color: white;
  transition: opacity 400ms ease;
}

#title-screen,
#title-screen * {
  box-sizing: border-box;
}

/* Full-bleed galaxy frame — bright enough to read around the poster. */
#title-screen .title-galaxy {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 90% at 20% 15%, #4a1a6e 0%, transparent 50%),
    radial-gradient(ellipse 100% 80% at 85% 80%, #1a3a8a 0%, transparent 55%),
    radial-gradient(ellipse 80% 70% at 70% 10%, #6b2060 0%, transparent 45%),
    radial-gradient(ellipse 90% 60% at 10% 85%, #14285a 0%, transparent 50%),
    linear-gradient(160deg, #1c0a32 0%, #0d1238 40%, #1a0830 70%, #08041a 100%);
  pointer-events: none;
}

#title-screen .title-galaxy-swirl {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

#title-screen .title-galaxy-swirl--a {
  left: -25%;
  top: -40%;
  width: 80%;
  height: 100%;
  background:
    conic-gradient(
      from 40deg,
      transparent 0deg,
      rgba(200, 80, 255, 0.85) 45deg,
      transparent 100deg,
      rgba(80, 160, 255, 0.75) 170deg,
      transparent 230deg,
      rgba(255, 70, 180, 0.8) 290deg,
      transparent 360deg
    );
  filter: blur(28px);
  opacity: 0.95;
  animation: title-galaxy-spin-a 42s linear infinite;
}

#title-screen .title-galaxy-swirl--b {
  right: -30%;
  bottom: -45%;
  width: 85%;
  height: 105%;
  background:
    conic-gradient(
      from 200deg,
      transparent 0deg,
      rgba(60, 140, 255, 0.8) 55deg,
      transparent 120deg,
      rgba(220, 60, 255, 0.75) 190deg,
      transparent 270deg,
      rgba(100, 220, 255, 0.7) 310deg,
      transparent 360deg
    );
  filter: blur(32px);
  opacity: 0.9;
  animation: title-galaxy-spin-b 55s linear infinite;
}

#title-screen .title-galaxy-swirl--c {
  left: 5%;
  top: -25%;
  width: 70%;
  height: 65%;
  background:
    radial-gradient(ellipse at 40% 50%, rgba(255, 100, 220, 0.85) 0%, rgba(120, 40, 200, 0.45) 40%, transparent 70%);
  filter: blur(24px);
  animation: title-galaxy-drift-a 16s ease-in-out infinite alternate;
}

#title-screen .title-galaxy-swirl--d {
  right: 0%;
  bottom: -20%;
  width: 65%;
  height: 60%;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(80, 180, 255, 0.8) 0%, rgba(140, 60, 255, 0.4) 45%, transparent 72%);
  filter: blur(22px);
  animation: title-galaxy-drift-b 20s ease-in-out infinite alternate;
}

/* Soften only under the poster; keep the frame vivid. */
#title-screen .title-galaxy-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 48% 42% at 50% 50%, rgba(8, 4, 18, 0.55) 0%, rgba(8, 4, 18, 0.15) 55%, transparent 75%);
  pointer-events: none;
}

#title-screen .title-galaxy-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 5% 10%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 12% 70%, #c8e0ff, transparent),
    radial-gradient(2px 2px at 18% 28%, #ffe8c8, transparent),
    radial-gradient(1.5px 1.5px at 28% 6%, #fff, transparent),
    radial-gradient(2.5px 2.5px at 3% 48%, #b0d0ff, transparent),
    radial-gradient(2px 2px at 90% 14%, #fff, transparent),
    radial-gradient(2px 2px at 96% 60%, #e0b8ff, transparent),
    radial-gradient(1.5px 1.5px at 82% 90%, #fff, transparent),
    radial-gradient(2.5px 2.5px at 97% 36%, #a8d8ff, transparent),
    radial-gradient(1.5px 1.5px at 72% 4%, #ffe8c0, transparent),
    radial-gradient(2px 2px at 50% 2%, #fff, transparent),
    radial-gradient(2px 2px at 54% 97%, #d0b8ff, transparent),
    radial-gradient(1.5px 1.5px at 16% 96%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 84% 48%, #fff, transparent),
    radial-gradient(2px 2px at 8% 24%, #b8fff0, transparent),
    radial-gradient(1.5px 1.5px at 38% 92%, #fff, transparent),
    radial-gradient(2px 2px at 66% 8%, #ffd0f0, transparent),
    radial-gradient(1.5px 1.5px at 92% 78%, #fff, transparent),
    radial-gradient(2px 2px at 24% 88%, #c0e8ff, transparent),
    radial-gradient(1.5px 1.5px at 44% 5%, #fff, transparent);
  animation: title-galaxy-twinkle 4s ease-in-out infinite alternate;
  opacity: 1;
}

@keyframes title-galaxy-spin-a {
  from { transform: rotate(0deg) scale(1.08); }
  to { transform: rotate(360deg) scale(1.08); }
}

@keyframes title-galaxy-spin-b {
  from { transform: rotate(360deg) scale(1.1); }
  to { transform: rotate(0deg) scale(1.1); }
}

@keyframes title-galaxy-drift-a {
  from { transform: translate(-6%, 4%) scale(1) rotate(-8deg); opacity: 0.75; }
  to { transform: translate(8%, -6%) scale(1.2) rotate(10deg); opacity: 1; }
}

@keyframes title-galaxy-drift-b {
  from { transform: translate(6%, -4%) scale(1.15) rotate(6deg); opacity: 0.7; }
  to { transform: translate(-8%, 6%) scale(0.95) rotate(-12deg); opacity: 1; }
}

@keyframes title-galaxy-twinkle {
  from { opacity: 0.7; filter: brightness(0.95); }
  to { opacity: 1; filter: brightness(1.35); }
}

/* Contain poster at ~90% so the galaxy shows as a frame. */
#title-screen .title-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(100%, calc(100vh * 16 / 9));
  height: min(100%, calc(100vw * 9 / 16));
  transform: translate(-50%, -50%) scale(0.9);
  transform-origin: center center;
  overflow: hidden;
  transition: filter 280ms ease;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  box-shadow:
    0 0 0 1px rgba(20, 10, 40, 0.85),
    0 0 28px rgba(180, 120, 255, 0.35),
    0 22px 60px rgba(0, 0, 0, 0.65);
}

#title-screen .title-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  box-shadow: inset 0 0 48px 12px rgba(8, 4, 20, 0.45);
  border-radius: 3px;
}

#title-screen .title-art {
  position: absolute;
  inset: 0;
  background-image: url("../assets/home/title-keyart.webp?v=20261116e");
  background-position: center center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

#title-screen.is-briefing .title-stage {
  filter: brightness(0.35) saturate(0.85);
}

#title-screen .title-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 280ms ease;
}

#title-screen.is-briefing .title-fx {
  opacity: 0;
}

/* ── Sky artefacts — pockets behind the UFOs only (clear of trees + title) ── */
#title-screen .title-sky {
  position: absolute;
  inset: 0 0 42% 0;
  overflow: hidden;
  pointer-events: none;
  /* Left UFO sky + right UFO sky; blank corner trees and centre title. */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    transparent 14%,
    #000 17%,
    #000 30%,
    transparent 34%,
    transparent 64%,
    #000 68%,
    #000 84%,
    transparent 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    transparent 14%,
    #000 17%,
    #000 30%,
    transparent 34%,
    transparent 64%,
    #000 68%,
    #000 84%,
    transparent 88%,
    transparent 100%
  );
}

#title-screen .title-star {
  --spike: 9px;
  position: absolute;
  width: 3px;
  height: 3px;
  margin: 0;
  border-radius: 50%;
  background: #fffef2;
  box-shadow: 0 0 5px 1px rgba(255, 248, 210, 0.85);
  opacity: 0.55;
  animation: title-star-twinkle 2.8s ease-in-out infinite;
}

#title-screen .title-star::before,
#title-screen .title-star::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  pointer-events: none;
}

/* Horizontal spike */
#title-screen .title-star::before {
  width: var(--spike);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.95) 45%,
    rgba(255, 255, 255, 0.95) 55%,
    transparent 100%
  );
}

/* Vertical spike */
#title-screen .title-star::after {
  width: 1px;
  height: var(--spike);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.95) 45%,
    rgba(255, 255, 255, 0.95) 55%,
    transparent 100%
  );
}

#title-screen .title-star--sm {
  width: 2px;
  height: 2px;
  --spike: 5px;
  box-shadow: 0 0 3px 0.5px rgba(220, 255, 240, 0.7);
  animation-duration: 3.4s;
}

#title-screen .title-star--lg {
  width: 4px;
  height: 4px;
  --spike: 14px;
  box-shadow: 0 0 8px 2px rgba(255, 240, 180, 0.9);
  animation-duration: 2.1s;
}

/* Upper half only — behind left UFO */
#title-screen .title-star:nth-child(1)  { left: 18%; top: 8%;  animation-delay: 0s; }
#title-screen .title-star:nth-child(2)  { left: 22%; top: 15%; animation-delay: -0.6s; }
#title-screen .title-star:nth-child(3)  { left: 26%; top: 6%;  animation-delay: -1.3s; }
#title-screen .title-star:nth-child(4)  { left: 28%; top: 13%; animation-delay: -2s; }
#title-screen .title-star:nth-child(5)  { left: 17%; top: 12%; animation-delay: -0.9s; }
#title-screen .title-star:nth-child(6)  { left: 21%; top: 4%;  animation-delay: -1.7s; }
/* Upper half only — behind right UFO */
#title-screen .title-star:nth-child(7)  { left: 70%; top: 7%;  animation-delay: -2.4s; }
#title-screen .title-star:nth-child(8)  { left: 74%; top: 14%; animation-delay: -0.3s; }
#title-screen .title-star:nth-child(9)  { left: 78%; top: 5%;  animation-delay: -0.5s; }
#title-screen .title-star:nth-child(10) { left: 81%; top: 11%; animation-delay: -1.4s; }
#title-screen .title-star:nth-child(11) { left: 71%; top: 10%; animation-delay: -2.1s; }
#title-screen .title-star:nth-child(12) { left: 82%; top: 8%;  animation-delay: -0.8s; }

@keyframes title-star-twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.75);
    filter: brightness(0.85);
  }
  40% {
    opacity: 1;
    transform: scale(1.15);
    filter: brightness(1.35);
  }
  60% {
    opacity: 0.45;
    transform: scale(0.85);
    filter: brightness(0.95);
  }
  80% {
    opacity: 0.9;
    transform: scale(1.05);
    filter: brightness(1.2);
  }
}

#title-screen .title-sky-streak {
  position: absolute;
  width: 72px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), rgba(160, 255, 200, 0.55), transparent);
  opacity: 0;
  transform: none;
  animation: title-sky-streak 7.5s linear infinite;
}

#title-screen .title-sky-streak:nth-child(13) {
  top: 10%;
  left: -12%;
  animation-delay: 0.4s;
}

#title-screen .title-sky-streak:nth-child(14) {
  top: 18%;
  left: -8%;
  width: 54px;
  animation-delay: 3.1s;
  animation-duration: 9s;
}

#title-screen .title-sky-streak:nth-child(15) {
  top: 6%;
  left: -15%;
  width: 88px;
  animation-delay: 5.4s;
  animation-duration: 8.2s;
}

@keyframes title-sky-streak {
  0%, 78% { opacity: 0; transform: translateX(0); }
  80% { opacity: 0.9; }
  92% { opacity: 0.45; transform: translateX(110vw); }
  100% { opacity: 0; transform: translateX(120vw); }
}

/* ── Fountain spray ── */
#title-screen .title-fountain {
  position: absolute;
  left: 52%;
  top: 46%;
  width: 14%;
  height: 18%;
  transform: translateX(-50%);
  overflow: visible;
}

#title-screen .title-fountain i {
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: rgba(210, 245, 255, 0.95);
  box-shadow: 0 0 6px rgba(140, 220, 255, 0.8);
  opacity: 0;
  animation: title-fountain-bubble 2.4s ease-out infinite;
}

#title-screen .title-fountain i:nth-child(odd) {
  width: 2px;
  height: 9px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(230, 250, 255, 0.95), rgba(140, 210, 255, 0.15));
  box-shadow: none;
  animation-name: title-fountain-line;
}

#title-screen .title-fountain i:nth-child(1)  { --dx: -18%; --rise: 78%; animation-delay: 0s; }
#title-screen .title-fountain i:nth-child(2)  { --dx: 6%;   --rise: 92%; animation-delay: 0.18s; }
#title-screen .title-fountain i:nth-child(3)  { --dx: 22%;  --rise: 70%; animation-delay: 0.35s; }
#title-screen .title-fountain i:nth-child(4)  { --dx: -8%;  --rise: 86%; animation-delay: 0.52s; }
#title-screen .title-fountain i:nth-child(5)  { --dx: 14%;  --rise: 64%; animation-delay: 0.7s; }
#title-screen .title-fountain i:nth-child(6)  { --dx: -26%; --rise: 74%; animation-delay: 0.88s; }
#title-screen .title-fountain i:nth-child(7)  { --dx: 0%;   --rise: 96%; animation-delay: 1.05s; }
#title-screen .title-fountain i:nth-child(8)  { --dx: 28%;  --rise: 68%; animation-delay: 1.22s; }
#title-screen .title-fountain i:nth-child(9)  { --dx: -12%; --rise: 82%; animation-delay: 1.4s; }
#title-screen .title-fountain i:nth-child(10) { --dx: 18%;  --rise: 88%; animation-delay: 1.58s; }
#title-screen .title-fountain i:nth-child(11) { --dx: -22%; --rise: 60%; animation-delay: 1.75s; }
#title-screen .title-fountain i:nth-child(12) { --dx: 8%;   --rise: 76%; animation-delay: 1.92s; }
#title-screen .title-fountain i:nth-child(13) { --dx: -4%;  --rise: 90%; animation-delay: 2.08s; }
#title-screen .title-fountain i:nth-child(14) { --dx: 24%;  --rise: 58%; animation-delay: 2.25s; }

@keyframes title-fountain-bubble {
  0%   { transform: translate(0, 0) scale(0.6); opacity: 0; }
  15%  { opacity: 0.95; }
  55%  { opacity: 0.7; }
  100% { transform: translate(var(--dx), calc(-1 * var(--rise))) scale(1.15); opacity: 0; }
}

@keyframes title-fountain-line {
  0%   { transform: translate(0, 0) scaleY(0.4); opacity: 0; }
  18%  { opacity: 0.9; }
  100% { transform: translate(var(--dx), calc(-1 * var(--rise))) scaleY(1); opacity: 0; }
}

/* ── House window glow ── */
#title-screen .title-windows {
  position: absolute;
  inset: 0;
}

#title-screen .title-windows span {
  position: absolute;
  border-radius: 3px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 210, 110, 0.7) 0%,
    rgba(255, 160, 60, 0.28) 42%,
    transparent 72%
  );
  mix-blend-mode: screen;
  animation: title-window-glow 2.8s ease-in-out infinite;
}

#title-screen .title-windows span:nth-child(1) {
  left: 83.5%;
  top: 30.5%;
  width: 5.2%;
  height: 8.5%;
}

#title-screen .title-windows span:nth-child(2) {
  left: 88.2%;
  top: 30%;
  width: 4.4%;
  height: 8%;
  animation-delay: 0.7s;
}

#title-screen .title-windows span:nth-child(3) {
  left: 84%;
  top: 22%;
  width: 3.6%;
  height: 5.5%;
  animation-delay: 1.3s;
}

#title-screen .title-windows span:nth-child(4) {
  left: 90.5%;
  top: 35%;
  width: 3.2%;
  height: 5%;
  animation-delay: 1.9s;
}

@keyframes title-window-glow {
  0%, 100% { opacity: 0.45; filter: brightness(0.95); transform: scale(0.96); }
  50% { opacity: 0.95; filter: brightness(1.25); transform: scale(1.06); }
}

/* ── Foreground insects around the flower beds ── */
/* ── Barbie (baked into poster): charcoal glow, embers, smoke ── */
#title-screen .title-barbie {
  position: absolute;
  left: 76%;
  top: 68%;
  width: 22%;
  height: 28%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

#title-screen .title-barbie-glow {
  position: absolute;
  left: 22%;
  top: 28%;
  width: 52%;
  height: 36%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 140, 40, 0.7) 0%,
    rgba(255, 60, 0, 0.35) 40%,
    transparent 72%
  );
  mix-blend-mode: screen;
  animation: title-barbie-glow 2.4s ease-in-out infinite;
  filter: blur(4px);
}

@keyframes title-barbie-glow {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

#title-screen .title-barbie-embers,
#title-screen .title-barbie-sparks,
#title-screen .title-barbie-smoke {
  position: absolute;
  inset: 0;
}

#title-screen .title-barbie-embers i {
  position: absolute;
  left: 45%;
  top: 42%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffc14d;
  box-shadow:
    0 0 6px 2px rgba(255, 120, 20, 0.95),
    0 0 14px 4px rgba(255, 50, 0, 0.55);
  opacity: 0;
  animation: title-barbie-ember 1.8s ease-out infinite;
}

#title-screen .title-barbie-embers i:nth-child(1)  { left: 30%; top: 40%; animation-delay: 0s; }
#title-screen .title-barbie-embers i:nth-child(2)  { left: 38%; top: 48%; animation-delay: 0.18s; }
#title-screen .title-barbie-embers i:nth-child(3)  { left: 46%; top: 36%; animation-delay: 0.36s; }
#title-screen .title-barbie-embers i:nth-child(4)  { left: 54%; top: 44%; animation-delay: 0.54s; width: 3px; height: 3px; }
#title-screen .title-barbie-embers i:nth-child(5)  { left: 62%; top: 38%; animation-delay: 0.72s; }
#title-screen .title-barbie-embers i:nth-child(6)  { left: 34%; top: 52%; animation-delay: 0.9s; width: 3px; height: 3px; }
#title-screen .title-barbie-embers i:nth-child(7)  { left: 50%; top: 50%; animation-delay: 1.08s; }
#title-screen .title-barbie-embers i:nth-child(8)  { left: 58%; top: 54%; animation-delay: 1.26s; width: 2px; height: 2px; }
#title-screen .title-barbie-embers i:nth-child(9)  { left: 42%; top: 42%; animation-delay: 1.44s; }
#title-screen .title-barbie-embers i:nth-child(10) { left: 66%; top: 46%; animation-delay: 1.62s; width: 3px; height: 3px; }

@keyframes title-barbie-ember {
  0%   { transform: translate(0, 0) scale(0.5); opacity: 0; }
  12%  { opacity: 1; }
  55%  { opacity: 0.9; }
  100% { transform: translate(var(--ex, 6px), -36px) scale(0.15); opacity: 0; }
}

#title-screen .title-barbie-embers i:nth-child(odd)  { --ex: -8px; }
#title-screen .title-barbie-embers i:nth-child(even) { --ex: 10px; }
#title-screen .title-barbie-embers i:nth-child(3n)   { --ex: 2px; background: #ff7a20; }

/* Tiny charcoal spit-sparks — pop out, arc, fall toward the ground */
#title-screen .title-barbie-sparks {
  overflow: visible;
  z-index: 4;
  pointer-events: none;
}

#title-screen .title-barbie-sparks i {
  position: absolute;
  left: 48%;
  top: 46%;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: #ffd56a;
  box-shadow:
    0 0 4px 1px rgba(255, 160, 40, 0.95),
    0 0 8px 2px rgba(255, 70, 0, 0.55);
  opacity: 0;
  animation: title-barbie-spark-arc 1.55s cubic-bezier(0.22, 0.65, 0.35, 1) infinite;
  will-change: transform, opacity;
}

#title-screen .title-barbie-sparks i:nth-child(1)  { left: 34%; top: 44%; animation-delay: 0s;    --sx: -22px; --ay: -18px; --dy: 78px; }
#title-screen .title-barbie-sparks i:nth-child(2)  { left: 42%; top: 48%; animation-delay: 0.12s; --sx: 18px;  --ay: -14px; --dy: 92px; width: 2px; height: 2px; }
#title-screen .title-barbie-sparks i:nth-child(3)  { left: 50%; top: 42%; animation-delay: 0.24s; --sx: -32px; --ay: -22px; --dy: 86px; }
#title-screen .title-barbie-sparks i:nth-child(4)  { left: 56%; top: 46%; animation-delay: 0.36s; --sx: 28px;  --ay: -16px; --dy: 104px; width: 2px; height: 2px; }
#title-screen .title-barbie-sparks i:nth-child(5)  { left: 38%; top: 50%; animation-delay: 0.48s; --sx: -14px; --ay: -10px; --dy: 70px; width: 1.5px; height: 1.5px; }
#title-screen .title-barbie-sparks i:nth-child(6)  { left: 46%; top: 40%; animation-delay: 0.6s;  --sx: 36px;  --ay: -24px; --dy: 98px; }
#title-screen .title-barbie-sparks i:nth-child(7)  { left: 54%; top: 50%; animation-delay: 0.72s; --sx: -40px; --ay: -12px; --dy: 110px; width: 2px; height: 2px; }
#title-screen .title-barbie-sparks i:nth-child(8)  { left: 60%; top: 44%; animation-delay: 0.84s; --sx: 14px;  --ay: -20px; --dy: 82px; }
#title-screen .title-barbie-sparks i:nth-child(9)  { left: 32%; top: 48%; animation-delay: 0.96s; --sx: -28px; --ay: -8px;  --dy: 96px; width: 1.5px; height: 1.5px; }
#title-screen .title-barbie-sparks i:nth-child(10) { left: 48%; top: 46%; animation-delay: 1.08s; --sx: 42px;  --ay: -18px; --dy: 88px; }
#title-screen .title-barbie-sparks i:nth-child(11) { left: 40%; top: 42%; animation-delay: 1.2s;  --sx: -18px; --ay: -26px; --dy: 74px; width: 2px; height: 2px; }
#title-screen .title-barbie-sparks i:nth-child(12) { left: 58%; top: 48%; animation-delay: 0.06s; --sx: 22px;  --ay: -11px; --dy: 116px; }
#title-screen .title-barbie-sparks i:nth-child(13) { left: 36%; top: 46%; animation-delay: 0.3s;  --sx: -46px; --ay: -15px; --dy: 90px; width: 1.5px; height: 1.5px; }
#title-screen .title-barbie-sparks i:nth-child(14) { left: 52%; top: 40%; animation-delay: 0.54s; --sx: 10px;  --ay: -28px; --dy: 80px; }
#title-screen .title-barbie-sparks i:nth-child(15) { left: 44%; top: 50%; animation-delay: 0.78s; --sx: -36px; --ay: -9px;  --dy: 108px; width: 2px; height: 2px; }
#title-screen .title-barbie-sparks i:nth-child(16) { left: 62%; top: 46%; animation-delay: 1.02s; --sx: 30px;  --ay: -17px; --dy: 94px; }
#title-screen .title-barbie-sparks i:nth-child(17) { left: 30%; top: 44%; animation-delay: 0.18s; --sx: -12px; --ay: -21px; --dy: 72px; width: 1.5px; height: 1.5px; }
#title-screen .title-barbie-sparks i:nth-child(18) { left: 50%; top: 48%; animation-delay: 0.66s; --sx: 48px;  --ay: -13px; --dy: 102px; }
#title-screen .title-barbie-sparks i:nth-child(19) { left: 42%; top: 44%; animation-delay: 0.9s;  --sx: -24px; --ay: -19px; --dy: 84px; width: 2px; height: 2px; }
#title-screen .title-barbie-sparks i:nth-child(20) { left: 56%; top: 42%; animation-delay: 1.14s; --sx: 16px;  --ay: -7px;  --dy: 118px; }
#title-screen .title-barbie-sparks i:nth-child(21) { left: 38%; top: 48%; animation-delay: 0.42s; --sx: -50px; --ay: -14px; --dy: 100px; width: 1.5px; height: 1.5px; }
#title-screen .title-barbie-sparks i:nth-child(22) { left: 48%; top: 40%; animation-delay: 0.84s; --sx: 26px;  --ay: -23px; --dy: 76px; }
#title-screen .title-barbie-sparks i:nth-child(23) { left: 60%; top: 50%; animation-delay: 1.26s; --sx: -8px;  --ay: -10px; --dy: 112px; width: 2px; height: 2px; }
#title-screen .title-barbie-sparks i:nth-child(24) { left: 34%; top: 42%; animation-delay: 0.48s; --sx: 38px;  --ay: -16px; --dy: 88px; }

#title-screen .title-barbie-sparks i:nth-child(3n)  { background: #ff8a2a; animation-duration: 1.35s; }
#title-screen .title-barbie-sparks i:nth-child(4n)  { background: #ffe08a; animation-duration: 1.75s; }
#title-screen .title-barbie-sparks i:nth-child(5n)  { animation-name: title-barbie-spark-arc-b; animation-duration: 1.9s; }
#title-screen .title-barbie-sparks i:nth-child(7n)  { box-shadow: 0 0 3px 1px rgba(255, 200, 80, 0.9), 0 0 6px 2px rgba(255, 40, 0, 0.45); }

@keyframes title-barbie-spark-arc {
  0% {
    transform: translate(0, 0) scale(0.35);
    opacity: 0;
  }
  6% {
    opacity: 1;
    transform: translate(calc(var(--sx, 20px) * 0.12), calc(var(--ay, -16px) * 0.35)) scale(1.05);
  }
  22% {
    opacity: 1;
    transform: translate(calc(var(--sx, 20px) * 0.45), var(--ay, -16px)) scale(1);
  }
  55% {
    opacity: 0.85;
    transform: translate(calc(var(--sx, 20px) * 0.82), calc(var(--dy, 90px) * 0.45)) scale(0.75);
  }
  82% {
    opacity: 0.35;
    transform: translate(var(--sx, 20px), calc(var(--dy, 90px) * 0.88)) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--sx, 20px) * 1.05), var(--dy, 90px)) scale(0.15);
  }
}

@keyframes title-barbie-spark-arc-b {
  0% {
    transform: translate(0, 0) scale(0.3);
    opacity: 0;
  }
  8% {
    opacity: 1;
    transform: translate(calc(var(--sx, -18px) * 0.2), calc(var(--ay, -12px) * 0.5)) scale(1.15);
  }
  28% {
    opacity: 1;
    transform: translate(calc(var(--sx, -18px) * 0.55), calc(var(--ay, -12px) * 1.15)) scale(0.95);
  }
  60% {
    opacity: 0.7;
    transform: translate(calc(var(--sx, -18px) * 0.9), calc(var(--dy, 100px) * 0.55)) scale(0.55);
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--sx, -18px) * 1.1), calc(var(--dy, 100px) * 1.08)) scale(0.1);
  }
}

#title-screen .title-barbie-smoke i {
  position: absolute;
  left: 45%;
  top: 40%;
  width: 34px;
  height: 14px;
  border-radius: 60% 50% 55% 45%;
  background: radial-gradient(
    ellipse at 40% 45%,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(230, 230, 235, 0.34) 35%,
    rgba(200, 200, 210, 0.12) 60%,
    transparent 78%
  );
  filter: blur(3.5px);
  opacity: 0;
  mix-blend-mode: screen;
  animation: title-barbie-wisp 5.8s ease-out infinite;
  transform-origin: center bottom;
}

#title-screen .title-barbie-smoke--gag {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Kill flat haze blobs — they fought the painted smoke look */
#title-screen .title-barbie-smoke--gag::before,
#title-screen .title-barbie-smoke--gag::after {
  content: none;
}

#title-screen .title-barbie-smoke i:nth-child(1) { left: 27.6%; top: 35.4%; animation-delay: -0.00s; width: 28px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(2) { left: 29.4%; top: 36.2%; animation-delay: -0.06s; width: 34px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(3) { left: 32.6%; top: 37.8%; animation-delay: -0.11s; width: 40px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(4) { left: 34.4%; top: 38.6%; animation-delay: -0.17s; width: 46px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(5) { left: 37.6%; top: 40.2%; animation-delay: -0.22s; width: 52px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(6) { left: 39.4%; top: 41.0%; animation-delay: -0.28s; width: 28px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(7) { left: 42.6%; top: 42.6%; animation-delay: -0.33s; width: 34px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(8) { left: 44.4%; top: 43.4%; animation-delay: -0.39s; width: 40px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(9) { left: 47.6%; top: 45.0%; animation-delay: -0.44s; width: 46px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(10) { left: 49.4%; top: 45.8%; animation-delay: -0.49s; width: 52px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(11) { left: 52.6%; top: 35.4%; animation-delay: -0.55s; width: 28px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(12) { left: 54.4%; top: 36.2%; animation-delay: -0.60s; width: 34px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(13) { left: 57.6%; top: 37.8%; animation-delay: -0.66s; width: 40px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(14) { left: 59.4%; top: 38.6%; animation-delay: -0.71s; width: 46px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(15) { left: 62.6%; top: 40.2%; animation-delay: -0.77s; width: 52px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(16) { left: 64.4%; top: 41.0%; animation-delay: -0.82s; width: 28px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(17) { left: 27.6%; top: 42.6%; animation-delay: -0.88s; width: 34px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(18) { left: 29.4%; top: 43.4%; animation-delay: -0.94s; width: 40px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(19) { left: 32.6%; top: 45.0%; animation-delay: -0.99s; width: 46px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(20) { left: 34.4%; top: 45.8%; animation-delay: -1.04s; width: 52px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(21) { left: 37.6%; top: 35.4%; animation-delay: -1.10s; width: 28px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(22) { left: 39.4%; top: 36.2%; animation-delay: -1.16s; width: 34px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(23) { left: 42.6%; top: 37.8%; animation-delay: -1.21s; width: 40px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(24) { left: 44.4%; top: 38.6%; animation-delay: -1.26s; width: 46px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(25) { left: 47.6%; top: 40.2%; animation-delay: -1.32s; width: 52px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(26) { left: 49.4%; top: 41.0%; animation-delay: -1.38s; width: 28px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(27) { left: 52.6%; top: 42.6%; animation-delay: -1.43s; width: 34px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(28) { left: 54.4%; top: 43.4%; animation-delay: -1.49s; width: 40px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(29) { left: 57.6%; top: 45.0%; animation-delay: -1.54s; width: 46px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(30) { left: 59.4%; top: 45.8%; animation-delay: -1.59s; width: 52px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(31) { left: 62.6%; top: 35.4%; animation-delay: -1.65s; width: 28px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(32) { left: 64.4%; top: 36.2%; animation-delay: -1.71s; width: 34px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(33) { left: 27.6%; top: 37.8%; animation-delay: -1.76s; width: 40px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(34) { left: 29.4%; top: 38.6%; animation-delay: -1.81s; width: 46px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(35) { left: 32.6%; top: 40.2%; animation-delay: -1.87s; width: 52px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(36) { left: 34.4%; top: 41.0%; animation-delay: -1.93s; width: 28px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(37) { left: 37.6%; top: 42.6%; animation-delay: -1.98s; width: 34px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(38) { left: 39.4%; top: 43.4%; animation-delay: -2.04s; width: 40px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(39) { left: 42.6%; top: 45.0%; animation-delay: -2.09s; width: 46px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(40) { left: 44.4%; top: 45.8%; animation-delay: -2.15s; width: 52px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(41) { left: 47.6%; top: 35.4%; animation-delay: -2.20s; width: 28px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(42) { left: 49.4%; top: 36.2%; animation-delay: -2.25s; width: 34px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(43) { left: 52.6%; top: 37.8%; animation-delay: -2.31s; width: 40px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(44) { left: 54.4%; top: 38.6%; animation-delay: -2.37s; width: 46px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(45) { left: 57.6%; top: 40.2%; animation-delay: -2.42s; width: 52px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(46) { left: 59.4%; top: 41.0%; animation-delay: -2.48s; width: 28px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(47) { left: 62.6%; top: 42.6%; animation-delay: -2.53s; width: 34px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(48) { left: 64.4%; top: 43.4%; animation-delay: -2.58s; width: 40px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(49) { left: 28.0%; top: 45.5%; animation-delay: -2.64s; width: 46px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(50) { left: 29.8%; top: 46.3%; animation-delay: -2.69s; width: 52px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(51) { left: 33.0%; top: 35.9%; animation-delay: -2.75s; width: 28px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(52) { left: 34.8%; top: 36.7%; animation-delay: -2.81s; width: 34px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(53) { left: 38.0%; top: 38.3%; animation-delay: -2.86s; width: 40px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(54) { left: 39.8%; top: 39.1%; animation-delay: -2.92s; width: 46px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(55) { left: 43.0%; top: 40.7%; animation-delay: -2.97s; width: 52px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(56) { left: 44.8%; top: 41.5%; animation-delay: -3.02s; width: 28px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(57) { left: 48.0%; top: 43.1%; animation-delay: -3.08s; width: 34px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(58) { left: 49.8%; top: 43.9%; animation-delay: -3.14s; width: 40px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(59) { left: 53.0%; top: 45.5%; animation-delay: -3.19s; width: 46px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(60) { left: 54.8%; top: 46.3%; animation-delay: -3.25s; width: 52px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(61) { left: 58.0%; top: 35.9%; animation-delay: -3.30s; width: 28px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(62) { left: 59.8%; top: 36.7%; animation-delay: -3.35s; width: 34px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(63) { left: 63.0%; top: 38.3%; animation-delay: -3.41s; width: 40px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(64) { left: 64.7%; top: 39.1%; animation-delay: -3.46s; width: 46px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(65) { left: 28.0%; top: 40.7%; animation-delay: -3.52s; width: 52px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(66) { left: 29.8%; top: 41.5%; animation-delay: -3.58s; width: 28px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(67) { left: 33.0%; top: 43.1%; animation-delay: -3.63s; width: 34px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(68) { left: 34.8%; top: 43.9%; animation-delay: -3.69s; width: 40px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(69) { left: 38.0%; top: 45.5%; animation-delay: -3.74s; width: 46px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(70) { left: 39.8%; top: 46.3%; animation-delay: -3.79s; width: 52px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(71) { left: 43.0%; top: 35.9%; animation-delay: -3.85s; width: 28px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(72) { left: 44.8%; top: 36.7%; animation-delay: -3.90s; width: 34px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(73) { left: 48.0%; top: 38.3%; animation-delay: -3.96s; width: 40px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(74) { left: 49.8%; top: 39.1%; animation-delay: -4.01s; width: 46px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(75) { left: 53.0%; top: 40.7%; animation-delay: -4.07s; width: 52px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(76) { left: 54.8%; top: 41.5%; animation-delay: -4.12s; width: 28px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(77) { left: 58.0%; top: 43.1%; animation-delay: -4.18s; width: 34px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(78) { left: 59.8%; top: 43.9%; animation-delay: -4.24s; width: 40px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(79) { left: 63.0%; top: 45.5%; animation-delay: -4.29s; width: 46px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(80) { left: 64.7%; top: 46.3%; animation-delay: -4.34s; width: 52px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(81) { left: 28.0%; top: 35.9%; animation-delay: -4.40s; width: 28px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(82) { left: 29.8%; top: 36.7%; animation-delay: -4.46s; width: 34px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(83) { left: 33.0%; top: 38.3%; animation-delay: -4.51s; width: 40px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(84) { left: 34.8%; top: 39.1%; animation-delay: -4.57s; width: 46px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(85) { left: 38.0%; top: 40.7%; animation-delay: -4.62s; width: 52px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(86) { left: 39.8%; top: 41.5%; animation-delay: -4.67s; width: 28px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(87) { left: 43.0%; top: 43.1%; animation-delay: -4.73s; width: 34px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(88) { left: 44.8%; top: 43.9%; animation-delay: -4.79s; width: 40px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(89) { left: 48.0%; top: 45.5%; animation-delay: -4.84s; width: 46px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(90) { left: 49.8%; top: 46.3%; animation-delay: -4.90s; width: 52px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(91) { left: 53.0%; top: 35.9%; animation-delay: -4.95s; width: 28px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(92) { left: 54.8%; top: 36.7%; animation-delay: -5.00s; width: 34px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(93) { left: 58.0%; top: 38.3%; animation-delay: -5.06s; width: 40px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(94) { left: 59.8%; top: 39.1%; animation-delay: -5.12s; width: 46px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(95) { left: 63.0%; top: 40.7%; animation-delay: -5.17s; width: 52px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(96) { left: 64.7%; top: 41.5%; animation-delay: -5.22s; width: 28px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(97) { left: 28.3%; top: 43.6%; animation-delay: -5.28s; width: 34px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(98) { left: 30.1%; top: 44.4%; animation-delay: -5.33s; width: 40px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(99) { left: 33.3%; top: 46.0%; animation-delay: -5.39s; width: 46px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(100) { left: 35.1%; top: 46.8%; animation-delay: -5.45s; width: 52px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(101) { left: 38.3%; top: 36.4%; animation-delay: -5.50s; width: 28px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(102) { left: 40.1%; top: 37.2%; animation-delay: -5.55s; width: 34px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(103) { left: 43.3%; top: 38.8%; animation-delay: -5.61s; width: 40px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(104) { left: 45.1%; top: 39.6%; animation-delay: -5.67s; width: 46px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(105) { left: 48.3%; top: 41.2%; animation-delay: -5.72s; width: 52px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(106) { left: 50.1%; top: 42.0%; animation-delay: -5.78s; width: 28px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(107) { left: 53.3%; top: 43.6%; animation-delay: -5.83s; width: 34px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(108) { left: 55.1%; top: 44.4%; animation-delay: -5.88s; width: 40px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(109) { left: 58.3%; top: 46.0%; animation-delay: -5.94s; width: 46px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(110) { left: 60.1%; top: 46.8%; animation-delay: -6.00s; width: 52px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(111) { left: 63.3%; top: 36.4%; animation-delay: -6.05s; width: 28px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(112) { left: 65.1%; top: 37.2%; animation-delay: -6.11s; width: 34px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(113) { left: 28.3%; top: 38.8%; animation-delay: -6.16s; width: 40px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(114) { left: 30.1%; top: 39.6%; animation-delay: -6.21s; width: 46px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(115) { left: 33.3%; top: 41.2%; animation-delay: -6.27s; width: 52px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(116) { left: 35.1%; top: 42.0%; animation-delay: -6.33s; width: 28px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(117) { left: 38.3%; top: 43.6%; animation-delay: -6.38s; width: 34px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(118) { left: 40.1%; top: 44.4%; animation-delay: -6.43s; width: 40px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(119) { left: 43.3%; top: 46.0%; animation-delay: -6.49s; width: 46px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(120) { left: 45.1%; top: 46.8%; animation-delay: -6.54s; width: 52px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(121) { left: 48.3%; top: 36.4%; animation-delay: -6.60s; width: 28px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(122) { left: 50.1%; top: 37.2%; animation-delay: -6.66s; width: 34px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(123) { left: 53.3%; top: 38.8%; animation-delay: -6.71s; width: 40px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(124) { left: 55.1%; top: 39.6%; animation-delay: -6.76s; width: 46px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(125) { left: 58.3%; top: 41.2%; animation-delay: -6.82s; width: 52px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(126) { left: 60.1%; top: 42.0%; animation-delay: -6.88s; width: 28px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(127) { left: 63.3%; top: 43.6%; animation-delay: -6.93s; width: 34px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(128) { left: 65.1%; top: 44.4%; animation-delay: -6.99s; width: 40px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(129) { left: 28.3%; top: 46.0%; animation-delay: -7.04s; width: 46px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(130) { left: 30.1%; top: 46.8%; animation-delay: -7.09s; width: 52px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(131) { left: 33.3%; top: 36.4%; animation-delay: -7.15s; width: 28px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(132) { left: 35.1%; top: 37.2%; animation-delay: -7.21s; width: 34px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(133) { left: 38.3%; top: 38.8%; animation-delay: -7.26s; width: 40px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(134) { left: 40.1%; top: 39.6%; animation-delay: -7.32s; width: 46px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(135) { left: 43.3%; top: 41.2%; animation-delay: -7.37s; width: 52px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(136) { left: 45.1%; top: 42.0%; animation-delay: -7.42s; width: 28px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(137) { left: 48.3%; top: 43.6%; animation-delay: -7.48s; width: 34px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(138) { left: 50.1%; top: 44.4%; animation-delay: -7.54s; width: 40px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(139) { left: 53.3%; top: 46.0%; animation-delay: -7.59s; width: 46px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(140) { left: 55.1%; top: 46.8%; animation-delay: -7.65s; width: 52px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(141) { left: 58.3%; top: 36.4%; animation-delay: -7.70s; width: 28px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(142) { left: 60.1%; top: 37.2%; animation-delay: -7.75s; width: 34px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(143) { left: 63.3%; top: 38.8%; animation-delay: -7.81s; width: 40px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(144) { left: 65.1%; top: 39.6%; animation-delay: -7.87s; width: 46px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(145) { left: 28.7%; top: 41.7%; animation-delay: -7.92s; width: 52px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(146) { left: 30.5%; top: 42.5%; animation-delay: -7.97s; width: 28px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(147) { left: 33.6%; top: 44.1%; animation-delay: -8.03s; width: 34px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(148) { left: 35.4%; top: 44.9%; animation-delay: -8.09s; width: 40px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(149) { left: 38.6%; top: 46.5%; animation-delay: -8.14s; width: 46px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(150) { left: 40.4%; top: 47.3%; animation-delay: -8.20s; width: 52px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(151) { left: 43.6%; top: 36.9%; animation-delay: -8.25s; width: 28px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(152) { left: 45.4%; top: 37.7%; animation-delay: -8.30s; width: 34px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(153) { left: 48.6%; top: 39.3%; animation-delay: -8.36s; width: 40px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(154) { left: 50.4%; top: 40.1%; animation-delay: -8.42s; width: 46px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(155) { left: 53.6%; top: 41.7%; animation-delay: -8.47s; width: 52px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(156) { left: 55.4%; top: 42.5%; animation-delay: -8.53s; width: 28px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(157) { left: 58.6%; top: 44.1%; animation-delay: -8.58s; width: 34px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(158) { left: 60.4%; top: 44.9%; animation-delay: -8.63s; width: 40px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(159) { left: 63.6%; top: 46.5%; animation-delay: -8.69s; width: 46px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(160) { left: 65.4%; top: 47.3%; animation-delay: -8.74s; width: 52px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(161) { left: 28.7%; top: 36.9%; animation-delay: -8.80s; width: 28px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(162) { left: 30.5%; top: 37.7%; animation-delay: -8.86s; width: 34px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(163) { left: 33.6%; top: 39.3%; animation-delay: -8.91s; width: 40px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(164) { left: 35.4%; top: 40.1%; animation-delay: -8.96s; width: 46px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(165) { left: 38.6%; top: 41.7%; animation-delay: -9.02s; width: 52px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(166) { left: 40.4%; top: 42.5%; animation-delay: -9.07s; width: 28px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(167) { left: 43.6%; top: 44.1%; animation-delay: -9.13s; width: 34px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(168) { left: 45.4%; top: 44.9%; animation-delay: -9.19s; width: 40px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(169) { left: 48.6%; top: 46.5%; animation-delay: -9.24s; width: 46px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(170) { left: 50.4%; top: 47.3%; animation-delay: -9.29s; width: 52px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(171) { left: 53.6%; top: 36.9%; animation-delay: -9.35s; width: 28px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(172) { left: 55.4%; top: 37.7%; animation-delay: -9.40s; width: 34px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(173) { left: 58.6%; top: 39.3%; animation-delay: -9.46s; width: 40px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(174) { left: 60.4%; top: 40.1%; animation-delay: -9.52s; width: 46px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(175) { left: 63.6%; top: 41.7%; animation-delay: -9.57s; width: 52px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(176) { left: 65.4%; top: 42.5%; animation-delay: -9.62s; width: 28px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(177) { left: 28.7%; top: 44.1%; animation-delay: -9.68s; width: 34px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(178) { left: 30.5%; top: 44.9%; animation-delay: -9.73s; width: 40px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(179) { left: 33.6%; top: 46.5%; animation-delay: -9.79s; width: 46px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(180) { left: 35.4%; top: 47.3%; animation-delay: -9.85s; width: 52px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(181) { left: 38.6%; top: 36.9%; animation-delay: -9.90s; width: 28px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(182) { left: 40.4%; top: 37.7%; animation-delay: -9.96s; width: 34px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(183) { left: 43.6%; top: 39.3%; animation-delay: -10.01s; width: 40px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(184) { left: 45.4%; top: 40.1%; animation-delay: -10.06s; width: 46px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(185) { left: 48.6%; top: 41.7%; animation-delay: -10.12s; width: 52px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(186) { left: 50.4%; top: 42.5%; animation-delay: -10.18s; width: 28px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(187) { left: 53.6%; top: 44.1%; animation-delay: -10.23s; width: 34px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(188) { left: 55.4%; top: 44.9%; animation-delay: -10.29s; width: 40px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(189) { left: 58.6%; top: 46.5%; animation-delay: -10.34s; width: 46px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(190) { left: 60.4%; top: 47.3%; animation-delay: -10.39s; width: 52px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(191) { left: 63.6%; top: 36.9%; animation-delay: -10.45s; width: 28px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(192) { left: 65.4%; top: 37.7%; animation-delay: -10.51s; width: 34px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(193) { left: 27.8%; top: 38.2%; animation-delay: -10.56s; width: 40px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(194) { left: 29.6%; top: 39.0%; animation-delay: -10.62s; width: 46px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(195) { left: 32.8%; top: 40.6%; animation-delay: -10.67s; width: 52px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(196) { left: 34.6%; top: 41.4%; animation-delay: -10.72s; width: 28px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(197) { left: 37.8%; top: 43.0%; animation-delay: -10.78s; width: 34px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(198) { left: 39.6%; top: 43.8%; animation-delay: -10.84s; width: 40px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(199) { left: 42.8%; top: 45.4%; animation-delay: -10.89s; width: 46px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(200) { left: 44.6%; top: 46.2%; animation-delay: -10.95s; width: 52px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(201) { left: 47.8%; top: 35.8%; animation-delay: -11.00s; width: 28px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(202) { left: 49.6%; top: 36.6%; animation-delay: -11.05s; width: 34px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(203) { left: 52.8%; top: 38.2%; animation-delay: -11.11s; width: 40px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(204) { left: 54.6%; top: 39.0%; animation-delay: -11.17s; width: 46px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(205) { left: 57.8%; top: 40.6%; animation-delay: -11.22s; width: 52px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(206) { left: 59.6%; top: 41.4%; animation-delay: -11.28s; width: 28px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(207) { left: 62.8%; top: 43.0%; animation-delay: -11.33s; width: 34px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(208) { left: 64.6%; top: 43.8%; animation-delay: -11.38s; width: 40px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(209) { left: 27.8%; top: 45.4%; animation-delay: -11.44s; width: 46px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(210) { left: 29.6%; top: 46.2%; animation-delay: -11.49s; width: 52px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(211) { left: 32.8%; top: 35.8%; animation-delay: -11.55s; width: 28px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(212) { left: 34.6%; top: 36.6%; animation-delay: -11.61s; width: 34px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(213) { left: 37.8%; top: 38.2%; animation-delay: -11.66s; width: 40px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(214) { left: 39.6%; top: 39.0%; animation-delay: -11.71s; width: 46px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(215) { left: 42.8%; top: 40.6%; animation-delay: -11.77s; width: 52px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(216) { left: 44.6%; top: 41.4%; animation-delay: -11.82s; width: 28px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(217) { left: 47.8%; top: 43.0%; animation-delay: -11.88s; width: 34px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(218) { left: 49.6%; top: 43.8%; animation-delay: -11.94s; width: 40px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(219) { left: 52.8%; top: 45.4%; animation-delay: -11.99s; width: 46px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(220) { left: 54.6%; top: 46.2%; animation-delay: -12.04s; width: 52px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(221) { left: 57.8%; top: 35.8%; animation-delay: -12.10s; width: 28px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(222) { left: 59.6%; top: 36.6%; animation-delay: -12.15s; width: 34px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(223) { left: 62.8%; top: 38.2%; animation-delay: -12.21s; width: 40px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(224) { left: 64.6%; top: 39.0%; animation-delay: -12.27s; width: 46px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(225) { left: 27.8%; top: 40.6%; animation-delay: -12.32s; width: 52px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(226) { left: 29.6%; top: 41.4%; animation-delay: -12.38s; width: 28px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(227) { left: 32.8%; top: 43.0%; animation-delay: -12.43s; width: 34px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(228) { left: 34.6%; top: 43.8%; animation-delay: -12.48s; width: 40px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(229) { left: 37.8%; top: 45.4%; animation-delay: -12.54s; width: 46px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(230) { left: 39.6%; top: 46.2%; animation-delay: -12.60s; width: 52px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(231) { left: 42.8%; top: 35.8%; animation-delay: -12.65s; width: 28px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(232) { left: 44.6%; top: 36.6%; animation-delay: -12.71s; width: 34px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(233) { left: 47.8%; top: 38.2%; animation-delay: -12.76s; width: 40px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(234) { left: 49.6%; top: 39.0%; animation-delay: -12.81s; width: 46px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(235) { left: 52.8%; top: 40.6%; animation-delay: -12.87s; width: 52px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(236) { left: 54.6%; top: 41.4%; animation-delay: -12.93s; width: 28px; height: 19px; }
#title-screen .title-barbie-smoke i:nth-child(237) { left: 57.8%; top: 43.0%; animation-delay: -12.98s; width: 34px; height: 10px; }
#title-screen .title-barbie-smoke i:nth-child(238) { left: 59.6%; top: 43.8%; animation-delay: -13.04s; width: 40px; height: 13px; }
#title-screen .title-barbie-smoke i:nth-child(239) { left: 62.8%; top: 45.4%; animation-delay: -13.09s; width: 46px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(240) { left: 64.6%; top: 46.2%; animation-delay: -13.14s; width: 52px; height: 19px; }

@keyframes title-barbie-wisp {
  0% {
    transform: translate(0, 0) scale(0.45, 0.5) rotate(-6deg);
    opacity: 0;
    border-radius: 55% 45% 50% 50%;
    filter: blur(2.5px);
  }
  8% {
    opacity: 0.78;
  }
  28% {
    transform: translate(var(--sx, 8px), -70px) scale(0.95, 1.2) rotate(8deg);
    opacity: 0.68;
    border-radius: 40% 60% 45% 55%;
    filter: blur(4px);
  }
  55% {
    transform: translate(calc(var(--sx, 8px) * 1.35), -170px) scale(1.4, 1.75) rotate(-10deg);
    opacity: 0.42;
    border-radius: 60% 40% 55% 45%;
    filter: blur(5.5px);
  }
  78% {
    transform: translate(calc(var(--sx, 8px) * 1.65), -250px) scale(1.65, 2.05) rotate(2deg);
    opacity: 0.18;
    border-radius: 50% 50% 45% 55%;
    filter: blur(7px);
  }
  100% {
    transform: translate(calc(var(--sx, 8px) * 1.9), -320px) scale(1.85, 2.35) rotate(4deg);
    opacity: 0;
    border-radius: 50% 50% 40% 60%;
    filter: blur(9px);
  }
}

#title-screen .title-barbie-smoke i:nth-child(odd)  { --sx: -14px; }
#title-screen .title-barbie-smoke i:nth-child(even) { --sx: 6px; }
#title-screen .title-barbie-smoke i:nth-child(3n)   { --sx: 2px; animation-duration: 5.2s; }
#title-screen .title-barbie-smoke i:nth-child(4n)   { --sx: -10px; animation-duration: 6.4s; }
#title-screen .title-barbie-smoke i:nth-child(5n)   { --sx: 4px; animation-duration: 7s; width: 48px; height: 16px; }
#title-screen .title-barbie-smoke i:nth-child(6n)   { filter: blur(5px); }
#title-screen .title-barbie-smoke i:nth-child(7n)   { --sx: -18px; animation-name: title-barbie-wisp-b; }

/* Keep tray smoke from drifting off the right of the barbie */
#title-screen .title-barbie-smoke i:nth-child(8), #title-screen .title-barbie-smoke i:nth-child(16), #title-screen .title-barbie-smoke i:nth-child(24), #title-screen .title-barbie-smoke i:nth-child(32), #title-screen .title-barbie-smoke i:nth-child(40), #title-screen .title-barbie-smoke i:nth-child(48), #title-screen .title-barbie-smoke i:nth-child(56), #title-screen .title-barbie-smoke i:nth-child(64), #title-screen .title-barbie-smoke i:nth-child(72), #title-screen .title-barbie-smoke i:nth-child(80), #title-screen .title-barbie-smoke i:nth-child(88), #title-screen .title-barbie-smoke i:nth-child(96), #title-screen .title-barbie-smoke i:nth-child(104), #title-screen .title-barbie-smoke i:nth-child(112), #title-screen .title-barbie-smoke i:nth-child(120), #title-screen .title-barbie-smoke i:nth-child(128), #title-screen .title-barbie-smoke i:nth-child(136), #title-screen .title-barbie-smoke i:nth-child(144), #title-screen .title-barbie-smoke i:nth-child(152), #title-screen .title-barbie-smoke i:nth-child(160), #title-screen .title-barbie-smoke i:nth-child(168), #title-screen .title-barbie-smoke i:nth-child(176), #title-screen .title-barbie-smoke i:nth-child(184), #title-screen .title-barbie-smoke i:nth-child(192), #title-screen .title-barbie-smoke i:nth-child(200), #title-screen .title-barbie-smoke i:nth-child(208), #title-screen .title-barbie-smoke i:nth-child(216), #title-screen .title-barbie-smoke i:nth-child(224), #title-screen .title-barbie-smoke i:nth-child(232), #title-screen .title-barbie-smoke i:nth-child(240) {
  --sx: -8px;
}

@keyframes title-barbie-wisp-b {
  0% {
    transform: translate(0, 0) scale(0.4, 0.55) rotate(8deg);
    opacity: 0;
  }
  10% { opacity: 0.72; }
  35% {
    transform: translate(var(--sx, -10px), -95px) scale(1.1, 1.45) rotate(-12deg);
    opacity: 0.55;
    border-radius: 65% 35% 50% 50%;
  }
  65% {
    transform: translate(calc(var(--sx, -10px) * 1.4), -210px) scale(1.5, 1.9) rotate(4deg);
    opacity: 0.28;
  }
  100% {
    transform: translate(calc(var(--sx, -10px) * 1.7), -340px) scale(1.9, 2.5) rotate(6deg);
    opacity: 0;
    filter: blur(9px);
  }
}

/* Thick wisps mixed into the painted PNG smoke above the barbie spit */
#title-screen .title-barbie-png-wisps {
  position: absolute;
  left: 28%;
  top: -8%;
  width: 55%;
  height: 55%;
  pointer-events: none;
  overflow: visible;
  z-index: 3;
}

#title-screen .title-barbie-png-wisps i {
  position: absolute;
  left: 40%;
  top: 55%;
  width: 56px;
  height: 22px;
  border-radius: 55% 45% 60% 40%;
  background: radial-gradient(
    ellipse at 45% 50%,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(235, 235, 240, 0.44) 32%,
    rgba(200, 200, 210, 0.16) 58%,
    transparent 78%
  );
  filter: blur(4px);
  opacity: 0;
  mix-blend-mode: screen;
  transform-origin: 40% 80%;
  animation: title-barbie-png-wisp 6.4s ease-out infinite;
}

#title-screen .title-barbie-png-wisps i:nth-child(1) { left: 8%; top: 28%; animation-delay: -0.00s; width: 62px; height: 24px; }
#title-screen .title-barbie-png-wisps i:nth-child(2) { left: 12%; top: 34%; animation-delay: -0.18s; width: 50px; height: 20px; }
#title-screen .title-barbie-png-wisps i:nth-child(3) { left: 18%; top: 38%; animation-delay: -0.36s; width: 66px; height: 26px; }
#title-screen .title-barbie-png-wisps i:nth-child(4) { left: 22%; top: 42%; animation-delay: -0.54s; width: 48px; height: 18px; }
#title-screen .title-barbie-png-wisps i:nth-child(5) { left: 28%; top: 44%; animation-delay: -0.72s; width: 58px; height: 22px; }
#title-screen .title-barbie-png-wisps i:nth-child(6) { left: 36%; top: 48%; animation-delay: -0.90s; width: 54px; height: 22px; }
#title-screen .title-barbie-png-wisps i:nth-child(7) { left: 40%; top: 52%; animation-delay: -1.08s; width: 68px; height: 26px; }
#title-screen .title-barbie-png-wisps i:nth-child(8) { left: 42%; top: 55%; animation-delay: -1.26s; width: 44px; height: 16px; }
#title-screen .title-barbie-png-wisps i:nth-child(9) { left: 48%; top: 58%; animation-delay: -1.44s; width: 56px; height: 20px; }
#title-screen .title-barbie-png-wisps i:nth-child(10) { left: 50%; top: 60%; animation-delay: -1.62s; width: 58px; height: 20px; }
#title-screen .title-barbie-png-wisps i:nth-child(11) { left: 54%; top: 62%; animation-delay: -1.80s; width: 64px; height: 24px; }
#title-screen .title-barbie-png-wisps i:nth-child(12) { left: 10%; top: 29%; animation-delay: -1.98s; width: 62px; height: 24px; }
#title-screen .title-barbie-png-wisps i:nth-child(13) { left: 14%; top: 35%; animation-delay: -2.16s; width: 50px; height: 20px; }
#title-screen .title-barbie-png-wisps i:nth-child(14) { left: 20%; top: 39%; animation-delay: -2.34s; width: 66px; height: 26px; }
#title-screen .title-barbie-png-wisps i:nth-child(15) { left: 24%; top: 43%; animation-delay: -2.52s; width: 48px; height: 18px; }
#title-screen .title-barbie-png-wisps i:nth-child(16) { left: 30%; top: 45%; animation-delay: -2.70s; width: 58px; height: 22px; }
#title-screen .title-barbie-png-wisps i:nth-child(17) { left: 38%; top: 49%; animation-delay: -2.88s; width: 54px; height: 22px; }
#title-screen .title-barbie-png-wisps i:nth-child(18) { left: 42%; top: 53%; animation-delay: -3.06s; width: 68px; height: 26px; }
#title-screen .title-barbie-png-wisps i:nth-child(19) { left: 44%; top: 56%; animation-delay: -3.24s; width: 44px; height: 16px; }
#title-screen .title-barbie-png-wisps i:nth-child(20) { left: 50%; top: 59%; animation-delay: -3.42s; width: 56px; height: 20px; }
#title-screen .title-barbie-png-wisps i:nth-child(21) { left: 52%; top: 61%; animation-delay: -3.60s; width: 58px; height: 20px; }
#title-screen .title-barbie-png-wisps i:nth-child(22) { left: 56%; top: 63%; animation-delay: -3.78s; width: 64px; height: 24px; }
#title-screen .title-barbie-png-wisps i:nth-child(23) { left: 11%; top: 30%; animation-delay: -3.96s; width: 62px; height: 24px; }
#title-screen .title-barbie-png-wisps i:nth-child(24) { left: 15%; top: 36%; animation-delay: -4.14s; width: 50px; height: 20px; }
#title-screen .title-barbie-png-wisps i:nth-child(25) { left: 21%; top: 40%; animation-delay: -4.32s; width: 66px; height: 26px; }
#title-screen .title-barbie-png-wisps i:nth-child(26) { left: 25%; top: 44%; animation-delay: -4.50s; width: 48px; height: 18px; }
#title-screen .title-barbie-png-wisps i:nth-child(27) { left: 31%; top: 46%; animation-delay: -4.68s; width: 58px; height: 22px; }
#title-screen .title-barbie-png-wisps i:nth-child(28) { left: 39%; top: 50%; animation-delay: -4.86s; width: 54px; height: 22px; }
#title-screen .title-barbie-png-wisps i:nth-child(29) { left: 43%; top: 54%; animation-delay: -5.04s; width: 68px; height: 26px; }
#title-screen .title-barbie-png-wisps i:nth-child(30) { left: 45%; top: 57%; animation-delay: -5.22s; width: 44px; height: 16px; }
#title-screen .title-barbie-png-wisps i:nth-child(31) { left: 51%; top: 60%; animation-delay: -5.40s; width: 56px; height: 20px; }
#title-screen .title-barbie-png-wisps i:nth-child(32) { left: 53%; top: 62%; animation-delay: -5.58s; width: 58px; height: 20px; }
#title-screen .title-barbie-png-wisps i:nth-child(33) { left: 56%; top: 64%; animation-delay: -5.76s; width: 64px; height: 24px; }
#title-screen .title-barbie-png-wisps i:nth-child(34) { left: 8%; top: 29%; animation-delay: -5.94s; width: 62px; height: 24px; }
#title-screen .title-barbie-png-wisps i:nth-child(35) { left: 12%; top: 35%; animation-delay: -6.12s; width: 50px; height: 20px; }
#title-screen .title-barbie-png-wisps i:nth-child(36) { left: 18%; top: 39%; animation-delay: -6.30s; width: 66px; height: 26px; }
#title-screen .title-barbie-png-wisps i:nth-child(37) { left: 22%; top: 43%; animation-delay: -6.48s; width: 48px; height: 18px; }
#title-screen .title-barbie-png-wisps i:nth-child(38) { left: 28%; top: 45%; animation-delay: -6.66s; width: 58px; height: 22px; }
#title-screen .title-barbie-png-wisps i:nth-child(39) { left: 36%; top: 49%; animation-delay: -6.84s; width: 54px; height: 22px; }
#title-screen .title-barbie-png-wisps i:nth-child(40) { left: 40%; top: 53%; animation-delay: -7.02s; width: 68px; height: 26px; }
#title-screen .title-barbie-png-wisps i:nth-child(41) { left: 42%; top: 56%; animation-delay: -7.20s; width: 44px; height: 16px; }
#title-screen .title-barbie-png-wisps i:nth-child(42) { left: 48%; top: 59%; animation-delay: -7.38s; width: 56px; height: 20px; }
#title-screen .title-barbie-png-wisps i:nth-child(43) { left: 50%; top: 61%; animation-delay: -7.56s; width: 58px; height: 20px; }
#title-screen .title-barbie-png-wisps i:nth-child(44) { left: 54%; top: 63%; animation-delay: -7.74s; width: 64px; height: 24px; }
#title-screen .title-barbie-png-wisps i:nth-child(45) { left: 10%; top: 30%; animation-delay: -7.92s; width: 62px; height: 24px; }
#title-screen .title-barbie-png-wisps i:nth-child(46) { left: 14%; top: 36%; animation-delay: -8.10s; width: 50px; height: 20px; }
#title-screen .title-barbie-png-wisps i:nth-child(47) { left: 20%; top: 40%; animation-delay: -8.28s; width: 66px; height: 26px; }
#title-screen .title-barbie-png-wisps i:nth-child(48) { left: 24%; top: 44%; animation-delay: -8.46s; width: 48px; height: 18px; }
#title-screen .title-barbie-png-wisps i:nth-child(49) { left: 30%; top: 46%; animation-delay: -8.64s; width: 58px; height: 22px; }
#title-screen .title-barbie-png-wisps i:nth-child(50) { left: 38%; top: 50%; animation-delay: -8.82s; width: 54px; height: 22px; }
#title-screen .title-barbie-png-wisps i:nth-child(51) { left: 42%; top: 54%; animation-delay: -9.00s; width: 68px; height: 26px; }
#title-screen .title-barbie-png-wisps i:nth-child(52) { left: 44%; top: 57%; animation-delay: -9.18s; width: 44px; height: 16px; }
#title-screen .title-barbie-png-wisps i:nth-child(53) { left: 50%; top: 60%; animation-delay: -9.36s; width: 56px; height: 20px; }
#title-screen .title-barbie-png-wisps i:nth-child(54) { left: 52%; top: 62%; animation-delay: -9.54s; width: 58px; height: 20px; }
#title-screen .title-barbie-png-wisps i:nth-child(55) { left: 56%; top: 64%; animation-delay: -9.72s; width: 64px; height: 24px; }

#title-screen .title-barbie-png-wisps i:nth-child(odd)  { --wx: -14px; animation-duration: 5.8s; }
#title-screen .title-barbie-png-wisps i:nth-child(even) { --wx: 6px; animation-duration: 7s; }
#title-screen .title-barbie-png-wisps i:nth-child(3n)   { --wx: -2px; animation-duration: 6.2s; }

@keyframes title-barbie-png-wisp {
  0% {
    transform: translate(0, 8px) scale(0.7, 0.65) rotate(-8deg);
    opacity: 0;
    border-radius: 50% 50% 45% 55%;
    filter: blur(3px);
  }
  10% {
    opacity: 0.9;
  }
  30% {
    transform: translate(var(--wx, 8px), -55px) scale(1.1, 1.3) rotate(10deg);
    opacity: 0.78;
    border-radius: 40% 60% 50% 50%;
    filter: blur(4.5px);
  }
  55% {
    transform: translate(calc(var(--wx, 8px) * 1.4), -140px) scale(1.4, 1.8) rotate(-12deg);
    opacity: 0.48;
    border-radius: 60% 40% 55% 45%;
    filter: blur(6px);
  }
  80% {
    transform: translate(calc(var(--wx, 8px) * 1.7), -210px) scale(1.6, 2.1) rotate(2deg);
    opacity: 0.2;
    filter: blur(7.5px);
  }
  100% {
    transform: translate(calc(var(--wx, 8px) * 1.95), -280px) scale(1.75, 2.35) rotate(4deg);
    opacity: 0;
    border-radius: 55% 45% 40% 60%;
    filter: blur(9px);
  }
}


#title-screen .title-bugs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

#title-screen .title-bug {
  position: absolute;
  display: block;
  opacity: 0.9;
  will-change: transform;
}

#title-screen .title-bug--bee {
  width: 7px;
  height: 5px;
  border-radius: 50%;
  background:
    linear-gradient(
      90deg,
      #1a1208 0 18%,
      #ffd24a 18% 36%,
      #1a1208 36% 52%,
      #ffd24a 52% 70%,
      #1a1208 70% 100%
    );
  box-shadow: 0 0 4px rgba(255, 210, 80, 0.35);
  animation: title-bug-wander-a 7.5s ease-in-out infinite;
}

#title-screen .title-bug--bee::before,
#title-screen .title-bug--bee::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 5px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  animation: title-bug-wing 0.14s ease-in-out infinite alternate;
}

#title-screen .title-bug--bee::before { left: 0; transform-origin: right center; }
#title-screen .title-bug--bee::after { right: 0; transform-origin: left center; }

#title-screen .title-bug--fly {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #2a2218;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.35);
  animation: title-bug-wander-b 5.2s linear infinite;
}

#title-screen .title-bug--fly::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  width: 7px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  animation: title-bug-wing 0.1s linear infinite alternate;
}

#title-screen .title-bug--butter {
  width: 10px;
  height: 8px;
  background: transparent;
  animation: title-bug-wander-c 9s ease-in-out infinite;
}

#title-screen .title-bug--butter::before,
#title-screen .title-bug--butter::after {
  content: "";
  position: absolute;
  top: 0;
  width: 6px;
  height: 8px;
  border-radius: 60% 60% 40% 40%;
  background: radial-gradient(circle at 40% 40%, #ffe27a, #ff7ad9 55%, #7a4cff 100%);
  animation: title-bug-wing 0.22s ease-in-out infinite alternate;
}

#title-screen .title-bug--butter::before {
  left: 0;
  transform-origin: right center;
}

#title-screen .title-bug--butter::after {
  right: 0;
  transform-origin: left center;
  filter: hue-rotate(40deg);
}

#title-screen .title-bug--moth {
  width: 9px;
  height: 7px;
  background: transparent;
  animation: title-bug-wander-c 11s ease-in-out infinite;
  opacity: 0.8;
}

#title-screen .title-bug--moth::before,
#title-screen .title-bug--moth::after {
  content: "";
  position: absolute;
  top: 0;
  width: 5px;
  height: 7px;
  border-radius: 55% 55% 45% 45%;
  background: radial-gradient(circle at 35% 35%, #f3e6c8, #c4a574 60%, #6b5340 100%);
  animation: title-bug-wing 0.28s ease-in-out infinite alternate;
}

#title-screen .title-bug--moth::before { left: 0; transform-origin: right center; }
#title-screen .title-bug--moth::after { right: 0; transform-origin: left center; }

#title-screen .title-bug--gnat {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(40, 30, 20, 0.85);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
  animation: title-bug-wander-d 3.4s linear infinite;
}

/* Bees 1–5 */
#title-screen .title-bugs .title-bug:nth-child(1) { left: 12%; top: 76%; animation-duration: 6.8s; }
#title-screen .title-bugs .title-bug:nth-child(2) { left: 22%; top: 84%; animation-duration: 8.2s; animation-delay: -2.1s; }
#title-screen .title-bugs .title-bug:nth-child(3) { left: 30%; top: 72%; animation-duration: 7.1s; animation-delay: -1.4s; }
#title-screen .title-bugs .title-bug:nth-child(4) { left: 64%; top: 88%; animation-duration: 7.6s; animation-delay: -3.2s; }
#title-screen .title-bugs .title-bug:nth-child(5) { left: 72%; top: 92%; animation-duration: 6.4s; animation-delay: -0.9s; }

/* Flies 6–11 */
#title-screen .title-bugs .title-bug:nth-child(6)  { left: 16%; top: 91%; animation-duration: 4.6s; }
#title-screen .title-bugs .title-bug:nth-child(7)  { left: 26%; top: 88%; animation-duration: 5.1s; animation-delay: -1.2s; }
#title-screen .title-bugs .title-bug:nth-child(8)  { left: 8%;  top: 82%; animation-duration: 4.3s; animation-delay: -2.4s; }
#title-screen .title-bugs .title-bug:nth-child(9)  { left: 60%; top: 93%; animation-duration: 5.4s; animation-delay: -1.8s; }
#title-screen .title-bugs .title-bug:nth-child(10) { left: 68%; top: 86%; animation-duration: 4.9s; animation-delay: -0.7s; }
#title-screen .title-bugs .title-bug:nth-child(11) { left: 74%; top: 94%; animation-duration: 5.7s; animation-delay: -3.5s; }

/* Butterflies 12–16 */
#title-screen .title-bugs .title-bug:nth-child(12) { left: 10%; top: 70%; animation-duration: 10s; }
#title-screen .title-bugs .title-bug:nth-child(13) { left: 27%; top: 93%; animation-duration: 8.6s; animation-delay: -3s; }
#title-screen .title-bugs .title-bug:nth-child(14) { left: 34%; top: 80%; animation-duration: 9.2s; animation-delay: -1.1s; filter: hue-rotate(70deg); }
#title-screen .title-bugs .title-bug:nth-child(15) { left: 62%; top: 84%; animation-duration: 9.4s; animation-delay: -1.6s; filter: hue-rotate(-25deg); }
#title-screen .title-bugs .title-bug:nth-child(16) { left: 70%; top: 90%; animation-duration: 8.8s; animation-delay: -4.2s; filter: hue-rotate(110deg); }

/* Moths 17–18 */
#title-screen .title-bugs .title-bug:nth-child(17) { left: 19%; top: 68%; animation-duration: 11.5s; animation-delay: -2s; }
#title-screen .title-bugs .title-bug:nth-child(18) { left: 58%; top: 80%; animation-duration: 10.8s; animation-delay: -5s; }

/* Gnats 19–22 */
#title-screen .title-bugs .title-bug:nth-child(19) { left: 14%; top: 94%; animation-duration: 3.2s; }
#title-screen .title-bugs .title-bug:nth-child(20) { left: 33%; top: 90%; animation-duration: 3.8s; animation-delay: -1s; }
#title-screen .title-bugs .title-bug:nth-child(21) { left: 66%; top: 95%; animation-duration: 3.5s; animation-delay: -1.7s; }
#title-screen .title-bugs .title-bug:nth-child(22) { left: 73%; top: 83%; animation-duration: 4.1s; animation-delay: -0.4s; }

@keyframes title-bug-wing {
  from { transform: scaleX(0.55) rotate(-8deg); opacity: 0.75; }
  to { transform: scaleX(1) rotate(8deg); opacity: 1; }
}

@keyframes title-bug-wander-a {
  0%   { transform: translate(0, 0) rotate(-8deg); }
  20%  { transform: translate(18px, -14px) rotate(12deg); }
  45%  { transform: translate(36px, 6px) rotate(-4deg); }
  70%  { transform: translate(10px, -22px) rotate(16deg); }
  100% { transform: translate(0, 0) rotate(-8deg); }
}

@keyframes title-bug-wander-b {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-16px, -10px); }
  50%  { transform: translate(12px, -18px); }
  75%  { transform: translate(22px, 4px); }
  100% { transform: translate(0, 0); }
}

@keyframes title-bug-wander-c {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  18%  { transform: translate(22px, -18px) rotate(14deg) scale(1.05); }
  40%  { transform: translate(48px, 4px) rotate(-10deg) scale(0.95); }
  62%  { transform: translate(16px, -28px) rotate(8deg) scale(1.08); }
  82%  { transform: translate(-12px, -8px) rotate(-6deg) scale(1); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

@keyframes title-bug-wander-d {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(8px, -6px); }
  40%  { transform: translate(-6px, -12px); }
  60%  { transform: translate(14px, -4px); }
  80%  { transform: translate(-4px, 5px); }
  100% { transform: translate(0, 0); }
}

#title-screen .title-actions {
  position: absolute;
  bottom: calc(10% + env(safe-area-inset-bottom, 0px));
  left: 50%;
  width: min(90%, 480px);
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

#title-screen.is-briefing .title-actions {
  display: none;
}

#title-enter,
.title-brief-cta {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: clamp(10px, 2vh, 18px) 24px;
  border: 4px solid #171022;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff09b 0%, #ffd54a 40%, #ff9a2e 100%);
  box-shadow:
    0 6px 0 #6e3413,
    0 10px 28px rgba(255, 154, 46, 0.5),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
  color: #211126;
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: 0.07em;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  animation: granny-button-pulse 2.4s ease-in-out infinite;
}

#title-enter:hover,
.title-brief-cta:hover {
  filter: brightness(1.1);
}

#title-enter:focus,
.title-brief-cta:focus,
.title-skip:focus {
  outline: none;
}

#title-enter:focus-visible,
.title-brief-cta:focus-visible,
.title-skip:focus-visible {
  outline: 3px solid rgba(255, 213, 74, 0.9);
  outline-offset: 4px;
}

#title-enter:active,
.title-brief-cta:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #6e3413;
}

@keyframes granny-button-pulse {
  0%, 100% { box-shadow: 0 6px 0 #6e3413, 0 10px 24px rgba(255, 154, 46, 0.35); }
  50% { box-shadow: 0 6px 0 #6e3413, 0 10px 36px rgba(255, 213, 74, 0.75); }
}

#title-screen .title-tagline {
  margin: 12px 0 0;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: clamp(13px, 1.5vw, 18px);
  color: #fff2bd;
  text-shadow: 0 2px 6px #07060f;
}

.title-skip {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 12px;
  border: none;
  background: transparent;
  color: rgba(255, 242, 189, 0.85);
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  touch-action: manipulation;
  text-shadow: 0 2px 6px #07060f;
}

.title-skip:hover {
  color: #fff;
}

.title-skip[hidden] {
  display: none !important;
}

/* ── Mission briefing card ── */

.title-brief {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  place-items: center;
  padding:
    max(24px, env(safe-area-inset-top))
    16px
    max(24px, env(safe-area-inset-bottom));
  background: rgba(7, 6, 15, 0.28);
}

#title-screen.is-briefing .title-brief {
  display: grid;
}

.title-brief[hidden] {
  display: none !important;
}

.title-brief-card {
  width: min(100%, 720px);
  max-height: min(94dvh, 960px);
  overflow: hidden;
  padding: clamp(14px, 2.4vh, 22px) clamp(16px, 3vw, 28px) 16px;
  border: 3px solid transparent;
  border-radius: 22px;
  background:
    linear-gradient(180deg, #32284a 0%, #1a1428 100%) padding-box,
    linear-gradient(180deg, #ffe39a, #d29a35 42%, #8a5a16) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -4px 10px rgba(0, 0, 0, 0.45),
    0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(255, 180, 60, 0.18);
  text-align: center;
}

.title-brief-step {
  margin: 0 0 8px;
  font-family: "Nunito", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 213, 74, 0.75);
}

.title-brief-heading {
  margin: 0 0 12px;
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
  color: #ffd54a;
  text-shadow: 0 3px 0 #4a2c00;
  text-transform: uppercase;
}

.title-brief-copy {
  margin: 0 0 14px;
  font-family: "Nunito", sans-serif;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 700;
  line-height: 1.4;
  color: rgba(245, 240, 255, 0.94);
}

.title-brief-visual {
  margin: 0 0 16px;
}

.title-brief-visual[hidden] {
  display: none !important;
}

/* Beat 1 — fogged nav chart, 10 pieces to unlock */
.title-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(42vh, 340px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid rgba(255, 213, 74, 0.35);
  background: #05040a;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.55);
}

.title-map-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.title-map-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 2px;
  pointer-events: none;
}

.title-map-cell {
  position: relative;
  overflow: hidden;
}

.title-map-shroud {
  position: absolute;
  inset: 1px;
  border-radius: 3px;
  background:
    linear-gradient(160deg, rgba(16, 10, 32, 0.55), rgba(6, 4, 14, 0.72));
  box-shadow: inset 0 0 0 1.5px rgba(255, 213, 74, 0.45);
}

.title-map-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(1.15rem, 3.6vw, 1.75rem);
  letter-spacing: 0.04em;
  color: #ffd54a;
  text-shadow:
    0 2px 0 #3a2400,
    0 0 12px rgba(255, 180, 60, 0.55),
    0 0 2px #000;
  z-index: 1;
}

.title-map-home {
  position: absolute;
  right: 4%;
  bottom: 5%;
  padding: 5px 10px 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(80, 24, 110, 0.92), rgba(28, 8, 40, 0.95));
  box-shadow:
    inset 0 0 0 2px rgba(255, 140, 220, 0.65),
    0 4px 12px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.title-map-home span {
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(0.72rem, 2vw, 0.95rem);
  letter-spacing: 0.12em;
  color: #ffb0e8;
  text-shadow: 0 2px 0 #2a0830;
}

/* Beat 2 — big homeworld map with Granny in the middle */
.title-inspire {
  display: block;
}

.title-inspire-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(48vh, 400px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid rgba(255, 213, 74, 0.35);
  background: #05040a;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.title-inspire-hero {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.title-inspire-granny {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(38%, 180px);
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.65));
  pointer-events: none;
  z-index: 1;
}

.title-brief-card .title-skip {
  margin-top: 12px;
}

#title-screen.title-exiting {
  opacity: 0;
  pointer-events: none;
}

@media (max-height: 480px) {
  #title-screen .title-actions {
    bottom: calc(7% + env(safe-area-inset-bottom, 0px));
    width: min(52%, 340px);
  }

  #title-enter,
  .title-brief-cta {
    font-size: 26px;
    padding: 8px 16px;
    border-width: 3px;
    border-radius: 12px;
  }

  #title-screen .title-tagline {
    margin-top: 5px;
    font-size: 12px;
  }

  .title-brief-card {
    width: min(96%, 680px);
    padding: 10px 14px 8px;
    overflow: auto;
  }

  .title-brief-heading {
    font-size: 1.45rem;
    margin-bottom: 4px;
  }

  .title-brief-copy {
    margin-bottom: 8px;
    font-size: 0.88rem;
  }

  .title-brief-visual {
    margin-bottom: 10px;
  }

  .title-inspire-stage {
    max-height: min(40vh, 260px);
  }

  .title-inspire-granny {
    width: min(42%, 140px);
  }

  .title-map-num {
    font-size: 1rem;
  }

  .title-skip {
    margin-top: 8px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #title-enter,
  .title-brief-cta,
  #title-screen .title-star,
  #title-screen .title-sky-streak,
  #title-screen .title-galaxy-swirl,
  #title-screen .title-galaxy-stars,
  #title-screen .title-fountain i,
  #title-screen .title-windows span,
  #title-screen .title-barbie-glow,
  #title-screen .title-barbie-embers i,
  #title-screen .title-barbie-sparks i,
  #title-screen .title-barbie-smoke i,
  #title-screen .title-barbie-png-wisps i,
  #title-screen .title-bug,
  #title-screen .title-bug::before,
  #title-screen .title-bug::after {
    animation: none !important;
  }

  #title-screen .title-sky-streak,
  #title-screen .title-fountain i,
  #title-screen .title-barbie-embers,
  #title-screen .title-barbie-sparks,
  #title-screen .title-barbie-smoke,
  #title-screen .title-barbie-png-wisps,
  #title-screen .title-bugs {
    display: none;
  }

  #title-screen .title-star,
  #title-screen .title-windows span {
    opacity: 0.65;
  }
}
