They escaped the last "Islamic State of Iraq and Syria" (ISIS) holdout by a thread, but skeletal babies streaming into al-Hol displacement camp in north-eastern Syria now face a race against malnutrition.
Truckloads of gaunt women and children fleeing ISIS's last stand in the Euphrates Valley disembark daily at al-Hol camp.
"They are just skin and bones when they get here," Kurdish Red Crescent (KRC) paediatrician Dr. Antar Senno told AFP at a makeshift clinic in al-Hol.
They have suffered desperate conditions in the last pocket held by ISIS near the village of al-Baghouz, close to the Iraqi border, with little food, water or medicine.
KRC workers quickly scan the infants –- particularly those under a year old -- for thin limbs, taut and dried-out skin, or signs of diarrhoea, said Senno.
"The team combs the entire reception tent. If they see a case that could be malnutrition, they immediately pull the child aside and put him in an ambulance," he said.
But the journey does not end there.
Medics at al-Hol, which has been flooded with more than 25,000 displaced people in recent weeks as military operations ramped up, do not have the capacity to treat severely malnourished children and must send them on to hospitals in the city of al-Hasakeh, an hour away.
That makes every moment even more precious, said Senno.
"They are practically dead when they get here. But if we can catch them and send them to hospital in al-Hasakeh, we can save their lives," he said.
"It is not about the same day. It is about the same minute."
'Breastfeeding, but not enough'
More than 37,000 people have fled the shrinking ISIS-held enclave in the eastern province of Deir Ezzor as the Syrian Democratic Forces (SDF) close in.
Many walk for days in the desert to reach an SDF-run collection point, where they are screened, provided with some food and water and loaded into trucks for the hours-long journey north to al-Hol.
But that desert odyssey can be deadly -- at least 35 newborns and infants have died either en route to the camp or just after they arrive, according to the UN.
One camp worker said he saw women tumble out of trucks cradling lifeless babies, not knowing they had died on the road.
Three-month-old Ahmad had a close call, said his Iraqi mother, Istabraq.
"I was breastfeeding while in al-Baghouz but it was not enough," the 22-year-old said.
They escaped 20 days ago and were brought to al-Hol.
"He was in really bad shape so, when we arrived here in the camp, they took him straight from the reception area to the hospital," she said.
She was allowed to accompany him to al-Hasakeh for the day but has not been authorised to return.
Authorities at al-Hol have imposed tight security measures amid fears ISIS fighters could be posing as fleeing civilians.
Severe acute malnutrition
Severe acute malnutrition (SAM) can be life-threatening for children, particularly infants.
Across Syria, 18,700 children under the age of five are suffering from SAM, according to the World Food Programme.
The KRC said it had transferred dozens of SAM cases from al-Hol to al-Hasakeh in recent weeks, including 29 currently being treated there.
But infants can become malnourished even after they arrive at al-Hol, said the Mar Ephraem medical charity, which operates a children's clinic in al-Hol.
"If they are suffering from chronic diarrhoea and dehydration, we send them to the hospital immediately," said nurse Marah al-Sheikhi.
"It is extremely urgent. If you are an hour late, that makes a difference to a malnourished child," she said.
On Thursday, Mar Ephraem ordered one baby's emergency transfer to the hospital.
Three-month-old Yaqin had arrived in al-Hol over a week ago, carried by her mother, Shamaa.
"We have been here 10 days but her weight keeps going down, not up. She has diarrhoea and is vomiting," said Shamaa, 23, pacing anxiously as she waited for an ambulance to al-Hasakeh.
"Now I found out she has severe malnutrition. I am so scared for her," she said, cradling Yaqin, who was so weak she was not even crying.