AS Scotland enters its second day of election counting, Nicola Sturgeon’s hopes of winning an overall majority for the SNP at Holyrood are hanging in the balance.

Yesterday the SNP did make gains from its rivals – picking up key seats in Edinburgh Central – where former SNP Westminster leader Angus Robertson replaced the one time Scottish Tory boss Ruth Davidson – as well as as in Ayr and East Lothian.

But under Holyrood’s proportional representation system, those successes could see it lose seats on the regional list ballot.

Meanwhile, Labour’s Jackie Baillie held on to her Dumbarton constituency – which had been the most marginal seat in all of Scotland and a top target for the SNP.

Ms Baillie had a majority of just 109 from the 2016 Scottish Parliament election, but increased that 1,483.

With some constituencies still to be counted on Saturday, when the crucial regional list results will also be declared, Ms Sturgeon said it was “not impossible”.

Where do we stand at the moment?

After 48 of the 73 constituency results were declared on Friday, the SNP had 39 seats, Liberal Democrats four, Conservatives three and Labour two.

The coronavirus pandemic meant traditional overnight counts were abandoned after Thursday’s Scottish Parliament election.

What is still to come?

The majority of the 129 MSPs at Holyrood have still to be declared, including all of the regional list seats.

Despite so much still to play, Ms Sturgeon said it was “almost certain” the SNP would win its fourth term in power at Holyrood.

She also stressed that “when the time is right”, she should be able to offer Scots “the choice of a better future” in a second independence referendum.

Ms Sturgeon, who comfortably defeated Scottish Labour leader Anas Sarwar to claim Glasgow Southside, said afterwards: “My focus, if we are re-elected as the government, is to get back to work to steer the country through the crisis and into recovery.

“That remains the case. But once the crisis is over, and if there is a majority in the parliament for an independence referendum, people should have the right to choose our future. Scotland’s future should always be in Scotland’s hands.”

Speaking about the prospect of winning an overall majority, the SNP leader said: “It’s certainly not impossible, but nor is it guaranteed.

“That was always going to be on a knife edge, it comes down to a small number of votes in a small number of seats, so at this midway point it is certainly still there as a possibility, but I have never taken that for granted.

“It is a long shot, to say the least, in a PR system, to win a majority, you effectively have to break the system. I would like to do it, but I have never been complacent about that.”

However she said it was “almost certain” the SNP would “win the election comfortably, and we should not understate the scale of that achievement”.

Elsewhere, former first minister and Alba Party leader Alex Salmond said the measure of his party’s success would be “our existence as a political party”, adding it is “here to stay”.

Prime Minister Boris Johnson again expressed his resistance to the idea of another independence referendum, saying it would be “irresponsible and reckless” in the “current context”.

Pressed on what he would do if Ms Sturgeon pushed ahead with a referendum without Westminster’s consent, he told the Daily Telegraph: “Well, as I say, I think that there’s no case now for such a thing … I don’t think it’s what the times call for at all.”

Where to follow the coverage?

We'll be bringing you all the latest results, reaction and analysis on our live blog here.

You can view the latest interactive maps, graphs and tables on our election tracker here.

And you can view the 'Race To Majority' in full here.