/* WillowinWorlds CSS: Vacuum Shot page identity (games/vacuum-shot.html). Loaded after upcoming-game.css.
   Signature: the suction vortex. Props and dew spiral into the hose, the bag gulps, then the shot goes out the
   front and the recoil pushes the vacuum forward in a puff of petals.
   Motion language: a swirling inward pull, then a soft release. Everything animated is transform/opacity only
   and lives under prefers-reduced-motion: no-preference; the base rules are the finished static composition.
   Look: pastel watercolour garden, paper and stitching, flared headings, leaf shapes. */

body[data-game="vacuum-shot"] {
  --vs-serif: var(--font-heading);
  --vs-leaf: 0 72% 0 72% / 0 72% 0 72%;
  --vs-slot: 4s;
  --vs-cycle: 12s;
}

/* ---------- Hero copy ---------- */
body[data-game="vacuum-shot"] .ug-hero {
  position: relative;
  isolation: isolate;
}

/* Soft watercolour blobs behind the stage. */
body[data-game="vacuum-shot"] .ug-hero::before {
  content: "";
  position: absolute;
  inset: -8% -10% -4% 30%;
  z-index: -1;
  background:
    radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--ug-accent-2) 20%, transparent) 0 10rem, transparent 10.1rem),
    radial-gradient(circle at 78% 72%, color-mix(in srgb, var(--ug-accent) 18%, transparent) 0 8rem, transparent 8.1rem),
    radial-gradient(circle at 92% 14%, color-mix(in srgb, var(--ug-accent-2) 18%, transparent) 0 5rem, transparent 5.1rem);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 55% 50%, #000 40%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 75% at 55% 50%, #000 40%, transparent 78%);
  pointer-events: none;
}

body[data-game="vacuum-shot"] .ug-hero-copy h1 {
  font-family: var(--vs-serif);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.02;
  text-wrap: balance;
}

body[data-game="vacuum-shot"] .vs-t2 {
  color: var(--ug-accent);
  text-decoration: underline wavy color-mix(in srgb, var(--ug-accent-2) 80%, transparent);
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.14em;
}

body[data-game="vacuum-shot"] .ug-tagline {
  font-family: var(--vs-serif);
  font-weight: 600;
  letter-spacing: 0;
}

body[data-game="vacuum-shot"] .ug-pill {
  border-radius: 999px 999px 999px 6px;
}

body[data-game="vacuum-shot"] .ug-pill::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-inline-end: 8px;
  border-radius: var(--vs-leaf);
  background: currentColor;
  transform: rotate(-12deg);
}

body[data-game="vacuum-shot"] .ug-status-note {
  border: 2px dashed color-mix(in srgb, var(--ug-accent-2) 60%, var(--ug-line));
  border-radius: 26px 26px 26px 8px;
  background: color-mix(in srgb, var(--ug-card) 92%, var(--ug-accent-2));
}

body[data-game="vacuum-shot"] .btn {
  transition:
    transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1),
    box-shadow 0.3s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

body[data-game="vacuum-shot"] .btn-primary {
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.26),
    0 14px 30px color-mix(in srgb, var(--ug-fill) 30%, transparent);
}

body[data-game="vacuum-shot"] .btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
}

body[data-game="vacuum-shot"] .btn-primary:active {
  transform: translateY(1px) scale(0.98);
}

body[data-game="vacuum-shot"] .btn-ghost:hover {
  transform: translateY(-2px) scale(1.03);
  background: color-mix(in srgb, var(--ug-accent-2) 16%, var(--ug-card));
}

/* ---------- Hero stage ---------- */
.vs-stage {
  position: relative;
  overflow: visible;
  border: 0;
  background: none;
  box-shadow: none;
}

.vs-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 6 / 5;
  container-type: inline-size;
  border: 3px solid var(--ug-card-2);
  border-radius: 110px 26px 110px 26px;
  outline: 2px dashed color-mix(in srgb, var(--ug-accent) 78%, transparent);
  outline-offset: 8px;
  --vx: 39.4cqw;
  --vy: 62.8cqw;
  background: #cfe4d4;
  box-shadow: 0 30px 60px var(--ug-shadow);
}

.vs-scene > * {
  position: absolute;
}

/* Garden band cropped from the capture above the pilot, drifting very slowly. */
.vs-garden {
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 56cqw;
  overflow: hidden;
}

.vs-garden img {
  position: absolute;
  top: 0;
  left: 0;
  width: 144cqw;
  height: auto;
  max-width: none;
  transform: translateX(-20cqw);
}

.vs-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 246, 222, 0.38), rgba(255, 246, 222, 0) 46%);
  pointer-events: none;
}

.vs-lawn {
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 34cqw;
  background:
    linear-gradient(180deg, rgba(140, 193, 110, 0.55), transparent 30%),
    url("../assets/upcoming/vacuum-shot/hero-1280.webp") -119cqw -119cqw / 272cqw auto no-repeat,
    #c6da78;
}

/* A low hedge of bushes along the edge of the lawn hides the crop line of the garden band. */
.vs-lawn::before {
  content: "";
  position: absolute;
  top: -4.2cqw;
  right: 0;
  left: 0;
  height: 9cqw;
  background:
    radial-gradient(ellipse 8.2cqw 5cqw at 50% 100%, #8cc16e 0 72%, transparent 74%) 0 0 / 14cqw 5cqw repeat-x,
    radial-gradient(ellipse 6cqw 3.6cqw at 50% 100%, #a8d184 0 72%, transparent 74%) 7cqw 0.6cqw / 14cqw 5cqw repeat-x,
    linear-gradient(180deg, #8cc16e 0, rgba(140, 193, 110, 0.7) 45%, rgba(140, 193, 110, 0)) 0 4.4cqw / 100% 4.6cqw no-repeat;
}

/* The vacuum, cut out of the HUD atlas glyph. */
.vs-craft {
  bottom: 8cqw;
  left: 38cqw;
  z-index: 3;
  width: 46cqw;
  isolation: isolate;
  transform: translateX(3.2cqw) rotate(1.6deg);
  transform-origin: 60% 92%;
}

.vs-craft::before {
  content: "";
  position: absolute;
  inset: auto 6% -1.6cqw 4%;
  z-index: -1;
  height: 4.2cqw;
  background: radial-gradient(ellipse, rgba(70, 82, 30, 0.38), transparent 70%);
}

.vs-craft img {
  display: block;
  width: 100%;
  height: auto;
}

/* The pull: three spiral arms around the hose mouth. */
.vs-vortex {
  top: calc(var(--vy) - 23cqw);
  left: calc(var(--vx) - 23cqw);
  z-index: 4;
  width: 46cqw;
  height: 46cqw;
  overflow: visible;
  opacity: 0.75;
  transform: rotate(40deg);
}

.vs-arm {
  fill: none;
  stroke-linecap: round;
  stroke-width: 1.3;
  stroke-dasharray: 7 2.6 2 2.6;
}

.vs-arm--1 {
  stroke: #ffffff;
}

.vs-arm--2 {
  stroke: #2f8f81;
}

.vs-arm--3 {
  stroke: #ffb996;
}

/* Dew: dots arranged on a loose spiral; scaling and turning the whole set about one point sends each dot inward. */
.vs-dew {
  top: calc(var(--vy) - 0.8cqw);
  left: calc(var(--vx) - 0.8cqw);
  z-index: 4;
  width: 1.6cqw;
  aspect-ratio: 1;
  border-radius: 50%;
}

.vs-dew--a {
  background: #fff;
  box-shadow:
    7.3cqw 1.3cqw 0 0 #fff,
    -13.5cqw 8.6cqw 0 0 #8fd8cc,
    2.8cqw -10.3cqw 0 0 #fff,
    8.9cqw 17.2cqw 0 0 #ffb59a,
    -13.2cqw -4.8cqw 0 0 #fff,
    8cqw -3.3cqw 0 0 #8fd8cc,
    -7.3cqw 15.7cqw 0 0 #fff,
    -3.6cqw -11.4cqw 0 0 #ffb59a,
    17.8cqw 10.3cqw 0 0 #fff,
    -14.9cqw 3.3cqw 0 0 #8fd8cc,
    5.7cqw -8.1cqw 0 0 #fff,
    2.4cqw 18.4cqw 0 0 #ffb59a;
  transform: rotate(120deg) scale(0.55);
}

.vs-dew--b {
  width: 1.1cqw;
  background: #6cc7b8;
  box-shadow:
    6.9cqw -2.8cqw 0 0 #fff,
    -6.8cqw 14.6cqw 0 0 #ff9fb5,
    -3.2cqw -10.2cqw 0 0 #fff,
    4.7cqw 2.7cqw 0 0 #6cc7b8,
    -13.7cqw 3cqw 0 0 #fff,
    5cqw -7.1cqw 0 0 #ff9fb5,
    2.2cqw 17.2cqw 0 0 #fff,
    -9.2cqw -7.7cqw 0 0 #6cc7b8,
    -10.8cqw 10.8cqw 0 0 #ff9fb5;
  opacity: 0;
}

/* Props from the sprite sheet (acorn, rubber duck, strawberry). */
.vs-prop {
  top: calc(var(--vy) - 6.5cqw);
  left: calc(var(--vx) - 6.5cqw);
  z-index: 5;
  width: 13cqw;
  aspect-ratio: 1;
  background: url("../assets/upcoming/vacuum-shot/props-sheet.webp") 0 0 / 400% 200% no-repeat;
}

.vs-prop--acorn {
  --phi: 205deg;
  background-position: 0 0;
  transform: rotate(calc(var(--phi) + 200deg)) translateX(10cqw) rotate(calc(var(--phi) * -1 - 200deg)) scale(0.7);
}

.vs-prop--duck {
  --phi: 245deg;
  background-position: 0 100%;
  transform: rotate(calc(var(--phi) - 12deg)) translateX(19cqw) rotate(calc(var(--phi) * -1 + 12deg)) scale(0.95);
}

.vs-prop--berry {
  --phi: 170deg;
  background-position: 66.667% 100%;
  opacity: 0;
}

/* Release: a soft burst and a ring of petals at the nozzle. */
.vs-burst {
  top: calc(var(--vy) - 9cqw);
  left: calc(var(--vx) - 9cqw);
  z-index: 6;
  width: 18cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 20%, rgba(255, 226, 190, 0.7) 42%, rgba(255, 190, 200, 0.35) 58%, transparent 66%);
  opacity: 0;
}

.vs-puff {
  top: calc(var(--vy) - 0.75cqw);
  left: calc(var(--vx) - 0.75cqw);
  z-index: 6;
  width: 1.5cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    5.2cqw 0 0 0 #fff,
    4.2cqw 3.1cqw 0 0 #ffc6d2,
    1.6cqw 4.9cqw 0 0 #ffe9a8,
    -1.6cqw 4.9cqw 0 0 #c9f0e6,
    -4.2cqw 3.1cqw 0 0 #fff,
    -5.2cqw 0 0 0 #fff,
    -4.2cqw -3.1cqw 0 0 #ffc6d2,
    -1.6cqw -4.9cqw 0 0 #ffe9a8,
    1.6cqw -4.9cqw 0 0 #c9f0e6,
    4.2cqw -3.1cqw 0 0 #fff;
  opacity: 0.85;
  transform: scale(2.2);
}

/* Power pips, as in the game's text-free HUD. */
.vs-hud {
  top: 4cqw;
  right: 5cqw;
  z-index: 7;
  padding: 1.5cqw 2.6cqw;
  border: 2px dashed rgba(43, 119, 109, 0.7);
  border-radius: 99px;
  background: rgba(255, 250, 235, 0.86);
}

.vs-pips {
  display: flex;
  gap: 1.3cqw;
}

.vs-pips b {
  display: block;
  width: 2.2cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(43, 38, 32, 0.22);
}

.vs-pips b:nth-child(-n + 3) {
  background: #b4491a;
}

.vs-stage figcaption {
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  padding: 9px 16px;
  border: 1px dashed var(--ug-line);
  border-radius: 16px 16px 16px 6px;
  background: var(--ug-card);
  color: var(--ug-muted);
}

/* ---------- Page sections ---------- */
body[data-game="vacuum-shot"] .eyebrow {
  border-radius: 999px 999px 999px 6px;
  font-weight: 800;
}

body[data-game="vacuum-shot"] .eyebrow::before {
  width: 11px;
  height: 11px;
  border-radius: var(--vs-leaf);
  background: var(--ug-accent-2);
  box-shadow: none;
  transform: rotate(-12deg);
}

body[data-game="vacuum-shot"] .game-page-section h2 {
  font-family: var(--vs-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* A small squiggle under every heading. */
body[data-game="vacuum-shot"] .game-page-section h2::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 0.7rem;
  margin-top: 0.35rem;
  background: var(--ug-accent-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 11'%3E%3Cpath d='M2 6c6-6 10-6 16 0s10 6 16 0 10-6 16 0 10 6 16 0' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 11'%3E%3Cpath d='M2 6c6-6 10-6 16 0s10 6 16 0 10-6 16 0 10 6 16 0' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  transition: transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1);
  transform-origin: left center;
}

body[data-game="vacuum-shot"] .soft-card:hover h2::after {
  transform: scaleX(1.45);
}

body[data-game="vacuum-shot"] .soft-card {
  border-radius: 34px 34px 34px 10px;
  transition: border-color 0.3s ease;
}

body[data-game="vacuum-shot"] .soft-card:hover {
  border-color: color-mix(in srgb, var(--ug-accent-2) 60%, var(--ug-line));
}

/* Facts: stitched paper tags. */
.ug-facts .game-page-facts > div {
  border: 2px dashed var(--ug-line);
  border-radius: 24px 24px 24px 8px;
  transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1), border-color 0.25s ease;
}

.ug-facts .game-page-facts > div:last-child {
  border-bottom: 2px dashed var(--ug-line);
}

.ug-facts .game-page-facts > div:hover {
  transform: translateY(-3px) rotate(-0.7deg);
  border-color: var(--ug-accent-2);
}

body[data-game="vacuum-shot"] .game-page-facts dd {
  font-family: var(--vs-serif);
  font-size: 1.08rem;
  font-weight: 700;
}

/* How it plays: petal cards; a spiral, a burst, a soft landing. */
.ug-steps li {
  position: relative;
  border-radius: 30px 30px 30px 8px;
  transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.ug-steps li:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  border-color: var(--ug-accent-2);
  box-shadow: 0 16px 30px var(--ug-shadow);
}

.ug-steps li strong {
  padding-inline-end: 4.4rem;
  font-family: var(--vs-serif);
  font-size: 1.3rem;
}

.ug-steps li::before,
.ug-steps li::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 16px;
  width: 52px;
  height: 52px;
  pointer-events: none;
}

.ug-steps li::before {
  border-radius: 50%;
  background: color-mix(in srgb, var(--ug-accent-2) 20%, transparent);
}

/* 1 Vacuum a prop: a spiral. */
.ug-steps li:nth-child(1)::after {
  background: var(--ug-accent-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-24 -24 48 48'%3E%3Cpath d='M22.5 0L19.2 7.3 14 12.4 7.9 15.1 1.9 15.4-3.4 13.8-7.4 10.6-9.7 6.7-10.4 2.6-9.7-1.2-7.9-4.2-5.4-6.1-2.6-7 0-6.8 2.2-5.8 3.7-4.2 4.6-2.4 4.7-.6 4.2 1 3.2 2.2 2 2.9' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 76% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-24 -24 48 48'%3E%3Cpath d='M22.5 0L19.2 7.3 14 12.4 7.9 15.1 1.9 15.4-3.4 13.8-7.4 10.6-9.7 6.7-10.4 2.6-9.7-1.2-7.9-4.2-5.4-6.1-2.6-7 0-6.8 2.2-5.8 3.7-4.2 4.6-2.4 4.7-.6 4.2 1 3.2 2.2 2 2.9' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 76% no-repeat;
}

/* 2 Fire and fly: a ring of petals. */
.ug-steps li:nth-child(2)::after {
  top: 36px;
  right: 38px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ug-accent);
  box-shadow: 15px 0 0 var(--ug-accent-2), -15px 0 0 var(--ug-accent-2), 0 15px 0 var(--ug-accent-2), 0 -15px 0 var(--ug-accent-2), 11px 11px 0 var(--ug-accent), -11px 11px 0 var(--ug-accent), 11px -11px 0 var(--ug-accent), -11px -11px 0 var(--ug-accent);
  transition: transform 0.6s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.ug-steps li:nth-child(2):hover::after {
  transform: scale(1.3) rotate(24deg);
}

/* 3 Land softly: a leaf settling on the grass. */
.ug-steps li:nth-child(3)::after {
  top: 22px;
  right: 34px;
  width: 20px;
  height: 20px;
  border-radius: var(--vs-leaf);
  background: var(--ug-accent);
  transform: rotate(-24deg);
  transition: transform 0.7s cubic-bezier(0.3, 1.3, 0.5, 1);
}

.ug-steps li:nth-child(3):hover::after {
  transform: translateY(12px) rotate(24deg) scale(1.05, 0.92);
}

/* Features: each card carries one of the game's props. */
.ug-features .detail-card {
  position: relative;
  border-radius: 28px 28px 28px 8px;
  transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1), border-color 0.25s ease, box-shadow 0.3s ease;
}

.ug-features .detail-card::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 14px;
  width: 52px;
  height: 52px;
  background: url("../assets/upcoming/vacuum-shot/props-sheet.webp") 0 0 / 400% 200% no-repeat;
  transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.ug-features .detail-card:nth-child(2)::before { background-position: 66.667% 0; }
.ug-features .detail-card:nth-child(3)::before { background-position: 33.333% 0; }
.ug-features .detail-card:nth-child(4)::before { background-position: 100% 100%; }
.ug-features .detail-card:nth-child(5)::before { background-position: 33.333% 100%; }
.ug-features .detail-card:nth-child(6)::before { background-position: 100% 0; }

.ug-features .detail-card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  border-color: var(--ug-accent-2);
  box-shadow: 0 16px 30px var(--ug-shadow);
}

.ug-features .detail-card:hover::before {
  transform: rotate(-14deg) scale(1.14);
}

.ug-features .detail-card h3 {
  padding-inline-end: 3.8rem;
  font-family: var(--vs-serif);
  font-size: 1.2rem;
}

/* Direction list: leaves. */
body[data-game="vacuum-shot"] .ug-next li {
  border-radius: 22px 22px 22px 8px;
  transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1), border-color 0.25s ease;
}

body[data-game="vacuum-shot"] .ug-next li::before {
  width: 14px;
  height: 14px;
  border-radius: var(--vs-leaf);
  background: var(--ug-accent-2);
  transform: rotate(-12deg);
}

body[data-game="vacuum-shot"] .ug-next li:hover {
  transform: translateX(4px);
  border-color: var(--ug-accent-2);
}

/* Gallery. */
body[data-game="vacuum-shot"] .ug-shot {
  border-radius: 28px 28px 28px 8px;
  transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1), border-color 0.25s ease;
}

body[data-game="vacuum-shot"] .ug-shot:hover {
  transform: rotate(-0.6deg) translateY(-3px);
  border-color: var(--ug-accent-2);
}

/* FAQ. */
body[data-game="vacuum-shot"] .ug-faq .detail-card {
  border-radius: 26px 26px 26px 8px;
  transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1), border-color 0.25s ease;
}

body[data-game="vacuum-shot"] .ug-faq .detail-card h3 {
  font-family: var(--vs-serif);
}

body[data-game="vacuum-shot"] .ug-faq .detail-card:hover {
  transform: translateY(-3px) rotate(-0.4deg);
  border-color: var(--ug-accent-2);
}

/* Vote: a few drops of dew rise in the corner. */
.ug-vote {
  position: relative;
  overflow: clip;
}

.ug-vote::after {
  content: "";
  position: absolute;
  top: 70px;
  right: 56px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ug-accent-2);
  box-shadow: -26px 14px 0 -2px var(--ug-accent), 22px 22px 0 -3px var(--ug-accent-2), -8px 40px 0 -4px var(--ug-accent), 30px -2px 0 -4px var(--ug-accent);
  opacity: 0.55;
  pointer-events: none;
}

body[data-game="vacuum-shot"] .social-link {
  transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1), border-color 0.2s ease, background 0.2s ease;
}

body[data-game="vacuum-shot"] .social-link:hover {
  transform: translateY(-3px) rotate(-1deg);
}

/* ---------- Page-wide world ---------- */
/* A fixed pastel garden behind everything: sky, drifting clouds, the garden band and lawn from the capture, props bobbing in the margins and petals falling.
   Sections keep their cards (slightly see-through), so the garden shows in the margins, the gaps and faintly behind the cards. */
body[data-game="vacuum-shot"] .game-detail-shell {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

body[data-game="vacuum-shot"] .game-detail-shell > :is(.ug-hero, .game-page-grid) {
  position: relative;
  z-index: 2;
}

body[data-game="vacuum-shot"] :is(.lab-related, .game-footer) {
  position: relative;
  z-index: 3;
}

body[data-game="vacuum-shot"] .lab-related {
  overflow-x: clip;
}

/* Page-long soft blobs that scroll with the content. */
body[data-game="vacuum-shot"] .game-detail-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle closest-side, color-mix(in srgb, var(--ug-accent-2) 22%, transparent), transparent) 108% 20% / 460px 460px no-repeat,
    radial-gradient(circle closest-side, color-mix(in srgb, var(--ug-accent) 18%, transparent), transparent) -8% 48% / 420px 420px no-repeat,
    radial-gradient(circle closest-side, color-mix(in srgb, var(--ug-accent-2) 20%, transparent), transparent) 106% 76% / 500px 500px no-repeat,
    radial-gradient(circle closest-side, color-mix(in srgb, var(--ug-accent) 16%, transparent), transparent) -6% 94% / 420px 420px no-repeat;
}

.vs-page-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
}

.vs-page-backdrop > * {
  position: absolute;
}

body[data-game="vacuum-shot"][data-theme="dark"] .vs-page-backdrop {
  background: linear-gradient(180deg, #2a221f, #33282a 55%, #2b2620);
}

body[data-game="vacuum-shot"][data-theme="light"] .vs-page-backdrop {
  background: linear-gradient(180deg, #fdf3dd, #f1eed3 52%, #e3edc9);
}

.vs-bg-clouds {
  top: 5vh;
  left: 0;
  z-index: 1;
  width: 140vw;
  height: 36vh;
  background:
    radial-gradient(ellipse 15vw 4.4vw at 14vw 9vh, rgba(255, 255, 255, 0.6), transparent 72%),
    radial-gradient(ellipse 11vw 3.4vw at 38vw 22vh, rgba(255, 255, 255, 0.5), transparent 72%),
    radial-gradient(ellipse 17vw 5vw at 70vw 8vh, rgba(255, 255, 255, 0.55), transparent 72%),
    radial-gradient(ellipse 12vw 3.6vw at 104vw 20vh, rgba(255, 255, 255, 0.5), transparent 72%);
  opacity: 0.8;
  transform: translateX(-10vw);
}

body[data-game="vacuum-shot"][data-theme="dark"] .vs-bg-clouds {
  opacity: 0.18;
}

.vs-bg-garden {
  bottom: 18vw;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 43vw;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 34%);
  mask-image: linear-gradient(180deg, transparent, #000 34%);
}

.vs-bg-garden img {
  position: absolute;
  top: 0;
  left: -5vw;
  display: block;
  width: 110vw;
  height: auto;
  max-width: none;
}

/* The lawn strip: the capture's grass texture along the bottom edge. */
.vs-bg-lawn {
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 22.2vw;
  background:
    linear-gradient(180deg, rgba(140, 193, 110, 0.7), transparent 40%),
    url("../assets/upcoming/vacuum-shot/hero-1280.webp") -77.8vw -77.8vw / 177.8vw auto no-repeat,
    #c6da78;
}

/* Veil: dense on the left where the hero text sits, lighter over the garden on the right. */
.vs-page-backdrop::before,
.vs-page-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.vs-page-backdrop::before {
  z-index: 4;
}

.vs-page-backdrop::after {
  z-index: 8;
}

body[data-game="vacuum-shot"][data-theme="dark"] .vs-page-backdrop::before {
  background:
    linear-gradient(90deg, rgba(34, 30, 26, 0.74) 0, rgba(34, 30, 26, 0.58) 50%, rgba(34, 30, 26, 0.42) 100%),
    radial-gradient(ellipse 70% 50% at 20% 0, rgba(214, 157, 131, 0.14), transparent 70%);
}

body[data-game="vacuum-shot"][data-theme="dark"] .vs-page-backdrop::after {
  background: linear-gradient(180deg, transparent 60%, rgba(22, 20, 17, 0.7));
}

body[data-game="vacuum-shot"][data-theme="light"] .vs-page-backdrop::before {
  background:
    linear-gradient(90deg, rgba(250, 240, 218, 0.76) 0, rgba(250, 240, 218, 0.56) 50%, rgba(250, 240, 218, 0.34) 100%),
    radial-gradient(ellipse 70% 50% at 20% 0, rgba(255, 255, 255, 0.5), transparent 70%);
}

body[data-game="vacuum-shot"][data-theme="light"] .vs-page-backdrop::after {
  background: linear-gradient(180deg, transparent 70%, rgba(250, 240, 218, 0.5));
}

/* The wisps and the dust sit in a lane: full strength beside the content, a low floor behind it, so streaks passing behind a translucent card never lower the contrast of its text. */
.vs-bg-lane {
  inset: 0;
  z-index: 5;
  overflow: hidden;
}

/* Airflow: soft streaks of wind that drift sideways toward the vortex. Two copies of the same tile side by side, so sliding by one tile loops without a seam. */
.vs-bg-wisps {
  position: absolute;
  top: 0;
  left: 0;
  width: 200vw;
  height: 100%;
  opacity: 0.55;
  background-repeat: repeat-x;
  background-size: 50% 100%;
  background-image:
    radial-gradient(ellipse 13vw 0.50vh at 8% 14%, var(--vs-wisp) 0 40%, transparent 100%),
    radial-gradient(ellipse 9vw 0.50vh at 30% 9%, var(--vs-wisp) 0 40%, transparent 100%),
    radial-gradient(ellipse 15vw 0.50vh at 52% 21%, var(--vs-wisp) 0 40%, transparent 100%),
    radial-gradient(ellipse 10vw 0.50vh at 74% 12%, var(--vs-wisp) 0 40%, transparent 100%),
    radial-gradient(ellipse 12vw 0.50vh at 92% 26%, var(--vs-wisp) 0 40%, transparent 100%),
    radial-gradient(ellipse 16vw 0.50vh at 18% 40%, var(--vs-wisp) 0 40%, transparent 100%),
    radial-gradient(ellipse 11vw 0.50vh at 44% 47%, var(--vs-wisp) 0 40%, transparent 100%),
    radial-gradient(ellipse 14vw 0.50vh at 68% 38%, var(--vs-wisp) 0 40%, transparent 100%),
    radial-gradient(ellipse 9vw 0.50vh at 86% 52%, var(--vs-wisp) 0 40%, transparent 100%),
    radial-gradient(ellipse 12vw 0.50vh at 10% 66%, var(--vs-wisp) 0 40%, transparent 100%),
    radial-gradient(ellipse 15vw 0.50vh at 34% 72%, var(--vs-wisp) 0 40%, transparent 100%),
    radial-gradient(ellipse 10vw 0.50vh at 58% 63%, var(--vs-wisp) 0 40%, transparent 100%),
    radial-gradient(ellipse 13vw 0.50vh at 80% 78%, var(--vs-wisp) 0 40%, transparent 100%),
    radial-gradient(ellipse 11vw 0.50vh at 24% 88%, var(--vs-wisp) 0 40%, transparent 100%),
    radial-gradient(ellipse 14vw 0.50vh at 64% 90%, var(--vs-wisp) 0 40%, transparent 100%);
}

/* The pull: the hero's three spiral arms, grown to hero size, turn slowly around the stage; a loose spiral of props from the game's sprite sheet
   is drawn in with them. The props sit on a logarithmic spiral (each one 0.86 of the radius and 41 degrees past the one before), so turning the
   whole set by that step while shrinking it by 0.86 hands every prop to the next one's place and the loop has no seam. The mask hides the
   ends of the spiral and keeps the pull off the hero text. The pull lives in the hero and scrolls away with it, so it never passes behind the
   text cards below (bright props behind a translucent card would cost its small text its contrast). */
.vs-hero-pull {
  --cx: calc(50% + min(1180px, 100vw - 40px) * 0.272);
  --cy: 50%;
  --gl: calc(50% - min(590px, 50% - 20px));
  position: absolute;
  top: calc(-1 * clamp(34px, 5vw, 62px));
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at var(--cx) var(--cy), transparent 0 7vmax, #000 14vmax, #000 52vmax, transparent 78vmax), linear-gradient(90deg, #000 calc(var(--gl) - 6px), transparent calc(var(--gl) + 14px), transparent calc(50% - 20px), #000 calc(50% + 60px)), linear-gradient(180deg, #000 calc(100% - 90px), transparent);
  mask-image: radial-gradient(circle at var(--cx) var(--cy), transparent 0 7vmax, #000 14vmax, #000 52vmax, transparent 78vmax), linear-gradient(90deg, #000 calc(var(--gl) - 6px), transparent calc(var(--gl) + 14px), transparent calc(50% - 20px), #000 calc(50% + 60px)), linear-gradient(180deg, #000 calc(100% - 90px), transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* The props fly in their own layer: a layer with a mask over it has to be redrawn whenever anything inside it moves, so the moving sprites stay out of the masked one.
   They keep to the right half (angles in a sector, radius shrinking as they turn), clear of the hero text. */
.vs-hero-props {
  --cx: calc(50% + min(1180px, 100vw - 40px) * 0.272);
  --cy: 50%;
  position: absolute;
  top: calc(-1 * clamp(34px, 5vw, 62px));
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.vs-bg-arms {
  position: absolute;
  top: calc(var(--cy) - min(44vmax, 460px));
  left: calc(var(--cx) - min(44vmax, 460px));
  width: min(88vmax, 920px);
  height: min(88vmax, 920px);
  overflow: visible;
  fill: none;
}

.vs-bg-arm {
  stroke-width: 4.5px;
  stroke-linecap: round;
  stroke-dasharray: 22 12 4 12;
}

.vs-bg-arm--1 {
  stroke: var(--vs-arm-1);
}

.vs-bg-arm--2 {
  stroke: var(--vs-arm-2);
}

.vs-bg-arm--3 {
  stroke: var(--vs-arm-3);
}

.vs-bg-props {
  position: absolute;
  top: var(--cy);
  left: var(--cx);
  width: 0;
  height: 0;
}

.vs-bg-props i {
  position: absolute;
  top: -5.5vmin;
  left: -5.5vmin;
  width: 11vmin;
  aspect-ratio: 1;
  background: url("../assets/upcoming/vacuum-shot/props-sheet.webp") 0 0 / 400% 200% no-repeat;
  transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1));
}

.vs-bg-props i:nth-child(1) { --k: 0; --a: -55deg; --r: 38vmax; background-position: 0% 0%; }
.vs-bg-props i:nth-child(2) { --k: 1; --a: -25deg; --r: 33vmax; background-position: 100% 0%; }
.vs-bg-props i:nth-child(3) { --k: 2; --a: 5deg; --r: 40vmax; background-position: 66.667% 100%; }
.vs-bg-props i:nth-child(4) { --k: 3; --a: 35deg; --r: 31vmax; background-position: 33.333% 0%; }
.vs-bg-props i:nth-child(5) { --k: 4; --a: 60deg; --r: 36vmax; background-position: 0% 100%; }
.vs-bg-props i:nth-child(6) { --k: 5; --a: -75deg; --r: 30vmax; background-position: 100% 100%; }
.vs-bg-props i:nth-child(7) { --k: 6; --a: 20deg; --r: 43vmax; background-position: 66.667% 0%; }
.vs-bg-props i:nth-child(8) { --k: 7; --a: -40deg; --r: 28vmax; background-position: 33.333% 100%; }

/* Dust and pollen caught in the draught: a tile of tiny motes that swells and fades. */
.vs-bg-dust {
  inset: 0;
  z-index: 6;
  opacity: 0.7;
  background-image:
    radial-gradient(circle 1.6px at 30.9% 89.1%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2px at 8.1% 72.8%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 1.6px at 56.4% 2.8%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 3px at 30.4% 29.0%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 1.6px at 90.0% 69.4%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 1.6px at 41.2% 80.0%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 3px at 18.5% 80.6%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2px at 18.0% 42.4%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 1.6px at 8.7% 55.6%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 3px at 92.1% 2.7%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2px at 58.5% 37.2%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 3px at 33.1% 52.6%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2px at 96.3% 54.6%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2px at 43.3% 54.7%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 3px at 68.0% 57.0%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2.4px at 18.1% 21.7%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2.4px at 84.4% 13.9%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2px at 48.1% 2.7%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 1.6px at 5.3% 29.1%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 3px at 64.7% 20.9%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2.4px at 29.1% 78.2%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 1.6px at 9.1% 7.0%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2px at 52.7% 26.0%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 3px at 77.0% 56.8%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2px at 53.0% 59.4%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2px at 84.5% 38.0%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2px at 42.1% 88.5%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2px at 45.7% 37.7%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 3px at 32.9% 40.4%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 1.6px at 82.2% 90.8%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2.4px at 65.3% 75.1%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 2.4px at 4.0% 44.1%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 3px at 5.6% 96.4%, var(--vs-dust) 0 55%, transparent 100%),
    radial-gradient(circle 1.6px at 16.9% 54.5%, var(--vs-dust) 0 55%, transparent 100%);
}

/* Petals: one tiny leaf whose shadow copies are the whole shower; a second set one screen above makes the fall loop without a jump. */
.vs-bg-petals {
  top: 0;
  left: 0;
  z-index: 6;
  width: 9px;
  height: 9px;
  border-radius: 0 72% 0 72%;
  background: #ffc6d2;
  opacity: 0.85;
  box-shadow:
    2vw 3vh 0 0 #ffc6d2,
    43vw 32vh 0 0 #ffffff,
    84vw 61vh 0 0 #ffd9a8,
    31vw 90vh 0 0 #c9f0e6,
    72vw 25vh 0 0 #ffb5a0,
    19vw 54vh 0 0 #ffffff,
    60vw 83vh 0 0 #ffc6d2,
    7vw 18vh 0 0 #e8d4ff,
    48vw 47vh 0 0 #ffd9a8,
    89vw 76vh 0 0 #ffffff,
    36vw 11vh 0 0 #c9f0e6,
    77vw 40vh 0 0 #ffb5a0,
    24vw 69vh 0 0 #ffc6d2,
    65vw 4vh 0 0 #ffffff,
    -4vw -97vh 0 0 #ffc6d2,
    37vw -68vh 0 0 #ffffff,
    78vw -39vh 0 0 #ffd9a8,
    25vw -10vh 0 0 #c9f0e6,
    66vw -75vh 0 0 #ffb5a0,
    13vw -46vh 0 0 #ffffff,
    54vw -17vh 0 0 #ffc6d2,
    1vw -82vh 0 0 #e8d4ff,
    42vw -53vh 0 0 #ffd9a8,
    83vw -24vh 0 0 #ffffff,
    30vw -89vh 0 0 #c9f0e6,
    71vw -60vh 0 0 #ffb5a0,
    18vw -31vh 0 0 #ffc6d2,
    59vw -96vh 0 0 #ffffff;
}

body[data-game="vacuum-shot"][data-theme="dark"] .vs-bg-petals {
  opacity: 0.55;
}

/* Soft scrims behind the two blocks of text that sit straight on the garden (hero copy, related worlds); they fade out, no box. */
body[data-game="vacuum-shot"] .ug-hero-copy,
body[data-game="vacuum-shot"] .lab-related-inner {
  position: relative;
  isolation: isolate;
}

body[data-game="vacuum-shot"] .ug-hero-copy::before,
body[data-game="vacuum-shot"] .lab-related-inner::before {
  content: "";
  position: absolute;
  inset: -56px -96px;
  z-index: -1;
  pointer-events: none;
  background: var(--vs-scrim);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 96px, #000 calc(100% - 96px), transparent), linear-gradient(180deg, transparent, #000 56px, #000 calc(100% - 56px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 96px, #000 calc(100% - 96px), transparent), linear-gradient(180deg, transparent, #000 56px, #000 calc(100% - 56px), transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

body[data-game="vacuum-shot"] .lab-related-inner::before {
  inset: -48px -80px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 80px, #000 calc(100% - 80px), transparent), linear-gradient(180deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 80px, #000 calc(100% - 80px), transparent), linear-gradient(180deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}

body[data-game="vacuum-shot"][data-theme="dark"] {
  --vs-scrim: rgba(34, 30, 26, 0.84);
  --vs-arm-1: rgba(250, 240, 218, 0.8);
  --vs-arm-2: rgba(134, 214, 202, 0.85);
  --vs-arm-3: rgba(240, 160, 130, 0.85);
  --vs-wisp: rgba(250, 240, 218, 0.5);
  --vs-dust: rgba(250, 240, 218, 0.9);
}

body[data-game="vacuum-shot"][data-theme="light"] {
  --vs-scrim: rgba(250, 240, 218, 0.88);
  --vs-arm-1: rgba(255, 255, 255, 1);
  --vs-arm-2: rgba(37, 104, 95, 0.75);
  --vs-arm-3: rgba(180, 73, 26, 0.7);
  --vs-wisp: rgba(255, 255, 255, 0.95);
  --vs-dust: rgba(160, 100, 40, 0.8);
}

/* Cards stay readable but let the garden show through a little. */
body[data-game="vacuum-shot"] .soft-card {
  background: linear-gradient(160deg, color-mix(in srgb, var(--ug-card) 92%, transparent), color-mix(in srgb, var(--ug-card) 86%, transparent));
}

@media (max-width: 920px) {
  /* The hero stacks: the props would fly behind the text, so they stay home. */
  .vs-hero-props {
    display: none;
  }

  /* The hero stacks: the pull turns around the stage, centred, and the sideways mask is dropped. */
  .vs-hero-pull {
    --cx: 50%;
    --cy: 68%;
    -webkit-mask-image: radial-gradient(circle at var(--cx) var(--cy), transparent 0 7vmax, #000 14vmax, #000 52vmax, transparent 78vmax), linear-gradient(180deg, #000 calc(100% - 90px), transparent);
    mask-image: radial-gradient(circle at var(--cx) var(--cy), transparent 0 7vmax, #000 14vmax, #000 52vmax, transparent 78vmax), linear-gradient(180deg, #000 calc(100% - 90px), transparent);
  }

  /* Text spans the full width: an even, denser veil. */
  body[data-game="vacuum-shot"][data-theme="dark"] .vs-page-backdrop::before {
    background: linear-gradient(180deg, rgba(34, 30, 26, 0.82), rgba(34, 30, 26, 0.76));
  }

  body[data-game="vacuum-shot"][data-theme="light"] .vs-page-backdrop::before {
    background: linear-gradient(180deg, rgba(250, 240, 218, 0.84), rgba(250, 240, 218, 0.76));
  }
}

@media (max-width: 760px) {
  /* Phones: sky, garden band, lawn, veil, the arms and the dust. */
  .vs-bg-lane,
  .vs-bg-petals,
  .vs-bg-clouds {
    display: none;
  }


  body[data-game="vacuum-shot"] .game-detail-shell::before {
    display: none;
  }
}

/* More worlds in the lab (shared .lab-related markup). */
body[data-game="vacuum-shot"] .lab-related-title {
  font-family: var(--vs-serif);
  font-weight: 700;
}

body[data-game="vacuum-shot"] .lab-related-link {
  border: 2px dashed var(--ug-line);
  border-radius: 24px 24px 24px 8px;
  transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1), border-color 0.25s ease;
}

body[data-game="vacuum-shot"] .lab-related-link:hover {
  transform: translateY(-3px) rotate(-0.5deg);
  border-color: var(--ug-accent-2);
}

@media (max-width: 920px) {
  .vs-stage {
    width: 100%;
    max-width: 40rem;
    margin-inline: auto;
  }

  body[data-game="vacuum-shot"] .ug-hero::before {
    inset: 46% -12% -4% -12%;
  }
}

@media (max-width: 520px) {
  .vs-scene {
    border-radius: 64px 18px 64px 18px;
    outline-offset: 6px;
  }

  .ug-vote::after {
    display: none;
  }
}

/* ---------- Motion (transform and opacity only) ---------- */
/* Budget: 13 infinite animations on the page backdrop (clouds, wind, dust, petals, the breathing arms, eight props), 8 in the hero stage and 2 on the cards.
   Big layers only move or fade, small sprites do the turning. Reduced motion keeps the finished composition. */
@media (prefers-reduced-motion: no-preference) {
  .vs-garden img {
    animation: vs-pan 32s ease-in-out infinite alternate;
  }

  .vs-bg-clouds {
    animation: vs-bg-clouds 70s ease-in-out infinite alternate;
  }

  .vs-bg-wisps {
    animation: vs-bg-wisps 34s linear infinite;
  }

  .vs-bg-arms {
    animation: vs-bg-breath 4.2s ease-in-out infinite alternate;
  }

  /* Each prop spirals in on its own path (rotate and travel on a single small sprite), staggered so there is always one on its way. */
  .vs-bg-props i {
    animation: vs-bg-pull 11s linear calc(var(--k) * -1.375s) infinite;
  }

  .vs-bg-dust {
    animation: vs-bg-dust 9s ease-in-out infinite alternate;
  }

  .vs-bg-petals {
    animation: vs-bg-petals 34s linear infinite;
  }

  .vs-craft {
    animation: vs-craft var(--vs-slot) linear infinite;
  }

  .vs-vortex {
    animation: vs-vortex var(--vs-slot) linear infinite;
  }

  .vs-dew {
    animation: vs-dew var(--vs-slot) linear infinite;
  }

  .vs-dew--b {
    animation-delay: 1.1s;
  }

  /* Three prop elements run the same GPU transform/opacity flight staggered by 1/3 cycle each (no background-position swap). */
  .vs-prop--acorn,
  .vs-prop--duck,
  .vs-prop--berry {
    opacity: 0;
    animation: vs-prop var(--vs-cycle) linear infinite;
  }

  .vs-prop--duck {
    animation-delay: calc(var(--vs-cycle) * -0.6667);
  }

  .vs-prop--berry {
    animation-delay: calc(var(--vs-cycle) * -0.3333);
  }

  .vs-burst {
    animation: vs-burst var(--vs-slot) linear infinite;
  }

  .vs-puff {
    opacity: 0;
    animation: vs-puff var(--vs-slot) linear infinite;
  }

  .ug-steps li:nth-child(1)::after {
    animation: vs-spin 7s linear infinite;
  }

  .ug-vote::after {
    animation: vs-dew-rise 5s ease-in-out infinite;
  }
}

@keyframes vs-bg-clouds {
  from { transform: translateX(-10vw); }
  to { transform: translateX(-36vw); }
}

/* Wind: slide by exactly one tile. */
@keyframes vs-bg-wisps {
  from { transform: translateX(0); }
  to { transform: translateX(-100vw); }
}

/* The pull breathes in and out: the arms swell and ease off, so the flow seems to gulp. */
@keyframes vs-bg-breath {
  from { opacity: 0.45; }
  to { opacity: 1; }
}

/* A prop is drawn in: it starts out at its own radius and angle, spirals into the nozzle, tumbling and shrinking. */
@keyframes vs-bg-pull {
  0%   { opacity: 0; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)) scale(1); }
  14%  { opacity: 1; }
  84%  { opacity: 1; }
  100% { opacity: 0; transform: rotate(calc(var(--a) - 80deg)) translateX(0) rotate(calc(var(--a) * -1 + 200deg)) scale(0.2); }
}

@keyframes vs-bg-dust {
  from { opacity: 0.25; transform: translate(0, 0); }
  to { opacity: 1; transform: translate(-1.6vw, -2vh); }
}

@keyframes vs-bg-petals {
  from { transform: translate(0, 0); }
  to { transform: translate(6vw, 100vh); }
}

@keyframes vs-pan {
  from { transform: translateX(-2cqw); }
  to { transform: translateX(-38cqw); }
}

/* The vacuum leans back while it inhales, then the recoil pushes it forward and it settles. */
@keyframes vs-craft {
  0%   { transform: translateX(0) rotate(0deg) scale(1, 1); animation-timing-function: ease-in-out; }
  54%  { transform: translateX(-1.8cqw) rotate(-2.6deg) scale(0.985, 1.015); animation-timing-function: ease-in; }
  61%  { transform: translateX(-2.4cqw) rotate(-3.2deg) scale(0.975, 1.025); animation-timing-function: cubic-bezier(0.1, 0.85, 0.2, 1); }
  65%  { transform: translateX(5.6cqw) rotate(3.4deg) scale(1.045, 0.955); animation-timing-function: ease-out; }
  78%  { transform: translateX(3.8cqw) rotate(1.4deg) scale(0.99, 1.01); animation-timing-function: ease-in-out; }
  100% { transform: translateX(0) rotate(0deg) scale(1, 1); }
}

@keyframes vs-vortex {
  0%   { opacity: 0; transform: rotate(0deg) scale(0.55); }
  8%   { opacity: 1; transform: rotate(90deg) scale(1); }
  54%  { opacity: 1; transform: rotate(600deg) scale(0.95); }
  62%  { opacity: 0; transform: rotate(700deg) scale(0.25); }
  100% { opacity: 0; transform: rotate(1130deg) scale(0.25); }
}

@keyframes vs-dew {
  0%   { opacity: 0; transform: rotate(0deg) scale(1); animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.55); }
  6%   { opacity: 1; }
  44%  { opacity: 1; transform: rotate(330deg) scale(0.08); }
  50%  { opacity: 0; transform: rotate(350deg) scale(0.04); }
  100% { opacity: 0; transform: rotate(350deg) scale(0.04); }
}

/* Three props staggered by 1/3 cycle each using transform/opacity only (uses each prop's --phi angle). */
@keyframes vs-prop {
  0%     { opacity: 0; transform: rotate(var(--phi)) translateX(24cqw) rotate(calc(var(--phi) * -1)) scale(1); animation-timing-function: cubic-bezier(0.5, 0, 0.85, 0.55); }
  1.5%   { opacity: 1; }
  17.5%  { opacity: 1; transform: rotate(calc(var(--phi) + 420deg)) translateX(0) rotate(calc(var(--phi) * -1 - 420deg)) scale(0.18); }
  18.5%  { opacity: 0; transform: rotate(calc(var(--phi) + 430deg)) translateX(0) rotate(calc(var(--phi) * -1 - 430deg)) scale(0.12); }
  20.6%  { opacity: 0; transform: rotate(180deg) translateX(0) rotate(-180deg) scale(0.3); animation-timing-function: cubic-bezier(0.1, 0.8, 0.3, 1); }
  21.2%  { opacity: 1; transform: rotate(180deg) translateX(1cqw) rotate(-180deg) scale(0.4); }
  30%    { opacity: 0; transform: rotate(180deg) translateX(36cqw) rotate(-540deg) scale(1); }
  100%   { opacity: 0; transform: rotate(180deg) translateX(36cqw) rotate(-540deg) scale(1); }
}

@keyframes vs-burst {
  0%    { opacity: 0; transform: scale(0.25); }
  61.9% { opacity: 0; transform: scale(0.25); animation-timing-function: cubic-bezier(0.1, 0.8, 0.3, 1); }
  63%   { opacity: 1; transform: scale(0.3); }
  80%   { opacity: 0; transform: scale(1.9); }
  100%  { opacity: 0; transform: scale(1.9); }
}

@keyframes vs-puff {
  0%    { opacity: 0; transform: scale(0.4); }
  61.9% { opacity: 0; transform: scale(0.4); animation-timing-function: cubic-bezier(0.1, 0.8, 0.3, 1); }
  63%   { opacity: 1; transform: scale(0.5); }
  86%   { opacity: 0; transform: scale(3.4); }
  100%  { opacity: 0; transform: scale(3.4); }
}

@keyframes vs-spin {
  to { transform: rotate(360deg); }
}

@keyframes vs-dew-rise {
  0%   { opacity: 0.2; transform: translateY(14px); }
  50%  { opacity: 0.7; transform: translateY(-4px); }
  100% { opacity: 0.2; transform: translateY(-20px); }
}
