:root {
  --ink: #17382e;
  --ink-2: #4b6a5f;
  --ink-3: #7d968c;
  --mint: #09af95;
  --mint-deep: #0d7d63;
  --card: #ffffff;
  --line: #e5eee8;
  --bg: #eef4ef;
  --shadow-s: 0 4px 13px rgba(24, 60, 48, 0.09);
  --shadow-m: 0 14px 34px rgba(23, 59, 48, 0.18);
  --shadow-l: 0 18px 46px rgba(23, 59, 48, 0.26);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
  color: var(--ink);
  background: #dfe8e2;
  display: flex; justify-content: center; align-items: center;
  overflow: hidden;
}
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
input { font: inherit; }
.hidden { display: none !important; }

.phone {
  position: relative;
  width: min(100vw, 430px);
  height: min(100dvh, 910px);
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
  user-select: none;
}
@media (min-width: 470px) and (min-height: 940px) {
  .phone { height: 910px; border-radius: 34px; box-shadow: 0 26px 70px rgba(20, 55, 44, 0.28); }
}

/* ---------- 地图层 ---------- */
.realMap { position: absolute; inset: 0; z-index: 1; background: #e7eee9; }
.realMap .leaflet-container { width: 100%; height: 100%; background: #e7eee9; font: inherit; }
.realMap .leaflet-control-attribution {
  font-size: 8px; padding: 1px 5px; border-radius: 6px 0 0 6px;
  background: rgba(255, 255, 255, .78); color: #5a766c;
}
.realMap .leaflet-bottom.leaflet-right { bottom: auto; top: 148px; right: 4px; }
.realMap .leaflet-tile { filter: saturate(.92) brightness(1.02); }
.mapLayer { position: absolute; inset: 0; z-index: 1; }
.mapLayer svg { width: 100%; height: 100%; display: block; }
.routeLayer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.routeLayer svg { width: 100%; height: 100%; }
.shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, #f5faf6f2 0%, #f5faf6d9 15%, #f5faf633 27%, transparent 34%, transparent 58%, #eef6f0aa 100%);
}

/* ---------- 状态栏 & 顶部 ---------- */
.status {
  position: absolute; top: 16px; left: 24px; right: 24px; z-index: 20;
  display: flex; justify-content: space-between; font-size: 14px; font-weight: 800; letter-spacing: .2px;
}
.top { position: absolute; top: 48px; left: 16px; right: 16px; z-index: 21; }
.topRow { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.logo { font-size: 30px; font-weight: 950; letter-spacing: -2px; color: var(--ink); line-height: 1; }
.logo em { font-style: normal; color: var(--mint); }
.distanceBtn {
  background: #fff; border: 1px solid #edf1ef; border-radius: 15px;
  padding: 10px 12px; box-shadow: var(--shadow-s);
  font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 7px; min-height: 40px;
}
.distanceBtn .caret { font-size: 10px; color: var(--ink-3); }
.tabs { display: flex; gap: 8px; margin-top: 12px; }
.tab {
  border-radius: 30px; background: rgba(255, 255, 255, 0.92); color: #5b7a6d;
  padding: 11px 16px; font-weight: 850; font-size: 14px; box-shadow: var(--shadow-s); min-height: 42px;
}
.tab.active { background: #174f43; color: #fff; }
.tab .caret { font-size: 10px; opacity: .75; }

.dropdown {
  position: absolute; background: #fff; border-radius: 16px; padding: 7px;
  box-shadow: var(--shadow-m); z-index: 60; max-height: 340px; overflow: auto;
}
#themeMenu { top: 88px; left: 0; width: 210px; }
#rangeMenu { top: 44px; right: 0; width: 190px; }
.dropdown button {
  width: 100%; text-align: left; padding: 12px; border-radius: 10px;
  font-size: 13px; font-weight: 750; color: #35544b; min-height: 44px;
}
.dropdown button:hover, .dropdown button.on { background: #e9f7f1; }
.dropdown button.on { color: var(--mint-deep); }

.hint {
  position: absolute; top: 172px; left: 17px; z-index: 9;
  font-size: 10.5px; color: #8ba096; background: rgba(255,255,255,.62);
  padding: 4px 9px; border-radius: 10px; max-width: 190px; line-height: 1.4;
}

/* ---------- 地图控件 ---------- */
.mapCtrl { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 22; }
.mapCtrl button {
  width: 40px; height: 40px; background: #fff; border-radius: 13px;
  box-shadow: var(--shadow-s); font-size: 19px; color: #3a6155;
}

/* ---------- 出发点 ---------- */
.base {
  position: absolute; z-index: 8; transform: translate(-50%, -50%);
  width: 38px; height: 43px; cursor: pointer;
}
.base .drop {
  width: 38px; height: 43px; background: #3b94f7; border: 4px solid #fff;
  border-radius: 54% 54% 54% 8%; transform: rotate(-45deg);
  box-shadow: 0 4px 0 rgba(0,0,0,.06), 0 0 0 8px rgba(59,148,247,.18);
  display: grid; place-items: center; position: relative;
}
.base .drop span { transform: rotate(45deg); color: #fff; font-size: 17px; }
.base.pinnedBase .drop { background: #e2603f; box-shadow: 0 4px 0 rgba(0,0,0,.06), 0 0 0 8px rgba(226,96,63,.18); }
.base .pulse {
  position: absolute; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(59,148,247,.22); animation: pulse 2.2s infinite ease-out; z-index: -1;
}
.base.pinnedBase .pulse { background: rgba(226,96,63,.22); }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9 } 100% { transform: scale(2); opacity: 0 } }
.baseLabel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 8px; font-size: 11px; font-weight: 900; color: #1f5f9e; white-space: nowrap;
  background: rgba(255,255,255,.9); padding: 2px 7px; border-radius: 9px; max-width: 150px;
  overflow: hidden; text-overflow: ellipsis; text-align: center;
}
.base.pinnedBase .baseLabel { color: #c0431f; }

/* ---------- POI 视频泡泡 ---------- */
.pins { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.pin {
  position: absolute; transform: translate(-50%, -50%); pointer-events: auto;
  display: block; cursor: pointer;
  transition: left .3s ease, top .3s ease;
}
.videoBox {
  position: relative; width: 46px; height: 82px; background: #9dc0ac;
  border: 2px solid #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 5px 15px rgba(33, 74, 58, .28);
  transition: width .32s ease, height .32s ease, border-radius .32s ease;
}
.pin.big .videoBox { width: 80px; height: 142px; border-radius: 16px; box-shadow: 0 10px 24px rgba(33, 74, 58, .38); }
.pin.big { z-index: 2; }
.catTag {
  position: absolute; top: 4px; left: 4px; padding: 3px 5px; border-radius: 7px;
  font-size: 8px; font-weight: 900; color: #fff; white-space: nowrap; z-index: 3;
  max-width: calc(100% - 8px); overflow: hidden; text-overflow: ellipsis;
}
.pin.big .catTag { font-size: 9px; padding: 4px 6px; }
.pinLabel {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(0);
  margin-top: 6px; color: #142a22; font-size: 10px; font-weight: 900; text-align: center;
  max-width: 96px; line-height: 1.2; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  padding: 1px 5px; border-radius: 7px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 1px 4px rgba(23, 59, 48, .12);
  pointer-events: none;
  transition: font-size .18s ease, transform .18s ease;
}
.pin.big .pinLabel { font-size: 13px; max-width: 138px; }
/* 名称常驻：默认在下方，被卡片或其他泡泡挡住时依次尝试上方 / 右侧 / 左侧 */
.pinLabel.label-up { top: auto; bottom: 100%; margin-top: 0; margin-bottom: 7px; }
.pinLabel.label-right {
  top: 50%; left: 100%; right: auto; margin: 0 0 0 7px;
  transform: translateY(-50%); text-align: left;
}
.pinLabel.label-left {
  top: 50%; left: auto; right: 100%; margin: 0 7px 0 0;
  transform: translateY(-50%); text-align: right;
}
.vClip {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 1; background: transparent;
}
.fullVideo .vClip { position: absolute; inset: 0; object-fit: cover; }
.videoArt { position: absolute; inset: 0; overflow: hidden; }
.videoArt .sky { position: absolute; inset: 0; }
.videoArt .sun {
  position: absolute; border-radius: 50%; background: #ffe8a3; box-shadow: 0 0 26px #ffe49e;
  animation: breathe 2.7s infinite alternate;
}
.videoArt .ground {
  position: absolute; left: -30%; right: -30%; height: 48%; bottom: -18%;
  border-radius: 50%; animation: floatbg 4s infinite alternate;
}
.videoArt .subject {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  filter: drop-shadow(0 5px 4px rgba(38, 84, 56, .18));
  animation: floatitem 3s infinite ease-in-out;
}
.videoArt .spark { position: absolute; animation: floatitem 2.4s infinite ease-in-out alternate; }
.progress { position: absolute; left: 3px; right: 3px; bottom: 4px; height: 2px; border-radius: 5px; background: rgba(255,255,255,.45); z-index: 3; }
.progress b { display: block; width: 0; height: 100%; background: #fff; border-radius: 5px; }
@keyframes floatitem { 0%,100% { transform: translate(-50%,-50%) translateY(4px) scale(1) } 50% { transform: translate(-50%,-50%) translateY(-6px) scale(1.07) } }
@keyframes floatbg { to { transform: translateX(-12%) rotate(5deg) } }
@keyframes breathe { to { opacity: .5; transform: scale(1.2) } }

.etaChip {
  position: absolute; z-index: 4; transform: translate(-50%, -50%);
  background: #123f37; color: #fff; border: 2px solid #fff; border-radius: 18px;
  padding: 5px 9px; white-space: nowrap; font-size: 11.5px; font-weight: 900;
  box-shadow: 0 3px 8px rgba(16, 56, 45, .18); letter-spacing: .2px;
}
.etaChip small { font-weight: 700; opacity: .8; }

/* ---------- 底部组合卡 ---------- */
.cards {
  position: absolute; bottom: 92px; left: 0; right: 0; z-index: 18;
  display: flex; gap: 11px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 26px 6px; scrollbar-width: none; scroll-behavior: smooth;
}
.cards::-webkit-scrollbar { display: none; }
.card {
  flex: 0 0 calc(100% - 40px); scroll-snap-align: center;
  max-height: 348px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px);
  border: 1px solid #fff; border-radius: 24px; padding: 15px 15px 14px;
  box-shadow: var(--shadow-l); min-width: 0;
}
.card h2 { margin: 0 0 9px; font-size: 17px; line-height: 1.35; font-weight: 900; letter-spacing: -.3px; min-height: 46px; }
/* 偶遇：标题前的真人头像（可点进个人主页） */
.cardHead { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.cardHead h2 { margin: 0; min-height: 0; flex: 1; }
.personBtn {
  width: 38px; height: 38px; flex: 0 0 auto; padding: 0; border-radius: 50%;
  overflow: hidden; border: 2px solid #fff; box-shadow: 0 4px 12px rgba(23, 59, 48, .22);
  background: #e7efe9; transition: transform .16s ease;
}
.personBtn:active { transform: scale(.94); }
.personBtn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cardTags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.ctag { font-size: 10px; font-weight: 850; border-radius: 7px; padding: 5px 7px; background: #e4f6ed; color: #0b8e73; }
.ctag:nth-child(2) { background: #fff1d9; color: #a16c20; }
.ctag:nth-child(3) { background: #e9ecff; color: #6361aa; }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.point {
  position: relative; min-width: 0; border: 1px solid #e4eee8; border-radius: 15px;
  background: #f7faf8; padding: 10px 10px 34px; min-height: 148px; text-align: left;
}
.point .phead { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 900; margin-bottom: 4px; }
.point .pname {
  font-size: 15px; font-weight: 900; line-height: 1.3; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.point .pcat { font-size: 9px; font-weight: 800; color: #6d8a7e; background: #eaf3ec; border-radius: 6px; padding: 2px 5px; }
.reason {
  background: #dff7e8; color: #146b50; border-radius: 9px; padding: 7px 8px;
  line-height: 1.42; font-size: 11px; font-weight: 750; min-height: 40px;
}
.facts { margin-top: 7px; font-size: 10px; color: #6a8177; line-height: 1.6; }
.facts .k { color: #96a89f; }
.swapBtn {
  position: absolute; left: 10px; bottom: 6px; font-size: 10px; font-weight: 800;
  color: #6b8a7d; background: #fff; border: 1px dashed #d6e5dc; border-radius: 8px;
  padding: 4px 6px; min-height: 24px;
}
/* 触摸热区扩展（可视尺寸不变，热区 ≥ 44px） */
.swapBtn::after { content: ''; position: absolute; inset: -7px; }
.swapBtn { position: absolute; }
.cardActions { display: flex; gap: 9px; margin-top: 11px; }
.action { border-radius: 13px; padding: 11px 8px; font-size: 12px; font-weight: 850; background: #edf4ef; color: #385f50; min-height: 42px; }
.action.primary { flex: 1; background: var(--mint); color: #fff; }
.action.saved { background: #fff2d6; color: #a3701c; }

.emptyState {
  position: absolute; top: 42%; left: 8%; right: 8%; z-index: 19;
  background: #fffdfb; padding: 18px 16px; border-radius: 18px; text-align: center;
  font-size: 13px; color: #576e63; box-shadow: var(--shadow-m); line-height: 1.6;
}
.emptyState button {
  margin-top: 10px; background: var(--mint); color: #fff; border-radius: 12px;
  padding: 10px 16px; font-weight: 850; font-size: 12.5px; min-height: 42px;
}

.homebar { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 104px; height: 4px; background: #17372d; border-radius: 10px; z-index: 30; opacity: .85; }

/* ---------- 底部弹层 ---------- */
.overlay { position: absolute; inset: 0; background: rgba(16, 33, 27, .55); z-index: 56; display: flex; align-items: flex-end; }
.sheet { background: #fff; width: 100%; border-radius: 26px 26px 0 0; padding: 16px 18px 26px; box-shadow: 0 -8px 30px rgba(23, 39, 31, .18); max-height: 74%; overflow: auto; }
.sheetTop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sheet h3 { margin: 0; font-size: 17.5px; font-weight: 900; }
.sheet .sub { font-size: 11px; color: #8ba096; margin-bottom: 8px; line-height: 1.5; }
.closeBtn { width: 34px; height: 34px; border-radius: 50%; background: #eef4ef; font-size: 20px; color: #486258; }
.sheet button.option {
  display: block; text-align: left; background: #f3f8f5; border-radius: 12px; padding: 13px;
  margin-top: 8px; width: 100%; color: #2d5144; font-weight: 800; font-size: 13px; min-height: 46px;
}
.sheet button.option.on { background: #e2f6ee; color: var(--mint-deep); box-shadow: inset 0 0 0 1.5px #4ccba5; }
.searchRow { display: flex; gap: 8px; margin: 10px 0 4px; }
.searchRow input {
  flex: 1; border: 1px solid #e2ece7; border-radius: 12px; padding: 11px 12px; font-size: 13px;
  background: #f7faf8; color: var(--ink); min-height: 44px; outline: none;
}
.sheet .note { font-size: 10.5px; color: #93a79d; margin-top: 10px; line-height: 1.6; }

/* 偶遇人物主页 */
.personCard { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.personAvatar {
  width: 66px; height: 66px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; box-shadow: var(--shadow-s); flex: 0 0 auto;
}
.personName { font-size: 17px; font-weight: 900; }
.personBio { font-size: 11.5px; color: #7d968c; margin-top: 4px; line-height: 1.5; }
.personSection { margin: 18px 0 8px; font-size: 12.5px; font-weight: 900; color: #35544b; }
.habitList { margin: 0; padding-left: 18px; }
.habitList li { font-size: 12px; line-height: 1.65; color: #4b6a5f; margin-bottom: 6px; }
.personPhotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.personPhotos img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  border-radius: 12px; background: #e7efe9;
}

.routeList { margin-top: 6px; }
.routeItem { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed #e8efea; }
.routeItem:last-child { border-bottom: 0; }
.routeDot { width: 22px; height: 22px; border-radius: 50%; background: #e6f4ee; color: var(--mint-deep); font-size: 11px; font-weight: 900; display: grid; place-items: center; flex: 0 0 auto; }
.routeDot.base { background: #e8f1fd; color: #2f6fc4; }
.routeName { font-size: 13px; font-weight: 850; }
.routeMeta { font-size: 11px; color: #7d968c; margin-top: 2px; }

/* ---------- 全屏视频 ---------- */
.fullVideo { position: absolute; inset: 0; z-index: 50; overflow: hidden; background: #17323a; }
.fullVideo .videoArt { inset: 0; }
.fullVideo .videoArt .subject { font-size: 118px; }
.fullVideo .videoArt .sun { width: 92px; height: 92px; }
.vidTop {
  position: absolute; top: 46px; left: 18px; right: 18px; display: flex;
  justify-content: flex-end; align-items: center; color: #fff; z-index: 3;
}
.vidTop button { width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.34); color: #fff; font-size: 20px; }
.vidInfo { position: absolute; bottom: 18px; left: 16px; right: 16px; color: #fff; z-index: 3; }
.creator { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 14px; }
.creator .avatarImg {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; flex: 0 0 auto; background: #dfeae3;
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(120deg, #f9e4b0, #b3d6ed); border: 2px solid #fff; font-size: 19px;
}
.creator .friendTag { font-size: 10px; font-weight: 800; background: rgba(255,255,255,.22); padding: 3px 7px; border-radius: 10px; }
.description { margin: 10px 70px 12px 0; line-height: 1.5; font-size: 13px; text-shadow: 0 2px 5px rgba(0,0,0,.5); }
.poiSmall {
  display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.94);
  color: #26473c; border-radius: 14px; padding: 8px 10px; margin-right: 62px;
}
.poiSmall .thumb { width: 42px; height: 42px; border-radius: 10px; background: #dcead4; display: grid; place-items: center; font-size: 21px; flex: 0 0 auto; }
.poiSmall .nm { font-size: 12.5px; font-weight: 900; line-height: 1.3; }
.poiSmall .meta { font-size: 10px; color: #7c8f86; margin-top: 2px; }
.poiSmall .go { margin-left: auto; font-size: 18px; color: #8fa79b; }
.social { position: absolute; right: 14px; bottom: 120px; display: flex; flex-direction: column; gap: 17px; text-align: center; color: #fff; z-index: 3; }
.social button { color: #fff; font-size: 25px; text-shadow: 0 3px 5px rgba(0,0,0,.45); }
.social button.liked { color: #ff5a6e; }
.social label { display: block; font-size: 10px; font-weight: 800; margin-top: 2px; }
/* 两段式进度：每段对应一个站点，播完自动进入下一段 */
.vidProgress { position: absolute; bottom: 5px; left: 10px; right: 10px; height: 3px; display: flex; gap: 4px; z-index: 3; }
.vidProgress .seg { flex: 1; background: rgba(255,255,255,.32); border-radius: 3px; overflow: hidden; }
.vidProgress .seg b { display: block; height: 100%; width: 0; background: rgba(255,255,255,.9); border-radius: 3px; transition: width .14s linear; }
.vidProgress .seg.on { background: rgba(255,255,255,.44); }
.vidWarn { position: absolute; top: 92px; left: 18px; font-size: 10px; color: rgba(255,255,255,.85); background: rgba(0,0,0,.28); padding: 5px 9px; border-radius: 12px; z-index: 3; }

/* ---------- Toast ---------- */
.toast {
  position: absolute; top: 196px; left: 50%; transform: translateX(-50%);
  background: rgba(23, 62, 51, .94); color: #fff; z-index: 70; border-radius: 20px;
  padding: 10px 14px; font-size: 12px; max-width: 86%; text-align: center; line-height: 1.45;
  box-shadow: var(--shadow-m); animation: toastIn .22s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(-6px) } }

/* ---------- 紧凑屏适配 ---------- */
@media (max-height: 830px), (max-width: 382px) {
  .videoBox { width: 42px; height: 75px; }
  .pin.big .videoBox { width: 72px; height: 128px; }
  .pinLabel { font-size: 11px; max-width: 106px; }
  .pin.big .pinLabel { font-size: 12px; max-width: 116px; }
  .etaChip { font-size: 11px; padding: 4px 8px; }
  .catTag { font-size: 7px; padding: 2px 4px; border-radius: 6px; }
  .pin.big .catTag { font-size: 8px; padding: 3px 5px; }
}
@media (max-height: 780px) {
  .cards { bottom: 16px; }
  .card { padding: 12px 12px 11px; border-radius: 20px; max-height: 336px; }
  .card h2 { font-size: 15.5px; min-height: 40px; margin-bottom: 7px; }
  .point { min-height: 118px; padding: 8px 8px 30px; }
  .reason { font-size: 10px; min-height: 34px; }
  .facts { font-size: 9px; }
  .hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
}

/* ============================================================
 * 底部悬浮圆形按钮（首页 / 发布 / 我的）
 * ============================================================ */
.bottomBar {
  position: absolute; left: 0; right: 0; bottom: 24px; z-index: 30;
  display: flex; justify-content: center; align-items: center; gap: 34px;
}
.fab {
  width: 54px; height: 54px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-m); position: relative; flex: 0 0 auto;
}
.fab.big {
  width: 66px; height: 66px; font-size: 34px; font-weight: 300;
  background: var(--mint); color: #fff; box-shadow: 0 12px 26px rgba(9, 175, 149, .38);
}
.fab.big:active { transform: scale(.94); }
.logoMark {
  width: 28px; height: 28px; border-radius: 50%; position: relative;
  background: conic-gradient(from 180deg, #16b39a, #78d8c9, #16b39a);
}
.logoMark::after {
  content: ''; position: absolute; left: 7px; top: 7px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff;
}
.avatarFab { overflow: visible; }
.avatarFab img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.redDot {
  position: absolute; right: -1px; top: -1px; width: 14px; height: 14px;
  background: #ff4d4d; border-radius: 50%; border: 2px solid #fff;
}

/* ============================================================
 * 全屏页面容器
 * ============================================================ */
.page {
  position: absolute; inset: 0; z-index: 45; overflow: hidden;
  background: var(--bg); isolation: isolate;
}
.roundBtn {
  width: 38px; height: 38px; border-radius: 50%; background: #fff;
  box-shadow: var(--shadow-s); font-size: 22px; color: #2f5449;
  display: grid; place-items: center; flex: 0 0 auto;
}

/* ---------- 照着去：上半屏地图 + 两张独立半页卡 ---------- */
.dMap { position: absolute; left: 0; right: 0; top: 0; height: var(--map-h, 46%); background: #e7eee9; z-index: 1; }
.dMap .leaflet-container { width: 100%; height: 100%; background: #e7eee9; font: inherit; }
.dMap .leaflet-control-attribution { font-size: 8px; padding: 1px 5px; border-radius: 6px 0 0 6px; background: rgba(255,255,255,.78); color: #5a766c; }
.dMap .leaflet-bottom.leaflet-right { bottom: auto; top: 4px; right: 4px; }
.dRoute { position: absolute; left: 0; right: 0; top: 0; height: var(--map-h, 46%); z-index: 3; pointer-events: none; }
.dPins { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.dPins .pin { pointer-events: auto; }
.dEta { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.dBase { position: absolute; z-index: 8; transform: translate(-50%, -50%); width: 38px; height: 43px; }
.dBase .drop {
  width: 38px; height: 43px; background: #3b94f7; border: 4px solid #fff;
  border-radius: 54% 54% 54% 8%; transform: rotate(-45deg); display: grid; place-items: center;
  box-shadow: 0 4px 0 rgba(0,0,0,.06), 0 0 0 8px rgba(59,148,247,.18);
}
.dBase .drop span { transform: rotate(45deg); color: #fff; font-size: 17px; }
.dBase .pulse {
  position: absolute; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(59,148,247,.22); animation: pulse 2.2s infinite ease-out; z-index: -1;
}
.dHead {
  position: absolute; top: 52px; left: 16px; right: 16px; z-index: 12;
  display: flex; align-items: center; gap: 10px;
}
.dTitle { font-size: 17px; font-weight: 950; letter-spacing: -.3px; text-shadow: 0 1px 6px rgba(255,255,255,.9); }
.dStep {
  margin-left: auto; background: rgba(255,255,255,.94); border-radius: 999px;
  padding: 7px 12px; font-size: 12px; font-weight: 900; color: #2f5449; box-shadow: var(--shadow-s);
}
.dSheet {
  position: absolute; left: 0; right: 0; top: var(--map-h, 46%); bottom: 0; z-index: 11;
  background: #fff; border-radius: 26px 26px 0 0;
  box-shadow: 0 -10px 30px rgba(23, 59, 48, .16);
  display: flex; flex-direction: column; padding-top: 10px;
}
.dSheet::before {
  content: ''; display: block; width: 44px; height: 4px; border-radius: 5px;
  background: #d9e3dd; margin: 0 auto 8px; flex: 0 0 auto;
}
.dCards {
  flex: 1; min-height: 0; display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; padding: 4px 22px 8px; scrollbar-width: none;
}
.dCards::-webkit-scrollbar { display: none; }
.dCard {
  flex: 0 0 calc(100% - 44px); scroll-snap-align: center; min-width: 0;
  overflow-y: auto; padding-right: 2px;
}
.dCardTop { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.dIdx { font-size: 12px; font-weight: 900; color: var(--mint-deep); }
.dCat { font-size: 10px; font-weight: 900; color: #fff; border-radius: 7px; padding: 3px 7px; }
.dDist { font-size: 10px; font-weight: 800; color: #7d968c; }
.dCard h2 { margin: 0 0 5px; font-size: 21px; font-weight: 950; letter-spacing: -.5px; line-height: 1.25; }
.dAddr { font-size: 11.5px; color: #6a8177; line-height: 1.5; margin-bottom: 9px; }
.warnTag { font-size: 9px; font-weight: 800; color: #a3701c; background: #fff2d6; border-radius: 6px; padding: 1px 5px; }
.dPhotos { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.dPhotos::-webkit-scrollbar { display: none; }
.dPhoto {
  position: relative; flex: 0 0 auto; padding: 0; border-radius: 12px; overflow: hidden;
  background: #e7efe9; box-shadow: var(--shadow-s);
}
.dPhoto img { width: 116px; height: 86px; object-fit: cover; display: block; }
.dPhoto .src {
  position: absolute; left: 4px; bottom: 4px; font-size: 8px; font-weight: 800;
  color: #fff; background: rgba(20, 50, 40, .55); border-radius: 6px; padding: 1px 5px;
}
.dPhotos.empty { display: block; }
.phBox {
  height: 86px; border-radius: 12px; background: repeating-linear-gradient(45deg, #eef4f0, #eef4f0 8px, #e6efe9 8px, #e6efe9 16px);
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #8ba096;
}
.phNote { font-size: 10px; color: #93a79d; margin-top: 5px; line-height: 1.5; }
.dInfo { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.dInfo span {
  font-size: 11px; font-weight: 800; color: #2f5449; background: #eef6f1;
  border-radius: 9px; padding: 6px 8px;
}
.dReason { background: #dff7e8; border-radius: 13px; padding: 10px 11px; }
.dReasonFrom { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; color: #146b50; margin-bottom: 5px; }
.dReasonFrom img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 1.5px solid #fff; }
.miniAvatar { width: 24px; height: 24px; border-radius: 50%; background: #cfe8dc; display: grid; place-items: center; }
.dReasonText { font-size: 12.5px; line-height: 1.55; font-weight: 700; color: #265548; }
.dNote { font-size: 10px; color: #93a79d; margin-top: 8px; line-height: 1.6; }
.dActions {
  flex: 0 0 auto; display: flex; gap: 8px; padding: 10px 18px 16px;
  border-top: 1px solid #eef3f0; background: #fff;
}
.dActions button {
  flex: 1; border-radius: 14px; padding: 12px 4px; font-size: 12px; font-weight: 850;
  background: #eef4ef; color: #33594c; min-height: 44px;
}
.dActions button.primary { background: var(--mint); color: #fff; flex: 1.25; }

/* ---------- 个人主页（地图 + 三个 Tab） ---------- */
.pMap { position: absolute; inset: 0; background: #e7eee9; z-index: 1; }
.pMap .leaflet-container { width: 100%; height: 100%; background: #e7eee9; font: inherit; }
.pMap .leaflet-control-attribution { font-size: 8px; padding: 1px 5px; border-radius: 6px 0 0 6px; background: rgba(255,255,255,.78); color: #5a766c; }
.pMap .leaflet-bottom.leaflet-right { bottom: auto; top: 4px; right: 4px; }
.pRoute { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pPins { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.pPins .pin { pointer-events: auto; }
.pEta { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.pBase { position: absolute; z-index: 8; transform: translate(-50%, -50%); width: 38px; height: 43px; }
.pBase .drop {
  width: 38px; height: 43px; background: #3b94f7; border: 4px solid #fff;
  border-radius: 54% 54% 54% 8%; transform: rotate(-45deg); display: grid; place-items: center;
  box-shadow: 0 4px 0 rgba(0,0,0,.06), 0 0 0 8px rgba(59,148,247,.18);
}
.pBase .drop span { transform: rotate(45deg); color: #fff; font-size: 17px; }
.pBase .pulse {
  position: absolute; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(59,148,247,.22); animation: pulse 2.2s infinite ease-out; z-index: -1;
}
.pNav { position: absolute; top: 52px; left: 16px; right: 16px; z-index: 12; display: flex; align-items: center; gap: 10px; }
.pAvatar {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
  border: 2.5px solid #fff; box-shadow: var(--shadow-s); flex: 0 0 auto;
}
.pName { font-size: 16px; font-weight: 950; margin-right: auto; min-width: 0; text-shadow: 0 1px 6px rgba(255,255,255,.9); }
.pName .pSub { display: block; font-size: 10.5px; font-weight: 700; color: #6a8177; margin-top: 2px; text-shadow: none; }
.pFollow {
  border-radius: 999px; background: #e4f7f0; color: #087f6c; padding: 8px 12px;
  font-size: 12px; font-weight: 900; flex: 0 0 auto; box-shadow: var(--shadow-s);
}
.pTabs {
  position: absolute; top: 108px; left: 16px; right: 16px; z-index: 12;
  display: flex; gap: 7px;
}
.pTabs button {
  flex: 1; border-radius: 999px; background: rgba(255,255,255,.94); padding: 9px 4px;
  font-size: 12.5px; font-weight: 850; color: #4b6a5f; box-shadow: var(--shadow-s); min-height: 38px;
}
.pTabs button.on { background: #174f43; color: #fff; }
.pBody { position: absolute; inset: 0; z-index: 10; }
.pBody.plans { pointer-events: none; }
.pCards {
  position: absolute; left: 0; right: 0; bottom: 34px; display: flex; gap: 13px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 22px 8px;
  scrollbar-width: none; pointer-events: auto; touch-action: pan-x;
}
.pCards::-webkit-scrollbar { display: none; }
.pCard {
  flex: 0 0 calc(100% - 44px); scroll-snap-align: center; background: #fff;
  border-radius: 24px; padding: 15px 15px 13px; box-shadow: var(--shadow-l); min-width: 0;
}
.pCard h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.35; font-weight: 900; letter-spacing: -.3px; }
.pCardTags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 9px; }
.pPlaces { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pPlace { background: #f4faf6; border-radius: 13px; padding: 10px; min-width: 0; }
.pPlace b { display: block; font-size: 12.5px; font-weight: 900; margin-bottom: 5px; }
.pPlace span { font-size: 11px; line-height: 1.45; color: #4b6a5f; }
.pCardActions { display: flex; gap: 8px; margin-top: 11px; }
.pCardActions button {
  flex: 1; border-radius: 12px; padding: 10px 6px; font-size: 12px; font-weight: 850;
  background: #eef4ef; color: #33594c; min-height: 42px;
}
.pCardActions button.primary { background: var(--mint); color: #fff; }
.pBody.video, .pBody.photos { top: 162px; overflow-y: auto; padding: 0 16px 24px; pointer-events: auto; }
.pGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pTile {
  position: relative; border-radius: 16px; overflow: hidden; padding: 0;
  background: #e7efe9; box-shadow: var(--shadow-s); aspect-ratio: 3 / 4;
}
.pTile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pPlay {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.42); color: #fff;
  display: grid; place-items: center; font-size: 14px;
}
.pTileName {
  position: absolute; left: 6px; bottom: 6px; font-size: 10px; font-weight: 900; color: #fff;
  background: rgba(20,50,40,.55); border-radius: 7px; padding: 2px 6px; max-width: calc(100% - 12px);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pFoot { font-size: 10.5px; color: #93a79d; text-align: center; margin-top: 12px; line-height: 1.6; }

/* ---------- 个人中心 ---------- */
.meHead {
  position: absolute; top: 52px; left: 16px; right: 16px; z-index: 4;
  display: flex; align-items: center; gap: 10px;
}
.meTitle { font-size: 18px; font-weight: 950; letter-spacing: -.3px; }
.meHero {
  position: absolute; top: 104px; left: 16px; right: 16px; display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 22px; padding: 15px; box-shadow: var(--shadow-s);
}
.meAvatar { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 2.5px solid #fff; box-shadow: var(--shadow-s); flex: 0 0 auto; }
.meName { font-size: 18px; font-weight: 950; }
.meBio { font-size: 12px; color: #4b6a5f; margin-top: 4px; }
.meMeta { font-size: 10.5px; color: #93a79d; margin-top: 3px; }
.meStats {
  position: absolute; top: 204px; left: 16px; right: 16px; display: flex; gap: 8px;
}
.meStats span {
  flex: 1; background: #fff; border-radius: 14px; padding: 9px 4px; text-align: center;
  font-size: 10.5px; color: #6a8177; font-weight: 800; box-shadow: var(--shadow-s);
}
.meStats b { display: block; font-size: 17px; font-weight: 950; color: var(--ink); margin-bottom: 2px; }
.meEntries { position: absolute; top: 262px; left: 16px; right: 16px; display: flex; flex-direction: column; gap: 10px; }
.meEntries button {
  display: flex; align-items: center; gap: 11px; background: #fff; border-radius: 16px;
  padding: 15px 14px; box-shadow: var(--shadow-s); font-size: 14px; font-weight: 850; text-align: left;
  min-height: 56px;
}
.meEntries i { font-style: normal; font-size: 19px; }
.meEntries em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 800; color: #7d968c; }
.meEntries span { font-size: 16px; color: #b3c3bb; }
.meEntries u {
  text-decoration: none; background: #ff4d4d; color: #fff; border-radius: 999px;
  font-size: 10px; font-weight: 900; padding: 2px 6px; margin-left: 6px;
}
.meFoot { position: absolute; bottom: 22px; left: 22px; right: 22px; font-size: 10px; color: #93a79d; line-height: 1.6; text-align: center; }
.meList, .meMsgs { position: absolute; top: 104px; bottom: 14px; left: 16px; right: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.meItem { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-s); text-align: left; }
.meItemTitle { font-size: 14px; font-weight: 900; line-height: 1.4; }
.meItemSub { font-size: 11.5px; color: #6a8177; margin-top: 5px; }
.meItemTags { display: flex; gap: 5px; margin-top: 8px; }
.meItemTags span { font-size: 10px; font-weight: 800; color: #0b8e73; background: #e4f6ed; border-radius: 6px; padding: 3px 6px; }
.meMsg { display: flex; gap: 11px; background: #fff; border-radius: 16px; padding: 13px; box-shadow: var(--shadow-s); text-align: left; position: relative; }
.meMsg img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.meMsgTop { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 900; }
.meMsgTop span { font-weight: 700; color: #93a79d; font-size: 10.5px; }
.meMsgText { font-size: 12px; color: #4b6a5f; margin-top: 5px; line-height: 1.5; }
.meMsg.new::after { content: ''; position: absolute; right: 12px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; }
.meEmpty { position: absolute; top: 40%; left: 0; right: 0; text-align: center; font-size: 12.5px; color: #7d968c; }

/* ---------- 大图浏览 ---------- */
.lightbox {
  position: absolute; inset: 0; z-index: 60; background: rgba(12, 22, 18, .94);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px;
}
.lightbox img { max-width: 100%; max-height: 74%; border-radius: 16px; object-fit: contain; }
.lbCap { font-size: 12px; color: #d9e6df; text-align: center; line-height: 1.6; }
.lbClose {
  position: absolute; right: 18px; top: 46px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.16); color: #fff; font-size: 22px; display: grid; place-items: center;
}

/* ---------- 弹层表单 ---------- */
.sheet .field {
  display: block; width: 100%; margin-top: 9px; border: 1px solid #e2ece7;
  border-radius: 12px; padding: 12px; font-size: 13px; background: #f7faf8;
  color: var(--ink); min-height: 46px; outline: none;
}

/* ---------- 紧凑屏适配 ---------- */
@media (max-height: 830px), (max-width: 382px) {
  .bottomBar { bottom: 18px; gap: 26px; }
  .fab { width: 50px; height: 50px; }
  .fab.big { width: 60px; height: 60px; font-size: 30px; }
  .cards { bottom: 84px; }
  .dCard h2 { font-size: 19px; }
  .meEntries { top: 252px; }
  .meStats { top: 196px; }
  .meHero { top: 98px; }
}

/* 视频 / 照片 Tab：隐去地图，避免文字压在底图注记上 */
.page.solid .pMap,
.page.solid .pRoute,
.page.solid .pPins,
.page.solid .pEta,
.page.solid .pBase { opacity: 0; pointer-events: none; }
.page.solid .pBody.video,
.page.solid .pBody.photos { background: linear-gradient(180deg, #f2f8f4 0%, #eef4ef 100%); }

/* 顶部文字压在地图上时的可读性保护 */
.dHead::before,
.pNav::before {
  content: ''; position: absolute; left: -20px; right: -20px; top: -60px; height: 146px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.72) 46%, rgba(255,255,255,0));
  z-index: -1; pointer-events: none;
}
/* 版权信息移到地图右下，避免与顶部控件打架 */
.dMap .leaflet-bottom.leaflet-right,
.pMap .leaflet-bottom.leaflet-right { bottom: 6px; top: auto; right: 6px; }

/* 卡片内容超出一屏时，底部操作按钮常驻可见 */
.card { display: flex; flex-direction: column; }
.card .cardActions {
  position: sticky; bottom: -15px; margin-top: auto;
  padding: 9px 0 3px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 30%);
}

/* 卡片内部滚动条隐藏，视觉更干净 */
.card::-webkit-scrollbar, .dCard::-webkit-scrollbar { display: none; }
.card { scrollbar-width: none; }
.dCard { scrollbar-width: none; }

/* 卡片信息更紧凑，尽量一屏放下 */
.card h2 { font-size: 16.5px; line-height: 1.32; margin-bottom: 8px; }
.point .reason { -webkit-line-clamp: 3; }
.point .facts { font-size: 10px; }

/* 照着去：顶部行程概览 */
.dSummary {
  flex: 0 0 auto; display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  padding: 0 22px 8px; font-size: 11.5px; font-weight: 850; color: #4b6a5f;
}
.dSummary .dTotal { color: var(--mint-deep); }
.dSummary .dLeg { background: #eef6f1; border-radius: 8px; padding: 3px 7px; }
.dSummary i { font-style: normal; color: #b3c3bb; font-weight: 700; }

/* 详情 / 主页地图里的泡泡略小一档，名称不打架 */
#dPins .pin .videoBox, #pPins .pin .videoBox { width: 40px; height: 71px; border-radius: 10px; }
#dPins .pin.big .videoBox, #pPins .pin.big .videoBox { width: 68px; height: 120px; border-radius: 14px; }
#dPins .pinLabel, #pPins .pinLabel { font-size: 9.5px; max-width: 84px; }
#dPins .pin.big .pinLabel, #pPins .pin.big .pinLabel { font-size: 11.5px; max-width: 118px; }
#dPins .pin .catTag, #pPins .pin .catTag { font-size: 7.5px; }
#dPins .pin.big .catTag, #pPins .pin.big .catTag { font-size: 8.5px; }

/* 个人主页：地图本身已有地名，出发点只保留蓝点，避免与名称标签互相压盖 */
.pBase .baseLabel { display: none; }

.meAbout {
  position: absolute; top: 470px; left: 16px; right: 16px;
  background: #fff; border-radius: 18px; padding: 14px 15px; box-shadow: var(--shadow-s);
  font-size: 11px; line-height: 1.8; color: #6a8177;
}
.meAbout .meAboutTitle { font-size: 12.5px; font-weight: 900; color: #2f5449; margin-bottom: 6px; }

/* ================= 首页信息流卡片（作者 + 去过/准备去） ================= */
.topRow { align-items: center; gap: 8px; }
.themeChip {
  height: 30px; padding: 0 12px; border-radius: 999px;
  background: #fff; border: 1px solid #d8e8de; color: #174f43;
  font-size: 12.5px; font-weight: 900; letter-spacing: .2px;
  box-shadow: 0 3px 10px rgba(23, 79, 67, .07);
}

.cards .card { padding: 14px 14px 12px; border-radius: 24px; }

.cardHead { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.cardHead .personBtn {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%;
  overflow: hidden; background: #dfeee6; border: 0; padding: 0;
}
.cardHead .personBtn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cardHead .who { flex: 1 1 auto; min-width: 0; }
.cardHead .whoName {
  font-size: 14.5px; font-weight: 900; color: #17332a; line-height: 1.2;
  display: flex; align-items: center; gap: 4px;
}
.cardHead .whoArrow { font-size: 11px; color: #9db3a8; font-weight: 700; }
.cardHead .whoWhen { margin-top: 3px; font-size: 11px; font-weight: 700; color: #78938a; }
.followBtn {
  flex: 0 0 auto; height: 30px; padding: 0 13px; border-radius: 999px;
  background: #e8f6ef; color: #17937b; border: 1px solid #cfeee2;
  font-size: 12px; font-weight: 900;
}
.followBtn.on { background: #fff; color: #7e968c; border-color: #e0ece5; }

.card h2 { font-size: 17px; line-height: 1.34; margin: 0 0 8px; color: #14322a; letter-spacing: -.2px; }

.points { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.point {
  position: relative; padding: 10px 10px 9px; border-radius: 15px;
  background: #f4f8f4; border: 1px solid #e8f0e9;
}
.point .pname { font-size: 13.5px; font-weight: 900; color: #17402f; margin-bottom: 5px; }
.point .reason {
  font-size: 11.5px; line-height: 1.45; color: #56736a; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.point .facts {
  margin-top: 7px; font-size: 10px; line-height: 1.3; color: #8aa096; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.point .swapBtn {
  position: absolute; right: 6px; bottom: 6px; width: 22px; height: 22px; padding: 0;
  border-radius: 50%; background: #fff; border: 1px solid #e2ede6; color: #6f8c81;
  font-size: 11px; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 1px 4px rgba(23, 59, 48, .08);
}

.cardActions { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 8px; margin-top: 10px; }
.cardActions .action {
  height: 40px; border-radius: 13px; background: #f2f7f3; color: #35594c;
  border: 1px solid #e6efe8; font-size: 12.5px; font-weight: 900; padding: 0 4px;
}
.cardActions .action.primary { background: var(--mint); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(9, 175, 149, .26); }
.cardActions .action.saved { color: #17937b; background: #e8f6ef; }

/* 底部：从屏幕底部向上的渐变遮罩 */
.shade {
  background:
    linear-gradient(180deg, #f5faf6f2 0%, #f5faf6d9 14%, #f5faf633 26%, transparent 33%),
    linear-gradient(0deg, #eef6f0f7 0%, #eef6f0d9 12%, #eef6f066 26%, transparent 40%);
}

/* 我的头像：必须正好铺满圆形 */
.avatarFab { padding: 0; overflow: hidden; }
.avatarFab img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  border-radius: 50%; display: block;
}

/* 极简底图：降饱和 + 提亮，接近「浅色极简」样式 */
.realMap .leaflet-tile { filter: saturate(.34) brightness(1.07) contrast(.88); }

/* 子卡：清掉旧版的绿色药丸底色，改成纯文字块 */
.point .reason {
  background: transparent; padding: 0; min-height: 0; border-radius: 0;
  font-size: 11.5px; line-height: 1.45; color: #56736a; font-weight: 700;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.point .facts { margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25; }
.point .swapBtn { left: auto; top: auto; }
.point .pname { margin-top: 0; }
.cards .card { gap: 0; }

.point { min-height: 0; padding: 10px 10px 9px; }

/* 子卡右下角的「换一个」按钮，别压住单行的门票/营业信息 */
.point .facts { padding-right: 22px; }

/* 极简底图上的品牌色薄纱，让偏灰的瓦片更贴近整体调性 */
.realMap::after {
  content: ''; position: absolute; inset: 0; z-index: 400; pointer-events: none;
  background: rgba(240, 247, 242, .3);
}

/* 已经接上官方「极简」自定义样式（Key + 样式 ID）时，
   上面那套「降饱和滤镜 + 薄纱」是给免 Key 栅格瓦片做模拟的，此时要关掉，
   否则会把自定义样式的配色再洗一遍。 */
.realMap.mapCustom .leaflet-tile { filter: none; }
.realMap.mapCustom::after { display: none; }

/* ============================================================
 * 顶部：主题下拉胶囊（与右侧「5公里」同体量，紧贴「偶遇」标题）
 * ============================================================ */
.topLeft { display: flex; align-items: center; gap: 10px; min-width: 0; }
.top .themeChip {
  height: auto; min-height: 40px; padding: 10px 12px; border-radius: 15px;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; gap: 7px;
}
.top .themeChip .caret { font-size: 10px; color: var(--ink-3); }

/* 页卡后面的渐变遮罩：只保留底部一条，从屏幕下边缘向上渐隐到卡片上边缘 */
.shade {
  background: linear-gradient(0deg,
    #eef6f0 0%, #eef6f0f7 18%, #eef6f0d9 30%, #eef6f066 44%, transparent 53%);
}

/* 子点小卡「换一个」：不再悬浮压在信息行上，独占一行靠右 */
.point .swapBtn { position: static; display: flex; margin-left: auto; margin-top: 7px; }
.point .facts { padding-right: 0; }
