Spanish markets gain as case for Catalan independence unclear after vote