Katie Mack hit a century and Lilly Mills picked up a five-wicket haul as the Green XI took bragging rights over the Gold XI in their three-day domestic red-ball game.