Branes in \(N=2,\, D=4\) supergravity and the conformal field theory limit. Continuity of plurisubharmonic envelopes in non-Archimedean geometry and test ideals. With an appendix by José Ignacio Burgos Gil and Martín Sombra. 