OAKLAND, Calif. (AP) - Dallas kept its playoff hopes alive by the slimmest of margins after Dak Prescott converted a fourth-down sneak by the width of an index card to set up Dan Bailey's go-ahead 19-yard field goal, and Derek Carr fumbled the ball inches from the goal line with 31 seconds left to give the Cowboys a 20-17 victory over the Oakland Raiders on Sunday night.
The first key play came when Cowboys coach Jason Garrett decided to go for it on fourth-and-1 from his own 39 with about five minutes left in a tie game. Prescott ran into a pile that took officials time to untangle.
Referee Gene Steratore then called for the chains to come out, but even that wasn't enough. He then tried to slide what appeared to be an index card between the tip of the ball and the end of the chain. When the card didn't slide through, Steratore gave Dallas (8-6) a first down.
Bryant then hit Dez Bryant with a 40-yard pass that set up Bailey's short kick with 1:44 to play that gave the Cowboys the lead.
But the game was far from over. The Raiders (6-8) got a gift when Jourdan Lewis committed a 43-yard pass interference penalty on a fourth-and-10 from their own 30. Carr then scrambled on third-and-3 from the 8 and reached out for the end zone. But the ball came loose before crossing the goal line and went out of the end zone for a touchback that all but ended Oakland's playoff hopes. The Raiders are tied for ninth in the AFC.
Dallas is in a three-way tie for seventh place in the NFC, a half-game behind Atlanta for the final playoff spot. The Falcons beat the Cowboys head-to-head.
The Cowboys got their third straight win without suspended star running back Ezekiel Elliott, who returns from a six-game suspension next week. But Dallas' three straight losses at the start of the suspension created a hole the team is still trying to escape.