I'm going to address the toxic part - I would never let it get that far in the first place.
(In what has to be one of the most on-point cases of the environment creating an emotional effect I've seen, I am typing this during a thunderstorm...)
Any large group will always have extremist outliers, but the operative word is "outliers" - they're not going to be representative of the whole. So, under normal circumstances when one shows up, you bring it to the attention of the appropriate authority and move on. For that level of toxicity to become the rule, a LOT has to have gone wrong first.
Take the Gamergate tsunami of 2014 (which I don't mention often because it basically drove me into a fetal position watching it). I use the term "tsunami" for a reason - there was a LOT of pressure waiting to be released. Most of the people in the American gaming community had come up in a high school environment in which they faced targeted harassment that was often supported by the very authority figures who should have been stopping it (if you want to know more, feed your nightmares by looking up "Voices from the Hellmouth"). Once they got out of school, they got hit by moral panic after moral panic (I was one of the writers advocating against the one back in 2000-2002). So, by the time the spark hit, it was setting off a community that had been under siege for at least 30 YEARS (if you don't believe me, look up Patricia Pulling).
(Note: this is an explanation, not an excuse. What happened during those days was inexcusable, but it DID have an explanation...one that just about everybody ignored in favour of using the harassment campaign as the basis for the next moral panic against the gaming community.)
If you take a step back and look at something like the 2016 Ghostbusters movie, there was a LOT of mutual escalation. Anybody criticizing the movie for any reason was treated as though they were a misogynist by the studio and the movie's supporters (speaking as a centrist, it was baffling to watch, and one of the earlier instances of what I now call "PR seppuku"). Were there actual misogynists in the mix at the beginning? Absolutely - but they weren't nearly as common as the movie's supporters claimed. Instead, you got an ongoing escalation that enabled the worst of the extremists while pushing any moderates out of the picture.
So, the way you avoid this is by setting a positive example for your fans to follow, and maintaining it. Deal with outliers quietly and without impacting the rest. Do that, and toxicity never becomes the rule in the first place. There's an old saying that "you get what you give," and that is very true.
True life example: back around 2016 I wrote a pop culture column for The Escapist that was a revival of my old video games issues column back in 2000-2002. The attitude I took was "let's throw ideas around and see what we get." To make sure that this was maintained, every 7th installment was a feedback installment, where I'd highlight the user comments that presented the best form of the argument both for and against the position I had taken. It worked - the column covered topics like diversity, representation, cultural appropriation, the Puppy Wars, etc., and out of over 50 total installments, with people from both the left and right commenting, the comments for ONE got toxic. I don't have a lot of faith in that approach working in pop culture commentary now, but back then it worked like gangbusters, and it all started with what I put out.
(You can't read it there anymore, however - the Escapist was bought by Enthusiast Gaming, and the new editor defamed everybody there under the bus as alt-right sympathizers - not only were most of us either centrists or leftists, but the Editor-in-Chief while I was there was a former member of the Communist Party), causing me to spend a year fighting a defamation suit against them to save my career...during which time editor removed the column out of apparent spite...and possibly to destroy the evidence. They settled, and I saved my career. The good news is that I retained the rights, so they now exist on Medium, as well as on Amazon as collections published by my little publishing company.)