Global stock markets lost about $US2 trillion ($2.7 trillion) in value overnight after Britain voted to leave the European Union, while sterling suffered a record one-day plunge to a 31-year low and money poured into safe-haven gold and government bonds.