Fixed in iOS 18.
Post
Replies
Boosts
Views
Activity
Also reported this via iOS Feedback Assistent,
incident ID is FB12858610 (Manual change dark/light mode not working for PWA installed to homescreen).