The Los Angeles Rams, suddenly, are looking a little bit wobbly. The Seattle Seahawks steadied themselves, thanks to the passing heroics and the playmaking artistry of quarterback Russell Wilson.

And it’s the Seahawks, at least for now, who are on the heels of the surprisingly unbeaten San Francisco 49ers in the NFC West. Wilson was the difference-maker Thursday night in Seattle as the Seahawks added to the Rams’ woes this week with a 30-29 triumph over the defending NFC champs.

“Resilience, that’s what you’ve got to have to beat a championship team,” Wilson told Fox after the game. “And we have that. We definitely have that.”

The stirring victory came on a night when the Seahawks made their late owner, Paul Allen, the 12th member of the team’s ring of honor during a pregame ceremony. The Microsoft co-founder was responsible for keeping the franchise in Seattle when he purchased the team in 1997. He died last year from non-Hodgkin’s lymphoma. His sister, Jody Allen, became the team’s primary owner and she raised the “12 Flag” before kickoff Thursday.

“I was just a little emotional because we had the tribute to Paul today,” Wilson said. “He gave me an opportunity and I’m just grateful. … I love playing here. That’s a good team over there that we played tonight. We’re a great team, too, and we found a way. We found a way. I’m just grateful that I got the opportunity to play here.”

The Rams had their chance to prevail. But kicker Greg Zuerlein missed a potential winning field goal in the final seconds, sending his 44-yard kick wide right with 11 seconds remaining. That gave the Rams their second loss in five days after they surrendered 55 points to the Tampa Bay Buccaneers in an ugly defeat Sunday in L.A. Their record dropped to 3-2, putting them behind the 3-0 Niners and the 4-1 Seahawks in the rugged division race.

Rams quarterback Jared Goff had 68 passing attempts against the Buccaneers while throwing for 517 yards and two touchdowns. But he also missed throws and made mistakes in that game. And Coach Sean McVay abandoned the running game, with tailback Todd Gurley’s continued lack of involvement in the offense renewing the questioning about the soundness of his knee.

McVay made a better effort Thursday to establish the run with Gurley, who had 15 carries for 51 yards and two touchdowns. But the Rams had only mild success running the ball. Goff also got off to a slow start but later got things revved up on his way to a 29-for-49, 395-yard passing performance. He had a touchdown pass and threw an interception.

“It’s been two disappointing weeks for us,” McVay said at his postgame news conference Thursday. “But I can promise you that we’ll find a way to bounce back. Our team is mentally tough. We’re resilient. … It’s disappointing. But we’ll stay connected and we’ll find a way to respond. I trust that.”

Wilson was more than the L.A. defense could handle. He completed 17 of 23 passes for 268 yards and had a near-perfect passer rating of 151.8 (158.3 is perfect).

“I thought Russell played one of the best games I’ve ever seen him play,” Seahawks Coach Pete Carroll said.

The Rams’ coverage wasn’t consistently bad. But Wilson made some very accurate throws and his receivers made some superb catches. Wideout Tyler Lockett made a particularly spectacular grab in the back of the end zone, somehow managing to keep his feet in bounds, on Wilson’s first touchdown.

The teams traded leads until Wilson put the Seahawks in front to stay with a five-yard, fourth-down touchdown pass to running back Chris Carson with just under 2½ minutes to play. Wilson sprinted from the pocket and flipped a pass to a wide-open Carson, who made a juggling catch in the end zone.

“I wanted to make sure I kept the play alive because it wasn’t there right away,” Wilson told Fox. “They covered it pretty good. I just kind of moved around, tried to find something. I was about to run and out of my peripheral, out of the corner of my eye, I saw Chris.”

Seattle’s go-ahead drive was aided by a controversial roughing-the-passer penalty called on the Rams’ Clay Matthews, who appeared to make a legal shoulder-to-shoulder hit on Wilson on an incompletion.

“These calls on QB are bordering on RIDICULOUS!!!” Hall of Fame quarterback Kurt Warner wrote on Twitter. “What in the world are we doing to the game!!”

Seattle got an interception by safety Tedric Thompson, courtesy of a reversal on an instant replay challenge, with 2:12 left and just held on from there. The Rams got the ball back and moved into position for Zuerlein’s kick. When the football sailed wide, the Seahawks and their fans could celebrate while the Rams were left beginning their search for answers.

“We’ll look in the mirror, figure out what we can do better and we’ll respond,” McVay said.

More NFL coverage:

In-game updates

4th Quarter

Wilson’s fourth TD puts Seahawks ahead: Seattle has retaken the lead on Russell Wilson’s fourth touchdown pass of the game, a five-yard flip to running back Chris Carson on a fourth-and-goal play. Wilson sprinted out of the pocket, then spotted Carson wide open in the end zone to his right. Carson juggled the football but made the catch. Seattle’s two-point conversion attempt failed. The Seahawks’ drive was aided by a very questionable roughing-the-passer penalty called on the Rams’ Clay Matthews for a hit on Wilson as Wilson threw an incompletion while running to his right out of the pocket. Wilson cannot be hit in the head or neck under such circumstances, but Matthews’s hit appeared to be shoulder-to-shoulder. Hall of Fame quarterback Kurt Warner wrote on Twitter: “These calls on QB are bordering on RIDICULOUS!!! What in the world are we doing to the game!!” (Seahawks 30, Rams 29 with 2:28 left in the 4th quarter)

Rams respond with FG: The Rams responded to the Seahawks’ field goal with one of their own. Greg Zuerlein connected from 36 yards. Each coach lost an instant replay challenge during the drive by the Rams. Pete Carroll tried to get an offensive pass interference penalty called on the Rams’ Brandin Cooks on a catch, to no avail. Sean McVay attempted unsuccessfully to have a touchdown catch awarded to Robert Woods after he’d been called out of bounds. Cooks left the field after a hard fall on his shoulder on the catch on which Carroll challenged. (Rams 29, Seahawks 24 with 9:19 left in the 4th quarter)

Seattle gets closer with FG: Seahawks kicker Jason Myers, who missed earlier from 48 yards, connected from 42 yards to get Seattle to within two points. Russell Wilson has a near-perfect passer rating of 156.2 (158.3 is perfect) and yet the Seahawks trail in the fourth quarter. (Rams 26, Seahawks 24 with 13:37 left in the 4th quarter)

3rd Quarter

Rams have offense revved up: The Rams have their offense in gear now and they’re back in front as they and the Seahawks trade leads in Seattle. Tailback Todd Gurley scored on a one-yard touchdown run for the Rams just after a 32-yard catch and run by tight end Gerald Everett. It was the Rams’ third touchdown in their last four possessions. Their two-point conversion try failed when Jared Goff was ruled on a replay review to have been tackled shy of the goal line on a quarterback keeper. Officials initially had called the conversion good. (Rams 26, Seahawks 21 with 3:07 left in the 3rd quarter)

Wilson throws third TD pass: Russell Wilson has three touchdown passes and four incompletions on the night, and the Seahawks are back in front. Touchdown No. 3 for Wilson was a 10-yarder to David Moore. The Seahawks had to cover only 47 yards on their scoring drive after pinning the Rams at their 1-yard line on a punt and forcing them to punt out of their own end zone. Wilson has connected on 13 of 17 passes for 220 yards. (Seahawks 21, Rams 20 with 5:45 left in the 3rd quarter)

Rams retake lead: The Rams have come back to retake the lead over the Seahawks with first a touchdown right before halftime, and now a touchdown right after the break. Todd Gurley scored on an eight-yard run to cap a 75-yard drive to open the second half. (Rams 20, Seahawks 14 with 12:07 left in the 3rd quarter)

Halftime in Seattle: The Rams drew to within a point with a nine-yard touchdown pass from Jared Goff to wide receiver Cooper Kupp six seconds before halftime. The L.A. drive was extended by a roughing-the-passer penalty called on the Seahawks’ Ziggy Ansah for a low hit on Goff. The Seahawks just had missed a field goal after Coach Pete Carroll opted against a fourth-and-one try from the L.A. 30-yard line. The half mostly had been a struggle for the Rams. They got field goals instead of touchdowns early on. Running back Todd Gurley was more involved in the offense. But he also lost a fumble to halt a promising Rams’ drive. Russell Wilson threw two first-half touchdown passes for the Seahawks. Wilson completed 10 of 13 passes for 190 yards in the half. The Rams’ coverage actually hasn’t been terrible. But Wilson has made some excellent throws and his receivers have made a few dazzling catches, including a superb touchdown grab in the back of the end zone by Tyler Lockett. Rookie speedster D.K. Metcalf was on the receiving end of Wilson’s other touchdown throw. (Seahawks 14, Rams 13 at halftime)

2nd Quarter

Seahawks miss FG: Seattle Coach Pete Carroll passed up a fourth-and-one gamble from the L.A. 30-yard line. The Seattle offense stayed on the field but never snapped the ball and the Seahawks called timeout after failing to draw the Rams offside. Kicker Jason Myers sent a 48-yard field goal attempt wide right. (Seahawks 14, Rams 6 with 1:34 left in the 2nd quarter)

Gurley loses fumble: The Rams had a promising drive going but Todd Gurley lost a fumble at the Seattle 17-yard line. It has been a frustrating night for the Rams. (Seahawks 14, Rams 6 with 5:25 left in the 2nd quarter)

Seattle adds to lead: Russell Wilson’s second touchdown pass of the night has upped the Seahawks’ lead to eight points, at 14-6. With Dante Fowler Jr. and Aaron Donald both on the Rams’ sideline momentarily, Wilson had a clean pocket and plenty of time to launch a strike down the field to rookie speedster D.K. Metcalf for a 40-yard touchdown. (Seahawks 14, Rams 6 with 8:08 left in the 2nd quarter)

Goff off target: Rams quarterback Jared Goff, after tying the single-game NFL record with 45 completions in Sunday’s loss to the Buccaneers, is off to a two-for-eight passing start against the Seahawks. The Rams have managed only a pair of field goals and trail in the second quarter. Even with his 517-yard passing performance Sunday, Goff has had a disappointing season. “He’s missed more [open receivers] through four games than he may have missed all of last year,” Fox analyst Troy Aikman said earlier on the broadcast. (Seahawks 7, Rams 6 with 10:54 left in the 2nd quarter)

1st Quarter

Seahawks strike quickly for lead: The Seahawks, after losing a fumble and being forced to punt on their first two possessions, struck quickly for a touchdown on their third drive of the night. Russell Wilson moved out of the pocket to his left and threw a 13-yard scoring pass to wide receiver Tyler Lockett, who somehow managed to get his feet in bounds to make a superb catch in the back left corner of the end zone. Wilson had moved out of the pocket to his right on the previous play to find wide-open tight end Will Dissly for a 38-yard gain. (Seahawks 7, Rams 6 with 49 seconds left in the 1st quarter)

Gurley getting carries: Todd Gurley got six carries in the first nine minutes of this game, already one more than he had during the Rams’ loss to the Buccaneers on Sunday. He has 31 rushing yards and the Rams have the early lead in Seattle on a pair of field goals by kicker Greg Zuerlein. He connected from 32 yards after a Gurley-led drive stalled at the Seattle 14-yard line. The Seahawks, meanwhile, have done next to nothing so far on offense and have been unable to block the Rams’ Aaron Donald. (Rams 6, Seahawks 0 with 4:55 left in the 1st quarter)

Rams get FG after TO on reversal: The Rams forced an early turnover by the Seahawks, thanks to an instant replay reversal. The Rams’ Nickell Robey-Coleman stripped the football from Seattle’s Jaron Brown as he ran along the sideline after a catch. Brown originally was ruled to be out of bounds, it appeared, before he lost the ball and the Rams recovered the fumble. But the Rams challenged and were awarded possession of the ball at the Seattle 33-yard line. Todd Gurley ran for nine yards on the Rams’ first offensive play. But he was thrown for a five-yard loss on the next play and the Rams settled for a 47-yard field goal by kicker Greg Zuerlein. (Rams 3, Seahawks 0 with 12:24 left in the 1st quarter)