If she is using it to shut down the conversation then that's a fair enough assessment.
That is accurately not at all gaslighting mind you. Gaslighting is taking a fact like 'i locked the house when we left' removing the proof that it was so (unlocking it when you aren't looking), and stating to your face you are wrong to have thought that, mistaken in fact and it was not locked at all, you must be mistaken, or are you crazy? Gaslighting is a twisted deliberate strategy to make you question your own judgement/sanity.
It sounds to me as though there is plenty of clashing going on. No fun for anyone is it!?
If she's a stroppy teenager fighting for her space/independence (reasonably or not) with questionable friends adding prickly communication styles into the mix it would be fair to think her approach isn't the best and frustrating for you too.
But, you can't win this by confronting it head on, so you need to take an adult approach and adapt your strategy to diffuse/depersonalise it.
Recognise as a teen you feel you don't need help and rarely recognise, certainly don't want to, how much you still do.
The suggestion above that you only offer advice when she asks, and make clear when you're available - and when you're not - and then just let things wash over you is good.
When she says you're not always right, shrug, yup that's true, oh well it's just an opinion you don't have to take it and if you'd rather I didn't give it, that's fine...
It sounds like as enjoying as she may well be being, there is an element of personality clash in there, if you can adjust to try to change the pattern of your dynamic that could help.
It won't make her grow up over night but it might help you stay sane while you wait.
I find it helpful to read up on teen development and parenting strategies as well, it helps you recognise what's just standard boundary testing, and what most of us are going through, so helps you not feel it's personal and, honestly, sometimes our natural approach isn't the best and a bit of inspiration on how to tweak it can help stop digging the hole.