/* ============================================================
   home.css v3.7 · 首页/发现页（定位"逛"）
   设计稿：D:\项目资料\mroad\page_home.html
   作用域：index.html body.hm，不污染其他页面。
   色板与登录注册页一致：绿 #1f6b4a / 橙 #e8603c / 16px 圆角 / 边框 #e8eeea。
   页面结构：取色渐变透明头(吃进Hero图) → Hero 300px 情绪钩子 →
   TOP 榜横滑(210px scroll-snap) → 推荐卡流(左图112 右文) → Tab 78px 毛玻璃。
   ============================================================ */

/* ===== 全局竖屏限宽（v42.1 根治"新页面又全屏"：home.css 是全部 H5 页面
   都引的公共样式，限宽只写这一处；新页面引本文件即自动竖屏，PC 居中。
   !important 防止个别页自带的 body{margin:0}（如 auth.css）覆盖 auto。
   fixed 元素（tabbar/wz-foot/FAB）各自已有 viewport 居中方案。 ===== */
html { background: linear-gradient(135deg, #0d2818 0%, #164d35 55%, #1f6b4a 100%) fixed; }
body { max-width: 480px !important; margin: 0 auto !important; }

/* ===== 色板（hm/rl/pm 三页共用：首页+列表页+我的页同一设计语言） ===== */
body.hm, body.rl, body.pm {
  --hm-green: #1f6b4a;
  --hm-green-d: #164d35;
  --hm-ink: #1a2b23;
  --hm-sub: #5d6b64;
  --hm-line: #e8eeea;
  --hm-hot: #e8603c;
  --hm-bg: #f4f7f5;
  --hm-gutter: 18px;
  /* 固定顶头高度（.hm-head 的 height）。凡是「让开顶头」或「吸顶到顶头下方」
     的地方一律引用这个变量，改顶头高度时只改这一处（v63 起）。 */
  --hm-head-h: 99px;
  background: var(--hm-bg);
}
/* 底部安全间距：给 78px Tab 栏留位（覆盖 theme.css 的 76px） */
body.hm.has-tabbar, body.rl.has-tabbar, body.pm.has-tabbar { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }

/* ===== 顶部取色渐变透明头（首页+列表页共用；背景图由 JS 写入 --hm-img） =====
   首页 fixed（Hero 200px 大图垫底，头带 79px 随滚动吃进图里）；
   列表页 absolute（设计稿语义：色带只垫搜索框背后，随内容滚走——
   v3.9 修复：原 fixed+mask 把文档流里的吸顶搜索框整个盖住且挡点击）。 */
.hm-head {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: var(--hm-head-h, 79px); z-index: 60;
  /* 氛围层：山景图（与「我的」页同款）被绿色遮罩压在下面，只透出若隐若现的山形轮廓 */
  background-image: url('/img/bg-login.jpg?v=41');
  background-size: cover; background-position: center 30%;
  pointer-events: none;
  /* v61 去掉 clip-path 波浪（用户要求）：改为平底，底部用 .hm-head::after 渐变自然收边 */
}
/* 顶部区下沿 → banner 的过渡带（v61）：不再用 clip-path，改成「绿色实 → 页面底色」的
   渐变填充带，垫在头与 banner 之间，让两者之间留出一小段渐变色空间（用户要求：顶部和
   banner 区中间隔开一点空间，中间有渐变色填充）。渐变带是 hm-scroll 的 ::before，绝对
   定位在头部下沿之下、banner 之上，不随内容滚走（banner 从它下方开始）。
   尺寸配合固定搜索框：搜索框 fixed top:64 高50 → 底 114px，微盖 banner 顶部约 8px。 */
.hm-scroll { position: relative; padding-top: calc(var(--hm-head-h, 79px) + 6px); }
.hm-scroll::before {
  content: ''; position: absolute; top: var(--hm-head-h, 79px); left: 0; right: 0; height: 6px;
  background: linear-gradient(180deg, rgba(31,107,74,0) 0%, var(--hm-bg) 100%);
  pointer-events: none; z-index: 1;
}
/* 列表页头（v62）：与首页顶部**完全一致**——79px + fixed + 取图 center 38%，
   底缘用 .hm-head::after 同一套渐变收边。
   （原为 absolute/150px/center 65%，与首页不一致：高度不同、滚动行为不同、
   山景取图位置不同。现按用户要求「两页顶部高度/图/样式全保持一致」统一。）
   ⚠️ .hm-head 变 fixed 后不再占文档流（原先 absolute 时 rl-head 也不占流，
   但列表页靠 .rl-sticky 的 padding-top 让位），这里补上撑开量，
   否则品牌行会压在顶图下面。 */
body.rl .rl-head {
  -webkit-mask-image: none; mask-image: none;
}
/* 列表页内容整体下移，让开 79px 固定顶头（首页由 .hm-scroll padding-top 承担，
   列表页没有 .hm-scroll，故在此撑开）。
   ⚠️ 注意：这只是把内容推到顶头下方；「吸顶时不被顶头盖住」由下面
   .rl-sticky-brandonly 的 top:var(--hm-head-h) 负责，两者缺一不可。 */
body.rl .rl-sticky { margin-top: var(--hm-head-h, 79px); }
/* 遮罩色 #C8E0D2：品牌浅绿（主色 #2E7D5B 派生 B 档）。
   顶部 10% 半透明→底部 100% 实色：上部透出山形、下半压住画面，单向渐变。
   同时也是全站顶头色相锚点（首页/列表/咨询同此绿）。 */
/* 遮罩色：与 workbench(.ml-head) 同款对角渐变，但整体压暗降到 .5→.03，
   顶部明显更亮、山图透出更多（用户要求顶部亮度跟 workbench 一致且更通透）。
   白字靠 .hm-brand text-shadow 保证可读。 */
.hm-head::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(12,40,26,.5) 0%,
    rgba(12,40,26,.16) 55%,
    rgba(12,40,26,.03) 100%);
}
/* 山图加载失败：头部降级为品牌绿实色，遮罩渐变保留，不开天窗。
   注意：v62 起 JS 不再因「轮播/列表无封面图」加 hm-nohero（那会误杀顶图），
   这里只兜底「bg-login.jpg 本身 404」的真失败。 */
body.hm-nohero .hm-head { background-image: none; background: #1f6b4a; }
body.rl.hm-nohero .rl-head { background-image: none; background: #1f6b4a; }
body.sr.hm-nohero .rl-head { background-image: none; background: #1f6b4a; }

/* ===== 状态栏层：品牌名 + 登录入口，白字 + text-shadow（亮图上可读） ===== */
.hm-stbar {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 70;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 8px;
  color: #fff;
}
/* v85 品牌字：加重字重、拉开字距，叠一层青色柔光呼应新 logo 的山路青色；
   不用 background-clip:text，避免旧 WebView 不支持时整行变透明。 */
.hm-brand {
  display: flex; flex-direction: column; line-height: 1.05;
  font-size: 20px; font-weight: 900; letter-spacing: 2.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 14px rgba(140,232,248,.55);
}
/* 品牌双行：中文「悠世客」+ 英文「USeekr」（文案由 JS appName 写入中文行，英文行用 ::after 补） */
.hm-brand::after {
  content: 'USeekr'; display: block; margin-top: 3px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 4px; opacity: .8;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
/* 已登录态头像保留暗图上的描边文字阴影；登录胶囊已改为实色绿底，无需阴影 */
.hm-stbar .hdr-user { text-shadow: 0 1px 3px rgba(0,0,0,.35); }

/* ===== 通用头像基础样式（全站兜底）=====
   原 .dt-avatar 仅定义在 theme.css/auth.css，但工作台/我的活动等承接方页
   只引 home.css + mylines.css，未引 theme.css → 头像变方形、文字顶到左上角。
   common.js 的 avatarHtml/letterAvatar 现已把圆形+居中+白字 inline 进元素，
   这里再补一份类样式兜底，保证任何只用 class 的场景也统一为圆形居中。 */
.dt-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: #fff; font-weight: 700; line-height: 1;
  flex: none; user-select: none; text-decoration: none;
}
.dt-avatar.has-img { overflow: hidden; }
.dt-avatar.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== 右上角纯圆头像版（v3.9）：白边圆头像 + 未读红点，点击进 /me ===== */
.hm-stbar .hdr-avatar, body.rl .hm-stbar .hdr-avatar {
  position: relative; display: inline-block; text-decoration: none; line-height: 0;
}
.hm-stbar .hdr-avatar .dt-avatar {
  box-shadow: 0 0 0 2px rgba(255,255,255,.75), 0 1px 4px rgba(0,0,0,.25);
}
.hm-stbar .hdr-dot {
  position: absolute; top: -2px; right: -2px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #e8603c; border: 1.5px solid #fff;
}

/* ===== 首页整体搜索框（v61 新增，从列表页搬来）=====
   用户要求：搜索框放首页，滑动时和顶部一起固定住，位置在顶部下沿出来一点、
   盖一点点 banner 区。
   v84 调整：城市 badge 挂在 .hm-stbar 内（品牌行下方），底缘约 71px（+safe-area），
   原 top:64px / 高 50px 会与 badge 重合约 7px。现将高度调小 1/4（50→38px）、
   整体下移到 top:84px 并跟随 env(safe-area-inset-top)，与 badge 底缘恒定留约 13px
   间隙，彻底避开城市定位；底缘 122px 仍自然盖住 banner 顶部一点。
   border-radius 随高度收为 19px 保持胶囊形；z-index 65 低于状态栏(70)，不挡品牌。 */
.hm-searchbar {
  position: fixed; top: calc(84px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 65;
  padding: 0 var(--hm-gutter);
  pointer-events: none;   /* 容器不挡点击，交给内部 .bar */
}
.hm-searchbar .bar {
  pointer-events: auto;
  display: flex; align-items: center; gap: 9px;
  height: 38px; padding: 0 14px;
  background: rgba(255,255,255,.97);
  border: 1px solid var(--hm-line);
  border-radius: 19px;
  box-shadow: 0 6px 20px rgba(20,60,42,.18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hm-searchbar .bar .ic { font-size: 16px; opacity: .6; flex: none; }
.hm-searchbar .bar input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font-size: 16px; color: var(--hm-ink);   /* ≥16px 防 iOS 缩放 */
}
.hm-searchbar .bar input::placeholder { color: #9aa8a1; }
.hm-searchbar .go {
  flex: none; border: 0; cursor: pointer;
  background: var(--hm-green); color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 18px;
}
.hm-searchbar .go:active { background: var(--hm-green-d); }

/* ===== Hero：200px 情绪钩子（无按钮无搜索框；v4.14 由 300px 压到 2/3=200px） =====
   图片焦点偏上(center 30%)不裁山顶；底部渐变到白融入页面背景；
   图片挂掉 → 整块降级为品牌绿渐变（.hm-nohero 隐藏 img）。 */
/* Banner 轮播：16px 圆角 + 柔和外阴影，明确框定为「独立内容块」，
   与上方氛围头分离（圆角=语义：这是内容卡片，不是头部图）。 */
.hm-hero {
  position: relative; display: block; height: 200px;
  margin: 0 var(--hm-gutter) 16px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20,60,40,.14);
  overflow: hidden; text-decoration: none;
  background: linear-gradient(160deg, #0d2818 0%, #164d35 55%, #1f6b4a 100%);
}
.hm-hero > img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 30%; display: block;
}
body.hm-nohero .hm-hero > img { display: none; }
.hm-hero .grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(8,28,18,.55) 0%, rgba(8,28,18,.15) 42%,
    rgba(8,28,18,0) 70%, rgba(8,28,18,.62) 100%);
}
/* v40：文字下移靠底（原 top:52px 被状态栏/头部盖住），指示点同步上移避让 */
.hm-hero .txt {
  position: absolute; left: 18px; right: 18px; top: auto; bottom: 46px;
  color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.hm-hero .kicker {
  display: inline-block; font-size: 11px; letter-spacing: 1px;
  background: rgba(255,255,255,.22); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 3px 10px; border-radius: 20px; margin-bottom: 9px;
}
.hm-hero .txt h3 {
  margin: 0; font-size: 24px; font-weight: 900; letter-spacing: 1px; line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hm-hero .txt p { margin: 5px 0 0; font-size: 12.5px; opacity: .9; }
/* ===== 轮播指示点：右下角白点，当前张实底白（v40 上移避让文字区） ===== */
.hm-hero .hdots {
  position: absolute; right: 16px; top: 18px; z-index: 3;
  display: flex; gap: 5px;
}
.hm-hero .hdots[hidden] { display: none; }
.hm-hero .hdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.45); transition: .2s;
}
.hm-hero .hdot.on { background: #fff; width: 14px; border-radius: 3px; }

/* ===== 模块标题：17px/800 + 右侧排序依据 ===== */
.hm .sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 20px var(--hm-gutter) 12px;
}
/* v85 栏目标题：青→品牌绿渐变竖条，破掉原来纯黑粗字的朴素感 */
.hm .sec-head h2 {
  margin: 0; font-size: 18px; font-weight: 900; color: var(--hm-ink); letter-spacing: 1px;
  position: relative; padding-left: 12px;
}
.hm .sec-head h2::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 17px; border-radius: 2px;
  background: linear-gradient(180deg, #35c6d8 0%, #1f6b4a 100%);
}
.hm .sec-head .more { font-size: 12px; color: var(--hm-sub); cursor: pointer; }
.hm .sec-head .more b { color: var(--hm-green); font-weight: 700; }
.hm .sec-head .more:active { opacity: .6; }

/* ===== TOP 榜横滑卡：210px + scroll-snap ===== */
.hm .top-scroll {
  display: flex; gap: 12px;
  /* 左右对齐：用 margin 限定滚动区两端（18px gutter），卡片在 [18,372] 内滑动——
     左缘与 hero/推荐卡对齐，右缘裁切线也与推荐卡右缘(372)对齐；
     不用 padding+scroll-padding（那只约束左端，右端会一直出血到屏幕边 390）。 */
  margin: 0 var(--hm-gutter);
  overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; cursor: grab;
}
.hm .top-scroll::-webkit-scrollbar { display: none; scrollbar-width: none; }
.hm-top-card {
  width: 210px; flex-shrink: 0; scroll-snap-align: start;
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--hm-line); text-decoration: none;
}
.hm-top-card .pic {
  height: 120px; position: relative;
  background: linear-gradient(135deg, #eef1f4, #e3e7eb); /* 图片失败降级浅灰占位 */
}
.hm-top-card .pic img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hm-top-card .pic .hm-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #aeb4ba; font-size: 22px; font-weight: 700;
}
.hm-top-card .badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--hm-hot); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; letter-spacing: .5px;
}
.hm-top-card .rank {
  position: absolute; top: 10px; right: 10px;
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(255,255,255,.92); color: var(--hm-ink);
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.hm-top-card .rank.g { background: var(--hm-green); color: #fff; }
.hm-top-card .info { padding: 11px 12px 13px; }
.hm-top-card .info .nm {
  font-size: 14px; font-weight: 700; color: var(--hm-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hm-top-card .info .pl {
  display: flex; align-items: center; justify-content: space-between; margin-top: 7px;
}
.hm-top-card .info .lc { font-size: 11.5px; color: var(--hm-sub); }
.hm-top-card .info .pr { font-size: 13px; color: var(--hm-hot); font-weight: 700; }

/* ===== 推荐卡流：左图 112px 正方形 + 右文（只放决策信息） ===== */
.hm .rec { display: flex; flex-direction: column; gap: 6px; padding: 0 var(--hm-gutter); }
.hm-rec-card {
  display: flex; background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--hm-line); cursor: pointer;
}
.hm-rec-card .pic {
  width: 112px; height: 112px; flex-shrink: 0; position: relative;
  background: linear-gradient(135deg, #eef1f4, #e3e7eb);
}
.hm-rec-card .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-rec-card .pic .hm-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #aeb4ba; font-size: 22px; font-weight: 700;
}
.hm-rec-card .pic .free {
  position: absolute; top: 8px; left: 8px;
  background: rgba(255,255,255,.94); color: var(--hm-green-d);
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 5px;
}
.hm-rec-card .info {
  padding: 12px 13px; flex: 1; min-width: 0;
  display: flex; flex-direction: column;
}
.hm-rec-card .info .tags { display: flex; gap: 5px; margin-bottom: 6px; flex-wrap: wrap; }
.hm-rec-card .info .tags span {
  font-size: 10px; color: var(--hm-green);
  background: rgba(31,107,74,.09); padding: 2px 7px; border-radius: 4px;
}
.hm-rec-card .info .nm {
  font-size: 14.5px; font-weight: 700; color: var(--hm-ink); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hm-rec-card .info .lc { font-size: 11.5px; color: var(--hm-sub); margin-top: 5px; }
.hm-rec-card .info .bt {
  margin-top: auto; display: flex; align-items: center;
  justify-content: space-between; padding-top: 8px;
}
.hm-rec-card .info .bt .pr { font-size: 15px; color: var(--hm-hot); font-weight: 800; }
.hm-rec-card .info .bt .go { font-size: 11.5px; color: var(--hm-green); font-weight: 700; }

/* ===== 底部 Tab：78px 白底毛玻璃，选中品牌绿 + 加粗 =====
   v40.1 修复⑦：基础 fixed 定位原只在 theme.css，workbench(我的线路)未引
   theme.css 导致 tabbar 掉为普通流式 div（"主菜单 css 不对"根因）。
   此处补齐基础定位（与 theme.css 同值，双重定义无冲突）。 */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 100%; max-width: 480px; z-index: 40;
  display: flex; background: #fff;
}
body.hm .tabbar, body.rl .tabbar, body.pm .tabbar, body.ml .tabbar {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--hm-line); box-shadow: none;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tabbar-item {
  position: relative;
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 2px; padding: 7px 0 6px; text-decoration: none; color: #9aa3ad;
  transition: color .15s ease;
}
.tabbar-item.active { color: var(--primary, #1f6b4a); }
.tabbar-label { font-size: 11px; }
/* 工作台(body.ml) 不引 theme.css，需在此补齐图标/条目的相对定位，
   否则 .tabbar-dot 角标与 .tabbar-item.active::before 指示条会回退锚定到
   整条 .tabbar(fixed) 而非图标/条目本身，导致选中态角标位置飞出。 */
.tabbar-icon { position: relative; }
body.hm .tabbar-item.active, body.rl .tabbar-item.active, body.pm .tabbar-item.active, body.ml .tabbar-item.active { color: var(--hm-green); }
body.hm .tabbar-item.active .tabbar-label, body.rl .tabbar-item.active .tabbar-label, body.pm .tabbar-item.active .tabbar-label, body.ml .tabbar-item.active .tabbar-label { font-weight: 700; }

/* 未读角标：workbench(/workbench, body.ml) 不引 theme.css/auth.css，
   原先缺 .tabbar-dot 定义 → 选中态「工作台」的 11 角标无样式、且 .tabbar-icon
   非 relative 导致定位错乱（与未选中态观感不一致）。此处对齐 theme.css 定义，
   使选中/未选中角标完全一致（红底白字、图标右上浮标）。 */
.tabbar-dot {
  position: absolute; top: -4px; right: -10px;
  min-width: 16px; height: 16px; line-height: 16px; padding: 0 4px;
  border-radius: 8px; background: #dc2626; color: #fff;
  font-size: 10px; font-style: normal; text-align: center;
}

/* ===== 难度匹配提示（线路/活动详情头部：fitness_profile.suggest_diff vs 难度，
   高于个人建议难度=红字风险提示，≤=绿字匹配。route.html 与 activity.html 均引本文件） ===== */
.fit-match {
  margin: 10px 0 2px; padding: 8px 12px; border-radius: 10px;
  font-size: 12.5px; line-height: 1.55;
}
.fit-match.warn { background: #fdecec; color: #c0392b; border: 1px solid #f2c4c4; }
.fit-match.ok { background: #e9f6ef; color: #1f7a4d; border: 1px solid #cfe8da; }

/* ===== 空态/错误态（state-msg 在 hm 页的呈现） ===== */
.hm .state-msg { margin: 26px 18px; text-align: center; font-size: 13px; color: var(--hm-sub); }
.hm .state-msg .retry {
  margin-top: 10px; padding: 7px 22px; border: 1px solid var(--hm-line);
  border-radius: 999px; background: #fff; color: var(--hm-green);
  font-size: 13px; font-weight: 600; cursor: pointer;
}

/* ===== 小屏适配：Hero 260px / 标题 20px ===== */
@media (max-width: 374px) {
  .hm-hero { height: 260px; }
  .hm-hero .txt h3 { font-size: 20px; }
}

/* ============================================================
   线路列表页（body.rl）· 设计稿 Page_list.html
   定位「找」：吸顶搜索 + 三级筛选（分类金刚区/Chip/快捷标签）+ 卡片流。
   ============================================================ */

/* ===== 列表页取色头（v62）：与首页顶部完全一致 =====
   主体样式全部继承文件顶部 .hm-head（79px + fixed + bg-login.jpg center 38%）。
   此处**不再**覆盖 position/height/background-position —— 那些覆盖正是
   「两页顶部不一致」的根因（列表页曾被改成 absolute/150px/center 65%）。 */

/* ===== 吸顶搜索框：sticky top:0 z-35，上实下透渐变衔接头部 =====
   v3.9：品牌行(.rl-toprow)并入吸顶区——初始白字浮在色带上，
   滚动吸顶后整块变白底毛玻璃（.stucked 由 JS 加），搜索框永远可点。 */
.rl-sticky {
  position: sticky; top: 0; z-index: 35;
  background: linear-gradient(180deg, rgba(244,247,245,.98) 0%, rgba(244,247,245,.92) 78%, rgba(244,247,245,0) 100%);
  padding: calc(8px + env(safe-area-inset-top, 0px)) 18px 10px;
  transition: background .2s;
}
.rl-sticky.stucked {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hm-line);
  box-shadow: 0 4px 14px rgba(20,60,42,.06);
}
.rl-toprow {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0 8px; color: #fff;
}
.rl-toprow .hm-brand {
  color: inherit; transition: .2s;  /* 字号/字重/字距/辉光统一继承 .hm-brand（v85） */
}
.rl-sticky.stucked .rl-toprow { color: var(--hm-ink); }
.rl-sticky.stucked .rl-toprow .hm-brand { text-shadow: none; }
.rl-toprow .hdr-avatar .dt-avatar { box-shadow: 0 0 0 2px rgba(255,255,255,.75); }
.rl-sticky.stucked .hdr-avatar .dt-avatar { box-shadow: 0 0 0 2px var(--hm-line); }
.rl-sticky .bar {
  display: flex; align-items: center; gap: 9px;
  background: var(--hm-bg); border: 1px solid var(--hm-line);
  border-radius: 14px; padding: 10px 12px;
}
.rl-sticky .bar .ic { font-size: 15px; opacity: .55; }
/* 真输入框：≥16px 防 iOS 缩放 */
.rl-sticky .bar input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font-size: 16px; color: var(--hm-ink);
}
.rl-sticky .bar input::placeholder { color: #9aa8a1; font-size: 13.5px; }
.rl-sticky .bar .ava {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 700; text-decoration: none;
}

/* ===== 列表头：标题 + 实时计数 ===== */
.rl-listhead { padding: 10px 18px 0; }
.rl-listhead .t { display: flex; align-items: baseline; justify-content: space-between; }
/* v85 「全部线路」标题：与首页栏目标题同一套渐变竖条语言 */
.rl-listhead h1 {
  margin: 0; font-size: 22px; font-weight: 900; color: var(--hm-ink); letter-spacing: 1.5px;
  position: relative; padding-left: 12px;
}
.rl-listhead h1::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 19px; border-radius: 2px;
  background: linear-gradient(180deg, #35c6d8 0%, #1f6b4a 100%);
}
.rl-count { font-size: 12px; color: var(--hm-sub); white-space: nowrap; }
.rl-count b { color: var(--hm-green); font-weight: 700; }
/* v40.1：整块吸顶容器（含标题/金刚区/chips/quick）。
   top 用 --rl-sticky-h（routes.js 实测 .rl-sticky 高度写入，含 safe-area 机型差异）。 */
.rl-listhead-sticky {
  position: sticky; top: var(--rl-sticky-h, 98px); z-index: 30;
  background: #f4f7f5;
}

/* ===== 一级筛选：分类 2 行正方形图标网格（紧凑，末位"更多"） =====
   9 玩法 + "更多" = 10 格，正好 5 列 × 2 行；图标正方形(圆角 12px)、紧凑，
   末位"更多"点开「全部分类」面板。选中态：图标变品牌绿实底。 */
.rl-catline {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 12px 4px; padding: 10px 18px 0;
}
.rl-catline .it {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: .15s;
}
.rl-catline .it .ci {
  width: 46px; height: 46px; border-radius: 12px; background: var(--hm-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; transition: .15s;
}
.rl-catline .it .lb { font-size: 11px; color: var(--hm-ink); line-height: 1.2; }
.rl-catline .it.on .ci { background: var(--hm-green); }
.rl-catline .it.on .lb { color: var(--hm-green); font-weight: 700; }
.rl-catline .it.more .ci {
  background: linear-gradient(135deg, #eaf3ee, #d8e8df); color: var(--hm-green);
}
.rl-catline .it:active { transform: scale(.96); }

/* ===== v4.10 收起式筛选：筛选按钮 + 已选条件标签（同一行） =====
   二级(城市/难度/时长/价格) · 三级(场景) · 四级(来源) 全部收进抽屉，
   选中后在这里以标签呈现，点标签（含 ×）即删除该条。 */
.rl-filterrow {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 18px 9px; border-bottom: 1px solid #f0f4f2;
}
.rl-filterbtn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; color: var(--hm-ink); background: var(--hm-bg);
  padding: 6px 12px; border-radius: 18px; border: 1px solid transparent;
  cursor: pointer; font-family: inherit; transition: .15s;
}
.rl-filterbtn .ar { font-size: 9px; opacity: .65; transform: translateY(-1px); }
.rl-filterbtn .n {
  min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px;
  background: var(--hm-green); color: #fff; font-size: 10px; font-style: normal;
  font-weight: 700; display: none; align-items: center; justify-content: center;
}
.rl-filterbtn .n:not([hidden]) { display: inline-flex; }
.rl-filterbtn.on { background: rgba(31,107,74,.1); color: var(--hm-green); font-weight: 600; border-color: rgba(31,107,74,.22); }
.rl-filterbtn:active { transform: scale(.96); }
.rl-picked {
  flex: 1; min-width: 0; display: flex; gap: 6px;
  overflow-x: auto; scrollbar-width: none;
}
.rl-picked::-webkit-scrollbar { display: none; }
.rl-tag {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 3px;
  font-size: 11.5px; color: var(--hm-green); background: rgba(31,107,74,.1);
  padding: 5px 8px; border-radius: 14px; white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rl-tag i { font-style: normal; font-size: 13px; line-height: 1; opacity: .7; }
.rl-clearbtn {
  flex-shrink: 0; border: 0; background: none; font-family: inherit;
  font-size: 12px; color: var(--hm-sub); cursor: pointer; padding: 4px 2px;
}

/* ===== 筛选抽屉（底部弹出，跟随 480 限宽居中） ===== */
.rl-filter-panel {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(16,24,32,.42);
  display: flex; align-items: flex-end; justify-content: center;
}
.rl-filter-panel[hidden] { display: none !important; }
.rl-filter-card {
  width: 100%; max-width: 480px; background: #fff;
  border-radius: 16px 16px 0 0; display: flex; flex-direction: column;
  max-height: 78vh; padding-bottom: env(safe-area-inset-bottom);
  animation: rlSheetUp .22s ease;
}
@keyframes rlSheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.rl-filter-card .hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px 6px;
}
.rl-filter-card .hd h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--hm-ink); }
.rl-filter-card .hd button {
  border: 0; background: none; font-family: inherit; cursor: pointer;
  font-size: 13px; color: var(--hm-sub);
}
.rl-filter-card .bd {
  overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 18px 6px;
}
.rl-fgroup { margin-bottom: 14px; }
.rl-fgroup .gt {
  font-size: 12.5px; font-weight: 700; color: var(--hm-ink); margin-bottom: 8px;
}
.rl-fgroup .gt em { font-style: normal; font-size: 11px; color: var(--hm-sub); font-weight: 400; margin-left: 6px; }
.rl-fgroup .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.rl-fopt {
  font-family: inherit; font-size: 12.5px; color: var(--hm-ink);
  background: var(--hm-bg); padding: 7px 13px; border-radius: 16px;
  border: 1px solid transparent; cursor: pointer; transition: .15s;
}
.rl-fopt.on { background: var(--hm-green); color: #fff; font-weight: 600; }
.rl-fopt.none { color: var(--hm-sub); }
.rl-fopt:active { transform: scale(.96); }
.rl-filter-card .ft {
  display: flex; gap: 10px; padding: 10px 18px 12px;
  border-top: 1px solid #f0f4f2;
}
.rl-filter-card .ft button {
  flex: 1; padding: 11px 0; border-radius: 22px; font-family: inherit;
  font-size: 14px; cursor: pointer; background: #fff; color: var(--hm-ink);
  border: 1px solid var(--hm-line);
}
.rl-filter-card .ft .ok {
  flex: 2; background: var(--hm-green); color: #fff;
  font-weight: 700; border-color: var(--hm-green);
}
/* 抽屉打开时锁背景滚动（不加 position:fixed，避免丢失滚动位置） */
body.rl-noscroll { overflow: hidden; }

/* ===== 列表卡片：左图 112 右文 + 状态角标（与首页 rec-card 同语言） ===== */
.rl .rec { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px 0; }
.rl-rec-card {
  display: flex; background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--hm-line); cursor: pointer;
}
.rl-rec-card .pic {
  width: 112px; height: 112px; flex-shrink: 0; position: relative;
  background: linear-gradient(135deg, #eef1f4, #e3e7eb);
}
.rl-rec-card .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rl-rec-card .pic .hm-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #aeb4ba; font-size: 22px; font-weight: 700;
}
/* 状态角标：图片左上角，不同状态不同色——用户一眼看出能不能报 */
.rl-rec-card .pic .st {
  position: absolute; top: 8px; left: 8px;
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 5px;
}
.rl-rec-card .pic .st.v { background: rgba(31,107,74,.92); color: #fff; }        /* 已核验：品牌绿实底 */
.rl-rec-card .pic .st.few { background: rgba(232,150,60,.95); color: #fff; }     /* 剩X位：琥珀 */
.rl-rec-card .pic .st.free { background: rgba(255,255,255,.94); color: var(--hm-green-d); } /* 免费/AA：白底绿字 */
.rl-rec-card .pic .st.full, .rl-rec-card .pic .st.closed { background: rgba(90,99,94,.88); color: #fff; } /* 已满/截止：灰 */
.rl-rec-card .pic .st.price { background: rgba(232,96,60,.94); color: #fff; }    /* ¥N起：橙 */
.rl-rec-card .info { padding: 12px 13px; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rl-rec-card .info .tags { display: flex; gap: 5px; margin-bottom: 6px; flex-wrap: wrap; }
.rl-rec-card .info .tags span {
  font-size: 10px; color: var(--hm-green);
  background: rgba(31,107,74,.09); padding: 2px 7px; border-radius: 4px;
}
.rl-rec-card .info .nm {
  font-size: 14.5px; font-weight: 700; color: var(--hm-ink); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rl-rec-card .info .lc { font-size: 11.5px; color: var(--hm-sub); margin-top: 5px; }
.rl-rec-card .info .bt { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; }
.rl-rec-card .info .bt .pr { font-size: 15px; color: var(--hm-hot); font-weight: 800; }
.rl-rec-card .info .bt .go { font-size: 11.5px; color: var(--hm-green); font-weight: 700; }

/* ===== 排期状态行（可报/已满/截止/候补）=====
   列表内联在 .bt 上方；价格差异解释由此处文案承担，不让用户盲猜。 */
.rl-seat { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11px; color: var(--hm-sub); }
.rl-seat .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.rl-seat .dot.open { background: #1f9d55; }
.rl-seat .dot.full { background: #d97706; }
.rl-seat .dot.closed { background: #9ca3af; }
.rl-seat .dot.wait { background: #2563eb; }

/* ================= v4.9 卡片来源标识 =================
   设计口径：来源识别靠「卡片本体」而不是顶部过滤器——四层信号叠加，
   任何缩略尺寸下都可识别，且共用一套配色互为印证：
     绿 = 已核验（本站机构发布）      蓝 = 已收录（三方抓取快照）
   ① 左侧 4px 竖条：快速滑动时最先被感知（实色，不用渐变）
   ② 顶部色带：横贯整卡宽度，唯一无需主动观察的信号；图标形状不同（✓ / 收）
   ③ 缩略图角标：与色带呼应，视觉权重递减（实心绿 > 蓝边白底空心 > 半透明黑底）
   ④ 按钮配色：点击前就知道会发生什么（绿=看线路，蓝=去原平台）
   ==================================================== */
.hm-rec-card, .rl-rec-card { position: relative; flex-direction: column; }
.rl-cardbody { display: flex; width: 100%; }

/* ① 左侧竖条 */
.hm-rec-card::before, .rl-rec-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: #c9d2cd; z-index: 2;
}
.hm-rec-card.src-verified::before, .rl-rec-card.src-verified::before { background: #1f6b4a; }
.hm-rec-card.src-collected::before, .rl-rec-card.src-collected::before { background: #2f6fd0; }

/* ② 顶部色带：机构名 / 来源平台名 + 状态，用户不点进去也能确认是谁发的 */
.src-band {
  display: flex; align-items: center; gap: 5px; line-height: 1;
  padding: 6px 12px 6px 16px; font-size: 11px; color: #fff;
}
.src-band.verified { background: linear-gradient(90deg, #1f6b4a, #2c8b60); }
.src-band.collected { background: linear-gradient(90deg, #2f6fd0, #4a8ae2); }
.src-band i {
  font-style: normal; flex: none; width: 14px; height: 14px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
}
.src-band.verified i { background: #fff; color: #1f6b4a; }
.src-band.collected i { border: 1px solid rgba(255,255,255,.9); color: #fff; }
.src-band b {
  font-weight: 700; min-width: 0; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.src-band em { margin-left: auto; padding-left: 8px; font-style: normal; font-size: 10px; opacity: .95; flex: none; }

/* ③ 缩略图角标（首页卡与列表卡同款） */
.hm-rec-card .pic .st {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 5px;
}
.hm-rec-card .pic .st.verified, .rl-rec-card .pic .st.verified {
  background: rgba(31,107,74,.94); color: #fff;
}
.hm-rec-card .pic .st.collected, .rl-rec-card .pic .st.collected {
  background: rgba(255,255,255,.94); color: #2f6fd0; border: 1px solid #2f6fd0;
}
.hm-rec-card .pic .st.free, .rl-rec-card .pic .st.free {
  background: rgba(0,0,0,.55); color: #fff;   /* 免费：半透明黑底，权重最低 */
}

/* ④ 按钮配色 = 最后的确认信号 */
.hm-rec-card.src-verified .info .bt .go, .rl-rec-card.src-verified .info .bt .go {
  color: var(--hm-green); background: rgba(31,107,74,.1);
}
.hm-rec-card.src-collected .info .bt .go, .rl-rec-card.src-collected .info .bt .go {
  color: #2f6fd0; background: rgba(47,111,208,.1);
}
.hm-rec-card .info .bt .go, .rl-rec-card .info .bt .go {
  font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px;
  /* 始终靠右：即便左侧价格缺失（.pr 被 .none 隐藏），按钮也不回缩到左边 */
  margin-left: auto;
}
/* TOP 榜小卡：空间有限，只保留竖条 + 左下来源角标两层（配色与推荐卡一致） */
.hm-top-card { position: relative; }
.hm-top-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: #c9d2cd; z-index: 2; border-radius: 3px 0 0 3px;
}
.hm-top-card.src-verified::before { background: #1f6b4a; }
.hm-top-card.src-collected::before { background: #2f6fd0; }
.hm-top-card .pic .st {
  position: absolute; bottom: 8px; left: 8px; z-index: 2;
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 5px;
}
.hm-top-card .pic .st.verified { background: rgba(31,107,74,.94); color: #fff; }
.hm-top-card .pic .st.collected {
  background: rgba(255,255,255,.94); color: #2f6fd0; border: 1px solid #2f6fd0;
}

/* 价格缺失 / 异常 → 整块隐藏，绝不在展示层出现异常数字 */
.hm-rec-card .info .bt .pr.none, .rl-rec-card .info .bt .pr.none { display: none; }
/* 脏数据提示条：只出现在卡片内部，不打断列表流，并说明为什么看不到价格 */
.price-warn {
  padding: 6px 12px 8px 16px; font-size: 11px; color: #b42318;
  background: #fef3f2; border-top: 1px solid #fbd5d1;
}

/* ===== 更多分类面板（玩法>10 时的全部分类入口） ===== */
.rl-more-panel {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 0; top: 0; width: 100%; max-width: 480px;
  background: rgba(10, 25, 18, .45); z-index: 80;
  display: flex; align-items: flex-end;
}
.rl-more-panel[hidden] { display: none; }
.rl-more-card {
  width: 100%; background: #fff; border-radius: 20px 20px 0 0;
  padding: 18px 18px calc(20px + env(safe-area-inset-bottom, 0px));
}
.rl-more-card h3 { margin: 0 0 12px; font-size: 16px; font-weight: 800; color: var(--hm-ink); }
.rl-more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; }
.rl-more-grid .it { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.rl-more-grid .it .ci {
  width: 46px; height: 46px; border-radius: 50%; background: var(--hm-bg);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.rl-more-grid .it.on .ci { background: var(--hm-green); box-shadow: 0 4px 12px rgba(31,107,74,.35); }
.rl-more-grid .it .lb { font-size: 11px; color: var(--hm-ink); }
.rl-more-grid .it.on .lb { color: var(--hm-green); font-weight: 700; }

.rl .loadmore-wrap { text-align: center; padding: 16px 0 4px; }
.rl .loadmore {
  padding: 9px 30px; border: 1px solid var(--hm-line); border-radius: 999px;
  background: #fff; color: var(--hm-green); font-size: 13px; font-weight: 600; cursor: pointer;
}

/* ===== 列表底部常驻入口（v61）：没有你知道的线路？新增一个需求吧 =====
   找线路页与搜索结果页共用。虚线卡片样式，弱于线路卡但可点，
   不做成按钮（避免被误认成下单/报名动作——这是发需求，不是交易）。 */
.demand-entry { padding: 18px var(--hm-gutter) 6px; }
body.pm .demand-entry, body.rl .demand-entry { padding-bottom: 10px; }
.demand-entry a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; text-decoration: none;
  background: #fff; border: 1px dashed #b9cfc4; border-radius: 14px;
}
.demand-entry a:active { background: #f2f8f5; }
.demand-entry .t { font-size: 14px; color: var(--hm-green); font-weight: 600; }
.demand-entry .ar { font-size: 18px; color: var(--hm-green); line-height: 1; }

/* ===== v61 列表页移除搜索框后：吸顶区只剩品牌行 =====
   原来 .rl-sticky 承载「品牌行 + 搜索框」，现在只剩品牌行，
   背景改为透明让其随头图走，滚动后仍白底毛玻璃（品牌行需可读）。 */
/* ===== v64 列表页品牌行浮于顶图之上（对齐首页 .hm-stbar）=====
   背景：原 .rl-sticky-brandonly 是 sticky/top:79px，滚动前停在顶图「正下方」、
   白字压在 .hm-head::after 实绿上，品牌+头像没浮在 mountain 图上；
   首页 .hm-stbar 是 fixed/top:0/z:70 透明浮层，品牌+头像始终浮在图上。
   v61 搜索框已上移至首页，原「fixed stbar 会挡搜索框」的顾虑已不存在，
   故本页品牌行改为与首页完全一致的 fixed 浮层：
     - .rl-stbar：fixed/top:0/z:70/透明/白字+阴影，始终浮于 mountain 图上；
     - 原 .rl-sticky 的 margin-top:79px 让位逻辑随之移交给 .rl-listhead-sticky；
     - 列表头（标题+计数+分类+筛选）吸顶位置固定为顶头高度 79px，
       滚动后整块吸在顶图正下方，品牌行仍浮在图上（双栏：图上品牌 / 图下分类）。 */
.rl-stbar {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 70;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 8px;
  color: #fff; pointer-events: none;
}
.rl-stbar > * { pointer-events: auto; }
.rl-stbar .hm-brand { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 14px rgba(140,232,248,.55); }
.rl-stbar .rl-toprow { color: #fff; padding: 0; flex: 1; }
.rl-stbar.stucked { background: transparent; } /* 始终浮于图上，不变白条 */
/* 列表头（标题+计数+分类+筛选）吸顶点 = 顶头 79px；in-flow 起点由 margin-top 撑开 */
.rl .rl-listhead-sticky { top: var(--hm-head-h, 79px); margin-top: var(--hm-head-h, 79px); }

/* ===== 排序行 UI 已按用户要求整行移除（v64），以下 .rl-sortrow/.rl-sortbtn
   样式同步删除，避免无用残留。排序逻辑保留默认序（最早可报名）。 ===== */

/* ===== 搜索结果页（v61 新建 search.html，作用域 body.sr）=====
   沿用 rl 列表页的取色头 + 卡片语言，只加本页特有三块：
   顶部搜索条 / 类型切换 / 领队卡。 */
body.sr {
  --hm-green: #1f6b4a; --hm-green-d: #164d35; --hm-ink: #1a2b23;
  --hm-sub: #5d6b64; --hm-line: #e8eeea; --hm-bg: #f4f7f5; --hm-gutter: 18px;
  background: var(--hm-bg);
}
body.sr.has-tabbar { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
/* 取色头（v62）：与首页/列表页完全一致（继承 .hm-head：79px + fixed +
   bg-login.jpg center 38%），此处不覆盖 position/height/background-position。
   同样需撑开 79px 让固定顶头不压内容（列表页用 .rl-sticky margin-top，
   搜索页的 .sr-topbar 是 sticky，需 margin-top 让位）。 */
body.sr .rl-head { -webkit-mask-image: none; mask-image: none; }
body.sr .sr-topbar { margin-top: var(--hm-head-h, 79px); }
.sr .state-msg { margin: 26px 18px; text-align: center; font-size: 13px; color: var(--hm-sub); }

/* 顶部搜索条：返回 + 输入框 + 搜索按钮，吸顶 */
.sr-topbar {
  position: sticky; top: 0; z-index: 35;
  display: flex; align-items: center; gap: 8px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) var(--hm-gutter) 10px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hm-line);
}
.sr-topbar .back {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(31,107,74,.08); color: var(--hm-green);
  text-decoration: none; font-size: 20px; line-height: 1;
}
.sr-topbar .bar {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px;
  background: var(--hm-bg); border: 1px solid var(--hm-line);
  border-radius: 20px; padding: 8px 12px;
}
.sr-topbar .bar .ic { font-size: 14px; opacity: .55; flex: none; }
.sr-topbar .bar input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font-size: 16px; color: var(--hm-ink);   /* ≥16px 防 iOS 缩放 */
}
.sr-topbar .go {
  flex: none; border: 0; cursor: pointer;
  background: var(--hm-green); color: #fff;
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 18px;
}
.sr-topbar .go:active { background: var(--hm-green-d); }

/* 类型切换：线路 / 领队（客观分类，非「热门/精选」） */
.sr-types {
  display: flex; gap: 8px; padding: 12px var(--hm-gutter) 4px;
}
.sr-type {
  padding: 7px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--hm-line); background: #fff;
  color: var(--hm-sub); font-size: 13px; font-weight: 600;
}
.sr-type.active {
  background: var(--hm-green); border-color: var(--hm-green); color: #fff;
}
.sr-count { padding: 8px var(--hm-gutter) 0; font-size: 12px; color: var(--hm-sub); }
.sr-count b { color: var(--hm-ink); }

/* 领队卡：头像首字 + 名称 + 资质徽标（可核实信息，非营销标签） */
.sr-op-card {
  display: flex; align-items: center; gap: 12px;
  margin: 12px var(--hm-gutter) 0; padding: 14px;
  background: #fff; border: 1px solid var(--hm-line); border-radius: 14px;
  cursor: pointer;
}
.sr-op-card:active { background: #f2f8f5; }
.sr-op-card .ava {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2c7a58, #1f6b4a);
  color: #fff; font-size: 17px; font-weight: 700;
}
.sr-op-card .info { flex: 1; min-width: 0; }
.sr-op-card .nm {
  font-size: 15px; font-weight: 700; color: var(--hm-ink);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.sr-op-card .lc { font-size: 12px; color: var(--hm-sub); margin-top: 3px; }
.sr-op-card .ar { flex: none; color: var(--hm-green); font-size: 20px; line-height: 1; }
/* 注：.sr-op-badge（资质徽标）已移除 —— 搜索结果暂不返回 qualification_status，
   属后端契约未定的部分，未评审不擅自加字段，也不拿 status 冒充资质状态。 */

/* ===== 发布需求页（v61，作用域 body.dp）=====
   极简表单：标题 + 描述 + 地区，无价格输入（合规）。 */
body.dp {
  --hm-green: #1f6b4a; --hm-green-d: #164d35; --hm-ink: #1a2b23;
  --hm-sub: #5d6b64; --hm-line: #e8eeea; --hm-bg: #f4f7f5; --hm-gutter: 18px;
  background: var(--hm-bg);
}
body.dp.has-tabbar { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
.dp-topbar {
  position: sticky; top: 0; z-index: 35;
  display: flex; align-items: center; gap: 10px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--hm-gutter) 12px;
  min-height: var(--hm-head-h, 79px);
  background: var(--hm-green); color: #fff;
}
.dp-topbar .back {
  width: 30px; height: 30px; border-radius: 50%; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.16); color: #fff; font-size: 20px; line-height: 1;
}
.dp-topbar h1 { margin: 0; font-size: 17px; font-weight: 700; }
.dp-body { padding: 16px var(--hm-gutter) 20px; }
.dp-tip {
  margin: 0 0 16px; padding: 12px 14px; font-size: 12px; line-height: 1.6;
  background: rgba(31,107,74,.07); border-left: 3px solid var(--hm-green);
  border-radius: 8px; color: var(--hm-sub);
}
.dp-body .f { display: block; margin-bottom: 16px; }
.dp-body .lb { display: block; font-size: 13px; font-weight: 600; color: var(--hm-ink); margin-bottom: 7px; }
.dp-body .lb i { color: #e8603c; font-style: normal; margin-left: 2px; }
.dp-body input[type=text], .dp-body textarea {
  width: 100%; box-sizing: border-box;
  padding: 11px 13px; font-size: 16px;   /* ≥16px 防 iOS 缩放 */
  color: var(--hm-ink); background: #fff;
  border: 1px solid var(--hm-line); border-radius: 12px;
  outline: none; resize: vertical;
}
.dp-body input:focus, .dp-body textarea:focus { border-color: var(--hm-green); }
.dp-body .state-msg { margin: 0 0 12px; font-size: 13px; color: #e8603c; text-align: center; }
.dp-submit {
  width: 100%; padding: 13px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--hm-green); color: #fff; font-size: 15px; font-weight: 700;
}
.dp-submit:disabled { background: #9bb3a8; cursor: default; }
.dp-privacy {
  margin: 14px 0 0; font-size: 11px; line-height: 1.6; color: var(--hm-sub); opacity: .85;
}

/* ===== 空态/加载态 ===== */
.rl .state-msg { margin: 26px 18px; text-align: center; font-size: 13px; color: var(--hm-sub); }
.rl .state-msg .retry {
  margin-top: 10px; padding: 7px 22px; border: 1px solid var(--hm-line);
  border-radius: 999px; background: #fff; color: var(--hm-green);
  font-size: 13px; font-weight: 600; cursor: pointer;
}

/* ============================================================
   我的页（body.pm）· 设计稿 page_mine.html
   承接方/游客 双版本（后端 role 字段驱动，不硬编码）：
   190px 封面头(渐变压暗) → 数据条 -24px 上叠 → 猜你想去首屏(2列宫格) →
   分组白卡(我的服务/账号设置) → 退出登录红字独立按钮 → Tab 78px。
   未登录=游客壳变体（登录大按钮替代数据条/退出）。
   ============================================================ */

/* ===== 封面头：190px，底部压暗保证白字可读 =====
   --pm-img 由 JS 写入（最新公开线路封面，同 hm/rl 取色设计语言）；
   无图/加载失败 → body.hm-nohero → 纯品牌绿渐变兜底（不开天窗）。
   v40.1：.pm-topfix 包裹 banner+数据条 整块吸顶，滚动只滚下方内容。 */
.pm-topfix { position: sticky; top: 0; z-index: 30; background: #f4f7f5; }
.pm-head {
  position: relative; height: 99px; overflow: hidden;
  background: linear-gradient(135deg, #0d2818 0%, #164d35 55%, #1f6b4a 100%);
}
.pm-head > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%; display: block;
}
body.hm-nohero .pm-head > img { display: none; }
/* 与 .hm-head 统一的 workbench 对角遮罩（同款更亮：.5→.03） */
.pm-head::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(12,40,26,.5) 0%,
    rgba(12,40,26,.16) 55%,
    rgba(12,40,26,.03) 100%);
}
.pm-top {
  position: absolute; inset: 0; z-index: 4;
  /* 统一 99px 中等顶头：角色标置顶、资料行置底，中间留白由封面渐变填充。
     v: 加大底部留白把「个人信息/编辑」资料行整体上提，避免被下方数据条遮住。 */
  padding: calc(10px + min(env(safe-area-inset-top, 0px), 18px)) 16px 16px;
  display: flex; flex-direction: column; justify-content: space-between; color: #fff;
}
.pm-top .role-tag {
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
  background: rgba(255,255,255,.2); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: 10.5px; padding: 3px 10px; border-radius: 20px; margin-bottom: 6px;
}
.pm-row { display: flex; align-items: center; gap: 13px; cursor: pointer; }
.pm-row .ava {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none;
  border: 1.5px solid rgba(255,255,255,.7);
}
.pm-row .ava .dt-avatar { display: block; width: 100% !important; height: 100% !important; }
.pm-row .who { flex: 1; min-width: 0; }
.pm-row .who .nm {
  font-size: 15px; font-weight: 700; letter-spacing: .5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pm-row .who .id { font-size: 10.5px; opacity: .78; margin-top: 2px; }
.pm-row .edit {
  font-size: 11px; opacity: .9; flex: none;
  background: rgba(255,255,255,.2); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 9px; border-radius: 14px; text-decoration: none; color: #fff;
}
.pm-row .edit:active { background: rgba(255,255,255,.35); }

/* ===== 未登录头部变体：登录大按钮 ===== */
.pm-top.guest-top .pm-row { cursor: default; }
.pm-login-big {
  margin-top: 10px; align-self: flex-start;
  background: #fff; color: var(--hm-green); font-size: 13px; font-weight: 700;
  padding: 8px 20px; border-radius: 20px; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.pm-login-big:active { transform: scale(.97); }

/* ===== 数据条：-24px 上叠白卡，3 等分带分隔线 =====
   v: 负边距从 -24px 收到 -10px，把数据条整体下移，不再压住上方「个人信息/编辑」资料行。 */
.pm-data {
  display: flex; margin: -10px 20px 0; position: relative; z-index: 5;
  background: #fff; border-radius: 16px; padding: 14px 0;
  border: 1px solid var(--hm-line); box-shadow: 0 8px 24px rgba(20,60,42,.12);
}
.pm-data .d {
  flex: 1; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.pm-data .d .n { font-size: 17px; font-weight: 800; color: var(--hm-ink); }
.pm-data .d .l { font-size: 10.5px; color: var(--hm-sub); margin-top: 2px; width: 88px; margin-left: auto; margin-right: auto; }
.pm-data .d + .d { border-left: 1px solid var(--hm-line); }
.pm-data .d:active .n { color: var(--hm-green); }

/* ===== 猜你想去（首屏）：2列宫格 1:1 图 + 左下角城市 ===== */
.pm .guess { margin: 18px 20px 0; }
.pm .guess .h {
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: 12.5px; font-weight: 700; color: var(--hm-sub);
  padding: 0 0 10px; letter-spacing: .5px;
}
.pm .guess .h .more { font-size: 11.5px; color: var(--hm-green); font-weight: 600; text-decoration: none; }
.pm .guess-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.pm .guess-card { text-decoration: none; display: block; }
.pm .guess-card .p {
  width: 100%; aspect-ratio: 3/2; border-radius: 12px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #eef1f4, #e3e7eb);
}
.pm .guess-card .p img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm .guess-card .p .dt-cover { width: 100%; height: 100%; }
.pm .guess-card .p .lc {
  position: absolute; bottom: 6px; left: 7px; z-index: 2;
  color: #fff; font-size: 10px; background: rgba(0,0,0,.4);
  padding: 1px 6px; border-radius: 4px;
}
.pm .guess-card .p .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.92); font-size: 22px; font-weight: 700;
}
.pm .guess-card .nm {
  font-size: 12px; color: var(--hm-ink); margin-top: 7px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===== 分组白卡（我的服务/账号设置） ===== */
.pm .sec {
  margin: 18px 20px 0; background: #fff; border-radius: 16px;
  border: 1px solid var(--hm-line); overflow: hidden;
}
.pm .sec .h {
  font-size: 12.5px; font-weight: 700; color: var(--hm-sub);
  padding: 14px 16px 8px; letter-spacing: .5px;
}
.pm .cell {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  color: var(--hm-ink); font-size: 14.5px; position: relative;
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.pm .cell .i { font-size: 19px; width: 24px; text-align: center; flex: none; }
.pm .cell .t { flex: 1; min-width: 0; }
.pm .cell .v { font-size: 12.5px; color: var(--hm-sub); }
.pm .cell .ar { font-size: 13px; color: #c3ccc7; margin-left: 4px; }
.pm .cell + .cell { border-top: 1px solid #f0f4f2; }
.pm .cell:active { background: #f7faf8; }
.pm .cell .dot {
  position: absolute; right: 38px; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--hm-hot);
}
.pm .cell .cnt {
  position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
  min-width: 16px; height: 16px; line-height: 16px; padding: 0 4px;
  border-radius: 8px; background: #dc2626; color: #fff; font-size: 10px; text-align: center;
}

/* ===== 退出登录：独立红字按钮 ===== */
.pm .exit { margin: 18px 20px 0; }
.pm .exit-btn {
  width: 100%; background: #fff; border: 1px solid #f0dcd9; border-radius: 16px;
  padding: 14px 0; color: #d94a3a; font-size: 15px; font-weight: 600;
  text-align: center; transition: .15s; cursor: pointer; font-family: inherit;
}
.pm .exit-btn:active { background: #fdf0ee; transform: scale(.99); }

/* ===== 关于/免责声明脚注 ===== */
.pm .pm-foot { margin: 18px 0 0; text-align: center; font-size: 11px; color: #a8b5ae; padding: 0 20px; line-height: 1.6; }

/* ===== 密码弹层（沿用 auth.css .modal 家族，只调卡片留白） ===== */
body.pm .modal-card { max-width: 320px; width: calc(100% - 40px); margin: 0 auto; }

/* ===== 浏览历史/足迹 面板（数据条与"我的服务"入口共用） ===== */
.pm-panel {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10, 25, 18, .45);
  display: flex; align-items: flex-end; justify-content: center;
}
.pm-panel-card {
  width: 100%; max-width: 480px; background: #fff;
  border-radius: 20px 20px 0 0; padding: 18px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  max-height: 70vh; overflow-y: auto;
}
.pm-panel .vp-title { font-size: 15px; font-weight: 800; color: var(--hm-ink); margin-bottom: 10px; }
.pm-panel .vp-city {
  font-size: 13px; font-weight: 700; color: var(--hm-ink); margin: 10px 0 4px;
}
.pm-panel .vp-city span { font-size: 11px; color: var(--hm-sub); font-weight: 400; margin-left: 6px; }
.pm-panel .vp-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 2px; border-bottom: 1px solid #f0f4f2;
  font-size: 13px; color: var(--hm-ink); text-decoration: none;
}
.pm-panel .vp-row span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-panel .vp-row i { font-style: normal; font-size: 11px; color: var(--hm-sub); flex: none; }
.pm-panel .vp-more { font-size: 11px; color: var(--hm-sub); padding: 8px 2px 0; text-align: center; }
.pm-panel .vp-close {
  margin-top: 14px; width: 100%; padding: 11px 0;
  border: 1px solid var(--hm-line); border-radius: 999px; background: #fff;
  color: var(--hm-green); font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit;
}
/* 浏览历史卡片流（复用列表卡 .rl-rec-card） */
.pm-panel .vp-cards { display: flex; flex-direction: column; gap: 10px; }
.pm-panel .vp-cards .rl-rec-card { display: flex; background: #fbfdfc; border: 1px solid #e8eeea; border-radius: 12px; overflow: hidden; text-decoration: none; }
.pm-panel .vp-cards .rl-rec-card .pic { width: 92px; flex: none; position: relative; background: #dfe7e3; }
.pm-panel .vp-cards .rl-rec-card .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-panel .vp-cards .rl-rec-card .pic .hm-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; color: #fff; background: #2c7a58; }
.pm-panel .vp-cards .rl-rec-card .info { flex: 1; min-width: 0; padding: 9px 11px; }
.pm-panel .vp-cards .rl-rec-card .tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.pm-panel .vp-cards .rl-rec-card .tags span { font-size: 10px; background: #eaf3ee; color: #2c7a58; border-radius: 4px; padding: 1px 5px; }
.pm-panel .vp-cards .rl-rec-card .nm { font-size: 14px; font-weight: 700; color: var(--hm-ink); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-panel .vp-cards .rl-rec-card .lc { font-size: 11px; color: var(--hm-sub); margin-bottom: 5px; }
.pm-panel .vp-cards .rl-rec-card .bt { display: flex; align-items: center; justify-content: space-between; }
.pm-panel .vp-cards .rl-rec-card .pr { font-size: 13px; color: #e8603c; font-weight: 600; }
.pm-panel .vp-cards .rl-rec-card .go { font-size: 11px; color: var(--hm-green); }
/* 我的咨询列表 */
.pm-panel .vp-cons { display: flex; flex-direction: column; gap: 2px; }
.pm-panel .vp-con { display: block; position: relative; padding: 11px 4px; border-bottom: 1px solid #f0f4f2; text-decoration: none; color: var(--hm-ink); }
.pm-panel .vp-con .ci { font-size: 13px; font-weight: 700; }
.pm-panel .vp-con .cl { font-size: 11px; color: var(--hm-sub); margin: 2px 0; }
.pm-panel .vp-con .cc { font-size: 12px; color: #5d6b64; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-panel .vp-con .vdot { position: absolute; top: 14px; right: 2px; width: 8px; height: 8px; border-radius: 50%; background: #e8402c; }

/* ===== 小屏适配：头 170px / 名字 17px ===== */
@media (max-width: 374px) {
  .pm-head { height: 113px; }
  .pm-row .who .nm { font-size: 17px; }
}

/* docs/23：列表卡「N 人想去」——弱意图归弱意图，用中性的绿，不做成营销红点 */
.rl-seat b { color: var(--hm-green, #1f6b4a); font-weight: 600; }

/* ===== 横版线路卡 rcard（2026-10-21 改版 · 同日二打磨：配色/字阶/微图标，不动内容与布局） ===== */
.rcard { display: block; text-decoration: none; color: inherit; background: #fff;
  border: 1px solid #e2ece6; border-radius: 16px; overflow: hidden; margin-bottom: 7px;
  box-shadow: 0 1px 2px rgba(20,52,40,.04), 0 8px 20px -8px rgba(20,52,40,.10);
  transition: transform .15s ease, box-shadow .15s ease; }
.rcard:active { transform: scale(.985); box-shadow: 0 1px 2px rgba(20,52,40,.05); }
/* 顶栏来源带：绿=已核验（本站机构）/ 蓝=已收录（三方快照），对齐 v4.9 四层信号配色 */
.rcard .rc-band { height: 24px; display: flex; align-items: center; justify-content: flex-end; padding: 0 12px; }
.rcard .rc-band--verified { background: linear-gradient(90deg, #1f6b4a, #2c8b60); }
.rcard .rc-band--collected { background: linear-gradient(90deg, #2f6fd0, #4a8ae2); }
.rcard .rc-band span { color: rgba(255,255,255,.95); font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  display: inline-flex; align-items: center; gap: 4px; }
.rcard .rc-band--verified span::before { content: "✓"; font-size: 11px; font-weight: 700; letter-spacing: 0; }
.rcard .rc-band--collected span::before { content: "↗"; font-size: 11px; font-weight: 700; letter-spacing: 0; }
.rcard .rc-main { display: flex; align-items: stretch; }
.rcard .rc-pic { width: 116px; flex: 0 0 116px; position: relative; background: #35695a; min-height: 120px; overflow: hidden; }
.rcard .rc-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rcard .rc-pic::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 52%, rgba(0,0,0,.38) 100%); }
.rcard .rc-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; letter-spacing: 2px; color: rgba(255,255,255,.94);
  background: radial-gradient(130% 95% at 18% 10%, #3f8a6d 0%, #2c6f54 50%, #1d5641 100%); }
.rcard .rc-ph::before { content: ""; position: absolute; width: 62px; height: 62px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.30); }
.rcard .rc-citytag { position: absolute; left: 8px; bottom: 8px; z-index: 1; display: flex; align-items: center;
  padding: 2px 7px 2px 5px; border-radius: 999px; background: rgba(13,32,26,.38);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: 10px; font-weight: 600; letter-spacing: 0; max-width: calc(100% - 12px);
  white-space: nowrap; }
.rcard .rc-citytag::before { content: ""; width: 9px; height: 9px; margin-right: 3px; flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") no-repeat center/contain; }
.rcard .rc-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.85); margin: 0 4px; flex: 0 0 auto; }
.rcard .rc-info { flex: 1; min-width: 0; padding: 12px 14px 12px; position: relative; display: flex; flex-direction: column; }
.rcard .rc-icons { position: absolute; top: 8px; right: 10px; display: flex; gap: 6px; z-index: 2; }
/* 收藏/想去图标：rcard / Hero / TOP 共用（去掉 .rcard 前缀泛化，新增区块直接复用） */
.rc-icw { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background .15s ease; }
.rc-ic { width: 18px; height: 18px; display: block; }
.rc-ic.rc-want { fill: #f5b301; }
.rc-ic.rc-fav { fill: #e0533d; }
/* 未点：明显的中性灰描边 + 浅底，读成"空的开关"，不再若隐若现 */
.rc-icw:not(.on) { background: rgba(255,255,255,.78); }
.rc-icw:not(.on) .rc-ic.rc-want { fill: none; stroke: #87968e; stroke-width: 1.9; }
.rc-icw:not(.on) .rc-ic.rc-fav { fill: none; stroke: #87968e; stroke-width: 1.9; }
/* 已点：实心彩色 + 同色淡底，明确"已选中/点亮" */
.rc-icw.rc-want.on { background: rgba(245,179,1,.16); }
.rc-icw.rc-fav.on { background: rgba(224,83,61,.14); }
/* Hero 大图卡：图标放左上角（右上角留给指示点），叠在渐变上 */
.hm-hero .hm-hero-ic { position: absolute; top: 12px; left: 12px; z-index: 4; display: flex; gap: 6px; }
/* TOP 横滑卡：图标放图区右下角（右上角是排名角标），避免遮挡 */
.hm-top-card .hm-top-ic { position: absolute; right: 8px; bottom: 8px; z-index: 3; display: flex; gap: 6px; }
.rcard .rc-name { font-size: 16px; font-weight: 800; color: #152720; line-height: 1.35; letter-spacing: .2px; padding-right: 60px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rcard .rc-meta { font-size: 12px; color: #6f7f77; margin-top: 7px; display: flex; align-items: center; flex-wrap: wrap; row-gap: 3px; }
.rcard .rc-mi { display: inline-flex; align-items: center; min-width: 0; font-variant-numeric: tabular-nums; }
.rcard .rc-mic { width: 13px; height: 13px; margin-right: 4px; color: #8fa298; flex: 0 0 auto; }
.rcard .rc-sep { width: 3px; height: 3px; border-radius: 50%; background: #c6d2cb; margin: 0 6px; flex: 0 0 auto; }
.rcard .rc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; gap: 8px; }
.rcard .rc-when { font-size: 12px; color: #6f7f77; display: flex; align-items: center; flex-wrap: wrap; row-gap: 3px; min-width: 0; }
/* 底部「N 想去」计数 pill：⚠️ 命名必须是 rc-wantpill，不能叫 rc-want——
   右上角图标外壳是 rc-icw rc-want，若同名，本条的 padding:4px 10px + display:inline-flex
   会把 24px 图标圆撑爆、SVG 被挤没（现象：只见底色圈不见星星，fav 因不撞名而正常）。 */
.rcard .rc-wantpill { font-size: 12px; color: #1f6b4a; font-weight: 700; flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 4px;
  background: #ecf5ef; border-radius: 999px; padding: 4px 10px; }
.rcard .rc-wantpill .rc-mic { width: 12px; height: 12px; margin-right: 0; color: #2c8b60; }

/* v85 展示型文字字体栈：优先思源黑体（几何笔画，与圆角 U 形 logo 同调），
   逐级回退系统中文黑体；只作用于品牌/标题，正文排版不动。 */
.hm-brand, .hm .sec-head h2, .rl-listhead h1, .hm-hero .txt h3 {
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
               "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
}
