Oil gains as demand recovery seen tightening supply