.app-icon {
  position: relative;
  overflow: hidden;
}

.app-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transform-origin: center;
}

.app-icon-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.float-app {
  overflow: hidden;
  border: 0;
}

.float-app img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transform: scale(1.08);
  transform-origin: center;
}

.icon-flight {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: block;
  overflow: hidden;
  pointer-events: none;
  border-radius: 20px;
  box-shadow: 0 14px 35px rgba(25, 42, 78, 0.28);
  transform-origin: center;
  will-change: transform;
}

.icon-flight img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transform-origin: center;
}

.app-icon.icon-landed {
  animation: icon-landed 460ms cubic-bezier(.2, .9, .3, 1);
}

@keyframes icon-landed {
  0% { transform: scale(.72); box-shadow: 0 0 0 0 rgba(40, 100, 245, .35); }
  55% { transform: scale(1.13); box-shadow: 0 0 0 9px rgba(40, 100, 245, .08); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(40, 100, 245, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .app-icon.icon-landed { animation: none; }
}
