The inverse relationship between magnification and DOF is exactly correct. This cancels out the effects of the focal length, subject distance, and the size of the sensor.
One other variable is the aperture, and this explains why DOF is likely to improve when the lighting's is better.
Reducing...