/* Trial map: silver theme, with an Android performance fallback below. */
@media (min-width: 0px) {
  .map-panel {
    position: relative;
    isolation: isolate;
    border-radius: 30px 30px 30px 9px;
    background: #f3f5f6;
    box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px #d5e1e6,
      0 10px 30px rgba(87, 107, 117, .09), 0 0 28px rgba(176, 229, 246, .28);
  }
  .map-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,.86);
    box-shadow: inset 0 2px 2px rgba(255,255,255,.95),
      inset 0 0 16px rgba(189, 236, 249, .22);
  }
  .map-panel #map.map-container {
    background: #f3f5f6;
    border-radius: 30px 30px 30px 9px !important;
  }
  .map-panel .amap-scalecontrol {
    color: #394d58 !important;
    text-shadow: 0 1px 2px #fff;
  }
  .map-panel .eden-map-marker img {
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, .95))
      drop-shadow(0 0 5px rgba(133, 214, 240, .45));
  }
}

/* Android: avoid a full-map compositing overlay and filters on every marker. */
.map-panel.android-map-lite {
  isolation: auto;
  box-shadow: none;
  background: #f3f3f3;
}
.map-panel.android-map-lite::after {
  content: none;
  display: none;
}
.map-panel.android-map-lite .eden-map-marker img {
  filter: none !important;
}
/* 外层也必须移除滤镜；只处理 img 仍会保留每个点位的投影合成开销。 */
.map-panel.android-map-lite .eden-map-marker,
.map-panel.android-map-lite .eden-map-marker:active,
.map-panel.android-map-lite .eden-map-marker.is-selected,
.map-panel.android-map-lite .eden-map-cluster {
  filter: none !important;
  box-shadow: none !important;
  transition: none !important;
  animation: none !important;
  transform: none;
}
.map-panel.android-map-lite .eden-map-marker.is-selected::before {
  inset: 11px;
  border: 2px solid #ff6038;
  box-shadow: none;
}
.map-panel.android-map-lite .eden-map-cluster {
  border-width: 1px;
}
.map-panel.android-map-lite .amap-scalecontrol {
  text-shadow: none;
}

@media (max-width: 767px) {
  .map-panel {
    box-shadow: 0 0 0 1px rgba(255,255,255,.94),
      0 0 0 2px rgba(213,225,230,.72),
      0 8px 24px rgba(87,107,117,.07),
      0 0 18px rgba(176,229,246,.22);
  }
  .map-panel::after {
    box-shadow: inset 0 1px 1px rgba(255,255,255,.94),
      inset 0 0 11px rgba(189,236,249,.17);
  }
}
