The red thing is a tunnel made from two bent grids and some fleece on the inside and outside.
There isn't a gap in-between the ramp and the loft, its just that it is lower then it so they can get onto the ramp. (;