.matching-screen .matching-visual.matching-pixel-visual {
  isolation: isolate;
  overflow: hidden;
  width: min(72vw, 226px);
  border: 2px solid rgba(117, 255, 207, 0.5);
  border-radius: 20px;
  background:
    linear-gradient(rgba(28, 218, 147, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 218, 147, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, #163c35 0%, #0c2421 72%);
  background-size: 14px 14px, 14px 14px, 100% 100%;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(25, 214, 145, 0.08);
}

.matching-screen .matching-visual.matching-pixel-visual::after {
  background: radial-gradient(circle at 50% 45%, rgba(42, 225, 156, 0.14), transparent 58%);
}

.matching-screen .matching-visual.matching-pixel-visual img {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 8%;
  width: 84%;
  height: 84%;
  object-fit: contain;
  image-rendering: pixelated;
  transform-origin: 50% 100%;
  animation: pixel-concierge-bob 0.9s steps(2, end) infinite;
}

.pixel-ground {
  position: absolute;
  z-index: 1;
  right: 24%;
  bottom: 7%;
  left: 24%;
  height: 9px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  animation: pixel-ground-pulse 0.9s steps(2, end) infinite;
}

.pixel-spark {
  position: absolute;
  z-index: 3;
  width: 7px;
  height: 7px;
  background: #6fffc9;
  box-shadow: 0 0 10px rgba(80, 255, 190, 0.7);
  animation: pixel-spark-pop 1.2s steps(3, end) infinite;
}

.pixel-spark-one {
  top: 23%;
  left: 15%;
}

.pixel-spark-two {
  top: 17%;
  right: 17%;
  width: 5px;
  height: 5px;
  animation-delay: 0.32s;
}

.pixel-spark-three {
  right: 12%;
  bottom: 28%;
  width: 6px;
  height: 6px;
  animation-delay: 0.64s;
}

@keyframes pixel-concierge-bob {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-6px) rotate(0.7deg); }
}

@keyframes pixel-ground-pulse {
  0%, 100% { opacity: 0.45; transform: scaleX(1); }
  50% { opacity: 0.28; transform: scaleX(0.86); }
}

@keyframes pixel-spark-pop {
  0%, 100% { opacity: 0.22; transform: translateY(4px) scale(0.7); }
  50% { opacity: 1; transform: translateY(-5px) scale(1); }
}

@media (max-height: 560px) {
  .matching-screen .matching-visual.matching-pixel-visual {
    width: min(60vw, 176px);
    margin-bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .matching-screen .matching-visual.matching-pixel-visual img,
  .pixel-ground,
  .pixel-spark {
    animation: none;
  }
}
