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'
|Lallana to miss up to six weeks with knee injury|
|Isgrove maintains Koeman´s perfect start|
|Lens announce Ligue 1 appeal success|
|Pekerman talks due in August|
|PSG sanction ´harsh´, claims FFF chief|
|Garcia: Strootman going nowhere|
|Van Aanholt departs Chelsea for Sunderland|
|Benfica sign Manchester United flop Bebe|
|Campbell makes Palace move|
|Reed signs new deal at Southampton|
|Juve stunned in Allegri´s first match|
|AFA fined over Falklands banner|
|Robinho likely to move, claims agent|
|Drogba completes Chelsea return|
|Kiyotake moves to Hannover|
|Marotta: Juventus eyeing striking additions|
|Bakayoko set for Monaco switch|
|J.League Preview: Vortis out to improve dismal fortunes against Ardija|
|Juve complete Pereyra deal|
|Ranieri named Greece head coach|
|Fiorentina agree Basanta deal|
|Di Natale backs Pereyra´s Juve move|
|Iniesta: Suarez has talent to restore Barca glory|
|Cerci in charge of his future, says Cairo|
|West Ham target new striker|
|Pardew hopeful over De Jong|
|Rodgers expects new Gerrard deal|
|Jones: United embracing Van Gaal methods|
|Henry: Time had come to sell Suarez|
|Brunt eyes new West Brom deal|
|Arsenal´s World Cup winners to miss league opener|
|Modric hails Rodriguez, Kroos signings|
|Cech does not want bench role|
|Inzaghi blames fatigue for Milan loss|
|Real´s time to shine, says Ancelotti|
|Real Salt Lake 3 Montreal Impact 1: Garcia stars in Utah|
|Downing: Carroll injury a ´big blow´|
|Irvine: I have not seen Ideye play live|
|Olympiacos triumph in Toronto|
|Giggs likens Van Gaal to Ferguson|
|Copa do Brasil Review: Corinthians among trio on the verge of progression|
|Blanc: World Cup stars will move on|
|Pinto steps down as Costa Rica coach|
|Mourinho planning Drogba swoop|
|UEFA Europa League Review: Rosenborg complete comeback to see off Sligo|
|Mathieu out to enjoy Barcelona move|
|Mandzukic not Diego Costa´s replacement|
|Eliseu returns to Portugal with Benfica|
|Sanabria makes Roma switch|
|Carroll to miss start of season|
|Vidal: I´m not going to Manchester|
|Xavi staying at Barcelona|
|Hannover complete Gulselam signing|
|Astori loaned to Roma, Cagliari confirm|
|Nigeria to talk with Keshi over return|
|Gamberini makes Chievo move|
|Besic poised to complete Everton move|
|Marseille move Montpellier fixture from Stade Velodrome|
|CSL Preview: Harbin eye Luneng scalp, Guangzhou face Hena|
|Guardiola preaches patience with Lewandowski|
|Lampard joins New York City|
|Blanc coy on Di Maria speculation|
|CAF Confederation Cup Preview: ASEC coach confident, Al Ahly seek qualification|
|Chelsea loan Piazon to Frankfurt|
|Pochettino has high hopes for Lamela|
|Aguirre appointed as Japan coach|
|Swansea swoop for Montero|
|Pozuelo makes Vallecano switch|
|Fred back at Shakhtar, Ismaily to follow|
|CFF investigate Fofana accusations|
|Suarez could make sensational Clasico debut|
|Ribery in line for return, says Guardiola|
|Reus could resume training in two or three weeks - Klopp|
|Roma need another defender, says Garcia|
|Everton on verge of new signings|
|Rodrigo hails Nuno after Valencia switch|
|Delph eager for new Villa deal|
|Ljajic not seeking Roma exit|
|Talks held as players strike in Ecuador|
|Crouch excited by Bojan capture|
|Lambert expects swift recovery for Cole|
|West Ham duo fail to travel|
|United to play 3-4-3, says Van Gaal|
|Lallana, Markovic set to feature against Olympiacos|
|Real want to win every trophy, says Bale|
|San Jose Earthquakes 5 Chicago Fire 1: Hosts break winless streak|
|Chelsea have "outstanding squad" - Costa|
|United make winning start under Van Gaal|
|Rodgers plays down Borini injury concerns|
|Atletico Mineiro 4 Lanus 3 (agg 5-3): Own goals gift Brazilians the win|
|Dunga names Brazil assistants|
|Man City show class in Kansas|
|Villa too good for Dallas|
|Santos cannot meet Robinho´s demands, says vice-president|
|Mourinho happy with goalkeeper situation|
|Borini hurt as Liverpool lose to Roma|
|Palace held to draw by Crew|
|Tottenham down Toronto after Lamela brace|
|San Lorenzo 5 Bolivar 0: Hosts close in on Copa Libertadores final|
|Sunderland forward Scocco joins Newell´s|
|Rodgers: We won´t overpay in transfer market|
|Maccabi Haifa friendly abandoned after pitch invasion|
|USA dynamo Beasley joins Houston|