Make the colors behind mobile Safari's status bar and bottom toolbar match the page's top and bottom edges, including when the background changes as you scroll. You're inside the repo already. Find the app's root layout and global styles first, and check which pages have full-bleed or colored heroes.
How it works: Safari extends the background of a fixed element behind its controls. A thin fixed strip at the top and another at the bottom, each painted the color of the edge it sits on, fills those areas. theme-color alone isn't enough, because in the browser it can't set separate top and bottom colors.
aria-hidden .edge-top and .edge-bottom elements outside any transformed ancestor. Paint their ::after with --edge-top-background and --edge-bottom-background. Make them position: fixed, full-width, pointer-events: none, and max(12px, env(safe-area-inset-top)) or max(12px, env(safe-area-inset-bottom)) tall. Keep them clear of content.html background to the top color and the body background to the bottom color.viewport-fit=cover but keep text and controls inside the safe areas. Add a theme-color meta tag that tracks the top color.Report which pages you changed, the edge colors you used, and anything you skipped.