yōu​rán​shén​wǎng

to let one's thoughts roam afar