Flatband mode in photonic moiré superlattice for boosting second-harmonic generation with monolayer van der Waals crystals.