/* The Finder's decorative companion stays separate from the brand logo. */
.finder .finder-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 116px;
  line-height: 1.25;
}
.finder-heading > span:first-child { flex: 0 1 auto; min-width: 0; }
.finder-genie {
  position: relative;
  display: inline-flex;
  flex: 0 0 96px;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 112px;
  isolation: isolate;
  pointer-events: none;
  animation: genie-arrive 700ms ease-out both;
}
.finder-genie-character {
  display: block;
  width: 96px;
  height: 112px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transform-origin: 50% 80%;
  animation: genie-float 4.6s ease-in-out infinite;
}
.finder-genie-halo {
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, #90dcf947 0%, #90dcf91c 48%, transparent 72%);
  z-index: 0;
}
.finder-genie-spark {
  position: absolute;
  z-index: 2;
  color: #0088bd;
  font: 600 17px/1 system-ui, sans-serif;
  animation: genie-sparkle 3.4s ease-in-out infinite;
}
.finder-genie-spark-one { top: 11px; right: -2px; }
.finder-genie-spark-two { bottom: 18px; left: 0; font-size: 12px; animation-delay: -1.2s; }
.finder-genie-spark-three { top: 24px; left: -3px; color: #087f82; font-size: 14px; animation-delay: -2.3s; }
.finder:focus-within .finder-genie-character,
.finder:focus-within .finder-genie-spark { animation-play-state: paused; }
@keyframes genie-arrive {
  from { opacity: 0; transform: translateY(8px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes genie-float {
  0%, 100% { transform: translateY(2px) rotate(-1deg); }
  50% { transform: translateY(-5px) rotate(1deg); }
}
@keyframes genie-sparkle {
  0%, 100% { opacity: .3; transform: scale(.7) rotate(-8deg); }
  50% { opacity: .95; transform: scale(1.12) rotate(8deg); }
}
@media (max-width: 600px) {
  .finder .finder-heading { gap: 8px; min-height: 96px; font-size: 24px; }
  .finder-genie { flex-basis: 76px; width: 76px; height: 96px; }
  .finder-genie-character { width: 76px; height: 96px; }
  .finder-genie-halo { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .finder-genie, .finder-genie-character, .finder-genie-spark { animation: none; transform: none; }
}

