/* 交互地图（Leaflet + 高德瓦片） */
.interactive-map-block { margin: 18px 0 0; }

.interactive-map-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 4px 10px;
}
.interactive-map-head h3 { margin: 0; font-size: 14px; font-weight: 750; color: var(--ink, #1f2430); }
.interactive-map-head span { font-size: 11px; color: var(--muted, #7a828c); }

.interactive-map-canvas {
  height: 58vh;
  min-height: 300px;
  max-height: 520px;
  border: 1px solid var(--line, #e8eaee);
  border-radius: 16px;
  overflow: hidden;
  background: #e9edf0;
  position: relative;
}

.imap-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}
.imap-toggle button {
  border: 0;
  padding: 5px 11px;
  border-radius: 999px;
  background: transparent;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.imap-toggle button[aria-pressed="true"] { background: var(--lake, #205e6b); color: #fff; }

.leaflet-container { font-family: inherit; background: #e9edf0; }
.leaflet-container a { color: #205e6b; }
.leaflet-control-attribution { font-size: 10px; }
.leaflet-popup-content { margin: 11px 13px; }

.imap-marker {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lake, #205e6b);
  color: #fff;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.imap-marker.is-out { background: #8a8f98; }

.imap-popup b { display: block; font-size: 13px; color: var(--ink, #1f2430); }
.imap-popup .imap-time { margin: 2px 0 7px; color: #7a828c; font-size: 11px; }
.imap-links { display: flex; flex-wrap: wrap; gap: 6px; }
.imap-links a {
  padding: 4px 9px;
  border: 1px solid #c8dadc;
  border-radius: 999px;
  background: #edf6f5;
  color: #205e6b;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
