Spatiotemporal distributions of pair production and cascade in solid targets irradiated by ultra-relativistic lasers with different polarizations