It was a game that could have won an ugly dog contest, but the Chargers on Sunday were just less unsightly in beating the sloppy and penalty-prone Oakland Raiders 26-13 to keep their slim playoff hopes alive with a third straight win.

San Diego countered its own three turnovers with two key takeaways, Nick Novak kicked four field goals, and the Raiders helped with 12 penalties as the Chargers avenged a Week 5 loss in Oakland to raise their record to 8-7. They are still in the postseason race because Miami (8-7) and Baltimore (8-7) both lost. To play beyond December, the Chargers need to beat the Chiefs at home next Sunday and have the Dolphins lose to the New York Jets and the Ravens fall to Cincinnati.

The Chargers will know their fate early next Sunday because the other two games kick off at 10 a.m.

"Our No. 1 focus is we can only control what we can control in our building," Chargers head coach Mike McCoy said of the playoff opportunity. "Everything else is out of our hands."

McCoy did make an appeal for a boisterous Chargers crowd for the Chiefs. "Our colors, and our colors only please," he said.