/* 出发前 · 样式
   清新：白底、淡色光斑、大圆角、柔和投影；灵动：大图、横滑、悬停浮起、轮播。
   --accent 由每个目的地覆盖。 */

:root {
  color-scheme: light;  /* 全站固定浅色，不跟系统深色模式 */
  --bg: #f7fafd; --panel: #ffffff; --line: rgba(20, 40, 70, .08); --fg: #15202e; --muted: #67768a;
  --accent: #4f8cff; --ok: #1fae7a; --ok-soft: #e4f7ef; --warn-bg: #fff3d6; --warn-fg: #8a5a00;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, white);
  --accent-deep: color-mix(in srgb, var(--accent) 78%, #15202e);
  --shadow: 0 8px 28px rgba(30, 60, 110, .08), 0 1px 2px rgba(30, 60, 110, .05);
  --shadow-lg: 0 22px 56px rgba(30, 60, 110, .16);
  --sky: #d3e8ff; --mint: #d2f5e8; --peach: #ffe4d1; --lilac: #e7deff;
  --f: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
  --mono: "SF Mono", Menlo, ui-monospace, monospace;
  --r: 22px;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--f); line-height: 1.65; overflow-x: hidden; }
a { color: var(--accent-deep); }
img { display: block; max-width: 100%; }
.wrap { margin: 0 auto; padding: 0 clamp(16px, 4vw, 72px); }
body::before, body::after { content: ""; position: fixed; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .65; pointer-events: none; }
body::before { width: 520px; height: 520px; left: -180px; top: -140px; background: radial-gradient(circle, var(--sky), transparent 70%); }
body::after { width: 560px; height: 560px; right: -220px; top: 40vh; background: radial-gradient(circle, var(--mint), transparent 70%); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.sec, .page-head, .glance, .plan-box, .article { animation: rise .6s ease backwards; }  /* backwards：动画结束后不留 transform，不然里面 position: fixed 的弹出面板会被困在区块里 */

/* ---------- 顶栏 ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(16px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.logo { font-weight: 800; font-size: 20px; color: var(--fg); text-decoration: none; display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.logo i { width: 26px; height: 26px; border-radius: 8px; background: url("favicon.svg") center / cover no-repeat; box-shadow: 0 4px 12px rgba(79, 140, 255, .35); }
.menu { display: flex; gap: 2px; background: var(--panel); padding: 4px; border-radius: 999px; box-shadow: var(--shadow); overflow-x: auto; scrollbar-width: none; }
.menu::-webkit-scrollbar { display: none; }
.menu a { color: var(--muted); text-decoration: none; font-size: 14px; padding: 6px 14px; border-radius: 999px; white-space: nowrap; transition: .2s; }
.menu a.on, .menu a:hover { color: var(--fg); background: var(--accent-soft); }
/* 首页：顶栏浮在大图上 */
body.home .top { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; transition: background .3s; }
body.home.scrolled .top { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(16px); }
body.home:not(.scrolled) .logo { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
body.home:not(.scrolled) .menu { background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); box-shadow: none; }
body.home:not(.scrolled) .menu a { color: rgba(255, 255, 255, .85); }
body.home:not(.scrolled) .menu a:hover { background: rgba(255, 255, 255, .2); color: #fff; }
@media (max-width: 640px) { .menu a { padding: 6px 10px; font-size: 13.5px; } }

main { padding-bottom: 60px; }
h1 { font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.lead { color: var(--muted); font-size: 15.5px; max-width: 720px; margin-top: 6px; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--accent-deep); background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; }
.sec { margin-top: 56px; scroll-margin-top: 90px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-head a { font-size: 14px; font-weight: 600; text-decoration: none; }
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: 42px; }
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.shade { position: absolute; inset: 0; pointer-events: none; }

/* ---------- 首页大图 ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; color: #fff; overflow: hidden; margin-top: -60px; background: #15202e; text-align: center; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease; }
.slides img.on { opacity: 1; animation: kb 8s linear forwards; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-in { position: relative; width: 100%; max-width: 980px; padding: 100px 16px 80px; }
.eyebrow { font-size: 14px; letter-spacing: .08em; opacity: .9; }
.hero h1 { font-size: 52px; margin: 12px 0 18px; text-shadow: 0 4px 28px rgba(0, 0, 0, .35); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #7cc4ff, #5ee8bf); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)) drop-shadow(0 4px 16px rgba(0, 0, 0, .5)); }
.hchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.hchips a { color: #fff; text-decoration: none; font-size: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26); backdrop-filter: blur(8px); transition: .2s; }
.hchips a:hover { background: rgba(255, 255, 255, .3); transform: translateY(-2px); }
.hero .now { position: absolute; right: 24px; bottom: 20px; font-size: 13px; opacity: .8; }
.hero .now b { font-size: 14px; margin-left: 4px; }
@media (min-width: 900px) { .hero h1 { font-size: 84px; } }

/* ---------- 排行程胶囊 ---------- */
.tripbar { display: flex; align-items: stretch; background: var(--panel); color: var(--fg); border-radius: 999px; padding: 6px; box-shadow: 0 18px 50px rgba(0, 0, 0, .22); text-align: left; max-width: 900px; margin: 0 auto; }
.tb-f { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 6px 18px; border-right: 1px solid var(--line); min-width: 0; cursor: pointer; }
.tb-f span { font-size: 12px; font-weight: 700; color: var(--fg); }
.tripbar .tb-f select, .tripbar .tb-f input { border: 0; border-radius: 0; background: transparent; color: var(--muted); font: inherit; font-size: 15px; padding: 2px 0; width: 100%; outline: none; cursor: pointer; }
.tb-f.fixed b { font-size: 15px; color: var(--muted); font-weight: 400; }
.tb-f:nth-last-child(2) { border-right: 0; }
.tb-go { border: 0; font: inherit; font-weight: 800; font-size: 16px; color: #fff; padding: 0 28px; border-radius: 999px; cursor: pointer; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, white)); box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 40%, transparent); transition: .2s; white-space: nowrap; }
.tb-go:hover { transform: translateY(-1px) scale(1.02); }
@media (max-width: 760px) {
  .tripbar { flex-wrap: wrap; border-radius: 24px; padding: 10px; gap: 4px; }
  .tb-f { flex: 1 1 45%; border-right: 0; background: var(--bg); border-radius: 14px; padding: 8px 14px; }
  .tb-go { flex: 1 1 100%; padding: 14px; margin-top: 4px; }
}

/* ---------- 横滑 ---------- */

/* ---------- 目的地卡 ---------- */
.dcard, .ptile-img { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, white), var(--accent)); box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s; }
.dcard:hover, .ptile-img:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dcard img, .ptile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.dcard:hover img, .ptile-img:hover img { transform: scale(1.06); }
.dcard .shade, .ptile-img .shade { background: linear-gradient(to top, rgba(8, 18, 34, .72) 0%, rgba(8, 18, 34, .18) 42%, transparent 62%); }
.dcard { aspect-ratio: 4 / 5; border-radius: 26px; }
.dcard .txt { position: absolute; left: 18px; right: 18px; bottom: 18px; }
.dcard b { display: block; font-size: 24px; font-weight: 800; }
.dcard p { font-size: 13px; opacity: .9; line-height: 1.5; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dcard .meta { display: inline-block; font-size: 12px; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.tag { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #15202e; }
.tag.free { background: #d3f6e6; color: #10724b; }

/* ---------- 目的地入口页 ---------- */
.dhero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, white), var(--accent)); }
.dhero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kb 12s ease-out forwards; }
.dhero .shade { background: linear-gradient(to top, rgba(8, 18, 34, .75) 0%, rgba(8, 18, 34, .15) 50%, transparent 75%); }
.dhero-in { position: relative; width: 100%; padding: 0 clamp(16px, 4vw, 72px) 96px; }
@media (min-width: 900px) { .dhero-in { padding-bottom: 110px; } }
.dhero .back { display: inline-block; color: #fff; text-decoration: none; font-size: 13.5px; opacity: .85; margin-bottom: 10px; }
.dhero h1 { font-size: 48px; text-shadow: 0 3px 20px rgba(0, 0, 0, .35); }
.dhero p { font-size: 17px; max-width: 640px; margin-top: 8px; opacity: .95; }
.dhero .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dhero .facts span { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.dhero .facts i { font-style: normal; opacity: .75; margin-right: 6px; }
@media (max-width: 640px) {  /* 手机上封面别占满一屏 */
  .dhero { min-height: 0; padding-top: 12vh; }
  .dhero-in { padding-bottom: 76px; }
  .dhero h1 { font-size: 38px; }
  .dhero p { font-size: 15px; }
  .dhero .facts span:nth-child(n+3) { display: none; }
}
@media (min-width: 900px) { .dhero h1 { font-size: 72px; } }

.plan-box { position: relative; z-index: 2; margin-top: -60px; background: var(--panel); border-radius: 28px; padding: 22px 22px 16px; box-shadow: var(--shadow-lg); }
.plan-box h2 { font-size: 19px; margin-bottom: 14px; }
.plan-box .tripbar { box-shadow: none; background: var(--bg); max-width: none; }
.plan-box .tb-f:not(:nth-last-child(2)) { border-right-color: var(--line); }
.prefs { margin-top: 12px; }
.prefs summary { cursor: pointer; font-size: 13.5px; color: var(--muted); list-style: none; display: inline-block; }
.prefs summary::-webkit-details-marker { display: none; }
.prefs summary::after { content: " ▾"; }
.prefs[open] summary::after { content: " ▴"; }
.prefs .chips { margin-top: 10px; }

.glance { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
@media (min-width: 760px) { .glance { grid-template-columns: repeat(4, 1fr); } }
.g { background: var(--panel); border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow); }
.g i { font-style: normal; font-size: 20px; }
.g span { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.g b { font-size: 15px; line-height: 1.45; }
.sec-head .must { font-size: 13px; color: var(--muted); }

.ptiles-img { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .ptiles-img { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; } .ptiles-img > :first-child { grid-row: span 2; } .ptiles-img > :last-child { grid-column: span 2; } }
.ptile-img { border-radius: 22px; min-height: 160px; }
.ptile-img b { position: absolute; left: 18px; bottom: 34px; font-size: 22px; font-weight: 800; }
.ptile-img span { position: absolute; left: 18px; bottom: 14px; font-size: 13px; opacity: .85; }
.ptile-img::after { content: "→"; position: absolute; right: 18px; bottom: 16px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); display: grid; place-items: center; font-size: 16px; transition: .25s; }
.ptile-img:hover::after { background: #fff; color: #15202e; }

/* ---------- 子页 ---------- */
.shead { position: relative; height: 240px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; margin-top: -60px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, white), var(--accent)); }
.shead > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shead .shade { background: linear-gradient(to top, rgba(8, 18, 34, .72), rgba(8, 18, 34, .15)); }
.shead-in { position: relative; width: 100%; padding: 0 clamp(16px, 4vw, 72px) 22px; }
@media (min-width: 900px) { .shead { height: 300px; } .shead-in { padding-bottom: 28px; } }
.shead-in a { color: #fff; font-weight: 700; text-decoration: none; font-size: 14px; }
.shead-in span { font-size: 14px; opacity: .8; margin-left: 6px; }
.shead-in h1 { font-size: 36px; margin-top: 4px; }
.shead-in p { font-size: 14.5px; opacity: .9; max-width: 760px; margin-top: 6px; }
@media (min-width: 900px) { .shead-in h1 { font-size: 46px; } }
.dtabs { position: sticky; top: 60px; z-index: 10; display: flex; gap: 10px; align-items: center; padding: 10px 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); overflow-x: auto; scrollbar-width: none; }
.dtabs::-webkit-scrollbar { display: none; }
.dtabs .tgrp { flex: 0 0 auto; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 14px; background: #eef2f7; }
.dtabs .gsep { font-size: 11.5px; font-weight: 600; color: var(--muted); padding: 0 8px 0 10px; letter-spacing: .5px; }
.dtabs a { flex: 0 0 auto; font-size: 13.5px; padding: 6px 12px; border-radius: 10px; color: #4a5566; text-decoration: none; transition: background .2s, color .2s; }
.dtabs a:hover { background: rgba(255, 255, 255, .7); color: var(--fg); }
.dtabs a.on { background: #fff; color: var(--accent); font-weight: 600; box-shadow: 0 1px 2px rgba(20, 32, 50, .08), 0 2px 8px rgba(20, 32, 50, .06); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pager .cta { margin: 0; }

/* ---------- 通用组件 ---------- */
.cta { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, white)); color: #fff; text-decoration: none; padding: 12px 24px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent); transition: .25s; }
.cta:hover { transform: translateY(-2px); }
.pill { font: inherit; font-size: 14px; background: var(--panel); color: var(--fg); border: 0; padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow); cursor: pointer; text-decoration: none; transition: .2s; }
.pill:hover { transform: translateY(-2px); }
.btn { font-size: 13px; padding: 6px 13px; border-radius: 999px; color: #fff; background: var(--accent); text-decoration: none; white-space: nowrap; }
.link { background: none; border: 0; color: var(--accent-deep); cursor: pointer; font: inherit; font-size: 13px; padding: 0; }
.panel { background: var(--panel); border-radius: var(--r); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.panel h3 { font-size: 16px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.panel h3 small { color: var(--muted); font-weight: 400; font-size: 13px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.field span { color: var(--muted); font-size: 13px; }
select, input[type=number], input[type=text], input[type=date] { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--fg); font: inherit; font-size: 15px; }
select:focus, input:focus { outline: none; border-color: var(--accent); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .grid { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 15px; font-size: 14px; cursor: pointer; background: var(--panel); transition: .2s; }
.chips.small label { font-size: 13px; padding: 6px 12px; }
.chips label:has(input:checked) { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips input { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button { border: 0; background: var(--panel); color: var(--fg); font: inherit; font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer; box-shadow: var(--shadow); transition: .2s; }
.filters button.on { background: var(--accent); color: #fff; }
.filters .sep { width: 1px; background: var(--line); margin: 4px 4px; }
.warn { background: var(--accent-soft); border-radius: 14px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 16px; }
.tip-box { background: var(--ok-soft); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; margin-top: 10px; }
.progress { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 6px 0 14px; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ok), #7ee8c7); transition: width .3s; }
.meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) {
  .two { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; align-items: start; }
  .two > .panel { margin-bottom: 0; }
  #checkGroups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  #checkGroups .panel { margin-bottom: 0; }
  .cost-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
}

/* 列表、步骤、时间线 */
ul.list, ol.steps { list-style: none; }
.list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list input[type=checkbox] { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ok); }
.list b { display: block; font-size: 15px; font-weight: 600; }
.list p { color: var(--muted); font-size: 13.5px; }
.list li.done b { text-decoration: line-through; color: var(--muted); }
.steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps li i { font-style: normal; color: #fff; background: var(--accent); width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 2px; }
.steps b { display: block; font-size: 15px; }
.steps p { color: var(--muted); font-size: 13.5px; }
.timeline { list-style: none; border-left: 2px dashed color-mix(in srgb, var(--accent) 40%, transparent); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 20px 22px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--panel); border: 3px solid var(--accent); }
.timeline b { display: block; font-size: 15px; }
.timeline p { color: var(--muted); font-size: 14px; }
.timeline-wrap { max-width: 760px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
td, th { padding: 10px 4px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 13px; border-top: 0; }
td.num, th.num { text-align: right; font-family: var(--mono); white-space: nowrap; }
td small { display: block; color: var(--muted); font-size: 12.5px; }
tr.total td { font-weight: 700; font-size: 16px; border-top: 2px solid var(--fg); }
.big { font-size: 42px; font-weight: 800; line-height: 1.1; margin: 4px 0; color: var(--accent-deep); }
.big small { font-size: 15px; font-weight: 400; color: var(--muted); margin-left: 6px; }

/* ---------- 子页内容 ---------- */
.spots { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.spot, .food, .city { background: var(--panel); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: .3s; }
.spot:hover, .food:hover, .city:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.spot .ph, .food .ph { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent) 45%, white)); }
.spot .ph { aspect-ratio: 16 / 10; }
.food .ph { aspect-ratio: 4 / 3; }
.spot .ph img, .food .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.spot:hover .ph img, .food:hover .ph img { transform: scale(1.06); }
.spot .area { position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #15202e; }
.spot .must { position: absolute; right: 12px; top: 12px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
.spot .bd, .food .bd { padding: 16px 18px 18px; }
.spot b, .food b { display: block; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.spot .meta { display: block; font-size: 12.5px; color: var(--muted); margin: 2px 0 8px; }
.spot p { font-size: 14px; color: var(--muted); }
.spot .tip { margin-top: 12px; font-size: 13px; padding: 9px 12px; border-radius: 12px; background: var(--accent-soft); }
.spot .tip::before { content: "💡 "; }
.foods { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.food .where { font-size: 13px; }
.food .price { font-size: 12.5px; font-weight: 700; color: var(--accent-deep); margin: 4px 0; }
.food p { font-size: 13.5px; color: var(--muted); }
.cities { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 900px) { .cities { grid-template-columns: 1fr 1fr; } }
.city { display: grid; grid-template-columns: 130px 1fr; }
@media (min-width: 900px) { .city { grid-template-columns: 170px 1fr; } }
.city .ph { background: linear-gradient(135deg, var(--accent-soft), var(--accent)); min-height: 140px; }
.city .ph img { width: 100%; height: 100%; object-fit: cover; }
.city .bd { padding: 14px 16px; }
.city .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.city b { font-size: 18px; }
.city .days { font-size: 12px; font-weight: 700; color: var(--accent-deep); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.city p { font-size: 13.5px; color: var(--muted); margin: 6px 0; }
.city small { font-size: 12px; color: var(--muted); }
/* 什么时候去：推荐一句话 + 全年气温条形图 + 12 个月卡片 */
.when-best { display: flex; gap: 14px; align-items: center; padding: 16px 20px; margin-bottom: 18px; border-radius: 20px; background: linear-gradient(120deg, var(--accent-soft), #fff 70%); box-shadow: var(--shadow); }
.when-best > i { font-style: normal; font-size: 26px; }
.when-best b { display: block; font-size: 13px; color: var(--accent-deep); letter-spacing: .04em; }
.when-best span { font-size: 16px; font-weight: 600; }
.ychart-box { background: #fff; border-radius: 22px; padding: 20px 22px 16px; box-shadow: var(--shadow); margin-bottom: 18px; }
.yc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.yc-head h3 { font-size: 16px; margin: 0; }
.yc-head .legend { margin: 0; }
.ychart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.yc-col { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.yc-track { position: relative; width: 100%; max-width: 46px; height: 170px; border-radius: 12px; background: #f3f6fa; }
.yc-track i { position: absolute; left: 18%; right: 18%; border-radius: 999px; background: linear-gradient(180deg, #f6a3ad, #f9c9cf); }
.yc-col.hot .yc-track i { background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #fff)); box-shadow: 0 6px 14px color-mix(in srgb, var(--accent) 30%, transparent); }
.yc-col.mid .yc-track i { background: linear-gradient(180deg, #b9c6d8, #dfe6ef); }
.yc-col.low .yc-track i { background: linear-gradient(180deg, var(--ok), color-mix(in srgb, var(--ok) 45%, #fff)); }
.yc-track .t-hi, .yc-track .t-lo { position: absolute; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: var(--fg); white-space: nowrap; }
.yc-track .t-hi { bottom: 100%; margin-bottom: 3px; }
.yc-track .t-lo { top: 100%; margin-top: 3px; color: var(--muted); font-weight: 600; }
.yc-col b { font-size: 12.5px; font-weight: 650; color: var(--muted); }
.yc-col.hot b { color: var(--accent-deep); }
.months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mo { position: relative; border-radius: 20px; padding: 16px 16px 14px; background: #fff; box-shadow: var(--shadow); }
.mo-h { display: flex; justify-content: space-between; align-items: center; }
.mo-h b { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.mo-h b small { font-size: 13px; font-weight: 600; margin-left: 2px; color: var(--muted); }
.mo em { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef2f7; color: #5b6b80; }
.mo.hot em { background: var(--accent); color: #fff; }
.mo.low em { background: var(--ok-soft); color: var(--ok); }
.mo.hot { box-shadow: var(--shadow), inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 35%, transparent); }
.mo-t { font-size: 13px; color: var(--muted); margin-top: 10px; }
.mo p { font-size: 13.5px; margin-top: 6px; line-height: 1.6; }
@media (max-width: 900px) { .months { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .months { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mo { padding: 14px 13px 12px; }
  .mo-h b { font-size: 22px; }
  .ychart-box { padding: 16px 12px 12px; }
  .ychart { gap: 3px; }
  .yc-track { height: 140px; border-radius: 8px; }
  .yc-track .t-hi, .yc-track .t-lo { font-size: 9.5px; }
  .yc-col b { font-size: 10.5px; }
}
.legend { font-size: 12.5px; color: var(--muted); margin-top: 12px; display: flex; gap: 14px; align-items: center; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 5px; vertical-align: -1px; }
.legend .hot { background: var(--accent); } .legend .mid { background: #b9c6d8; } .legend .low { background: var(--ok); }
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.area-card { background: var(--panel); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); }
.area-card b { display: block; font-size: 17px; }
.area-card .who { display: inline-block; font-size: 12.5px; color: var(--accent-deep); background: var(--accent-soft); padding: 2px 10px; border-radius: 999px; margin: 6px 0 10px; }
.area-card p { font-size: 14px; color: var(--muted); }
.area-card .price { margin-top: 12px; font-size: 13px; font-weight: 700; }
.ptiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.ptile { background: var(--panel); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.ptile .ic { font-size: 22px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--accent-soft); margin-bottom: 10px; }
.ptile b { display: block; font-size: 16px; margin-bottom: 4px; }
.ptile p { font-size: 13.5px; color: var(--muted); }
.phrases { margin-top: 16px; }
.phrases td { padding: 9px 6px; font-size: 14px; }
.phrases .loc { font-weight: 600; }
.phrases .say { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
ul.shop { list-style: none; }
.shop li { padding: 12px 0; border-top: 1px solid var(--line); }
.shop li:first-child { border-top: 0; }
.shop b { display: block; font-size: 15px; }
.shop .where { display: block; font-size: 12.5px; color: var(--accent-deep); margin: 2px 0 4px; }
.shop p { font-size: 13.5px; color: var(--muted); }
.tax p { font-size: 14px; }
.faqs { display: grid; gap: 10px; max-width: 860px; }
.faq { background: var(--panel); border-radius: 16px; box-shadow: var(--shadow); padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--accent); font-weight: 400; transition: .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { font-size: 14px; color: var(--muted); padding: 0 0 16px; }

/* ---------- 攻略 ---------- */
.acards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
@media (min-width: 900px) { .acards.three { grid-template-columns: repeat(3, 1fr); } }
.acard { display: flex; flex-direction: column; background: var(--panel); border-radius: var(--r); overflow: hidden; color: var(--fg); text-decoration: none; box-shadow: var(--shadow); transition: .3s; }
.acard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.acard .ph { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--sky), var(--mint)); }
.acard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.acard:hover .ph img { transform: scale(1.05); }
.ph-icon { width: 100%; height: 100%; display: grid; place-items: center; font-size: 56px; background: linear-gradient(135deg, var(--peach), var(--lilac)); }
.acard .tag { top: 12px; left: 12px; }
.acard .bd { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.acard b { font-size: 17px; line-height: 1.4; font-weight: 700; }
.acard p { font-size: 13.5px; color: var(--muted); margin-top: 6px; flex: 1; }
.acard .meta { display: flex; justify-content: flex-start; gap: 12px; font-size: 12px; color: var(--muted); margin-top: 14px; }
@media (min-width: 800px) { .acard.big { grid-column: span 2; } .acard.big .ph { aspect-ratio: 21 / 9; } .acard.big b { font-size: 24px; } }
.article-wrap { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .article-wrap { grid-template-columns: minmax(0, 720px) 300px; gap: 56px; } .aside { position: sticky; top: 80px; } }
.acover { border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 9; margin-top: 24px; box-shadow: var(--shadow); }
.acover img { width: 100%; height: 100%; object-fit: cover; }
.acover .ph-icon { font-size: 72px; }
.article header { padding: 24px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.article header h1 { margin-top: 12px; }
.article .summary { color: var(--muted); font-size: 16px; margin-top: 8px; }
.article h2 { font-size: 21px; margin: 32px 0 10px; }
.article h3 { font-size: 17px; margin: 22px 0 8px; }
.article p { margin: 0 0 14px; font-size: 16px; }
.article ul, .article ol { margin: 0 0 14px 22px; font-size: 16px; }
.article li { margin-bottom: 4px; }
.article table { margin: 10px 0 18px; font-size: 14px; background: var(--panel); border-radius: 14px; box-shadow: var(--shadow); }
.article td, .article th { padding: 10px 12px; }
.article code { font-family: var(--mono); font-size: 14px; background: var(--accent-soft); padding: 1px 6px; border-radius: 6px; }
.article blockquote { border-left: 3px solid var(--accent); padding-left: 14px; color: var(--muted); margin: 0 0 14px; }
.article .back { display: inline-block; margin-top: 30px; font-size: 14px; }
.aside h3 { font-size: 12.5px; color: var(--muted); font-weight: 600; margin: 0 0 10px; letter-spacing: .06em; }
.aside .acards, .aside .posts { grid-template-columns: 1fr; margin-bottom: 28px; }
.aside .dcard { aspect-ratio: 16 / 10; margin-bottom: 28px; }
.posts { display: grid; gap: 12px; }
.post { display: block; background: var(--panel); border-radius: 16px; padding: 14px 16px; color: var(--fg); text-decoration: none; box-shadow: var(--shadow); }
.post b { display: block; font-size: 15px; line-height: 1.4; }
.post p { display: none; }
.post small { display: inline-block; font-size: 11.5px; color: var(--muted); margin-top: 6px; }

/* ---------- 工具页 ---------- */

/* ---------- 我的行程 ---------- */
.plan-hero { position: relative; margin-top: 18px; border-radius: 28px; overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, white), var(--accent)); box-shadow: var(--shadow-lg); }
.plan-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plan-hero .shade { background: linear-gradient(to top, rgba(8, 18, 34, .8), rgba(8, 18, 34, .1) 70%); }
.plan-hero .txt { position: relative; padding: 26px 24px; width: 100%; }
.plan-hero .kicker { background: rgba(255, 255, 255, .2); color: #fff; }
.plan-hero h1 { font-size: 40px; margin: 10px 0 6px; }
.plan-hero .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.plan-hero .facts div { background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); border-radius: 12px; padding: 6px 12px; font-size: 13px; }
.plan-hero .facts div span { opacity: .8; margin-right: 6px; }
.plan-hero details.budget { margin-top: 10px; font-size: 13px; }
.plan-hero details.budget summary { cursor: pointer; opacity: .85; list-style: none; }
.plan-hero details.budget summary::-webkit-details-marker { display: none; }
.plan-hero details.budget ul { list-style: none; margin: 8px 0 0; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .12); max-width: 460px; }
.plan-hero details.budget li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.plan-hero details.budget li span { opacity: .75; font-size: 12px; }
.plan-hero details.budget li b { white-space: nowrap; }
.xhs-tip { margin: 14px 0 0; padding: 12px 16px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 14%, var(--panel)); font-size: 14px; }
.plan-grid { display: grid; gap: 0 32px; }
@media (min-width: 960px) { .plan-grid { grid-template-columns: 1.15fr 1fr; align-items: start; } .plan-grid > div > .sec:first-child { margin-top: 56px; } }
.pdays { display: flex; flex-direction: column; gap: 10px; }
.pday { background: var(--panel); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); }
.pd-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pd-head .days { font-size: 11.5px; font-weight: 700; background: var(--accent); color: #fff; padding: 2px 9px; border-radius: 999px; }
.pd-head b { font-size: 14.5px; }
.pd-head em { font-style: normal; font-size: 12px; color: var(--muted); }
.pday ul { list-style: none; margin-top: 6px; }
.pday li { border-top: 1px dashed var(--line); }
.pday li:first-child { border-top: 0; }
.pday summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; font-size: 14px; }
.pday summary::-webkit-details-marker { display: none; }
.pday summary span { font-size: 12.5px; color: var(--muted); text-align: right; }
.pday details p { font-size: 13px; color: var(--muted); padding: 0 0 8px; }
.pday .free { font-size: 13px; color: var(--muted); margin-top: 6px; }
.pd-food { margin-top: 6px; font-size: 13px; padding: 6px 10px; border-radius: 8px; background: var(--ok-soft); }
.pd-food span { color: var(--muted); }
ul.todo { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.todo li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: var(--panel); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); }
.todo input { width: 20px; height: 20px; accent-color: var(--ok); }
.todo b { display: block; font-size: 14.5px; }
.todo span { font-size: 12.5px; color: var(--muted); }
.todo li.done b { text-decoration: line-through; color: var(--muted); }
ul.deadlines { list-style: none; display: flex; flex-direction: column; }
.deadlines li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; font-size: 14px; padding: 8px 0; border-top: 1px solid var(--line); }
.deadlines li:first-child { border-top: 0; }
.deadlines em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--accent-deep); background: var(--accent-soft); padding: 3px 9px; border-radius: 999px; text-align: center; }
.deadlines li.soon em { background: var(--warn-bg); color: var(--warn-fg); }
.deadlines li.past { opacity: .5; }
.small { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.svcs-row { display: flex; flex-direction: column; gap: 8px; }
.svc-row { display: flex; align-items: center; gap: 12px; background: var(--panel); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); color: var(--fg); text-decoration: none; font-size: 14px; transition: .2s; }
.svc-row:hover { transform: translateX(3px); }
.svc-row .price { font-size: 12.5px; font-weight: 800; color: #fff; background: var(--accent); padding: 2px 9px; border-radius: 999px; }
.trips { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 20px; }
.trip { display: block; background: var(--panel); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); color: var(--fg); text-decoration: none; }
.trip b { display: block; font-size: 18px; }
.trip span { font-size: 13px; color: var(--muted); }
.panel.empty { text-align: center; color: var(--muted); padding: 40px; margin-top: 20px; }

.credits { font-size: 12.5px; color: var(--muted); columns: 2; column-gap: 24px; }
.credits li { break-inside: avoid; margin-bottom: 4px; }
footer { margin-top: 64px; padding: 24px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.7; }

@media print {
  .top, .svcs-row, .btn, .book-bar, body::before, body::after { display: none !important; }
  .plan-hero { min-height: auto; box-shadow: none; color: #000; background: none; }
  .plan-hero img, .plan-hero .shade { display: none; }
  .panel, .pday, .todo li { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
}

/* 首页只有一屏 */
body.home main { padding-bottom: 0; }
/* 首页没有下方内容：页脚（备案号）叠在大图底边，白字 */
body.home { position: relative; }
body.home .sfoot { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; border: 0; padding: 0 0 12px; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 4px rgba(0, 0, 0, .55); }
body.home .sfoot a:hover { color: #fff; }
@media (max-width: 640px) { .hero .now { display: none; } }

/* 首页修正：铺满整屏、胶囊永远是白底、文字加深衬底 */
body.home .hero { margin-top: 0; height: 100vh; height: 100dvh; min-height: 560px; }
/* 遮罩只压标题后面一小片和顶栏，照片本身保持明亮；文字靠阴影衬出来 */
.hero .shade { background:
  radial-gradient(ellipse 46% 24% at 50% 46%, rgba(8, 18, 34, .18) 0%, transparent 100%),
  linear-gradient(180deg, rgba(8, 18, 34, .22) 0%, transparent 13%); }
.hero .slides img { filter: brightness(1.06) saturate(1.05); }
.hero h1 { text-shadow: 0 2px 6px rgba(0, 0, 0, .25), 0 6px 30px rgba(0, 0, 0, .35); }
.hero .eyebrow { text-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 1px 12px rgba(0, 0, 0, .55); }
.hero .tripbar { background: #fff; color: #15202e; }
.hero .tb-f { border-right-color: rgba(20, 40, 70, .1); }
.hero .tb-f span { color: #15202e; }
.hero .tb-f select, .hero .tb-f input { color: #4b5a6e; }
@media (max-width: 760px) { .hero .tb-f { background: #f3f6fa; } }

/* ---------- 首页花活 ---------- */
.slides { position: absolute; inset: -16px; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.rot { display: inline-block; perspective: 600px; }
.rot em { display: inline-block; font-style: normal; transform-origin: 50% 50% -20px; transition: transform .22s ease-in, opacity .22s ease-in; }
.rot em.out { transform: rotateX(90deg); opacity: 0; }
.rot em.in { animation: flipIn .4s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes flipIn { from { transform: rotateX(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
.hinfo { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 26px; min-height: 34px; }
.hinfo > * { font-size: 13.5px; padding: 6px 13px; border-radius: 999px; background: rgba(8, 18, 34, .35); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); color: #fff; text-decoration: none; white-space: nowrap; }
.hinfo .ok { background: rgba(31, 174, 122, .45); }
.hinfo i { font-style: normal; opacity: .35; }
.hinfo a { background: #fff; color: #15202e; font-weight: 700; border-color: #fff; }
.hinfo a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.hinfo.in > * { animation: chipIn .5s cubic-bezier(.2, .8, .3, 1.2) both; }
.hinfo.in > :nth-child(2) { animation-delay: .05s; } .hinfo.in > :nth-child(3) { animation-delay: .1s; }
.hinfo.in > :nth-child(4) { animation-delay: .15s; } .hinfo.in > :nth-child(5) { animation-delay: .2s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
.hchips button { position: relative; overflow: hidden; font: inherit; color: #fff; font-size: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26); backdrop-filter: blur(8px); cursor: pointer; transition: background .2s, transform .2s; }
.hchips button:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .26); }
.hchips button.on { background: rgba(255, 255, 255, .3); border-color: #fff; }
.hchips button i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }
.hchips button.on i { width: 100%; }
.hchips button.run i { width: 0; animation: prog 6s linear forwards; }
@keyframes prog { to { width: 100%; } }
.hchips .dice { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #fff)); border-color: transparent; font-weight: 700; }
.hchips .dice:active { transform: rotate(-8deg) scale(.95); }
.hero.landed .tripbar { animation: pop .6s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes pop { 40% { transform: scale(1.04); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 50%, transparent), 0 18px 50px rgba(0, 0, 0, .25); } }
.hero .tb-go { transition: background .6s; }
@media (max-width: 640px) { .hinfo > * { font-size: 12.5px; padding: 5px 10px; } .hinfo { margin-bottom: 18px; } }
@media (max-width: 640px) { .hero h1 { font-size: 9.2vw; white-space: nowrap; } .hero .eyebrow { font-size: 12px; } }

/* ---------- 目的地列表：帮你挑 ---------- */
.xfilters { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 26px 0 30px; }
.xf { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.xf > span { font-size: 12.5px; color: var(--muted); margin-right: 4px; }
.xf button { font: inherit; font-size: 13.5px; border: 0; padding: 7px 14px; border-radius: 999px; background: var(--panel); color: var(--fg); box-shadow: var(--shadow); cursor: pointer; transition: .2s; }
.xf button:hover { transform: translateY(-2px); }
.xf button.on { background: #15202e; color: #fff; }
.xf .toggle.on { background: var(--ok); color: #fff; }
.xgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
@media (min-width: 960px) { .xgrid { grid-template-columns: repeat(3, 1fr); } }
.xcard { position: relative; display: block; aspect-ratio: 4 / 3.3; border-radius: 26px; overflow: hidden; color: #fff; text-decoration: none; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, white), var(--accent)); box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s, opacity .3s; }
.xcard.hide { display: none; }
.xcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.xcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.xcard:hover > img { transform: scale(1.07); }
.xcard .shade { background: linear-gradient(to top, rgba(8, 18, 34, .78) 0%, rgba(8, 18, 34, .2) 45%, transparent 65%), linear-gradient(to bottom, rgba(8, 18, 34, .25), transparent 22%); }
.xcard .top-tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; }
.xcard .top-tags span { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #15202e; }
.xcard .top-tags .free { background: #d3f6e6; color: #10724b; }
.xcard .top-tags span:last-child { background: rgba(8, 18, 34, .45); color: #fff; backdrop-filter: blur(6px); }
.xcard .txt { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.xcard b { display: block; font-size: 28px; font-weight: 800; }
.xcard p { font-size: 13.5px; opacity: .9; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.xmeta { display: flex; gap: 8px; margin-top: 10px; }
.xmeta span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.xmeta .s-low { background: rgba(31, 174, 122, .55); }
.xmeta .s-hot { background: rgba(255, 107, 129, .6); }
.xcard .best { max-height: 0; opacity: 0; overflow: hidden; font-size: 12.5px; margin-top: 0; transition: .35s; }
.xcard:hover .best { max-height: 30px; opacity: .9; margin-top: 8px; }
.xempty { text-align: center; color: var(--muted); margin-top: 30px; }
@media (max-width: 640px) {
  .xfilters { align-items: stretch; gap: 8px; margin: 18px 0 20px; }
  .xf { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; }
  .xf::-webkit-scrollbar { display: none; }
  .xf > * { flex: 0 0 auto; }
  .xf[data-k="good"] { justify-content: center; }
}

/* 铺满屏幕：内容区不再限 1200，两边按屏宽留边 */
@media (min-width: 1500px) {
  .spots, .acards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .glance { max-width: none; }
}

/* ---------- 工具页 ---------- */
.thead { text-align: center; padding-top: 44px; }
.thead .lead { margin: 6px auto 0; }
.ttabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 26px; }
.ttabs button { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 14px; align-items: center; text-align: left; font: inherit; color: var(--fg); background: var(--panel); border: 2px solid transparent; border-radius: 22px; padding: 18px 20px; box-shadow: var(--shadow); cursor: pointer; transition: .25s; }
.ttabs button:hover { transform: translateY(-3px); }
.ttabs button.on { border-color: var(--accent); box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 22%, transparent); }
.ttabs i { grid-row: span 2; font-style: normal; font-size: 26px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--accent-soft); }
.ttabs b { font-size: 17px; }
.ttabs span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .ttabs { gap: 8px; } .ttabs button { grid-template-columns: 1fr; text-align: center; padding: 12px 6px; justify-items: center; } .ttabs i { grid-row: auto; width: 44px; height: 44px; font-size: 22px; } .ttabs span { display: none; } .ttabs b { font-size: 14px; } }
.tpane { display: none; animation: rise .4s ease both; }
.tpane.on { display: block; }

/* 行李 */
#luggage.on { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { #luggage.on { grid-template-columns: 340px 1fr; } .lg-side { position: sticky; top: 80px; } }
.lg-side { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.lg-q > span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--bg); border-radius: 999px; padding: 4px; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--panel); color: var(--fg); font-size: 20px; cursor: pointer; box-shadow: var(--shadow); }
.stepper b { min-width: 64px; text-align: center; font-size: 22px; }
.stepper b::after { content: " 天"; font-size: 13px; font-weight: 400; color: var(--muted); }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.pick button { display: flex; flex-direction: column; align-items: center; gap: 2px; font: inherit; font-size: 22px; padding: 10px 4px; border-radius: 16px; border: 2px solid var(--line); background: var(--bg); color: var(--fg); cursor: pointer; transition: .2s; }
.pick button em { font-style: normal; font-size: 12.5px; }
.pick button.on { border-color: var(--accent); background: var(--accent-soft); }
.lg-prog { display: flex; align-items: center; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.lg-prog b { display: block; font-size: 18px; }
.lg-prog span { display: block; font-size: 12.5px; color: var(--muted); }
.ring { --p: 0; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--ok) calc(var(--p) * 1%), var(--line) 0); position: relative; flex: 0 0 auto; }
.ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--panel); }
.ring b { position: relative; font-size: 17px; }
.lg-out { columns: 1; column-gap: 16px; }
@media (min-width: 700px) { .lg-out { columns: 2; } }
@media (min-width: 1300px) { .lg-out { columns: 3; } }
.lg-group { break-inside: avoid; background: var(--panel); border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow); margin-bottom: 16px; }
.lg-group h3 { font-size: 15px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.lg-group h3 i { font-style: normal; }
.lg-items { display: flex; flex-wrap: wrap; gap: 8px; }
.lg-item { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13.5px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--fg); cursor: pointer; transition: .2s; }
.lg-item i { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--muted); flex: 0 0 auto; transition: .2s; }
.lg-item.done { background: var(--ok-soft); border-color: var(--ok); color: var(--muted); text-decoration: line-through; }
.lg-item.done i { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 2.5px var(--ok-soft); }

/* 汇率 */
.fx-cur { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 12px; justify-content: center; flex-wrap: wrap; }
.fx-cur button { display: flex; align-items: center; gap: 6px; font: inherit; font-size: 20px; padding: 8px 14px; border-radius: 999px; border: 2px solid transparent; background: var(--panel); color: var(--fg); box-shadow: var(--shadow); cursor: pointer; }
.fx-cur b { font-size: 14px; }
.fx-cur button.on { border-color: var(--accent); background: var(--accent-soft); }
.fx-box { display: flex; align-items: center; gap: 12px; padding: 26px; max-width: 900px; margin: 10px auto 0; }
.fx-box.rev { flex-direction: row-reverse; }
.fx-in { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.fx-in > span { font-size: 13px; color: var(--muted); font-weight: 700; }
.fx-in div { display: flex; align-items: baseline; gap: 8px; border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.fx-in div:focus-within { border-color: var(--accent); }
.fx-in em { font-style: normal; font-size: 26px; color: var(--muted); }
.fx-in input { border: 0; background: transparent; font-size: 40px; font-weight: 800; padding: 0; width: 100%; color: var(--fg); }
.fx-in input:focus { outline: none; }
.fx-swap { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 22px; cursor: pointer; flex: 0 0 auto; transition: transform .4s; }
.fx-box.rev .fx-swap { transform: rotate(180deg); }
.fx-rate { text-align: center; font-size: 13px; color: var(--muted); margin: 14px 0 22px; }
.fx-rate input { width: 80px; padding: 3px 8px; font-size: 13px; display: inline-block; }
.fx-quick { max-width: 900px; margin: 0 auto; }
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.fx-grid div { background: var(--bg); border-radius: 14px; padding: 12px 14px; }
.fx-grid span { display: block; font-size: 12.5px; color: var(--muted); }
.fx-grid b { font-size: 20px; }
@media (max-width: 640px) { .fx-box { flex-direction: column; padding: 18px; } .fx-box.rev { flex-direction: column-reverse; } .fx-swap { transform: rotate(90deg); } .fx-box.rev .fx-swap { transform: rotate(270deg); } .fx-in { width: 100%; } .fx-in input { font-size: 32px; } }

/* 时钟 */
.clocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.clock { border-radius: 22px; padding: 18px 20px; box-shadow: var(--shadow); transition: .3s; }
.clock:hover { transform: translateY(-4px); }
.clock.day { background: linear-gradient(160deg, #fff 0%, color-mix(in srgb, var(--accent) 16%, #fff) 100%); color: #15202e; }
.clock.night { background: linear-gradient(160deg, #1b2740 0%, color-mix(in srgb, var(--accent) 35%, #0e1626) 100%); color: #fff; }
.ck-top { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; }
.ck-top i { font-style: normal; }
.clock b { display: block; font-size: 46px; font-weight: 800; letter-spacing: .02em; margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.clock p { font-size: 13px; opacity: .7; }
.clock em { display: inline-block; font-style: normal; font-size: 12px; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(127, 140, 160, .16); }
#lgClimate { grid-template-columns: repeat(4, 1fr); }
#lgType { grid-template-columns: repeat(5, 1fr); }
#lgType button { font-size: 20px; padding: 10px 2px; }
#lgType button em { font-size: 12px; }
.from-sel { display: inline-block; width: auto; margin-top: 6px; padding: 4px 10px; font-size: 12.5px; border-radius: 999px; }

/* 汇率表 */
.fx-table { max-width: 900px; margin: 16px auto 0; }
.fx-table h3 small { font-weight: 400; }
.fx-table tbody tr { cursor: pointer; transition: background .15s; }
.fx-table tbody tr:hover { background: var(--accent-soft); }
.fx-table tbody tr.on { background: var(--accent-soft); }
.fx-table td { padding: 12px 8px; vertical-align: middle; }
.fx-table td b { font-weight: 700; }
.fx-table td.num { font-family: var(--f); font-variant-numeric: tabular-nums; }
.spark-h, .spark-c { text-align: center; }
.spark { width: 120px; height: 32px; }
.spark polyline { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark.up polyline { stroke: #e5484d; }
.spark.down polyline { stroke: var(--ok); }
.chg span { display: block; font-weight: 700; }
.chg small { font-size: 11.5px; color: var(--muted); }
.chg .cheap { color: var(--ok); }
.chg .dear { color: #e5484d; }
@media (max-width: 640px) { .fx-table .spark-h, .fx-table .spark-c { display: none; } .fx-table td, .fx-table th { padding: 10px 4px; font-size: 13px; } }
.fx-table th { font-family: var(--f); white-space: nowrap; }
.fx-table td:first-child { white-space: nowrap; }
@media (max-width: 640px) {
  .fx-table { padding: 14px 12px; }
  .fx-table th:nth-child(3), .fx-table td:nth-child(3) { display: none; }
  .fx-table td, .fx-table th { padding: 10px 4px; font-size: 13px; }
  .fx-table td.num b { font-size: 14px; }
}

.sources { margin-top: 16px; }
.src-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.src-links a { padding: 8px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--fg); text-decoration: none; font-size: 14px; }
.src-links a:hover { border-color: var(--accent); }
a.g { color: inherit; text-decoration: none; }

/* ================= 体验优化 ================= */

/* 列表去掉浏览器默认的左缩进：手机上白白少了四分之一屏宽 */
ul.list, ol.steps, .pday ul, ul.todo, ul.deadlines, ul.shop, ul.timeline, ul.credits, .plan-hero details.budget ul, .article ul, .article ol { padding-left: 0; }
ul.credits { list-style: none; }

/* 键盘焦点看得见；不喜欢动画的系统设置下全部关掉 */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } html { scroll-behavior: auto; } }

/* 页脚 */
footer .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
footer a { color: var(--muted); }
footer span:last-child { flex: 1 1 100%; }

/* 手机上的字号和点按区域 */
@media (max-width: 640px) {
  .page-head h1 { font-size: 30px; }
  .page-head { padding-top: 26px; }
  h2 { font-size: 21px; }
  .sec { margin-top: 40px; }
  .btn { padding: 9px 14px; font-size: 13.5px; }
  .pill { padding: 10px 14px; }
  .panel { padding: 16px; }
}
.page-head .filters { margin-top: 16px; }

/* 筛选条和子页标签：手机上排成一行横滑，右边渐隐提示还能滑 */
@media (max-width: 640px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 10px; margin-right: -16px; padding-right: 16px; }
  .filters::-webkit-scrollbar { display: none; }
  .filters > * { flex: 0 0 auto; }
  .filters .sep { height: 22px; align-self: center; }
}
.dtabs { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); padding-right: 32px; }

/* ---------- 首页 ---------- */
@media (max-width: 640px) {
  /* 国家胶囊排成一行横滑，把首屏的高度让给标题和表单 */
  .hchips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 16px -16px 0; padding: 0 16px 4px; }
  .hchips::-webkit-scrollbar { display: none; }
  .hchips button { flex: 0 0 auto; }
  .hero-in { padding: 84px 16px 64px; }
}

/* ---------- 目的地列表 ---------- */
@media (max-width: 640px) {
  .xcard { aspect-ratio: 16 / 11; border-radius: 22px; }  /* 一屏能看到两张，不用一张张滑 */
  .xcard b { font-size: 24px; }
  .xcard .best { max-height: 30px; opacity: .85; margin-top: 8px; }  /* 手机没有悬停，直接显示 */
  .xcard p { display: none; }
}

/* ---------- 费用估算 ---------- */
#costForm { grid-template-columns: 1fr 1fr; }
#costForm .wide { grid-column: 1 / -1; }
.prefill { margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; background: var(--ok-soft); color: var(--fg); }
.cost-total .meta { flex-wrap: wrap; gap: 2px 12px; }
@media (max-width: 899px) {
  .cost-wrap { display: flex; flex-direction: column; }
  .cost-side { display: contents; }
  /* 总数吸在屏幕底部，边改条件边看得到 */
  .cost-total { position: sticky; bottom: 10px; z-index: 5; padding: 10px 16px; margin-bottom: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
  .cost-total h3 { display: none; }
  .cost-total .big { font-size: 26px; margin: 0; }
  .cost-total .big small { font-size: 12.5px; }
  .cost-total .meta { font-size: 12px; }
}

/* ---------- 我的行程 ---------- */
.pday summary b::after { content: "\00a0›"; font-weight: 400; color: var(--muted); }  /* 不换行空格：箭头不会单独掉到下一行 */
.pday details[open] summary b::after { content: "\00a0⌄"; }
.pday summary { padding: 9px 0; }
.pday .drop { border: 0; background: none; padding: 0; margin-left: 6px; font: inherit; font-size: 13px; color: var(--accent-deep); text-decoration: underline; cursor: pointer; }
.pd-food { padding: 8px 12px; border-radius: 10px; margin-top: 8px; }
.plan-warn { margin: 14px 0 0; padding: 12px 16px; border-radius: 16px; background: var(--warn-bg); color: var(--warn-fg); font-size: 14px; }
.plan-warn a { color: inherit; font-weight: 700; margin-left: 4px; white-space: nowrap; }
.plan-hero details.budget li.more { padding-top: 8px; margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, .2); }
.plan-hero details.budget li.more a { color: #fff; }
.plan-hero details.budget summary { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .25); opacity: 1; }
.todo li > span:empty { display: none; }
.panel.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.panel.empty .empty-ico { font-size: 44px; }
.panel.empty b { font-size: 18px; color: var(--fg); }
.panel.empty p { font-size: 14px; max-width: 420px; }
.panel.empty .cta { margin-top: 8px; }
@media (max-width: 640px) {
  .plan-hero { border-radius: 22px; min-height: 0; }
  .plan-hero .txt { padding: 20px 18px; }
  .plan-hero h1 { font-size: 32px; }
  .todo li { gap: 10px; padding: 12px; }
  .deadlines li { grid-template-columns: 112px 1fr; }
  .deadlines em { white-space: nowrap; font-size: 12px; padding: 3px 6px; }
}

/* ---------- 攻略 ---------- */
.acard p { line-height: 1.6; }
@media (max-width: 640px) { .article p, .article ul, .article ol { font-size: 15.5px; } .article table { display: block; overflow-x: auto; } .credits { columns: 1; } }

/* ---------- 工具 ---------- */
@media (max-width: 640px) { .thead { padding-top: 24px; } .ttabs { margin: 18px 0 18px; } .clock b { font-size: 38px; } }

/* 行程页封面：图片亮的时候文字也要看得清 */
.plan-hero .shade { background: linear-gradient(to top, rgba(8, 18, 34, .88), rgba(8, 18, 34, .45)); }
.plan-hero details.budget ul { background: rgba(8, 18, 34, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.plan-hero details.budget li span { opacity: .8; }

/* 官方系统和政府网址的外链 */
a.ext { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
a.ext::after { content: "\00a0↗"; font-size: .85em; }
.shead-in p a.ext { color: #fff; font-size: inherit; }

/* ---------- 汇率换算：再收一遍 ---------- */
.fx-in > span i { font-style: normal; font-weight: 400; font-size: 12px; opacity: .7; margin-left: 2px; }
.fx-in > span b { font-weight: 700; }
.fx-rate { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.fx-rate input { width: 84px; text-align: center; }
.fx-src { flex: 1 1 100%; font-size: 12.5px; }
.fx-two { display: grid; gap: 22px; }
@media (min-width: 760px) { .fx-two { grid-template-columns: 1fr 1fr; gap: 28px; } }
.fx-quick h3 { justify-content: flex-start; gap: 8px; }
.fx-quick .fx-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.fx-grid div { padding: 10px 12px; min-width: 0; }
.fx-grid b { font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fx-grid b i { font-style: normal; font-weight: 400; font-size: 12px; color: var(--muted); }
#fxQuickBack div { background: var(--accent-soft); }
.fx-table tbody tr.on td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
@media (max-width: 640px) {
  /* 货币排成一行横滑，换算器进首屏 */
  .fx-cur { flex-wrap: nowrap; justify-content: flex-start; margin: 0 -16px; padding: 4px 16px 12px; }
  .fx-cur::-webkit-scrollbar { display: none; }
  .fx-cur button { flex: 0 0 auto; font-size: 17px; padding: 7px 12px; }
  .thead .lead { display: none; }
  .fx-box { padding: 16px 18px; gap: 6px; margin-top: 4px; }
  .fx-in input { font-size: 30px; }
  .fx-swap { width: 40px; height: 40px; font-size: 18px; align-self: flex-end; margin: -6px 0; }
  .fx-rate { margin: 12px 0 18px; }
}

/* ---------- 汇率换算：整页重排 ----------
   电脑上左右两栏：左边换算器跟着滚动固定住，右边对照表和汇率表铺满剩下的宽度。
   手机上还是一列：货币横滑 → 换算器 → 对照 → 汇率表。 */
#fx .fx-card { padding: 22px; margin: 0; }
#fx .fx-box { padding: 0; margin: 0; max-width: none; background: none; box-shadow: none; }
#fx .fx-quick, #fx .fx-table { max-width: none; margin: 0 0 16px; }
#fx .fx-rate { margin: 16px 0 0; justify-content: flex-start; text-align: left; font-size: 13.5px; color: var(--fg); }
#fx .fx-src { color: var(--muted); }
.fx-note { margin: 12px 4px 0; }
.fx-quick .fx-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
@media (min-width: 641px) and (max-width: 959px) { .fx-cur { justify-content: flex-start; } .fx-side { margin-bottom: 16px; } }
@media (max-width: 640px) {
  #fx .fx-card { padding: 16px 18px; }
  #fx .fx-box { gap: 6px; }
  .fx-side { margin-bottom: 16px; }
  .fx-quick .fx-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .fx-layout { display: grid; grid-template-columns: minmax(340px, 400px) minmax(0, 1fr); gap: 20px; align-items: start; }
  .fx-side { position: sticky; top: 80px; }
  /* 货币：三列宫格，和换算器同宽 */
  .fx-cur { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 0 12px; overflow: visible; }
  .fx-cur button { justify-content: center; padding: 9px 6px; font-size: 18px; border-radius: 14px; }
  /* 换算器：上下两格，中间是对调按钮 */
  #fx .fx-box { flex-direction: column; align-items: stretch; gap: 4px; }
  #fx .fx-box.rev { flex-direction: column-reverse; }
  #fx .fx-swap { align-self: flex-end; width: 42px; height: 42px; font-size: 18px; margin: -4px 0; transform: rotate(90deg); }
  #fx .fx-box.rev .fx-swap { transform: rotate(270deg); }
  #fx .fx-in input { font-size: 38px; }
  .fx-two { grid-template-columns: 1fr; gap: 20px; }
}
@media (min-width: 1200px) { .fx-two { grid-template-columns: 1fr 1fr; gap: 26px; } .fx-quick .fx-grid { grid-template-columns: repeat(2, 1fr); } }
/* 右栏不够宽的时候，汇率表先收掉「100 元可换」这一列 */
@media (min-width: 960px) and (max-width: 1199px) { .fx-table th:nth-child(3), .fx-table td:nth-child(3) { display: none; } }
@media (min-width: 960px) and (max-width: 1199px) { .fx-quick .fx-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 各地现在几点：整页重排 ----------
   电脑上左边是北京时间和时间滑块（跟着滚动固定），右边九个地方排成 3×3。
   手机上每个地方一行：左边名字和时差，右边时间。 */
.tz-home { margin: 0; padding: 22px; }
.tz-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.tz-home > b { display: block; font-size: 56px; font-weight: 800; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.tz-home > p { font-size: 13.5px; color: var(--muted); }
.tz-slider { margin-top: 18px; }
.tz-slider input { width: 100%; height: 28px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.tz-ticks { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.tz-note { margin: 12px 4px 0; }
.clocks { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .clocks { grid-template-columns: repeat(3, 1fr); } }
.clock b { font-size: 40px; }
.ck-top small { font-weight: 400; font-size: 12px; opacity: .7; margin-left: 6px; }
.clock p u { text-decoration: none; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11.5px; background: rgba(127, 140, 160, .22); }
@media (min-width: 960px) {
  .tz-layout { display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); gap: 20px; align-items: start; }
  .tz-side { position: sticky; top: 80px; }
}
@media (max-width: 959px) { .tz-side { margin-bottom: 16px; } }
@media (max-width: 640px) {
  .tz-home { padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
  .tz-head { grid-column: 1; }
  .tz-home > b { grid-column: 2; grid-row: 1 / span 2; font-size: 40px; margin: 0; }
  .tz-home > p { grid-column: 1; }
  .tz-slider { grid-column: 1 / -1; margin-top: 12px; }
  .clocks { grid-template-columns: 1fr; gap: 8px; }
  .clock { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 12px 16px; border-radius: 18px; }
  .clock:hover { transform: none; }
  .ck-top { grid-column: 1; grid-row: 1; justify-content: flex-start; gap: 8px; }
  .clock em { grid-column: 1; grid-row: 2; margin: 0; justify-self: start; }
  .clock b { grid-column: 2; grid-row: 1; font-size: 30px; margin: 0; text-align: right; line-height: 1.15; }
  .clock p { grid-column: 2; grid-row: 2; text-align: right; font-size: 12px; }
}

/* ================= 全站动效：克制一点 ================= */
:root { --spring: cubic-bezier(.2, .8, .2, 1); }
/* 滚动时内容轻轻浮上来（motion.js 加的类；浮现完会去掉） */
.motion .rv { transition: opacity .5s ease-out, transform .6s var(--spring); }
.motion .rv:not(.in) { opacity: 0; transform: translateY(14px); }
::view-transition-group(*) { animation-duration: .4s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

/* ================= 目的地列表：重排 ================= */
.xhero { text-align: center; padding: clamp(36px, 7vw, 84px) 0 clamp(20px, 3vw, 36px); }
.xkicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--accent-deep); background: var(--accent-soft); padding: 5px 14px; border-radius: 999px; }
.xhero h1 { font-size: clamp(40px, 8vw, 92px); line-height: 1.05; letter-spacing: -.03em; margin: 16px 0 12px; }
.xhero h1 em { font-style: normal; color: var(--accent); }
.xhero .lead { margin: 0 auto; font-size: clamp(15px, 1.6vw, 19px); }

/* 筛选条：一条毛玻璃胶囊，往下滑的时候吸在顶上 */
.xbar { position: sticky; top: 68px; z-index: 9; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 22px; width: fit-content; max-width: 100%; margin: 0 auto 28px; padding: 10px 18px;
  border-radius: 26px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .7); }
.xbar .xf { flex-wrap: nowrap; gap: 4px; }
.xbar .xf button { box-shadow: none; background: transparent; padding: 6px 12px; font-size: 13.5px; transition: background .25s, color .25s, transform .25s var(--spring); }
.xbar .xf button:hover { background: rgba(20, 40, 70, .06); transform: none; }
.xbar .xf button:active { transform: scale(.94); }
.xbar .xf button.on { background: #15202e; color: #fff; }
.xbar .xf .toggle { background: rgba(20, 40, 70, .06); }
.xbar .xf .toggle.on { background: var(--ok); }
.xcount { font-size: 12.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }

.xgrid { grid-template-columns: 1fr; gap: 16px; }
.xcard { border-radius: 28px; }
.xgo { position: absolute; right: 18px; bottom: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 18px; color: #15202e; background: #fff; opacity: 0; transform: translateX(-10px) scale(.8); transition: opacity .35s, transform .5s var(--spring); }
.xcard:hover .xgo { opacity: 1; transform: none; }
.xcard .txt { right: 70px; }
@media (min-width: 700px) {
  .xgrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; gap: 18px; }
  .xgrid .xcard { aspect-ratio: auto; }
  .xcard.feat { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .xgrid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 270px; }
  .xcard.feat { grid-column: span 2; grid-row: span 2; }
  .xcard.feat b { font-size: 52px; }
  .xcard.feat p { font-size: 17px; -webkit-line-clamp: 2; max-width: 560px; }
  .xcard.feat .best { max-height: 30px; opacity: .9; margin-top: 10px; font-size: 14px; }
  .xcard.feat .xmeta span { font-size: 13.5px; padding: 5px 13px; }
  .xcard.feat .txt { left: 30px; bottom: 28px; }
}
@media (max-width: 699px) {
  /* 手机上筛选条变成一行横滑 */
  .xbar { top: 64px; flex-wrap: nowrap; justify-content: flex-start; width: auto; margin: 0 -16px 18px; padding: 8px 16px; border-radius: 0; overflow-x: auto; scrollbar-width: none; gap: 14px; }
  .xbar::-webkit-scrollbar { display: none; }
  .xbar > * { flex: 0 0 auto; }
  .xbar .xf { overflow: visible; padding: 0; }
  .xcard.feat { aspect-ratio: 4 / 3.6; }
  .xcard.feat b { font-size: 32px; }
  .xcard.feat p { display: -webkit-box; }
  .xgo { opacity: 1; transform: none; width: 36px; height: 36px; right: 14px; bottom: 14px; }
}

/* ================= 目的地入口页：办手续宫格 =================
   白底卡片，大小分主次；只有签证那一格用目的地的主题色。 */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(124px, auto); grid-auto-flow: dense; gap: 12px; }
.bt { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 18px; border-radius: 22px; color: var(--fg); text-decoration: none; background: var(--panel); box-shadow: var(--shadow); transition: transform .35s var(--spring), box-shadow .35s; }
.bt:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bt i { position: absolute; left: 18px; top: 16px; font-style: normal; font-size: 22px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--bg); }
.bt b { font-size: 17px; font-weight: 700; }
.bt small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 30px; }
.bt em { position: absolute; right: 16px; bottom: 16px; font-style: normal; font-size: 15px; color: var(--muted); transition: transform .35s var(--spring), color .2s; }
.bt:hover em { transform: translateX(4px); color: var(--fg); }
.bt-visa { grid-column: span 2; min-height: 168px; color: #fff; background: var(--accent-deep); }
.bt-visa i { background: rgba(255, 255, 255, .16); }
.bt-visa .bt-k { font-size: 12.5px; font-weight: 600; opacity: .8; }
.bt-visa b { font-size: clamp(24px, 5vw, 34px); font-weight: 800; line-height: 1.2; }
.bt-visa small { color: rgba(255, 255, 255, .8); font-size: 13px; }
.bt-visa em, .bt-visa:hover em { color: #fff; }
.bt-checklist, .bt-faq { grid-column: span 2; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 16px; }
  .bt { padding: 22px; }
  .bt i { left: 22px; top: 20px; }
  .bt b { font-size: 18px; }
  .bt small { font-size: 13px; }
  .bt-visa { grid-column: span 2; grid-row: span 2; padding: 28px; }
  .bt-visa i { left: 28px; top: 26px; width: 52px; height: 52px; font-size: 26px; border-radius: 16px; }
  .bt-visa b { font-size: 40px; }
  .bt-visa small { font-size: 14.5px; }
  .bt-practical, .bt-shopping { grid-column: span 2; }
}

/* ---------- 景点详情弹层 ---------- */
.spot { cursor: pointer; }
.spot .pics { position: absolute; right: 12px; bottom: 12px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(8, 18, 34, .55); color: #fff; backdrop-filter: blur(6px); }
.spot .more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--accent-deep); }
.spot:hover .more { text-decoration: underline; }
.spot-dlg { border: 0; padding: 0; margin: 0; background: transparent; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; overflow: hidden; }
.spot-dlg::backdrop { background: rgba(8, 18, 34, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.spot-dlg[open] { display: grid; place-items: center; padding: 3vh 16px; }
.sd-in { position: relative; width: min(880px, 100%); max-height: 100%; overflow-y: auto; background: var(--panel); color: var(--fg); border-radius: 28px; box-shadow: 0 30px 80px rgba(8, 18, 34, .35); animation: sdIn .35s cubic-bezier(.2, .8, .2, 1); overscroll-behavior: contain; }
@keyframes sdIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sd-x { position: absolute; right: 14px; top: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; font-size: 22px; line-height: 1; color: #fff; background: rgba(8, 18, 34, .5); backdrop-filter: blur(8px); cursor: pointer; }
.sd-gal { position: relative; background: #15202e; }
.sd-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 16 / 10; max-height: 56vh; width: 100%; }
.sd-track::-webkit-scrollbar { display: none; }
.sd-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.sd-noimg { aspect-ratio: 16 / 7; display: grid; place-items: center; color: #fff; font-size: 22px; font-weight: 800; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, white), var(--accent)); }
.sd-nav { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; border: 0; font-size: 24px; line-height: 1; color: #15202e; background: rgba(255, 255, 255, .88); box-shadow: var(--shadow); cursor: pointer; transition: transform .2s; }
.sd-nav:hover { transform: scale(1.08); }
.sd-nav.prev { left: 14px; } .sd-nav.next { right: 14px; }
.sd-count { position: absolute; left: 14px; bottom: 12px; font-size: 12.5px; color: #fff; padding: 3px 10px; border-radius: 999px; background: rgba(8, 18, 34, .55); backdrop-filter: blur(6px); }
.sd-thumbs { display: flex; gap: 8px; padding: 10px 22px 0; overflow-x: auto; scrollbar-width: none; }
.sd-thumbs::-webkit-scrollbar { display: none; }
.sd-thumbs button { flex: 0 0 auto; width: 84px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.sd-thumbs button.on { opacity: 1; border-color: var(--accent); }
.sd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sd-body { padding: 18px 26px 26px; }
.sd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-tags span { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg); color: var(--fg); }
.sd-tags .hot { background: var(--accent); color: #fff; }
.sd-tags .warn { background: var(--warn-bg); color: var(--warn-fg); }
.sd-tags .ty { font-weight: 400; color: var(--muted); }
.sd-body h2 { font-size: 28px; margin: 10px 0 6px; }
.sd-why { font-size: 15.5px; color: var(--muted); }
.sd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 16px 0; }
.sd-facts div { background: var(--bg); border-radius: 16px; padding: 12px 14px; }
.sd-facts span { display: block; font-size: 12px; color: var(--muted); }
.sd-facts b { font-size: 15.5px; }
.sd-tip { font-size: 14.5px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); }
.sd-tip::before { content: "💡 "; }
.sd-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.sd-body h3 { font-size: 15px; margin: 26px 0 10px; }
.sd-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sd-more button { display: grid; grid-template-columns: 56px 1fr; gap: 0 10px; align-items: center; text-align: left; padding: 6px; border: 0; border-radius: 14px; background: var(--bg); color: var(--fg); font: inherit; cursor: pointer; transition: background .2s; }
.sd-more button:hover { background: var(--accent-soft); }
.sd-more img, .sd-more i { grid-row: span 2; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--line); }
.sd-more b { font-size: 13.5px; line-height: 1.3; align-self: end; }
.sd-more span { font-size: 12px; color: var(--muted); align-self: start; }
@media (max-width: 640px) {
  /* 手机上整屏显示 */
  .spot-dlg[open] { padding: 0; place-items: stretch; }
  .sd-in { width: 100%; height: 100%; max-height: none; border-radius: 0; animation-name: sdUp; }
  .sd-track { aspect-ratio: 4 / 3; max-height: none; }
  .sd-nav { display: none; }  /* 手机上直接用手指滑 */
  .sd-thumbs { padding: 10px 16px 0; }
  .sd-thumbs button { width: 68px; height: 48px; }
  .sd-body { padding: 16px 16px 28px; }
  .sd-body h2 { font-size: 24px; }
  .sd-facts { grid-template-columns: 1fr 1fr; }
  .sd-more { grid-template-columns: 1fr; }
  .sd-acts .cta, .sd-acts .pill { flex: 1 1 auto; justify-content: center; text-align: center; }
}
@keyframes sdUp { from { transform: translateY(100%); } }
@media print { .spot-dlg { display: none !important; } }

/* ---------- 实用信息详情 ---------- */
.ptile.has-more { cursor: pointer; transition: transform .3s var(--spring), box-shadow .3s; }
.ptile.has-more:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ptile .more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--accent-deep); }
.sd-in.info { width: min(680px, 100%); }
.sd-in.info .sd-body { padding: 26px 28px 28px; }
.sd-x.dark { color: var(--fg); background: var(--bg); backdrop-filter: none; }
.info-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding-right: 44px; }
.info-head i { font-style: normal; font-size: 28px; width: 56px; height: 56px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 16px; background: var(--accent-soft); }
.info-head span { font-size: 12.5px; color: var(--muted); }
.info-head h2 { font-size: 26px; margin: 0; line-height: 1.2; }
.info-sec { margin-top: 22px; }
.info-sec h3 { font-size: 16px; margin: 0 0 8px; padding-left: 10px; border-left: 3px solid var(--accent); line-height: 1.2; }
.info-sec ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.info-sec li { position: relative; padding: 10px 14px 10px 30px; border-radius: 12px; background: var(--bg); font-size: 14.5px; line-height: 1.6; }
.info-sec li::before { content: ""; position: absolute; left: 14px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.info-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.info-nav button { font: inherit; font-size: 13.5px; border: 0; padding: 9px 14px; border-radius: 999px; background: var(--bg); color: var(--fg); cursor: pointer; transition: background .2s; }
.info-nav button:hover { background: var(--accent-soft); }
@media (max-width: 640px) { .sd-in.info { width: 100%; } .sd-in.info .sd-body { padding: 20px 16px 28px; } .info-head h2 { font-size: 22px; } .info-head i { width: 48px; height: 48px; font-size: 24px; } }

/* 景点详情的图片：电脑上先是拼图，一眼看到好几张；点任意一张进入大图左右翻。手机上直接是左右滑。 */
.sd-mos, .sd-all { display: none; }
@media (min-width: 700px) {
  .sd-gal.mosaic .sd-track, .sd-gal.mosaic .sd-nav, .sd-gal.mosaic .sd-count, .sd-gal.mosaic + .sd-thumbs { display: none; }
  .sd-gal.mosaic .sd-mos { display: grid; gap: 4px; height: min(52vh, 460px); grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .sd-mos button { position: relative; padding: 0; border: 0; overflow: hidden; background: #15202e; cursor: zoom-in; }
  .sd-mos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--spring), filter .3s; }
  .sd-mos button:hover img { transform: scale(1.04); filter: brightness(1.06); }
  .sd-mos button:first-child { grid-row: span 2; }
  .sd-gal.mosaic .sd-mos.m3 { grid-template-columns: 2fr 1fr; }
  .sd-gal.mosaic .sd-mos.m4 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr 1fr; }
  .sd-mos.m4 button:first-child { grid-row: span 3; }
  .sd-mos span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #fff; background: rgba(8, 18, 34, .5); }
  .sd-gal:not(.mosaic) .sd-all { display: block; position: absolute; right: 14px; bottom: 12px; font: inherit; font-size: 12.5px; border: 0; padding: 5px 12px; border-radius: 999px; color: #15202e; background: rgba(255, 255, 255, .9); cursor: pointer; }
}

/* 美食、城市卡片也能点开 */
.food, .city { cursor: pointer; }
.food .pics, .city .pics { position: absolute; right: 10px; bottom: 10px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(8, 18, 34, .55); color: #fff; backdrop-filter: blur(6px); }
.city .ph { position: relative; }
.food .more, .city .more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--accent-deep); }
.sd-more a { display: grid; grid-template-columns: 56px 1fr; gap: 0 10px; align-items: center; padding: 6px; border-radius: 14px; background: var(--bg); color: var(--fg); text-decoration: none; transition: background .2s; }
.sd-more a:hover { background: var(--accent-soft); }
.sd-stay { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sd-stay a { display: block; padding: 12px 14px; border-radius: 14px; background: var(--bg); color: var(--fg); text-decoration: none; transition: background .2s; }
.sd-stay a:hover { background: var(--accent-soft); }
.sd-stay b { display: block; font-size: 14.5px; }
.sd-stay span { display: block; font-size: 12.5px; color: var(--muted); }
.sd-stay em { display: block; font-style: normal; font-size: 12.5px; font-weight: 700; margin-top: 4px; }

/* ---------- 目的地页：顶栏浮在封面图上，图片一直铺到页面最顶 ---------- */
body.overhero .top { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .3s; }
body.overhero.scrolled .top { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
body.overhero:not(.scrolled) .logo { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
body.overhero:not(.scrolled) .menu { background: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: none; }
body.overhero:not(.scrolled) .menu a { color: rgba(255, 255, 255, .9); }
body.overhero:not(.scrolled) .menu a.on, body.overhero:not(.scrolled) .menu a:hover { background: rgba(255, 255, 255, .92); color: #15202e; }
body.overhero .shead { margin-top: 0; height: 300px; }
@media (min-width: 900px) { body.overhero .shead { height: 360px; } }
/* 图片上沿压暗一点，白色的标志和菜单才看得清 */
body.overhero .shead .shade { background: linear-gradient(to bottom, rgba(8, 18, 34, .5) 0%, rgba(8, 18, 34, .12) 34%, rgba(8, 18, 34, .74) 100%); }
body.overhero .dhero .shade { background: linear-gradient(to bottom, rgba(8, 18, 34, .45) 0%, transparent 22%), linear-gradient(to top, rgba(8, 18, 34, .75) 0%, rgba(8, 18, 34, .15) 50%, transparent 75%); }

/* ---------- 行程页：选城市 ---------- */
.plan-hero .route { font-size: 14px; opacity: .92; margin-top: 4px; }
.plan-hero .facts a { display: block; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); border-radius: 12px; padding: 6px 12px; font-size: 13px; }
.plan-hero .facts a span { opacity: .8; margin-right: 6px; }
.plan-hero .facts a b::after { content: " ›"; font-weight: 400; opacity: .8; }
.citypick { margin-top: 22px; padding: 20px 22px; border-radius: var(--r); background: var(--panel); box-shadow: var(--shadow); scroll-margin-top: 80px; }
.cp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cp-head h2 { font-size: 19px; }
.cp-days { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.cp-days b { font-size: 20px; color: var(--fg); min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.cp-days button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bg); color: var(--fg); font-size: 18px; line-height: 1; cursor: pointer; transition: background .2s; }
.cp-days button:hover { background: var(--accent-soft); }
.cp-days button:disabled { opacity: .35; cursor: default; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cp-chips button { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1.5px dashed var(--line); background: var(--bg); color: var(--muted); cursor: pointer; transition: .2s; }
.cp-chips button:hover { border-color: var(--accent); color: var(--fg); }
.cp-chips button b { font-weight: 600; }
.cp-chips button i { font-style: normal; font-size: 12px; opacity: .8; }
.cp-chips button.on { border: 1.5px solid var(--accent); background: var(--accent); color: #fff; }
.cp-chips button.on i { background: rgba(255, 255, 255, .25); padding: 1px 8px; border-radius: 999px; opacity: 1; }
.cp-chips button.on em { font-style: normal; opacity: .7; margin-left: -2px; }
.cp-chips button.on:hover em { opacity: 1; }
.cp-warn { display: block; margin-top: 6px; font-weight: 400; color: var(--warn-fg); background: var(--warn-bg); padding: 6px 10px; border-radius: 8px; }
.citypick .small { margin-top: 12px; }

/* ---------- 行程页：预算单独一张卡片 ---------- */
#budget { scroll-margin-top: 80px; }
.budget-card { background: var(--panel); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow); }
.bc-total b { display: block; font-size: 32px; font-weight: 800; line-height: 1.15; color: var(--accent-deep); }
.bc-total span { font-size: 13px; color: var(--muted); }
.budget-card ul { list-style: none; padding: 0; margin: 14px 0 0; }
.budget-card li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.budget-card li b { display: block; font-size: 14.5px; font-weight: 600; }
.budget-card li span { font-size: 12.5px; color: var(--muted); }
.budget-card li em { font-style: normal; font-weight: 700; font-size: 14.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bc-more { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 600; text-decoration: none; }
@media (max-width: 640px) { .citypick { padding: 16px; } .budget-card { padding: 16px; } .bc-total b { font-size: 28px; } }
@media print { .citypick .small, .cp-days button, .cp-chips button:not(.on), .cp-chips em, .bc-more { display: none !important; } }

/* ================= 行程页重排 ================= */
/* 封面：三块数字 + 操作按钮 */
.plan-hero.v2 { min-height: 0; }
.plan-hero.v2 .txt { padding: 30px 30px 26px; }
.plan-hero.v2 h1 { font-size: clamp(32px, 4.4vw, 48px); margin: 10px 0 4px; }
.plan-hero.v2 .txt > p { font-size: 14.5px; opacity: .92; }
.ph-stats { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 10px; margin-top: 20px; }
.ph-stats > * { display: block; min-width: 150px; padding: 12px 16px; border-radius: 16px; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s; }
.ph-stats a:hover { background: rgba(255, 255, 255, .24); }
.ph-stats b { display: block; font-size: 22px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.ph-stats span { font-size: 12.5px; opacity: .85; white-space: nowrap; }
.ph-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ph-acts .cta { padding: 9px 18px; font-size: 14px; background: #fff; color: #15202e; box-shadow: none; }
.ph-acts .pill { padding: 9px 14px; font-size: 13.5px; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); box-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ph-acts .pill:hover { background: rgba(255, 255, 255, .28); transform: none; }

/* 页内导航：吸在顶栏下面 */
.plan-nav { position: sticky; top: 60px; z-index: 8; display: flex; gap: 4px; width: fit-content; max-width: 100%; margin: 14px 0 0; padding: 5px; border-radius: 999px; overflow-x: auto; scrollbar-width: none; background: rgba(255, 255, 255, .8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.plan-nav::-webkit-scrollbar { display: none; }
.plan-nav a { flex: 0 0 auto; font-size: 13.5px; padding: 7px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; transition: .2s; }
.plan-nav a:hover, .plan-nav a.on { color: var(--fg); background: var(--accent-soft); }
#days, #todo, #when { scroll-margin-top: 120px; }
.citypick, #budget { scroll-margin-top: 120px; }
.citypick { margin-top: 14px; }

/* 路线图 */
.rt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin-top: 16px; }
.rt-stop { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 96px; padding: 10px 34px 10px 14px; border-radius: 16px; background: var(--accent-soft); border: 1.5px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.rt-stop b { font-size: 15.5px; line-height: 1.25; }
.rt-stop span { font-size: 12.5px; color: var(--accent-deep); font-weight: 600; }
.rt-stop button { position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 15px; line-height: 1; cursor: pointer; transition: .2s; }
.rt-stop button:hover { background: var(--panel); color: var(--fg); }
.rt-leg { display: flex; flex-direction: column; align-items: center; gap: 0; min-width: 48px; font-size: 11px; color: var(--muted); }
.rt-leg i { font-style: normal; font-size: 15px; line-height: 1.2; }
.rt-leg::after { content: ""; width: 100%; height: 0; border-top: 1.5px dashed var(--line); margin-top: 2px; }
.cp-add { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.cp-add > span { font-size: 12.5px; color: var(--muted); }
.cp-add .cp-chips { margin-top: 0; }

/* 每天去哪：按城市分组 */
.plan-grid { gap: 0 36px; }
@media (min-width: 960px) { .plan-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .plan-grid > .plan-side > .sec:first-child { margin-top: 56px; } }
.pdays { gap: 22px; }
.cgroup { display: flex; flex-direction: column; gap: 10px; }
.cg-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 0 4px; }
.cg-head b { font-size: 20px; font-weight: 800; }
.cg-head span { font-size: 13px; color: var(--muted); }
.cg-head a { margin-left: auto; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pday { padding: 14px 16px; }
.pday summary { align-items: center; justify-content: flex-start; gap: 12px; padding: 8px 0; }
.pday summary img, .pday summary .noimg { flex: 0 0 auto; width: 64px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--accent-soft); }
.pd-main { min-width: 0; flex: 1; display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: center; }
.pd-main .slot { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.pd-main .slot.s0 { background: #fff3d6; color: #8a5a00; }
.pd-main .slot.s2 { background: #e7deff; color: #5b3fb0; }
.pd-main .slot.s9 { background: var(--ok-soft); color: #10724b; }
.pd-main b { font-size: 14.5px; }
.pday .pd-main span { grid-column: 1 / -1; text-align: left; font-size: 12.5px; color: var(--muted); }
.pday details p { padding: 2px 0 10px 76px; }
.pd-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.pd-links a { font-size: 13px; font-weight: 600; text-decoration: none; }
.pday .drop { margin-left: 0; }

@media (max-width: 640px) {
  .plan-hero.v2 .txt { padding: 20px 18px; }
  .ph-stats { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
  .ph-stats > * { min-width: 0; padding: 10px 12px; }
  .ph-stats > :first-child { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; }
  .ph-stats b { font-size: 18px; }
  .ph-acts { gap: 6px; margin-top: 14px; }
  .ph-acts .cta, .ph-acts .pill { padding: 8px 12px; font-size: 13px; }
  .plan-nav { top: 60px; width: auto; margin: 12px -16px 0; padding: 6px 16px; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
  .rt-stop { min-width: 0; padding: 8px 30px 8px 12px; }
  .rt-leg { min-width: 38px; }
  .cg-head b { font-size: 18px; }
  .cg-head a { margin-left: 0; }
  .pday summary img, .pday summary .noimg { width: 56px; height: 44px; }
  .pday details p { padding-left: 0; }
}
@media print { .plan-nav, .ph-acts, .rt-stop button, .cp-add, .pd-links { display: none !important; } .plan-hero.v2 .ph-stats > * { border: 1px solid #ddd; color: #000; background: none; } }

/* ---------- 保存的行程 ---------- */
.ph-acts .pill.is-saved { background: rgba(31, 174, 122, .55); border-color: rgba(255, 255, 255, .35); cursor: default; }
.trip { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.trip > a { display: block; padding: 18px 18px 12px; color: var(--fg); text-decoration: none; flex: 1; }
.trip > a:hover b { color: var(--accent-deep); }
.trip .tr-route { display: block; margin-top: 6px; font-size: 13px; color: var(--fg); }
.trip em { display: inline-block; margin-top: 10px; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); }
.tr-acts { display: flex; gap: 4px; padding: 6px 10px 10px; border-top: 1px solid var(--line); }
.tr-acts button { font: inherit; font-size: 13px; border: 0; background: none; color: var(--muted); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.tr-acts button:hover { background: var(--bg); color: var(--fg); }
#xmon { font-style: normal; }
.trips.recent + .trips { margin-top: 14px; }

/* ---------- 攻略文章：占满版心，不套卡片，行距按中文阅读调 ---------- */
@media (min-width: 900px) { .article-wrap { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } }
.article .acover { margin-top: 0; }
.article header { padding: 26px 0 24px; margin-bottom: 28px; }
.article header h1 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.article .summary { font-size: 17px; line-height: 1.7; margin-top: 12px; }
.article p, .article ul, .article ol { font-size: 17px; line-height: 1.9; color: #2a3443; }
.article p { margin: 0 0 18px; }
.article h2 { font-size: 22px; line-height: 1.4; margin: 44px 0 14px; padding-left: 14px; position: relative; }
.article h2::before { content: ""; position: absolute; left: 0; top: .28em; bottom: .28em; width: 4px; border-radius: 4px; background: var(--accent); }
.article h3 { font-size: 18px; margin: 30px 0 10px; }
.article ul, .article ol { margin: 0 0 20px; padding: 0; list-style: none; }
.article li { position: relative; margin-bottom: 8px; padding-left: 26px; }
.article ul > li::before { content: ""; position: absolute; left: 8px; top: .82em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.article ol { counter-reset: step; }
.article ol > li { counter-increment: step; padding-left: 40px; margin-bottom: 12px; }
.article ol > li::before { content: counter(step); position: absolute; left: 0; top: .32em; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 13.5px; font-weight: 700; line-height: 26px; text-align: center; }
.article p > strong:first-child { display: block; font-size: 17px; color: var(--ink, #16202e); margin-bottom: 2px; }
.article a:not(.back) { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article table { font-size: 15px; box-shadow: none; border: 1px solid var(--line); }
.article blockquote { background: var(--accent-soft); border-left: 0; border-radius: 14px; padding: 14px 18px; color: inherit; margin: 0 0 20px; }
.article blockquote p:last-child { margin-bottom: 0; }
.article .back { margin-top: 20px; }
.aside .dcard { aspect-ratio: 4 / 3; border-radius: 22px; }
.aside .dcard .shade { background: linear-gradient(to top, rgba(8, 18, 34, .82) 0%, rgba(8, 18, 34, .3) 55%, transparent 80%); }
.aside .dcard p { display: none; }
.aside .dcard .meta { background: rgba(255, 255, 255, .24); margin-top: 8px; }
.aside .posts { gap: 10px; }
@media (max-width: 640px) {
  .article p, .article ul, .article ol { font-size: 16.5px; line-height: 1.85; }
  .article h2 { font-size: 20px; margin-top: 36px; }
}
.aside .dcard .meta { color: #fff; opacity: 1; background: rgba(8, 18, 34, .38); }
.article-wrap { margin-top: 18px; }

/* ================= 行程页：手机底部的「要订的」入口 =================
   手机上「要订的东西」排在七八屏之后，底部挂一条，点了跳过去；滑到那一块自己收起来。 */
.book-bar { display: none; }
@media (max-width: 760px) {
  .book-bar { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 9; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 13px 18px; border-radius: 999px; color: #fff; text-decoration: none; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, white));
    box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--accent) 70%, transparent), var(--shadow); transition: transform .3s var(--spring), opacity .3s; }
  .book-bar[hidden] { display: none; }
  .book-bar span { font-size: 13px; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .book-bar b { flex: 0 0 auto; font-size: 15px; }
  .book-bar i { font-style: normal; }
  .book-bar.away { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

/* ================= 行程页：存图片的预览层 ================= */
.poster-dlg { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; background: rgba(12, 18, 30, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.po-bar { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top)); color: #fff; }
.po-bar b { flex: 1; font-size: 15px; }
.po-bar .cta { padding: 9px 18px; font-size: 14px; }
.po-bar .pill { padding: 9px 16px; font-size: 14px; }
.po-scroll { flex: 1; overflow-y: auto; padding: 4px 16px calc(28px + env(safe-area-inset-bottom)); text-align: center; -webkit-overflow-scrolling: touch; }
.po-scroll img { display: block; margin: 0 auto; width: min(440px, 100%); border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); -webkit-touch-callout: default; user-select: auto; }

/* ================= 行程页：加自己想去的地方、挪到别的天、日历提醒 ================= */
.addmine { margin-bottom: 14px; background: var(--panel); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 16px; }
.addmine summary { cursor: pointer; font-size: 14.5px; font-weight: 700; color: var(--accent-deep); list-style: none; }
.addmine summary::-webkit-details-marker { display: none; }
.addmine form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 8px; }
.addmine input, .addmine select { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font: inherit; font-size: 14px; color: var(--fg); }
.addmine input { grid-column: 1 / -1; }
.addmine .cta { grid-column: 1 / -1; justify-content: center; padding: 11px 20px; }
@media (min-width: 700px) { .addmine form { grid-template-columns: 2fr 1fr 1fr 1.2fr auto; } .addmine input, .addmine .cta { grid-column: auto; } }
.pday .noimg { display: grid; place-items: center; font-style: normal; font-size: 20px; }
.pd-links .mine-tag { font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; color: var(--accent-deep); background: var(--accent-soft); }
.pd-links .mv { padding: 2px 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font: inherit; font-size: 13px; color: var(--accent-deep); }
.pill.ics { margin-top: 12px; }
@media print { .addmine, .pill.ics { display: none !important; } }
.citypick .plan-warn { margin: 14px 0 0; }
.citypick .plan-warn .link { font-weight: 700; }
.cp-note { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--fg); }

.pd-head .pd-span { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; }
.pday li.hop { border-top: 0; padding: 0 0 2px 76px; margin-top: -4px; font-size: 12px; color: var(--muted); }
.pday li.hop::before { content: "↓ "; color: var(--accent); }
.pday li.hop + li { border-top: 0; }
@media (max-width: 760px) { .pday li.hop { padding-left: 68px; } }


/* 景点筛选：左边一条城市分段控件，右边类型按钮；点开是带小图的面板 */
.filters.fbar { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; margin-bottom: 24px; }
.fbar .fseg { display: flex; align-items: center; gap: 2px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.fbar .fseg > button, .fbar .fseg .fpop-btn { background: transparent; box-shadow: none; color: var(--muted); padding: 8px 16px; font-size: 14px; white-space: nowrap; }
.fbar .fseg > button:hover, .fbar .fseg .fpop-btn:hover { color: var(--fg); background: #f2f5fa; }
.fbar .fseg button.on, .fbar .fseg .fpop-btn.on { background: var(--accent); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); }
.fbar .ftype { margin-left: auto; }
.fbar .ftype .fpop-btn { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--fg); padding: 10px 36px 10px 18px; font-size: 14px; white-space: nowrap; }
.fbar .ftype .fpop-btn.on { background: var(--accent); border-color: transparent; color: #fff; }
.fbar .fpop { position: relative; }
.fbar .fpop-btn { position: relative; }
.fbar .fpop-btn { padding-right: 34px !important; }
.fbar .fpop-btn::after { content: ""; position: absolute; right: 15px; top: 50%; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.7px 1.7px 0; transform: translateY(-70%) rotate(45deg); opacity: .55; transition: transform .2s; }
.fbar .fpop.open .fpop-btn::after { transform: translateY(-25%) rotate(-135deg); }
.fbar .fpop-panel { position: absolute; top: calc(100% + 12px); left: 50%; z-index: 40; width: 400px; padding: 14px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 22px; box-shadow: 0 24px 60px rgba(20, 40, 80, .18), 0 0 0 1px rgba(20, 40, 80, .06); opacity: 0; visibility: hidden; transform: translate(-50%, -6px) scale(.98); transform-origin: top center; transition: opacity .18s, transform .18s, visibility .18s; }
.fbar .fpop.open .fpop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.fbar .ftype .fpop-panel { left: auto; right: 0; width: 320px; transform: translateY(-6px) scale(.98); transform-origin: top right; }
.fbar .ftype.open .fpop-panel { transform: none; }
.fbar .fp-h { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); margin: 2px 6px 10px; }
.fbar .fp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.fbar .fcity .fp-grid button { display: flex; align-items: center; gap: 11px; padding: 6px 10px 6px 6px; border-radius: 14px; background: transparent; box-shadow: none; text-align: left; color: var(--fg); }
.fbar .fcity .fp-grid img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; flex: none; background: linear-gradient(135deg, var(--accent-soft), #eef2f8); }
.fbar .fcity .fp-grid span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.fbar .fcity .fp-grid b { font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fbar .fcity .fp-grid small { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.fbar .fcity .fp-grid button:hover { background: #f3f6fb; }
.fbar .fcity .fp-grid button.on { background: var(--accent-soft); color: var(--accent-deep); }
.fbar .fcity .fp-grid button.on img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.fbar .ftype .fp-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fbar .ftype .fp-grid button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px 10px; border-radius: 14px; background: #f4f7fb; box-shadow: none; color: var(--fg); font-size: 13px; }
.fbar .ftype .fp-grid button i { font-style: normal; font-size: 22px; line-height: 1; }
.fbar .ftype .fp-grid button:hover { background: #ebf0f7; }
.fbar .ftype .fp-grid button.on { background: var(--accent); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); }
/* 手机：筛选条横滑，面板改成从底部弹出的抽屉 */
@media (max-width: 640px) {
  .filters.fbar { gap: 8px; }
  .fbar .fseg > button, .fbar .fseg .fpop-btn { padding: 8px 13px; }
  .fbar .fpop-panel, .fbar .ftype .fpop-panel { position: fixed; top: auto; left: 10px; right: 10px; bottom: 10px; width: auto; padding: 18px 14px 14px; border-radius: 26px; transform: translateY(20px); box-shadow: 0 -10px 50px rgba(20, 40, 80, .25); }
  .fbar .fpop.open .fpop-panel, .fbar .ftype.open .fpop-panel { transform: none; }
  .fbar .fp-h { font-size: 13px; }
}

/* 签证页：找旅行社代办，按地区分组的省份胶囊，点了直接去代办平台下单 */
.visa-shop { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, #fff), #fff 60%); border-radius: 24px; padding: 22px 24px 18px; box-shadow: var(--shadow); margin: 18px 0; border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.visa-shop .vs-k { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .05em; color: var(--accent-deep); background: #fff; padding: 4px 12px; border-radius: 999px; box-shadow: 0 2px 8px rgba(20, 40, 80, .06); }
.visa-shop h3 { font-size: 20px; margin: 10px 0 6px; }
.visa-shop .vs-head p { font-size: 14px; color: var(--muted); line-height: 1.75; max-width: 760px; margin: 0; }
.visa-shop .vs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 12px 28px; margin: 18px 0 12px; }
.visa-shop .vs-g { display: flex; gap: 12px; align-items: flex-start; }
.visa-shop .vs-g > span { flex: none; width: 34px; font-size: 12.5px; font-weight: 700; color: var(--muted); padding-top: 7px; }
.visa-shop .vs-g > div { display: flex; flex-wrap: wrap; gap: 6px; }
.visa-shop .vs-g a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--fg); background: #fff; padding: 6px 13px; border-radius: 999px; box-shadow: 0 2px 8px rgba(20, 40, 80, .07); transition: .15s; }
.visa-shop .vs-g a:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.visa-shop .vs-price { font-size: 13px; color: var(--accent-deep); font-weight: 600; margin: 4px 0 6px; }
.visa-shop .vs-tips { margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); line-height: 1.8; }
@media (max-width: 640px) { .visa-shop { padding: 18px 16px 14px; } .visa-shop .vs-grid { grid-template-columns: 1fr; } }

/* ---------- 子页面重做：倒计时、住哪、怎么走、购物退税、常见问题 ---------- */
.sub-h { font-size: 19px; margin: 28px 0 14px; display: flex; align-items: center; gap: 10px; }
.sub-h::before { content: ""; width: 4px; height: 18px; border-radius: 4px; background: var(--accent); }
.sec > .sub-h:first-child { margin-top: 4px; }
.sub-guides { margin-top: 10px; }

/* 倒计时 */
.tl-box { max-width: 980px; }
.tl-pick { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); margin-bottom: 18px; font-size: 13.5px; color: var(--muted); }
.tl-pick label { font-weight: 700; color: var(--fg); display: flex; align-items: center; gap: 10px; font-size: 14px; }
.tl-pick input { font: inherit; border: 1px solid var(--line); border-radius: 12px; padding: 7px 12px; background: #f6f8fb; }
.tl2 { list-style: none; margin: 0; padding: 0; position: relative; }
.tl2::before { content: ""; position: absolute; left: 150px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 20%, transparent)); }
.tl2 > li { display: grid; grid-template-columns: 150px 1fr; gap: 0 28px; position: relative; margin-bottom: 14px; }
.tl2 > li::before { content: ""; position: absolute; left: 144px; top: 18px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.tl2 .tl-when { text-align: right; padding: 12px 14px 0 0; }
.tl2 .tl-when b { display: block; font-size: 15px; line-height: 1.4; }
.tl2 .tl-date { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--accent-deep); }
.tl2 .tl-card { background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); margin-left: 4px; }
.tl2 .tl-card p { margin: 0; font-size: 14.5px; font-weight: 600; }
.tl2 .tl-card ul { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.tl2 > li.past .tl-date { color: #c0392b; }
.tl2 > li.past .tl-date::after { content: " · 已过"; }
@media (max-width: 640px) {
  .tl2::before { left: 7px; }
  .tl2 > li { grid-template-columns: 1fr; padding-left: 26px; }
  .tl2 > li::before { left: 1px; top: 4px; }
  .tl2 .tl-when { text-align: left; padding: 0 0 6px; }
  .tl2 .tl-card { margin-left: 0; }
}

/* 住哪 */
.stay-city { margin-bottom: 22px; }
.stay-city h3 { font-size: 16px; margin: 0 0 10px; color: var(--muted); }
.area-card { display: flex; flex-direction: column; }
.area-card p { flex: 1; }
.ac-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.ac-btn { flex: none; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--accent-deep); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
.ac-btn:hover { background: var(--accent); color: #fff; }

/* 怎么走 */
.ap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.ap-card { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.ap-h b { display: block; font-size: 16px; }
.ap-h span { font-size: 13px; color: var(--muted); }
.ap-card table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13.5px; }
.ap-card td { padding: 9px 4px; border-top: 1px solid var(--line); vertical-align: top; }
.ap-card td:nth-child(2) { color: var(--muted); white-space: nowrap; }
.ap-card td:nth-child(3) { text-align: right; font-weight: 700; white-space: nowrap; }
.legs { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; }
.leg { background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); }
.leg b { display: block; font-size: 14px; }
.leg span { font-size: 13px; color: var(--muted); line-height: 1.65; }
.tp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.tp-card { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.tp-card > i { font-style: normal; font-size: 26px; }
.tp-card b { display: block; font-size: 16px; margin: 6px 0 4px; }
.tp-card ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.app { background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); }
.app b { display: block; font-size: 14px; }
.app span { font-size: 13px; color: var(--muted); }

/* 购物退税 */
.tax-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tf { background: linear-gradient(135deg, var(--accent-soft), #fff); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); }
.tf span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.tf b { font-size: 15px; line-height: 1.5; }
.tax-steps { list-style: none; padding: 0; margin: 16px 0 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: none; }
.tax-steps li { background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow); position: relative; }
.tax-steps li > i { font-style: normal; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; }
.tax-steps b { display: block; font-size: 15px; margin: 8px 0 4px; }
.tax-steps p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.tax-more { background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 13.5px; }
.tax-more summary { cursor: pointer; font-weight: 700; color: var(--accent-deep); }
.tax-more p { margin: 8px 0 0; color: var(--muted); line-height: 1.8; }
.buy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.buy-card { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.bc-h { display: flex; align-items: center; gap: 10px; }
.bc-h i { font-style: normal; font-size: 24px; }
.bc-h b { font-size: 16px; }
.buy-card .where { display: block; font-size: 12.5px; color: var(--accent-deep); margin: 6px 0; }
.buy-card ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.8; }
.customs { width: 100%; border-collapse: collapse; font-size: 14px; }
.customs td { padding: 10px 6px; border-top: 1px solid var(--line); vertical-align: top; }
.customs tr:first-child td { border-top: 0; }
.customs td:first-child { font-weight: 700; width: 30%; }
@media (max-width: 900px) { .tax-facts, .tax-steps { grid-template-columns: repeat(2, 1fr); } }

/* 常见问题：占满版心，两列 */
.faqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; max-width: none; }
@media (max-width: 760px) { .faqs { grid-template-columns: 1fr; } }
/* 住哪：每个区域下的具体酒店推荐，点了去订 */
.areas:has(.has-picks) { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.hps { margin-top: 10px; display: grid; gap: 8px; }
.hps-h { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.hp { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "lv name go" "info info info" "why why why"; gap: 2px 8px; align-items: center; text-decoration: none; color: var(--fg); background: #f6f8fb; border-radius: 14px; padding: 10px 12px; transition: .15s; }
.hp:hover { background: var(--accent-soft); }
.hp .lv { grid-area: lv; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #e7edf5; color: #536379; }
.hp .lv-中档 { background: #fde9ec; color: var(--accent-deep); }
.hp .lv-温泉旅馆 { background: #fff1d9; color: #9a5b00; }
.hp .lv-家庭 { background: var(--ok-soft); color: var(--ok); }
.hp b { grid-area: name; font-size: 14px; }
.hp span { grid-area: info; font-size: 12.5px; color: var(--muted); }
.hp small { grid-area: why; font-size: 12.5px; color: var(--fg); opacity: .8; }
.hp i { grid-area: go; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--accent-deep); }
.ap-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.ap-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ap-h + .ap-row { margin-top: 10px; }
.ap-row b { grid-column: 1 / -1; font-size: 14px; font-weight: 650; }
.ap-row span { font-size: 13px; color: var(--muted); }
.ap-row em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--accent-deep); text-align: right; }
/* 表单：下拉框换成自己的箭头，输入框更柔和 */
select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2367768a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; cursor: pointer; }
select, input[type=number], input[type=text], input[type=date] { background-color: #f4f7fb; border-color: transparent; transition: border-color .15s, background-color .15s, box-shadow .15s; }
select:hover, input[type=number]:hover, input[type=text]:hover, input[type=date]:hover { background-color: #eef2f8; }
select:focus, input:focus { background-color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }
.cost-form label, .cost-form .grid > div > span { font-weight: 600; }
.hps-h span { font-weight: 500; margin-left: 8px; opacity: .8; letter-spacing: 0; }
.ac-city { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.areas:has(.has-picks) { align-items: start; }

/* 页脚：备案号 */
.sfoot { padding: 22px 0 28px; font-size: 12.5px; color: var(--muted); }
.sfoot .wrap { justify-content: center; }
.sfoot a { color: inherit; text-decoration: none; margin-left: 14px; }
.sfoot a:hover { color: var(--fg); text-decoration: underline; }
