The surface radius of a star is defined based on optical thickness. If you were there, the star would in fact look like a fairly well-defined opaque spheroid with the reported radius. The density of the photosphere plasma is near zero, but there’s a lot of it.
Why doesn’t the stuff just falls in towards the center? It just floats there??