HANGZHOU, China (AFP) - Brazil scored a last-gasp goal to book their place in the women's World Cup quarter-finals here Thursday, with their 1-0 victory crushing the dreams of a desperate Denmark.
Substitute Pretinha did the damage, scoring in the 91st minute after both sides came close in regulation time, to keep the South American powerhouse on course for their first title.
Denmark, whose campaign at this World Cup has been dogged by controversy, needed to win to keep their hopes alive, and are now out.
Brazil were virtually guaranteed of advancing before kick-off after securing enough points by earlier thumping minnows New Zealand and hosts China, to finish on top of Group D.
The fleet-footed Canarinha now take on Australia in Tianjin city on Sunday, after the Matildas qualified by drawing with Canada, also Thursday.
"We were so keen to win, but we lost a lot of chances, but we finally scored to win," said player of the match Daniela.
Coach Jorge Barcellos said he had lineup problems because he did not want three players, including Daniela, already on yellow cards to risk getting booked again and miss the quarter-final.
But he finally found the right combination after half-time.
With the 40,000-strong crowd chanting her name, masterful Marta was scorching for Brazil, often sprinting down the left wing leaving Danish defenders in her wake, to cross to teammates lurking nearer the goal.
Cristiane, whose relentless pace also caused problems, latched onto a lightning quick pass from Marta in the 14th minute but the 22-year-old forward miscued her shot which went wide.
Daniela should have scored on 20 minutes, when she found herself with space just inside the area, but fired over the bar.
But Denmark, ranked six in the world, also looked dangerous with several shots on target in the first half, as the Brazilian defence scrambled to clear danger inside the box.
Brazil came out firing in the second period, Marta launching a missile that goalkeeper Heidi Johansen flicked over the bar. She fired another that scraped the top of the woodwork on 55 minutes, bringing roars from the crowd.
But it was Pretinha, who came on after half-time, who ensured victory, latching onto a long ball on the right wing and lobbing her shot over an advancing Johansen.
Denmark assistant coach Per Nielsen praised his charges, saying they had plenty of chances.
"It was a great match and we put in an excellent performance but unfortunately we lost 1-0 but that's how it goes," he said. "I think we had our chances, no doubt."
Denmark's head coach Kenneth Heiner-Moller was sitting in the stands, serving a suspension for unsportsmanlike conduct earlier in the Cup.
The Danes have vowed to pursue an apparent spying incident that has dogged this tournament. Denmark were outraged to find two men, described as Chinese, with cameras hiding behind a two-way mirror ahead of the team's key tactical meeting before their clash with China.
FIFA insist the case is closed.
The South Americans, who have played in every World Cup since the tournament's inception in 1991, stormed to a third place finish in 1999 only to crash out in the first round in 2003.
|Hughes targets Arsenal fans to help Stoke end dismal away run|
|83 suspects, 98 clubs ´impacted´ in football abuse probe|
|Fowler pleads with Liverpool to keep ´top quality´ Sturridge|
|Reus ´100 per cent different´ on comeback|
|Ibrahimovic ´super happy´ for rejuvenated Mkhitaryan|
|Vertonghen: Football needs Mourinho|
|Title triumph went to Leicester´s heads, admits Ranieri|
|Conceicao named new Nantes coach|
|LaLiga lead means nothing - Zidane|
|Chapecoense add two stars to badge in wake of air disaster|
|Blatter accuses Infantino of lack of respect|
|Austin injury compounds Puel´s misery|
|Gestifute publishes further evidence of ´Ronaldo tax compliance´|
|Pioli eyes further Inter improvement|
|´I feel s***´ - Van Dijk blasts Southampton after Europa League collapse|
|Mourinho marvels at Mkhitaryan mentality after Zorya stunner|
|Southampton 1 Hapoel Be´er Sheva 1: Late Van Dijk leveller not enough as visitors progress|
|Inter 2 Sparta Prague 1: Eder double sends hosts out on a high|
|Vieira wanted Arsenal coaching opportunity|
|Vieira hopes MLS experience puts him in frame to replace Guardiola|
|Mkhitaryan: I waited a long time for this|
|Zorya 0 Manchester United 2: Mkhitaryan magic sends Mourinho´s men through|
|Ranieri urges Leicester players to fight for their futures|
|Cellino banned for 18 months over McCormack transfer|
|Koeman demands reaction from dropped Barkley|
|Tevez unsure on Boca future amid China speculation|
|Bradley vows to fight for his job at Swansea|
|Koeman speaks out on Depay, Schneiderlin links|
|Wenger unconvinced by World Cup expansion plans|
|Kovac brothers sign new Frankfurt deals|
|Selling Sturridge would be a mistake, says Rush|
|UEFA opens disciplinary proceedings against Besiktas, Dynamo Kiev|
|Filipe Luis suffers thigh tear|
|Kashima Antlers 2 Auckland City 1: Late Kanazaki header the difference|
|Suarez´s Barca renewal already done, says Bartomeu|
|Barcelona invite Chapecoense for Joan Gamper Trophy|
|Arsenal would have a chance against Real Madrid, insists Wenger|
|FIFA chief Infantino calls for zero tolerance on child abuse|
|Sanchez will not leave Arsenal for China - Wenger|
|Dybala delighted with Juventus return|
|Rashford desperate to learn from Ibrahimovic|
|Weigl not ready for Real Madrid - Tuchel|
|Why Zidane must drop Ronaldo at the Club World Cup|
|Barton: They built me up into a Neymar-Messi type|
|Shakhtar aware of Barca interest in Srna - Fonseca|
|Mets hitting coach believes Tebow can make it to MLB|
|Aubameyang reiterates Madrid dream after Bernabeu show|
|Zidane praises Benzema after 50th Champions League goal|
|Aubameyang deserves 99 per cent of credit - Reus|
|Neymar: There´s only one Ballon d´Or winner and it´s Messi, not Ronaldo|
|Magiera hails Legia victory as for ´all of Poland´|
|Tuchel thought Aubameyang had blown chance to equalise|
|Pochettino confident Spurs are back on track|
|Santo hails Porto´s mature performance|
|Lyon proved we can compete with Europe´s best - Genesio|
|Slutsky unsurprised by apparent Premier League interest in Dzagoev|
|Jardim frustrated as Monaco finally lose|
|Allegri dismisses importance of first-place finish|
|Zidane ´angry´ as Real Madrid let top spot slip|
|Sevilla aren´t satisfied with Champions League last 16 - Sampaoli|
|Ranieri slams Leicester´s lack of character|
|Confident Roberts ready to wing in for City|
|Real Madrid equal record 34-match unbeaten run|
|Kane relieved to end Wembley hoodoo|
|Legia Warsaw 1 Sporting CP 0: Guilherme seals Europa League spot|
|Porto 5 Leicester City 0: Silva at the double as Ranieri´s men crumble|
|Borussia Dortmund break record for goals in Champions League group stage|
|Real Madrid 2 Borussia Dortmund 2: Reus equaliser sees visitors grab top spot|
|Bayer Leverkusen 3 Monaco 0: Hosts retain unbeaten record with routine win|
|Club Brugge 0 FC Copenhagen 2: Routine win not enough as FCK must settle for Europa League|
|Lyon 0 Sevilla 0: Europa League holders secure passage|
|Juventus 2 Dinamo Zagreb 0: Bianconeri top group with easy win|
|Tottenham 3 CSKA Moscow 1: Spurs survive scare to seal Europa League berth|
|Benzema reaches 50 Champions League goals|
|Buffon´s 50-game Champions League run comes to an end|
|Santi Cazorla gives Achiles surgery two thumbs up|
|Video technology to assist referees at FIFA Club World Cup|
|Spalletti wants winning mentality to continue for Roma|
|M´Vila rejects Sunderland return|
|Robson-Kanu prioritised Premier League move, despite Atleti interest|
|Puel dismisses Fonte departure speculation|
|Mourinho rejects ´best coach in the world´ tag|
|Manchester United not giving up on Premier League, insists Mkhitaryan|
|Infantino favours 16 three-team groups at World Cup - report|
|Europa League an ´important competition´ for Mourinho|
|Brozovic extends Inter stay|
|Rooney still has England future - Hodgson|
|New wardrobe top of Jesus´ Manchester to-do list|
|Pioli not concerned by Simeone´s Inter comments|
|Poyet: It would be a pleasure to sign Tevez|
|Celtic charged by UEFA over crowd disturbances|
|Not extending Man United stay my only regret - Larsson|
|Aubameyang´s mum: He always spoke about Madrid, never Barcelona|
|AC Milan sale delayed until March|
|Police horse burger thrower fined|
|Nolito comfortable with Guardiola´s rotation policy|
|Ajax expect in-demand Bazoer to exit|
|Not even the Golden Boot would get me an England recall, says Defoe|
|MLS MVP Villa has no interest in Premier League move|
|Vidal: I never had a problem with Luis Enrique|
|Ancelotti not keen on Madrid Champions League reunion|
|Zabaleta: Guardiola needs Iheanacho more than ever|
|Ranieri not fearful of Foxes chop|
|Celtic fan arrested for throwing burger at police horse|
|Dad-to-be Lewandowski reveals baby news with goal celebration|
|Klopp´s Liverpool watched Barca at Camp Nou|
|Wenger braced for tough last-16 draw|
|Roberts buoyed by Guardiola acclaim|
|Gladbach´s Alvaro Dominguez retires at 27|
|Simeone satisfied with aggressive Atletico|
|Emery aims to bounce back after European disappointment|
|Madrid demand ´maximum respect´ for Ronaldo|
|No pressure on Iheanacho to fill Aguero´s boots - Guardiola|
|Cocu praises PSV effort despite European exit|
|Ancelotti hoping for confidence boost|
|Gunes takes blame for Besiktas thrashing|