/* MoveFx "body" pack, part "fight": shapes added for this part's recipes (.fx-s-bf-<name>, used as
   shape 'bf-<name>'). Same rules as fx.css: flat tones of --c / --l / --d with hard edges, the shape
   is the ::before of an .fx-p. Artwork that has a direction points right. */

/* A kicking foot seen from the side: shin at the left, toes to the right, a dark sole underneath.
   Unlike b-foot (a footprint) it still reads as a foot when it is small and flying. */
.fx-s-bf-boot::before {
  clip-path: polygon(10% 0, 40% 0, 40% 46%, 74% 50%, 92% 58%, 100% 74%, 100% 100%, 6% 100%, 0 88%, 0 62%, 10% 50%);
  background: linear-gradient(#fff 0 16%, var(--l) 16% 26%, var(--c) 26% 82%, var(--d) 82%);
}

/* A bird diving, seen from above: beak to the right, wings swept back, a forked tail. */
.fx-s-bf-swoop::before {
  clip-path: polygon(100% 50%, 70% 38%, 34% 0, 46% 36%, 18% 40%, 0 26%, 8% 50%, 0 74%, 18% 60%, 46% 64%, 34% 100%, 70% 62%);
  background: linear-gradient(90deg, var(--c) 0 46%, var(--l) 46% 82%, #fff 82%);
}

/* A looking-glass: a metal frame round pale glass with two white glints. */
.fx-s-bf-mirror::before {
  clip-path: polygon(20% 0, 80% 0, 100% 14%, 100% 86%, 80% 100%, 20% 100%, 0 86%, 0 14%);
  background:
    linear-gradient(135deg, transparent 0 34%, #fff 34% 42%, transparent 42% 52%, #fff 52% 56%, transparent 56%) 50% 50% / 70% 76% no-repeat,
    linear-gradient(#bfe4f6, #bfe4f6) 50% 50% / 70% 76% no-repeat,
    linear-gradient(135deg, var(--l) 0 40%, var(--c) 40%);
}

/* An iron plate: a slab with four square rivets, light at the left edge, dark at the right. */
.fx-s-bf-plate::before {
  background:
    linear-gradient(var(--d), var(--d)) 18% 12% / calc(var(--u, 4px) * 1.2) calc(var(--u, 4px) * 1.2) no-repeat,
    linear-gradient(var(--d), var(--d)) 82% 12% / calc(var(--u, 4px) * 1.2) calc(var(--u, 4px) * 1.2) no-repeat,
    linear-gradient(var(--d), var(--d)) 18% 88% / calc(var(--u, 4px) * 1.2) calc(var(--u, 4px) * 1.2) no-repeat,
    linear-gradient(var(--d), var(--d)) 82% 88% / calc(var(--u, 4px) * 1.2) calc(var(--u, 4px) * 1.2) no-repeat,
    linear-gradient(90deg, var(--l) 0 14%, var(--c) 14% 86%, var(--d) 86%);
}
