Safari with the uBlock Origin Lite extension works well for me - even with "Web page Contents and Browsing History" permission set to 'Deny' for all websites.
There‘s a checkbox called “Enhanced Protection” (name might vary, I have the app in another language) that specifically says it’s for stuff like YouTube
I will check what particular settings I have for AdGuard when I get back home this evening. I don't recall anything particularly hairy but it has been a few years.