/* Shared by every rebuild. The cover on the list grows into the page, and shrinks back on return. */
::view-transition-group(*) {
  animation-duration: 700ms;
  animation-timing-function: cubic-bezier(.7, 0, .2, 1);
}
::view-transition-old(*):only-child { animation: 220ms ease-in both clone-list-leave; }
::view-transition-new(*):only-child { animation: 320ms 260ms ease-out both clone-list-arrive; }
@keyframes clone-list-arrive { from { opacity: 0; } }
@keyframes clone-list-leave { to { opacity: 0; } }

.clone-back {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgb(0 0 0 / 62%);
  color: #fff;
  font: 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-decoration: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.clone-back:hover, .clone-back:focus-visible { background: rgb(0 0 0 / 86%); }
