#mapPane { position: relative; background: #0a0a12; overflow: hidden; }
.lobby-map-svg { width: 100%; height: 100%; display: block; cursor: grab; user-select: none; }
.lobby-map-svg:active { cursor: grabbing; }
.map-zoom-ctrl {
  position: absolute; right: 14px; bottom: 14px;
  display: flex; flex-direction: column; gap: 6px; z-index: 5;
}
.map-zoom-ctrl button {
  width: 36px; height: 36px; font-size: 18px;
  background: rgba(17,17,24,0.9); color: #e4e4e7; border: 1px solid #2a2a35;
  border-radius: 6px; cursor: pointer;
}
.map-zoom-ctrl button:hover { background: #27272a; }
.lobby-tabs {
  display: flex; gap: 8px; padding: 10px 16px;
  background: #111118; border-bottom: 1px solid #2a2a35;
  position: sticky; top: 0; z-index: 20;
}
.lobby-tab-btn {
  background: #27272a; color: #a1a1aa; border: 0; padding: 6px 14px; border-radius: 4px;
  cursor: pointer; font-weight: 500;
}
.lobby-tab-btn.active { background: #4f46e5; color: #fff; }
.lobby-pane { width: 100%; }
.lobby-pane[hidden] { display: none; }
.map-loading { padding: 40px; color: #a1a1aa; text-align: center; }
.city text { pointer-events: none; }
.city:hover circle { filter: url(#softGlow); }
/* Image-mode city visual elements */
.city-glow { transition: opacity 0.2s; pointer-events: none; }

/* Territory tooltip (替代 SVG native <title> tooltip) */
.map-tooltip {
  position: fixed;
  display: none;
  background: rgba(10, 10, 18, 0.93);
  color: #e4e4e7;
  padding: 9px 13px;
  border-radius: 7px;
  border: 1px solid #2a2a35;
  font-size: 13px;
  pointer-events: none;
  z-index: 200;
  max-width: 210px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
  line-height: 1;
}
.map-tooltip strong {
  display: block;
  color: #f4f4f5;
  font-size: 15px;
  margin-bottom: 6px;
}
.map-tooltip span {
  display: block;
  color: #a1a1aa;
  font-size: 12px;
  line-height: 1.65;
}
.map-tooltip .tt-can    { color: #4ade80; }
.map-tooltip .tt-cannot { color: #f87171; }
