Cosmos continue 7-game unbeaten streak, rise to second place