This is above it “ Current observational evidence (WMAP, BOOMERanG, and Planck for example) imply that the observable universe is flat to within a 0.4% margin of error of the curvature density parameter with an unknown global topology.[1][2] It is currently unknown if the universe is simply connected like euclidean space or multiply connected like a torus. To date, no compelling evidence has been found suggesting the universe has a non-trivial (i.e.; not simply connected) topology, though it has not been ruled out by astronomical observations.”
I am not going to say i fully understand this stuff but i regularly read into this fascinating stuff.
The observable universe may from our perspective and all our use cases be completely flat but thats not the same as fully proven and non curving geometric flat.
Torus shape, weird as is sounds like is still in the cards.