@dostovel You can change the thickness of the line in Preferences > Themes > 3D View > Outline Width, but 1px, which I think is the default, is as small as that line can get I’m afraid. I don’t know if it’s possible to turn the x-rayed selection outline off.