I've done the rounds with these kinds of situations. She's too old to attempt to force her to behave correctly. Can you see that you tried to force/bully her into complying with your rules? It becomes a battle of whose will is stronger, who is physically stronger, and that isn't what you want.
When you go in at 11 saying 'give me your stuff, you shouldn't be on it, you'll never be up in time', (traditional parenting, I know), you unintentionally get her stressed and even more unable to sleep.
try a more collaborative "oh no, are you still up? Will you manage to get up in the morning, or shall I wake you a bit earlier? How about I make you a hot chocolate while you finish what you are doing?"
Have a chat another day about what habits you can follow so she can manage gadgets and time better. Perhaps a 'switch off at 9 on school days to earn a weekend takeaway' rule, or 'if you are on time every school morning, you can use your tech as late as you like at weekends' rule.
Try and make it a joint negotiation. She needs to learn how to regulate herself.