Why is a multivitamin complex necessary after large doses of B vitamins? I thought that B vitamins are just water-soluble and your body removes the excess.
The same rule goes to minerals - when you take vitamins, the reaction speeds increase and they start to consume significantly more substrates causing electrolyte disbalances, which can be disastrous and even fatal. That's why you have to make sure that you take enough of Mg, K, P when you get vitamins as well.
To turn Riboflavin into FMN using an enzyme called RFK, which needs zinc and magnesium as cofactors:
https://www.uniprot.org/uniprot/Q969G6
The it turns FMN to turn into FAD using FLAD1, which needs Magnesium as a cofactor.