Crossover between superconductivity and magnetism in SrRuO3 mesocrystal embedded YBa2Cu3O7-x heterostructures.