/* 深游 · 深圳行程工具 —— 样式
   设计取向：安静、可信、信息密度高但不拥挤。
   移动优先，≥900px 自动切成「左侧栏 + 内容区」的桌面布局。 */

:root {
  --brand: #0E6E5C;
  --brand-ink: #08503F;
  --brand-soft: #E1F5EE;
  --in: #185FA5;
  --in-soft: #E6F1FB;
  --out: #639922;
  --out-soft: #EAF3DE;
  --warn: #A32D2D;
  --warn-soft: #FCEBEB;
  --amber: #BA7517;
  --amber-soft: #FAEEDA;

  --ink: #16181A;
  --ink-2: #4A4F55;
  --sub: #6E747C;
  --line: #E7E7E3;
  --line-2: #F0F0EC;
  --bg: #F7F7F5;
  --card: #FFFFFF;

  --r-card: 14px;
  --r-btn: 10px;
  --r-chip: 999px;
  --pad: 16px;
  --nav-h: 58px;
  --head-h: 56px;
  --shadow: 0 1px 2px rgba(20, 22, 24, .04), 0 6px 20px -12px rgba(20, 22, 24, .18);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
/* 始终为滚动条预留槽位：发现页（列表很长）与行程页（内容很短）来回切换时，
   滚动条不会时有时无，内容宽度不再重排，消除列表横向跳动。 */
html { scrollbar-gutter: stable; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.65 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: var(--brand); text-decoration: none; }
.hidden { display: none !important; }

/* ---------------- 骨架 ---------------- */
.app { padding-bottom: calc(var(--nav-h) + 12px); min-height: 100%; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  height: var(--head-h); display: flex; align-items: center; gap: 10px;
  padding: 0 var(--pad);
  background: rgba(247, 247, 245, .88);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; letter-spacing: -.2px; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto;
  background: linear-gradient(135deg, #085A4A, #12A07A 55%, #2ED9A8); color: #fff; display: grid; place-items: center;
  font-size: 13px; font-weight: 600;
}
.brand small { display: block; font-size: 11px; font-weight: 400; color: var(--sub); line-height: 1.1; letter-spacing: 0; }
.topbar .grow { flex: 1 1 auto; min-width: 0; }
.btn-ghost {
  border: 1px solid var(--line); background: #fff; border-radius: var(--r-chip);
  padding: 6px 12px; font-size: 13px; color: var(--ink-2); white-space: nowrap;
}
.btn-ghost:hover { border-color: #d5d5d0; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink);
  display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: 0 0 auto;
}

/* ---------------- 底部导航 / 侧栏 ---------------- */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  height: var(--nav-h); display: flex;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(150%) blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.nav button {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; font-size: 11px; color: var(--sub);
}
.nav button svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.nav button.on { color: var(--brand); font-weight: 500; }
.nav .badge {
  position: absolute; transform: translate(14px, -14px);
  min-width: 16px; height: 16px; border-radius: 8px; background: var(--warn); color: #fff;
  font-size: 10px; line-height: 16px; text-align: center; padding: 0 4px;
}

/* ---------------- 通用块 ---------------- */
.wrap { max-width: 760px; margin: 0 auto; padding: var(--pad); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 14px 16px; margin-bottom: 10px;
}
.card.flat { box-shadow: none; }
.card.tap { transition: border-color .15s, transform .15s; }
.card.tap:active { transform: scale(.995); }
.card.tap:hover { border-color: #d8d8d3; }
.h1 { font-size: 20px; font-weight: 600; letter-spacing: -.3px; margin: 6px 4px 10px; }
.h2 { font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 22px 4px 10px; display: flex; align-items: center; gap: 8px; }
.h2 .line { flex: 1 1 auto; height: 1px; background: var(--line); }
.muted { color: var(--sub); font-size: 13px; }
.tiny { color: var(--sub); font-size: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.wrap-text { overflow-wrap: anywhere; }
.stack > * + * { margin-top: 10px; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: var(--r-chip);
  padding: 6px 13px; font-size: 13px; color: var(--ink-2); white-space: nowrap;
}
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip.mini { padding: 3px 9px; font-size: 11.5px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }

.tagline { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 11px; border-radius: 6px; padding: 2px 7px;
  background: var(--line-2); color: var(--ink-2);
}
.tag.in { background: var(--in-soft); color: var(--in); }
.tag.out { background: var(--out-soft); color: var(--out); }
.tag.mix { background: var(--amber-soft); color: var(--amber); }
.tag.free { background: var(--brand-soft); color: var(--brand-ink); }
.tag.book { background: var(--warn-soft); color: var(--warn); }

.btn {
  background: var(--brand); color: #fff; border-radius: var(--r-btn);
  padding: 11px 16px; font-size: 14.5px; font-weight: 500; text-align: center;
}
.btn:active { background: var(--brand-ink); }
.btn.block { display: block; width: 100%; }
.btn.sec { background: #fff; color: var(--ink); border: 1px solid var(--line); font-weight: 400; }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.btn.danger { background: var(--warn); }
.btn[disabled] { opacity: .5; pointer-events: none; }
/* 按钮里的分享图标：和文字基线对齐，别把按钮撑高 */
.sh-ico { display: inline-flex; vertical-align: -2px; margin-right: 5px; }
.sh-ico svg { display: block; }

input[type=text], input[type=password], input[type=date], input[type=number], select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-btn);
  padding: 10px 12px; background: #fff; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field { margin-bottom: 10px; }
.field label { display: block; font-size: 12.5px; color: var(--sub); margin-bottom: 5px; }

/* ---------------- 发现页 ---------------- */
.hero {
  background: var(--brand); color: #fff; border-radius: var(--r-card);
  padding: 18px; margin-bottom: 12px;
}
.hero h1 { margin: 0 0 4px; font-size: 21px; font-weight: 600; letter-spacing: -.3px; }
.hero p { margin: 0 0 14px; font-size: 13px; opacity: .88; }
.hero .opts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.hero .opt {
  border: 1px solid rgba(255, 255, 255, .38); border-radius: var(--r-chip);
  padding: 5px 12px; font-size: 13px; color: #fff; background: rgba(255, 255, 255, .06);
}
.hero .opt.on { background: #fff; color: var(--brand-ink); border-color: #fff; font-weight: 500; }
.hero .go {
  display: block; width: 100%; background: #fff; color: var(--brand-ink);
  border-radius: var(--r-btn); padding: 12px; font-size: 15px; font-weight: 600; text-align: center;
}
.hero .lbl { font-size: 11.5px; opacity: .8; margin: 0 0 6px; letter-spacing: .3px; }
.hero .more-toggle {
  display: block; width: 100%; margin-top: 9px; text-align: center;
  color: #fff; opacity: .82; font-size: 12.5px; padding: 4px;
}
.hero .lbl + .opts { margin-bottom: 10px; }
.hero .opts { margin-bottom: 0; }
.hero .go { margin-top: 4px; }

.poi { display: flex; gap: 12px; align-items: flex-start; }
.poi-main { flex: 1 1 auto; min-width: 0; }
.poi-main h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 600; }
.poi-meta { font-size: 12px; color: var(--sub); margin: 0 0 5px; }
.poi-concl { font-size: 13.5px; color: var(--ink-2); margin: 5px 0 7px; }
.thumb {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-size: 17px; font-weight: 600;
  background: var(--line-2); color: var(--sub);
}
.thumb.in { background: var(--in-soft); color: var(--in); }
.thumb.out { background: var(--out-soft); color: var(--out); }
.thumb.mix { background: var(--amber-soft); color: var(--amber); }

.skel { background: linear-gradient(90deg, #f1f1ee 25%, #e9e9e5 37%, #f1f1ee 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: 8px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.skel-card { height: 96px; border-radius: var(--r-card); margin-bottom: 10px; }

.empty { text-align: center; padding: 46px 20px; color: var(--sub); }
.empty b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 6px; font-weight: 500; }
.empty .btn { display: inline-block; margin-top: 14px; }

/* ---------------- 抽屉 / 弹层 ---------------- */
.sheet-mask {
  position: fixed; inset: 0; background: rgba(16, 18, 20, .42); z-index: 60;
  display: flex; align-items: flex-end; justify-content: center;
  animation: fade .18s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  background: #fff; width: 100%; max-width: 720px; max-height: 92vh;
  border-radius: 18px 18px 0 0; display: flex; flex-direction: column;
  animation: up .22s cubic-bezier(.2, .8, .3, 1);
}
@keyframes up { from { transform: translateY(24px); } to { transform: translateY(0); } }
.sheet-head {
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; flex: 0 0 auto;
}
.sheet-head b { font-size: 16px; font-weight: 600; flex: 1 1 auto; }
.sheet-body { padding: 16px; overflow: auto; -webkit-overflow-scrolling: touch; }
/* 面板顶部的固定操作条（「创建行程」的「完成，去看行程」）：
   候选列表再长也不用滑到底才够得着，它不跟着 .sheet-body 滚。 */
.sheet-topbar {
  padding: 10px 16px 12px; border-bottom: 1px solid var(--line);
  background: var(--card); flex: 0 0 auto;
}
.grab { width: 38px; height: 4px; border-radius: 2px; background: var(--line); margin: 8px auto -6px; }

/* ---------------- 行程时间轴 ---------------- */
.trip-head { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; margin-bottom: 12px; }
.trip-head h2 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.trip-flags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.day-h {
  font-size: 13px; font-weight: 600; color: var(--sub); margin: 18px 4px 8px;
  display: flex; align-items: center; gap: 8px;
}
.day-h .line { flex: 1 1 auto; height: 1px; background: var(--line); }
.tl { position: relative; }
.tl-item { display: flex; gap: 12px; position: relative; padding-bottom: 12px; }
.tl-item::before {
  content: ""; position: absolute; left: 51px; top: 30px; bottom: 0; width: 1.5px; background: var(--line);
}
.tl-item:last-child::before { display: none; }
.tl-time { flex: 0 0 46px; text-align: right; padding-top: 9px; }
.tl-time b { display: block; font-size: 14px; font-weight: 600; }
.tl-time span { font-size: 11px; color: var(--sub); }
.tl-dot {
  flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; margin-top: 13px;
  background: #fff; border: 2.5px solid var(--brand); position: relative; z-index: 1;
}
.tl-item.meal .tl-dot { border-color: var(--amber); border-radius: 3px; }
.tl-body { flex: 1 1 auto; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 11px 13px; }
.tl-item.meal .tl-body { background: #FFFDF6; }
.tl-body h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.tl-transit { font-size: 12px; color: var(--sub); margin: 0 0 5px; }
.tl-acts { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.tl-acts button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 4px 10px; font-size: 12.5px; color: var(--ink-2); }
.tl-acts button:hover { border-color: #d5d5d0; }

/* ---------------- 点赞 / 投票 ---------------- */
.vote { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.vote:last-child { border-bottom: none; }
.vote .v-main { flex: 1 1 auto; min-width: 0; }
.vote .v-main b { font-size: 14.5px; font-weight: 500; }
.vote .v-main span { display: block; font-size: 12px; color: var(--sub); }
.vote button.on { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------------- toast ---------------- */
#toastWrap { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + 16px); z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast {
  background: rgba(22, 24, 26, .92); color: #fff; border-radius: 10px;
  padding: 9px 15px; font-size: 13.5px; max-width: 84vw; animation: fade .16s ease;
}

/* ---------------- 地铁站 ---------------- */
.msearch {
  display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 12px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .34);
  border-radius: var(--r-btn);
}
.msearch svg { flex: 0 0 auto; width: 18px; height: 18px; stroke: rgba(255, 255, 255, .8); fill: none; stroke-width: 2; }
.msearch input {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
  color: #fff; font-size: 15px; font-family: inherit;
}
.msearch input::placeholder { color: rgba(255, 255, 255, .62); }
/* iOS 上 type=search 自带清除按钮，样式与品牌绿不符，去掉 */
.msearch input::-webkit-search-cancel-button { -webkit-appearance: none; }

.msug { display: flex; flex-direction: column; gap: 6px; }
.msug-i {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn);
  padding: 11px 13px; font-size: 15px; color: var(--ink); font-family: inherit;
}
.msug-i:active { background: var(--line-2); }
.msug-i.on { border-color: var(--brand); background: var(--brand-soft); }
.msug-n { flex: 0 0 auto; font-weight: 500; }
/* 站名与线路标签不许被压缩（压缩会把「会展中心」折成两行），
   空间不够时只让最不重要的英文名截断 —— 只给这一个加 min-width:0。 */
.msug-i .lns { flex: 0 0 auto; }
.msug-en {
  flex: 1 1 auto; min-width: 0; margin-left: auto;
  font-size: 12px; color: var(--sub); text-align: right;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.msug-empty {
  padding: 22px 16px; text-align: center; font-size: 13.5px; color: var(--sub);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
}
em.hl { font-style: normal; font-weight: 600; color: var(--brand); }

.lns { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.ln {
  font-style: normal; font-size: 11px; line-height: 1;
  padding: 3px 7px; border-radius: 6px;
  background: var(--brand-soft); color: var(--brand-ink);
}
.mhead .lns { margin-top: 2px; }
.mfilter { margin-top: 9px; }
.dist { color: var(--brand); font-weight: 500; }

/* ---------------- App 自更新 ---------------- */
.upd {
  position: fixed; left: 10px; right: 10px; bottom: calc(var(--nav-h) + 12px);
  z-index: 88; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 14px 12px;
  box-shadow: 0 10px 30px rgba(16, 18, 20, .16);
  animation: updIn .22s ease-out;
}
@keyframes updIn { from { transform: translateY(12px); opacity: 0 } to { transform: none; opacity: 1 } }
.upd-h { display: flex; align-items: center; gap: 8px; }
.upd-h b { font-size: 15.5px; }
.upd-req { background: var(--warn-soft); color: var(--warn); font-size: 11px; padding: 2px 7px; border-radius: 999px; flex: 0 0 auto; }
.upd-sub { margin-top: 3px; }
.upd-n { margin: 10px 0 2px; padding-left: 18px; color: var(--ink-2); font-size: 13px; }
.upd-n li { margin-bottom: 5px; }
.upd-b { display: flex; gap: 8px; margin-top: 12px; }
.upd-b .btn { flex: 1 1 0; }

.updmask {
  position: fixed; inset: 0; background: rgba(16, 18, 20, .42);
  z-index: 95; display: flex; align-items: center; justify-content: center; padding: 26px;
}
.updcard { background: var(--card); border-radius: 16px; padding: 20px 18px 16px; width: 100%; max-width: 340px; }
.upd-title { font-size: 15px; font-weight: 600; text-align: center; }
.upd-pg { margin: 16px 0 8px; height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.upd-pg i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 999px; transition: width .18s linear; }
.upd-pct { text-align: center; font-size: 12.5px; color: var(--sub); min-height: 17px; }
.updcard .btn { margin-top: 16px; }

/* ---------------- 桌面 ---------------- */
@media (min-width: 900px) {
  :root { --pad: 22px; }
  .app { display: grid; grid-template-columns: 226px minmax(0, 1fr); min-height: 100vh; padding-bottom: 0; }
  .topbar { grid-column: 1 / -1; }
  .nav {
    position: sticky; top: var(--head-h); left: auto; right: auto; bottom: auto;
    grid-row: 2; height: auto; flex-direction: column; gap: 2px; padding: 14px 12px;
    background: transparent; border-top: none; border-right: 1px solid var(--line);
  }
  .nav button {
    flex: 0 0 auto; flex-direction: row; justify-content: flex-start; gap: 10px;
    padding: 10px 12px; font-size: 14px; border-radius: 10px;
  }
  .nav button.on { background: var(--brand-soft); }
  .nav .badge { position: static; transform: none; margin-left: auto; }
  main { grid-row: 2; }
  .wrap { max-width: 820px; }
  .hero { padding: 22px; }
  .sheet-mask { align-items: center; }
  .sheet { border-radius: 16px; max-height: 86vh; }
}

/* ============================================================
   UI 精修 v2 —— 覆盖层（只覆盖视觉，不改动既有类名与结构）
   目标：卡片更精致、图标更醒目、空状态不空、选中态更清晰。
   ============================================================ */
:root {
  --bg: #F6F7F4;
  --line: #E9EAE4;
  --line-2: #F1F2ED;
  --r-card: 16px;
  --shadow: 0 1px 2px rgba(20, 22, 24, .05), 0 10px 26px -18px rgba(20, 22, 24, .30);
  --shadow-2: 0 2px 6px rgba(20, 22, 24, .05), 0 20px 44px -24px rgba(20, 22, 24, .34);
}

/* 顶栏：更舒展，品牌标有立体感 */
.topbar { height: 60px; }
.brand-mark { box-shadow: 0 6px 14px -6px rgba(14, 110, 92, .55); }
.btn-ghost { font-weight: 500; background: #fff; }

/* 卡片质感 */
.card { border-color: var(--line); box-shadow: var(--shadow); }
.card.tap:hover { border-color: #dcded6; }
.card.tap:active { transform: scale(.988); }

/* 底部导航：选中态更清晰 */
.nav { box-shadow: 0 -1px 0 var(--line); }
.nav button { gap: 4px; }
.nav button.on span { font-weight: 600; }
.nav button.on svg { stroke-width: 2.15; }

/* chip / 按钮 */
.chip { border-color: #E4E6DF; font-weight: 450; }
.chip.on { background: var(--brand); border-color: var(--brand); box-shadow: 0 6px 14px -9px rgba(14, 110, 92, .8); }
.btn { letter-spacing: .1px; }
.btn.sec { border-color: #E4E6DF; background: #fff; }
input[type=text], input[type=search] { border-color: #E4E6DF; }

/* hero：渐变 + 光晕，文案更有空气感 */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0F7A66 0%, #0E6E5C 46%, #0A5647 100%);
  box-shadow: 0 18px 42px -26px rgba(10, 86, 71, .9);
}
.hero::after {
  content: ""; position: absolute; right: -70px; top: -90px;
  width: 230px; height: 230px; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 62%);
}
.hero h1 { font-size: 23px; letter-spacing: -.4px; }
.hero p { font-size: 13.5px; opacity: .9; line-height: 1.5; margin-bottom: 12px; }
.hero .go { font-weight: 700; box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .65); }

/* 发现页入口小工具条 */
.tools { display: flex; gap: 8px; margin: 4px 0 10px; }
.tools button {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 12px;
  font-size: 13.5px; color: var(--ink-2); box-shadow: var(--shadow);
}
.tools button:active { transform: scale(.985); border-color: var(--brand); color: var(--brand-ink); }
.tools .ic { font-size: 15px; }

/* POI 卡片：图标瓷贴 + 更清晰的层级 */
.thumb {
  width: 50px; height: 50px; border-radius: 14px; font-size: 23px; font-weight: 400;
  box-shadow: inset 0 0 0 1px rgba(20, 22, 24, .04);
}
.poi-main h3 { font-size: 16px; letter-spacing: -.2px; }
.poi-meta { color: #7A8088; }
.poi-concl { color: #3C4247; }
.poi .tagline { margin-top: 6px; }

/* 空状态：图标底座 + 友好排版 */
.empty { padding: 54px 24px; }
.empty .ei {
  width: 78px; height: 78px; border-radius: 26px; margin: 0 auto 16px;
  display: grid; place-items: center; font-size: 36px; line-height: 1;
  background: linear-gradient(150deg, #EAF7F2, #DCF1E8);
  box-shadow: inset 0 0 0 1px rgba(14, 110, 92, .08);
}
.empty b { font-size: 16.5px; margin-bottom: 7px; }
.empty .muted { max-width: 290px; margin: 0 auto; }
.empty .btn { margin-top: 16px; }

/* 点位详情：Markdown 渲染后的正文 */
.md { font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }
.md h4 { margin: 16px 0 6px; font-size: 15px; color: var(--ink); font-weight: 600; }
.md h4:first-child { margin-top: 4px; }
.md p { margin: 0 0 9px; }
.md ul { margin: 4px 0 10px; padding-left: 19px; }
.md li { margin-bottom: 5px; }
.md b { color: var(--ink); font-weight: 600; }

/* ---------------- 转发 / 分享 ---------------- */
/* 行程页顶部的分享链接行：一行放地址、一行放「复制」，地址过长省略号截断 */
.link-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn);
  padding: 8px 10px 8px 12px;
}
.link-row .lk {
  flex: 1; min-width: 0; font-size: 12px; color: var(--sub);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.link-row .btn { flex: 0 0 auto; }

/* 分享面板里的地址框：可长按直接选中复制 */
.share-url {
  background: var(--line-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 13px; font-size: 13px; color: var(--ink-2); line-height: 1.5;
  word-break: break-all; -webkit-user-select: all; user-select: all;
}
/* 内网地址提醒：不说明白的话，对方点开白屏，用户会以为是我们这边坏了 */
.warn-box {
  margin-top: 12px; background: var(--warn-soft); border: 1px solid #F3D3D3;
  border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: var(--warn); line-height: 1.6;
}

/* ---------------- 聊天里的链接 / 行程卡片 ---------------- */
.msg-link { color: var(--in); text-decoration: underline; word-break: break-all; }
.trip-card {
  display: block; margin-top: 7px; background: var(--brand-soft);
  border: 1px solid rgba(14, 110, 92, .14); border-radius: 10px;
  padding: 9px 11px; text-decoration: none;
}
.trip-card b { display: block; font-size: 13.5px; color: var(--brand-ink); font-weight: 600; }
.trip-card span { display: block; font-size: 12px; color: var(--brand); margin-top: 2px; }

/* ---------------- 离线数据（城市条上的缓存小点 + 「我的」页的管理面板） ----------------
   数据默认存手机本地，用户得能一眼看出「这座城市存过没有」：
   亮点 = 已存本地（切过去 0 请求、断网也能查）；灰点 = 还没加载过（点一下才开始下）。 */
.chip .dsdot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #CBD5D0; margin-left: 6px; vertical-align: middle;
}
.chip .dsdot.on { background: var(--brand); }
.chip.on .dsdot { background: rgba(255, 255, 255, .45); }
.chip.on .dsdot.on { background: #fff; }
.chip .dsdot.busy { background: var(--amber); animation: dsPulse 1s ease-in-out infinite; }
@keyframes dsPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.ds-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line-2); }
.ds-row .ds-name { font-size: 14px; font-weight: 500; }
.ds-row .ds-sub { font-size: 11.5px; color: var(--sub); margin-top: 2px; }
.ds-row .ds-act { display: flex; gap: 6px; flex: 0 0 auto; }
