A universal median quasi-Monte Carlo integration