Line a baking sheet with wax paper. In microwave, heat white-chocolate chips on medium power, stirring every 20 seconds, until melted. Spoon into a resealable bag, and snip off a corner. Pipe 30 lines about 1/4-inch wide onto the sheet of wax paper. Place the yellow, orange, and red melting wafers into separate resealable plastic bags. Microwave bags, 20 seconds at a time, on medium power until wafers are melted. Pipe yellow flames on top of lines. Pipe a small dot of red or orange in the center of yellow. Transfer the baking sheet to the refrigerator until candles are set, about 5 minutes. Carefully insert candles into tops of mini cupcakes before stacking.