Teaser 3284: Cricket square

From The Sunday Times, 31st August 2025 [link] [link]

We recently played a thrilling cricket match against the league leaders. Each team had two innings alternately (our opponents going first) and the combined total of runs scored in each innings determined the winner. Curiously both our opponents’ scores were 3-digit squares, the six digits all being different. The total of those two scores was also a square.

After our first innings (in which we scored a 3-digit prime number of runs), we had a lead, but after their second innings we trailed by a 3-digit prime number (less than 250). The six digits in these two primes were all different. Our second innings score was also a 3-digit prime number but we lost the match by a prime number of runs.

How many runs did we score in our second innings?

[teaser3284]