SEATTLE (AP) — Within minutes of the Seattle Seahawks winning to maintain their playoff hopes, the video boards inside Lumen Field flashed a message:

“Go Lions.”

For the Seahawks, that became “thank you Lions” several hours later after Detroit helped send Seattle back to the postseason.

Seattle will be the No. 7 seed in the NFC playoffs after beating the Los Angeles Rams 19-16 in overtime on Sunday and getting the help it needed with Detroit beating Green Bay later Sunday night in the final game of the NFL regular season.

“As the game went on, you could just feel Detroit was playing really well and they had a legitimate chance. You could just tell,” Seattle coach Pete Carroll said after learning he’d be in the playoffs for the 10th time in 13 seasons in Seattle. “It was so much fun for everybody. I was hoping there could be a party tonight.”

The Seahawks will face division foe San Francisco on Saturday in the wild-card round of the playoffs, but only after several hours of stress that started with their own nail bitter against the Rams.

Jason Myers kicked a 32-yard field goal midway through overtime, and the Seattle Seahawks kept their playoff hopes alive with a 19-16 win over the Los Angeles Rams on Sunday.

Myers missed from 46 yards when he hit the upright on the final play of regulation, but given another shot in overtime, the Pro Bowler connected on his fourth field goal of the game and the Seahawks’ postseason chances stayed alive for a few more hours.

Seattle (9-8) eliminated Detroit from playoff contention but still needed a Lions win or tie against Green Bay on Sunday night to reach the playoffs as the No. 7 seed in the NFC. The Packers would grab that spot and eliminate the Seahawks with a win.

Cam Akers #3 of the Los Angeles Rams runs the ball during the first quarter against the Seattle Seahawks at Lumen Field on January 08, 2023 in Seattle, Washington. (Photo by Jane Gershovich/Getty Images)
Cam Akers #3 of the Los Angeles Rams runs the ball during the first quarter against the Seattle Seahawks at Lumen Field on January 08, 2023 in Seattle, Washington. (Photo by Jane Gershovich/Getty Images)

Geno Smith had a shaky performance, throwing two interceptions to Jalen Ramsey. But he threw a 36-yard touchdown pass to Tyler Lockett in the first half and made several key lays late to put Seattle in position to win.

Smith finished 19 of 31 for 214 yards and rookie Kenneth Walker III rushed for 114 yards for Seattle.

Baker Mayfield was 13 of 26 for 147 yards and was intercepted on the only possession of overtime for the Super Bowl champion Rams (5-12), whose nightmarish, injury-riddled title defense mercifully came to an end.

Seattle went three-and-out to start the extra session, but the Rams failed to capitalize. On Los Angeles’ second play, Mayfield had Van Jefferson wide open deep but underthrew him slightly, allowing Quandre Diggs to sprint across the field for the pick. It was the first turnover of the game for the Rams.

Smith immediately hit Lockett on a 17-yard completion and Walker had a 20-yard run to put Seattle in field goal range. Given a second chance at a game-winner, Myers came through with his 34th field goal in 37 tries this season.

It was an underwhelming performance in a must-win game by the Seahawks, especially in the first half. Smith was intercepted by Ramsey on the first play of the game and Seattle scored its only TD on Lockett’s catch early in the third quarter.

Cam Akers rushed for 104 yards for the Rams to conclude the season with three straight 100-plus-yard games.

RECORD WATCH

Lockett became the second player in Seahawks history with four consecutive seasons of at least 1,000 yards receiving, joining Hall of Famer Steve Largent. Lockett topped the 1,000-yard mark on his TD catch early in the second half.

Ramsey had his first game with two or more interceptions with the Rams. His last game with multiple interceptions came on Nov. 18, 2018 while playing for Jacksonville against Pittsburgh.

Noah Fant #87 of the Seattle Seahawks runs with the ball after a catch during the first quarter against the Los Angeles Rams at Lumen Field on January 08, 2023 in Seattle, Washington. (Photo by Jane Gershovich/Getty Images)
Noah Fant #87 of the Seattle Seahawks runs with the ball after a catch during the first quarter against the Los Angeles Rams at Lumen Field on January 08, 2023 in Seattle, Washington. (Photo by Jane Gershovich/Getty Images)

WAGNER RETURNS

Rams linebacker Bobby Wagner was an opponent at Lumen Field for the first time in his career. Unlike Russell Wilson’s return in Week 1, which was filled with boos, Wagner was greeted with a standing ovation from fans when he walked out for the coin toss as the only Rams representative. Seattle fans chanted “Bobby!” as he stood at midfield giving hugs to some of his former Seattle teammates.

Wagner finished with seven tackles and one tackle for loss.