Vivaldi no longer includes its name in the User Agent, see [1].
Try detecting it based on binary name instead.
This could perhaps also be used to detect other chromium-based browsers such as Brave.
[1] https://www.google.de/search?q=vivaldi+vivaldi.com/blog/user+-agent+-changes/