/* ===== 门店分布页（/map）专用样式，作用域化避免与站点样式冲突 ===== */
.map-top { padding: 26px 22px 8px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.map-top h1 { font-size: 26px; letter-spacing: 2px; color: #1c2f55; font-family: "Songti SC", "STSong", "SimSun", serif; }
.map-top h1 em { font-style: normal; color: #2e6fd8; }
.map-top p { font-size: 12.5px; color: #71809b; letter-spacing: 1px; }
.mstats { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.mstat { background: linear-gradient(180deg, #f5f9ff, #eaf2fd); border: 1px solid #dbe7f8; border-radius: 12px; padding: 8px 14px; text-align: center; min-width: 86px; }
.mstat b { display: block; font-size: 20px; color: #2e6fd8; }
.mstat span { font-size: 11.5px; color: #71809b; }

.map-grid { display: grid; grid-template-columns: 330px 1fr; gap: 16px; align-items: stretch; margin-top: 8px; }

.map-list { background: #fff; border: 1px solid #e3eaf5; border-radius: 16px; padding: 14px 12px; overflow-y: auto; max-height: 78vh; box-shadow: 0 6px 24px rgba(30, 63, 120, .06); }
.map-list::-webkit-scrollbar { width: 6px; }
.map-list::-webkit-scrollbar-thumb { background: #d4dfef; border-radius: 3px; }
.group { margin-bottom: 6px; border-radius: 12px; transition: background .25s; }
.group.active { background: #eef5ff; outline: 1px solid #cfe0fa; }
.group-h { display: flex; align-items: center; gap: 8px; padding: 10px 10px 6px; cursor: default; }
.group-h .bar { width: 4px; height: 14px; border-radius: 2px; background: #2e6fd8; }
.group.active .group-h .bar { background: #C9A063; }
.group-h b { font-size: 14.5px; letter-spacing: 1px; color: #24365c; }
.group-h .cnt { font-size: 11px; color: #2e6fd8; background: #e8f1fe; border-radius: 20px; padding: 1px 8px; }
.chips { display: flex; flex-direction: column; gap: 2px; padding: 0 6px 8px 14px; }
.chip { display: flex; align-items: center; gap: 8px; font-size: 12.8px; color: #33445f; padding: 5px 8px; border-radius: 8px; cursor: pointer; transition: all .18s; border: 1px solid transparent; white-space: nowrap; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px #fff; }
.chip:hover, .chip.pin { background: #fff; border-color: #cfe0fa; transform: translateX(3px); box-shadow: 0 4px 12px rgba(46, 111, 216, .14); color: #1c2f55; font-weight: 600; }

.map-panel { position: relative; background: #fff; border: 1px solid #e3eaf5; border-radius: 16px; box-shadow: 0 6px 24px rgba(30, 63, 120, .06); overflow: hidden; }
#map { width: 100%; height: 78vh; min-height: 520px; }
.map-tools { position: absolute; top: 12px; right: 14px; display: flex; gap: 8px; z-index: 5; }
.map-tools button { background: rgba(255, 255, 255, .92); border: 1px solid #d7e2f3; color: #42557b; border-radius: 9px; padding: 6px 12px; font-size: 12.5px; cursor: pointer; transition: all .2s; }
.map-tools button:hover { color: #2e6fd8; border-color: #9dc0f0; box-shadow: 0 4px 12px rgba(46, 111, 216, .15); }
.map-hint { position: absolute; left: 14px; bottom: 12px; z-index: 5; font-size: 11.5px; color: #8b99b5; background: rgba(255, 255, 255, .85); border-radius: 8px; padding: 4px 10px; pointer-events: none; }
.map-note { font-size: 12px; color: #71809b; padding: 6px 22px 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

@media (max-width: 920px) {
  .map-grid { grid-template-columns: 1fr; }
  .map-list { max-height: 38vh; order: 2; }
  #map { height: 56vh; min-height: 400px; }
  .mstats { margin-left: 0; }
}
@media (max-width: 700px) {
  #map .echarts legend, #map { --lg: 1; }
}
