If Mayu had no contact with the outside world, how did she contact people in the outside world?
The implication is that, upon her death, Mayu's ghost was what made her imagined Eternal Girl system into a reality. (In the flashbacks, we see her orchestrating it from her room with the implication that at that point it was all in her warped imagination.)