In a large bowl, beat the softened butter and granulated sugar until light and creamy, about 2 to 3 minutes.
Add the egg and vanilla extract, then mix until fully combined.
In a separate bowl, whisk the flour, baking powder, and salt. Add the dry ingredients to the butter mixture and mix on low speed just until a soft dough forms.
Divide the dough into two equal discs. Wrap each disc and refrigerate for at least 1 hour.
Preheat the oven to 350°F / 175°C. Line baking sheets with parchment paper.
Roll one dough disc at a time on a lightly floured surface to about ¼-inch thickness. Cut into round shields, masks, stars, lightning bolts, hammers, or other superhero-inspired shapes.
Transfer cookies to the prepared baking sheets, spacing them about 1 inch apart.
Bake for 8 to 10 minutes, until the edges are set and only very lightly golden. Let cookies cool on the baking sheet for 5 minutes, then transfer them to a wire rack to cool completely.
To make royal icing, whisk meringue powder and 5 tablespoons warm water in a large bowl. Let stand for 5 minutes to hydrate.
Add powdered sugar and beat on low speed until combined, then beat on medium-high speed until thick, glossy peaks form. Mix in vanilla extract and optional corn syrup.
Reserve some icing for piping outlines and details. Thin the remaining icing with water, a few drops at a time, until it flows smoothly for flooding. Divide icing among bowls and tint with gel colors.
Pipe an outline around each cookie, then fill the center with thinner flood icing. Use a toothpick to spread icing into corners and pop air bubbles.
Let the base layer dry before adding details such as shield rings, stars, mask lines, eyes, cracks, or lightning bolts.
Allow cookies to dry in a single layer for at least 6 to 8 hours, or overnight, before stacking, packaging, or serving.