the best method for you here is to pick one method, and not blend it with any other. run the method fully until it works or not, then choose another. I would specifically not do anything that touches your coral in this minor challenge tank, since coral growth isn't the issue. You would simply lift up the rocks, and kill the algae directly. if the sand is cloudy, per that thread we'd like to fix that too as fuel.
my method resets your tank nutrient issues, if any, and doesn't touch corals in the process. its algae specific, since your tank is small.
no param, lighting issue, or anything bad happened here, your algae growth indicates success not fail due to its levels and natural controls in place. that sand rinse thread shows how to take apart nanos and set them up without a cycle, clean as a whistle. adding anything to your water affects the whole tank, the nontargets, and that's not ideal based on your before pics.