SEATTLE — It was far from the Mariners’ worst loss of the season, but Tuesday’s 3-1 stumble against the Texas Rangers came at a point when they simply can’t afford any missteps.

Provided an opportunity to gain ground in the American League wild-card race, the Mariners squandered the chance in large part because of yet another crushing baserunning mistake.

They then saw Nick Vincent, their most reliable reliever for much of the season, continue his late-season fade by giving up two runs in decisive eighth inning.

The loss dropped the Mariners to 74-77 and kept them four games behind Minnesota in the race for the final wild-card berth with just 11 games remaining.

“A disappointing night, obviously,” manager Scott Servais said. “We had a chance to gain ground in this race, and you lose another day. You don’t lose ground, but you lose a day. That’s a big thing right now.”

The Twins lost earlier in the night to the Yankees in New York and have lost four of their last five overall. But they also still have seven games remaining with Detroit, which has just 11 victories in its last 43 games.

For the Mariners, this was a breakdown in two acts.

Act One: It was 1-1 in the seventh inning when they Mariners had runners at first and third with one out. Servais called for a safety squeeze, but Guillermo Heredia pulled back on a down-and-away curve from Rangers reliever Tony Barnette.

“He did the right thing,” Servais said. “He didn’t get a strike.”

But Yonder Alonso charged too far off third base and found himself in no-man’s land. Catcher Robinson Chirinos threw down to third baseman Drew Robinson, who applied the tag for an easy out.

“Unfortunate,” Alonso said. “A tough pitch, and I couldn’t get back. I thought I read it very well. I took a couple of steps too aggressive, and it didn’t work out.”

Heredia followed with a single that moved Mike Zunino to second base. That capped an otherwise impressive 10-pitch at-bat that included four two-strike fouls, but the Mariners came up empty when Ben Gamel flied out to left.

Act Two: When the Rangers sent up Carlos Gomez as a pinch-hitter to start the eighth inning, the Mariners countered by replacing Marc Rzepczynski with Vincent to get a right-on-right matchup.

“It was the right spot for him in the game,” Servais said. “That’s been his spot all year.”

It didn’t work.

Gomez punched a double into the right-field corner. After Will Middlebrooks entered the game as a pinch-runner, Delino DeShields put down a perfect bunt to the left side and, instead of getting a sacrifice, ended up with a single.

That put runners at first and third.

Shin-Soo Choo’s drive to deep right easily produced the go-ahead run.

DeShields then stole second base by sliding around the tag by shortstop Jean Segura and scored on Elvis Andrus’ single through the left side.

“It’s a game of inches,” Vincent said. “You make a bad pitch, miss by two inches, they hit it. You make a good pitch, and it lands two inches fair, and it leads to (the winning run).”

The Rangers led 3-1, which is how it ended. Three Texas relievers bridged the final six outs with Alex Claudio getting his ninth save.

The loss meant the Mariners wasted a fine effort by Mike Leake, who gave up one run in 6 2/3 innings before Servais opted not to let him face Rougned Odor with nobody on base.

Servais summoned Rzepczynski for a left-on-left matchup, and Odor grounded out to second.

Texas starter Martin Perez also got a no-decision in limiting the Mariners to one run in 6 1/3 innings before Texas manager Jeff Banister went to his bullpen with nobody on base.