Urgh, it's one of those battles again...
Fact is, I cannot read anywhere, even in the Manga, that Mami has any kind of heat resistance. So the Lava should affect her -as should the acid, in fact.
Who of those is even faster? Kaguya is fast enough to Blitz Naruto, who has dodged a Fast as Light attack point Blanc, so she should be REALLY fast. I do, however, not know, how fast exactly Mami is. She also Blitzed Sasuke, who should see everything in Slow Motion and yet she blitzed him before he even reacted.
Half her attacks ignote conventional Durability, like her Ash Killing Bone and her 80 God Palm. Even her silly Hair Rabbit Needle should have MoonClass AP, since, well, it wrecked a MoonClass Susanoo. I've not the slightest clue how Mami would deal with the Expanding Truth Seeker Orb.
The Crux of this fu**ing battle seems to once again who can outhax the other. If Mami's Powerdrain and Disable work on Kaguya, it is pretty much an instant Hax-Curbstomp. If it does not, I cannot see Mami taking this.