/* ===== 5700社区 · 手机端 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; color: inherit; }
a:visited { color: inherit; }
html, body { height: 100%; }
body {
  font-family: -apple-system, "PingFang SC", "Helvetica Neue", sans-serif;
  background: #F5F6F7; color: #1F2329;
  max-width: 480px; margin: 0 auto;
}
.hidden { display: none !important; }

/* ---- 登录页 ---- */
.login-page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; padding: 70px 32px 20px;
  background: linear-gradient(180deg, #EAF3EE 0%, #F5F6F7 45%);
}
.login-hero { font-size: 64px; }
.login-title { font-size: 24px; font-weight: 700; color: #2E6B53; margin-top: 8px; }
.login-sub { color: #8A939C; font-size: 13px; margin: 6px 0 32px; }
.login-form { width: 100%; }
.field {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 12px;
  border: 1px solid #EEF0F2;
}
.field span { font-size: 16px; }
.field input { flex: 1; border: none; outline: none; font-size: 15px; background: transparent; }
.form-err { color: #E5484D; font-size: 13px; margin: 4px 0 10px; text-align: center; }
.btn-primary {
  width: 100%; padding: 15px; border: none; border-radius: 12px;
  background: #2E6B53; color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
}
.btn-primary:active { opacity: .85; }
.btn-ghost {
  width: 100%; margin-top: 12px; padding: 13px; border: none; border-radius: 12px;
  background: #EAF3EE; color: #2E6B53; font-size: 15px; cursor: pointer;
}
.switch-line { text-align: center; margin-top: 16px; color: #8A939C; font-size: 14px; }
.switch-line a { color: #2E6B53; text-decoration: none; }
.login-foot { margin-top: auto; color: #B4BAC0; font-size: 11px; }

/* ---- 主框架 ---- */
.app { height: 100vh; display: flex; flex-direction: column; }
.app-header {
  height: 50px; display: flex; align-items: center; justify-content: center;
  background: #2E6B53; color: #fff; position: relative; flex-shrink: 0;
  padding-top: env(safe-area-inset-top);
}
.header-title { font-size: 17px; font-weight: 600; }
.header-right { position: absolute; right: 14px; font-size: 14px; color: #fff; }
.header-right a { color: #fff; text-decoration: none; }
.app-main { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* ---- 底部 Tab ---- */
.tabbar {
  display: flex; background: #fff; border-top: 1px solid #EEF0F2;
  padding-bottom: env(safe-area-inset-bottom); flex-shrink: 0;
}
.tab-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 6px 0 4px; color: #8A939C; text-decoration: none; font-size: 11px;
}
.tab-item span { font-size: 20px; line-height: 1.2; }
.tab-item.active { color: #2E6B53; font-weight: 600; }

/* ---- 通用卡片/列表 ---- */
.card { background: #fff; border-radius: 12px; margin: 10px 12px; padding: 14px; }
.card-title { font-size: 16px; font-weight: 600; }
.section-title { font-size: 14px; font-weight: 600; color: #2E6B53; margin: 14px 14px 6px; }
.row { display: flex; align-items: center; gap: 10px; }
.grow { flex: 1; min-width: 0; }
.muted { color: #8A939C; font-size: 12px; }
.small { font-size: 12px; }
.gold { color: #C9A227; }
.green { color: #2E6B53; }
.red { color: #E5484D; }
.tag {
  display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-right: 6px;
}
.tag-scenic { background: #E5F0EA; color: #2E6B53; }
.tag-station { background: #F7EDE2; color: #B56A2C; }
.tag-airport { background: #EEEAF5; color: #7A5AA8; }
.tag-dock { background: #E4F0EE; color: #3E8E7E; }
.list-item { background: #fff; margin: 8px 12px; border-radius: 12px; padding: 14px; }
.list-item .title { font-size: 15px; font-weight: 600; line-height: 1.45; }
.list-item .desc { font-size: 13px; color: #8A939C; margin-top: 4px; line-height: 1.5; }
.list-item .meta { font-size: 11px; color: #B4BAC0; margin-top: 6px; }
.divider { height: 1px; background: #F0F1F2; margin: 10px 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px 2px; -webkit-overflow-scrolling: touch; }
.chip {
  flex-shrink: 0; padding: 6px 14px; border-radius: 16px; background: #fff;
  font-size: 13px; color: #4E5969; border: 1px solid #EEF0F2; cursor: pointer;
}
.chip.active { background: #2E6B53; color: #fff; border-color: #2E6B53; }
.hot-card {
  background: linear-gradient(120deg, #3B2F2E, #59403A); color: #fff;
  border-radius: 12px; margin: 10px 12px; padding: 14px;
}
.hot-card .tag-hot { display: inline-block; background: #E5484D; font-size: 11px; padding: 2px 8px; border-radius: 6px; margin-right: 6px; }
.hot-card .title { font-size: 15px; font-weight: 600; margin-top: 6px; line-height: 1.45; }
.hot-card .meta { font-size: 11px; color: rgba(255,255,255,.7); margin-top: 6px; }
.hot-invite { background: #FBF7E8; border-radius: 12px; margin: 10px 12px; padding: 14px; }
.hot-invite .t { color: #8A6D1F; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.hot-invite .c { font-size: 13px; color: #5F5540; line-height: 1.7; }
.discuss-item { background: #fff; border-radius: 10px; margin: 8px 12px; padding: 12px; }
.discuss-item .who { font-size: 12px; font-weight: 600; color: #2E6B53; }
.discuss-item .txt { font-size: 14px; margin-top: 4px; line-height: 1.6; }

/* ---- 宫格 ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 12px; }
.grid-item {
  background: #fff; border-radius: 12px; padding: 16px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer;
}
.grid-item span { font-size: 22px; }
.grid-item i { font-style: normal; font-size: 12px; color: #4E5969; }
.stat-row { display: flex; gap: 10px; margin: 10px 12px; }
.stat-box { flex: 1; background: #fff; border-radius: 12px; padding: 12px; text-align: center; }
.stat-box .num { font-size: 18px; font-weight: 700; color: #2E6B53; }
.stat-box .lab { font-size: 11px; color: #8A939C; margin-top: 2px; }

/* ---- 商品 ---- */
.goods-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 10px 12px; }
.goods-card { background: #fff; border-radius: 12px; padding: 10px; }
.goods-img {
  height: 100px; border-radius: 8px; background: #EAF3EE; display: flex;
  align-items: center; justify-content: center; font-size: 34px; margin-bottom: 8px;
}
/* 商品多图轮播 / 视频 */
.gallery { margin-bottom: 2px; }
.gallery-main { position: relative; border-radius: 12px; overflow: hidden; background: #F0F4F2; }
.gallery-main img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gallery-main.g-emoji { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 60px; }
.gallery-video { width: 100%; border-radius: 12px; background: #111; max-height: 300px; }
.g-prev, .g-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 30px; height: 30px; border-radius: 50%; border: none; background: rgba(0,0,0,.35);
  color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}
.g-prev { left: 8px; } .g-next { right: 8px; }
.g-count { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.45); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 10px; z-index: 6; }
.gallery-nav { display: flex; gap: 8px; overflow-x: auto; padding: 8px 2px 2px; -webkit-overflow-scrolling: touch; }
.gallery-nav::-webkit-scrollbar { display: none; }
.gallery-nav img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; flex: none; }
.gallery-nav img.on { border-color: #2E6B53; }
.goods-card .name { font-size: 13px; font-weight: 600; line-height: 1.4; height: 36px; overflow: hidden; }
.goods-card .price { color: #E5484D; font-weight: 700; font-size: 14px; margin-top: 4px; }
.goods-card .price .pp { color: #C9A227; font-size: 11px; font-weight: 400; }
.btn { border: none; border-radius: 10px; padding: 10px 16px; font-size: 14px; cursor: pointer; }
.btn-green { background: #2E6B53; color: #fff; }
.btn-gold { background: #C9A227; color: #fff; }
.btn-outline { background: #fff; color: #2E6B53; border: 1px solid #2E6B53; }
.btn-block { width: 100%; padding: 13px; font-size: 15px; }
.btn:active { opacity: .85; }
.qty-row { display: flex; align-items: center; gap: 14px; }
.qty-btn { width: 30px; height: 30px; border-radius: 8px; border: 1px solid #D9DEE3; background: #fff; font-size: 16px; cursor: pointer; }
.qty-num { font-size: 15px; min-width: 28px; text-align: center; }

/* ---- 输入 / 表单 ---- */
.input-box { width: 100%; border: 1px solid #EEF0F2; border-radius: 10px; padding: 12px; font-size: 14px; outline: none; background: #fff; margin-bottom: 10px; }
textarea.input-box { min-height: 90px; resize: vertical; }
.form-group label { font-size: 13px; color: #4E5969; display: block; margin-bottom: 6px; }

/* ---- 消息 ---- */
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.55; word-break: break-word; }
.bubble.me { background: #2E6B53; color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bubble.other { background: #fff; color: #1F2329; border-bottom-left-radius: 4px; }
.msg-row { display: flex; margin-bottom: 10px; }
.msg-send { display: flex; gap: 8px; padding: 10px 12px; background: #fff; border-top: 1px solid #EEF0F2; }
.msg-send input { flex: 1; border: 1px solid #EEF0F2; border-radius: 20px; padding: 10px 14px; font-size: 14px; outline: none; }

/* ---- 我的 ---- */
.mine-head { background: linear-gradient(135deg, #2E6B53, #3E8E7E); color: #fff; padding: 26px 16px 22px; display: flex; align-items: center; gap: 14px; }
.avatar { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.mine-head .name { font-size: 19px; font-weight: 700; }
.mine-head .sub { font-size: 12px; opacity: .85; margin-top: 3px; }
.mine-cells { background: #fff; border-radius: 12px; margin: 12px; overflow: hidden; }
.mine-cell { display: flex; align-items: center; gap: 12px; padding: 14px; border-bottom: 1px solid #F5F6F7; cursor: pointer; }
.mine-cell:last-child { border-bottom: none; }
.mine-cell .ic { font-size: 18px; }
.mine-cell .txt { flex: 1; font-size: 14px; }
.mine-cell .arrow { color: #C9CDD4; }
.badge { background: #E5484D; color: #fff; font-size: 10px; border-radius: 9px; padding: 1px 6px; }

/* ---- 弹层（二级页） ---- */
.overlay {
  position: fixed; top: 0; left: 0; right: 0;
  bottom: calc(env(safe-area-inset-bottom) + 54px);
  z-index: 100;
  background: #F5F6F7; overflow-y: auto;
  animation: slideIn .22s ease;
}
/* 二级/三级页底部保留主功能按钮：tabbar 高于弹层，始终可见可点 */
.tabbar { position: relative; z-index: 110; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
/* 通用美化弹窗 */
.dp-modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; animation: dpFade .18s ease; }
.dp-modal { background: #fff; border-radius: 18px; max-width: 340px; width: 100%; overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,.22); animation: dpPop .22s ease; }
.dp-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 4px; font-size: 17px; font-weight: 700; color: #1F2329; }
.dp-x { color: #8A939C; font-size: 16px; padding: 4px; cursor: pointer; }
.dp-b { padding: 8px 18px 20px; font-size: 14px; color: #4E5969; line-height: 1.75; max-height: 60vh; overflow-y: auto; }
@keyframes dpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dpPop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.sub-header {
  height: 50px; background: #2E6B53; color: #fff; display: flex; align-items: center;
  padding: 0 12px; gap: 10px; position: sticky; top: 0; z-index: 10;
}
.sub-header .back { font-size: 20px; cursor: pointer; padding: 12px 20px 12px 6px; margin-left: -6px; }
.sub-header .back span { pointer-events: none; }
.sub-header .t { font-size: 16px; font-weight: 600; flex: 1; text-align: center; }
.sub-header .r { min-width: 44px; text-align: right; font-size: 13px; }

.loading, .empty { text-align: center; color: #8A939C; font-size: 13px; padding: 40px 20px; }
.empty { font-size: 14px; }
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid #D9DEE3; border-top-color: #2E6B53; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 优先地图（Leaflet 全屏 + 左侧分类树栏） */
.poi-layout { position: relative; height: 100%; min-height: 0; isolation: isolate; }
.poi-sider {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 1200;
  width: 96px; background: rgba(255,255,255,0.78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-right: 1px solid rgba(238,240,242,0.75);
  overflow-y: auto; padding: 6px 0; -webkit-overflow-scrolling: touch;
}
.poi-sider::-webkit-scrollbar { display: none; }
.poi-sider-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 11px 4px; font-size: 12px; color: #4E5969; cursor: pointer;
  border-left: 3px solid transparent; line-height: 1.3;
}
.poi-sider-item .ic { font-size: 21px; line-height: 1.2; }
.poi-sider-item.active { color: #2E6B53; font-weight: 700; background: #EAF3EE; border-left-color: #2E6B53; }
.poi-sider-item.active .cnt { color: #2E6B53; }
.poi-sider-item .cnt { font-size: 10px; color: #B4BAC0; }
.poi-main { position: absolute; inset: 0; background: #E9EEEC; }
.poi-map { width: 100%; height: 100%; position: relative; }
.poi-map.hidden { display: none; }
.poi-map .spinner-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #8A939C; font-size: 13px; gap: 8px; background: #EFF3F1; }
#poiListWrap { height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; }
#poiListWrap.hidden { display: none; }
.poi-float {
  position: absolute; z-index: 1100; display: flex; align-items: center; gap: 6px;
  background: #fff; border: none; border-radius: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.12);
  font-size: 12px; color: #1F2329; cursor: pointer; padding: 7px 12px;
}
.poi-float:active { opacity: .75; }
#poiLocBtn { top: 12px; right: 12px; }
#poiMarkBtn { top: 50px; right: 12px; }
#poiPeerBtn { top: 88px; right: 12px; }
.poi-pin { font-size: 18px; line-height: 1; text-align: center; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.poi-pin.sel { font-size: 22px; }
.poi-pin.me { font-size: 20px; }
.poi-pin.peer { font-size: 14px; border-radius: 50%; }
.leaflet-container { font-family: inherit; }
.leaflet-popup-content { margin: 10px 12px; }
.poi-pop { font-size: 13px; color: #1F2329; min-width: 150px; }
.poi-pop b { font-size: 14px; }
.poi-pop .d { color: #8A939C; font-size: 12px; margin-top: 3px; }
.poi-pop .go { color: #2E6B53; font-weight: 700; margin-top: 6px; display: inline-block; }

/* 附近的人 */
.peer-tip { padding: 6px 14px 2px; font-size: 12px; color: #8A6D1F; min-height: 20px; }

/* ========== 首页 · 小红书风格 ========== */
.xhs-top { display: flex; align-items: center; gap: 12px; padding: 10px 12px 6px; }
.xhs-search { flex: 1; display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 18px; padding: 8px 14px; color: #B0B5BC; font-size: 13px; }
.xhs-search input { border: none; outline: none; flex: 1; font-size: 13px; color: #1F2329; background: transparent; }
.xhs-msg { width: 36px; height: 36px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; position: relative; }
.xhs-msg::after { content: ''; position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; background: #E5484D; border-radius: 50%; }
.xhs-stories { display: flex; gap: 8px; padding: 10px 12px 4px; overflow-x: auto; }
.sc { flex-shrink: 0; font-size: 14px; color: #4E5969; padding: 5px 4px; border-bottom: 3px solid transparent; }
.sc.active { color: #2E6B53; font-weight: 700; border-bottom-color: #2E6B53; }
.xhs-feed { column-count: 2; column-gap: 10px; padding: 8px 12px 12px; }
.xhs-card { break-inside: avoid; background: #fff; border-radius: 12px; margin-bottom: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.xhs-card .cover { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 52px; }
.xhs-card .b { padding: 10px 12px 12px; }
.xhs-card .t { font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xhs-card .d { font-size: 12px; color: #8A939C; margin-top: 4px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xhs-card .a { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.xhs-card .av { width: 20px; height: 20px; border-radius: 50%; background: #2E6B53; color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.xhs-card .nm { font-size: 11px; color: #4E5969; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.xhs-card .lk { font-size: 11px; color: #8A939C; }

/* ========== 论坛 · 军转论坛风格 ========== */
.lt-banner { background: linear-gradient(120deg, #2E6B53, #3E8E7E); color: #fff; padding: 18px 16px; }
.lt-banner-t { font-size: 17px; font-weight: 700; }
.lt-banner-s { font-size: 11px; opacity: .85; margin-top: 4px; }
.lt-nav { display: flex; gap: 4px; padding: 10px 12px 2px; overflow-x: auto; background: #fff; border-bottom: 1px solid #F0F1F2; }
.lt-nav-item { flex-shrink: 0; font-size: 13px; color: #4E5969; padding: 6px 12px; border-radius: 14px; }
.lt-nav-item.active { background: #2E6B53; color: #fff; font-weight: 600; }
.lt-notice { margin: 8px 12px 0; background: #FFFBF0; border: 1px solid #F0E3C0; border-radius: 10px; padding: 8px 12px; }
.lt-notice-item { font-size: 13px; color: #8A6D1F; padding: 5px 0; border-bottom: 1px dashed #F0E3C0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lt-notice-item:last-child { border-bottom: none; }
.lt-item { background: #fff; margin: 0 12px; padding: 12px 14px; border-bottom: 1px solid #F0F1F2; }
.lt-item:first-of-type { margin-top: 8px; border-radius: 10px 10px 0 0; }
.lt-t { font-size: 15px; font-weight: 600; color: #1F2329; line-height: 1.45; }
.lt-pin { display: inline-block; background: #E5484D; color: #fff; font-size: 10px; border-radius: 4px; padding: 1px 5px; margin-right: 6px; vertical-align: 2px; }
.lt-ess { background: #C9A227; }
.lt-essence { background: #FDF9EC; }
.lt-essence .lt-t { color: #7A5A00; }
.lt-m { display: flex; align-items: center; gap: 8px; margin-top: 7px; font-size: 11px; color: #8A939C; }
.lt-author { color: #3E8E7E; }
.lt-num { color: #B4BAC0; }
.lt-time { margin-left: auto; }

/* ========== 私聊 · 微信风格 ========== */
.wx-body { background: #EDEDED; padding: 12px 12px 80px; min-height: 60vh; }
.wx-time { text-align: center; font-size: 11px; color: #B4BAC0; margin: 8px 0 14px; }
.wx-row { display: flex; align-items: flex-start; margin-bottom: 14px; }
.wx-row.me { justify-content: flex-end; }
.wx-avatar { width: 38px; height: 38px; border-radius: 6px; background: #5B8FF9; color: #fff; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wx-avatar.me-av { background: #3E8E7E; margin-left: 8px; }
.wx-row.other .wx-avatar { margin-right: 8px; }
.wx-bubble { max-width: 66%; padding: 9px 12px; font-size: 14px; line-height: 1.55; word-break: break-word; }
.wx-row.other .wx-bubble { background: #fff; color: #1F2329; border-radius: 4px 12px 12px 12px; }
.wx-row.me .wx-bubble { background: #95EC69; color: #1F2329; border-radius: 12px 4px 12px 12px; }
.wx-inputbar { position: sticky; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 9px 10px; background: #F7F7F7; border-top: 1px solid #E0E0E0; }
.wx-inputbar input { flex: 1; border: none; outline: none; background: #fff; border-radius: 6px; padding: 10px 12px; font-size: 15px; }
.wx-send { background: #07C160; color: #fff; border: none; border-radius: 6px; padding: 9px 18px; font-size: 14px; font-weight: 600; }
.wx-session { display: flex; align-items: center; gap: 12px; background: #fff; padding: 12px 14px; border-bottom: 1px solid #F0F1F2; }
.wx-s-av { width: 46px; height: 46px; border-radius: 8px; background: #2E6B53; color: #fff; font-size: 18px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wx-s-info { flex: 1; min-width: 0; }
.wx-s-info .t { font-size: 15px; color: #1F2329; font-weight: 500; }
.wx-s-info .l { font-size: 12px; color: #8A939C; margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wx-s-time { font-size: 10px; color: #B4BAC0; align-self: flex-start; }

/* ========== 商城 · 京东风格 ========== */
.jd-top { padding: 8px 12px; background: #fff; }
.jd-search { display: flex; align-items: center; gap: 6px; background: #F4F5F7; border-radius: 18px; padding: 8px 14px; color: #B0B5BC; font-size: 13px; }
.jd-search input { border: none; outline: none; flex: 1; font-size: 13px; background: transparent; }
.jd-kk { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; padding: 6px 4px 12px; }
.kk { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; }
.kk span { font-size: 24px; }
.kk i { font-style: normal; font-size: 11px; color: #4E5969; }
.jd-banner { margin: 0 12px 8px; background: linear-gradient(90deg, #E93B3D, #C22A2C); color: #fff; border-radius: 8px; text-align: center; padding: 10px; font-size: 13px; font-weight: 600; letter-spacing: 1px; }
/* ===== 商城：分类条 + 双列瀑布（京东风） ===== */
.jd-cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 12px 10px; background: #fff; border-bottom: 1px solid #F2F3F5; -webkit-overflow-scrolling: touch; }
.jd-cats .cat { flex-shrink: 0; padding: 4px 12px; border-radius: 14px; font-size: 12px; color: #4E5969; background: #F2F3F5; }
.jd-cats .cat.on { color: #fff; background: #E93B3D; font-weight: 600; }
.jd-feed { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px 66px; }
.jd-card2 { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(31,35,41,.05); }
.jd-card2 .c2-img { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 52px; position: relative; }
.jd-card2 .c2-img .soldout { position: absolute; left: 8px; top: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; }
.jd-card2 .c2-name { font-size: 13px; color: #1F2329; line-height: 1.4; padding: 8px 8px 0; height: 36px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.jd-card2 .c2-price { color: #E93B3D; font-weight: 700; font-size: 16px; padding: 4px 8px 0; }
.jd-card2 .c2-price .pp { color: #C9A227; font-size: 10px; font-weight: 400; margin-left: 4px; }
.jd-card2 .c2-meta { font-size: 10px; color: #B4BAC0; padding: 2px 8px 0; }
.jd-card2 .c2-ship { font-size: 10px; color: #86909C; padding: 2px 8px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jd-card2 .c2-cart { display: block; width: calc(100% - 16px); margin: 6px 8px 8px; padding: 5px 0; border: none; border-radius: 6px; background: #FFE9E9; color: #E93B3D; font-size: 12px; font-weight: 600; }
.jd-card2 .c2-cart:disabled { background: #F2F3F5; color: #B4BAC0; }
.cart-fab { position: fixed; right: 16px; bottom: 76px; width: 46px; height: 46px; border-radius: 50%; background: #E93B3D; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 3px 10px rgba(233,59,61,.35); z-index: 40; }
.cart-fab b { position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; border-radius: 9px; background: #fff; color: #E93B3D; font-size: 10px; line-height: 17px; text-align: center; padding: 0 4px; box-shadow: 0 0 0 1px #E93B3D; display: none; }
.jd-floor { background: #fff; margin: 8px 12px; border-radius: 12px; overflow: hidden; }
.jd-floor-h { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 8px; }
.jd-floor-h b { font-size: 15px; color: #1F2329; }
.jd-floor-h .muted { font-size: 11px; }
.jd-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 0 14px 12px; -webkit-overflow-scrolling: touch; }
.jd-card { flex-shrink: 0; width: 128px; }
.jd-card .img { height: 128px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 44px; }
.jd-card .n { font-size: 12px; color: #1F2329; line-height: 1.4; margin-top: 6px; height: 34px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.jd-card .p { color: #E93B3D; font-weight: 700; font-size: 15px; margin-top: 4px; }
.jd-card .p .pp { color: #C9A227; font-size: 10px; font-weight: 400; margin-left: 4px; }
.jd-card .s { font-size: 10px; color: #B4BAC0; margin-top: 2px; }

/* ========== 我的 · 京东风格 ========== */
.jd-mine-head { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #2E6B53, #3E8E7E); color: #fff; padding: 22px 16px; }
.jd-mine-head .avatar { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.25); font-size: 30px; display: flex; align-items: center; justify-content: center; }
.jd-mine-head .info { flex: 1; min-width: 0; }
.jd-mine-head .name { font-size: 18px; font-weight: 700; }
.jd-v { display: inline-block; font-size: 10px; background: #F5D23E; color: #8A6D1F; border-radius: 8px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; font-weight: 600; }
.jd-v.off { background: rgba(255,255,255,.2); color: #EAF3EE; }
.jd-mine-head .sub { font-size: 11px; opacity: .85; margin-top: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.jd-mine-head .pts { text-align: center; font-size: 15px; font-weight: 700; }
.jd-mine-head .pts span { font-size: 18px; }
.jd-mine-head .pts i { display: block; font-style: normal; font-size: 10px; font-weight: 400; opacity: .85; margin-top: 2px; }
.jd-orders { background: #fff; margin: 10px 12px; border-radius: 12px; padding: 12px 14px; }
.jd-orders-h { display: flex; align-items: center; justify-content: space-between; }
.jd-orders-h b { font-size: 15px; }
.jd-orders-h .muted { font-size: 11px; }
.jd-orders-g { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; }
.og { text-align: center; position: relative; }
.og-ic { font-size: 24px; }
.og i { display: block; font-style: normal; font-size: 11px; color: #4E5969; margin-top: 4px; }
.og em { position: absolute; top: -4px; right: 18%; background: #E5484D; color: #fff; font-size: 10px; border-radius: 8px; min-width: 16px; height: 16px; line-height: 16px; font-style: normal; }
.jd-funcs { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; margin: 10px 12px; border-radius: 12px; padding: 12px 4px; }
.fn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0; position: relative; }
.fn span { font-size: 24px; }
.fn i { font-style: normal; font-size: 11px; color: #4E5969; }
.fn-badge { position: absolute; top: 2px; right: 26%; background: #E5484D; color: #fff; font-size: 9px; border-radius: 8px; min-width: 15px; height: 15px; line-height: 15px; font-style: normal; }
.jd-list { background: #fff; margin: 10px 12px; border-radius: 12px; padding: 4px 14px; }
.jl { display: flex; align-items: center; gap: 10px; padding: 13px 0; font-size: 14px; color: #1F2329; border-bottom: 1px solid #F4F5F7; }
.jl:last-child { border-bottom: none; }
.jl .r { margin-left: auto; font-size: 12px; color: #8A939C; max-width: 50%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.jl .arrow { margin-left: auto; color: #B4BAC0; }

/* ========== 互助卡片（小红书风格，含求助角标） ========== */
.mut-badge { position: absolute; top: 8px; left: 8px; background: #E5484D; color: #fff; font-size: 10px; font-weight: 600; border-radius: 10px; padding: 2px 8px; }
.mut-badge.consul { background: #2E6B53; }

/* ========== 求助优先级与时限 ========== */
.mut-pri { position: absolute; top: 8px; right: 8px; background: #8A939C; color: #fff; font-size: 10px; font-weight: 600; border-radius: 10px; padding: 2px 8px; }
.mut-pri.pri-hot { background: #E5484D; }
.mut-pri.pri-fast { background: #F5A623; }

/* ========== 视频帖子 ========== */
.lt-v { display: inline-block; background: #E5484D; color: #fff; font-size: 10px; border-radius: 4px; padding: 1px 6px; margin-right: 6px; vertical-align: 2px; font-weight: 600; }
.xhs-v { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; background: rgba(0,0,0,.55); color: #fff; border-radius: 50%; font-size: 12px; display: flex; align-items: center; justify-content: center; }

/* ========== 语音消息 ========== */
.wx-bubble.voice { display: flex; align-items: center; gap: 8px; cursor: pointer; min-width: 120px; }
.vwave { display: inline-block; width: 34px; height: 14px; background: linear-gradient(180deg, currentColor, currentColor) no-repeat; background-size: 3px 100%; position: relative; opacity: .85; }
.vwave::before, .vwave::after { content: ''; position: absolute; top: 0; height: 100%; background: currentColor; }
.vwave::before { left: 8px; width: 3px; opacity: .6; }
.vwave::after { left: 16px; width: 3px; opacity: .35; }

/* ========== 视频/语音通话页 ========== */
.vc-wrap { position: fixed; inset: 0; background: #111; z-index: 200; }
#vcPeer { width: 100%; height: 100%; object-fit: cover; background: #222; }
#vcLocal { position: absolute; right: 14px; top: 40px; width: 110px; height: 150px; border-radius: 10px; object-fit: cover; background: #333; border: 1px solid rgba(255,255,255,.3); }
.vc-bar { position: absolute; left: 0; right: 0; bottom: 40px; text-align: center; color: #fff; }
.vc-name { font-size: 16px; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.vc-time { font-size: 13px; opacity: .85; margin-top: 4px; }
.vc-hang { margin-top: 16px; background: #E5484D; color: #fff; border: none; border-radius: 26px; padding: 12px 42px; font-size: 15px; font-weight: 600; }
.wx-sys { text-align: center; font-size: 11px; color: #8A939C; margin: 10px 0; background: rgba(0,0,0,.04); display: inline-block; padding: 4px 12px; border-radius: 10px; width: 100%; box-sizing: border-box; }
.wx-tool { border: none; background: transparent; font-size: 20px; padding: 4px; cursor: pointer; }

/* ========== 定位开关 ========== */
.switch { display: inline-block; width: 44px; height: 24px; border-radius: 12px; background: #D9DEE3; position: relative; transition: background .2s; margin-left: auto; flex-shrink: 0; }
.switch i { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch.on { background: #2E6B53; }
.switch.on i { left: 22px; }

/* ========== 对话框（标注提交等） ========== */
.dialog-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 999; display: flex; align-items: center; justify-content: center; padding: 18px; }
.dialog-box { background: #fff; border-radius: 14px; width: 100%; max-width: 400px; max-height: 86vh; overflow-y: auto; padding: 16px 16px 14px; box-shadow: 0 8px 32px rgba(0,0,0,.25); }
.dialog-title { font-size: 16px; font-weight: 700; text-align: center; margin-bottom: 4px; }
.dialog-sub { font-size: 12px; color: #6b7280; text-align: center; margin-bottom: 12px; line-height: 1.6; }
.dialog-row { display: flex; gap: 6px; margin-bottom: 10px; }
.dialog-row select { flex: 1; min-width: 0; }
.dialog-actions { display: flex; gap: 10px; margin-top: 6px; }
.dialog-actions .btn { flex: 1; }

/* ========== 首页新布局：悬赏滚动 + 功能宫格 + 全部话题 ========== */
.hm-slogan { margin: 8px 12px 0; padding: 9px 12px; border-radius: 10px; background: linear-gradient(90deg,#FDF3E0,#FBEFD5); border: 1px solid #F2DFB8; color: #8A5A10; font-size: 12.5px; line-height: 1.55; text-align: center; }
.hm-slogan b { color: #C22A2C; }
.hm-ticker { overflow: hidden; background: linear-gradient(90deg,#2E6B53,#3E8E7E); margin: 10px 12px 2px; border-radius: 10px; }
.hm-ticker-track { display: inline-flex; white-space: nowrap; animation: hmScroll 16s linear infinite; }
.hm-tick { color: #fff; font-size: 13px; padding: 10px 18px; cursor: pointer; flex-shrink: 0; }
.hm-tick:hover { text-decoration: underline; }
@keyframes hmScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.hm-fns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 6px; margin: 10px 12px; background: #fff; border-radius: 12px; padding: 8px 4px; }
.hm-fns .fn { padding: 8px 0; }
.hm-fns .fn span { font-size: 22px; }
.hm-fns .fn i { font-size: 11px; }
.hm-sec { display: flex; align-items: baseline; gap: 8px; margin: 14px 14px 8px; font-size: 15px; font-weight: 700; color: #1F2329; }
.hm-sec-sub { font-size: 11px; color: #8A939C; font-weight: 400; }
.hm-post { background: #fff; border-radius: 12px; margin: 0 12px 10px; padding: 12px; }
.hm-post .d { font-size: 13px; color: #6B7280; margin-top: 4px; line-height: 1.6; }
.hm-post .meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: #8A939C; }
.hm-post .meta .av { width: 18px; height: 18px; border-radius: 50%; background: #E8F2EC; color: #2E6B53; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }

/* ========== 订单状态栏（仿京东横向 tab） ========== */
.jd-stories { display: flex; gap: 12px; padding: 10px 14px 4px; overflow-x: auto; background: #fff; border-bottom: 1px solid #F2F3F5; }
.jd-stories .sc { flex-shrink: 0; font-size: 13px; color: #4E5969; padding: 6px 2px; border-bottom: 2px solid transparent; }
.jd-stories .sc.active { color: #E1251B; font-weight: 700; border-bottom-color: #E1251B; }

/* ==================== 互助接单（左图右字瀑布流卡片） ==================== */
.mut-card { display: flex; flex-direction: row; align-items: stretch; break-inside: avoid; background: #fff; border-radius: 12px; margin-bottom: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.mut-cover { width: 118px; min-width: 118px; min-height: 96px; flex-shrink: 0; position: relative; display: flex; align-items: center; justify-content: center; }
.mut-cover-ic { font-size: 34px; }
.mut-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mut-img-n { position: absolute; right: 4px; bottom: 4px; background: rgba(0,0,0,.55); color: #fff; font-size: 10px; border-radius: 8px; padding: 1px 6px; }
.mut-views { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.35); color: #fff; font-size: 10px; border-radius: 8px; padding: 1px 6px; z-index: 2; }
.mut-body { flex: 1; padding: 10px 10px 8px; display: flex; flex-direction: column; min-width: 0; }
.mut-head { display: flex; align-items: center; gap: 6px; padding: 8px 10px 0; }
.mut-reward { margin-left: auto; font-size: 13px; font-weight: 700; color: #C22A2C; flex-shrink: 0; }
.mut-top { display: inline-flex; align-items: center; font-size: 10px; color: #B26A2C; background: #FFF4E5; border-radius: 8px; padding: 1px 6px; }
.mut-topline { padding: 8px 10px 0; display: flex; }
.mut-av { width: 20px; height: 20px; border-radius: 50%; color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mut-av.lg { width: 34px; height: 34px; font-size: 14px; }
.mut-nm { font-size: 12px; color: #2E6B53; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mut-rk { font-size: 10px; color: #8A939C; background: #F2F4F7; border-radius: 8px; padding: 1px 6px; flex-shrink: 0; max-width: 64px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mut-t { font-size: 14px; font-weight: 600; line-height: 1.35; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mut-d { font-size: 12px; color: #8A939C; margin-top: 4px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mut-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; }
.mut-tag { font-size: 10px; color: #2E6B53; background: #EEF4F0; border-radius: 8px; padding: 2px 7px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mut-tag.pri-hot { background: #FDE8E8; color: #C22A2C; }
.mut-tag.pri-fast { background: #FFF3DC; color: #B8860B; }
.mut-tag.consul { background: #EAF3FA; color: #3A6B8F; }
.mut-btn { border: none; background: #E5484D; color: #fff; font-size: 11px; font-weight: 600; border-radius: 12px; padding: 4px 14px; flex-shrink: 0; cursor: pointer; }
.mut-btn:disabled { background: #D5DAE0; color: #fff; }
.mut-btn.done { background: #2E6B53; }
.mut-btn.sm { padding: 3px 10px; font-size: 11px; border-radius: 10px; }
.mut-btn.sm.ok { background: #2E6B53; }
.mut-btn.sm.no { background: #fff; color: #E5484D; border: 1px solid #E5484D; }
.mut-btn.like { background: #F4F6F8; color: #4E5969; border: 1px solid #E2E8E4; padding: 3px 12px; }
.mut-btn.like:active { background: #E8F6EC; color: #2E6B53; }
.mut-tags { display: flex; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.mut-my-tip { background: #FFF7E0; color: #B8860B; border-radius: 10px; padding: 10px 12px; font-size: 12px; margin-top: 10px; text-align: center; }
.mm-apply { display: flex; align-items: center; gap: 8px; background: #F7F9F8; border: 1px solid #E8EFEB; border-radius: 10px; padding: 8px 10px; margin-top: 8px; }
.mut-st { font-size: 11px; font-weight: 600; flex-shrink: 0; }
/* 互助页：单列瀑布流（卡片左图右字更宽） */
.mut-feed { column-count: 1; }
/* 今日热议横幅 */
.fhot { padding: 10px 12px 0; }
.hot-card { background: linear-gradient(135deg,#FFF9EC,#FFF3DC); border: 1px solid #F3E3BC; border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.hot-card .tag-hot { display: inline-block; font-size: 10px; color: #B8860B; background: #FFF; border-radius: 8px; padding: 2px 8px; margin-right: 6px; }
.hot-card .title { font-size: 14px; font-weight: 700; color: #4A3410; margin-top: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hot-card .meta { font-size: 11px; color: #B08A3E; margin-top: 6px; }
/* 帖子图片 */
.p-imgs .p-img { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; cursor: zoom-in; }
.r-imgs { position: relative; }
.r-imgs .r-img { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; cursor: zoom-in; }
.r-img-n { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.5); color: #fff; font-size: 10px; border-radius: 8px; padding: 1px 6px; }
/* 图片查看器 */
.viewer-mask { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; }
.viewer-box { position: relative; max-width: 94vw; max-height: 86vh; display: flex; align-items: center; justify-content: center; }
.viewer-box img { max-width: 94vw; max-height: 80vh; border-radius: 8px; }
.viewer-bar { position: absolute; bottom: -38px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; color: #fff; font-size: 15px; }
.viewer-bar span { cursor: pointer; padding: 4px 10px; }
.viewer-close { position: absolute; top: -34px; right: -6px; color: #fff; font-size: 18px; cursor: pointer; padding: 6px; }
/* 求助分类筛选条（可横向滚动，两侧箭头） */
.cat-chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px 4px; background: #fff; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips .chip { flex-shrink: 0; }
.scroll-cats { position: relative; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.scroll-cats::-webkit-scrollbar { display: none; width: 0; height: 0; }
.cat-nav { flex-shrink: 0; width: 26px; height: 26px; line-height: 24px; text-align: center; background: #F2F4F7; border-radius: 50%; color: #4E5969; font-size: 16px; cursor: pointer; position: sticky; right: 0; top: 0; z-index: 2; margin-left: auto; }
.cat-nav:hover { background: #E2E8E4; }
/* 我的页面：六大分类宫格（3 列） */
.mine6 { grid-template-columns: repeat(3, 1fr); }
.mine6 .fn { padding: 14px 0; }
.mine6 .fn span { font-size: 26px; }
.mine6 .fn i { font-size: 12px; }
.mut-tag.cat { background: #EAF3FA; color: #3A6B8F; }

/* ==================== 商家（仿大众点评） ==================== */
.dp-card { display: flex; gap: 10px; background: #fff; border-radius: 12px; margin: 0 14px 10px; padding: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.dp-cover { width: 74px; height: 74px; border-radius: 10px; flex-shrink: 0; color: #fff; font-size: 30px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.dp-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dp-name { font-size: 15px; font-weight: 700; color: #1D2129; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dp-row { display: flex; align-items: center; gap: 4px; }
.dp-star { color: #FFB800; font-size: 12px; letter-spacing: 1px; }
.dp-score { color: #FFB800; font-size: 14px; font-weight: 700; }
.dp-cat { font-size: 11px; color: #2E6B53; background: #EEF4F0; border-radius: 8px; padding: 1px 7px; }
.dp-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.dp-tag { font-size: 10px; color: #3A6B8F; background: #EAF3FA; border-radius: 8px; padding: 1px 7px; }
.dp-hero { height: 120px; border-radius: 12px; color: #fff; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; letter-spacing: 4px; }
.dp-info { font-size: 13px; color: #4E5969; margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.dp-rev { border-top: 1px solid #F2F4F7; padding: 10px 0 4px; }
/* 帮顶 / 赞助操作条 */
.mut-ops { display: flex; gap: 12px; padding-top: 6px; border-top: 1px dashed #EEF1F4; margin-top: 6px; }
.mut-ops .op { font-size: 11px; color: #8A939C; display: flex; align-items: center; gap: 3px; }
/* 帮转分享面板 */
.share-wrap { display: none; position: fixed; inset: 0; z-index: 999; align-items: flex-end; justify-content: center; }
.share-wrap.on { display: flex; }
.share-mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.share-sheet { position: relative; width: 100%; max-width: 480px; background: #fff; border-radius: 16px 16px 0 0; padding: 16px 18px 22px; box-sizing: border-box; animation: shUp .22s ease; }
@keyframes shUp { from { transform: translateY(40%); opacity: .4; } to { transform: none; opacity: 1; } }
.share-hd { font-size: 15px; font-weight: 700; text-align: center; color: #1B1F23; }
.share-x { position: absolute; right: 16px; top: 14px; font-size: 15px; color: #8A939C; }
.share-t { font-size: 13px; color: #5A6472; background: #F4F6F8; border-radius: 8px; padding: 8px 10px; margin: 12px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-grid { display: flex; justify-content: space-around; padding: 6px 0 10px; }
.share-item { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: #3D4653; }
.share-item .ic { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; background: #EEF1F4; }
.share-item[data-channel="微信"] .ic, .share-item[data-channel="朋友圈"] .ic { background: #E8F6EC; }
.share-item[data-channel="QQ"] .ic { background: #E9F2FD; }
.share-item[data-channel="微博"] .ic { background: #FDEBEC; }
.share-item[data-channel="复制链接"] .ic { background: #F4F6F8; }
.share-tip { font-size: 11px; color: #9AA3AF; text-align: center; line-height: 1.6; }

/* ---------- 互助页 · 今日热议板块 ---------- */
.mhot { padding: 10px 12px 0; }
.mhot-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mhot-title { font-size: 16px; font-weight: 700; color: #1F2D28; }
.mhot-title::before { content: ''; display: inline-block; width: 4px; height: 14px; background: #E5484D; border-radius: 2px; margin-right: 8px; vertical-align: -2px; }
.mhot-sub { font-size: 12px; color: #8A6D1F; background: #FBF7E8; padding: 3px 10px; border-radius: 12px; }
.mhot-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.mhot-scroll::-webkit-scrollbar { display: none; }
.mhot-list { padding: 10px 12px 0; }
.mhot-scroll.col { flex-direction: column; overflow-x: visible; scroll-snap-type: none; }
.mhot-scroll.col .mhot-card { flex: none; width: 100%; }
.mhot-card {
  flex: 0 0 78%; scroll-snap-align: start; background: linear-gradient(120deg, #3B2F2E, #59403A);
  color: #fff; border-radius: 12px; padding: 12px 14px; cursor: pointer; min-height: 96px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mhot-t { font-size: 14px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mhot-m { font-size: 11px; color: rgba(255,255,255,.7); margin-top: 6px; }
.mhot-btn { margin-top: 8px; font-size: 12px; color: #FFD666; font-weight: 600; }

/* ---------- 优先地图新版布局（标题左标注/菜单行右附近的人/地图左列表/无底部图例） ---------- */
.poi-toolbar { display: flex; align-items: center; gap: 8px; padding: 10px 14px 2px; }
.poi-toolbar .chips { flex: 1; min-width: 0; padding: 0; }
.poi-peer-btn {
  flex-shrink: 0; background: #2E6B53; color: #fff; font-size: 12px;
  padding: 6px 12px; border-radius: 16px; text-decoration: none; white-space: nowrap;
}
.poi-peer-btn.on { background: #E5484D; }
.poi-map-wrap { position: relative; margin: 4px 0 8px; }
.poi-list-btn {
  flex-shrink: 0;
  background: rgba(255,255,255,.94); border: 1px solid #e2e8e4; color: #2E6B53;
  font-size: 12px; padding: 6px 12px; border-radius: 16px; box-shadow: 0 2px 6px rgba(16,24,40,.10); cursor: pointer;
}
.poi-cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 14px 10px; -webkit-overflow-scrolling: touch; }
.poi-cats::-webkit-scrollbar { display: none; }

/* ---------- 我的 · 六大分类容器（标题行左分类名右更多 + 最近1条） ---------- */
.mine-secs { padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; }
.mine-sec { background: #fff; border-radius: 12px; padding: 12px 14px; cursor: pointer; box-shadow: 0 1px 3px rgba(16,24,40,.04); }
.mine-sec-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mine-sec-h b { font-size: 15px; color: #1F2D28; }
.mine-more { font-size: 12px; color: #8A939C; text-decoration: none; }
.mine-sec-b { min-height: 22px; }
.mine-empty { font-size: 12px; color: #B6BEC6; }
.mine-sec-item { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #F7F9F8; border-radius: 8px; padding: 9px 10px; }
.mine-ic { font-size: 16px; flex: none; }
.mine-txt { flex: 1; min-width: 0; font-size: 13px; color: #2A3530; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mine-r { flex: none; font-size: 12px; font-weight: 600; color: #3A6B8F; }
.mine-sub { flex-basis: 100%; font-size: 11px; color: #8A939C; }

/* 积分页：分类分组 */
.pts-group { margin: 10px 12px 0; background: #fff; border-radius: 12px; overflow: hidden; }
.pts-group-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 6px; font-size: 14px; font-weight: 700; color: #2E6B53; }
.pts-group-h b { font-size: 15px; }
.pts-group .list-item { margin: 0; border-radius: 0; border-top: 1px solid #F5F6F7; }

/* 评价追评标记 */
.tag-gold { background: #FDF3E3; color: #B8860B; }
/* 优先地图：我的位置 / 标记地点按钮 */
.poi-loc-btn { position: absolute; top: 10px; right: 10px; z-index: 30; background: rgba(255,255,255,0.96); border: 1px solid #dbe3dd; border-radius: 18px; padding: 6px 12px; font-size: 13px; color: #2E6B53; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.poi-mark-btn { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40; background: #C22A2C; color: #fff; border: none; border-radius: 24px; padding: 10px 26px; font-size: 15px; box-shadow: 0 4px 14px rgba(194,42,44,0.35); }
.poi-mark-btn.hidden { display: none; }

/* ---------- 购物车（京东风格：勾选行 + 底部结算栏 + 为你推荐瀑布流） ---------- */
.jd-cart-row { display: flex; align-items: center; gap: 10px; background: #fff; padding: 12px; border-bottom: 8px solid #F5F6F7; }
.jd-cart-img { width: 84px; height: 84px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 40px; flex: none; }
.jd-cart-info { flex: 1; min-width: 0; }
.jd-cart-name { font-size: 14px; color: #1F2329; line-height: 1.4; height: 38px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.jd-cart-ship { font-size: 10px; color: #86909C; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jd-qty { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.jd-sel { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #4E5969; flex: none; }
.jd-sel input { width: 17px; height: 17px; accent-color: #E93B3D; }
.jd-reco { padding: 14px 12px 4px; font-size: 14px; color: #86909C; text-align: center; }
.jd-reco b { font-weight: 400; letter-spacing: 2px; }
.jd-cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 10px; background: #fff; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #F2F3F5; box-shadow: 0 -2px 10px rgba(31,35,41,.06); }
.jd-total { flex: 1; text-align: right; }
.jd-total .red { font-size: 18px; }
.jd-checkout { flex: none; background: linear-gradient(90deg, #E93B3D, #C22A2C); color: #fff; border: none; border-radius: 20px; padding: 9px 22px; font-size: 14px; font-weight: 600; }

/* ---------- 弹窗私聊（微信式小窗，不离开当前页） ---------- */
.cp-mask { position: fixed; inset: 0; z-index: 300; background: rgba(17,24,20,.5); display: flex; align-items: flex-end; justify-content: center; }
.cp-box { width: 100%; max-width: 560px; height: 62vh; background: #F7F7F7; border-radius: 18px 18px 0 0; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 -6px 30px rgba(0,0,0,.18); }
.cp-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #EDEDED; color: #191919; }
.cp-av { width: 34px; height: 34px; border-radius: 50%; background: #2E6B53; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.cp-x { border: none; background: transparent; font-size: 16px; color: #8A939C; padding: 4px 6px; cursor: pointer; }
.cp-body { flex: 1; overflow-y: auto; padding: 12px; }
.cp-empty { text-align: center; color: #B6BEC6; font-size: 13px; padding: 26px 0; }
.cp-bar { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #F7F7F7; border-top: 1px solid #E8E8E8; }
.cp-bar input { flex: 1; border: none; outline: none; background: #fff; border-radius: 18px; padding: 9px 14px; font-size: 14px; }
.cp-send { flex: none; border: none; border-radius: 18px; background: #07C160; color: #fff; padding: 9px 18px; font-size: 14px; font-weight: 600; }
.cp-send:disabled { opacity: .5; }
.msg-group { padding:10px 14px 6px; font-size:12px; color:#8A939C; background:#F5F7F8; }
