SACRAMENTO — The one shred of power Republicans hold in the California statehouse — enough seats to block Democratic lawmakers from having a “supermajority” — is on the brink in this election.

Already California is one of only seven states in which Democrats control the Legislature and the governor’s office, as compared to 23 states where the GOP holds both. Republicans in the Golden State no longer hold a single statewide office. But they still have enough seats to block Democrats from a two-thirds majority — meaning that Democrats can’t raise taxes or pass certain kinds of bills without some bipartisan support.

But even that modicum of clout could slip away at the polls on Nov. 8. The Republican share of California’s registered voters has dwindled to just 27 percent. Demographics, voting trends and turnout at the polls all threaten to cut even further against the GOP here. And of course there’s the elephant in the room: GOP presidential nominee Donald Trump, whose poll numbers in California this past week dropped to “unchartered territory,” as one former GOP operative put it.

If the state emerges after Nov. 8 with a Democratic supermajority, the only consolation prize for conservatives will be the reality that some of those Democrats will be moderate, pro-business types willing to buck liberals in their own party.

But that doesn’t much cushion the fall for Republicans — the once-dominant party of Ronald Reagan that’s now struggling to maintain a voice in Sacramento.

“What already looked to have been a very steep uphill challenge for legislative Republicans in California is now looking like an almost insurmountable obstacle,” said Dan Schnur, director of the Unruh Institute of Politics at the University of Southern California, who spent decades working for Republican politicians. “There is simply not enough information available to voters about most Assembly and Senate candidates to disassociate them from the top of the ticket.

“Most voters translate that ‘R’ next to their name as ‘Friend of Trump.’”

Democrats hope to capitalize on that perception and are paying for ads linking Trump to Republican lawmakers. One ad in an East Bay race says “Republicans Donald Trump and Catharine Baker oppose equal pay for equal work and oppose common-sense gun laws.” Another shows Trump and Rancho Cucamonga Assemblyman Marc Steinorth as two sides of the same coin; and a third claims Trump and Manhattan Beach Assemblyman David Hadley possess “shared values.”

Baker, a Dublin Republican running for re-election in the 16th Assembly District, said Friday that the new mailer linking her to Trump shows a “critical disregard for the truth.” Baker, the

Bay Area’s only GOP legislator, said she has voted to support equal pay for women and several bills addressing gun safety.

The flier, Baker said, “is more than a stretch; it’s desperation.”

The attacks may not be fair — Baker, Steinorth and Hadley have publicly said they’re not voting for Trump — but that hasn’t deterred Democrats.

Will Hurd, a spokesman for Baker’s Democratic challenger, Cheryl Cook-Kallio, scoffed at Baker’s complaints.

“Like Trump, Republican Assembly member Catharine Baker has a terrible record on issues important to women in our district, which is why she has a failing grade from Planned Parenthood, and we’re making sure voters know that,” Hurd said. “It’s one of many issues where Baker and Trump agree.”

To be sure, Trump — whose long campaign has stoked the fears of immigrants and insulted Latinos — has given California Democrats plenty of fodder.

Latinos outnumber whites in California, home to more immigrants than any other state. Earlier this month, several Democratic legislators staged an event to mobilize Latino and immigrant voters by deploying taco trucks on several Los Angeles street corners — a jab at a Trump supporter from Discovery Bay who made headlines by ominously predicting that would be America’s future unless Trump was victorious.

“Donald Trump has had a significant impact on lots of folks in California. His vision for America is something that a lot of folks are rejecting. Anyone associated with his ideas is in trouble now,” said Democratic Assembly Speaker Anthony Rendon, who has been campaigning for Democrats in swing districts.

His Republican counterpart called the attacks linking California lawmakers to Trump “more than ridiculous,” but acknowledged that Trump’s candidacy is making a tough situation worse. “It is having a negative impact. … It makes these races more competitive than they otherwise would be,” said Assemblyman Chad Mayes of Yucca Valley, who leads the GOP caucus.

“Donald Trump has had a significant impact on lots of folks in California. His vision for America is something that a lot of folks are rejecting,” said Democratic Assembly Speaker Anthony Rendon, who has been campaigning for Democrats in swing districts.

Even without Trump, Democrats were in a strong position to gain seats this year. They typically show higher turnout rates in presidential election years — and that may be particularly true this time because there’s little on the state ballot to ignite Republican interest (the two contenders in U.S. Senate race, for example, are both Democrats.) And only 15 percent of California’s 2.2 million new voters have registered as Republicans.

Of the 100 legislative seats up for grabs this fall, the balance of power will be determined by races in 12 swing districts, most of them in Los Angeles, Orange and San Bernardino counties. Assuming Democrats hold the seats they have, they only need to pick up three additional seats — two in the Assembly and one in the Senate — to gain a supermajority.

If they succeed, that bloc of Democrats would have enough votes to raise taxes, change political ethics laws, put constitutional amendments on the ballot and override gubernatorial vetoes — wiping out any need to compromise with Republicans.

In recent years, Republicans used the two-thirds vote requirement to force Democrats to compromise on money to build new reservoirs in the 2014 water bond, and the restructuring of a tax on health plans.

But the biggest issue that once allowed Republicans to leverage their position on two-thirds votes is no longer an issue in Sacramento. Until a few years ago, a supermajority was needed to pass the annual state budget. That led to months of partisan standoffs, which so frustrated voters that they overturned the requirement in 2010.

In reality, a supermajority would be unlikely to trigger huge policy changes — at least in the near term. Democrats from swing districts would be reluctant to raise taxes, and the party is already split on key environmental and labor issues. Nor did Democrats do much with the supermajority they won in 2012, before they lost it in early 2014 when two Democratic senators went on leave to fight criminal indictments.

But this election is unusual because of its potential to shape the Legislature for many years to come. A change to term limits — lawmakers are now allowed to run for re-election to the same house for up to 12 years — means the Assembly will have no vacancies created by term limits until 2024.

“This election will affect the supermajority for the next decade — not just the next two years,” said the East Bay’s Baker, who argues that her re-election is critical to maintain “any semblance of balance” in the Capitol.

Staff writer Sam Richards contributed to this report. CALmatters is a nonprofit news venture that covers California policy and politics.