/* ============================================================
 * 秋假舆图 · 视觉层 —— 「宣纸朱砂」国风
 * ============================================================ */
:root {
  --paper: #F5EFE0;
  --paper-2: #FCF8EE;
  --paper-3: #F0E8D3;
  --ink: #2E2A24;
  --ink-2: #6E6552;
  --ink-3: #9A9080;
  --cinnabar: #B4432F;
  --cinnabar-deep: #8C2E20;
  --cinnabar-bg: #F6E3DC;
  --gold: #C2A05A;
  --gold-soft: #E8D9B5;
  --dai: #3E5C6B;
  --dai-bg: #E3EBEC;
  --line: #DFD4BC;
  --line-2: #E9E0C9;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --shadow-1: 0 2px 12px rgba(90, 70, 40, .08);
  --shadow-2: 0 8px 32px rgba(90, 70, 40, .16);
  --r: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; }
body {
  font-family: var(--sans);
  background: #E8E0CC;
  color: var(--ink);
  min-height: 100vh;
  display: flex; justify-content: center;
}
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input { font-family: inherit; }

/* ---- 手机容器 ---- */
.phone {
  width: 100%; max-width: 480px; min-height: 100vh;
  background: var(--paper);
  position: relative;
  box-shadow: 0 0 60px rgba(60, 45, 20, .25);
  overflow-x: hidden;
  padding-bottom: 76px;
}
/* 宣纸纹理 */
.phone::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  max-width: 480px; margin: 0 auto;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(120, 100, 60, .012) 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 3px, rgba(120, 100, 60, .012) 3px 4px);
}

/* ---- 顶栏 ---- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(245,239,224,.97), rgba(245,239,224,.88));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 10px 16px 8px;
  display: flex; align-items: center; gap: 12px;
}
.seal {
  width: 44px; height: 44px; border-radius: 9px; flex: none;
  background: linear-gradient(160deg, var(--cinnabar), var(--cinnabar-deep));
  color: #FBF3E3; font-family: var(--serif);
  display: grid; place-items: center; line-height: 1.05;
  font-size: 15px; font-weight: 700; letter-spacing: 0;
  box-shadow: inset 0 0 0 1.5px rgba(251,243,227,.55), var(--shadow-1);
  transform: rotate(-2deg);
}
.seal small { font-size: 9px; font-weight: 400; letter-spacing: 1px; }
.topbar .titles { flex: 1; min-width: 0; }
.topbar h1 {
  font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: 2px;
  color: var(--ink); line-height: 1.2;
}
.topbar h1 em { font-style: normal; color: var(--cinnabar); }
.topbar .sub {
  font-size: 10px; color: var(--ink-3); letter-spacing: 2.5px; margin-top: 2px;
}
.unlock-pill {
  flex: none; font-size: 10px; padding: 4px 10px; border-radius: 99px;
  background: var(--cinnabar-bg); color: var(--cinnabar-deep);
  border: 1px solid #E5C4B8; letter-spacing: 1px;
  display: flex; align-items: center; gap: 4px;
}
.unlock-pill.on { background: var(--dai-bg); color: var(--dai); border-color: #C4D4D8; }

/* ---- 主体 ---- */
.wrap { position: relative; z-index: 1; padding: 14px 14px 20px; }
.page { display: none; animation: fadeUp .35s ease both; }
.page.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---- 章节标题 ---- */
.sec-title {
  display: flex; align-items: baseline; gap: 8px;
  margin: 20px 2px 12px;
}
.sec-title .bracket { color: var(--gold); font-family: var(--serif); font-size: 17px; }
.sec-title h2 { font-family: var(--serif); font-size: 17px; font-weight: 700; letter-spacing: 1.5px; }
.sec-title .en { font-size: 9px; color: var(--ink-3); letter-spacing: 2px; text-transform: uppercase; }
.sec-title .flourish { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold-soft), transparent); align-self: center; }

/* ---- 卡片（回纹角饰）---- */
.card {
  position: relative; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-1);
  padding: 16px;
}
.card::before, .card::after {
  content: ""; position: absolute; width: 10px; height: 10px; pointer-events: none;
}
.card::before { top: 5px; left: 5px; border-top: 1.5px solid var(--gold); border-left: 1.5px solid var(--gold); border-radius: 3px 0 0 0; }
.card::after { bottom: 5px; right: 5px; border-bottom: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); border-radius: 0 0 3px 0; }

/* ---- 今日条 ---- */
.today-bar {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(120deg, #F8EEDD, #F6E7D2);
  border: 1px solid var(--gold-soft); border-radius: var(--r);
  padding: 10px 14px; font-size: 12px; color: var(--ink-2);
  box-shadow: var(--shadow-1);
}
.today-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cinnabar); flex: none; box-shadow: 0 0 0 3px rgba(180,67,47,.15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(180,67,47,.05); } }
.today-bar b { color: var(--cinnabar-deep); font-weight: 700; }

/* ---- 统计三联 ---- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.stat {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 6px 10px; text-align: center; box-shadow: var(--shadow-1);
  position: relative; overflow: hidden;
}
.stat::after { content: ""; position: absolute; top: 0; left: 20%; right: 20%; height: 2px; background: linear-gradient(90deg, transparent, var(--cinnabar), transparent); opacity: .5; }
.stat .num { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--cinnabar); line-height: 1.1; }
.stat .num small { font-size: 11px; font-weight: 400; }
.stat .lbl { font-size: 10px; color: var(--ink-2); margin-top: 4px; letter-spacing: 1px; }

/* ---- 地图卡 ---- */
.map-card { margin-top: 12px; padding: 12px 8px 4px; }
#mapChart { width: 100%; height: 380px; }
.map-legend {
  display: flex; align-items: center; gap: 8px; padding: 4px 10px 8px;
  font-size: 10px; color: var(--ink-2);
}
.map-legend .scale { flex: 1; height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, #F3EDDC, #E9C89A, #D08A55, #BC5F3C, #A03D2B, #7C2A1E);
  border: 1px solid var(--line);
}
.map-hint { text-align: center; font-size: 10px; color: var(--ink-3); padding: 0 0 8px; letter-spacing: 1px; }

/* ---- 浪潮图 ---- */
.wave-card { margin-top: 12px; padding: 14px 12px 10px; }
.wave-card .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.wave-card h3 { font-family: var(--serif); font-size: 14px; letter-spacing: 1px; }
.wave-card .range { font-size: 10px; color: var(--ink-3); }
#waveChart { width: 100%; height: 170px; display: block; }
.wave-notes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.wave-note {
  font-size: 10px; color: var(--cinnabar-deep); background: var(--cinnabar-bg);
  border-radius: 6px; padding: 3px 8px; letter-spacing: .5px;
}

/* ---- 筛选 chips ---- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; font-size: 12px; padding: 6px 14px; border-radius: 99px;
  background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-2);
  letter-spacing: 1px; transition: all .2s;
}
.chip.on { background: var(--cinnabar); border-color: var(--cinnabar); color: #FBF3E3; box-shadow: 0 2px 8px rgba(180,67,47,.3); }

/* ---- 搜索 ---- */
.search-box {
  display: flex; align-items: center; gap: 8px; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 99px; padding: 9px 14px; margin-bottom: 10px;
}
.search-box input { flex: 1; border: none; outline: none; background: none; font-size: 13px; color: var(--ink); }
.search-box input::placeholder { color: var(--ink-3); }

/* ---- 城市卡 ---- */
.city-list { display: flex; flex-direction: column; gap: 10px; }
.city-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-1); cursor: pointer; transition: transform .15s;
  position: relative; overflow: hidden;
}
.city-card:active { transform: scale(.98); }
.city-card .heat-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--cinnabar); opacity: .85; }
.city-card .main { flex: 1; min-width: 0; }
.city-card .name { font-family: var(--serif); font-size: 15px; font-weight: 700; letter-spacing: .5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.city-card .date { font-size: 12px; color: var(--cinnabar-deep); margin-top: 3px; letter-spacing: .5px; }
.city-card .meta { font-size: 10px; color: var(--ink-3); margin-top: 3px; }
.city-card .right { text-align: right; flex: none; }
.city-card .stu { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--ink); }
.city-card .stu small { font-size: 10px; color: var(--ink-3); font-weight: 400; }
.tag {
  font-size: 9px; padding: 2px 7px; border-radius: 5px; letter-spacing: 1px; vertical-align: 1px;
}
.tag.done { background: var(--cinnabar-bg); color: var(--cinnabar-deep); }
.tag.flex { background: #F3EAD2; color: #8A6D2F; }
.tag.wait { background: #EDEDE8; color: var(--ink-3); }
.tag.past { background: #EDEDE8; color: var(--ink-3); text-decoration: line-through; }
.tag.days { background: var(--dai-bg); color: var(--dai); }

/* ---- 目的地卡 ---- */
.dest-list { display: flex; flex-direction: column; gap: 12px; }
.dest-card { padding: 14px; cursor: pointer; }
.dest-card .row1 { display: flex; align-items: flex-start; gap: 10px; }
.dest-card .dname { font-family: var(--serif); font-size: 16px; font-weight: 700; letter-spacing: .5px; flex: 1; }
.dest-card .dtype {
  flex: none; font-size: 10px; color: var(--dai); background: var(--dai-bg);
  padding: 3px 9px; border-radius: 6px; letter-spacing: 1px;
}
.dest-card .ddesc { font-size: 12px; color: var(--ink-2); margin-top: 6px; line-height: 1.6; }
.dest-card .spark { margin-top: 8px; }
.dest-card .spark svg { width: 100%; height: 44px; display: block; }
.dest-card .row3 { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 10px; color: var(--ink-3); }
.dest-card .row3 b { color: var(--cinnabar); font-size: 12px; font-family: var(--serif); }
.dest-card .row3 .flex1 { flex: 1; }

/* ---- 锦囊 ---- */
.plan-city {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
}
.plan-city .lbl { font-size: 12px; color: var(--ink-2); letter-spacing: 1px; }
.plan-city select {
  flex: 1; font-size: 15px; font-family: var(--serif); font-weight: 700;
  border: none; background: none; outline: none; color: var(--ink);
  padding: 6px 4px; letter-spacing: .5px;
}
.plan-window {
  margin-top: 12px; padding: 14px 16px;
  background: linear-gradient(120deg, #F9EFDD, #F5E6CC);
  border: 1px solid var(--gold-soft);
}
.plan-window .t { font-size: 11px; color: var(--ink-2); letter-spacing: 2px; }
.plan-window .d { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--cinnabar-deep); margin-top: 6px; letter-spacing: 1px; }
.plan-window .n { font-size: 11px; color: var(--ink-2); margin-top: 5px; line-height: 1.7; }

.rec-list { display: flex; flex-direction: column; gap: 10px; }
.rec-card { display: flex; gap: 12px; padding: 13px 14px; align-items: flex-start; }
.rec-rank {
  flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 15px;
  background: linear-gradient(160deg, var(--cinnabar), var(--cinnabar-deep)); color: #FBF3E3;
  box-shadow: var(--shadow-1);
}
.rec-card .body { flex: 1; min-width: 0; }
.rec-card .rn { font-family: var(--serif); font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rec-card .why { font-size: 11px; color: var(--ink-2); margin-top: 5px; line-height: 1.7; }
.rec-card .score {
  flex: none; text-align: center; font-family: var(--serif);
}
.rec-card .score .v { font-size: 19px; font-weight: 700; color: var(--dai); }
.rec-card .score .l { font-size: 9px; color: var(--ink-3); letter-spacing: 1px; }

.tip-card { margin-top: 12px; padding: 14px 16px; }
.tip-card h4 { font-family: var(--serif); font-size: 14px; letter-spacing: 1px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.tip-card ul { list-style: none; }
.tip-card li {
  font-size: 12px; color: var(--ink-2); line-height: 1.8; padding-left: 18px; position: relative;
}
.tip-card li::before { content: "◈"; position: absolute; left: 2px; color: var(--gold); font-size: 9px; top: 3px; }

/* ---- 分享区 ---- */
.share-zone { margin-top: 16px; text-align: center; }
.share-zone .slogan { font-family: var(--serif); font-size: 13px; color: var(--ink-2); letter-spacing: 2px; margin-bottom: 12px; }
.share-btns { display: flex; gap: 10px; }
.btn {
  flex: 1; padding: 13px 10px; border-radius: 12px; font-size: 14px; letter-spacing: 2px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: transform .15s;
}
.btn:active { transform: scale(.97); }
.btn-main {
  background: linear-gradient(160deg, var(--cinnabar), var(--cinnabar-deep)); color: #FBF3E3;
  box-shadow: 0 4px 16px rgba(180,67,47,.35); font-family: var(--serif); font-weight: 700;
}
.btn-ghost {
  background: var(--paper-2); border: 1px solid var(--gold); color: var(--cinnabar-deep);
  font-family: var(--serif); font-weight: 700;
}

/* ---- 底部 tab ---- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 60;
  background: rgba(252, 248, 238, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px 8px calc(8px + env(safe-area-inset-bottom));
}
.tab-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px; color: var(--ink-3); letter-spacing: 2px; padding: 4px 0;
  font-family: var(--serif);
}
.tab-item svg { width: 22px; height: 22px; }
.tab-item.on { color: var(--cinnabar); }
.tab-item.on svg { filter: drop-shadow(0 1px 3px rgba(180,67,47,.4)); }

/* ---- 兑换码门 ---- */
.gate {
  position: fixed; inset: 0; z-index: 200;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.gate::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(194,160,90,.14), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(180,67,47,.08), transparent 50%);
}
.gate-card {
  position: relative; width: 100%; max-width: 360px; text-align: center;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px;
  padding: 36px 26px 28px; box-shadow: var(--shadow-2);
}
.gate-card::before, .gate-card::after {
  content: ""; position: absolute; width: 14px; height: 14px;
}
.gate-card::before { top: 8px; left: 8px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); border-radius: 4px 0 0 0; }
.gate-card::after { bottom: 8px; right: 8px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); border-radius: 0 0 4px 0; }
.gate-seal {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 12px;
  background: linear-gradient(160deg, var(--cinnabar), var(--cinnabar-deep));
  color: #FBF3E3; font-family: var(--serif); font-size: 21px; font-weight: 700;
  display: grid; place-items: center; line-height: 1.1;
  box-shadow: inset 0 0 0 2px rgba(251,243,227,.5), var(--shadow-2);
  transform: rotate(-3deg);
}
.gate-card h2 { font-family: var(--serif); font-size: 23px; letter-spacing: 4px; font-weight: 700; }
.gate-card .gsub { font-size: 11px; color: var(--ink-3); letter-spacing: 3px; margin-top: 6px; }
.gate-card .gdesc { font-size: 12px; color: var(--ink-2); line-height: 1.9; margin: 16px 0 20px; }
.gate-input {
  width: 100%; text-align: center; font-size: 17px; letter-spacing: 3px;
  font-family: var(--serif); font-weight: 700;
  border: 1px solid var(--line); border-radius: 10px; padding: 13px;
  background: #fff; outline: none; color: var(--ink); text-transform: uppercase;
}
.gate-input:focus { border-color: var(--cinnabar); box-shadow: 0 0 0 3px rgba(180,67,47,.12); }
.gate-btn {
  width: 100%; margin-top: 14px; padding: 14px; border-radius: 10px;
  background: linear-gradient(160deg, var(--cinnabar), var(--cinnabar-deep));
  color: #FBF3E3; font-family: var(--serif); font-size: 16px; font-weight: 700; letter-spacing: 4px;
  box-shadow: 0 4px 16px rgba(180,67,47,.35);
}
.gate-btn:active { transform: scale(.98); }
.gate-err { font-size: 11px; color: var(--cinnabar); margin-top: 10px; min-height: 16px; letter-spacing: 1px; }
.gate-demo {
  margin-top: 18px; font-size: 10px; color: var(--ink-3); line-height: 1.8;
  border-top: 1px dashed var(--line); padding-top: 14px; letter-spacing: 1px;
}
.gate-demo code {
  font-family: var(--serif); background: var(--cinnabar-bg); color: var(--cinnabar-deep);
  padding: 2px 7px; border-radius: 5px; font-size: 11px; letter-spacing: 1px; cursor: pointer;
}

/* ---- 弹层 ---- */
.sheet-mask {
  position: fixed; inset: 0; z-index: 100; background: rgba(46, 42, 36, .45);
  display: none; align-items: flex-end; justify-content: center;
}
.sheet-mask.show { display: flex; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; } }
.sheet {
  width: 100%; max-width: 480px; max-height: 82vh; overflow-y: auto;
  background: var(--paper); border-radius: 20px 20px 0 0;
  border: 1px solid var(--line); border-bottom: none;
  padding: 20px 18px calc(24px + env(safe-area-inset-bottom));
  animation: slideUp .3s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes slideUp { from { transform: translateY(60px); opacity: .4; } }
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 14px; }
.sheet h3 { font-family: var(--serif); font-size: 19px; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
.sheet .skind { font-size: 10px; color: var(--dai); background: var(--dai-bg); padding: 3px 9px; border-radius: 6px; letter-spacing: 1px; }
.sheet .sdesc { font-size: 12px; color: var(--ink-2); line-height: 1.8; margin: 10px 0 14px; }
.sheet .skv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.sheet .kv {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.sheet .kv .k { font-size: 10px; color: var(--ink-3); letter-spacing: 1px; }
.sheet .kv .v { font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--cinnabar-deep); margin-top: 3px; }
.sheet .stip {
  background: linear-gradient(120deg, #F9EFDD, #F5E6CC); border: 1px solid var(--gold-soft);
  border-radius: 10px; padding: 12px 14px; font-size: 12px; color: var(--ink-2); line-height: 1.8;
}
.sheet .stip b { color: var(--cinnabar-deep); }
.feeders-title { font-family: var(--serif); font-size: 14px; margin: 16px 0 10px; letter-spacing: 1px; display: flex; align-items: center; gap: 6px; }
.feeder-row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 9px 12px; background: var(--paper-2); border: 1px solid var(--line-2);
  border-radius: 9px; margin-bottom: 7px; font-size: 12px;
}
.feeder-row .fn { font-weight: 600; }
.feeder-row .fd { color: var(--cinnabar-deep); font-size: 11px; }
.feeder-row .fs { color: var(--ink-3); font-size: 10px; flex: none; }

/* ---- 海报预览 ---- */
.poster-mask {
  position: fixed; inset: 0; z-index: 150; background: rgba(46,42,36,.7);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.poster-mask.show { display: flex; animation: fadeIn .3s; }
.poster-wrap {
  text-align: center;
  width: 100%; max-width: 360px;          /* 限死包含块宽度，防止被 canvas 750px 固有宽度撑爆 */
  max-height: 92vh;
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.poster-wrap canvas {
  max-width: 100%; max-height: 76vh; width: auto; height: auto;   /* 按 750:1334 内在比例等比缩小 */
  border-radius: 12px; box-shadow: var(--shadow-2);
}
.poster-tip { font-size: 11px; color: #F5EFE0; letter-spacing: 1px; line-height: 1.6; }

/* ---- toast ---- */
.toast {
  position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%) translateY(20px);
  background: rgba(46,42,36,.88); color: #F5EFE0; font-size: 12px; letter-spacing: 1px;
  padding: 10px 20px; border-radius: 99px; z-index: 300; opacity: 0; pointer-events: none;
  transition: all .3s; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- 页脚 ---- */
.foot {
  text-align: center; font-size: 9px; color: var(--ink-3); line-height: 1.9;
  padding: 24px 30px 10px; letter-spacing: 1px;
}
.foot .fseal { font-family: var(--serif); color: var(--cinnabar); letter-spacing: 3px; font-size: 10px; }

/* ============================================================
 * 区县级颗粒度 · 定位 · 热度 新增样式
 * ============================================================ */

/* ---- 城池页摘要 ---- */
.city-summary {
  font-size: 10px; color: var(--ink-3); letter-spacing: 1px;
  padding: 0 2px 8px; text-align: center;
}

/* ---- 城市卡展开区县 ---- */
.city-card .name .tag.days { background: var(--dai-bg); color: var(--dai); }
.zones {
  display: none; flex-direction: column; gap: 4px;
  background: var(--paper-3); border: 1px solid var(--line-2); border-top: none;
  border-radius: 0 0 12px 12px; padding: 8px 10px; margin: -6px 0 4px;
}
.zones.open { display: flex; }
.city-card.open { border-radius: 12px 12px 0 0; }
.zone-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; background: var(--paper-2);
  border: 1px solid var(--line-2); border-radius: 8px;
  font-size: 11px; cursor: pointer; transition: transform .15s;
}
.zone-row:active { transform: scale(.98); background: #fff; }
.zone-row .zn { font-weight: 700; font-family: var(--serif); flex: none; min-width: 64px; }
.zone-row .zd { flex: 1; color: var(--cinnabar-deep); letter-spacing: .3px; }
.zone-row .zs { flex: none; color: var(--ink-3); font-size: 10px; }

/* ---- 锦囊页：定位/区县/自定义 ---- */
.plan-city { position: relative; }
.locate-btn {
  flex: none; font-size: 11px; padding: 7px 12px; border-radius: 99px;
  background: var(--dai-bg); color: var(--dai); border: 1px solid #C4D4D8;
  letter-spacing: 1px; font-family: var(--serif); font-weight: 700;
}
.locate-btn:active { transform: scale(.95); }
.plan-zone { margin-top: 10px; }
.plan-zone select {
  flex: 1; font-size: 13px; font-family: var(--serif); font-weight: 700;
  border: none; background: none; outline: none; color: var(--ink); padding: 6px 4px;
}
.plan-custom { margin: 10px 2px 0; }
.custom-toggle {
  display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2);
  cursor: pointer; letter-spacing: .5px;
}
.custom-toggle input { width: 15px; height: 15px; accent-color: var(--cinnabar); }
.custom-dates {
  display: none; align-items: center; gap: 8px; margin-top: 10px;
}
.custom-dates input {
  flex: 1; font-size: 13px; font-family: var(--serif); color: var(--ink);
  border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px;
  background: var(--paper-2); outline: none;
}
.custom-dates input:focus { border-color: var(--cinnabar); }
.custom-dates .cd-sep { color: var(--ink-3); font-size: 12px; }

/* ---- 目的地卡：热度行 ---- */
.dest-card .hot-row {
  display: flex; align-items: center; gap: 7px; margin-top: 8px;
  font-size: 10px; color: var(--ink-3);
}
.dest-card .hot-row .hl { letter-spacing: 1px; }
.dest-card .hot-row b { font-family: var(--serif); font-size: 13px; color: var(--cinnabar-deep); }
.dest-card .hot-bar {
  flex: 1; height: 5px; border-radius: 3px; background: var(--paper-3);
  border: 1px solid var(--line-2); overflow: hidden;
}
.dest-card .hot-bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, #D08A55, #B4432F);
}
.dest-card .hot-row .hs { flex: none; font-size: 9px; letter-spacing: .5px; }

/* ---- 目的地详情：渠道热度 ---- */
.channels {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 12px;
}
.channels .ch-head { font-size: 12px; color: var(--ink-2); letter-spacing: 1px; margin-bottom: 10px; }
.channels .ch-head b { font-family: var(--serif); font-size: 17px; color: var(--cinnabar-deep); margin: 0 2px; }
.channels .ch-note { display: block; font-size: 9px; color: var(--ink-3); margin-top: 3px; letter-spacing: .5px; }
.ch-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.ch-row .cn { flex: none; width: 58px; font-size: 10px; color: var(--ink-2); }
.ch-row .ch-bar {
  flex: 1; height: 6px; border-radius: 3px; background: var(--paper-3);
  border: 1px solid var(--line-2); overflow: hidden;
}
.ch-row .ch-bar i { display: block; height: 100%; background: linear-gradient(90deg, #D08A55, #B4432F); }
.ch-row .cv { flex: none; width: 22px; text-align: right; font-size: 10px; font-family: var(--serif); font-weight: 700; color: var(--ink-2); }
.curve-title { font-size: 10px; color: var(--ink-3); letter-spacing: 1px; margin: 0 0 4px; }
#dsCurve svg { width: 100%; height: auto; display: block; }
#dsCurve { margin-bottom: 14px; }

/* 桌面端提示 */
.desktop-note { display: none; }
@media (min-width: 520px) {
  .desktop-note {
    display: block; position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
    font-size: 11px; color: var(--ink-3); letter-spacing: 2px; z-index: 10;
    background: rgba(252,248,238,.8); padding: 4px 14px; border-radius: 99px; border: 1px solid var(--line);
  }
}
