/* ===== 甘证普惠 · 甘肃文旅地图 一期前端原型（Stitch UI 重构版） ===== */
/* 设计体系：stitch gansu_inclusive_cultural_map / DESIGN.md（现代金融新丝路 heritage）
   品类主色：文旅=丹霞红 / 风景=莫高绿 / 特产=丝绸金 */
:root {
  --c-culture: #C8412B;
  --c-scenery: #3A8C7A;
  --c-specialty: #C8963E;
  --c-culture-bg: #FDF3F1;
  --c-scenery-bg: #EDF6F4;
  --c-specialty-bg: #FAF5EC;
  --c-bg: #FAF8F4;          /* 宣纸底色 */
  --c-bg2: #EFEBE2;
  --c-card: #FFFFFF;
  --c-text: #2B2B2B;        /* 墨 */
  --c-sub: #636363;
  --c-sub2: #8A8A8A;
  --c-line: #E8E2D6;        /* 丝绸缝线 */
  --c-hero: #C8412B;
  --c-hero-deep: #B33722;
  --c-tertiary-text: #946810;
  --shadow-1: 0 2px 8px rgba(43, 43, 43, .04);   /* Level 1 卡片 */
  --shadow-2: 0 -4px 16px rgba(43, 43, 43, .08); /* Level 2 抽屉/浮控件 */
  --shadow-3: 0 8px 24px rgba(43, 43, 43, .14);  /* Level 3 弹层 */
  --font-body: "Noto Sans SC", -apple-system, "PingFang SC", "Helvetica Neue", sans-serif;
  --font-head: "Noto Serif SC", "Songti SC", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  background: #e8e4dc; color: var(--c-text); font-size: 14px;
}

/* Material Symbols 图标 */
.ms {
  font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal;
  font-size: 20px; line-height: 1; display: inline-block; white-space: nowrap;
  text-transform: none; letter-spacing: normal; word-wrap: normal; direction: ltr;
  -webkit-font-smoothing: antialiased; font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.ms.fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

/* 手机容器：桌面浏览器居中显示，移动端全屏 */
#app {
  max-width: 420px; height: 100vh; margin: 0 auto;
  background: var(--c-bg); position: relative; overflow: hidden;
  box-shadow: 0 0 24px rgba(0, 0, 0, .12);
  display: flex; flex-direction: column;
}

/* ---------- 顶栏（丹霞红渐变） ---------- */
.topbar {
  height: 52px; flex: none; display: flex; align-items: center;
  background: linear-gradient(180deg, #D44730 0%, #C8412B 100%);
  box-shadow: 0 4px 16px rgba(200, 65, 43, .18);
  padding: 0 6px; position: relative; z-index: 20; color: #fff;
}
.topbar .tb-btn {
  width: 40px; height: 40px; border: none; background: none; color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.topbar .tb-btn:active { opacity: .75; }
.topbar .title {
  flex: 1; text-align: center; font-family: var(--font-head);
  font-size: 17px; font-weight: 600; letter-spacing: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Toast（下三分之一处，墨黑胶囊，1.8s） ---------- */
.toast {
  position: fixed; left: 50%; bottom: 120px; transform: translateX(-50%) translateY(20px);
  background: rgba(43, 43, 43, .88); color: #fff; padding: 8px 16px; border-radius: 18px;
  font-size: 13px; opacity: 0; transition: all .25s; pointer-events: none; z-index: 99;
  max-width: 80%; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 搜索栏（白色胶囊） ---------- */
.searchbar { flex: none; padding: 10px 12px 6px; background: var(--c-bg); }
.search-capsule {
  display: flex; align-items: center; gap: 8px;
  background: var(--c-card); border-radius: 999px; padding: 8px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.search-capsule .ic-search { color: var(--c-specialty); font-size: 20px; flex: none; }
.search-capsule input {
  flex: 1; min-width: 0; border: none; outline: none; background: none;
  font-size: 14px; color: var(--c-text); font-family: var(--font-body);
}
.search-capsule input::placeholder { color: var(--c-sub2); }
.search-capsule .divider { width: 1px; height: 16px; background: var(--c-line); flex: none; }
.search-capsule .fav-entry {
  border: none; background: none; cursor: pointer; color: var(--c-specialty);
  display: flex; align-items: center; padding: 0;
}
.search-capsule .fav-entry:active { transform: scale(.92); }

/* ---------- 筛选区 ---------- */
.filterbar { flex: none; padding: 2px 12px 8px; background: var(--c-bg); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 500;
  background: var(--c-card); color: var(--c-sub); border: 1px solid var(--c-line);
  cursor: pointer; font-family: var(--font-body);
}
.chip .ms { font-size: 16px; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.chip.on-culture   { background: var(--c-culture);   color: #fff; border-color: transparent; }
.chip.on-scenery   { background: var(--c-scenery);   color: #fff; border-color: transparent; }
.chip.on-specialty { background: var(--c-specialty); color: #fff; border-color: transparent; }
/* 市州滑轨 */
.city-rail { display: flex; gap: 6px; align-items: center; overflow-x: auto; scrollbar-width: none; margin-top: 6px; }
.city-rail::-webkit-scrollbar { display: none; }
.city-rail .rail-label { flex: none; font-size: 11px; color: var(--c-sub2); }
.city-pill {
  flex: none; padding: 4px 10px; border-radius: 999px; font-size: 11px;
  background: var(--c-card); color: var(--c-sub); border: none; cursor: pointer;
  font-family: var(--font-body);
}
.city-pill.on { background: var(--c-culture-bg); color: var(--c-culture); font-weight: 600; }
/* 已选回显条 */
.echo-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: rgba(239, 235, 226, .8); border-radius: 10px; padding: 5px 10px; margin-top: 6px;
}
.echo-bar .echo-tags { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.echo-bar .echo-tags::-webkit-scrollbar { display: none; }
.echo-tag {
  flex: none; display: inline-flex; align-items: center; gap: 2px;
  font-size: 10px; font-weight: 500; color: #fff; padding: 2px 8px; border-radius: 999px; cursor: pointer;
}
.echo-tag .ms { font-size: 12px; }
.echo-tag.t-culture   { background: var(--c-culture); }
.echo-tag.t-scenery   { background: var(--c-scenery); }
.echo-tag.t-specialty { background: var(--c-specialty); }
.echo-tag.t-city      { background: var(--c-culture-bg); color: var(--c-culture); }
.echo-tag.t-kw        { background: var(--c-sub); }
.echo-clear {
  flex: none; border: none; background: none; font-size: 11px; color: var(--c-sub2);
  cursor: pointer; font-family: var(--font-body);
}
.echo-clear:active { color: var(--c-culture); }

/* ---------- 地图区（伪地图：经纬度线性投影，交互逻辑同 PRD FR-03） ---------- */
.map-wrap {
  flex: none; height: 35vh; min-height: 220px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #F4EFE6, #EDE4D2); border-bottom: 1px solid var(--c-line);
}
.map-canvas { position: absolute; inset: 0; cursor: grab; }
.map-canvas:active { cursor: grabbing; }
.map-grid { position: absolute; inset: 0; opacity: .22;
  background-image: linear-gradient(#d8cdb4 1px, transparent 1px), linear-gradient(90deg, #d8cdb4 1px, transparent 1px);
  background-size: 40px 40px; }
.map-label { position: absolute; font-size: 10px; color: #a89a7c; transform: translate(-50%, -50%); pointer-events: none; }
/* 气泡式 Marker（品类色 pill + 名称 + 小三角） */
.marker { position: absolute; transform: translate(-50%, -100%); cursor: pointer; z-index: 2;
  display: flex; flex-direction: column; align-items: center; transition: transform .15s; }
.marker .mk-pill {
  display: flex; align-items: center; gap: 3px; color: #fff;
  font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25); white-space: nowrap;
}
.marker .mk-pill .ms { font-size: 13px; }
.marker .mk-tri { width: 8px; height: 8px; transform: rotate(45deg); margin-top: -5px; }
.marker.m-culture .mk-pill, .marker.m-culture .mk-tri   { background: var(--c-culture); }
.marker.m-scenery .mk-pill, .marker.m-scenery .mk-tri   { background: var(--c-scenery); }
.marker.m-specialty .mk-pill, .marker.m-specialty .mk-tri { background: var(--c-specialty); }
/* 全省视角 mini 态：仅图标圆点，防重叠 */
.marker.mini .mk-pill { padding: 4px; border-radius: 50%; }
.marker.mini .mk-pill .ms { font-size: 14px; }
.marker.mini .mk-tri { width: 6px; height: 6px; margin-top: -3px; }
.marker.active { z-index: 5; transform: translate(-50%, -100%) scale(1.15); }
.marker.active .mk-pill { box-shadow: 0 0 0 2px #fff, 0 0 8px rgba(200, 65, 43, .25), 0 2px 6px rgba(0, 0, 0, .25); }
.my-loc { position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: #3B7BFF; border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(59, 123, 255, .2);
  transform: translate(-50%, -50%); z-index: 3; }
/* 地图浮控件（白底圆形，blur） */
.map-tools { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 8px; z-index: 6; align-items: center; }
.map-tools button {
  width: 34px; height: 34px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--c-text); cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
  display: flex; align-items: center; justify-content: center;
}
.map-tools button:active { transform: scale(.9); }
.map-tools .ms { font-size: 19px; }
.map-tools .zoom-group {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255, 255, 255, .95); border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15); padding: 2px 0;
}
.map-tools .zoom-group button { box-shadow: none; background: none; width: 30px; height: 30px; }
.map-tools .zoom-group i { width: 16px; height: 1px; background: var(--c-line); }
.map-tools #btn-loc { color: var(--c-scenery); }
.map-tools #btn-loc.on { color: #3B7BFF; }
.map-hint { position: absolute; left: 10px; top: 10px; z-index: 6; font-size: 10px;
  background: rgba(255, 255, 255, .85); padding: 3px 8px; border-radius: 8px; color: var(--c-sub2); }

/* ---------- 时令推荐条（丝绸金渐变 + 节气印章） ---------- */
.season-bar {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  background: linear-gradient(90deg, #FAF5EC, #F3EADB); border-bottom: 1px solid #E2D7C3;
}
.season-seal {
  width: 54px; flex: none; cursor: pointer; align-self: stretch;
  background: var(--c-card); border-radius: 12px; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 6px 0; gap: 1px;
}
.season-seal .ms { font-size: 13px; color: var(--c-culture); }
.season-seal b { font-family: var(--font-head); font-size: 13px; color: var(--c-culture); letter-spacing: 1px; }
.season-seal i { font-style: normal; font-size: 9px; color: var(--c-sub2); white-space: nowrap; }
.season-pois { display: flex; gap: 8px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.season-pois::-webkit-scrollbar { display: none; }
.season-poi {
  flex: none; width: 128px; background: rgba(255, 255, 255, .9); border-radius: 10px;
  padding: 7px 10px; cursor: pointer; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: 2px;
}
.season-poi .sp-name { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600;
  font-family: var(--font-head); overflow: hidden; white-space: nowrap; }
.season-poi .sp-name .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.season-poi .sp-brief { font-size: 10px; color: var(--c-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 底部三态抽屉 ---------- */
.drawer {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 15;
  background: var(--c-card); border-radius: 16px 16px 0 0;
  box-shadow: var(--shadow-2);
  display: flex; flex-direction: column;
  transition: height .25s ease;
}
.drawer-handle {
  flex: none; height: 20px; display: flex; align-items: center; justify-content: center;
  cursor: grab; touch-action: none;
}
.drawer-handle::after { content: ""; width: 36px; height: 4px; border-radius: 2px; background: #DCD6CA; }
.drawer-head { flex: none; display: flex; align-items: baseline; gap: 6px; padding: 2px 14px 6px; }
.drawer-head h2 { font-family: var(--font-head); font-size: 16px; font-weight: 600; }
.drawer-count { font-size: 11px; color: var(--c-sub2); }
.drawer-list { flex: 1; overflow-y: auto; padding: 0 12px 12px; }

/* ---------- POI 卡片（4:3 缩略图 + 结构化信息） ---------- */
.poi-card {
  display: flex; gap: 10px; background: var(--c-bg); border-radius: 12px;
  padding: 10px; margin-bottom: 10px; cursor: pointer; border: 2px solid transparent;
  transition: background .15s;
}
.poi-card:active { background: var(--c-bg2); }
.poi-card.hl-culture   { border-color: var(--c-culture);   box-shadow: 0 0 8px rgba(200, 65, 43, .25); }
.poi-card.hl-scenery   { border-color: var(--c-scenery);   box-shadow: 0 0 8px rgba(58, 140, 122, .25); }
.poi-card.hl-specialty { border-color: var(--c-specialty); box-shadow: 0 0 8px rgba(200, 150, 62, .25); }
.poi-thumb {
  width: 96px; height: 72px; border-radius: 12px; flex: none; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  position: relative; overflow: hidden;
}
.poi-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poi-thumb.t-culture   { background: linear-gradient(135deg, #D96A4F, var(--c-culture)); }
.poi-thumb.t-scenery   { background: linear-gradient(135deg, #63B29B, var(--c-scenery)); }
.poi-thumb.t-specialty { background: linear-gradient(135deg, #DEB267, var(--c-specialty)); }
.poi-thumb .thumb-cat {
  position: absolute; top: 4px; left: 4px; z-index: 1;
  font-size: 10px; font-weight: 600; color: #fff; padding: 1px 6px; border-radius: 4px;
}
.poi-thumb .thumb-cat.c-culture   { background: var(--c-culture); }
.poi-thumb .thumb-cat.c-scenery   { background: var(--c-scenery); }
.poi-thumb .thumb-cat.c-specialty { background: var(--c-specialty); }
.poi-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.poi-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; }
.poi-name { font-family: var(--font-head); font-size: 15px; font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.poi-dist { flex: none; font-size: 11px; color: var(--c-sub2); margin-top: 2px; }
.poi-tags { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.poi-brief { font-size: 12px; color: var(--c-sub); margin-top: 4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 徽标：浅色底 + 品类色文字 */
.badge { font-size: 10px; font-weight: 500; padding: 1px 6px; border-radius: 4px; flex: none; }
.badge.b-culture   { background: var(--c-culture-bg);   color: var(--c-culture); }
.badge.b-scenery   { background: var(--c-scenery-bg);   color: var(--c-scenery); }
.badge.b-specialty { background: var(--c-specialty-bg); color: var(--c-tertiary-text); }
.badge.b-tag  { background: var(--c-bg2); color: var(--c-sub); }
.badge.b-ganwei { background: var(--c-specialty-bg); color: var(--c-tertiary-text); font-weight: 600;
  display: inline-flex; align-items: center; gap: 2px; }
.badge.b-ganwei .ms { font-size: 11px; }

/* ---------- 空态 ---------- */
.empty { text-align: center; padding: 40px 20px; color: var(--c-sub2); }
.empty .art { font-size: 48px; margin-bottom: 12px; }
.empty button {
  margin-top: 12px; border: none; background: var(--c-hero); color: #fff;
  padding: 8px 20px; border-radius: 999px; font-size: 13px; cursor: pointer;
  font-family: var(--font-body);
}

/* ---------- 列表模式（地图切换/降级共用） ---------- */
.list-mode { flex: 1; overflow-y: auto; padding: 10px 12px 12px; }
.list-switch { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.list-switch button {
  border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  background: var(--c-culture); color: #fff; font-size: 12px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; box-shadow: 0 3px 12px rgba(200, 65, 43, .25);
  font-family: var(--font-body);
}
.list-switch button:active { background: var(--c-hero-deep); transform: scale(.96); }
.list-switch .ms { font-size: 16px; }

/* ---------- 详情页 ---------- */
.detail-scroll { flex: 1; overflow-y: auto; padding-bottom: 76px; }
.detail-hero { height: 240px; position: relative; color: #fff; overflow: hidden; }
.detail-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero.h-culture   { background: linear-gradient(135deg, #D96A4F, #8f2a17); }
.detail-hero.h-scenery   { background: linear-gradient(135deg, #63B29B, #1f5c4c); }
.detail-hero.h-specialty { background: linear-gradient(135deg, #DEB267, #8f6a1d); }
.detail-hero .emoji { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%); font-size: 64px; opacity: .9; }
.detail-hero .hero-grad { position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .5), transparent 45%, rgba(0, 0, 0, .15)); }
.detail-hero .hero-badge {
  position: absolute; top: 12px; left: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 4px;
  color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 999px; box-shadow: var(--shadow-1);
}
.detail-hero .hero-badge .ms { font-size: 14px; }
.detail-hero .hero-badge.c-culture   { background: var(--c-culture); }
.detail-hero .hero-badge.c-scenery   { background: var(--c-scenery); }
.detail-hero .hero-badge.c-specialty { background: var(--c-specialty); }
/* 上浮信息卡 */
.detail-card {
  position: relative; margin: -16px 12px 0; background: var(--c-card);
  border-radius: 12px; box-shadow: var(--shadow-1); padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.detail-card h1 { font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.detail-card .dc-sub { font-size: 11px; color: var(--c-sub2); margin-top: 2px; }
.dc-heat { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--c-sub); flex-wrap: wrap; }
.dc-heat .ms { font-size: 16px; color: var(--c-culture); }
.dc-heat b { color: var(--c-text); }
.dc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.dc-tags .badge { font-size: 11px; padding: 2px 8px; }
.dc-intro { background: var(--c-bg); border-radius: 10px; padding: 10px 12px; }
.dc-intro .dc-intro-title { display: flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; color: var(--c-culture); margin-bottom: 4px; }
.dc-intro .dc-intro-title .ms { font-size: 15px; }
.dc-intro p { font-size: 13px; line-height: 1.7; color: var(--c-sub); }
/* 位置导航卡 */
.detail-loc {
  margin: 10px 12px 0; background: var(--c-card); border-radius: 12px; box-shadow: var(--shadow-1);
  padding: 12px; display: flex; align-items: center; gap: 10px;
}
.detail-loc .dl-icon {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: var(--c-culture-bg); color: var(--c-culture);
  display: flex; align-items: center; justify-content: center;
}
.detail-loc .dl-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.detail-loc .dl-text b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-loc .dl-text span { font-size: 11px; color: var(--c-sub); display: flex; align-items: center; gap: 3px; }
.detail-loc .dl-text span .ms { font-size: 13px; color: var(--c-scenery); }
.detail-loc .dl-nav {
  flex: none; border: none; cursor: pointer; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 12px; border-radius: 12px; font-size: 10px; font-weight: 500;
  background: linear-gradient(135deg, var(--c-culture), var(--c-hero-deep));
  box-shadow: var(--shadow-1); font-family: var(--font-body);
}
.detail-loc .dl-nav:active { transform: scale(.95); }
/* 时令贴士条 */
.detail-season {
  margin: 10px 12px 0; background: var(--c-specialty-bg); border-radius: 12px;
  box-shadow: var(--shadow-1); padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
}
.detail-season .ds-seal {
  width: 32px; height: 32px; border-radius: 8px; flex: none;
  background: var(--c-specialty); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
}
.detail-season .ds-text { flex: 1; min-width: 0; }
.detail-season .ds-text b { font-size: 13px; color: var(--c-tertiary-text); display: block; }
.detail-season .ds-text span { font-size: 11px; color: var(--c-sub); }
.detail-season > .ms { color: var(--c-tertiary-text); font-size: 18px; }
/* 推荐横滑 */
.detail-sec { margin-top: 14px; }
.detail-sec .ds-head { display: flex; align-items: center; gap: 6px; padding: 0 14px 8px; }
.detail-sec .ds-head::before { content: ""; width: 5px; height: 14px; border-radius: 3px; background: var(--c-culture); }
.detail-sec .ds-head h3 { font-family: var(--font-head); font-size: 15px; font-weight: 700; }
.detail-sec .ds-head span { font-size: 11px; color: var(--c-sub2); }
.rel-pois { display: flex; gap: 10px; overflow-x: auto; padding: 2px 12px; scrollbar-width: none; }
.rel-pois::-webkit-scrollbar { display: none; }
.rel-poi {
  flex: none; width: 150px; background: var(--c-card); border-radius: 12px;
  box-shadow: var(--shadow-1); overflow: hidden; cursor: pointer;
}
.rel-poi .r-thumb { width: 100%; height: 84px; border-radius: 0; font-size: 26px; }
.rel-poi .r-body { padding: 8px 10px; }
.rel-poi .r-body b { font-family: var(--font-head); font-size: 13px; display: block;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-poi .r-body span { font-size: 11px; color: var(--c-sub2); display: block; margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 固定底栏 */
.bottombar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 20;
  background: rgba(255, 255, 255, .95); border-top: 1px solid var(--c-line);
  box-shadow: var(--shadow-2);
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
}
.bottombar .bb-side {
  border: none; background: none; cursor: pointer; flex: none;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  font-size: 10px; color: var(--c-sub); font-family: var(--font-body); padding: 2px 4px;
}
.bottombar .bb-side .ms { font-size: 22px; }
.bottombar .bb-side.on { color: var(--c-specialty); font-weight: 600; }
.bottombar .bb-main {
  flex: 1; border: none; cursor: pointer; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(90deg, var(--c-culture), #D84C35, var(--c-specialty));
  color: #fff; font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: 1px;
  box-shadow: 0 3px 10px rgba(200, 65, 43, .3);
}
.bottombar .bb-main:active { opacity: .9; transform: scale(.99); }

/* ---------- 节气浮层（Level 3 弹层） ---------- */
.season-mask {
  position: absolute; inset: 0; background: rgba(0, 0, 0, .55); z-index: 50;
  display: flex; align-items: center; justify-content: center;
}
.season-dialog {
  width: 78%; background: var(--c-card); border-radius: 16px; padding: 22px 20px;
  text-align: center; box-shadow: var(--shadow-3);
}
.season-dialog .art {
  width: 56px; height: 56px; margin: 0 auto; border-radius: 14px;
  background: var(--c-specialty-bg); display: flex; align-items: center; justify-content: center;
}
.season-dialog .art .ms { font-size: 30px; color: var(--c-specialty); }
.season-dialog h3 { font-family: var(--font-head); font-size: 20px; margin: 10px 0 6px; letter-spacing: 3px; }
.season-dialog p { font-size: 13px; color: var(--c-sub); line-height: 1.8; }
.season-dialog .range { margin-top: 10px; font-size: 11px; color: var(--c-sub2); }

/* ---------- 收藏页 ---------- */
.fav-scroll { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.fav-sync {
  margin: 10px 12px 0; background: var(--c-specialty-bg); border-radius: 12px;
  box-shadow: var(--shadow-1); padding: 9px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.fav-sync .fs-left { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--c-sub); }
.fav-sync .fs-left .ms { font-size: 18px; color: var(--c-specialty); }
.fav-sync .fs-left b { font-family: var(--font-head); color: var(--c-culture); }
.fav-sync .sync-tag { flex: none; font-size: 11px; font-weight: 500; color: var(--c-specialty); }
.fav-tabs { display: flex; gap: 8px; padding: 10px 12px 2px; overflow-x: auto; scrollbar-width: none; }
.fav-tabs::-webkit-scrollbar { display: none; }
.fav-tab {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  border: none; cursor: pointer; font-family: var(--font-body);
  padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 500;
  background: var(--c-card); color: var(--c-sub); box-shadow: var(--shadow-1);
}
.fav-tab i {
  font-style: normal; font-size: 10px; padding: 0 5px; border-radius: 999px;
  background: var(--c-bg2); color: var(--c-text);
}
.fav-tab.on { background: var(--c-culture); color: #fff; }
.fav-tab.on i { background: rgba(255, 255, 255, .25); color: #fff; }
.fav-list { padding: 10px 12px; }
.fav-explore {
  margin: 2px 12px 0; background: var(--c-card); border-radius: 14px; box-shadow: var(--shadow-1);
  padding: 12px; display: flex; align-items: center; gap: 10px; cursor: pointer;
  position: relative; overflow: hidden;
}
.fav-explore:active { transform: scale(.98); }
.fav-explore .fe-icon {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: var(--c-culture-bg); color: var(--c-culture);
  display: flex; align-items: center; justify-content: center;
}
.fav-explore .fe-text { flex: 1; min-width: 0; }
.fav-explore .fe-text b { font-family: var(--font-head); font-size: 14px; display: flex; align-items: center; gap: 5px; }
.fav-explore .fe-text b .fe-tag { font-size: 10px; font-weight: 500; background: var(--c-culture-bg);
  color: var(--c-culture); padding: 0 5px; border-radius: 4px; }
.fav-explore .fe-text span { font-size: 11px; color: var(--c-sub); }
.fav-explore > .ms { color: var(--c-sub2); }
.fav-footer {
  margin-top: auto; padding: 24px 12px 20px; text-align: center;
  font-size: 10px; color: var(--c-sub2); line-height: 1.8;
}
.fav-footer .ms { font-size: 13px; vertical-align: -2px; }
