Richard Panik scored the go-ahead goal and Jonathan Bernier stopped 27 shots to help the Toronto Maple Leafs beat the Detroit Red Wings for the second time in four days, 4-1 on Saturday night.

James van Riemsdyk, Morgan Rielly and Nazem Kadri also scored for Toronto, which won 2-1 in a shootout at Detroit on Wednesday night despite being outshot 42-19 in that game.

The Maple Leafs have won four straight and are 8-1-1 since a 9-2 home loss to Nashville on Nov. 18. During that time they have outscored their opponents 41-23.

Niklas Kronwall scored for Detroit and Petr Mrazek had 37 saves. The Red Wings have lost three straight, including a shootout defeat against Florida on Friday night.

Panik put the Leafs up 2-1 with 2:10 remaining in the second period. Defenseman Korbinian Holzer found Panik all alone with a long pass after a Detroit turnover in the Toronto end and the fourth-liner beat Mrazek between the legs with a gorgeous breakaway move for his sixth of the season

Rielly extended the lead at 1:42 of the third and Kadri added an empty-netter with 3:14 remaining.

Mrazek made his fourth start of the season — his first career outing against Toronto — as the Wings rested Jimmy Howard after playing Friday. Mrazek, a 22-year-old playing his 15th NHL game, is filling in for the injured Jonas Gustavsson.

James Reimer had been expected to start for Toronto after excelling Wednesday in Detroit but he tweaked his groin in practice. Bernier made his 10th start in 11 games.

Kronwall's power-play goal on a one-time with 4:33 remaining in the first period gave the Red Wings the lead, and the Leafs tied it 60 seconds later on the power play as Phil Kessel's snap shot went in off van Riemsdyk in front of the goal.

Both teams had 12 shots in the first period before Toronto had a 20-5 advantage in the second.

NOTES: The Wings were without veteran C Stephen Weiss, who left Friday's game with an upper body injury. D Danny DeKeyser was also out after suffering an upper-body injury Wednesday .. Saturday's game was the 653rd all-time meeting between the Original Six teams. It was also the 899th game coached by Detroit's Mike Babcock.