@charset "utf-8";
/* ==========================================================================
   贵州省中旅 · 手机网站 样式表
   移动端优先（Mobile First），设计宽度 375px，最大容器 480px 居中
   零依赖、零构建，可直接上传宝塔面板运行
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌色：贵州山水青绿 */
  --brand: #0f7a5a;
  --brand-dark: #0a5c43;
  --brand-deep: #074c37;
  --brand-light: #e6f4ef;
  --brand-soft: #f0f7f4;      /* 极浅底：用于色块、chip、选中态 */
  --brand-2: #17a67a;

  /* 辅助色 */
  --gold: #f5a623;
  --price: #f2542d;          /* 价格 / 促销 */
  --price-dark: #d63d17;

  /* 金刚区四个入口的专属色（区分权重，避免一片绿） */
  --c-pure: #0f7a5a;         /* 纯玩大团 */
  --c-group: #2f6f9f;        /* 尊享小团 */
  --c-custom: #b0741a;       /* 私人定制 */
  --c-charter: #6a4fa3;      /* 旅游包车 */

  /* 中性色 */
  --bg: #f1f5f3;
  --card: #ffffff;
  --line: #edf1ef;
  --line-2: #e2e8e5;
  --text: #16211d;
  --text-2: #56655f;
  --text-3: #94a09b;

  /* 字阶：移动端 6 档，标题/正文/辅助各有明确层次 */
  --fs-xs: 10px;
  --fs-sm: 11px;
  --fs-base: 12px;
  --fs-md: 13px;
  --fs-lg: 15px;
  --fs-xl: 17px;
  --fs-2xl: 20px;

  /* 圆角 */
  --radius-lg: 18px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  /* 间距 */
  --gap: 12px;
  --tabbar-h: 54px;

  /* 阴影：三层递进，替代原来"一层通用"的做法，让卡片有真实层次 */
  --shadow-xs: 0 1px 2px rgba(10, 42, 32, .04);
  --shadow-sm: 0 2px 10px rgba(10, 42, 32, .055);
  --shadow-md: 0 6px 20px rgba(10, 42, 32, .09);
  --shadow-lg: 0 14px 36px rgba(10, 42, 32, .14);

  /* 描边：比阴影更"细"的层次，防止白卡在白底上糊掉 */
  --stroke: 1px solid rgba(10, 42, 32, .045);

  /* 动效：统一切的缓动与时长 */
  --ease: cubic-bezier(.32, .72, 0, 1);
  --dur: .22s;
}

/* ---------- 2. 基础重置 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: #e6eae8;
  /* 桌面端预览时的页面底色 */
  min-height: 100dvh;
  /* 移动端字体加粗发虚，抗锯齿后小字号更清晰 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: 0;
  outline: 0;
  background: none;
  border-radius: 0;
  /* iOS 默认圆角清零 */
  -webkit-appearance: none;
  appearance: none;
}

button {
  cursor: pointer;
}

/* 键盘可达性：保留可见焦点样式 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- 3. 布局容器 ---------- */
.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 16px);
  box-shadow: 0 0 24px rgba(0, 0, 0, .06);
}

/* 带底部常驻条的页面，给内容多留一段高度，避免遮住页脚 */
.app--footbar {
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 78px);
}

.wrap {
  padding: 0 var(--gap);
}

.mt8 { margin-top: 8px; }
.mt12 { margin-top: 12px; }
.mt16 { margin-top: 16px; }
.mb12 { margin-bottom: 12px; }

/* ---------- 4. 顶部导航 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  /* 深青→亮青斜向渐变，右下角收亮，避免大面积同色显得"平" */
  background: linear-gradient(158deg, #08503a 0%, var(--brand) 54%, #199c73 100%);
  color: #fff;
  padding: calc(env(safe-area-inset-top, 0px) + 11px) var(--gap) 11px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 8px 20px rgba(7, 76, 55, .16);
  overflow: hidden;
}

/* 右上角一抹柔光，让渐变有"光从上方来"的体积感 */
.topbar::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 260px;
  height: 200px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.topbar > * { position: relative; }

.topbar--plain {
  background: #fff;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  overflow: visible;
}
.topbar--plain::before { display: none; }

.topbar__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
}

.topbar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: .3px;
}

.topbar__logo img,
.topbar__logo svg {
  width: 32px;
  height: 32px;
  flex: none;
  object-fit: contain;
  /* 白底圆角托住 logo，深色背景上不糊边 */
  background: #fff;
  border-radius: 10px;
  padding: 3px;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .16);
}

.topbar__logo small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  opacity: .72;
  letter-spacing: 1.5px;
  margin-top: -1px;
}

.topbar__city {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: var(--fs-sm);
  font-weight: 500;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 3px 10px;
  border-radius: 999px;
  flex: none;
}

.topbar__back {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-left: -6px;
  flex: none;
  border-radius: 50%;
  transition: background var(--dur) var(--ease);
}
.topbar__back:active { background: rgba(255, 255, 255, .16); }

.topbar__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  flex: 1;
  text-align: center;
  letter-spacing: .3px;
}

.topbar__action {
  flex: none;
  font-size: var(--fs-base);
  text-align: right;
  min-width: 30px;
}

/* 深色顶栏上的操作按钮做成玻璃胶囊，"我的"这类入口更好点 */
.topbar:not(.topbar--plain) .topbar__action {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .18);
  font-weight: 500;
  transition: background var(--dur) var(--ease);
}
.topbar:not(.topbar--plain) .topbar__action:active { background: rgba(255, 255, 255, .28); }

/* 搜索框 */
.searchbar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--text-3);
  font-size: var(--fs-md);
  box-shadow: 0 4px 14px rgba(5, 40, 30, .14);
}

.searchbar svg { flex: none; color: var(--brand); }

/* ---------- 5. 轮播 Banner ---------- */
.banner {
  position: relative;
  overflow: hidden;
  background: #dfe7e4;
  /* 做成圆角卡片：与下方所有卡片同一套圆角与投影，页面节奏更整齐 */
  margin: var(--gap) var(--gap) 0;
  border-radius: var(--radius-lg);
  aspect-ratio: 375 / 205;
  box-shadow: var(--shadow-md);
}

.banner__track {
  display: flex;
  height: 100%;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.banner__slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}

.banner__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 46px 15px 15px;
  /* 遮罩加深并上移，白字压在亮色照片上也够清楚 */
  background: linear-gradient(transparent, rgba(4, 24, 18, .34) 42%, rgba(4, 24, 18, .8));
  color: #fff;
}

.banner__caption strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: .2px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
}

.banner__caption span {
  font-size: var(--fs-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(4px);
  opacity: 1;
}

.banner__dots {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.banner__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: .25s;
}

.banner__dot.is-on {
  width: 18px;
  background: #fff;
}

/* ---------- 6. 卡片 / 区块 ---------- */
.section {
  background: var(--card);
  border-radius: var(--radius);
  padding: 15px;
  margin: var(--gap);
  box-shadow: var(--shadow-sm);
  border: var(--stroke);
}

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.section__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: .1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 标题前的短竖线改为渐变，比纯色一根更有设计感 */
.section__title::before {
  content: "";
  width: 4px;
  height: 17px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand-2), var(--brand-deep));
}

.section__more {
  font-size: var(--fs-base);
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 1px;
  flex: none;
}

/* ---------- 7. 金刚区分类 ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 4px;
  background: var(--card);
  margin: var(--gap);
  padding: 16px 8px 15px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: var(--stroke);
}

.cat {
  text-align: center;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text);
  /* 按压反馈：整块可点，按下时轻微下沉 */
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.cat:active { transform: scale(.94); opacity: .85; }

/* 图标底座：同色系双色调渐变 + 内描边，比单色浅底更"有材质" */
.cat__icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 8px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(160deg, #e9f6f1, #d7ece3);
  color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), 0 3px 8px rgba(10, 42, 32, .06);
}

/* 四个入口各自配色，首页一眼能分辨，不再是一片绿 */
.cat[data-cat="pure"]    .cat__icon { background: linear-gradient(160deg, #e6f5ef, #cfe9df); color: var(--c-pure); }
.cat[data-cat="group"]   .cat__icon { background: linear-gradient(160deg, #e8f0f8, #d3e2f1); color: var(--c-group); }
.cat[data-cat="custom"]  .cat__icon { background: linear-gradient(160deg, #f8f0e1, #f0e0c4); color: var(--c-custom); }
.cat[data-cat="charter"] .cat__icon { background: linear-gradient(160deg, #efeaf8, #e0d7f1); color: var(--c-charter); }

.cat__icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 2;
  /* 压在装饰高光之上，避免被白雾冲淡 */
  position: relative;
  z-index: 1;
}

/* 图标右上角一道高光，模拟光源在左上，金属/玻璃质感 */
.cat__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 52%);
  opacity: .5;
  pointer-events: none;
}

/* ---------- 8. 秒杀条 ---------- */
.flash {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: var(--gap);
  padding: 11px 14px;
  border-radius: var(--radius);
  /* 暖橙渐变 + 同色系投影，让这条促销带从页面里"浮"出来 */
  background: linear-gradient(100deg, #ff7a3d, #ef4a2c 58%, #ff9d2f);
  color: #fff;
  box-shadow: 0 8px 20px rgba(239, 74, 44, .26), inset 0 1px 0 rgba(255, 255, 255, .22);
  position: relative;
  overflow: hidden;
}

/* 左侧一道斜向高光，避免纯平面色块 */
.flash::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(104deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.flash > * { position: relative; }

.flash__tag {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .6px;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .28);
  padding: 3px 10px;
  border-radius: 999px;
  flex: none;
}

.flash__timer {
  display: flex;
  gap: 3px;
  font-size: var(--fs-base);
  font-weight: 700;
  align-items: center;
}

.flash__timer b {
  background: #fff;
  color: var(--price-dark);
  border-radius: 6px;
  padding: 2px 5px;
  min-width: 23px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 4px rgba(120, 26, 8, .18);
}

.flash__more {
  margin-left: auto;
  font-size: var(--fs-base);
  font-weight: 600;
  opacity: .96;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* ---------- 9. 线路卡片 ---------- */
.route {
  display: flex;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  border: var(--stroke);
  /* 整卡可点（列表页用 div 包，报名按钮独立），按压时轻微下沉 */
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.route:active {
  transform: scale(.985);
  box-shadow: var(--shadow-xs);
}

.route__pic {
  display: block;
  position: relative;
  flex: none;
  width: 122px;
  height: 98px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #e8efec;
}

.route__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.route:active .route__pic img { transform: scale(1.03); }

/* 图片下部压一层暗角，天数标签压上去更清楚 */
.route__pic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .3) 100%);
  pointer-events: none;
}

.route__badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .2px;
  color: #fff;
  background: linear-gradient(135deg, #ff7a45, #e8453c);
  padding: 3px 8px;
  border-bottom-right-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(232, 69, 60, .32);
}

/* 天数徽标：贴在图片左下角，比堆在标题旁更清爽 */
.route__days {
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 1;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #fff;
  background: rgba(6, 32, 24, .55);
  backdrop-filter: blur(3px);
  padding: 2px 7px;
  border-radius: 6px;
}

.route__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.route__title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: .05px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.route__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.tag {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--brand-dark);
  background: var(--brand-light);
  border-radius: 5px;
  padding: 2px 6px;
}

.tag--hot {
  color: var(--price-dark);
  background: #ffece6;
}

.route__meta {
  font-size: var(--fs-sm);
  color: var(--text-3);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  /* 数字部分用等宽字体，多行对齐时不会跳动 */
  font-variant-numeric: tabular-nums;
}

/* 评分拆成独立小标：金色，比混在灰字里更好扫读 */
.route__rate {
  color: #b8860b;
  font-weight: 700;
}

.route__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  gap: 8px;
}

.price {
  color: var(--price);
  font-weight: 700;
  line-height: 1.1;
  display: inline-flex;
  align-items: baseline;
}

.price small {
  font-size: var(--fs-sm);
  font-weight: 400;
}

/* 价格数字加大 + 等宽，是卡片里最该被看见的信息 */
.price b {
  font-size: var(--fs-2xl);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.5px;
}

.price del {
  color: var(--text-3);
  font-size: var(--fs-sm);
  font-weight: 400;
  margin-left: 4px;
}

.btn-book {
  display: inline-flex;
  align-items: center;
  height: 30px;
  flex: none;
  /* 窄卡片里按钮文字绝不换行 */
  white-space: nowrap;
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: .3px;
  color: #fff;
  /* 橙红渐变 + 同色投影，比纯色更"想让人按" */
  background: linear-gradient(135deg, #ff7a45, #e8453c);
  border-radius: 999px;
  padding: 0 16px;
  box-shadow: 0 4px 12px rgba(232, 69, 60, .28);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-book:active {
  transform: scale(.94);
  box-shadow: 0 1px 4px rgba(232, 69, 60, .25);
}

/* ---------- 10. 优势 / 服务承诺 ---------- */
.promise {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
  font-size: 11px;
  color: var(--text-2);
}

.promise svg {
  width: 26px;
  height: 26px;
  margin-bottom: 4px;
}

/* ---------- 11. 评价 ---------- */
.review {
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}

.review__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: var(--brand);
  flex: none;
}

.stars {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 1px;
}

.review__text {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 6px;
}

.review__from {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 6px;
}

/* ---------- 12. Tab 筛选 ---------- */
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px var(--gap);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

/* 列表页顶部已有 sticky 导航栏，筛选栏不再吸顶 */
body[data-page="routes"] .tabs { position: static; }

.tab {
  flex: none;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1f4f3;
  color: var(--text-2);
}

.tab.is-on {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.sorts {
  display: flex;
  gap: 18px;
  padding: 10px var(--gap) 4px;
  font-size: 13px;
  color: var(--text-2);
}

.sorts button.is-on {
  color: var(--brand);
  font-weight: 600;
}

/* ---------- 13. 详情页 ---------- */
.detail-hero {
  position: relative;
  aspect-ratio: 375 / 220;
  background: #e8efec;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero__mask {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .6));
  color: #fff;
  font-size: 12px;
}

.pricebox {
  display: flex;
  align-items: center;
  gap: 10px;
  /* 暖色渐变托住价格，与页面白灰拉开，是详情页视觉重心 */
  background: linear-gradient(135deg, #fff6e8, #ffe9d8);
  border: 1px solid #ffe0c2;
  margin: var(--gap);
  padding: 13px 15px;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(214, 61, 23, .10);
}

.pricebox__left { flex: 1; min-width: 0; }

.pricebox__left .price b {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.pricebox__tip {
  font-size: var(--fs-sm);
  color: var(--text-2);
  margin-top: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a45, #e8453c);
  color: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: 0 4px 14px rgba(232, 69, 60, .35);
  flex: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-primary:active {
  transform: scale(.95);
  box-shadow: 0 1px 6px rgba(232, 69, 60, .3);
}

.btn-ghost {
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: var(--fs-md);
  font-weight: 600;
  background: #fff;
  flex: none;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn-ghost:active {
  transform: scale(.95);
  background: var(--brand-light);
}

/* 行程折叠 */
.day {
  border-left: 2px dashed #d9e6e1;
  padding: 0 0 12px 16px;
  position: relative;
}

.day:last-child { padding-bottom: 0; }

.day__dot {
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #fff;
}

.day__no {
  font-size: 12px;
  color: var(--brand);
  font-weight: 700;
}

.day__title {
  font-size: 14px;
  font-weight: 600;
  margin: 2px 0 4px;
}

.day__desc {
  font-size: 13px;
  color: var(--text-2);
}

.day__meta {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 4px;
}

/* 首页限时特惠横滑卡片 */
.flash-cards {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* 左右各留 1px，让卡片投影不被裁掉 */
  padding: 1px 1px 5px;
  margin: 0 -1px;
}

.flash-cards::-webkit-scrollbar { display: none; }

.fcard {
  flex: none;
  width: 150px;
  /* 卡片本身有投影，横滑时层次更清楚 */
  transition: transform var(--dur) var(--ease);
}
.fcard:active { transform: scale(.97); }

.fcard__pic {
  position: relative;
  height: 108px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #e8efec;
  box-shadow: var(--shadow-xs);
}

.fcard__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 图片底部压一道暗渐变，标题压在图上也更清晰（预留，不影响现有布局） */
  transition: transform .4s var(--ease);
}
.fcard:active .fcard__pic img { transform: scale(1.04); }

.fcard__off {
  position: absolute;
  left: 0;
  top: 0;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .2px;
  color: #fff;
  background: linear-gradient(135deg, #ff7a45, #e8453c);
  padding: 3px 8px;
  border-bottom-right-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(232, 69, 60, .32);
}

.fcard__t {
  font-size: var(--fs-base);
  line-height: 1.45;
  font-weight: 600;
  margin: 8px 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
}

.fcard .price b { font-size: var(--fs-lg); }

/* 线路实拍图集（详情页横向滑动） */
.gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery::-webkit-scrollbar { display: none; }

.gallery img {
  flex: none;
  width: 150px;
  height: 104px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #e8efec;
}

.kv {
  display: flex;
  font-size: 13px;
  padding: 5px 0;
}

.kv__k {
  width: 78px;
  flex: none;
  color: var(--text-3);
}

.kv__v { flex: 1; color: var(--text-2); }

.list-dot li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 5px;
}

.list-dot li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-2);
}

/* ---------- 14. 表单 ---------- */
.field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.field:last-child { border-bottom: 0; }

.field__label {
  width: 84px;
  flex: none;
  font-size: 13px;
  color: var(--text-2);
}

.field__label i {
  color: var(--price);
  font-style: normal;
  margin-right: 2px;
}

.field input,
.field select,
.field textarea {
  flex: 1;
  font-size: 14px;
  min-width: 0;
}

.field textarea {
  min-height: 62px;
  resize: none;
  line-height: 1.5;
}

.field ::placeholder { color: var(--text-3); }

.field__unit {
  flex: none;
  font-size: 13px;
  color: var(--text-3);
}

.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.stepper button {
  width: 30px;
  height: 28px;
  background: #f6f8f7;
  font-size: 16px;
  color: var(--text-2);
}

.stepper input {
  width: 46px;
  text-align: center;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 14px;
}

/* ---------- 15. 底部按钮条 ---------- */
.footbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--line);
}

.footbar__inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.footbar__price { flex: 1; font-size: 12px; }

/* ---------- 16. 底部 Tab 导航 ---------- */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  /* 毛玻璃效果：内容滑过底部时有一点透出，比实心白更精致 */
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid rgba(10, 42, 32, .055);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 16px rgba(10, 42, 32, .05);
}

.tabbar__inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  height: var(--tabbar-h);
}

.tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: var(--fs-sm);
  color: var(--text-3);
  position: relative;
  transition: color var(--dur) var(--ease);
  /* 点按时图标轻微放大，给一个明确的按压反馈 */
  -webkit-tap-highlight-color: transparent;
}
.tabbar a:active svg { transform: scale(.88); }
.tabbar a svg { transition: transform var(--dur) var(--ease); }

/* 选中态：图标下方一道短横线，比小圆点更像"当前所在位置" */
.tabbar a.is-on {
  color: var(--brand);
  font-weight: 600;
  letter-spacing: .2px;
}
.tabbar a.is-on svg { transform: translateY(-1px); }
.tabbar a.is-on::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
}

.tabbar svg {
  width: 23px;
  height: 23px;
}

/* ---------- 17. 页脚 ---------- */
.footer {
  padding: 18px var(--gap) 8px;
  text-align: center;
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.8;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 6px;
  color: var(--text-2);
}

/* ---------- 18. 悬浮客服 ---------- */
.fab {
  position: fixed;
  right: calc(50% - 240px + 12px);
  bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 70px);
  z-index: 65;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /* 绿色渐变 + 呼吸光圈，让"打电话"这个唯一转化入口更突出 */
  background: linear-gradient(135deg, var(--brand-2), var(--brand-deep));
  box-shadow: 0 6px 18px rgba(7, 76, 55, .35);
  display: grid;
  place-items: center;
  transition: transform var(--dur) var(--ease);
  animation: fabPulse 2.6s ease-in-out infinite;
}
.fab:active { transform: scale(.9); animation-play-state: paused; }
.fab svg { color: #fff; }

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(7, 76, 55, .35), 0 0 0 0 rgba(23, 166, 122, .35); }
  50%      { box-shadow: 0 6px 18px rgba(7, 76, 55, .35), 0 0 0 8px rgba(23, 166, 122, 0); }
}
/* 尊重系统的"减少动态效果"设置 */
@media (prefers-reduced-motion: reduce) {
  .fab { animation: none; }
}

.fab svg { width: 24px; height: 24px; }

@media (max-width: 520px) {
  .fab { right: 12px; }
}

/* ---------- 19. Toast / 空状态 ---------- */
.toast {
  position: fixed;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 999;
  background: rgba(0, 0, 0, .78);
  color: #fff;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
  max-width: 80%;
  text-align: center;
}

.toast.is-on { opacity: 1; }

.empty {
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
  padding: 44px 16px;
  line-height: 1.7;
}

/* 空状态图标：浅品牌色圆底托住线性图标，比裸灰色图形更"有收拾过" */
.empty svg {
  width: 68px;
  height: 68px;
  padding: 20px;
  box-sizing: border-box;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: #a9c4ba;
  opacity: 1;
}

/* ---------- 20. 折叠面板（攻略/须知） ---------- */
.acc {
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 600;
}

.acc__arrow {
  transition: transform .25s;
  flex: none;
}

.acc.is-open .acc__arrow { transform: rotate(90deg); }

.acc__body {
  display: none;
  padding: 0 14px 14px;
  font-size: 13px;
  color: var(--text-2);
}

.acc.is-open .acc__body { display: block; }

/* ---------- 21. 其他小组件 ---------- */
/* 关于页品牌图：白底圆角卡片，与全站卡片语言一致 */
.brand-logo {
  flex: none;
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: 5px;
  box-sizing: border-box;
  border: var(--stroke);
  box-shadow: var(--shadow-sm);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--brand-dark);
  background: var(--brand-light);
  border-radius: 999px;
  padding: 3px 9px;
}

.hr {
  height: 1px;
  background: var(--line);
  margin: 10px 0;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notice {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: #fff8e8;
  color: #8a6410;
  font-size: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  margin: var(--gap);
}

.notice svg { flex: none; margin-top: 2px; }

/* ---------- 22. 包车 / 定制页组件 ---------- */
.why-card {
  background: #f4f6f5;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.why-card strong { font-size: 13px; }
.why-card span { font-size: 11px; color: var(--text-2); }
.why-card__i { margin-bottom: 2px; }
.why-card__i svg { width: 20px; height: 20px; }

/* 车型卡片 */
.car {
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}

.car__top { display: flex; align-items: center; gap: 10px; }

.car__i {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-light);
  display: grid;
  place-items: center;
}

.car__i svg { width: 24px; height: 24px; }
.car__name { font-size: 14px; font-weight: 600; }
.car__model { font-size: 11px; color: var(--text-3); margin-top: 2px; }

.car__price { flex: none; text-align: right; }
.car__price b { display: block; font-size: 14px; color: var(--brand-dark); }
.car__price span { font-size: 11px; color: var(--text-3); }

.car__for {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

/* 线路行 */
.line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}

.line__t { font-size: 14px; font-weight: 600; }
.line__d { font-size: 11px; color: var(--text-3); margin-top: 3px; }

/* 步骤 */
.steps { list-style: none; padding: 0; margin: 0; }

.steps__i {
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
  position: relative;
}

.steps__i:last-child { padding-bottom: 0; }
.steps__i::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 2px;
  width: 1px;
  background: var(--line);
}

.steps__i:last-child::before { display: none; }

.steps__no {
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
  z-index: 1;
}

.steps__i strong { font-size: 14px; }
.steps__i p { font-size: 12px; color: var(--text-2); margin-top: 3px; }

/* 对比表 */
.cmp {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cmp__row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 8px;
  padding: 11px 12px;
  font-size: 12px;
  color: var(--text-2);
  border-top: 1px solid var(--line);
}

.cmp__row:first-child, .cmp__row--head { border-top: 0; }

.cmp__row--head {
  background: var(--brand-light);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-dark);
}

.cmp__k { color: var(--text-3); }
.cmp__hl { color: var(--brand-dark); font-weight: 600; }

/* 定制案例 */
.case {
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}

.case__who { font-size: 11px; color: var(--brand-dark); margin-top: 4px; }
.case__desc { font-size: 12px; color: var(--text-2); margin-top: 6px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.case__tags .tag { margin: 0; }

/* 提交成功 */
.success {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.success__i { margin-bottom: 8px; }
.success p { font-size: 13px; color: var(--text-2); }

/* ==========================================================================
   详情页增强组件（SEO 无关的交互与转化模块）
   ========================================================================== */

/* 骨架屏：JS 渲染前占位，消除白屏与布局抖动 */
.skeleton { padding: 12px; }
.sk {
  background: linear-gradient(90deg, #eef1f0 25%, #e3e8e6 37%, #eef1f0 63%);
  background-size: 400% 100%;
  animation: sk 1.3s ease infinite;
  border-radius: 8px;
  margin-bottom: 10px;
}
.sk--hero { height: 210px; border-radius: 0; margin: -12px -12px 14px; }
.sk--row { height: 14px; }
.sk--block { height: 96px; }
.sk--card { flex: none; width: 148px; height: 150px; margin: 0; }
@keyframes sk {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* 面包屑 */
.crumb {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px 6px;
  font-size: 12px;
  color: var(--text-3);
  flex-wrap: wrap;
}
.crumb a { color: var(--text-3); }
.crumb span { color: #c4ccc9; }
.crumb em { font-style: normal; color: var(--text-1); }

/* 顶部操作按钮组 */
.topbar__acts { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.topbar__act {
  border: 0;
  background: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.topbar__act svg { display: block; }

/* 近期咨询热度条 */
.hotline-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 12px 8px;
  background: #fff8e6;
  border: 1px solid #f3e3bb;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  color: #8a6410;
}
.hotline-bar b { color: #d9480f; font-weight: 700; }
.hotline-bar svg { flex: none; }

/* 信任条 */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 0 12px 12px;
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.trust-strip span { display: inline-flex; align-items: center; gap: 3px; }
/* 勾选标记用品牌色小圆底，比裸的对勾更醒目 */
.trust-strip svg { flex: none; }

/* 首页信任条做成胶囊：白底 + 细描边，比一排灰字更像"服务标签" */
.trust-strip--home {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 var(--gap);
  margin-top: 10px;
  background: transparent;
  border-top: 0;
  font-size: var(--fs-sm);
}

.trust-strip--home span {
  background: #fff;
  border: var(--stroke);
  border-radius: 999px;
  padding: 3px 8px 3px 6px;
  color: var(--brand-dark);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: -.1px;
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}

.trust-strip--home svg { color: var(--brand-2); width: 11px; height: 11px; }

/* 班期 chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f7f4;
  border: 1px solid #d8e8e1;
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
}
.chip--more { background: none; border-style: dashed; }

/* 价格折扣标 */
.off {
  display: inline-block;
  background: #fdece6;
  color: #e8453c;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 4px;
  vertical-align: middle;
}

/* 行程折叠 */
.days.is-fold .day:nth-child(n+3) { display: none; }
.fold-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  padding: 9px 0;
  font-size: 12.5px;
  color: var(--brand-dark);
  cursor: pointer;
}
.fold-btn__arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.6px solid var(--brand-dark);
  border-bottom: 1.6px solid var(--brand-dark);
  transform: rotate(45deg);
  margin-left: 5px;
  vertical-align: 1px;
  transition: transform .2s;
}
.fold-btn[aria-expanded="true"] .fold-btn__arrow { transform: rotate(-135deg); }

/* 报名步骤 */
.steps-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.steps-mini span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-2);
  background: #f4f6f5;
  border-radius: 8px;
  padding: 8px 10px;
}
.steps-mini i {
  flex: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 图片查看器 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, .92);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: calc(env(safe-area-inset-top) + 12px) 14px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 13px;
}
.lightbox__close { background: none; border: 0; padding: 4px; cursor: pointer; }
.lightbox__stage { width: 100%; padding: 0 8px; text-align: center; }
.lightbox__stage img { max-width: 100%; max-height: 74vh; border-radius: 6px; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .12);
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }

/* 底部咨询面板 */
.sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, .45);
  display: flex;
  align-items: flex-end;
  animation: fadeIn .18s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  width: 100%;
  background: var(--card);
  border-radius: 14px 14px 0 0;
  padding: 8px 12px calc(env(safe-area-inset-bottom) + 12px);
  animation: slideUp .22s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet__title { text-align: center; font-size: 13px; color: var(--text-3); padding: 8px 0 10px; }
.sheet__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 13px 4px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--text-1);
}
.sheet__item:last-of-type { border-bottom: 0; }
.sheet__item svg { flex: none; }
.sheet__item span { display: flex; flex-direction: column; gap: 2px; }
.sheet__item b { font-size: 14px; font-weight: 600; }
.sheet__item em { font-style: normal; font-size: 11.5px; color: var(--text-3); }
.sheet__cancel {
  width: 100%;
  border: 0;
  background: #f4f6f5;
  border-radius: 10px;
  padding: 12px 0;
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
}

/* 返回顶部 */
.totop {
  position: fixed;
  right: 14px;
  bottom: calc(env(safe-area-inset-bottom) + 116px);
  z-index: 90;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.totop[hidden] { display: none; }

/* ==========================================================================
   线路列表：多维筛选
   ========================================================================== */
.filters {
  padding: 8px 12px 4px;
  background: var(--card);
}
.filters__row { display: flex; align-items: center; gap: 10px; padding: 3px 0; }
.filters__k { flex: none; font-size: 12px; color: var(--text-3); width: 28px; }
.filters__v { display: flex; gap: 7px; overflow-x: auto; flex: 1; padding: 2px 0; scrollbar-width: none; }
.filters__v::-webkit-scrollbar { display: none; }
.fchip {
  flex: none;
  border: 1px solid var(--line);
  background: #f6f8f7;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--text-2);
  cursor: pointer;
  white-space: nowrap;
}
.fchip.is-on {
  background: #eaf5f0;
  border-color: var(--brand);
  color: var(--brand-dark);
  font-weight: 600;
}

/* 已选条件条 */
.active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px 0;
}
.active-filters[hidden] { display: none; }
.af-t { font-size: 11.5px; color: var(--text-3); }
.af-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid #cfe6dc;
  background: #f1f9f5;
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11.5px;
  cursor: pointer;
}
.af-clear {
  border: 0;
  background: none;
  color: var(--text-3);
  font-size: 11.5px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0 2px;
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- 23. 静态落地页专用：图标占位与 FAQ ---------- */

/* data-ic 图标占位：由 app.js hydrateIcons() 填充成内联 SVG。
   inline-flex + 垂直居中，保证和周围文字基线对齐 */
.ic {
  display: inline-flex;
  align-items: center;
  vertical-align: -0.15em;
  flex: none;
  line-height: 0;
}
.ic svg { display: block; }

/* FAQ：静态落地页的常见问题（与 JSON-LD FAQPage 内容一一对应，
   页面上必须可见，否则会被判定为垃圾结构化数据） */
.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfdfc;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq__item[open] {
  border-color: #cfe4da;
  box-shadow: var(--shadow-xs);
}

.faq__item summary {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 12px;
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  /* 去掉默认三角，用自绘箭头，跨浏览器一致 */
  position: relative;
  padding-right: 30px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item summary:active { background: #f4f9f7; }

.faq__item p {
  margin: 0;
  padding: 0 12px 12px;
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--text-2);
}

/* picture 元素在某些浏览器下默认 inline，会导致卡片图片下方出现 3-4px 空隙 */
picture { display: block; }
.route__pic picture,
.detail-hero picture,
.fcard__pic picture { height: 100%; }
.route__pic picture img,
.detail-hero picture img,
.fcard__pic picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 答案前置句：H1 正下方的「一句话摘要」，用户和 AI 爬虫都能直接取用的速览区 */
.answer-lead {
  margin: 10px 0 0;
  padding: 10px 12px;
  background: #f2f8f5;
  border-left: 3px solid var(--brand, #0f7a5a);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: #3d4a45;
}
