After this script has auto-enabled dark mode, the "dark mode" settings panel stays open. So you need to manually click the Search box if you want to type in a video search for something.
I could make this script auto-select the search field. It would make it easier to type something to search for when visiting YouTube, whenever an automatic switchover from Light to Dark happens.
But the downside is that the "Dark Mode" toggle panel will be immediately hidden if I make the search-field get focus. I kinda like the fact that the Dark Mode toggle panel currently stays open, so that users of this script can clearly see the script opening the settings and enabling dark mode.
If I change it to auto-targeting the search box, you'll lose that visual feedback (unless you happen to look at the exact moment the switchover happens). But you'll gain access to easier searching.
So I'd like to ask users for feedback: Should I make this script auto-target the video search field? I'll hold off any change until I get some feedback in this thread, however long that takes. ;-)