The card did not disappear: the browser captured it, captured the new page, and morphed one into the other. Everything else crossfades. Your code only swaps the DOM inside document.startViewTransition().
Press the browser’s back button or the link above and the same transition plays in reverse.