…
Test plan: 1) Open in Safari, confirm "first run" → reload to confirm key persists. 2) Share → Add to Home Screen. Confirm icon installs. 3) Tap home-screen icon; confirm same key reads back; "Installed as PWA: yes". 4) Force-quit (swipe up); reopen icon; confirm still persists. 5) Airplane-mode → open icon → still loads from cache; airplane off → bump count. 6) Bonus: leave 24h+, reopen; confirm still persists.