Asian stock markets close mostly with gains