If you're going to use a 4 panel X-band MFR, like German APAR or the Type 055's mast radar, chances are the gun would be at least a 100m. The 76mm gun actually requires a Ku band radar set with extreme resolution and tracking rate. This is why the 76mm uses the Type 347G radar as it's fire control, which is also the same radar mounted and used on the Type 730/1130 CIWS, except on the 76mm, the radar is mounted as a separate system. With a CIWS type radar, the 76mm can be considered a dual role CIWS.
If the 054B retained the 76mm gun, it would need to have a platform for a Ku-band FCR that has to be mounted on a gimbal. The Type 347G already has a phased array successor seen on the Fujian's CIWS, and this radar should be able to be mounted separately like it's predecessor.
So it's good to pay attention to the space above the bridge where or not, a gun FCR can be mounted. It's presence or absence will determine the gun used on the 054B.