BOURNEMOUTH, England (Reuters) - "We won!" was the anti-European Union UK Independence Party's rallying cry at its annual conference as members celebrated Britain's vote to leave the EU, but underneath the euphoria lurked a fresh anxiety: what now?
Single-handedly led by Nigel Farage, a divisive, populist and widely recognized politician, UKIP played a major role in persuading Britons to leave the EU at a June 23 referendum, ending the party's 25-year quest for "Brexit".
But Farage has stepped aside to export his brand of anti-establishment politics to Europe and the United States, leaving behind a successor who is little known outside political circles, a funding issue and a party ravaged by infighting.
New leader Diane James set out her agenda to the UKIP faithful in the southern English resort town of Bournemouth, saying they needed to professionalize, broaden their policies beyond the EU, and overtake the second-largest party, Labour.
"What I've got to do is make sure UKIP is a winning machine," she told reporters. "As far as I'm concerned we are the opposition party in waiting."
UKIP came first in European Parliament elections in 2014 and won nearly 4 million votes at a 2015 national election - the third-biggest share - but under Britain's first-past-the-post electoral system they hold only one of 650 parliamentary seats.
The Brexit vote was in large part fueled by a backlash against the political establishment, signaling a rare window of opportunity to break into a political arena dominated for a century by two main parties: the center-right Conservatives and the socialist-rooted Labour Party.
"The good news for UKIP is they maintain this potential, this foundation of people who are disaffected, disenfranchised, distrusting, disapproving, dissatisfied with politics in this country," said Joe Twyman, head of political and social research at pollster YouGov.
"No one's quite sure where the upper ceiling for this is."
UKIP's success draws frequent comparison with U.S. presidential candidate Donald Trump's populist campaign, to which Farage lent his support at a rally in Mississippi last month.
For 12 pounds ($15.60) UKIP members at the conference could buy a "Make Britain Great Again" baseball cap, aping Trump's nationalist campaign slogan.
However, UKIP faces a challenge to make the transition from a single-issue party to one that voters trust to run the country.
Short-term, the party agrees upon its role as a Brexit watchdog to ensure the Conservative government delivers an exit deal that meets the demands of UKIP voters - immigration controls, freedom from Brussels and global free-trade deals.
Longer-term, its future is more contentious.
James wants to spend her first 100 days building a policy platform that straddles the political spectrum, appealing to disaffected Conservative voters in the south and Labour voters in the north.
But there are many conflicting views within the party and its internal politics is often vicious. One faction wants a harder, more right-wing line on issues like multiculturalism, and another wants UKIP to focus on becoming a libertarian party.
Previously held together by the sheer force of Farage's personality, the fragile party unity was shaken only hours after James's coronation when a row erupted over her decision to deny a rival, Neil Hamilton, a speaking slot at the conference.
Later, his signature was messily defaced on a mural upon which conference delegates had been asked to leave messages celebrating the party's success.
Many UKIP members believe that it is away from personality-driven national politics, that the party's prospects will flourish or founder.
UKIP local-level politician Jack Duffin says the party has to go from the bottom up, solving voter issues such as refuse collection, road quality and street lighting.
"Focusing locally makes a world of difference to a campaign," Duffin told Reuters.
"What do people see from politicians? They see empty promise after empty promise. If a UKIP politician gets the front door on their house repaired ... successes like that actually change people's lives."
UKIP has nearly 500 seats in local governments across the country out of a total of over 20,000.
In private, party officials acknowledge it will be a long-term process to expand UKIP's influence at the grassroots level, and say that a national election due in 2020 might come too soon for a major breakthrough.
Success at that level will also require money.
Backed by a mix of wealthy individual donors and small member donations, UKIP raised under 2 million pounds in the year to June 2016, according to electoral commission data.
That is just a tenth of the amount union-funded Labour and business-backed Conservatives each raised in the same period.
"We've got work to do, we need to broaden our base out a little bit. We're doing OK, but we need to do more," said one senior party member, speaking on condition of anonymity.
Another official, who also did not wish to be identified, said UKIP needed to push its members harder on fundraising and that the absence of the talismanic Farage could cause some donors to lose faith.
The party's most prominent donor, businessman and close Farage ally Arron Banks, plans to establish his own political organization, provisionally titled "The People's Movement", to capitalize on the anti-establishment sentiment unleashed in the EU campaign.
"By 2020 we could see UKIP riding high having mopped up these people, alternatively they could have got everything wrong and disappeared and become irrelevant," YouGov's Twyman said.
($1 = 0.7692 pounds)
Additional reporting by Jacob Greaves; Editing by Dale Hudson