>>58076154
Why just on the first one?
The way I imagine it is each gym having a sign on the door similar to pic related that displays what the level range is, and you confirm it before entering.
The level curve is fairly consistent, but I prefer this to a generic "You can't leave midway through your challenge" message I had previously.