.heat-image {
  position: relative;
  overflow: hidden;
  border: 1px solid #d8e8f6;
  border-radius: 16px;
  background: #eef6ff;
  cursor: crosshair;
  touch-action: pan-y;
  isolation: isolate;
}
.heat-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.heat-image .base {
  position: relative;
  z-index: 1;
}
.heat-image .heat {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}
.heat-lens {
  position: absolute;
  left: var(--lens-x, 50%);
  top: var(--lens-y, 50%);
  z-index: 4;
  width: 112px;
  height: 112px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  pointer-events: none;
  background-image: var(--lens-image);
  background-size: var(--lens-image-w, 100%) var(--lens-image-h, 100%);
  background-position: var(--lens-bg-x, 50%) var(--lens-bg-y, 50%);
  background-repeat: no-repeat;
  box-shadow: 0 12px 26px rgba(0, 38, 110, 0.26), inset 0 0 0 1px rgba(0, 87, 223, 0.18);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.heat-image.is-lens-active .heat-lens {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.heat-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  border-radius: 999px;
  background: rgba(0, 91, 172, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  box-shadow: 0 8px 20px rgba(0, 56, 105, 0.2);
}
@media (prefers-reduced-motion: reduce) {
  .heat-lens {
    transition: none;
  }
}
