/* 来了就爱上 · 皮妞妞带你玩透深圳 —— 全站样式（零 emoji / 零外链资源） */
:root {
  --teal: #0F766E;
  --teal-deep: #0B4F4A;
  --teal-soft: #E4F1EF;
  --accent: #F97316;
  --accent-deep: #C2410C;
  --accent-soft: #FFF0E4;
  --ink: #1F2A2E;
  --muted: #5E706C;
  --faint: #8AA09A;
  --line: #E2EAE8;
  --bg: #F5F8F7;
  --card: #FFFFFF;
  --gold: #D97706;
  --c-shanhai: #0F766E;
  --c-tianji: #2563EB;
  --c-renwen: #7C3AED;
  --c-yanhuo: #E11D48;
  --shadow: 0 10px 30px rgba(15, 118, 110, 0.10);
  --radius: 16px;
  --tabbar-h: 60px;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--ink);
  font-size: 15px; line-height: 1.65;
}
#app { max-width: 480px; margin: 0 auto; min-height: 100vh; padding-bottom: calc(var(--tabbar-h) + 34px + env(safe-area-inset-bottom)); }
img, svg { display: block; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
a { color: var(--teal); text-decoration: none; }

.ic { width: 18px; height: 18px; flex: none; }
.ic.lg { width: 22px; height: 22px; }
.ic.xl { width: 28px; height: 28px; }
.ic.sm { width: 15px; height: 15px; }

/* ---------- 顶部 hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, #0B4F4A 0%, #0F766E 46%, #159E8C 78%, #3EC9A7 100%);
  padding: 26px 20px 58px; border-radius: 0 0 26px 26px;
}
.hero::before {
  content: ""; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.07);
}
.hero::after {
  content: ""; position: absolute; right: 30px; bottom: -90px; width: 190px; height: 190px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.06);
}
.hero .kicker {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 2px;
  background: rgba(255, 255, 255, 0.14); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.hero h1 { font-size: 30px; line-height: 1.25; letter-spacing: 1px; font-weight: 800; }
.hero .sub { margin-top: 6px; font-size: 15px; opacity: 0.92; }
.hero .brand-row { display: flex; align-items: flex-end; justify-content: space-between; position: relative; z-index: 1; }
.hero .mascot { width: 168px; height: auto; margin: -4px -4px -30px 0; filter: drop-shadow(0 10px 16px rgba(0,0,0,0.22)); }
.hero .intro {
  position: relative; z-index: 1; margin-top: 18px; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; line-height: 1.7;
}
.hero .intro b { color: #FFD9AE; }

/* ---------- 通用布局 ---------- */
.wrap { padding: 0 16px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-top: 14px; }
.sec-title { display: flex; align-items: center; gap: 8px; margin: 22px 2px 10px; font-size: 17px; font-weight: 800; }
.sec-title .ic { color: var(--accent); }
.sec-title .more { margin-left: auto; font-size: 12.5px; color: var(--muted); font-weight: 500; display: inline-flex; align-items: center; gap: 2px; }
.note { font-size: 12px; color: var(--faint); text-align: center; margin: 26px 16px 8px; line-height: 1.8; }
.chip {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; padding: 2px 9px;
  border-radius: 999px; background: var(--teal-soft); color: var(--teal-deep); font-weight: 600;
}
.chip.warn { background: var(--accent-soft); color: var(--accent-deep); }
.chip.plain { background: #EFF3F2; color: var(--muted); }
a.chip.twin { background: var(--teal-soft); color: var(--teal-deep); border: 1px solid var(--accent); text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.chip.twin:hover { filter: brightness(1.05); }

/* ---------- 进度卡 ---------- */
.progress-card { display: flex; align-items: center; gap: 16px; }
.ring-wrap { position: relative; width: 92px; height: 92px; flex: none; }
.ring-wrap svg { width: 92px; height: 92px; }
.ring-wrap .ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-label b { font-size: 20px; color: var(--teal); line-height: 1.1; }
.ring-label span { font-size: 10px; color: var(--muted); }
.progress-card .info h3 { font-size: 16px; margin-bottom: 2px; }
.progress-card .info p { font-size: 12.5px; color: var(--muted); }
.title-badge {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 3px 10px;
  background: linear-gradient(120deg, #FFF3E2, #FFE3C4); color: #9A5B10; border-radius: 999px; font-size: 12px; font-weight: 700;
}

/* ---------- 主题入口 ---------- */
.theme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.theme-card {
  position: relative; border-radius: 18px; padding: 14px 14px 12px; color: #fff; overflow: hidden;
  min-height: 108px; display: flex; flex-direction: column; text-align: left;
}
.theme-card .ic { width: 24px; height: 24px; opacity: 0.95; }
.theme-card b { font-size: 16.5px; margin-top: auto; letter-spacing: 1px; }
.theme-card span { font-size: 11px; opacity: 0.85; }
.theme-card::after {
  content: ""; position: absolute; right: -34px; bottom: -34px; width: 96px; height: 96px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.12);
}
.theme-card .count { position: absolute; top: 12px; right: 12px; font-size: 10.5px; background: rgba(255,255,255,0.2); border-radius: 999px; padding: 1px 8px; }

/* ---------- 三原则 ---------- */
.rules li { display: flex; gap: 10px; padding: 9px 0; font-size: 13.5px; line-height: 1.7; }
.rules li + li { border-top: 1px dashed var(--line); }
.rules .n {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-soft); color: var(--teal);
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* ---------- 主题页头 ---------- */
.theme-head { color: #fff; padding: 32px 22px 28px; border-radius: 0 0 26px 26px; position: relative; overflow: hidden; }
.theme-head .back { position: absolute; left: 12px; top: 14px; display: none; }
.theme-head h2 { font-size: 31px; letter-spacing: 3px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.theme-head h2 .ic { width: 28px; height: 28px; }
.theme-head p { margin-top: 13px; font-size: 13.5px; opacity: 0.92; line-height: 1.9; position: relative; max-width: 94%; }
.theme-head .crumbs { font-size: 11px; opacity: 0.75; letter-spacing: 1px; margin-bottom: 12px; }

/* 路线卡 */
.route-card { border-left: 4px solid var(--tc, var(--teal)); position: relative; overflow: hidden; }
.route-card .stamp {
  position: absolute; right: -6px; top: -10px; width: 64px; height: 64px; border-radius: 50%;
  background: var(--tc-soft, var(--teal-soft)); color: var(--tc, var(--teal));
  font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  font-size: 34px; font-weight: 800; line-height: 64px; text-align: center;
  opacity: 0.5; pointer-events: none; user-select: none;
  transform: rotate(8deg);
}
.route-card .rt-top, .route-card .rt-meta, .route-card > p.desc { position: relative; z-index: 1; }
.route-card .rt-top { display: flex; align-items: baseline; gap: 8px; }
.route-card .rt-top b { font-size: 15.5px; }
.route-card .rt-top .lv { font-size: 10.5px; color: #fff; border-radius: 999px; padding: 1px 8px; background: var(--tc, var(--teal)); flex: none; }
.route-card .rt-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.route-card .rt-meta span { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); background: #F1F5F4; border-radius: 8px; padding: 3px 8px; }
.route-card .rt-meta .ic { width: 13px; height: 13px; }
.route-card p.desc { font-size: 13px; color: var(--muted); line-height: 1.7; }
.route-card .open-detail { margin-left: auto; color: var(--tc, var(--teal)); font-size: 12.5px; display: inline-flex; align-items: center; gap: 2px; flex: none; }
.rt-foot { display: flex; align-items: center; margin-top: 10px; }
.rt-stops { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 12px; }
.stop { display: flex; gap: 10px; }
.stop-map { font-size: 11px; color: var(--teal); margin-left: 6px; white-space: nowrap; display: inline-flex; align-items: center; gap: 2px; font-weight: 600; vertical-align: 1px; }
.stop-map .ic { width: 11px; height: 11px; }
.rt-endpoints {
  font-size: 12px; color: var(--teal-deep); background: var(--teal-soft); border-radius: 10px;
  padding: 7px 10px; display: flex; align-items: center; gap: 6px; margin-bottom: 12px; font-weight: 600;
}
.rt-endpoints .ic { width: 13px; height: 13px; flex: none; }
.stop-move {
  margin-top: 7px; font-size: 11.5px; color: #8A4A16; background: var(--accent-soft);
  border-radius: 9px; padding: 5px 9px; display: flex; align-items: flex-start; gap: 5px; line-height: 1.6;
}
.stop-move .ic { width: 12px; height: 12px; margin-top: 2px; flex: none; }
.stop-end { margin-top: 8px; font-size: 11.5px; color: var(--teal); display: flex; align-items: center; gap: 5px; font-weight: 700; }
.stop-end .ic { width: 12px; height: 12px; }
.stop .idx { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--tc, var(--teal)); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 2px; position: relative; z-index: 1; box-shadow: 0 0 0 3px #fff; }
.stop .col { padding-bottom: 14px; border-left: 2px dotted #D6E2DF; margin-left: -21px; padding-left: 31px; flex: 1; }
.stop:last-child .col { border-left-color: transparent; padding-bottom: 2px; }
.stop b { font-size: 13.5px; }
.stop p { font-size: 12px; color: var(--muted); line-height: 1.65; }
.stop .ic.arrow { margin: 2px auto; color: #C4D2CE; }

/* 点位卡 */
.spot-card { padding: 14px 14px 12px; }
.spot-row { display: flex; align-items: flex-start; gap: 10px; }
.spot-row .spot-ic {
  flex: none; width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--tc-soft, var(--teal-soft)); color: var(--tc, var(--teal));
}
.spot-row .spot-ic .ic { width: 20px; height: 20px; }
.spot-main { flex: 1; min-width: 0; }
.spot-main .nm { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.spot-main .nm .done-tag { display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; color: #fff; background: var(--teal); border-radius: 999px; padding: 1px 8px; font-weight: 600; }
.spot-main .nm .done-tag .ic { width: 11px; height: 11px; }
.spot-main .sb { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.spot-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.checkin-mini { flex: none; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--tc, var(--teal)); font-size: 10px; font-weight: 700; }
.checkin-mini .ring-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 2px dashed var(--tc, var(--teal));
  display: flex; align-items: center; justify-content: center; color: var(--tc, var(--teal)); background: #fff;
}
.checkin-mini.is-done .ring-btn { border-style: solid; background: var(--tc, var(--teal)); color: #fff; }
.spot-detail { display: none; margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 12px; }
.spot-card.open .spot-detail { display: block; }
.spot-detail .kv { display: flex; gap: 8px; font-size: 12.5px; padding: 3px 0; }
.spot-detail .kv b { flex: none; color: var(--faint); font-weight: 600; width: 58px; }
.spot-detail .kv span { color: var(--ink); flex: 1; }
.tip-box {
  margin-top: 8px; background: var(--accent-soft); border-radius: 12px; padding: 9px 12px;
  font-size: 12.5px; color: #8A4A16; line-height: 1.7;
}
.tip-box b { color: var(--accent-deep); }
.spot-acts { display: flex; gap: 8px; margin-top: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px;
  padding: 8px 16px; font-size: 13px; font-weight: 700; background: var(--tc, var(--teal)); color: #fff;
}
.btn.ghost { background: #F0F4F3; color: var(--muted); }
.btn.block { width: 100%; }
.btn.accent { background: var(--accent); }

/* 打卡记录 */
.rec { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.rec:last-child { border-bottom: 0; }
.rec .thumb { flex: none; width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--teal-soft); }
.rec .rec-main { flex: 1; min-width: 0; }
.rec .rec-top { display: flex; align-items: center; gap: 6px; }
.rec .rec-top b { font-size: 14px; }
.rec .rec-top .when { margin-left: auto; font-size: 11px; color: var(--faint); flex: none; }
.rec .rec-note { font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.6; word-break: break-all; }
.rec .rec-mood { color: var(--accent); display: inline-flex; }

/* 徽章墙 */
.badge-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bw-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.bw-item .bimg { width: 56px; height: 56px; opacity: 0.28; filter: grayscale(1); }
.bw-item.got .bimg { opacity: 1; filter: none; }
.bw-item span { font-size: 10.5px; color: var(--muted); line-height: 1.4; }
.bw-item.got span { color: var(--ink); font-weight: 700; }

/* 底部弹层（打卡面板） */
.sheet-mask { position: fixed; inset: 0; background: rgba(15, 35, 32, 0.45); z-index: 60; opacity: 0; transition: opacity 0.22s; }
.sheet-mask.show { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; background: #fff;
  border-radius: 22px 22px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  max-width: 480px; margin: 0 auto; transform: translateY(102%); transition: transform 0.26s ease;
}
.sheet.show { transform: none; }
.sheet .grab { width: 40px; height: 4px; border-radius: 4px; background: #E0E8E6; margin: 0 auto 14px; }
.sheet h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.sheet .spot-line { font-size: 12.5px; color: var(--muted); margin: 4px 0 14px; }
.mood-row { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 14px; }
.mood {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 0;
  border-radius: 14px; border: 1.5px solid var(--line); color: var(--muted); font-size: 10.5px;
}
.mood .ic { width: 24px; height: 24px; }
.mood.sel { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.sheet textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 13.5px;
  font-family: inherit; resize: none; height: 72px; color: var(--ink); outline-color: var(--teal);
}
.photo-row { display: flex; gap: 10px; margin-top: 12px; align-items: center; }
.photo-add {
  width: 62px; height: 62px; border-radius: 14px; border: 1.5px dashed #C9D6D2; color: var(--faint);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; font-size: 10px;
}
.photo-row img { width: 62px; height: 62px; border-radius: 14px; object-fit: cover; }
.photo-row .del { font-size: 11px; color: #C2410C; }
.sheet .btn { margin-top: 16px; }

/* 悬浮打卡按钮 + 底部导航 */
#fab {
  position: fixed; right: calc(50% - 240px + 14px); bottom: calc(var(--tabbar-h) + 18px + env(safe-area-inset-bottom));
  z-index: 55; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #FB923C);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4); font-size: 9.5px; font-weight: 800;
}
@media (max-width: 520px) { #fab { right: 14px; } }
#tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 56; background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: flex;
  padding-bottom: env(safe-area-inset-bottom); height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
#tabbar .tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--faint); font-size: 10.5px; font-weight: 600; position: relative;
}
#tabbar .tab .ic { width: 21px; height: 21px; }
#tabbar .tab.on { color: var(--teal); }
#tabbar .tab.on::after {
  content: ""; position: absolute; top: 0; width: 18px; height: 3px; border-radius: 0 0 4px 4px; background: var(--teal);
}

/* toast */
#toast {
  position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%) translateY(8px); z-index: 80;
  background: rgba(28, 42, 40, 0.92); color: #fff; font-size: 13px; padding: 9px 18px; border-radius: 999px;
  opacity: 0; transition: 0.25s; pointer-events: none; max-width: 80vw; text-align: center;
}
#toast.show { opacity: 1; transform: translateX(-50%); }

/* 指南页（新生/哈工大） */
.guide-sec h4 { font-size: 14.5px; margin: 4px 0 8px; display: flex; align-items: center; gap: 7px; }
.guide-sec h4 .ic { color: var(--accent); }
.guide-sec .kv { display: flex; gap: 8px; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.guide-sec .kv:last-child { border-bottom: 0; }
.guide-sec .kv b { flex: none; width: 96px; color: var(--teal); font-weight: 700; }
.guide-sec .kv span { flex: 1; color: var(--ink); }
.guide-sec .kv span small { color: var(--faint); }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.guide-tile { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 13px; display: flex; align-items: center; gap: 10px; }
.guide-tile .ic { width: 20px; height: 20px; color: var(--teal); }
.guide-tile b { font-size: 13.5px; }

/* 鲲鹏径段落表 */
.seg-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.seg-table th { text-align: left; color: var(--faint); font-weight: 600; padding: 6px 4px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.seg-table td { padding: 7px 4px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.seg-table .seg-no { color: var(--teal); font-weight: 800; white-space: nowrap; }
.seg-table .hl td { background: var(--teal-soft); }

/* 分享卡 & 其他 */
.share-canvas-wrap { display: flex; justify-content: center; }
.share-canvas-wrap canvas { max-width: 78%; border-radius: 14px; box-shadow: var(--shadow); }
.mini-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mini-link { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 13px; font-size: 13px; font-weight: 700; color: var(--ink); }
.mini-link .ic { color: var(--accent); }
.mini-link small { display: block; font-size: 10.5px; color: var(--faint); font-weight: 500; }
.page-pad { padding-top: 18px; }

/* ---------- 搜索 ---------- */
.search-card { padding: 12px 14px; }
.search-box { display: flex; align-items: center; gap: 8px; background: #F0F4F3; border-radius: 12px; padding: 9px 12px; color: var(--muted); }
.search-box input { flex: 1; border: 0; background: none; outline: none; font-size: 14px; font-family: inherit; color: var(--ink); min-width: 0; }
.search-box .kbd { flex: none; font-size: 11px; border: 1px solid #D5DFDC; border-bottom-width: 2px; border-radius: 5px; padding: 0 6px; color: var(--faint); background: #fff; }
.search-box:focus-within { outline: 2px solid var(--teal-soft); background: #fff; }
#search-results { display: none; margin-top: 6px; }
#search-results.has { display: block; }
.sres {
  width: 100%; display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 9px 4px; border-bottom: 1px dashed var(--line); color: var(--ink);
}
.sres:last-of-type { border-bottom: 0; }
.sres-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #F1F5F4; display: flex; align-items: center; justify-content: center; }
.sres-ic .ic { width: 17px; height: 17px; }
.sres-main { flex: 1; min-width: 0; }
.sres-main b { font-size: 14px; display: block; }
.sres-main small { font-size: 11px; color: var(--faint); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sres-wish { color: var(--c-yanhuo); display: inline-flex; }
.sres-go { color: var(--faint); display: inline-flex; }
.sres-empty { font-size: 12.5px; color: var(--muted); padding: 8px 2px; }

/* ---------- 点位心愿按钮 ---------- */
.spot-acts-mini { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wish-mini { display: flex; flex-direction: column; align-items: center; gap: 1px; color: #B9C8C4; font-size: 9.5px; font-weight: 700; }
.wish-mini .ic { width: 16px; height: 16px; }
.wish-mini.is-on { color: var(--c-yanhuo); }

/* ---------- 路线免责 + 反馈入口 ---------- */
.rt-foot-note {
  margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 8px;
  font-size: 10.5px; color: var(--faint); line-height: 1.8;
}
.fb-link { font-size: inherit; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; padding: 0 2px; }
.fb-home { text-align: center; margin: 16px 0 0; }
.fb-home .fb-link { font-size: 12.5px; }
.fb-actions { display: flex; gap: 8px; margin-top: 14px; }
.fb-actions .btn, .fb-actions a.btn { flex: 1; }
.fb-hint { font-size: 11px; color: var(--faint); margin-top: 10px; line-height: 1.7; }

/* ---------- 路线状态标签 ---------- */
.rt-status {
  flex: none; font-size: 10.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-deep);
}
.rt-tag { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; padding: 1px 9px; border-radius: 999px; background: var(--tc-soft, var(--teal-soft)); color: var(--tc, var(--teal)); }

/* ---------- 定位闪烁 ---------- */
@keyframes flashPulse { 0%,100% { box-shadow: var(--shadow); } 40% { box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.35), var(--shadow); } }
.flash { animation: flashPulse 0.9s ease-in-out 2; }

/* ---------- 打卡页心愿单 ---------- */
.wish-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px dashed var(--line); color: var(--ink); text-align: left; }
.wish-item:last-of-type { border-bottom: 0; }

/* ---------- 衬线标题（手账气质） ---------- */
.hero h1, .theme-head h2,
.sec-title, .rt-top b, .sheet h3,
.progress-card .info h3, .spot-main .nm b {
  font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
}
.sec-title { letter-spacing: 0.5px; }
.rt-top b { letter-spacing: 0.5px; font-size: 16px; }
.spot-main .nm b { letter-spacing: 0.3px; }
.hero h1, .theme-head h2 { letter-spacing: 2px; }

/* ---------- taste-skill 审计修正 ---------- */
/* 按压反馈：所有可点元素按下时轻微缩放 */
button:active, .theme-card:active, .mini-link:active, .sres:active, .wish-item:active { transform: scale(0.98); }
button, .theme-card, .mini-link, .sres, .wish-item { transition: transform 0.12s ease, opacity 0.2s ease; }
/* 键盘可达性：可见焦点环 */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
/* 数据用等宽数字：里程/票价/计数对齐 */
.rt-meta span, .seg-table, .ring-label b, .kv, .spot-detail .kv span { font-variant-numeric: tabular-nums; }
/* 标题防孤字 */
.hero h1, .theme-head h2, .rt-top b, .sec-title { text-wrap: balance; }

/* ---------- 延伸体系注释卡 ---------- */
.sys-note b:first-child { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--teal-deep); margin-bottom: 4px; }
.sys-note b:first-child .ic { width: 14px; height: 14px; }
.sys-row { display: flex; gap: 8px; align-items: baseline; font-size: 12px; padding: 6px 0; border-top: 1px dashed var(--line); line-height: 1.7; }
.sys-row b { flex: none; color: var(--ink); }
.sys-row span { flex: 1; color: var(--muted); }
.rt-refs {
  margin-top: 10px; font-size: 11.5px; color: var(--faint); display: flex; align-items: center;
  gap: 6px; flex-wrap: wrap; line-height: 1.8;
}
.rt-refs .ic { width: 12px; height: 12px; flex: none; }

.sys-tip { font-size: 11px; color: var(--faint); margin: 2px 0 6px; line-height: 1.7; }
.sys-mini {
  flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600;
  color: var(--teal-deep); background: var(--teal-soft); border-radius: 999px; padding: 2px 9px;
}
.sys-mini .ic { width: 12px; height: 12px; }

.walked-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700;
  color: var(--muted); border: 1.5px solid var(--line); border-radius: 999px; padding: 3px 10px;
}
.walked-btn .ic { width: 12px; height: 12px; }
.walked-btn.on { color: #fff; background: var(--teal); border-color: var(--teal); }

.rt-stars { display: inline-flex; align-items: center; gap: 1px; color: var(--accent); flex: none; }
.rt-stars .star-ic { width: 13px; height: 13px; }
.rt-stars em { font-style: normal; font-size: 10px; color: var(--accent-deep); margin-left: 3px; font-weight: 700; }
.stars-legend { font-size: 11.5px; color: var(--faint); margin: -4px 2px 12px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.stars-legend .star-ic { width: 11px; height: 11px; color: var(--accent); }

.move-mode {
  flex: none; font-size: 10px; font-weight: 800; color: var(--accent-deep);
  border: 1px solid rgba(194, 65, 12, 0.35); border-radius: 5px; padding: 0 5px; margin-top: 1px;
}
.more-summary { margin-bottom: 12px; }
.ms-row { display: flex; align-items: baseline; gap: 8px; padding: 6px 2px; border-bottom: 1px dashed var(--line); font-size: 12px; }
.ms-row[data-jump] { cursor: pointer; transition: background .12s; border-radius: 4px; }
.ms-row[data-jump]:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.ms-row b { flex: none; font-weight: 700; }
.ms-row span { color: var(--muted); display: inline-flex; align-items: center; gap: 1px; flex-wrap: wrap; }
.ms-row .star-ic { width: 11px; height: 11px; color: var(--accent); }

.rt-top b { flex: 1 1 auto; min-width: 0; }
.rt-top .open-detail, .rt-top .rt-status { flex: none; }
.rt-top { flex-wrap: wrap; row-gap: 4px; }

/* ---------- 桌面适配（>520px）：内容列 480→720，字体微升；手机端零改动 ---------- */
@media (min-width: 521px) {
  #app { max-width: 720px; }
  #fab { right: auto; left: calc(50% + 360px - 70px); }
  .wrap { font-size: 15px; }
}
