/* =====================================================
   location.css —— 共享位置（全屏地图页）
   ===================================================== */
.loc-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  background: var(--bg-soft, #fff5f8);
  animation: locFade .22s var(--ease-out-soft, cubic-bezier(.22,.61,.36,1)) both;
}
@keyframes locFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.loc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: var(--card, #fff);
  box-shadow: 0 2px 10px rgba(17, 12, 20, .06);
  z-index: 1;
}
.loc-back {
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--text, #3a2c33);
  padding: 0 6px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.loc-title { flex: 1; text-align: center; font-size: 17px; font-weight: 700; color: var(--text, #3a2c33); }
.loc-title-space { width: 34px; }

.loc-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: var(--card, #fff);
  border-bottom: 1px solid color-mix(in srgb, var(--muted, #a98a96) 18%, transparent);
}
.loc-distance { font-size: 15px; font-weight: 700; color: var(--accent, #ff5c8a); }
.loc-ta-status { font-size: 13px; color: var(--muted, #a98a96); }

.loc-map { flex: 1; min-height: 0; position: relative; background: #e8eef4; }
.loc-map-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted, #a98a96);
  font-size: 14px;
}

.loc-actions {
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--card, #fff);
}
.loc-send {
  width: 100%;
  border: none;
  padding: 14px;
  border-radius: var(--r-pill, 999px);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--gradient, linear-gradient(135deg, #ff9ebb, #ff6f9c));
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.loc-send:active { transform: scale(.98); opacity: .9; }

/* 地图标记：我 = 蓝色圆点，TA = 粉色爱心 */
.loc-dot-wrap { background: transparent; border: none; }
.loc-me-dot {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2f7dff;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(47, 125, 255, .35), 0 2px 6px rgba(0, 0, 0, .25);
  box-sizing: border-box;
}
.loc-ta-heart {
  display: block;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  font-size: 22px;
  color: #ff4d7d;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
