/* Interactive Map */
.xinesh-map {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 18px;
}

.map-stage {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(5, 10, 40, 0.35);
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
}

.map-stage img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hotspots */
.map-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45);
  background: radial-gradient(circle, rgba(102,252,241,1), rgba(123,92,255,0.9));
  box-shadow:
    0 0 14px rgba(102,252,241,0.45),
    0 0 26px rgba(123,92,255,0.35);
  cursor: pointer;
}

.map-hotspot:hover,
.map-hotspot:focus-visible {
  outline: none;
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow:
    0 0 18px rgba(102,252,241,0.65),
    0 0 40px rgba(123,92,255,0.55);
}

/* Tooltip */
.map-tooltip {
  position: absolute;
  min-width: 220px;
  max-width: 300px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(5, 10, 40, 0.84);
  backdrop-filter: blur(14px);
  color: rgba(245,245,255,0.92);
  box-shadow: 0 18px 60px rgba(0,0,0,0.65);
  pointer-events: none; /* tooltip itself doesn't steal hover */
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 5;
}

.map-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

.map-tooltip h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #66fcf1;
}

.map-tooltip p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(230,233,255,0.86);
  line-height: 1.35;
  white-space: pre-line;
}

/* Small hint line under map */
.map-hint {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: rgba(230,233,255,0.75);
}
