Los Angeles Kings’ Milan Lucic, center, works next to the goal against San Jose Sharks’ Paul Martin (7) and goalie Martin Jones during the second period of Game 3 of an NHL hockey first-round Stanley Cup playoff series Monday in San Jose. (AP Photo/Marcio Jose Sanchez)

SAN JOSE — Tanner Pearson scored 3:47 into overtime and the Los Angeles Kings bounced back from a pair of series-opening losses at home to beat the San Jose Sharks 2-1 in Game 3 in the first round Monday night.

Anze Kopitar added a power-play goal, Jonathan Quick made 29 saves and Los Angeles killed two third-period penalties to cut San Jose’s lead in the series to 2-1.

Game 4 is Wednesday night in San Jose.

Joe Thornton scored 30 seconds into the game for the Sharks, but San Jose couldn’t get anything else by Quick as their regular-season pattern of road dominance and home struggles extended to the playoffs. The Sharks led the NHL with 28 road wins in the regular season and added two to start this series. But San Jose has lost 24 of 42 home games for the worst record on home ice of any playoff team.

Martin Jones made 22 saves but couldn’t stop Pearson.

Dustin Brown got possession of the puck in the neutral zone and got it to Pearson, who skated in on Jones and beat him for the winner early in overtime.

After the teams traded goals in the first, it was a tense contest with neither side wanting to give up any quality chances. The best opportunities came on the power play, with Los Angeles generating numerous chances on one opportunity late in the second period without scoring.

The Kings then survived a penalty kill midway through the third after Milan Lucic was called for slashing Justin Braun well behind the play. The Sharks kept the puck in the offensive zone for almost the entire 2-minute penalty with great puck movement. But Quick made a big save against Logan Couture and Jake Muzzin came up with a key blocked shot before Los Angeles’ drained penalty killers were able to clear the puck.

The Sharks then got a second chance at the power play when Pearson cleared the puck over the glass for a delay of game penalty with 5:56 left in the third, but the Kings killed that one as well, setting the stage for overtime.

The sold-out crowd of teal-clad fans was into the game early, with the traditional “Beat L.A.!” chants starting during pregame warmups for the first playoff game at the Shark Tank since the 2014 playoff collapse. San Jose fed off that energy and scored on the opening shift when Thornton skated across the faceoff circle and beat Quick.

The Kings then were forced to kill a penalty before taking over the play for much of the first period. Los Angeles got the equalizer on the power play when Lucic slid a pass across the crease to Kopitar, who knocked it in for his first goal in his past 11 games against San Jose.

NOTES: Kings D Drew Doughty had 35:01 of ice time. … F Kyle Clifford returned to Los Angeles’ lineup in place of Nick Shore. … NFL Hall of Famer Ronnie Lott, decked out in a No. 42 Sharks jersey, opened the dressing room door to lead San Jose on the ice before the game.