/* 畅游芮城 · 手机端页面样式 */
:root { --tabbar-h: 68px; }

.h5-shell { min-height: 100vh; max-width: 100%; overflow-x: clip; }
/* 底部只留正常间距；固定操作条 / 迷你播放器出现时才按需让位，避免每页都空一大片 */
#view { min-height: 100vh; max-width: 100%; overflow-x: clip;
  padding-bottom: calc(20px + var(--safe-bottom)); }
#view.no-tab { padding-bottom: calc(20px + var(--safe-bottom)); }
body.has-action-bar #view { padding-bottom: calc(82px + var(--safe-bottom)); }
body.rc-has-track #view { padding-bottom: calc(90px + var(--safe-bottom)); }
.page { max-width: 100%; overflow-x: clip; }
.page { animation: pageIn .28s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 顶部条 */
.topbar { position: sticky; top: 0; z-index: 120; height: calc(54px + var(--safe-top));
  padding: var(--safe-top) 14px 0; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-200); box-shadow: 0 2px 12px rgba(90,46,27,.05); }
.topbar.solid { background: #fff; }
.topbar .tb-title { font-size: 16px; font-weight: 700; flex: 1; min-width: 0; }
.topbar .tb-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ink-800); flex: none; }
.topbar .tb-btn:hover { background: var(--ink-100); }
/* 所有内页的返回按钮：明确的圆形实底，手机上好点 */
.topbar .tb-btn[data-back] { background: var(--brand-50); color: var(--brand-800);
  border: 1px solid var(--brand-100); }
.topbar .tb-btn[data-back]:active { background: var(--brand-100); }
.topbar.on-hero { position: absolute; left: 0; right: 0;
  background: rgba(255,255,255,.94); color: var(--ink-900); }
.topbar.on-hero .tb-btn { background: rgba(255,255,255,.9); color: var(--ink-800);
  box-shadow: 0 2px 8px rgba(38,22,14,.14); }

/* 底部导航 */
.tabbar { position: fixed; z-index: 700; left: 0; right: 0; bottom: 0;
  height: calc(var(--tabbar-h) + var(--safe-bottom)); padding-bottom: var(--safe-bottom);
  display: flex; align-items: stretch; background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
  border-top: 1px solid var(--ink-100); box-shadow: 0 -4px 20px rgba(90,46,27,.06); }
.tabbar.hide { display: none; }
.tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--ink-500); font-size: 10.5px; position: relative; }
.tab-item .icon { transition: transform .2s; }
.tab-item.active { color: var(--brand-600); font-weight: 700; }
.tab-item.active .icon { transform: translateY(-2px); }
.tab-item.active::before { content: ''; position: absolute; top: 0; width: 22px; height: 3px;
  border-radius: 0 0 4px 4px; background: var(--brand-500); }

/* 首页 */
.hero { position: relative; height: 300px; overflow: hidden; border-radius: 0 0 30px 30px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(59,42,32,.55) 0%, rgba(59,42,32,.12) 38%, rgba(59,42,32,.82) 100%); }
.hero-inner { position: relative; z-index: 2; height: 100%; padding: calc(70px + var(--safe-top)) 20px 22px;
  display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.hero-brand { display: flex; align-items: center; gap: 10px; }
.hero-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.hero-brand h1 { font-family: var(--serif); font-size: 22px; letter-spacing: 3px; font-weight: 700; }
.hero-brand small { display: block; font-size: 10.5px; letter-spacing: 2px; opacity: .8; }
.hero-copy h2 { font-family: var(--serif); font-size: 27px; letter-spacing: 2px; line-height: 1.35; }
.hero-copy p { font-size: 12px; opacity: .82; margin-top: 6px; letter-spacing: .5px; }
.hero-search { margin: -22px 18px 0; position: relative; z-index: 5; height: 50px; border-radius: 16px;
  background: #fff; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
  padding: 0 14px; color: var(--ink-500); font-size: 13.5px; }
.hero-search .icon { color: var(--brand-600); }
.hero-search .search-go { margin-left: auto; background: var(--brand-600); color: #fff;
  padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; }

.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 22px 16px 4px; }
.quick-item { display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 12px;
  color: var(--ink-700); font-weight: 600; }
.quick-ico { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center;
  color: #fff; box-shadow: 0 8px 20px rgba(90,46,27,.14); transition: transform .2s; }
.quick-item:active .quick-ico { transform: scale(.93); }
.quick-ico.c1 { background: linear-gradient(140deg, #c2703c, #8a4a28); }
.quick-ico.c2 { background: linear-gradient(140deg, #d4a24c, #b8862f); }
.quick-ico.c3 { background: linear-gradient(140deg, #4d9ccf, #2d6fa5); }
.quick-ico.c4 { background: linear-gradient(140deg, #f19b7a, #e06e57); }

.section { padding: 22px 16px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.section-head h3 { font-size: 17px; font-weight: 700; font-family: var(--serif); letter-spacing: 1px; }
.section-head h3::before { content: ''; display: inline-block; width: 4px; height: 15px; border-radius: 3px;
  background: var(--gold-500); margin-right: 9px; vertical-align: -2px; }
.section-head a { font-size: 12px; color: var(--ink-500); display: flex; align-items: center; gap: 2px; }

.h-scroll { display: flex; gap: 12px; overflow-x: auto; padding: 2px 0 8px; max-width: 100%;
  scroll-snap-type: x mandatory; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-card { flex: none; width: 216px; scroll-snap-align: start; background: #fff; border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow-xs); }
.h-card-img { height: 132px; position: relative; }
.h-card-img img { width: 100%; height: 100%; object-fit: cover; }
.h-card-img::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(59,42,32,.65)); }
.h-card-grade { position: absolute; z-index: 2; left: 10px; top: 10px; background: rgba(255,255,255,.92);
  color: var(--brand-800); font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.h-card-body { padding: 11px 13px 13px; }
.h-card-body b { font-size: 15px; font-family: var(--serif); letter-spacing: .5px; }
.h-card-meta { display: flex; gap: 10px; font-size: 11px; color: var(--ink-500); margin-top: 7px; }

.v-list { display: flex; flex-direction: column; gap: 12px; }
.v-card { display: flex; gap: 13px; padding: 12px; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-xs); }
.v-card-img { width: 116px; height: 92px; flex: none; border-radius: 13px; overflow: hidden; background: var(--ink-100); }
.v-card-img img { width: 100%; height: 100%; object-fit: cover; }
.v-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v-card-body h4 { font-size: 15px; font-weight: 700; font-family: var(--serif); letter-spacing: .5px; }
.v-card-tags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.v-card-meta { margin-top: auto; font-size: 11px; color: var(--ink-500); display: flex; gap: 10px; flex-wrap: wrap; }
.v-card-meta span { display: inline-flex; align-items: center; gap: 3px; }

.brand-foot { display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--ink-400); font-size: 11px; padding: 6px 0 0; letter-spacing: 1px; }
.brand-foot::before, .brand-foot::after { content: ''; width: 28px; height: 1px; background: var(--ink-200); }

/* 通用搜索条 */
.search-bar { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 14px;
  background: #fff; box-shadow: var(--shadow-xs); color: var(--ink-500); }
.search-bar input { flex: 1; border: 0; outline: none; background: transparent; font-size: 14px; min-width: 0; }
.search-bar .btn { height: 34px; padding: 0 16px; }

/* 详情页 */
.detail-hero { position: relative; height: 280px; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(59,42,32,.35), transparent 35%, rgba(59,42,32,.72)); }
.detail-hero .hero-caption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; color: #fff; }
.detail-hero .hero-caption h2 { font-family: var(--serif); font-size: 26px; letter-spacing: 2px; }
.detail-hero .hero-caption p { font-size: 12px; opacity: .85; margin-top: 4px; }
.detail-body { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.info-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.info-pill { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
  background: #fff; border-radius: 12px; font-size: 12px; color: var(--ink-700); box-shadow: var(--shadow-xs); }
.info-pill .icon { color: var(--brand-600); }
.panel { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-xs); }
.panel-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700;
  font-family: var(--serif); margin-bottom: 12px; }
.panel-title .icon { color: var(--gold-600); }
.panel p.text { font-size: 13.5px; line-height: 1.9; color: var(--ink-700); white-space: pre-line; }
.panel p.text.collapsed { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { color: var(--brand-600); font-size: 12.5px; font-weight: 600; margin-top: 8px; }

.audio-cta { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius);
  background: linear-gradient(120deg, #8a4a28, #c2703c); color: #fff; box-shadow: 0 12px 26px rgba(138,74,40,.24); }
.audio-cta .disc { width: 52px; height: 52px; border-radius: 50%; border: 4px solid rgba(255,255,255,.25);
  overflow: hidden; flex: none; background: rgba(255,255,255,.15); }
.audio-cta .disc img { width: 100%; height: 100%; object-fit: cover; }
.audio-cta .txt { flex: 1; min-width: 0; }
.audio-cta .txt b { font-size: 14.5px; display: block; }
.audio-cta .txt small { font-size: 11.5px; opacity: .82; }
.audio-cta .play { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.2);
  display: grid; place-items: center; flex: none; }

.spot-row { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--ink-100); }
.spot-row:first-child { border-top: 0; }
.spot-row img { width: 62px; height: 62px; border-radius: 12px; object-fit: cover; flex: none; }
.spot-row .grow b { font-size: 14px; }
.spot-row .grow small { display: block; font-size: 11.5px; color: var(--ink-500); margin-top: 3px; }
.spot-row .row-ico { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-50);
  color: var(--brand-600); display: grid; place-items: center; flex: none; }

.action-bar { position: fixed; z-index: 690; left: 0; right: 0;
  bottom: calc(var(--tabbar-h) + var(--safe-bottom)); display: flex; gap: 10px; padding: 10px 16px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--ink-100); }
.action-bar .btn { flex: 1; }

/* 分类 chips */
.chip-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px; scrollbar-width: none; }
.chip-scroll::-webkit-scrollbar { display: none; }
.cat-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  background: #fff; border: 1px solid var(--ink-200); font-size: 12.5px; white-space: nowrap; color: var(--ink-700);
  flex: none; flex-shrink: 0; min-width: 0; max-width: 180px; }
/* 带图标的分类：图标固定不压缩，文字单独收敛，避免把文字挤出圆角框 */
.cat-chip img { width: 16px; height: 16px; max-width: 16px; min-width: 16px; flex: none; object-fit: contain; }
.cat-chip > svg { flex: none; }
.cat-chip > span { min-width: 0; max-width: 120px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.cat-chip.on { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }

/* 地图页 */
.map-page { position: fixed; inset: 0; max-width: 480px; margin: 0 auto;
  z-index: 100; background: var(--ink-100); }
.map-canvas { position: absolute; inset: 0; }
/* 高分辨率 marker 图（108x126 / 396x174）确保按框完整缩放，不出现裁切或溢出 */
.map-canvas img[src*="/marker/"] { object-fit: contain; }
/* 内页最上方的返回按钮栏：白底整条，滚动/地图缩放时都固定可点 */
.map-navbar { position: absolute; z-index: 210; top: 0; left: 0; right: 0; height: 54px;
  padding: 0 12px; display: flex; align-items: center; gap: 10px; background: #fff;
  border-bottom: 1px solid var(--ink-200); box-shadow: 0 2px 12px rgba(90,46,27,.07); }
/* 返回只保留图标，与其它内页一致 */
.map-nav-back { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; flex: none; background: var(--brand-50);
  color: var(--brand-800); border: 1px solid var(--brand-100); }
.map-nav-back:active { background: var(--brand-100); }
/* 景区名称以整条栏为准居中，左右按钮不占它的宽度 */
.map-nav-title { position: absolute; left: 60px; right: 60px; text-align: center;
  min-width: 0; font-size: 15px; font-weight: 700; color: var(--ink-900); pointer-events: none; }
.map-nav-entry { position: relative; z-index: 1; margin-left: auto; flex: none;
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--brand-700); }
.map-top { position: absolute; z-index: 200; left: 12px; right: 12px;
  top: 64px; display: flex; gap: 9px; align-items: center; }
.map-top .map-back { width: 42px; height: 42px; border-radius: 14px; background: #fff; display: grid;
  place-items: center; box-shadow: var(--shadow-sm); flex: none; }
.map-top .map-entry { height: 42px; padding: 0 11px; border-radius: 14px; background: #fff;
  display: flex; align-items: center; gap: 4px; box-shadow: var(--shadow-sm); flex: none;
  font-size: 12px; font-weight: 600; color: var(--brand-800); }
.map-top .map-entry.accent { background: var(--brand-600); color: #fff; }
.map-top .map-entry span { white-space: nowrap; }
.scenic-pick { padding: 8px 16px 18px; max-height: 60vh; overflow-y: auto; }
.scenic-pick-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px;
  border-radius: 14px; font-size: 13.5px; color: var(--ink-800); text-align: left; }
.scenic-pick-item.on { background: var(--brand-50); color: var(--brand-700); font-weight: 700; }
.scenic-pick-item img { width: 52px; height: 52px; border-radius: 11px; object-fit: cover; flex: none; }
.map-search { flex: 1; height: 42px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 8px; padding: 0 13px; font-size: 13px; color: var(--ink-500); }
.map-search .grow { font-weight: 600; color: var(--ink-800); }
.map-cats { position: absolute; z-index: 190; left: 0; right: 0; top: 116px; }
.map-tools { position: absolute; z-index: 190; right: 12px; bottom: 112px;
  display: flex; flex-direction: column; gap: 9px; }
.map-tool { width: 42px; height: 42px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm);
  display: grid; place-items: center; color: var(--brand-700); }
.map-tool.on { background: var(--brand-600); color: #fff; }
.poi-sheet { position: absolute; z-index: 120; left: 0; right: 0; bottom: 0;
  padding: 14px 16px calc(16px + var(--safe-bottom)); background: #fff;
  border-radius: 24px 24px 0 0; box-shadow: 0 -14px 40px rgba(90,46,27,.18);
  transform: translateY(101%); transition: transform .3s cubic-bezier(.22,.8,.3,1); }
.poi-sheet.show { transform: none; }
.poi-sheet .handle { width: 38px; height: 4px; border-radius: 4px; background: var(--ink-300); margin: 0 auto 12px; }
.poi-sheet-head { display: flex; gap: 12px; }
.poi-sheet-head img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; flex: none; }
.poi-sheet-head h3 { font-size: 17px; font-family: var(--serif); }
.poi-sheet-head .tag { margin-top: 5px; }
.poi-sheet-head p { font-size: 12px; color: var(--ink-600); margin-top: 6px; line-height: 1.6; }
.poi-sheet-actions { display: flex; gap: 8px; margin-top: 14px; }
.poi-sheet-actions .btn { flex: 1; height: 42px; }

.map-fallback { position: absolute; inset: 0; z-index: 105; background: var(--page); overflow-y: auto;
  padding: 168px 16px 130px; }
.map-fallback .tip { background: var(--gold-100); color: var(--gold-600); border-radius: 14px;
  padding: 12px 14px; font-size: 12.5px; margin-bottom: 14px; display: flex; gap: 8px; }

/* 语音导览 */
.topbar-entry { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px;
  border-radius: 999px; background: var(--brand-50); color: var(--brand-700);
  font-size: 12px; font-weight: 600; flex: none; white-space: nowrap; }

.audio-hero { margin: 16px; border-radius: 24px; padding: 20px 18px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(125deg, #5a2e1b, #b5653a 58%, #d6a24a 150%);
  box-shadow: 0 14px 30px rgba(90,46,27,.22); }
.audio-hero::after { content: ''; position: absolute; right: -40px; top: -50px; width: 190px; height: 190px;
  border-radius: 50%; border: 24px solid rgba(255,255,255,.07); }
.audio-hero-wave { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 3px;
  align-items: flex-end; height: 26px; opacity: .28; }
.audio-hero-wave i { width: 3px; border-radius: 3px; background: #fff; height: 8px;
  animation: wave 1.2s ease-in-out infinite; }
@keyframes wave { 0%,100% { height: 6px; } 50% { height: 24px; } }
.audio-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }
.audio-hero-inner .grow { min-width: 0; }
.audio-hero h2 { font-family: var(--serif); font-size: 21px; letter-spacing: 1px; }
.audio-hero p { font-size: 12px; opacity: .86; margin-top: 4px; }
.audio-hero-play { flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; color: #fff; }
.audio-hero-play-ico { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--brand-700);
  box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 8px 22px rgba(60,25,10,.32); }
.audio-hero-play:active .audio-hero-play-ico { transform: scale(.94); }

.audio-scenic { display: flex; gap: 13px; padding: 14px; margin: 0 16px 12px; border-radius: 20px;
  background: #fff; box-shadow: var(--shadow-xs); }
.audio-scenic > img { width: 118px; height: 96px; border-radius: 14px; object-fit: cover; flex: none; }
.audio-scenic .grow { min-width: 0; flex: 1; }
.audio-scenic .grow h3 { font-size: 16px; font-family: var(--serif); }
.audio-scenic .meta { font-size: 11px; color: var(--ink-500); margin-top: 6px; line-height: 1.7; }
.audio-scenic .bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.audio-play-btn { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px;
  border-radius: 999px; background: var(--brand-600); color: #fff; font-size: 12px;
  font-weight: 700; flex: none; box-shadow: 0 4px 12px rgba(181,101,58,.28); white-space: nowrap; }
.audio-play-btn.sm { padding: 6px 11px; font-size: 11.5px; margin-top: 7px; }
.audio-play-btn:active { transform: scale(.96); }

.audio-detail-hero { position: relative; height: 250px; }
.audio-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.audio-detail-hero::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(59,42,32,.25), rgba(59,42,32,.05) 45%, var(--page)); }
.audio-detail-title { text-align: center; margin-top: -34px; position: relative; z-index: 2; }
.audio-detail-title .deco { display: flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--serif); font-size: 22px; font-weight: 700; }
.audio-detail-title .deco::before, .audio-detail-title .deco::after { content: ''; width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500)); }
.audio-detail-title .deco::after { background: linear-gradient(90deg, var(--gold-500), transparent); }
.audio-detail-intro { margin: 14px 16px; padding: 16px; background: #fff; border-radius: 18px;
  font-size: 13px; line-height: 1.95; color: var(--ink-700); white-space: pre-line; box-shadow: var(--shadow-xs); }
.audio-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px; }
.audio-tile { position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-xs); }
.audio-tile img { width: 100%; height: 118px; object-fit: cover; }
.audio-tile .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(59,42,32,.72)); }
.audio-tile .tile-play { position: absolute; z-index: 2; left: 50%; top: 42%; transform: translate(-50%,-50%);
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--brand-700);
  display: grid; place-items: center; }
.audio-tile .tile-name { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 9px;
  color: #fff; font-size: 12.5px; font-weight: 600; }
.track-row { display: flex; align-items: center; gap: 12px; padding: 12px; margin: 0 16px 10px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-xs); }
.track-row .num { width: 28px; text-align: center; color: var(--ink-400); font-size: 12px; flex: none; }
.track-row.on { background: var(--brand-50); }
.track-row.on .num { color: var(--brand-600); }
.track-row img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; }
.track-row .grow b { font-size: 13.5px; }
.track-row .grow small { display: block; font-size: 11px; color: var(--ink-500); margin-top: 2px; }

/* 路线 */
.route-card { display: flex; gap: 12px; padding: 12px; margin: 0 16px 12px; background: #fff;
  border-radius: 18px; box-shadow: var(--shadow-xs); }
.route-card.on { box-shadow: 0 0 0 2px var(--brand-500), var(--shadow-sm); }
.route-card img { width: 92px; height: 92px; border-radius: 13px; object-fit: cover; flex: none; }
.route-card h3 { font-size: 15px; font-weight: 700; }
.route-card .meta { font-size: 11.5px; color: var(--ink-500); margin-top: 7px; display: flex; gap: 10px; flex-wrap: wrap; }
.route-map { height: 300px; border-radius: 18px; overflow: hidden; margin: 0 16px 14px; box-shadow: var(--shadow-xs); }
.route-steps { display: flex; gap: 10px; overflow-x: auto; padding: 4px 16px 14px; scrollbar-width: none; }
.route-step { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px;
  background: #fff; font-size: 12.5px; box-shadow: var(--shadow-xs); }
.route-step.on { background: var(--brand-600); color: #fff; }
.route-step .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.route-step.on .dot { background: rgba(255,255,255,.25); color: #fff; }

/* 搜索 */
.hot-words { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; }
.hot-words .chip { cursor: pointer; }
.result-group { padding: 0 16px 16px; }
.result-group h3 { font-size: 13px; color: var(--ink-500); font-weight: 600; margin: 16px 0 10px; }

/* 问题上报 / 我的 */
.report-types { display: flex; flex-wrap: wrap; gap: 9px; padding: 4px 0; }
.report-done { text-align: center; padding: 60px 24px; }
.report-done .icon { color: var(--brand-500); margin-bottom: 14px; }
.report-done h3 { font-size: 18px; margin-bottom: 8px; }
.report-done p { color: var(--ink-500); font-size: 13px; }

.mine-hero { margin: 16px; padding: 22px; border-radius: 22px; color: #fff;
  background: linear-gradient(125deg, #5a2e1b, #c2703c); display: flex; align-items: center; gap: 14px; }
.mine-hero .avatar { width: 58px; height: 58px; border-radius: 18px; background: rgba(255,255,255,.16);
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); }
.mine-hero h2 { font-family: var(--serif); font-size: 19px; letter-spacing: 1px; }
.mine-hero p { font-size: 11.5px; opacity: .8; margin-top: 3px; }
.setting-group { margin: 0 16px 16px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-xs); }
.setting-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--ink-100); }
.setting-row:last-child { border-bottom: 0; }
.setting-row > .icon { color: var(--brand-600); }
.setting-row .grow { font-size: 13.5px; }
.setting-row small { color: var(--ink-500); font-size: 11.5px; }

/* ---------- 景区选择列表（地图导览落地页） ---------- */
.scenic-hero { position: relative; margin: 16px 16px 0; border-radius: 24px;
  padding: 20px 18px 30px; color: #fff; overflow: hidden;
  background: linear-gradient(125deg, #5a2e1b, #b5653a 58%, #d6a24a 150%);
  box-shadow: 0 14px 28px rgba(90,46,27,.2); }
.scenic-hero::after { content: ''; position: absolute; right: -34px; top: -44px;
  width: 170px; height: 170px; border-radius: 50%; border: 22px solid rgba(255,255,255,.07); }
.scenic-hero h2 { font-family: var(--serif); font-size: 21px; letter-spacing: 1px;
  position: relative; z-index: 1; }
.scenic-hero p { font-size: 12px; opacity: .88; margin-top: 5px; position: relative; z-index: 1; }
.scenic-hero-ico { position: absolute; right: 18px; top: 20px; width: 48px; height: 48px;
  border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.16); }
.search-bar.floating { margin: -20px 16px 0; position: relative; z-index: 5;
  box-shadow: 0 10px 24px rgba(90,46,27,.12); }
.map-back { width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--ink-800); background: #fff;
  box-shadow: 0 4px 12px rgba(38,22,14,.16); }
.scenic-list-head { padding: 18px 18px 10px; }
.scenic-list-head h2 { font-family: var(--serif); font-size: 24px; font-weight: 700; letter-spacing: 1px; }
.scenic-list-head p { font-size: 12px; color: var(--ink-500); margin-top: 5px; }
.scenic-card { position: relative; margin: 0 16px 14px; height: 196px; border-radius: 22px;
  overflow: hidden; background: var(--ink-200); box-shadow: var(--shadow-sm);
  transition: transform .2s ease; }
.scenic-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scenic-card-shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(40,22,12,.06) 0%, rgba(40,22,12,.12) 38%, rgba(38,22,14,.86) 100%); }
.scenic-card-top { position: absolute; top: 12px; left: 12px; right: 12px;
  display: flex; align-items: center; gap: 6px; }
.scenic-card-flag { padding: 4px 10px; border-radius: 999px; font-size: 10.5px;
  font-weight: 700; color: #fff; background: var(--brand-600); }
.scenic-card-flag.ghost { background: rgba(255,255,255,.24); }
.scenic-card-grade { margin-left: auto; padding: 4px 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; color: var(--brand-800); background: var(--gold-300); }
.scenic-card-body { position: absolute; left: 16px; right: 16px; bottom: 14px; color: #fff; }
.scenic-card-body h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.scenic-card-body p { font-size: 11.5px; opacity: .85; margin-top: 4px; }
.scenic-card-actions { display: flex; gap: 8px; margin-top: 12px; }
.scenic-card-main { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px;
  border-radius: 999px; background: #fff; color: var(--brand-800);
  font-size: 12.5px; font-weight: 700; box-shadow: 0 5px 14px rgba(38,22,14,.22); }
.scenic-card-side { display: inline-flex; align-items: center; gap: 5px; padding: 9px 12px;
  border-radius: 999px; background: rgba(255,255,255,.18); color: #fff;
  border: 1px solid rgba(255,255,255,.38); font-size: 12px; font-weight: 600; }
.scenic-card:active { transform: scale(.995); }

/* ---------- 细节增强 ---------- */
body { background: linear-gradient(180deg, #fdfaf5 0%, var(--page) 280px); }
.audio-detail-play { box-shadow: 0 8px 20px rgba(181,101,58,.28); font-size: 14px; }
.section-head h3::before { background: linear-gradient(180deg, var(--gold-500), var(--brand-600)); }
.v-card, .audio-scenic, .php-voice, .panel { transition: transform .2s ease, box-shadow .2s ease; }
.v-card:active, .audio-scenic:active { transform: scale(.995); box-shadow: var(--shadow-sm); }

/* ---------- 原 PHP 智慧旅游「电子语音讲解」 ---------- */
.php-voice { display: flex; align-items: center; gap: 12px; margin: 0 16px 10px; padding: 10px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-xs); }
.php-voice > img { width: 74px; height: 74px; border-radius: 13px; object-fit: cover;
  flex: none; background: var(--ink-100); }
.php-voice .grow { min-width: 0; flex: 1; }
.php-voice h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 5px; }
.php-voice .meta { display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: var(--ink-500); margin-bottom: 4px; }
.php-voice .meta .badge { font-size: 10px; padding: 2px 8px; }
.php-voice p { line-height: 1.5; margin: 0; }
.play-mini { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  flex: none; color: #fff; background: linear-gradient(140deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 6px 14px rgba(194,112,60,.28); }
.play-mini:active { transform: scale(.94); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 6px;
  border-bottom: 1px solid var(--ink-100); }
.sheet-head h3 { font-family: var(--serif); font-size: 17px; font-weight: 700; }
.sheet-head button { color: var(--ink-500); }
.voice-detail { padding: 12px 18px 8px; max-height: 70vh; overflow-y: auto; }
.voice-detail > img { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; }
.voice-detail .info-strip { margin-top: 14px; }
.voice-detail-meta { font-size: 12.5px; color: var(--ink-600); line-height: 1.9; margin-top: 10px; }
.voice-detail-text { font-size: 13.5px; line-height: 1.95; color: var(--ink-700);
  margin: 14px 0 18px; white-space: pre-wrap; }
.related-voice { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand-800); font-size: 12.5px; margin-bottom: 8px; }

@media (min-width: 720px) {
  #view, .map-page, .tabbar, .action-bar, .poi-sheet { max-width: 480px; margin-left: auto; margin-right: auto; }
  .map-page { left: 0; right: 0; }
  .poi-sheet { position: absolute; }
  .tabbar { border-radius: 20px 20px 0 0; }
  body { background: #f5efe7; }
  .h5-shell { max-width: 480px; margin: 0 auto; background: var(--page); box-shadow: 0 0 60px rgba(90,46,27,.12); min-height: 100vh; }
}
