.hi-entry {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: #050505;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.hi-entry img {
  display: block;
  width: clamp(82px, 16vw, 135px);
  height: auto;
  filter: drop-shadow(0 0 24px #ffffff35);
}

@media (prefers-reduced-motion: no-preference) {
  .hi-entry {
    animation: hi-entry-open 780ms cubic-bezier(.32, .05, .28, 1) both;
  }

  .hi-entry img {
    animation: hi-entry-mark 720ms cubic-bezier(.2, .7, .25, 1) both;
  }

  .hi-entry.is-restored { animation: none; }
  .hi-entry.is-leaving { animation: hi-entry-close 280ms ease-out both; }
  .hi-entry.is-leaving img { animation: hi-entry-mark 250ms ease-out both; }
}

@keyframes hi-entry-open {
  0%, 57% { opacity: 1; visibility: visible; pointer-events: auto; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes hi-entry-mark {
  from { opacity: 0; transform: translateY(5px) scale(.93); }
  to { opacity: 1; transform: none; }
}

@keyframes hi-entry-close {
  from { opacity: 0; visibility: visible; pointer-events: auto; }
  to { opacity: 1; visibility: visible; pointer-events: auto; }
}
