/* ==========================================================================
   都江堰文旅 AI 数字人 · 公众号 H5
   设计语言：清雅山水国风 —— 青绿主色、金色点缀、米白底、印章与回纹元素
   ========================================================================== */

:root {
  --c-primary: #0F6B54;
  --c-primary-deep: #0A513E;
  --c-primary-soft: #3E8E7E;
  --c-primary-pale: #E7F2EE;
  --c-gold: #C8A96A;
  --c-gold-soft: #E4D3AC;
  --c-bg: #F2F7F4;
  --c-card: #FFFFFF;
  --c-ink: #1F2D2A;
  --c-ink-2: #5A6B66;
  --c-ink-3: #8A9A94;
  --c-line: #E4EDE8;
  --c-danger: #C0503F;
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 20px;
  --shadow-s: 0 2px 10px rgba(15, 107, 84, .06);
  --shadow-m: 0 6px 20px rgba(15, 107, 84, .10);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body { padding-bottom: calc(64px + var(--safe-bottom)); }
body.no-tabbar { padding-bottom: 0; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border: 0; }
button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; padding: 0; }

.serif { font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif; }

/* ---------------------------------- 通用 ---------------------------------- */
.page { min-height: 100vh; }

.app-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--c-primary-deep), var(--c-primary));
  color: #fff;
  box-shadow: 0 2px 12px rgba(10, 81, 62, .18);
}
.app-bar .bar-title { font-size: 17px; font-weight: 600; letter-spacing: .5px; }
.app-bar .bar-sub { font-size: 11px; opacity: .78; margin-top: 1px; }
.app-bar .bar-back {
  width: 30px; height: 30px; margin-left: -6px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255, 255, 255, .14);
}
.app-bar .bar-back svg { width: 17px; height: 17px; }

.container { padding: 14px; }

.card {
  background: var(--c-card);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  overflow: hidden;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 2px 10px;
}
.section-head .sh-title {
  display: flex; align-items: center; gap: 7px;
  font-size: 16px; font-weight: 600; color: var(--c-ink);
}
.section-head .sh-title::before {
  content: '';
  width: 3px; height: 15px; border-radius: 2px;
  background: linear-gradient(180deg, var(--c-gold), var(--c-primary));
}
.section-head .sh-more { font-size: 12px; color: var(--c-ink-3); }

.muted { color: var(--c-ink-3); }
.small { font-size: 12px; }
.center { text-align: center; }

.seal {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 5px;
  border-radius: 5px; background: var(--c-primary); color: #fff;
  font-family: "Songti SC", "STSong", serif;
  font-size: 12px; letter-spacing: .5px;
}

.empty {
  padding: 42px 16px; text-align: center; color: var(--c-ink-3); font-size: 13px;
}
.empty .empty-icon { font-size: 34px; opacity: .35; margin-bottom: 8px; }

.skeleton {
  background: linear-gradient(90deg, #EDF3F0 25%, #E2ECE7 37%, #EDF3F0 63%);
  background-size: 400% 100%;
  animation: sk 1.4s ease infinite;
  border-radius: 8px;
}
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------------------------------- 轮播 ---------------------------------- */
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.carousel-item { flex: 0 0 100%; position: relative; }
.carousel-item img { width: 100%; object-fit: cover; }
.carousel-item .ci-fallback {
  width: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(200,169,106,.35), transparent 60%),
    linear-gradient(150deg, var(--c-primary-deep) 0%, var(--c-primary) 45%, var(--c-primary-soft) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.carousel-item .ci-fallback::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.carousel-item .ci-fallback::after {
  content: ''; position: absolute; left: -10%; right: -10%; bottom: -34px;
  height: 92px; border-radius: 50% 50% 0 0;
  background: rgba(255,255,255,.10);
}
.ci-title {
  position: relative; z-index: 2;
  font-family: "Songti SC", "STSong", serif;
  font-size: 20px; letter-spacing: 3px; text-shadow: 0 2px 10px rgba(0,0,0,.28);
}
.ci-sub { position: relative; z-index: 2; font-size: 11px; opacity: .8; letter-spacing: 1px; }
.carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; justify-content: center; gap: 5px; z-index: 3;
}
.carousel-dots i {
  width: 5px; height: 5px; border-radius: 3px;
  background: rgba(255,255,255,.5); transition: all .3s;
}
.carousel-dots i.on { width: 16px; background: var(--c-gold); }

/* ------------------------------- AI 数字人区 ------------------------------- */
.avatar-block {
  position: relative;
  margin: 14px;
  padding: 18px 16px 16px;
  border-radius: var(--radius-l);
  background:
    radial-gradient(140% 90% at 100% 0%, rgba(200,169,106,.16), transparent 55%),
    linear-gradient(160deg, #FFFFFF 0%, #F6FAF8 100%);
  box-shadow: var(--shadow-m);
  overflow: hidden;
}
.avatar-block::before {
  content: ''; position: absolute; top: -46px; right: -46px;
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15,107,84,.10), transparent 70%);
}
.avatar-main { display: flex; align-items: center; gap: 14px; position: relative; }
.avatar-figure {
  position: relative; flex: 0 0 92px; width: 92px; height: 92px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--c-primary-pale), var(--c-line));
  box-shadow: 0 6px 18px rgba(15,107,84,.18), inset 0 0 0 3px rgba(255,255,255,.75);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.avatar-figure img, .avatar-figure video { width: 100%; height: 100%; object-fit: cover; }
.avatar-figure .pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(200,169,106,.55);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.92); opacity: .9; }
  100% { transform: scale(1.18); opacity: 0; }
}
.avatar-info { flex: 1; min-width: 0; }
.avatar-name {
  display: flex; align-items: center; gap: 6px;
  font-size: 17px; font-weight: 600; letter-spacing: 1px;
}
.avatar-greeting {
  margin-top: 6px; font-size: 12.5px; color: var(--c-ink-2); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.avatar-speak {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px; padding: 3px 10px; border-radius: 20px;
  background: var(--c-primary-pale); color: var(--c-primary);
  font-size: 11.5px;
}

/* 提问输入 */
.ask-box {
  position: relative; display: flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 6px 6px 6px 14px;
  border-radius: 26px; background: #fff;
  box-shadow: 0 0 0 1px var(--c-line), 0 2px 10px rgba(15,107,84,.05);
}
.ask-box input {
  flex: 1; border: 0; outline: none; background: transparent;
  font-size: 14px; padding: 8px 0; min-width: 0;
}
.ask-box input::placeholder { color: var(--c-ink-3); }
.ask-icon {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-primary-pale); color: var(--c-primary);
}
.ask-icon svg { width: 18px; height: 18px; }
.ask-send {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--c-primary), var(--c-primary-soft));
  color: #fff; box-shadow: 0 4px 12px rgba(15,107,84,.28);
}
.ask-send svg { width: 19px; height: 19px; }
.ask-send:active { transform: scale(.94); }
.ask-send.recording { background: linear-gradient(140deg, #C0503F, #D9756A); animation: rec 1.1s infinite; }
@keyframes rec { 0%,100% { opacity: 1; } 50% { opacity: .6; } }

/* ------------------------------- 快捷问题 ------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 9px; }
.faq-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: var(--radius-m);
  background: var(--c-card); box-shadow: var(--shadow-s);
  font-size: 13.5px; text-align: left;
  transition: transform .15s;
}
.faq-item:active { transform: scale(.985); }
.faq-item .fi-idx {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  background: var(--c-primary-pale); color: var(--c-primary);
}
.faq-item:nth-child(1) .fi-idx { background: linear-gradient(140deg, var(--c-gold), #DFC083); color: #fff; }
.faq-item:nth-child(2) .fi-idx { background: linear-gradient(140deg, var(--c-primary-soft), #7FB8A8); color: #fff; }
.faq-item:nth-child(3) .fi-idx { background: linear-gradient(140deg, #4E8FA6, #7FB3C4); color: #fff; }
.faq-item .fi-text { flex: 1; color: var(--c-ink); }
.faq-item .fi-arrow { color: var(--c-ink-3); font-size: 15px; }

/* ------------------------------- 功能入口 ------------------------------- */
.grid-card { display: grid; gap: 6px; padding: 16px 6px; }
.grid-item {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 6px 2px; border-radius: var(--radius-s);
}
.grid-item:active { background: var(--c-primary-pale); }
.grid-icon {
  width: 46px; height: 46px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--c-primary-pale), var(--c-line));
  color: var(--c-primary);
  box-shadow: inset 0 0 0 1px rgba(15,107,84,.06);
}
.grid-icon svg { width: 22px; height: 22px; }
.grid-item span { font-size: 11.5px; color: var(--c-ink-2); }

/* ------------------------------- 公告栏 ------------------------------- */
.notice-card { padding: 4px 0; }
.notice-row {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 14px; text-align: left;
}
.notice-row + .notice-row { border-top: 1px solid var(--c-line); }
.notice-tag {
  flex: 0 0 auto; padding: 2px 7px; border-radius: 5px;
  font-size: 10.5px; background: var(--c-primary-pale); color: var(--c-primary);
}
.notice-tag.close { background: #FBEDEA; color: var(--c-danger); }
.notice-tag.activity { background: #FBF5E6; color: #A8842E; }
.notice-text {
  flex: 1; font-size: 13.5px; color: var(--c-ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.notice-date { flex: 0 0 auto; font-size: 11px; color: var(--c-ink-3); }

/* ------------------------------- 底部导航 ------------------------------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: stretch;
  padding: 6px 0 calc(6px + var(--safe-bottom));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-line);
}
.tabbar-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--c-ink-3); font-size: 10.5px; padding: 2px 0;
}
.tabbar-item svg { width: 21px; height: 21px; }
.tabbar-item.on { color: var(--c-primary); }
.tabbar-item.on svg { filter: drop-shadow(0 2px 5px rgba(15,107,84,.28)); }

/* --------------------------------- 对话 --------------------------------- */
.chat-page { display: flex; flex-direction: column; height: 100vh; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px 14px 8px; -webkit-overflow-scrolling: touch; }
.chat-row { display: flex; gap: 9px; margin-bottom: 16px; align-items: flex-start; }
.chat-row.me { flex-direction: row-reverse; }
.chat-avatar {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  overflow: hidden; background: linear-gradient(150deg, var(--c-primary-pale), var(--c-line));
  display: flex; align-items: center; justify-content: center;
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bubble {
  max-width: 76%; padding: 11px 13px; border-radius: 14px;
  font-size: 14.5px; line-height: 1.65; word-break: break-word;
  box-shadow: var(--shadow-s);
}
.chat-row.ai .bubble {
  background: #fff; border-top-left-radius: 4px; color: var(--c-ink);
}
.chat-row.me .bubble {
  background: linear-gradient(140deg, var(--c-primary), var(--c-primary-soft));
  color: #fff; border-top-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(15,107,84,.22);
}
.bubble-meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 8px; padding-top: 7px; border-top: 1px dashed var(--c-line);
  font-size: 10.5px; color: var(--c-ink-3);
}
.bubble-meta .chip {
  padding: 1px 6px; border-radius: 4px;
  background: var(--c-primary-pale); color: var(--c-primary);
}
.bubble-actions { display: flex; align-items: center; gap: 12px; margin-top: 7px; font-size: 11.5px; color: var(--c-ink-3); }
.bubble-actions button { color: var(--c-primary); font-size: 11.5px; white-space: nowrap; flex: 0 0 auto; }
/* 播报中：喇叭切三根声波条 + 「停止播报」（与小程序端一致） */
.bubble-actions button.speaking { color: var(--c-primary); font-weight: 600; }
.sw { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; margin-right: 4px; }
.sw i {
  width: 2.5px; height: 6px; border-radius: 2px;
  background: currentColor; transform-origin: bottom;
  animation: swJump .9s ease-in-out infinite;
}
.sw i.sw-b2 { animation-delay: .15s; }
.sw i.sw-b3 { animation-delay: .3s; }
@keyframes swJump {
  0%, 100% { transform: scaleY(.55); opacity: .65; }
  50% { transform: scaleY(1.45); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .sw i { animation: none; } }
/* AI 生成内容免责声明：固定在气泡右下角 */
.bubble-disclaimer { margin-left: auto; font-size: 10.5px; color: var(--c-ink-3); opacity: .9; text-align: right; min-width: 0; }
.typing { display: inline-flex; gap: 4px; align-items: center; padding: 3px 0; }
.typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary-soft);
  animation: bounce 1.2s infinite;
}
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes bounce { 0%,60%,100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat-input-bar {
  flex: 0 0 auto; padding: 8px 12px calc(8px + var(--safe-bottom));
  background: #fff; border-top: 1px solid var(--c-line);
  display: flex; align-items: flex-end; gap: 8px;
}
.chat-input-bar textarea {
  flex: 1; border: 0; outline: none; resize: none; background: var(--c-bg);
  border-radius: 18px; padding: 10px 14px; max-height: 96px; font-size: 14.5px; line-height: 1.5;
}
.chat-input-bar .ci-btn {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--c-primary);
  background: var(--c-primary-pale);
}
.chat-input-bar .ci-btn svg { width: 19px; height: 19px; }
.chat-input-bar .ci-btn.send { background: linear-gradient(140deg, var(--c-primary), var(--c-primary-soft)); color: #fff; }
.chat-input-bar .ci-btn:disabled { opacity: .45; }
.chat-input-bar .ci-btn.rec { background: linear-gradient(140deg, #C0503F, #D9756A); color: #fff; animation: rec 1.1s infinite; }

/* 拍照识图按钮：已选图时实心高亮，上传中显示转圈 */
.chat-input-bar .ci-btn.has { background: linear-gradient(140deg, var(--c-primary), var(--c-primary-soft)); color: #fff; }
.chat-input-bar .ci-btn.loading { color: transparent; position: relative; }
.chat-input-bar .ci-btn.loading::after {
  content: ''; position: absolute; width: 15px; height: 15px;
  border: 2px solid rgba(15, 107, 84, .25); border-top-color: var(--c-primary);
  border-radius: 50%; animation: ciSpin .8s linear infinite;
}
@keyframes ciSpin { to { transform: rotate(360deg); } }

/* 待发送图片预览条 */
.img-pending {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px 12px;
}
.img-pending[hidden] { display: none; }
.img-pending__thumb {
  width: 52px; height: 52px; border-radius: 12px; object-fit: cover;
  flex: 0 0 auto; background: var(--c-bg); cursor: zoom-in;
}
.img-pending__info { flex: 1; min-width: 0; }
.img-pending__title { font-size: 13.5px; font-weight: 600; color: var(--c-primary); }
.img-pending__tip { margin-top: 3px; font-size: 11.5px; color: var(--c-ink-3); }
.img-pending__del {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-bg); color: var(--c-ink-3); font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.img-pending__del:active { background: #FBEDEA; color: var(--c-danger); }

/* 用户气泡里的图片 */
.chat-row .bubble .me-img {
  display: block; max-width: 190px; width: 100%; border-radius: 12px;
  margin-bottom: 6px; cursor: zoom-in;
}
.chat-row .bubble .me-text { word-break: break-word; }
.chat-row .bubble .me-text:only-child { margin-bottom: 0; }

.quick-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; }
.quick-chips::-webkit-scrollbar { display: none; }
.quick-chip {
  flex: 0 0 auto; padding: 7px 13px; border-radius: 20px;
  background: #fff; border: 1px solid var(--c-line);
  font-size: 12.5px; color: var(--c-ink-2); white-space: nowrap;
}
.quick-chip:active { background: var(--c-primary-pale); border-color: var(--c-primary-soft); }

/* --------------------------------- 导航 --------------------------------- */
.filter-bar { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-chip {
  flex: 0 0 auto; padding: 6px 14px; border-radius: 18px; font-size: 12.5px;
  background: #fff; color: var(--c-ink-2); border: 1px solid var(--c-line);
}
.filter-chip.on {
  background: linear-gradient(140deg, var(--c-primary), var(--c-primary-soft));
  color: #fff; border-color: transparent; box-shadow: 0 3px 10px rgba(15,107,84,.2);
}

.place-item {
  display: flex; gap: 11px; padding: 13px 14px; align-items: center; text-align: left;
}
.place-item + .place-item { border-top: 1px solid var(--c-line); }
.place-thumb {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(150deg, var(--c-primary-pale), var(--c-line));
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary); font-family: "Songti SC", serif; font-size: 17px;
}
.place-thumb img { width: 100%; height: 100%; object-fit: cover; }
.place-info { flex: 1; min-width: 0; }
.place-name { font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.place-name .pn-text {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.place-cat {
  flex: 0 0 auto; font-size: 10.5px; font-weight: 400;
  padding: 1px 6px; border-radius: 4px;
  background: var(--c-primary-pale); color: var(--c-primary);
}
.place-addr { font-size: 12px; color: var(--c-ink-3); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.place-nav {
  flex: 0 0 auto; padding: 6px 11px; border-radius: 16px; font-size: 12px;
  background: var(--c-primary-pale); color: var(--c-primary);
}

/* 距离 / 热度 */
.place-meta { display: flex; align-items: center; gap: 9px; margin-top: 5px; }
.pm-dist { font-size: 11px; color: #1F8A5F; font-weight: 600; }
.pm-heat { font-size: 10.5px; color: #B4702A; }
.filter-chip.ghost { border-style: dashed; color: var(--c-ink-3); }

/* --------------------------------- 列表页 --------------------------------- */
.list-row {
  display: flex; align-items: center; gap: 10px; padding: 14px;
}
.list-row + .list-row { border-top: 1px solid var(--c-line); }
.list-row .lr-main { flex: 1; min-width: 0; }
.list-row .lr-title { font-size: 14.5px; color: var(--c-ink); }
.list-row .lr-sub { font-size: 12px; color: var(--c-ink-3); margin-top: 3px; }
.list-row .lr-arrow { color: #C4D3CE; }

/* --------------------------------- 我的 --------------------------------- */
.profile-head {
  position: relative; padding: 26px 18px 30px;
  background:
    radial-gradient(130% 90% at 90% 0%, rgba(200,169,106,.22), transparent 55%),
    linear-gradient(150deg, var(--c-primary-deep), var(--c-primary) 55%, var(--c-primary-soft));
  color: #fff; overflow: hidden;
}
.profile-head::after {
  content: ''; position: absolute; left: -14%; right: -14%; bottom: -58px;
  height: 110px; border-radius: 50%; background: rgba(255,255,255,.07);
}
.profile-row { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }
.profile-avatar {
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255,255,255,.2); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.18), inset 0 0 0 2px rgba(255,255,255,.45);
  font-size: 22px;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-size: 17px; font-weight: 600; }
.profile-tag {
  display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 20px;
  background: rgba(255,255,255,.18); font-size: 11px;
}
.stat-row { display: flex; gap: 10px; margin: -18px 14px 0; position: relative; z-index: 3; }
.stat-box {
  flex: 1; background: #fff; border-radius: var(--radius-m);
  padding: 12px 6px; text-align: center; box-shadow: var(--shadow-s);
}
.stat-box .sb-num {
  font-size: 19px; font-weight: 700; color: var(--c-primary);
  font-family: "Songti SC", serif;
}
.stat-box .sb-label { font-size: 11px; color: var(--c-ink-3); margin-top: 2px; }

.menu-group { margin: 14px; }
.menu-item {
  display: flex; align-items: center; gap: 11px; padding: 14px;
  background: #fff; text-align: left; width: 100%;
}
.menu-item:first-child { border-radius: var(--radius-m) var(--radius-m) 0 0; }
.menu-item:last-child { border-radius: 0 0 var(--radius-m) var(--radius-m); }
.menu-item + .menu-item { border-top: 1px solid var(--c-line); }
.menu-item .mi-icon {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-primary-pale); color: var(--c-primary);
}
.menu-item .mi-icon svg { width: 16px; height: 16px; }
.menu-item .mi-text { flex: 1; font-size: 14.5px; }
.menu-item .mi-arrow { color: #C4D3CE; }

/* --------------------------------- 详情页 --------------------------------- */
.article-body { padding: 18px 16px 34px; font-size: 15px; line-height: 1.85; color: var(--c-ink-2); }
.article-body h3 { font-size: 16px; color: var(--c-ink); margin: 18px 0 8px; }
.article-body p { margin: 0 0 12px; }
.article-body img { border-radius: var(--radius-s); margin: 10px 0; }
.article-title {
  font-size: 19px; font-weight: 700; color: var(--c-ink); padding: 20px 16px 8px;
  font-family: "Songti SC", "STSong", serif; line-height: 1.45;
}
.article-meta { padding: 0 16px 14px; font-size: 12px; color: var(--c-ink-3); border-bottom: 1px solid var(--c-line); }

.detail-cover {
  height: 168px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--c-primary-deep), var(--c-primary) 55%, var(--c-primary-soft));
  color: #fff; font-family: "Songti SC", serif; font-size: 21px; letter-spacing: 2px;
}
.info-rows { padding: 4px 0; }
.info-row { display: flex; gap: 12px; padding: 12px 16px; font-size: 14px; }
.info-row + .info-row { border-top: 1px solid var(--c-line); }
.info-row .ir-label { flex: 0 0 66px; color: var(--c-ink-3); }
.info-row .ir-value { flex: 1; color: var(--c-ink); word-break: break-word; }

/* --------------------------------- 弹层 --------------------------------- */
.toast {
  position: fixed; left: 50%; top: 42%; transform: translate(-50%, -50%);
  max-width: 78%; padding: 11px 18px; border-radius: 12px;
  background: rgba(31,45,42,.9); color: #fff; font-size: 13.5px; line-height: 1.5;
  text-align: center; z-index: 200; opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.toast.on { opacity: 1; }

.popup-mask {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(20,35,30,.45); display: flex; align-items: center; justify-content: center;
  padding: 26px;
}
.popup {
  width: 100%; max-width: 320px; background: #fff; border-radius: var(--radius-l);
  overflow: hidden; box-shadow: 0 18px 48px rgba(0,0,0,.22);
}
.popup-head {
  padding: 18px 18px 6px; font-size: 16px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.popup-body { padding: 6px 18px 16px; font-size: 13.5px; color: var(--c-ink-2); line-height: 1.7; max-height: 50vh; overflow-y: auto; }
.popup-foot { display: flex; border-top: 1px solid var(--c-line); }
.popup-foot button { flex: 1; padding: 14px; font-size: 15px; }
.popup-foot button + button { border-left: 1px solid var(--c-line); }
.popup-foot .primary { color: var(--c-primary); font-weight: 600; }

.top-notice {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 0 14px 12px; padding: 11px 13px; border-radius: var(--radius-s);
  background: #FBF5E6; color: #8A6B22; font-size: 12.5px; line-height: 1.6;
}
.top-notice.danger { background: #FBEDEA; color: var(--c-danger); }

.loading-line {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 26px; color: var(--c-ink-3); font-size: 13px;
}
.spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid var(--c-primary-pale); border-top-color: var(--c-primary);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.fade-in { animation: fadeIn .28s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   对话页补充
   ========================================================================== */

/* 移动端浏览器地址栏伸缩时，dvh 比 vh 更稳；不支持的机型自动回落 */
.chat-page { height: 100vh; height: 100dvh; }
.chat-body { min-height: 0; }

.chat-foot {
  flex: 0 0 auto; background: #fff;
  border-top: 1px solid var(--c-line);
  padding: 0 12px;
}
.chat-foot .quick-chips { padding: 8px 0 6px; }
.chat-foot .chat-input-bar {
  border-top: 0; background: transparent;
  padding: 0 0 calc(8px + var(--safe-bottom));
}
.chat-foot .img-pending { padding: 8px 0 10px; }

.msg-time { font-size: 10.5px; color: var(--c-ink-3); text-align: center; margin: 2px 0 14px; }

.bubble-error { background: #FBEDEA; color: var(--c-danger); }
.bubble-error .bubble-meta { border-top-color: #F0D6D0; }
.retry-btn { color: var(--c-danger); font-size: 12.5px; margin-top: 8px; font-weight: 600; }

.bubble-source { font-size: 10.5px; }

.welcome-card { text-align: center; padding: 22px 18px 6px; }
.welcome-card .wc-avatar {
  width: 78px; height: 78px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 12px; background: #fff;
  box-shadow: 0 8px 22px rgba(15, 107, 84, .14), inset 0 0 0 3px rgba(255, 255, 255, .8);
}
.welcome-card .wc-avatar img, .welcome-card .wc-avatar video { width: 100%; height: 100%; object-fit: cover; }
.welcome-card .wc-name { font-size: 16.5px; font-weight: 600; letter-spacing: .5px; }
.welcome-card .wc-tip { font-size: 12.5px; color: var(--c-ink-3); margin-top: 7px; line-height: 1.75; }

.conv-row { align-items: center; }
.conv-del {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-ink-3); background: var(--c-bg);
}
.conv-del svg { width: 15px; height: 15px; }


/* ==========================================================================
   可视化装修 · 新增组件
   --------------------------------------------------------------------------
   banner 单图横幅 / video 视频 / links 链接列表 / noticeScroll 滚动公告
   place 推荐点位 / stats 数据指标 / richText 图文介绍
   全部沿用青绿主色 + 金色点缀的国风设计系统
   ========================================================================== */

/* ------------------------------ 单图横幅 ------------------------------ */

.banner {
  position: relative; overflow: hidden; display: block;
  box-shadow: var(--shadow-m); background: var(--c-primary-deep);
}
.banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-bg--fallback {
  background: linear-gradient(140deg, var(--c-primary-deep) 0%, var(--c-primary-soft) 58%, var(--c-gold) 100%);
}
.banner-mask { position: absolute; inset: 0; }
.banner-body {
  position: relative; height: 100%; padding: 18px 16px;
  display: flex; flex-direction: column; justify-content: center; color: #fff;
}
.banner-title {
  font-size: 19px; font-weight: 600; letter-spacing: 1.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .28);
}
.banner-sub {
  margin-top: 7px; font-size: 12.5px; letter-spacing: .4px;
  opacity: .92; text-shadow: 0 1px 6px rgba(0, 0, 0, .25);
}
.banner-btn-wrap { display: inline-block; margin-top: 12px; }
.banner-btn {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .6px;
  padding: 6px 16px; border-radius: 999px;
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-soft));
  color: #4A3814; box-shadow: 0 4px 12px rgba(200, 169, 106, .38);
}

/* ------------------------------ 视频模块 ------------------------------ */

.video-el {
  width: 100%; display: block; object-fit: cover; background: #0A1B17;
  box-shadow: var(--shadow-m);
}
.video-caption {
  margin-top: 8px; font-size: 12.5px; color: var(--c-ink-3);
  text-align: center; line-height: 1.7;
}

/* ------------------------------ 链接列表 ------------------------------ */

.lk-card { padding: 4px 0; overflow: hidden; }
.lk-row {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 15px; border-bottom: 1px solid var(--c-line);
}
.lk-row:last-child { border-bottom: 0; }
.lk-row:active { background: var(--c-primary-pale); }
.lk-icon {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
  background: var(--c-primary-pale); color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
}
.lk-icon svg { width: 18px; height: 18px; }
.lk-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lk-title {
  font-size: 14.5px; color: var(--c-ink); font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lk-desc {
  margin-top: 3px; font-size: 12px; color: var(--c-ink-3); line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lk-arrow { flex: 0 0 auto; color: #C2D2CC; display: flex; }

/* ----------------------------- 滚动公告条 ----------------------------- */

.notice-scroll {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: var(--radius-s);
  background: var(--c-card); box-shadow: var(--shadow-s);
  border-left: 3px solid var(--c-gold);
  overflow: hidden;
}
.ns-label {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: .4px;
  padding: 3px 9px; border-radius: 999px;
  background: linear-gradient(135deg, var(--c-gold-soft), #F4EBD6);
  color: #6E5A28;
}
.ns-label svg { width: 12px; height: 12px; }
.ns-view { flex: 1; min-width: 0; overflow: hidden; position: relative; }
.ns-track { display: inline-flex; white-space: nowrap; animation: nsMarquee 26s linear infinite; }
.ns-part { padding-right: 44px; font-size: 13px; color: var(--c-ink-2); }

@keyframes nsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ns-track { animation: none !important; }
}

/* ------------------------------ 推荐点位 ------------------------------ */

.place-list {
  display: flex; gap: 11px; overflow-x: auto; padding: 2px 2px 8px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.place-list::-webkit-scrollbar { display: none; }
.place-list.is-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; padding-bottom: 2px;
}
.place-card {
  flex: 0 0 132px; background: var(--c-card); border-radius: var(--radius-m);
  box-shadow: var(--shadow-s); overflow: hidden; display: block;
}
.place-list.is-grid .place-card { flex: none; }
.place-card:active { transform: scale(.98); }
.place-card__thumb {
  display: flex; height: 84px; overflow: hidden;
  background: linear-gradient(140deg, var(--c-primary-pale), #C7E1D7);
  align-items: center; justify-content: center;
}
.place-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pc-fallback {
  font-family: "Songti SC", "STSong", serif;
  font-size: 26px; font-weight: 600; color: var(--c-primary-soft); opacity: .75;
}
.place-card__name {
  padding: 8px 10px 0; font-size: 13.5px; font-weight: 600; color: var(--c-ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.place-card__addr {
  padding: 3px 10px 10px; font-size: 11px; color: var(--c-ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ------------------------------ 数据指标 ------------------------------ */

.stats-card {
  display: grid; gap: 6px; padding: 15px 8px;
  background: linear-gradient(160deg, var(--c-card), #F7FBF9);
}
.stat-cell { text-align: center; min-width: 0; }
.stat-value {
  font-size: 21px; font-weight: 700; letter-spacing: .5px;
  color: var(--c-primary-deep); line-height: 1.2;
}
.stat-value small { font-size: 12px; font-weight: 500; margin-left: 1px; }
.stat-label {
  margin-top: 5px; font-size: 11.5px; color: var(--c-ink-3); letter-spacing: .3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ------------------------------ 图文介绍 ------------------------------ */

.rich-card { padding: 15px 16px; }
.rich-card.is-plain { background: transparent; box-shadow: none; padding: 4px 2px; }
.rich-body { font-size: 14.5px; line-height: 1.9; color: var(--c-ink-2); }
.rich-body p { margin: 0 0 10px; }
.rich-body p:last-child { margin-bottom: 0; }
.rich-body h4 {
  margin: 14px 0 8px; font-size: 15px; font-weight: 600; color: var(--c-ink);
  padding-left: 10px; position: relative;
}
.rich-body h4:first-child { margin-top: 0; }
.rich-body h4::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 15px; border-radius: 2px;
  background: linear-gradient(180deg, var(--c-gold), var(--c-primary));
}
.rich-body strong { color: var(--c-ink); font-weight: 600; }
.rich-body ul { margin: 0 0 10px; padding-left: 4px; list-style: none; }
.rich-body li { position: relative; padding-left: 16px; margin-bottom: 5px; }
.rich-body li::before {
  content: ''; position: absolute; left: 2px; top: 11px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-gold);
}
.rich-body a { color: var(--c-primary); border-bottom: 1px solid #BBD9CE; }

.rich-card.is-collapsed .rich-body { max-height: 158px; overflow: hidden; position: relative; }
.rich-card.is-collapsed .rich-body::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 54px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}
.rich-toggle {
  display: flex; align-items: center; justify-content: center; gap: 3px;
  width: 100%; margin-top: 8px; padding-top: 10px;
  font-size: 13px; font-weight: 600; color: var(--c-primary);
  border-top: 1px solid var(--c-line);
}
.rich-toggle svg { width: 11px; height: 11px; transform: rotate(90deg); transition: transform .2s; }
.rich-toggle.is-open svg { transform: rotate(-90deg); }

/* ==========================================================================
   第五阶段：横向溢出防护 + 多主题 + 新组件（search/title/button/imageGrid/article）
   + 首页背景音频悬浮按钮
   ========================================================================== */

/* ----------------------- 全站横向溢出防护 ----------------------- */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
.page { overflow-x: hidden; }
.container { max-width: 100%; }
.section-head, .card, .banner, .notice-scroll, .ask-box, .stats-card {
  max-width: 100%;
}

/* --------------------------- 搜索框（search） --------------------------- */
.search-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px;
  background: var(--c-card);
  box-shadow: var(--shadow-s);
  color: var(--c-ink-3); font-size: 13.5px;
  max-width: 100%;
}
.search-bar svg { width: 15px; height: 15px; flex-shrink: 0; }
.search-bar .sb-text {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* --------------------------- 栏目标题（title） --------------------------- */
.block-title { margin: 16px 2px 10px; }
.block-title.is-center { text-align: center; }
.block-title .bt-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.block-title.is-center .bt-row { justify-content: center; }
.block-title .bt-main {
  display: flex; align-items: center; gap: 8px;
  font-size: 16.5px; font-weight: 600; color: var(--c-ink); letter-spacing: .5px;
}
.block-title .bt-main::before {
  content: ''; width: 4px; height: 16px; border-radius: 2px;
  background: linear-gradient(180deg, var(--c-gold), var(--c-primary));
}
.block-title.is-center .bt-main::before { display: none; }
.block-title .bt-sub { margin-top: 4px; font-size: 12px; color: var(--c-ink-3); }
.block-title .bt-more {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 2px;
  font-size: 12px; color: var(--c-ink-3);
}
.block-title .bt-more svg { width: 11px; height: 11px; }

/* --------------------------- 按钮组（button） --------------------------- */
.btn-group { display: grid; gap: 10px; margin: 12px 0; }
.block-btn {
  display: flex; align-items: center; justify-content: center;
  height: 44px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; letter-spacing: 1px;
  max-width: 100%;
}
.block-btn.is-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-soft));
  box-shadow: 0 6px 16px rgba(15, 107, 84, .22);
}
.block-btn.is-ghost {
  color: var(--c-primary);
  background: var(--c-primary-pale);
}

/* -------------------------- 图片宫格（imageGrid） -------------------------- */
.image-grid { display: grid; gap: 10px; margin: 10px 0; }
.ig-cell { position: relative; display: block; overflow: hidden; }
.ig-cell img {
  width: 100%; height: 110px; object-fit: cover; display: block;
  background: var(--c-primary-pale);
}
.ig-cell .ig-title {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 10px 8px;
  font-size: 12.5px; font-weight: 600; color: #fff; letter-spacing: .5px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55));
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* -------------------------- 图文卡片（article） -------------------------- */
.article-card {
  display: flex; gap: 12px; align-items: center;
  padding: 12px; margin: 10px 0;
  background: var(--c-card); border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  max-width: 100%;
}
.article-card.is-top { flex-direction: column; align-items: stretch; }
.article-card .ac-img {
  width: 96px; height: 72px; border-radius: 10px; object-fit: cover;
  background: var(--c-primary-pale); flex-shrink: 0;
}
.article-card.is-top .ac-img { width: 100%; height: 140px; }
.article-card .ac-body { flex: 1; min-width: 0; }
.article-card .ac-title {
  font-size: 15px; font-weight: 600; color: var(--c-ink); line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.article-card .ac-desc {
  margin-top: 5px; font-size: 12.5px; color: var(--c-ink-3); line-height: 1.6;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* -------------------------------------------------------------------------
   背景音频：前台不再显示按钮（按需求只在后台设置与开关），
   这里保留少量兼容样式，避免旧缓存页面出现裸元素
   ------------------------------------------------------------------------- */
.bg-audio { display: none !important; }

/* =========================================================================
   地点详情页（place.html）
   ========================================================================= */

/* 顶部图文轮播 */
.pl-hero { position: relative; width: 100%; height: 210px; overflow: hidden; background: #E7F2EE; }
.pl-hero--empty {
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600; letter-spacing: 3px; color: var(--c-primary);
  background: linear-gradient(150deg, var(--c-primary-pale), #D6E9E2);
}
.pl-track {
  display: flex; width: 100%; height: 100%;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pl-track::-webkit-scrollbar { display: none; }
.pl-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.pl-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-dots {
  position: absolute; left: 0; right: 0; bottom: 38px;
  display: flex; justify-content: center; gap: 5px; pointer-events: none;
}
.pl-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.pl-dots i.on { width: 14px; border-radius: 3px; background: #fff; }
.pl-count {
  position: absolute; right: 12px; bottom: 38px;
  padding: 2px 9px; border-radius: 999px; font-size: 11px;
  color: #fff; background: rgba(20, 35, 30, .42);
}

/* 标题卡 */
.pl-head { position: relative; margin: -22px 12px 0; padding: 16px 16px 14px; border-radius: 16px; }
.pl-head__top { display: flex; align-items: flex-start; gap: 8px; }
.pl-name { flex: 1; min-width: 0; font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--c-ink); }
.pl-cat {
  flex: 0 0 auto; padding: 3px 9px; border-radius: 6px;
  font-size: 11px; color: var(--c-primary); background: var(--c-primary-pale);
}
.pl-addr { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--c-ink-2); }
.pl-addr__ico { display: inline-flex; color: var(--c-primary); }
.pl-addr__ico svg { width: 15px; height: 15px; }
.pl-addr__text { flex: 1; min-width: 0; }
.pl-addr__copy {
  flex: 0 0 auto; padding: 1px 8px; border-radius: 5px; font-size: 11px;
  color: var(--c-primary); border: 1px solid var(--c-primary-pale);
}
.pl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.pl-tag {
  padding: 3px 9px; border-radius: 5px; font-size: 11px;
  color: var(--c-ink-2); background: var(--c-bg); border: 1px solid var(--c-line);
}

/* 通用分区 */
.pl-sec { margin-top: 18px; }
.pl-sec__head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 16px 8px;
}
.pl-sec__title { display: flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--c-ink); }
.pl-sec__title::before {
  content: ''; width: 3px; height: 14px; margin-right: 7px; border-radius: 2px;
  background: linear-gradient(180deg, var(--c-gold), var(--c-primary));
}
.pl-sec__more { font-size: 12px; color: var(--c-primary); }

.pl-block { margin: 0 12px; padding: 14px 16px; border-radius: 14px; }
.pl-rich { font-size: 14px; line-height: 1.85; color: var(--c-ink-2); word-break: break-word; }
.pl-rich strong, .pl-rich b { color: var(--c-ink); font-weight: 600; }
.pl-rich img { max-width: 100%; border-radius: 10px; }

.pl-rows { padding: 2px 16px; }
.pl-row { display: flex; gap: 12px; padding: 12px 0; font-size: 14px; border-bottom: 1px solid var(--c-line); }
.pl-row:last-child { border-bottom: none; }
.pl-row__l { flex: 0 0 82px; color: var(--c-ink-3); }
.pl-row__v { flex: 1; color: var(--c-ink); word-break: break-all; }
.pl-row__v.is-tel { color: var(--c-primary); font-weight: 600; }

/* 视频 / 视频号 */
.pl-video { padding: 12px 12px 14px; }
.pl-video video { width: 100%; border-radius: 10px; display: block; background: #000; }
.pl-video__poster {
  position: relative; height: 170px; border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: #fff;
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(200, 169, 106, .35), transparent 60%),
    linear-gradient(150deg, var(--c-primary-deep), var(--c-primary) 55%, var(--c-primary-soft));
}
.pl-video__play {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; padding-left: 3px;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .5);
}
.pl-video__title { font-size: 13px; letter-spacing: 1px; opacity: .92; }
.pl-video__btn {
  width: 100%; height: 40px; margin-top: 10px; border: none; border-radius: 999px;
  font-size: 13.5px; color: var(--c-primary); background: var(--c-primary-pale);
}

/* 地图 */
.pl-map { padding: 0; overflow: hidden; }
.pl-map__stage {
  position: relative; height: 230px; overflow: hidden;
  background: #EAF2EE; cursor: grab; touch-action: none;
}
.pl-map__stage.is-drag { cursor: grabbing; }
.pl-map__canvas {
  position: absolute; inset: 0;
  transform-origin: 50% 50%;
  transition: transform .12s linear;
  will-change: transform;
}
.pl-map__stage.is-drag .pl-map__canvas { transition: none; }
.pl-map__water {
  position: absolute; left: -20%; right: -20%; top: -20%; bottom: -20%;
  background:
    radial-gradient(60% 40% at 78% 22%, rgba(62, 142, 126, .22), transparent 70%),
    radial-gradient(50% 36% at 12% 78%, rgba(62, 142, 126, .18), transparent 70%);
}
.pl-map__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(15, 107, 84, .09) 1px, transparent 1px),
    linear-gradient(rgba(15, 107, 84, .09) 1px, transparent 1px);
  background-size: 28px 28px;
}
.pl-map__road {
  position: absolute; background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 1px rgba(15, 107, 84, .08);
}
.pl-map__road.r1 { left: -10%; right: -10%; top: 44%; height: 9px; transform: rotate(-6deg); }
.pl-map__road.r2 { top: -10%; bottom: -10%; left: 30%; width: 8px; transform: rotate(4deg); }
.pl-map__road.r3 { left: -10%; right: -10%; top: 74%; height: 6px; transform: rotate(3deg); }
.pl-map__pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center;
}
.pp-dot {
  width: 16px; height: 16px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(140deg, var(--c-primary), var(--c-primary-deep));
  box-shadow: 0 3px 8px rgba(15, 107, 84, .35);
}
.pp-label {
  margin-top: 6px; padding: 2px 9px; border-radius: 6px; white-space: nowrap;
  font-size: 11.5px; color: var(--c-ink); background: #fff;
  box-shadow: 0 2px 8px rgba(15, 107, 84, .16);
}
.pl-map__tools {
  position: absolute; right: 10px; top: 10px; z-index: 3;
  display: flex; flex-direction: column; border-radius: 9px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 107, 84, .18);
}
.pl-map__tools button {
  width: 34px; height: 34px; border: none; font-size: 16px;
  color: var(--c-ink); background: rgba(255, 255, 255, .96);
}
.pl-map__tools button + button { border-top: 1px solid var(--c-line); }
.pl-map__hint {
  position: absolute; left: 10px; bottom: 10px; z-index: 3;
  padding: 2px 8px; border-radius: 999px; font-size: 10.5px;
  color: var(--c-ink-2); background: rgba(255, 255, 255, .88);
}
.pl-map__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-top: 1px solid var(--c-line);
}
.pl-map__text { flex: 1; min-width: 0; }
.pl-map__text b { display: block; font-size: 14px; font-weight: 600; color: var(--c-ink); }
.pl-map__text small {
  display: block; margin-top: 3px; font-size: 12px; color: var(--c-ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pl-map__go {
  flex: 0 0 auto; height: 34px; padding: 0 18px; border: none; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #fff;
  background: linear-gradient(140deg, var(--c-primary), var(--c-primary-soft));
  box-shadow: 0 6px 16px rgba(15, 107, 84, .24);
}

/* AI 定制线路入口 */
.pl-airoute {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 12px 0; padding: 16px;
  border-radius: 14px; color: #fff;
  background: linear-gradient(120deg, var(--c-primary-deep), var(--c-primary));
  box-shadow: 0 10px 26px rgba(15, 107, 84, .24);
}
.par-star { font-size: 19px; color: var(--c-gold-soft); }
.par-body { flex: 1; min-width: 0; }
.par-body b { display: block; font-size: 15px; font-weight: 600; }
.par-body small { display: block; margin-top: 4px; font-size: 11.5px; color: rgba(255, 255, 255, .74); }
.par-arrow { font-size: 20px; color: rgba(255, 255, 255, .8); }

/* 底部操作条 */
.pl-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px calc(10px + var(--safe-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--c-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pl-ab__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; width: 52px; border: none; background: none;
  font-size: 11px; color: var(--c-ink-3);
}
.pl-ab__item svg { width: 19px; height: 19px; color: var(--c-primary); }
.pl-actions__ghost {
  flex: 1; height: 44px; display: flex; align-items: center; justify-content: center; gap: 5px;
  border: none; border-radius: 999px; font-size: 14px;
  color: var(--c-primary); background: var(--c-primary-pale);
}
.pl-actions__ghost svg { width: 16px; height: 16px; }
.pl-actions__main {
  flex: 1.1; height: 44px; border: none; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: #fff;
  background: linear-gradient(140deg, var(--c-primary), var(--c-primary-soft));
  box-shadow: 0 8px 20px rgba(15, 107, 84, .26);
}

/* 便民导航顶部的 AI 线路入口 */
.ai-route-entry {
  display: flex; align-items: center; justify-content: flex-end; gap: 5px;
  margin: 0 4px 12px; font-size: 13px; font-weight: 600; color: var(--c-primary);
}
.are-star { font-size: 12px; color: var(--c-gold); }
.are-arrow { font-size: 15px; opacity: .6; }

/* =========================================================================
   AI 定制专属线路（route.html）
   ========================================================================= */
.ac-hero {
  margin: 14px 12px 0; padding: 20px 18px; border-radius: 16px; color: #fff;
  background: linear-gradient(125deg, var(--c-primary-deep) 0%, var(--c-primary) 58%, var(--c-primary-soft) 100%);
  box-shadow: 0 12px 30px rgba(15, 107, 84, .26);
}
.ah-star { font-size: 17px; color: var(--c-gold-soft); }
.ah-title { margin-top: 5px; font-size: 21px; font-weight: 700; letter-spacing: 1px; }
.ah-sub { margin-top: 5px; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .76); }

.ac-tabs { display: flex; gap: 8px; margin: 16px 12px 0; }
.ac-tab {
  flex: 1; height: 42px; display: flex; align-items: center; justify-content: center; gap: 4px;
  border-radius: 12px; font-size: 14px; color: var(--c-ink-2);
  background: #fff; border: 1px solid var(--c-line);
}
.ac-tab.on {
  color: #fff; font-weight: 600; border-color: transparent;
  background: linear-gradient(140deg, var(--c-primary), var(--c-primary-soft));
  box-shadow: 0 8px 20px rgba(15, 107, 84, .22);
}
.at-star { font-size: 12px; color: var(--c-gold); }
.ac-tab.on .at-star { color: var(--c-gold-soft); }

/* 表单区块 */
.ac-sec { margin: 12px 12px 0; padding: 15px 16px 4px; border-radius: 14px; }
.ac-sec__head { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; }
.as-no {
  width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
  border-radius: 5px; font-size: 11px; color: #fff;
  background: linear-gradient(140deg, var(--c-gold), var(--c-primary));
}
.as-name { font-size: 15px; font-weight: 600; color: var(--c-ink); }
.as-badge { margin-left: auto; padding: 2px 7px; border-radius: 5px; font-size: 10.5px; }
.as-badge.must { color: #B4552D; background: rgba(180, 85, 45, .1); }
.as-badge.opt { color: var(--c-ink-3); background: var(--c-bg); }

.ac-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; }
.ac-chip {
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px;
  color: var(--c-ink-2); background: var(--c-bg); border: 1px solid var(--c-line);
  transition: all .18s ease;
}
.ac-chip.on {
  color: #fff; font-weight: 600; border-color: transparent;
  background: linear-gradient(140deg, var(--c-primary), var(--c-primary-soft));
  box-shadow: 0 5px 14px rgba(15, 107, 84, .22);
}

.ac-people { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 4px 0 20px; }
.ap-step {
  width: 42px; height: 42px; border: none; border-radius: 50%; font-size: 19px;
  color: var(--c-primary); background: var(--c-primary-pale);
}
.ap-step.off { opacity: .35; }
.ap-num { display: flex; align-items: baseline; gap: 3px; }
.ap-num b { font-size: 26px; font-weight: 700; color: var(--c-ink); }
.ap-num small { font-size: 12px; color: var(--c-ink-3); }

.ac-note {
  width: 100%; height: 90px; padding: 12px 13px; box-sizing: border-box;
  border-radius: 11px; font-size: 13.5px; line-height: 1.7; resize: none;
  color: var(--c-ink); background: var(--c-bg);
  border: 1px solid var(--c-line);
  font-family: inherit;
}
.ac-note::placeholder { color: var(--c-ink-3); }
.ac-count { text-align: right; padding: 6px 2px 12px; font-size: 10.5px; color: var(--c-ink-3); }

/* 底部生成 */
.ac-genbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 14px calc(10px + var(--safe-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--c-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ac-gen {
  width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 999px; font-size: 15.5px; font-weight: 600;
  letter-spacing: 1px; color: #fff;
  background: linear-gradient(135deg, #C0503F, #A63B2A 60%, #8E2F21);
  box-shadow: 0 10px 26px rgba(166, 59, 42, .3);
}
.ac-gen span { color: var(--c-gold-soft); font-size: 14px; }
.ac-gen[disabled] { opacity: .7; }

/* 结果 */
.ac-result { margin: 12px 12px 0; padding: 17px 16px 14px; border-radius: 16px; }
.ar-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 11px; border-bottom: 1px solid var(--c-line);
}
.ar-head b { font-size: 17px; font-weight: 700; color: var(--c-ink); }
.ar-head small { font-size: 11.5px; color: var(--c-ink-3); }
.ar-body { padding: 13px 0 2px; font-size: 14px; line-height: 1.95; color: var(--c-ink-2); white-space: pre-wrap; word-break: break-word; }
.ar-tip {
  display: flex; gap: 5px; margin-top: 10px; padding: 9px 10px;
  border-radius: 9px; font-size: 11px; line-height: 1.6;
  color: var(--c-ink-3); background: var(--c-bg);
}
.ar-actions { display: flex; gap: 8px; margin-top: 15px; }
.ar-btn {
  flex: 1; height: 43px; display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 999px; font-size: 13.5px; font-family: inherit;
}
.ar-btn.ghost { color: var(--c-ink-2); background: var(--c-bg); }
.ar-btn.primary {
  color: #fff; font-weight: 600;
  background: linear-gradient(140deg, var(--c-primary), var(--c-primary-soft));
  box-shadow: 0 8px 20px rgba(15, 107, 84, .24);
}
.ac-link { margin: 16px 12px 0; text-align: center; font-size: 13px; color: var(--c-primary); }
.ac-link span { margin-left: 3px; }

/* 我的行程 */
.ac-plan { margin: 12px 12px 0; padding: 0 16px; border-radius: 14px; }
.ac-plan__head { display: flex; align-items: center; gap: 10px; padding: 15px 0; }
.ap-left { flex: 1; min-width: 0; }
.ap-left b {
  display: block; font-size: 15px; font-weight: 600; color: var(--c-ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ap-left small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--c-ink-3); }
.ap-arrow {
  flex: 0 0 auto; font-size: 18px; color: var(--c-ink-3);
  transform: rotate(90deg); transition: transform .22s ease;
}
.ap-arrow.up { transform: rotate(-90deg); }
.ac-plan__body { padding: 12px 0 15px; border-top: 1px solid var(--c-line); }
.ap-text { font-size: 13.5px; line-height: 1.9; color: var(--c-ink-2); white-space: pre-wrap; word-break: break-word; }
.ap-actions { display: flex; gap: 8px; margin-top: 13px; }
.ap-btn {
  flex: 1; height: 38px; border: none; border-radius: 999px;
  font-size: 12.5px; font-family: inherit;
  color: var(--c-primary); background: var(--c-primary-pale);
}
.ap-btn.danger { color: var(--c-danger); background: rgba(192, 80, 63, .1); }

/* 流量主广告兜底位 */
.ad-slot { display: block; margin: 4px 0; }

/* 底部导航自定义图标（后台上传的网络图） */
.tabbar-item .ti-img { width: 22px; height: 22px; display: block; object-fit: contain; }

/* ==========================================================================
   AI 数字人 · 5 种外观预设（与小程序端一致）
   ========================================================================== */
.av-live {
  position: absolute; top: 8px; right: 8px;
  padding: 1px 8px; border-radius: 10px;
  background: rgba(0,0,0,.45); color: #fff; font-size: 10px;
}

/* hero：全宽大形象 */
.avh { position: relative; border-radius: 14px; overflow: hidden; }
.avh-media { width: 100%; height: 190px; overflow: hidden; }
.avh-media video, .avh-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avh-mask {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 14px 12px;
  background: linear-gradient(180deg, rgba(10,35,28,0) 0%, rgba(10,35,28,.78) 100%);
}
.avh-mask .avh-name { display: flex; align-items: center; gap: 6px; color: #fff; font-size: 17px; font-weight: 600; }
.avh-mask .avh-greeting {
  margin-top: 4px; color: rgba(255,255,255,.92); font-size: 12.5px; line-height: 1.6;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.avh-mask .avatar-speak { margin-top: 8px; }
.avh .av-live { position: absolute; top: 10px; right: 10px; }

/* bubble：圆头像 + 问候气泡 */
.avb { display: flex; align-items: flex-start; gap: 10px; }
.avb-avatar {
  position: relative; flex: 0 0 64px; width: 64px; height: 64px;
  border-radius: 50%; overflow: hidden; border: 2px solid #fff;
  box-shadow: 0 3px 10px rgba(15,107,84,.16);
  background: linear-gradient(150deg, var(--c-primary-pale), var(--c-line));
}
.avb-avatar video, .avb-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avb-avatar .av-live { top: auto; bottom: 0; left: 0; right: 0; border-radius: 0; text-align: center; padding: 0; font-size: 9px; }
.avb-msg {
  position: relative; flex: 1; min-width: 0;
  background: #fff; border-radius: 3px 14px 14px 14px;
  padding: 10px 12px; box-shadow: 0 2px 9px rgba(15,107,84,.07);
}
.avb-msg .avb-name { display: flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; }
.avb-msg .avb-text { margin-top: 4px; font-size: 12.5px; color: var(--c-ink-2); line-height: 1.65; }
.avb-msg .avatar-speak { margin-top: 7px; }

/* compact：迷你横条 */
.avc {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 12px; background: #fff; border-radius: 13px;
  box-shadow: 0 2px 8px rgba(15,107,84,.07); text-decoration: none;
}
.avc-avatar {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(150deg, var(--c-primary-pale), var(--c-line));
}
.avc-avatar video, .avc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avc-body { flex: 1; min-width: 0; }
.avc-body .avc-name { display: flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--c-ink); }
.avc-body .avc-text {
  margin-top: 2px; font-size: 11.5px; color: var(--c-ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.avc-arrow { flex: 0 0 auto; font-size: 17px; color: var(--c-ink-3); }

/* float：悬浮圆形象 */
.avf { display: flex; flex-direction: column; align-items: center; padding: 8px 0 4px; }
.avf-ring {
  width: 104px; height: 104px; border-radius: 50%; padding: 4px; box-sizing: border-box;
  background: linear-gradient(140deg, var(--c-primary), var(--c-gold));
  box-shadow: 0 5px 15px rgba(15,107,84,.22); overflow: hidden;
}
.avf-ring video, .avf-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #fff; }
.avf-name { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 16px; font-weight: 600; color: var(--c-ink); }
.avf-greeting { margin-top: 5px; text-align: center; font-size: 12.5px; color: var(--c-ink-2); line-height: 1.65; padding: 0 10px; }
.avf .avatar-speak { margin-top: 8px; }

/* ==========================================================================
   v1.0.6 · 都江堰的故事（列表页 / 详情页）
   ========================================================================== */

.story-hero {
  position: relative;
  padding: 18px 16px 16px;
  background: linear-gradient(135deg, var(--c-primary-deep) 0%, var(--c-primary) 55%, var(--c-primary-soft) 100%);
  overflow: hidden;
}
.sh-deco {
  position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  border-radius: 50%; background: rgba(255,255,255,.07);
}
.sh-deco::after {
  content: ''; position: absolute; right: 24px; top: 46px; width: 92px; height: 92px;
  border-radius: 50%; border: 1px solid rgba(200,169,106,.35);
}
.sh-inner { position: relative; display: flex; align-items: center; }
.sh-seal {
  width: 42px; height: 42px; margin-right: 11px; border-radius: 12px; flex: 0 0 auto;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.34);
  color: #fff; font-size: 21px; display: flex; align-items: center; justify-content: center;
}
.sh-text { flex: 1; min-width: 0; }
.sh-title { font-size: 20px; font-weight: 600; color: #fff; letter-spacing: 1px; }
.sh-sub { margin-top: 3px; font-size: 12px; color: rgba(255,255,255,.78); letter-spacing: .5px; }

/* 图文卡片 */
.scard {
  display: block; margin: 0 14px 13px; border-radius: 15px; overflow: hidden;
  background: var(--c-card); color: inherit; text-decoration: none;
  box-shadow: 0 2px 10px rgba(15,107,84,.06);
}
.sc-cover { width: 100%; height: 168px; background: var(--c-primary-pale); }
.sc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-body { padding: 13px 14px 12px; }
.sc-title { font-size: 16px; font-weight: 600; color: var(--c-ink); line-height: 1.5; }
.sc-summary {
  margin-top: 6px; font-size: 13px; color: var(--c-ink-3); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sc-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--c-line);
}
.sc-date { font-size: 11.5px; color: var(--c-ink-3); }
.sc-read { font-size: 12.5px; color: var(--c-primary); }

/* 视频号海报卡片 */
.vcard {
  margin: 0 14px 13px; border-radius: 15px; overflow: hidden; cursor: pointer;
  background: var(--c-card); box-shadow: 0 2px 10px rgba(15,107,84,.06);
}
.vc-cover { position: relative; width: 100%; height: 186px; background: #0A2E25; }
.vc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc-ph { width: 100%; height: 100%; background: linear-gradient(135deg, #0A513E, #3E8E7E); }
.vc-play {
  position: absolute; left: 50%; top: 50%; width: 54px; height: 54px;
  margin: -27px 0 0 -27px; border-radius: 50%;
  background: rgba(0,0,0,.38); border: 2px solid rgba(255,255,255,.85);
}
.vc-play::after {
  content: ''; position: absolute; left: 21px; top: 16px;
  border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.vc-count {
  position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px;
  background: rgba(0,0,0,.48); color: #fff; font-size: 11.5px;
}
.vc-tag {
  position: absolute; right: 10px; top: 10px; padding: 3px 10px; border-radius: 999px;
  background: rgba(200,169,106,.92); color: #3A2C10; font-size: 11.5px; font-weight: 600;
}
.vc-body { padding: 12px 14px 13px; }
.vc-title { font-size: 15.5px; font-weight: 600; color: var(--c-ink); line-height: 1.5; }
.vc-desc {
  margin-top: 5px; font-size: 12.5px; color: var(--c-ink-3); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vc-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--c-line);
}
.vc-author { display: flex; align-items: center; font-size: 12.5px; color: var(--c-ink-2); }
.vc-author::before {
  content: ''; width: 16px; height: 16px; margin-right: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-gold), var(--c-primary-soft));
}
.vc-open { font-size: 12.5px; color: var(--c-primary); }

.notice-entry {
  display: flex; align-items: center; margin: 6px 14px 14px; padding: 13px 14px;
  border-radius: 13px; background: var(--c-card); border: 1px dashed var(--c-line);
  color: inherit; text-decoration: none;
}
.ne-ico { font-size: 17px; margin-right: 9px; }
.ne-text { flex: 1; font-size: 13px; color: var(--c-ink-2); }
.ne-arrow { color: var(--c-ink-3); font-size: 16px; }

/* 故事详情 */
.sd-cover { width: 100%; height: 210px; background: var(--c-primary-pale); }
.sd-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-body { padding: 16px 16px 26px; }
.sd-end { margin-top: 26px; text-align: center; font-size: 12px; color: var(--c-ink-3); letter-spacing: 3px; }
.sd-speak {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 13px;
  padding: 8px 17px; border-radius: 999px; border: 1px solid rgba(15,107,84,.16);
  background: var(--c-primary-pale); color: var(--c-primary);
  font-size: 13px; font-weight: 600; cursor: pointer;
}
.sd-speak.is-playing { background: var(--c-primary); color: #fff; }
.sds-ico { font-size: 14px; }

.sv-cover { position: relative; width: 100%; height: 210px; background: #0A2E25; }
.sv-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-ph { width: 100%; height: 100%; background: linear-gradient(135deg, #0A513E, #3E8E7E); }

/* ==========================================================================
   v1.0.6 · 联系我们（二维码 + 电话）
   ========================================================================== */
.ct-qr-box { text-align: center; padding: 4px 0 2px; }
.ct-qr {
  width: 190px; height: 190px; border-radius: 13px; display: inline-block;
  background: var(--c-bg); border: 1px solid var(--c-line); object-fit: contain;
}
.ct-qr--empty {
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; color: var(--c-ink-3);
}
.ct-qr-tip { margin-top: 7px; font-size: 11.5px; color: var(--c-ink-3); }

.ct-rows { margin-top: 12px; }
.ct-row {
  display: flex; align-items: center; gap: 8px; padding: 11px 12px;
  margin-bottom: 8px; border-radius: 11px; background: var(--c-bg);
}
.ct-ico { font-size: 15px; flex: 0 0 auto; }
.ct-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ct-label { font-size: 11.5px; color: var(--c-ink-3); }
.ct-value { margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--c-ink); word-break: break-all; }
.ct-btn {
  flex: 0 0 auto; padding: 6px 14px; border-radius: 999px; border: none;
  background: var(--c-primary); color: #fff; font-size: 12.5px;
  text-decoration: none; cursor: pointer;
}
.ct-btn.ghost { background: transparent; color: var(--c-primary); border: 1px solid var(--c-primary); }
.ct-tip {
  margin-top: 6px; padding: 10px 12px; border-radius: 11px;
  background: var(--c-primary-pale); color: var(--c-ink-2); font-size: 12px; line-height: 1.7;
}

/* ==========================================================================
   v1.0.6 · 意见建议表单 / 记录
   ========================================================================== */
.fb-field { margin-bottom: 12px; }
.fb-label { display: block; margin-bottom: 7px; font-size: 12.5px; font-weight: 600; color: var(--c-ink); }
.fb-label i { color: var(--c-danger); font-style: normal; }
.fb-kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.fbk {
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  background: var(--c-bg); border: 1px solid var(--c-line);
  color: var(--c-ink-2); font-size: 12.5px;
}
.fbk.on { background: var(--c-primary-pale); border-color: var(--c-primary); color: var(--c-primary); font-weight: 600; }
.fb-area {
  width: 100%; min-height: 96px; padding: 10px 12px; box-sizing: border-box;
  border-radius: 11px; border: 1px solid var(--c-line); background: var(--c-bg);
  font-size: 13px; line-height: 1.7; color: var(--c-ink); resize: vertical;
  font-family: inherit;
}
.fb-ipt {
  width: 100%; height: 40px; padding: 0 12px; box-sizing: border-box;
  border-radius: 11px; border: 1px solid var(--c-line); background: var(--c-bg);
  font-size: 13px; color: var(--c-ink);
}
.fb-note { margin-top: 4px; font-size: 11.5px; color: var(--c-ink-3); line-height: 1.6; }

.fml-item {
  padding: 12px; margin-bottom: 10px; border-radius: 12px;
  background: var(--c-bg); border: 1px solid var(--c-line);
}
.fml-head { display: flex; align-items: center; justify-content: space-between; }
.fml-type {
  padding: 2px 9px; border-radius: 6px;
  background: var(--c-primary-pale); color: var(--c-primary); font-size: 11.5px;
}
.fml-status {
  padding: 2px 9px; border-radius: 999px;
  background: #FBF5E6; color: #A8842E; font-size: 11.5px;
}
.fml-status.done { background: var(--c-primary-pale); color: var(--c-primary); }
.fml-content { margin-top: 9px; font-size: 13px; color: var(--c-ink); line-height: 1.7; word-break: break-all; }
.fml-date { margin-top: 7px; font-size: 11px; color: var(--c-ink-3); }
.fml-reply {
  margin-top: 10px; padding: 10px 11px; border-radius: 9px;
  background: var(--c-primary-pale); border-left: 3px solid var(--c-primary);
}
.fmlr-title { font-size: 12px; font-weight: 600; color: var(--c-primary); }
.fmlr-text { margin-top: 4px; font-size: 12.5px; color: var(--c-ink-2); line-height: 1.7; }

/* ===== v1.0.6 首页装修：都江堰的故事 / 意见建议 ===== */
.section-head .sh-title .sh-sub {
  margin-left: 8px;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--c-ink-3);
}

.story-rows {
  background: var(--c-card);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  padding: 4px 14px;
}
.story-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line);
}
.story-row:last-child { border-bottom: 0; }
.sr-cover {
  flex: 0 0 auto;
  width: 74px; height: 56px;
  border-radius: 9px;
  overflow: hidden;
  background: linear-gradient(135deg, #0F6B54, #3E8E7E);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
}
.sr-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-body { flex: 1; min-width: 0; }
.sr-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 14.5px; font-weight: 600; color: var(--c-ink); line-height: 1.45;
}
.sr-summary {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden; margin-top: 3px; font-size: 12px; color: var(--c-ink-3);
}
.sr-foot { margin-top: 5px; font-size: 11px; color: var(--c-ink-3); }
.sr-arrow { flex: 0 0 auto; color: var(--c-ink-3); font-size: 16px; }

.fb-entry {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  border-radius: var(--radius-m);
  background: linear-gradient(135deg, #EAF5F0, #F7FBF9);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-s);
}
.fb-entry.is-bar { padding: 11px 14px; }
.fb-ico {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  box-shadow: 0 2px 8px rgba(15, 107, 84, .10);
}
.fb-entry.is-bar .fb-ico { width: 32px; height: 32px; font-size: 15px; border-radius: 10px; }
.fb-body { flex: 1; min-width: 0; }
.fb-title { display: block; font-size: 14.5px; font-weight: 600; color: var(--c-primary-deep); line-height: 1.45; }
.fb-desc { display: block; margin-top: 3px; font-size: 12px; color: var(--c-ink-2); line-height: 1.5; }
.fb-entry.is-bar .fb-desc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-btn {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--c-primary-deep);
  color: #fff;
  font-size: 12.5px;
  white-space: nowrap;
}

/* ================== 故事页 · 视频号三列网格（与小程序一致） ================== */
.s-list { display: flex; flex-wrap: wrap; gap: 12px 8px; }
.s-list .scard { width: 100%; margin-bottom: 0; }
.vg-cell { width: calc(33.333% - 5.4px); display: flex; flex-direction: column; }
.vg-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.2;
  border-radius: 10px;
  overflow: hidden;
  background: #0A2E25;
  box-shadow: 0 2px 10px rgba(15, 107, 84, .10);
}
.vg-img { width: 100%; height: 100%; display: block; object-fit: cover; }
.vg-cover--ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #0A513E 0%, #176B54 55%, #3E8E7E 100%);
  position: relative; overflow: hidden;
}
.vg-deco {
  position: absolute; right: -22px; top: -22px;
  width: 74px; height: 74px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .18);
}
.vg-ph-txt {
  position: relative; padding: 0 8px;
  color: rgba(255, 255, 255, .94);
  font-size: 14.5px; font-weight: 700; line-height: 1.45;
  text-align: center; text-shadow: 0 1px 6px rgba(0, 0, 0, .25);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.vg-shade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 52px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.42));
}
.vg-play {
  position: absolute; left: 50%; top: 50%;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; background: rgba(0, 0, 0, .34);
  border: 1px solid rgba(255, 255, 255, .85);
}
.vg-play::after {
  content: ''; position: absolute; left: 13px; top: 9px;
  border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.vg-finder {
  position: absolute; left: 6px; bottom: 6px;
  padding: 1px 7px; border-radius: 4px;
  background: rgba(0, 0, 0, .46); color: #FFD9A0;
  font-size: 10.5px; font-weight: 600;
}
.vg-plays {
  position: absolute; right: 6px; bottom: 6px;
  color: rgba(255, 255, 255, .95); font-size: 10.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}
.vg-title {
  margin-top: 5px; font-size: 12.5px; color: var(--c-ink); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
