/* MoveFx "elem" pack — shapes for fx-elem.js. Every shape is .fx-s-e-<name> (use it as
   shape: 'e-<name>'); see fx.css for how a particle is built (--c / --l / --d = base, light,
   dark; the shape is the ::before, so the pixel shadow follows it). No images, no fonts.
   Like the built-in ones: flat tones with hard edges, nothing blurred or glowing. */

/* ── fire ── */
.fx-s-e-flame::before {
  clip-path: polygon(50% 0, 66% 26%, 62% 44%, 82% 28%, 100% 62%, 86% 90%, 62% 100%, 38% 100%, 14% 90%, 0 62%, 12% 36%, 28% 52%, 30% 24%);
  background: linear-gradient(0deg, #fff 0 16%, var(--l) 16% 44%, var(--c) 44%);   /* white-hot at the base */
}
/* 大, the Fire Blast star: head, two arms, two legs */
.fx-s-e-dai::before {
  clip-path: polygon(43% 0, 57% 0, 57% 30%, 100% 30%, 100% 45%, 61% 45%, 100% 89%, 88% 100%, 50% 63%, 12% 100%, 0 89%, 39% 45%, 0 45%, 0 30%, 43% 30%);
  background: linear-gradient(0deg, var(--c) 0 30%, var(--l) 30% 62%, var(--c) 62%);
}
.fx-s-e-wheel::before, .fx-s-e-cross::before {     /* a ring with spokes; a ring with a gapped cross */
  border: var(--u, 4px) solid; border-color: var(--l) var(--c) var(--c) var(--l); border-radius: 50%;
  background: linear-gradient(var(--l) 0 0) center / 100% 16% no-repeat, linear-gradient(var(--l) 0 0) center / 16% 100% no-repeat;
}
.fx-s-e-cross::before {
  border-width: calc(var(--u, 4px) * .7);
  background: linear-gradient(90deg, var(--l) 0 30%, transparent 30% 70%, var(--l) 70%) center / 100% 10% no-repeat,
    linear-gradient(var(--l) 0 30%, transparent 30% 70%, var(--l) 70%) center / 10% 100% no-repeat;
}

/* ── round things ── */
.fx-s-e-orb::before { border-radius: 50%; background: radial-gradient(circle closest-side at 40% 38%, #fff 0 24%, var(--l) 24% 60%, var(--c) 60%); }
.fx-s-e-dot::before { border-radius: 50%; }
.fx-s-e-bubble::before {
  border: calc(var(--u, 4px) * .7) solid var(--l); border-radius: 50%;
  background: linear-gradient(135deg, #fff 0 24%, transparent 24%), color-mix(in srgb, var(--c) 35%, transparent);
}
.fx-s-e-thin::before { background: none; border: calc(var(--u, 4px) * .5) solid var(--l); border-radius: 50%; }
.fx-s-e-arc::before {                               /* a sound wave: the right-hand side of a ring */
  background: none; border: var(--u, 4px) solid transparent; border-right-color: var(--l); border-radius: 50%;
}
.fx-s-e-ball::before { border-radius: 50%; background: linear-gradient(#e0483c 0 42%, #20222c 42% 58%, #fff 58%); }
.fx-s-e-egg::before {
  clip-path: polygon(50% 0, 72% 10%, 90% 38%, 96% 65%, 84% 90%, 62% 100%, 38% 100%, 16% 90%, 4% 65%, 10% 38%, 28% 10%);
  background: linear-gradient(135deg, #fff 0 45%, var(--l) 45% 80%, var(--c) 80%);
}

/* ── water and ice ── */
.fx-s-e-crest::before {                             /* a breaking wave, curling to the right */
  clip-path: polygon(0 100%, 0 52%, 18% 24%, 44% 5%, 74% 0, 100% 14%, 100% 36%, 80% 28%, 62% 36%, 56% 56%, 70% 80%, 100% 100%);
  background: linear-gradient(#fff 0 22%, var(--l) 22% 46%, var(--c) 46%);
}
.fx-s-e-swell::before { background: linear-gradient(var(--l) 0 10%, var(--c) 10% 70%, var(--d) 70%); }   /* the body of a wave, under its crest */
.fx-s-e-jet::before {                               /* a stream: used long and thin, like the beam */
  background: repeating-linear-gradient(90deg, transparent 0 calc(var(--u, 4px) * 4), rgba(255, 255, 255, .75) calc(var(--u, 4px) * 4) calc(var(--u, 4px) * 5.5)) 0 50% / 100% 22% no-repeat,
    linear-gradient(var(--c) 0 18%, var(--l) 18% 36%, #fff 36% 46%, var(--l) 46% 78%, var(--c) 78%);
}
.fx-s-e-rainbow::before { background: linear-gradient(#e8672f 0 20%, #ffd24a 20% 40%, #5fb04c 40% 60%, #4f8fe6 60% 80%, #9c4fa3 80%); }
.fx-s-e-ray::before { background: linear-gradient(transparent 0 12%, var(--l) 12% 88%, transparent 88%); opacity: .55; }
.fx-s-e-shell::before {                             /* the upper half of a ribbed shell */
  clip-path: polygon(0 100%, 4% 56%, 22% 22%, 50% 6%, 78% 22%, 96% 56%, 100% 100%);
  background: repeating-linear-gradient(90deg, var(--l) 0 14%, var(--c) 14% 20%);
}
.fx-s-e-claw::before {                              /* a pincer, open to the right */
  clip-path: polygon(0 62%, 18% 22%, 54% 0, 90% 8%, 100% 34%, 72% 28%, 54% 46%, 100% 56%, 92% 84%, 56% 100%, 20% 96%);
}
.fx-s-e-flake::before {
  clip-path: polygon(50% 0, 54.2% 39.8%, 75.5% 24.5%, 60.2% 45.8%, 100% 50%, 60.2% 54.2%, 75.5% 75.5%, 54.2% 60.2%, 50% 100%, 45.8% 60.2%, 24.5% 75.5%, 39.8% 54.2%, 0 50%, 39.8% 45.8%, 24.5% 24.5%, 45.8% 39.8%);
  background: linear-gradient(135deg, #fff 0 50%, var(--l) 50%);
}
.fx-s-e-ice::before {                               /* a block of ice */
  clip-path: polygon(50% 0, 88% 16%, 100% 55%, 82% 100%, 18% 100%, 0 55%, 12% 16%);
  background: linear-gradient(120deg, #fff 0 14%, var(--l) 14% 34%, #fff 34% 40%, var(--l) 40% 64%, var(--c) 64%); opacity: .86;
}
.fx-s-e-icicle::before { clip-path: polygon(0 12%, 68% 28%, 100% 50%, 68% 72%, 0 88%); background: linear-gradient(#fff 0 40%, var(--l) 40% 70%, var(--c) 70%); }

/* ── plants ── */
.fx-s-e-vine::before {                              /* a segmented band, used long and thin */
  background: repeating-linear-gradient(90deg, var(--c) 0 calc(var(--u, 4px) * 2.2), var(--d) calc(var(--u, 4px) * 2.2) calc(var(--u, 4px) * 2.8));
}
.fx-s-e-root::before {
  clip-path: polygon(50% 0, 62% 30%, 80% 38%, 66% 55%, 90% 72%, 70% 80%, 78% 100%, 22% 100%, 30% 78%, 8% 68%, 34% 52%, 20% 34%, 40% 28%);
  background: linear-gradient(100deg, var(--l) 0 30%, var(--c) 30% 70%, var(--d) 70%);
}
.fx-s-e-sprout::before { clip-path: polygon(45% 100%, 45% 56%, 20% 50%, 0 25%, 8% 5%, 30% 12%, 50% 40%, 70% 12%, 92% 5%, 100% 25%, 80% 50%, 55% 56%, 55% 100%); }
.fx-s-e-blade::before {                             /* a long leaf, tip to the right */
  clip-path: polygon(0 50%, 14% 22%, 56% 0, 100% 42%, 100% 52%, 60% 86%, 20% 90%);
  background: linear-gradient(#fff 0 28%, var(--l) 28% 56%, var(--c) 56%);
}
.fx-s-e-petal::before { clip-path: polygon(50% 0, 86% 30%, 80% 76%, 50% 100%, 20% 76%, 14% 30%); }
.fx-s-e-flower::before {
  clip-path: polygon(36.4% 23.3%, 35.4% 2.2%, 64.6% 2.2%, 63.6% 23.3%, 60% 36.2%, 71.2% 28.8%, 91% 21.3%, 100% 49.1%, 79.6% 54.7%, 66.2% 55.3%, 76.7% 63.6%, 89.9% 80.1%, 66.3% 97.3%, 54.7% 79.6%, 50% 67%, 45.3% 79.6%, 33.7% 97.3%, 10.1% 80.1%, 23.3% 63.6%, 33.8% 55.3%, 20.4% 54.7%, 0 49.1%, 9% 21.3%, 28.8% 28.8%, 40% 36.2%);
  background: radial-gradient(circle closest-side, #ffd24a 0 28%, var(--l) 28% 62%, var(--c) 62%);
}

/* ── sky ── */
.fx-s-e-sun::before {
  clip-path: polygon(50% 0, 59.1% 16.2%, 75% 6.7%, 74.7% 25.3%, 93.3% 25%, 83.8% 40.9%, 100% 50%, 83.8% 59.1%, 93.3% 75%, 74.7% 74.7%, 75% 93.3%, 59.1% 83.8%, 50% 100%, 40.9% 83.8%, 25% 93.3%, 25.3% 74.7%, 6.7% 75%, 16.2% 59.1%, 0 50%, 16.2% 40.9%, 6.7% 25%, 25.3% 25.3%, 25% 6.7%, 40.9% 16.2%);
  background: radial-gradient(circle closest-side, #fff 0 34%, var(--l) 34% 62%, var(--c) 62%);
}
.fx-s-e-moon::before {
  clip-path: polygon(74.1% 93.8%, 49.2% 100%, 24.6% 93%, 6.6% 74.8%, 0 50%, 6.6% 25.2%, 24.6% 7%, 49.2% 0, 74.1% 6.2%, 56% 8.3%, 40.4% 17.5%, 29.8% 32.2%, 26% 50%, 29.8% 67.8%, 40.4% 82.5%, 56% 91.7%);
  background: linear-gradient(90deg, #fff 0 14%, var(--l) 14%);
}
.fx-s-e-cloud::before {
  clip-path: polygon(12% 100%, 0 80%, 4% 56%, 20% 46%, 24% 20%, 42% 5%, 60% 12%, 68% 30%, 86% 32%, 100% 56%, 96% 86%, 88% 100%);
  background: linear-gradient(var(--l) 0 56%, var(--c) 56%);
}
.fx-s-e-zig::before {                               /* a zigzag stroke across the middle of the box */
  clip-path: polygon(0 55%, 12.5% 30%, 25% 55%, 37.5% 30%, 50% 55%, 62.5% 30%, 75% 55%, 87.5% 30%, 100% 55%, 100% 70%, 87.5% 45%, 75% 70%, 62.5% 45%, 50% 70%, 37.5% 45%, 25% 70%, 12.5% 45%, 0 70%);
  background: var(--l);
}

/* ── faces and limbs ── */
.fx-s-e-eye::before, .fx-s-e-slit::before {
  clip-path: polygon(0 50%, 22% 20%, 50% 8%, 78% 20%, 100% 50%, 78% 80%, 50% 92%, 22% 80%);
  background: radial-gradient(circle closest-side, #000 0 22%, var(--c) 22% 54%, #fff 54%);
}
.fx-s-e-slit::before { background: linear-gradient(90deg, transparent 0 43%, #000 43% 57%, transparent 57%), radial-gradient(circle closest-side, var(--c) 0 70%, var(--l) 70%); }
.fx-s-e-teeth::before {                             /* an upper jaw: gum and four fangs */
  clip-path: polygon(0 0, 100% 0, 100% 36%, 87.5% 100%, 75% 36%, 62.5% 100%, 50% 36%, 37.5% 100%, 25% 36%, 12.5% 100%, 0 36%);
  background: linear-gradient(var(--c) 0 26%, #fff 26%);
}
.fx-s-e-lips::before {
  clip-path: polygon(0 45%, 18% 18%, 38% 10%, 50% 22%, 62% 10%, 82% 18%, 100% 45%, 78% 80%, 50% 95%, 22% 80%);
  background: linear-gradient(var(--l) 0 22%, var(--c) 22% 46%, var(--d) 46% 54%, var(--c) 54%);
}
.fx-s-e-heart::before { clip-path: polygon(50% 100%, 0 46%, 0 20%, 16% 2%, 36% 2%, 50% 18%, 64% 2%, 84% 2%, 100% 20%, 100% 46%); }
.fx-s-e-fist::before {                              /* knuckles to the right */
  clip-path: polygon(0 22%, 58% 12%, 100% 20%, 100% 80%, 58% 90%, 0 80%);
  background: linear-gradient(90deg, var(--c) 0 60%, transparent 60%), repeating-linear-gradient(0deg, var(--l) 0 21%, var(--d) 21% 25%);
}
.fx-s-e-foot::before { clip-path: polygon(20% 0, 56% 0, 56% 54%, 100% 70%, 100% 100%, 20% 100%); }
.fx-s-e-hand::before {                              /* an open mitt, thumb to the left */
  clip-path: polygon(22% 100%, 22% 58%, 0 42%, 8% 28%, 28% 40%, 28% 10%, 42% 10%, 42% 0, 58% 0, 58% 6%, 72% 6%, 72% 14%, 86% 14%, 86% 62%, 76% 100%);
}
.fx-s-e-point::before { clip-path: polygon(38% 0, 56% 0, 56% 42%, 88% 42%, 88% 78%, 78% 100%, 30% 100%, 18% 80%, 18% 50%, 38% 44%); }

/* ── signs ── */
.fx-s-e-q::before { clip-path: polygon(20% 0, 80% 0, 100% 12%, 100% 40%, 62% 58%, 62% 68%, 38% 68%, 38% 80%, 62% 80%, 62% 100%, 38% 100%, 38% 48%, 74% 32%, 74% 20%, 26% 20%, 26% 34%, 0 34%, 0 12%); }
.fx-s-e-excl::before { clip-path: polygon(30% 0, 70% 0, 60% 66%, 40% 66%, 40% 78%, 60% 78%, 60% 100%, 40% 100%, 40% 66%); }
.fx-s-e-vein::before {                              /* the anger mark: four brackets around a cross-shaped gap */
  clip-path: polygon(evenodd, 20% 0, 80% 0, 80% 20%, 100% 20%, 100% 80%, 80% 80%, 80% 100%, 20% 100%, 20% 80%, 0 80%, 0 20%, 20% 20%, 20% 0,
    38% 0, 62% 0, 62% 38%, 100% 38%, 100% 62%, 62% 62%, 62% 100%, 38% 100%, 38% 62%, 0 62%, 0 38%, 38% 38%, 38% 0);
  background: var(--c);
}
.fx-s-e-note2::before { clip-path: polygon(18% 0, 100% 0, 100% 80%, 90% 92%, 68% 92%, 60% 82%, 60% 70%, 70% 62%, 86% 62%, 86% 22%, 32% 22%, 32% 88%, 22% 100%, 8% 100%, 0 90%, 0 78%, 8% 70%, 18% 70%); }
.fx-s-e-talk::before { clip-path: polygon(10% 0, 90% 0, 100% 12%, 100% 62%, 90% 74%, 46% 74%, 22% 100%, 26% 74%, 10% 74%, 0 62%, 0 12%); background: linear-gradient(#fff 0 62%, var(--l) 62%); }
.fx-s-e-hex::before, .fx-s-e-hexo::before { clip-path: polygon(25% 2%, 75% 2%, 100% 50%, 75% 98%, 25% 98%, 0 50%); }
.fx-s-e-hexo::before {                              /* the same hexagon, hollow */
  clip-path: polygon(evenodd, 25% 2%, 75% 2%, 100% 50%, 75% 98%, 25% 98%, 0 50%, 25% 2%, 29% 10%, 9% 50%, 29% 90%, 71% 90%, 91% 50%, 71% 10%, 29% 10%);
  background: linear-gradient(135deg, #fff 0 30%, var(--l) 30% 60%, var(--c) 60%);
}
.fx-s-e-pane::before {                              /* a sheet of glass with two glints */
  border: calc(var(--u, 4px) * .6) solid var(--l); opacity: .8;
  background: linear-gradient(115deg, transparent 0 22%, #fff 22% 30%, transparent 30% 38%, #fff 38% 42%, transparent 42%), var(--c);
}
.fx-s-e-hazard::before { background: repeating-linear-gradient(90deg, var(--c) 0 calc(var(--u, 4px) * 2), #fff calc(var(--u, 4px) * 2) calc(var(--u, 4px) * 4)); }

/* ── things ── */
.fx-s-e-sword::before {                             /* point up */
  clip-path: polygon(50% 0, 62% 14%, 62% 66%, 90% 66%, 90% 76%, 58% 76%, 58% 100%, 42% 100%, 42% 76%, 10% 76%, 10% 66%, 38% 66%, 38% 14%);
  background: linear-gradient(transparent 0 66%, var(--d) 66%), linear-gradient(90deg, #fff 0 50%, var(--l) 50%);
}
.fx-s-e-doll::before {                              /* the Substitute doll */
  clip-path: polygon(22% 0, 34% 14%, 66% 14%, 78% 0, 86% 12%, 80% 30%, 86% 48%, 100% 58%, 92% 72%, 82% 68%, 84% 100%, 58% 100%, 50% 88%, 42% 100%, 16% 100%, 18% 68%, 8% 72%, 0 58%, 14% 48%, 20% 30%, 14% 12%);
  background: linear-gradient(#20222c 0 0) 34% 28% / 9% 9% no-repeat, linear-gradient(#20222c 0 0) 66% 28% / 9% 9% no-repeat,
    radial-gradient(circle closest-side at 50% 68%, var(--l) 0 42%, var(--c) 42%);
}
.fx-s-e-item::before {                              /* a tied pouch */
  clip-path: polygon(30% 0, 70% 0, 62% 22%, 100% 50%, 100% 86%, 80% 100%, 20% 100%, 0 86%, 0 50%, 38% 22%);
  background: linear-gradient(var(--l) 0 18%, var(--d) 18% 28%, var(--c) 28%);
}
.fx-s-e-bottle::before {
  clip-path: polygon(36% 0, 64% 0, 64% 22%, 82% 40%, 82% 100%, 18% 100%, 18% 40%, 36% 22%);
  background: linear-gradient(var(--c) 0 12%, #fff 12% 50%, var(--l) 50% 66%, #fff 66%);
}
.fx-s-e-bell::before { clip-path: polygon(44% 0, 56% 0, 56% 10%, 76% 24%, 84% 70%, 100% 84%, 62% 84%, 62% 100%, 38% 100%, 38% 84%, 0 84%, 16% 70%, 24% 24%, 44% 10%); }
.fx-s-e-pend::before {                              /* a string with a bob at its right end */
  clip-path: polygon(0 42%, 72% 42%, 72% 20%, 80% 0, 92% 0, 100% 20%, 100% 80%, 92% 100%, 80% 100%, 72% 80%, 72% 58%, 0 58%);
}
.fx-s-e-spoon::before { clip-path: polygon(34% 0, 66% 0, 82% 12%, 82% 30%, 62% 44%, 58% 100%, 42% 100%, 38% 44%, 18% 30%, 18% 12%); }
.fx-s-e-lock::before {                              /* a padlock */
  clip-path: polygon(evenodd, 10% 45%, 22% 45%, 22% 18%, 36% 0, 64% 0, 78% 18%, 78% 45%, 90% 45%, 90% 100%, 10% 100%, 10% 45%,
    36% 45%, 36% 22%, 42% 14%, 58% 14%, 64% 22%, 64% 45%, 36% 45%);
  background: linear-gradient(var(--l) 0 45%, var(--c) 45%);
}
.fx-s-e-nail::before { clip-path: polygon(18% 0, 82% 0, 82% 14%, 60% 14%, 56% 78%, 50% 100%, 44% 78%, 40% 14%, 18% 14%); }
.fx-s-e-pencil::before {                            /* point down */
  clip-path: polygon(30% 0, 70% 0, 70% 70%, 50% 100%, 30% 70%);
  background: linear-gradient(#f48fb1 0 12%, var(--c) 12% 70%, #f3d9a4 70% 90%, #20222c 90%);
}
.fx-s-e-baton::before { inset: 38% 0; background: linear-gradient(90deg, var(--c) 0 16%, #fff 16% 84%, var(--c) 84%); }
.fx-s-e-lens::before {                              /* a magnifying glass, handle to the lower right */
  clip-path: polygon(evenodd, 22% 0, 48% 0, 70% 22%, 70% 48%, 64% 58%, 100% 90%, 90% 100%, 58% 64%, 48% 70%, 22% 70%, 0 48%, 0 22%, 22% 0,
    26% 12%, 12% 26%, 12% 44%, 26% 58%, 44% 58%, 58% 44%, 58% 26%, 44% 12%, 26% 12%);
}
.fx-s-e-feather::before { clip-path: polygon(0 100%, 14% 70%, 10% 40%, 30% 46%, 34% 16%, 54% 28%, 70% 0, 100% 6%, 92% 40%, 62% 56%, 74% 70%, 44% 72%, 40% 90%, 18% 82%); background: linear-gradient(135deg, #fff 0 50%, var(--l) 50%); }
