I am in the same position where the company I work for tends to pay near the top of the market. I account for this by trying to save as much as possible and not having a lifestyle that requires this top of the market salary. I’m under no illusion that the gravy train can run out at any time and my next role may be a step down or step up in salary.
I'll also just be explicit with recruiters who email me. Say I'd be looking for X amount. And they pretty much always say "oh no that's too much" and we go our separate ways. So that channel feels dried up.