Why does a hover style stay active after tapping on an iPhone?

A hover style can remain active after an iPhone tap because mobile WebKit may emulate hover for pages built around mouse interactions. The tapped element can continue matching :hover until another interactive element receives a tap. The persistent state is browser compatibility behavior, not proof that the control remains pressed.
The problem is most visible when hover changes a button background, reveals an overlay or hides text. Avoid using a broad hover rule as the default interaction. Keep the normal state usable on touch, then place mouse-specific visual effects inside a media query that confirms hover and a fine primary pointer.
.button {
background: #1d4ed8;
}
@media (hover: hover) and (pointer: fine) {
.button:hover {
background: #1e3a8a;
}
}
Do not remove useful :focus-visible or :active feedback while fixing hover. Focus shows keyboard position, and active provides brief press feedback. Keep these selectors separate so an iPhone tap cannot inherit a long-lived hover appearance from a combined rule such as :hover, :focus, :active.
If JavaScript adds hover classes, review pointerenter, pointerleave and touch handlers. A class that only mouseleave removes will remain on a touch device. Prefer CSS capability queries for purely visual effects. Stateful components should use an explicit open class controlled by a button, with close logic for Escape and outside interaction.
Test the repaired control in Safari on a real iPhone, then attach a mouse to a tablet or use a hybrid laptop. The mouse should still receive hover feedback, while a tap should activate the control once and return to a clear state. Check links, menu triggers and cards separately because their event logic may differ.