By Tom Perry and Maggie Fick
CAIRO (Reuters) - Egypt's armed forces and Islamist President Mohamed Mursi refused to back down on Wednesday as a deadline for a military takeover passed with rival demonstrators out in force in the streets of Cairo.
Military chiefs, vowing to restore order in a country racked by protests over Mursi's Islamist policies, issued a call to battle in a statement headlined "The Final Hours". They said they were willing to shed blood against "terrorists and fools" after Mursi refused to give up his elected office.
Armored vehicles took up position outside the state broadcasting headquarters on the Nile River bank, where soldiers patrolled the corridors and non-essential staff were sent home. But there was no other immediate sign of military action to remove the Muslim Brotherhood president.
In a last-ditch statement a few minutes before the 5 p.m. (11:00 a.m. EDT) deadline, Mursi's office said a coalition government could be part of an initiative to overcome a political crisis. But opposition parties refused to negotiate with him and met instead with the commander of the armed forces.
As the ultimatum expired, hundreds of thousands of anti-Mursi protesters in Tahrir Square in central Cairo let off fireworks, cheered and waved Egyptian flags in celebration.
There was no immediate word from the armed forces, and a spokesman said no fixed time had been set for a statement. Egyptian blogger Su Zee tweeted: "And in typical Egyptian fashion, #egypt is late for its own coup."
The Arab world's most populous nation has remained in turmoil since the fall of Hosni Mubarak as Arab Spring uprisings took hold in early 2011, arousing concern among allies in the West and in Israel, with which Egypt has a 1979 peace treaty.
U.S. oil prices rose to a 14-month high above $100 a barrel partly on fears that unrest in Egypt could destabilize the Middle East and lead to supply disruption.
BETTER TO DIE
Less than three hours before the deadline for Mursi to agree to share power or make way for an army-imposed solution, the president's spokesman said it was better that he die in defense of democracy than be blamed by history.
"It is better for a president, who would otherwise be returning Egypt to the days of dictatorship, from which God and the will of the people has saved us, to die standing like a tree," spokesman Ayman Ali said, "Rather than be condemned by history and future generations for throwing away the hopes of Egyptians for establishing a democratic life."
Yet despite Islamist talk of martyrdom and warnings of civil war, the dominant mood in Cairo streets was one of elation rather than foreboding.
Earlier, in an emotional, rambling midnight television address, Mursi said he was democratically elected and would stay in office to uphold the constitutional order, declaring: "The price of preserving legitimacy is my life."
Liberal opponents said it showed he had "lost his mind".
The official spokesman of the Muslim Brotherhood movement said supporters were willing to become martyrs to defend Mursi.
"There is only one thing we can do: we will stand in between the tanks and the president," Gehad El-Haddad told Reuters at the movement's protest encampment in a Cairo suburb that houses many military installations and is near the presidential palace.
"We will not allow the will of the Egyptian people to be bullied again by the military machine."
Armed forces commander General Abdel Fattah al-Sisi was meeting the main liberal opposition leader, Nobel peace laureate Mohamed ElBaradei, the top Muslim and Christian religious authorities and leaders of smaller Islamist parties and of the youth protest movement that led the anti-Mursi protests, the military said.
The Brotherhood's political arm, the Freedom and Justice Party, refused an invitation to meet Sisi, saying it only recognized the elected president.
The Egypt25 television station owned and run by the Brotherhood was continuing to broadcast live split-screen coverage of pro-Mursi demonstrations. The biggest was in a Cairo suburb where tens of thousands of protesters displayed posters of the president and cheered Islamist speakers.
The state-run Al-Ahram newspaper said Mursi was expected to either step down or be removed from office and the army would set up a three-member presidential council to be chaired by the head of the Supreme Constitutional Court.
A military source said he expected the army to first call political, social and economic figures and youth activists for talks on its draft roadmap for the country's future.
At least 16 people, mostly supporters of the president, were killed and about 200 wounded when gunmen opened fire overnight on pro-Mursi demonstrators at Cairo University campus.
The Muslim Brotherhood accused uniformed police of the shooting. The Interior Ministry said it was investigating and the governor of Giza province, where the clash occurred, submitted his resignation.
Central Cairo was quiet by day. Many stores were shuttered and traffic unusually light. The stock market index recovered losses to close just 0.3 percent lower on hopes of a rapid solution to the crisis.
The Egyptian pound weakened against the dollar at a currency auction, and banks closed early, before the army deadline.
For the first time in many months, uniformed police were back patrolling the streets, and the Interior Ministry said in a statement it would "confront all forms of violence".
"I could tell that the police are back with their full power on the streets like the old days before the January 25 revolution," said Amir Aly, 25, a protester outside the presidential palace.
Military sources told Reuters the army had drafted a plan to sideline Mursi, suspend the constitution and dissolve the Islamist-dominated upper house of parliament.
Coordinated with political leaders, an interim council would rule pending changes to the Islamist-tinged constitution and new presidential elections, the military sources said.
They would not say what was planned for the uncooperative president, whose office refused to disclose his whereabouts.
The Dustour (constitution) party led by ElBaradei, a former head of the U.N. nuclear agency, appealed for military intervention to save Egyptian lives, saying Mursi's speech showed he had "lost his mind" and incited bloodshed.
The opposition National Salvation Front, an umbrella group of liberal, secular and leftist parties, and the "Tamarud - Rebel!" youth movement leading the protests nominated ElBaradei to negotiate with army leaders on a transition.
In his 45-minute address to the nation, Mursi acknowledged having made mistakes and said he was still willing to form a national unity government ahead of parliamentary elections and let a new parliament amend the constitution.
But he offered no new initiative and rejected calls to step aside, saying it was his sacred duty to uphold legitimacy - a word he repeated dozens of times.
The massive protests showed that the Brotherhood had not only alienated liberals and secularists by seeking to entrench Islamic rule, notably in a new constitution, but had also angered millions of Egyptians with economic mismanagement.
Tourism and investment have dried up, inflation is rampant and fuel supplies are running short, with power cuts lengthening in the summer heat and motorists spending hours fuelling cars.
(Reporting by Asma Alsharif, Alexander Dziadosz, Shaimaa Fayed, Maggie Fick, Alastair Macdonald, Shadia Nasralla, Tom Perry, Yasmine Saleh, Paul Taylor, Ahmed Tolba and Patrick Werr in Cairo, Abdelrahman Youssef in Alexandria, Yursi Mohamed in Ismailia and Phil Stewart in Washington; Writing by Paul Taylor; Editing by Peter Millership and Giles Elgood)
Watch live video, broadcast via YouTube on July 3.