US-backed forces said Wednesday the Islamic State group was living its "final moments" after thunderous shelling on its last scrap of land in eastern Syria prompted 3,000 jihadists to surrender.
But the die-hard IS fighters who stayed to defend the remnants of their "caliphate" struck back with a wave of suicide bombings, according to the Kurdish-led Syrian Democratic Forces (SDF).
IS once ruled over millions in a swathe of Syria and Iraq, but it has since lost all that territory except for a riverside slither in the village of Baghouz near the Iraqi border.
Thousands of men and women have poured out of the pocket in recent weeks, hampering an advance by the US-backed SDF, who have paused their offensive multiple times to allow evacuations.
Supported by airstrikes by the US-led coalition against the jihadists, the SDF resumed artillery shelling on Sunday after warning holdout IS fighters their time to surrender was up.
For three nights in a row, the Kurdish-led SDF unleashed a deluge of fire on jihadist outposts, engulfing their makeshift encampment in a ravaging blaze.
"IS's final moments have started," SDF official Jiaker Amed told AFP.
There was a halt in air strikes on Wednesday morning, but clashes continued as the SDF worked to thwart an IS counterattack launched in the early hours of the day, he said.
The official said the Kurd-led force was pounding jihadists with heavy artillery to hamper the offensive, which IS launched from several fronts following fierce clashes on Tuesday night.
"We are still countering the assault until this very moment," he said.
"This could be their final attack."
An SDF fighter in Baghouz said IS was using "many suicide bombers" in its counterattack, which it launched after day break under cover of a sand storm.
Inside Baghouz, the crackle and thud of gunfire and shelling rang out from the encampment as plumes of thick black smoke rose over the bombed-out IS bastion. 
Amid the rubble, three SDF fighters lobbed a salvo of mortar shells towards the IS pocket.
One female SDF fighter pulled a mortar round out of its box and stuffed it into a metal propeller.
She took a few steps back before launching the explosive towards its target.
Outside the village, an AFP correspondent saw dozens of evacuees sitting in clusters on a field dotted with yellow flowers, a day after thousands of the last survivors of the "caliphate" handed themselves over to US-backed forces.
The SDF have said that fierce bombardment on the last IS pocket aims to terrorise jihadists and their relatives into surrendering.
After a night of heavy bombardment on Tuesday, SDF spokesman Mustefa Bali said around 3,000 jihadists had handed themselves over to the SDF over the past 24 hours.
"The battle is ongoing and the final hour is now closer than ever," he said on Twitter.
But an SDF official said on Wednesday that "it appears as though many fighters remain inside" the last pocket.
Near the frontline on Tuesday night, AFP correspondents saw bright, long streaks of light in the night sky as US-backed forces bombed jihadist outposts. 
Explosions shook the IS pocket as large fires ravaged a cluster of tents and buildings. 
Coalition spokesman Sean Ryan on Wednesday said IS has no room to manoeuvre.
"There is no freedom of movement at night for the enemy," he told AFP.
"Combined with the SDF ground movement against the final enclave, progress is being made and their capabilities are being severely destroyed," he said.
Since December, around 60,000 people have left the last IS redoubt, according to the Britain-based Syrian Observatory for Human Rights, around a tenth of them suspected jihadists.
The outpouring has sparked a humanitarian crisis in Kurdish-run camps for the displaced further north, which are struggling to accomodate the mass influx of women and children.
The UN's food agency on Tuesday appealed for urgent funding for the Al-Hol camp, which is receiving the bulk of evacuees.
At the height of its brutal rule, IS controlled a stretch of land in Syria and Iraq the size of the United Kingdom.
The total capture of the Baghouz camp by the SDF would mark the end of the cross-border "caliphate" it proclaimed more than four years ago.
But beyond Baghouz, IS retains a presence in eastern Syria's vast Badia desert and sleeper cells in the northeast.
The jihadists have continued to claim deadly attacks in SDF-held territory in recent months, and the US military has warned of the need to maintain a "vigilant offensive".
Baghouz is the latest major battlefront in Syria's complex civil war, which has killed more than 360,000 people since 2011.
Related Story