Oh dear

Last year my niece started school and was heavily into football, she’s already been persuaded that dance is more “her” and has been bombarded with more princess books, glitter and dolls in a year than I’d ever seen in my whole childhood. Half of her books seem to be about what the princess chose to wear, yawn.
She was into construction toys before school.
She still likes maths best, but I fear they will “princess” it out of her… 🙁
She has a chance though, my brother likes to play robots and puzzles with her and I’m buying her science toys but how can we compete with females banding together at school to follow heavily marketed pink stuff?
I’m concerned she’ll end up going with expectations. I didn’t do economics because I got persuaded by friends to join them in doing drama instead, which I hated, it’s hard not to copy your friends hobbies at school. But what’s odd is that today she got very anxious at going to a family do when she found out she’d be the only girl (4boy cousins)and had to have a pep talk about how it would be OK, I wasn’t like that at her age, I doubt I’d have noticed the gender of my cousins, and certainly wouldn’t have been bothered. Why is she suddenly upset at the thought?