The Miami Dolphins' collapse was nearly complete when defensive tackle Jared Odrick provided the soundtrack, standing along the sideline screaming at coach Joe Philbin.

Defensive end Derrick Shelby eventually stepped between them, but the message was clear: The Dolphins had let a critical game — and perhaps their season — slip away.

Miami held the Baltimore Ravens without a first down for 17 minutes and couldn't stop them after that, losing 28-13 Sunday.

The Ravens overcame a 10-point deficit with consecutive touchdown drives of 97 and 75 yards, then added the clinching score after a favorable replay reversal.

The victory gave Baltimore (8-5) a significant edge over Miami (7-6) in the AFC's scramble for a wild-card playoff berth. The Dolphins, who haven't been to the postseason since 2008, are now a long shot with three games to go.

"Disappointing, to say the least," defensive end Cameron Wake said. "To finish out the game like that is a little mind-blowing."

Frustration boiled over when Odrick yelled at Philbin as the Ravens drove for their last touchdown in the final minutes.

"Emotions were running high," Odrick said. "I probably should have calmed down a little earlier."

Said Philbin: "Football's an emotional game. We had a discussion. I've already had another discussion with him. Football gets fiery out there. It's good."

But the Dolphins showed little fire in the final three quarters, when they were outgained 425-161.

Elvis Dumervil led Baltimore's defensive charge with 3½ sacks, increasing his season total to a franchise-record 16. Miami's Ryan Tannehill threw for 227 yards and a score, but was sacked six times.

"You have to give credit to their guys," Tannehill said. "They did a good job of getting around the edge.

The Ravens' Joe Flacco went 25 for 33 for 269 yards and two touchdowns, and overcame an interception in the end zone. He also ran for a score.

Flacco and coach John Harbaugh improved to 5-0 against the Dolphins, including four wins in Miami. The Ravens won without defensive tackle Haloti Ngata, suspended during the week for a performance-enhancing substance violation, and they bounced back from a last-minute loss last week at home to San Diego.

"We've got a team that's playing pretty well right now and gaining some confidence," Flacco said.

Leading 14-13, the Ravens were helped by a replay reversal midway through the fourth quarter. Flacco fumbled attempting to throw and Miami recovered, but a review determined his arm was moving forward when he lost the ball, and the play was ruled an incomplete pass.

On the next play, Justin Forsett scored on a 2-yard run.

The Dolphins gave up 183 yards rushing and have allowed 661 in the past three games. The Ravens' three running backs combined for 156 yards rushing and averaged 6.8 yards per carry.

Miami was up 10-0 in the second quarter when a long completion and scoring threat were negated by a penalty on guard Mike Pouncey for being downfield on the play. That infraction seemed to deflate the Dolphins.

"It's definitely disappointing, especially having the lead, having the upper hand early on, then falling apart," Miami linebacker Jelani Jenkins said.

Trailing 14-10, they had a first down at the Baltimore 4 early in the fourth quarter. Tannehill missed an open Mike Wallace in the end zone and was then sacked by C.J. Mosley on third down, forcing Miami to settle for a field goal.

"He got off and was wide open," Tannehill said. "I threw it before I got hit and overthrew him. A good route, and I just missed him."

Notes: Dolphins safety Louis Delmas was carted off the field in the fourth quarter with a right knee injury. Jenkins left the game in the third quarter with a foot injury and didn't return. Dolphins C Samson Satele left the game with an undisclosed injury in the fourth quarter.

___

AP NFL website: www.pro32.ap.org and http://twitter.com/AP_NFL

___

Follow Steven Wine on Twitter: http://twitter.com/Steve_Wine