Why painting my nails is an exercise in futility

Before practicing piano, my nails were flawlessly painted (with “Skinny Jeans” by Sephora by OPI, if anyone was curious) and topped with a resilient top coat.
This is what they looked like after a good dose of Prokofiev.
Sigh! I love putting different pretty colors on my nails but there’s really no point painting them because they get such a pounding. They just look horrid after I practice and I end up picking little flakes of nail polish out of the keys.