Unprecedented roles of submillimetric interelectrode distances and electrogenerated gas bubbles on mineral cathodic electro-precipitation: modeling and interface studies