If hiring managers actually do prefer younger candidates, doesn't that make the thought realistic rather than distorted?
Preference and inevitability are not the same. Some roles or industries may skew younger, but even in those contexts, people over 50 are hired regularly. The thought claims universal rejection; testing it means applying where you're qualified and learning what actually happens, not what the thought predicts.
How do I stop feeling like employers can see my age through my application?
They can see graduation dates. What they cannot see: your energy level, your ability to learn software, your stability, your communication, or your hunger for this specific role. Those are visible only in the conversation. The thought uses invisibility (they judge before meeting you) as certainty, when the interaction is still unknown.
Doesn't having a gap in employment actually make the age problem worse?
Gaps and age are separate narratives, and the thought often merges them to increase its claim. Explaining a gap—contract work, caregiving, transition—is different from explaining age, which needs no explanation at all. One thing at a time, and only when asked.