China stocks gain as AI optimism and stimulus hopes offset rising trade tensions, stronger yuan pressures, and tariff risks ...