She did well, for want of a more accurate description, because her party presents itself as the Scottish party despite trying to wreck the country by campaigning to leave the Union. Plus, as an area, remain was favoured and many citizens in our nation (witness the shameful increase in the illiberal undemocrats vote) can't accept when a decision doesn't align with their wishes. Hopefully this will be some kind of weird protest vote and sanity will return north of the border, next time.