A 10-year-old girl remains in critical condition after being pulled from the water as officials warn of a high risk of rip currents.