Panama have missed out on a FIFA World Cup play-off spot after a heartbreaking 3-2 loss to the United States on Tuesday.
Needing a win and for Mexico to lose in Costa Rica, Panama looked to have got both results and appeared to be on the verge of snatching the play-off spot in CONCACAF qualifying.
Luis Tejada's 83rd-minute goal looked to have been enough before the USA equalised in the 92nd minute through Graham Zusi.
And Aron Johannsson ensured there would be no chance of Panama reaching their first ever World Cup when he struck a minute later.
Michael Orozco had cancelled out Gabriel Torres' opener earlier on, with Mexico fortuitously falling into the play-off and a tie against New Zealand.
Wet conditions made maintaining possession difficult for both sides early on at the Estadio Rommel Fernandez Gutierrez.
Panama were ahead on 18 minutes courtesy of a fine strike from Torres.
A fast counter-attack led to Marcos Sanchez playing the ball into the path of the Colorado Rapids forward, who side-footed a superb finish into the bottom corner.
A minute later and Panama could have doubled their lead in almost identical fashion.
This time it was Blas Perez on the end of the chance, but the FC Dallas striker's effort was too narrow and kept out by Brad Guzan.
Panama went close to doubling their advantage two minutes before half-time, but Perez was stretching and acrobatically volleyed Torres' cross over.
Julio Dely Valdes' men had a glorious chance to make it 2-0 just nine minutes into the second half.
Alberto Quintero's run down the left led to him cutting inside and setting up Perez, whose low side-footed shot was somehow kept out and scrambled away by the USA.
And Panama were made to pay for their wastefulness in the 64th minute as the USA equalised through Orozco.
Brad Davis' in-swinging corner bounced off Orozco and into the bottom corner to put Jurgen Klinsmann's men on level terms.
Soon after, Torres was denied after a lovely through ball by Quintero, with Guzan standing up to make a good save.
It was Guzan who was partly at fault for Panama's goal in the 83rd minute.
Substitute Roberto Chen was released down the right and composed himself and waited for runners before crossing.
Guzan parried the cross, but straight into the path of substitute Luis Tejada to tap in and send the home fans wild.
But Zusi headed in a Davis cross to break Panamanian hearts before Johannsson gave Klinsmann's men victory and left the hosts' players in despair after the final whistle.
Meanwhile, Honduras confirmed their place at Brazil 2014 despite playing out a disappointing 2-2 draw at last-placed and winless Jamaica.
|Coach: J. Dely Valdés|
for C. Rodríguez 72'
for G. Gómez 72'
for M. Sánchez 78'
|Southampton v Chelsea: Koeman vows to go on the offensive|
|A-League Review: Six-goal Gosford thriller, Victory leave it late|
|Manchester City v Burnley: Pellegrini warns against complacency|
|Dortmund can fight on two fronts - Watzke|
|Sterling hails improved Liverpool belief|
|Rosicky eager to build on QPR winner|
|Wenger: ´We made it hard for ourselves´|
|Kane: Spurs eye top four|
|Di Maria in doubt for Spurs clash|
|Ba left out of Senegal AFCON squad|
|Redknapp frustrated by penalty call|
|Wenger sees Giroud wrongs|
|Premier League schedule a ´disgrace´, says Poyet|
|Championship Review: Bournemouth stay top, Heskey scores on Bolton debut|
|Hughes lauds Bojan performance|
|Koeman: Saints marching on|
|Pardew rues referee error|
|Arsenal 2 QPR 1: Sublime Alexis secures the spoils|
|Martinez questions Walters decision|
|Poyet laments Sunderland mistakes|
|League One Review: Swindon cruise to win over Walsall|
|Irvine aware of need for improvement|
|United still doing ´very bad things´ - Van Gaal|
|Lambert proud of players despite Swansea defeat|
|Warnock bemoans Palace defence|
|Bruce hails Hull´s spirit|
|Pochettino relieved to come away with victory|
|Dyche: We had our pocket pinched|
|Monk hails Fabianski performance|
|Pearson demands greater concentration from Leicester|
|Kompany set for City return|
|Rodgers hails character after battling win|
|League Two Review: Ainsworth frustrated by Luton, Shrewsbury go top|
|Everton 0 Stoke City 1: Lacklustre Everton slip to defeat|
|Sunderland 1 Hull City 3: Triumphant return for Bruce|
|Burnley 0 Liverpool 1: Sterling wins it at Turf Moor|
|Leicester City 1 Tottenham 2: Eriksen piles misery on Pearson´s men|
|Manchester United 3 Newcastle United 1: Rooney extends hosts´ streak|
|West Brom 1 Manchester City 3: Three and easy for in-form champions|
|Swansea City 1 Aston Villa 0: Hosts break Boxing Day duck|
|Crystal Palace 1 Southampton 3: Mane marks return with star performance|
|Allardyce upbeat despite defeat|
|Van Dijk happy at Celtic - Deila|
|Table-topping Chelsea delight Mourinho|
|Chelsea 2 West Ham 0: Mourinho´s men ease to victory|
|Suarez enjoying Messi, Neymar link-up|
|A-League Review: Garcia rescues point for Perth, Adelaide up to second|
|Poyet calls for mid-season break|
|Van Gaal rules out Januzaj move|
|Rodgers: Balotelli may have to get used to bench|
|Lallana: I was trying too hard|
|Walker juggles music, football careers in Sweden|
|Song to face ´brother from another mother´ Fabregas|
|Adriano announces Le Havre deal|
|Pardew braced for Old Trafford test|
|Lescott unfazed by City reunion|
|Tskhadadze appointed Georgia coach|
|United to finish top three - Ferdinand|
|Allardyce: Stamford Bridge stalemate saved my job|
|Southampton need three January signings, says Watson|
|Liverpool can make Champions League, says fanzine editor|
|Walsh: Hull clash crucial for Leicester|
|Toure, Aubameyang and Enyeama make shortlist for African gong|
|Docherty backs Chelsea to win two-horse race|
|Liverpool could benefit from Hyypia influence - Scales|
|Saudi Arabia name Asian Cup squad|
|Forty-year-old Cahill no problem for Postecoglou|