If your spouse/partner is cooperative then just limit your daughters screen time and monitor the content she consumes. If, or rather when, you get more or less drastic reactions about denying her use of the phone/tablet/computer, try to calmly explain and remind why you're doing it. The last part is something that you will have to do over and over many times.
My children watch around an hour of yt videos and it's usually either cartoons, educational stuff or documentaries and it's not every day. The don't have their own phone or computer even though all their friends do, instead they have smartwatches that do the same job with less radiation and there's no games on those. For games that need to be approved by their mother or me, and watching videos they have tablets and they're used to not having them anytime for as much as they want or they just find whatever movie they feel like watching, provided it's not the unacceptable kind, and watch it on the big screen.
It's a process that requires time and patience but in what would you rather invest your time other than your daughter, right? We have to adjust to their changing needs and wants and accept that it is a worthwhile effort even if you don't see the effects right away
Good luck. I know it's a tough issue but we're not at the level of other people, you can do it. Zevism cannot allow their offspring to become the average youth with brain rot setting in and npc behaviors.
Parenting is tough and like walking on a wire. A lot of balance is needed.