#iesm-wrap {
  position: relative;
  width: 100%;
  max-width: 640px;
  min-height: 240px;
  overflow: hidden;
  background: transparent;
}

#iesm-wrap .iesm-reveal-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

#iesm-wrap .iesm-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  transition: opacity 1s ease-in-out;
}

#iesm-wrap .iesm-hint {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0047AB;
  color: #FFFFFF;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  z-index: 20;
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

#iesm-wrap .iesm-hint svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  animation: iesm-hint-swipe 1.4s ease-in-out infinite;
}

@keyframes iesm-hint-swipe {
  0%   { transform: translateX(0); opacity: 0.6; }
  50%  { transform: translateX(6px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.6; }
}

#iesm-wrap.iesm-hint-hidden .iesm-hint {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}
