Shared element
The answer sends trans: 'shared hero-3', and two CSS rules name the card and the hero only while html has that class. Nothing is written into the page, so the history keeps no stale name, and back plays the morph in reverse because this runtime replays the transition of the page you leave.