Just tested mine and I think the 240mm top mounted will be fine.
5800x3d did a max of 73C in Cinibench R23 10min multicore run, room temp was 20C
Also in Cyberpunk 2077, 4k all max, Dlss Quality and Frame generation.. max 52C CPU @ 38-40% usage hitting 4450MHz on clocks, GPU-4090 was 61C @99%...