It wasn't always pretty, and it was a lot closer than it needed to be, but the Miami Dolphins have managed to keep their playoff hopes alive.
Following the Ravens' victory over the Steelers on Saturday, the Dolphins' path to the postseason shortened. Miami still has to win its remaining two games against the Browns and Jets. That is a must. One more loss, and the Dolphins are out.
Miami still needs to get help. Denver has to lose both of its final games against Cincinnati and Kansas City. The Bengals beat the Browns in Week 16 and have the team to beat Denver, but the bigger of the two remaining games will come in Week 18 when they play the Chiefs. The Chiefs could have the No. 1 seed locked up, and if they do, they may sit starters, and that could bode well for the Broncos.
RELATED: Tua Tagovailoa gives Dolphins fans something to smile about with 100th career TD pass
Through all of this, however, the Dolphins still need the Colts to lose one game. They play the Giants and the Jaguars in the last two weeks and beat the Titans handily in Week 16.
Here is the updated AFC playoff picture after the Dolphins' win:
The Dolphins closed the gap to the playoff positions and still have hope entering the final two games of the regular season.
A final opportunity for the Dolphins will come through Los Angeles. The Chargers could give the Dolphins a playoff spot if they lose both of their final games and the Colts lose at least one of theirs.
The Dolphins still remain a long shot. Entering the week with just a 6% chance of making the playoffs, the Dolphins improved to just 12% after their win on Sunday.
The reality is the scenarios are quite simple. Either the Broncos or Chargers must lose both of their final games, and the Colts have to lose at least one of their final two.