/* =========================================================
   China Travel Kit — Stylesheet (sidebar docs layout)
   Left fixed nav with collapsible tree + right reading pane.
   One file, CSS variables, no framework. Calm, low-eye-strain.
   ========================================================= */

:root {
  --ink:        #17212d;
  --body:       #46515f;
  --muted:      #727d8b;
  --bg:         #fcfcfb;
  --surface:    #f4f6f7;   /* sidebar bg */
  --surface-2:  #e9edf0;
  --brand:      #d8442f;
  --brand-dark: #b8361f;
  --brand-soft: #fdeee9;
  --line:       #e6e9ec;
  --ok:         #0f7b6c;
  --font-sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.06);
  --shadow-lg: 0 12px 40px rgba(16,24,40,.10);
  --sidebar-w: 290px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans), "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.72;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); }
.eyebrow { display:inline-block; font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--brand); margin-bottom:12px; }

/* ---------- Buttons ---------- */
.btn { display:inline-flex; align-items:center; gap:8px; padding:11px 19px; border-radius:999px; font-weight:600; font-size:.97rem; border:1px solid transparent; transition:transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background:var(--brand); color:#fff; box-shadow:0 6px 18px rgba(216,68,47,.22); }
.btn-primary:hover { background:var(--brand-dark); }
.btn-ghost { border-color:var(--line); color:var(--ink); background:#fff; }
.btn-ghost:hover { border-color:var(--ink); }

/* ---------- Mobile top bar (hidden on desktop) ---------- */
.topbar { display:none; position:sticky; top:0; z-index:70; align-items:center; gap:12px; height:60px; padding:0 18px; background:rgba(255,255,255,.9); backdrop-filter:saturate(180%) blur(10px); border-bottom:1px solid var(--line); }
.topbar .brand { font-weight:800; color:var(--ink); display:flex; align-items:center; gap:9px; font-size:1.02rem; }
.topbar .brand .logo { width:28px; height:28px; }
.topbar .menu-btn { margin-left:auto; background:#fff; border:1px solid var(--line); border-radius:10px; padding:8px 10px; display:inline-flex; }

/* ---------- Layout ---------- */
.layout { display:grid; grid-template-columns: var(--sidebar-w) minmax(0,1fr); min-height:100vh; }

/* ---------- Sidebar ---------- */
.sidebar { background:var(--surface); border-right:1px solid var(--line); padding:22px 16px; position:sticky; top:0; height:100vh; overflow-y:auto; scrollbar-color:#c7cdd3 transparent; scrollbar-width:thin; }
.sidebar-brand { display:flex; align-items:center; gap:10px; font-weight:800; color:var(--ink); font-size:1.05rem; margin-bottom:16px; padding:0 6px 16px; border-bottom:1px solid rgba(230,233,236,.8); }
.sidebar-brand .logo { width:30px; height:30px; flex:none; }
.sidebar-brand small { display:block; margin-top:1px; color:var(--muted); font-size:.68rem; font-weight:600; letter-spacing:.025em; }
.sidebar-search { position:relative; display:flex; align-items:center; gap:8px; margin:0 4px 12px; padding:0 11px; min-height:40px; background:#fff; border:1px solid var(--line); border-radius:10px; color:var(--muted); transition:border-color .15s ease, box-shadow .15s ease; }
.sidebar-search:focus-within { border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-soft); }
.sidebar-search svg { width:17px; height:17px; flex:none; }
.sidebar-search input { width:100%; min-width:0; border:0; outline:0; background:transparent; color:var(--ink); font:inherit; font-size:.86rem; line-height:1.3; }
.sidebar-search input::placeholder { color:var(--muted); opacity:1; }
.search-results { position:absolute; z-index:90; top:calc(100% + 6px); right:0; left:0; overflow:hidden; background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow-lg); }
.search-results a, .search-empty { display:block; padding:10px 12px; font-size:.84rem; line-height:1.35; }
.search-results a { color:var(--body); }
.search-results a:hover, .search-results a:focus-visible { background:var(--brand-soft); color:var(--brand-dark); outline:0; }
.search-empty { color:var(--muted); }
.nav-label { padding:5px 12px 8px; color:var(--muted); font-size:.67rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.side-nav { display:flex; flex-direction:column; gap:2px; }
.side-link { display:block; padding:9px 12px; border-radius:10px; color:var(--body); font-weight:500; font-size:.97rem; transition:background .15s ease, color .15s ease, transform .15s ease; }
.side-link:hover { transform:translateX(2px); }
.side-link:hover, .side-link[aria-current="page"] { background:#fff; color:var(--brand); box-shadow:var(--shadow); }

/* collapsible groups (native <details>) */
.nav-group, .nav-subgroup { border-radius:10px; }
.nav-group > summary, .nav-subgroup > summary {
  list-style:none; cursor:pointer; display:block;
  padding:9px 12px; border-radius:10px; font-weight:500; color:var(--body); font-size:.97rem; user-select:none;
}
.nav-group > summary::-webkit-details-marker, .nav-subgroup > summary::-webkit-details-marker { display:none; }
.nav-group > summary::after, .nav-subgroup > summary::after {
  content:""; display:block; width:7px; height:7px; border-right:2px solid var(--muted); border-bottom:2px solid var(--muted);
  transform:rotate(-45deg); transition:transform .15s ease; margin:6px 0 0 2px; opacity:.6;
}
.nav-group[open] > summary::after, .nav-subgroup[open] > summary::after { transform:rotate(45deg); }
.nav-group > summary:hover, .nav-subgroup > summary:hover { background:rgba(255,255,255,.76); }
.nav-subgroup > summary { font-weight:500; color:var(--body); font-size:.95rem; }
.nav-subgroup > summary > a { color:inherit; text-decoration:none; }
.nav-subgroup > summary > a:hover, .nav-subgroup > summary > a[aria-current="page"] { color:var(--brand); }

.nav-group > ul, .nav-subgroup > ul { list-style:none; padding:0; }
.nav-group > ul { margin:2px 0 8px 14px; padding-left:12px; border-left:1px solid var(--line); }
.nav-subgroup > ul { margin:2px 0 6px 12px; padding-left:10px; border-left:1px solid var(--line); }
.nav-group > ul a, .nav-subgroup > ul a { position:relative; display:block; padding:7px 12px; border-radius:8px; color:var(--muted); font-size:.93rem; transition:background .15s ease, color .15s ease, transform .15s ease; }
.nav-group > ul a:hover, .nav-subgroup > ul a:hover { background:#fff; color:var(--brand); transform:translateX(2px); }
.nav-group > ul a[aria-current="page"], .nav-subgroup > ul a[aria-current="page"] { background:#fff; color:var(--brand-dark); font-weight:700; box-shadow:var(--shadow); }
.nav-group > ul a[aria-current="page"]::before, .nav-subgroup > ul a[aria-current="page"]::before { content:""; position:absolute; left:-13px; top:50%; width:5px; height:5px; border-radius:50%; background:var(--brand); box-shadow:0 0 0 4px var(--brand-soft); transform:translateY(-50%); }
.nav-group:has(a[aria-current="page"]) > summary, .nav-subgroup:has(a[aria-current="page"]) > summary { color:var(--body); }

.sidebar-actions { display:flex; gap:8px; margin:20px 4px 0; padding-top:16px; border-top:1px solid var(--line); }
.sidebar-pill { flex:1; padding:8px 7px; border:1px solid var(--line); border-radius:999px; color:var(--body); background:#fff; text-align:center; font-size:.76rem; font-weight:700; line-height:1.2; transition:border-color .15s ease, color .15s ease, background .15s ease; }
.sidebar-pill:hover { border-color:var(--brand); color:var(--brand-dark); }
.sidebar-pill--primary { border-color:var(--brand); background:var(--brand); color:#fff; }
.sidebar-pill--primary:hover { background:var(--brand-dark); color:#fff; }
.side-foot { margin:10px 4px 0; padding:0 8px 4px; color:var(--muted); font-size:.76rem; }

/* ---------- Content ---------- */
.content { padding: clamp(28px, 4vw, 56px); min-width:0; }
.content-inner { max-width: 880px; margin-inline:auto; }
.article { max-width: 740px; margin-inline:auto; }

/* contained intro (home/about) */
.hero { padding: 8px 0 32px; border-bottom:1px solid var(--line); margin-bottom:38px; }
.hero h1 { margin-bottom:14px; }
.hero .lead { max-width:60ch; }

/* cards grid */
.grid { display:grid; gap:18px; }
.grid-3 { grid-template-columns:repeat(3,1fr); }
.grid-2 { grid-template-columns:repeat(2,1fr); }
.grid-auto { grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.card { position:relative; overflow:hidden; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow); transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; display:flex; flex-direction:column; height:100%; }
.card::before { content:""; position:absolute; top:0; left:22px; right:22px; height:3px; border-radius:0 0 99px 99px; background:var(--brand); transform:scaleX(0); transform-origin:left; transition:transform .2s ease; }
.card:hover { transform:translateY(-3px); border-color:#efd2ca; box-shadow:var(--shadow-lg); }
.card:hover::before { transform:scaleX(1); }
.card .icon { width:42px; height:42px; border-radius:12px; background:var(--brand-soft); color:var(--brand); display:grid; place-items:center; margin-bottom:14px; }
.card .icon svg { width:21px; height:21px; }
.card h3 { margin-bottom:6px; }
.card p { color:var(--muted); font-size:.96rem; flex:1; }
.card .more { margin-top:14px; font-weight:600; color:var(--brand); font-size:.93rem; }
.section { margin-top:48px; }
.section h2 { position:relative; margin-bottom:7px; padding-left:15px; }
.section h2::before { content:""; position:absolute; left:0; top:.23em; width:4px; height:.95em; border-radius:99px; background:var(--brand); }
/* Prevent stray red lines from empty headings after content edits */
.section h2:empty,
.section h2:has(> br:only-child) { display: none; margin:0; padding:0; }
/* Remove excessive trailing whitespace on all pages */
.content-inner > *:last-child,
.prose > *:last-child,
.section > *:last-child { margin-bottom: 0; }
.section:last-child { margin-bottom: 0; }
body > .layout > .content { padding-bottom: clamp(28px, 4vw, 48px); }
.section .sub { color:var(--muted); margin-bottom:20px; }

/* ---------- 4-concern hub (visa / payment / internet / hotel) ---------- */
.concern-hub-intro { margin-top: 48px; }
.concern-hub-intro h2 { color: var(--brand); }
.concern-module {
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.concern-module:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.concern-module h2 {
  color: var(--brand);
  font-size: 1.72rem;
  margin-bottom: 18px;
  padding-left: 0;
}
.concern-module h2::before { display: none; }
.concern-module h3 {
  color: var(--ink);
  font-size: 1.15rem;
  margin-top: 26px;
  margin-bottom: 10px;
}
.concern-module p {
  margin-bottom: 14px;
  color: var(--body);
}
.concern-module ul,
.concern-module ol {
  margin: 0 0 18px 1.2em;
}
.concern-module li {
  margin-bottom: 7px;
}
.concern-module .module-intro {
  color: var(--body);
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.concern-module .worry-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  margin: 18px 0;
}
.concern-module .worry-list ul {
  margin: 0 0 0 1.1em;
}
.concern-module .worry-list li {
  margin-bottom: 8px;
  color: var(--muted);
  font-style: italic;
}
.concern-module .one-liner {
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0 0;
  font-weight: 500;
  color: var(--ink);
}
.concern-module .one-liner p { margin: 0; }
.concern-module .table {
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 18px 0;
}
.concern-module .table th {
  background: var(--surface);
  font-weight: 700;
  color: var(--ink);
}
.concern-module .table td,
.concern-module .table th {
  padding: 11px 13px;
}
.checklist-module {
  border-top: 2px solid var(--brand);
}
.checklist-table th:first-child,
.checklist-table td:first-child {
  width: 60px;
  text-align: center;
}
.checklist-table td:nth-child(3) {
  white-space: nowrap;
}

/* ---------- Article prose ---------- */
.article-header { margin-bottom:28px; }
.article-header .tag { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--brand); background:var(--brand-soft); padding:5px 12px; border-radius:999px; margin-bottom:14px; }
.article-meta { color:var(--muted); font-size:.9rem; margin-top:12px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.article-meta .dot { width:4px; height:4px; border-radius:50%; background:var(--muted); }
.prose { font-size:1.06rem; color:var(--body); }
.prose h2 { margin-top:38px; margin-bottom:12px; font-size:1.45rem; }
.prose h3 { margin-top:26px; margin-bottom:8px; }
.prose p { margin-bottom:16px; }
.prose ul, .prose ol { margin:0 0 18px 1.2em; }
.prose li { margin-bottom:7px; }
.prose strong { color:var(--ink); }
.prose a.inline { color:var(--brand); font-weight:600; border-bottom:1px solid var(--brand-soft); }
.prose blockquote { border-left:3px solid var(--brand); background:var(--brand-soft); padding:13px 18px; border-radius:0 10px 10px 0; margin:0 0 20px; font-style:italic; }
.callout { border:1px solid var(--line); background:var(--surface); border-radius:var(--radius); padding:16px 18px; margin:22px 0; display:flex; gap:13px; }
.callout .icon { flex:none; width:26px; height:26px; color:var(--ok); }
.callout p { margin:0; font-size:.97rem; }
.callout strong { color:var(--ink); }
.table { width:100%; border-collapse:collapse; margin:18px 0; font-size:.97rem; }
.table th, .table td { text-align:left; padding:11px 13px; border-bottom:1px solid var(--line); }
.table th { color:var(--ink); background:var(--surface); }
.table tr:hover td { background:var(--surface); }

/* ---------- Signature card tables: troubleshoot (.ts) + comparison (.pro) ---------- */
.table.ts, .table.pro {
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0 30px;
  background: #fff;
  border: 1px solid #dde5ec;
  box-shadow: var(--shadow-lg);
  font-size: .95rem;
}
.table.ts th, .table.pro th {
  background: linear-gradient(135deg, #1c2b3c 0%, #33475e 60%, #3c5a74 100%);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 14px 18px;
  border-bottom: none;
}
.table.ts th:first-child, .table.pro th:first-child { border-top-left-radius: 14px; }
.table.ts th:last-child, .table.pro th:last-child { border-top-right-radius: 14px; }
.table.ts td, .table.pro td {
  padding: 14px 18px;
  border-bottom: 1px solid #edf1f5;
  vertical-align: top;
}
.table.ts tbody tr:nth-child(even) td, .table.pro tbody tr:nth-child(even) td { background: #f6f9fc; }
.table.ts tbody tr td:first-child, .table.pro tbody tr td:first-child { font-weight: 600; color: var(--ink); }
.table.ts tbody tr td:last-child {
  background: #eef8f5;
  box-shadow: inset 3px 0 0 rgba(15, 123, 108, .4);
}
.table.ts tbody tr:last-child td, .table.pro tbody tr:last-child td { border-bottom: none; }
.table.ts tbody tr:last-child td:first-child, .table.pro tbody tr:last-child td:first-child { border-bottom-left-radius: 14px; }
.table.ts tbody tr:last-child td:last-child, .table.pro tbody tr:last-child td:last-child { border-bottom-right-radius: 14px; }
.table.ts tbody tr:hover td:not(:last-child), .table.pro tbody tr:hover td:not(:last-child) { background: var(--brand-soft); }
@media (max-width: 640px) {
  .table.ts th, .table.ts td, .table.pro th, .table.pro td { padding: 10px 12px; }
}

/* ---------- Payment method cards (Alipay / WeChat / cash) ---------- */
.pay-stack { display: grid; gap: 22px; margin: 30px 0 34px; }
.pay-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pay-card--alipay { --pay: #1677ff; }
.pay-card--wechat { --pay: #07c160; }
.pay-card--cash   { --pay: #d9822b; }
.pay-head {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 3px 0 var(--pay);
  background: #fff;
}
.pay-num {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--pay);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.pay-eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--pay);
}
.pay-head h2 { margin: 3px 0 0; font-size: 1.28rem; line-height: 1.3; }
.pay-en { color: var(--muted); font-size: .88rem; font-weight: 600; margin-left: 8px; }
.pay-body { padding: 20px 22px 24px; }
.pay-body > p:first-child { margin-top: 0; }
.pay-body > :last-child { margin-bottom: 0; }
.pay-body .table { font-size: .92rem; }
@media (max-width: 560px) {
  .pay-head { padding: 15px 16px; }
  .pay-body { padding: 16px 16px 20px; }
  .pay-en { display: block; margin: 4px 0 0; }
}

/* ---------- Internet guide: slogan banner + relationship explainer + duo cards ---------- */
.net-banner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  margin: 26px 0 14px;
  box-shadow: var(--shadow-lg);
}
.net-banner .nb-zh { display: block; font-size: 1.3rem; font-weight: 800; letter-spacing: .02em; }
.net-banner .nb-en { display: block; margin-top: 6px; font-size: .95rem; font-weight: 600; opacity: .92; }
.net-rel {
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 26px;
  box-shadow: var(--shadow);
}
.net-rel p { margin-bottom: 10px; font-size: .98rem; }
.net-rel p:last-child { margin-bottom: 0; }
.duo-grid { display: grid; gap: 22px; margin: 30px 0 34px; grid-template-columns: 1fr; }
.pay-card--vpn  { --pay: #5b5bd6; }
.pay-card--esim { --pay: #0f7b6c; }
.pay-card--apps { --pay: #5b5bd6; }
/* Apps comparison table: pay-tinted lavender header + tinted last column (original look) */
.pay-card--apps .table { border: 1px solid var(--line); border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.pay-card--apps .table th { background: color-mix(in srgb, var(--pay) 10%, #fff); color: var(--pay); font-size: .8rem; font-weight: 700; }
.pay-card--apps .table td:last-child { background: color-mix(in srgb, var(--pay) 5%, #fff); box-shadow: inset 3px 0 0 color-mix(in srgb, var(--pay) 40%, transparent); }
@media (min-width: 1000px) {
  .duo-grid { grid-template-columns: 1fr 1fr; margin-inline: -70px; }
  .duo-grid .table { font-size: .82rem; }
  .duo-grid .table th, .duo-grid .table td { padding: 8px 9px; }
}

/* ---------- Hotel guide: stay cards (platform + chains), one shared accent ---------- */
.stay-card { --pay: var(--brand); }
.pay-body .table.pro {
  box-shadow: none;
  border-color: var(--line);
  margin: 16px 0 0;
}

/* ---------- Hotel guide: three fact summary cards ---------- */
.fact-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 26px 0 30px; }
@media (min-width: 760px) { .fact-grid { grid-template-columns: repeat(3, 1fr); } }
.fact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 20px;
  box-shadow: var(--shadow), inset 0 3px 0 var(--fc);
}
.fact-card--rule { --fc: #33475e; }
.fact-card--wall { --fc: #d9822b; }
.fact-card--fix  { --fc: var(--ok); }
.fact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fc);
  color: #fff;
  box-shadow: var(--shadow);
}
.fact-icon svg { width: 22px; height: 22px; }
.fact-card h3 { margin: 14px 0 6px; font-size: 1.02rem; }
.fact-card p { margin: 0; font-size: .92rem; color: var(--body); }
@media (min-width: 760px) { .fact-grid--two { grid-template-columns: 1fr 1fr; } }
.fact-card--free { --fc: #1677ff; }
.fact-card--msg  { --fc: var(--ok); }
.fact-card--v1 { --fc: #33475e; }
.fact-card--v2 { --fc: #d9822b; }
.fact-card--v3 { --fc: var(--ok); }
.fact-card--p1 { --fc: #1677ff; }
.fact-card--p2 { --fc: #d9822b; }
.fact-card--p3 { --fc: var(--ok); }
.fact-card--i1 { --fc: #5b5bd6; }
.fact-card--i2 { --fc: #1677ff; }
.fact-card--i3 { --fc: var(--ok); }
.fact-card p + p { margin-top: 8px; }
.pay-card--t1 { --pay: #33475e; }
.pay-card--t2 { --pay: #1677ff; }
.pay-card--t3 { --pay: #5b5bd6; }
.pay-card--t4 { --pay: var(--ok); }
.pay-card--t5 { --pay: #d9822b; }
.pay-card--t6 { --pay: var(--brand); }

/* ---------- Checklist cards (Quick checklist on every guide) ---------- */
.check-card { --pay: var(--brand); }
.pay-num--icon svg { width: 22px; height: 22px; }

/* ---------- Home master checklist: premium "boarding pass" card ---------- */
.check-hero {
  margin-top: 56px;
  background: #fff;
  border: 1px solid #dde5ec;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.check-hero-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 30px;
  background: linear-gradient(135deg, #1c2b3c 0%, #33475e 60%, #3c5a74 100%);
  color: #fff;
  overflow: hidden;
}
.check-hero-head::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -90px;
  width: 230px;
  height: 230px;
  border: 42px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  pointer-events: none;
}
.check-hero-badge {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  display: grid;
  place-items: center;
}
.check-hero-badge svg { width: 26px; height: 26px; }
.check-hero-eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.check-hero-titles h2 {
  margin: 4px 0 2px;
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: -.02em;
}
.check-hero-en {
  display: block;
  color: rgba(255, 255, 255, .66);
  font-size: .85rem;
  font-weight: 600;
}
.check-hero-body { padding: 20px 26px 6px; }
.check-table {
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  font-size: .97rem;
}
.check-table th {
  background: transparent;
  border-bottom: 2px solid var(--surface-2);
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 14px 12px;
}
.check-table th:first-child { text-align: center; }
.check-table th:last-child { text-align: right; }
.check-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #edf1f5;
  vertical-align: middle;
}
.check-table td:first-child { width: 64px; text-align: center; }
.check-table td:nth-child(2) { color: var(--ink); font-weight: 600; }
.check-table td:last-child { text-align: right; }
.check-table tbody tr:nth-child(even) td { background: #f6f9fc; }
.check-table tbody tr:last-child td { border-bottom: none; }
.check-table tbody tr:hover td { background: var(--brand-soft); }
.ck-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1c2b3c, #3c5a74);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
}
.ck-time {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}
.check-hero-foot {
  padding: 16px 30px 24px;
  border-top: 2px dashed var(--line);
  background: #fbfcfe;
}
.check-hero-foot p { margin: 0; color: var(--ink); font-weight: 600; font-size: .98rem; }
@media (max-width: 640px) {
  .check-hero-head { padding: 20px 18px; gap: 14px; }
  .check-hero-badge { width: 44px; height: 44px; }
  .check-hero-badge svg { width: 22px; height: 22px; }
  .check-hero-titles h2 { font-size: 1.25rem; }
  .check-hero-body { padding: 12px 10px 2px; }
  .check-table th, .check-table td { padding: 10px 8px; }
  .check-table td:first-child { width: 40px; }
  .ck-num { width: 26px; height: 26px; font-size: .78rem; }
  .ck-time { padding: 4px 10px; font-size: .74rem; }
  .check-hero-foot { padding: 14px 18px 20px; }
}

/* ---------- Short-answer cards (TL;DR under each guide title) ---------- */
.pay-stack--tldr { margin: 24px 0 28px; }
.pay-card--tl-visa  { --pay: #33475e; }
.pay-card--tl-net   { --pay: #5b5bd6; }
.pay-card--tl-hotel { --pay: #d9822b; }
.pay-card--tl-pay   { --pay: #1677ff; }
.prose .check-list { list-style: none; margin: 0; padding: 0; counter-reset: ck; }
.check-list li {
  counter-increment: ck;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px dashed var(--line);
  font-size: .95rem;
  color: var(--body);
}
.check-list li:last-child { border-bottom: none; padding-bottom: 2px; }
.check-list li::before {
  content: counter(ck);
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: .8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.msg-block {
  background: var(--surface);
  border-left: 3px solid var(--fc);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 10px;
  font-size: .9rem;
  font-style: italic;
  color: var(--body);
}
.related { border-top:1px solid var(--line); margin-top:42px; padding-top:26px; }
.related h3 { margin-bottom:14px; }

/* ---------- Footer (in content area) ---------- */
.site-footer { margin-top:56px; border-top:1px solid var(--line); padding-top:28px; color:var(--muted); font-size:.9rem; }
.site-footer .foot-grid { display:flex; flex-wrap:wrap; gap:28px; justify-content:space-between; }
.site-footer a { color:var(--muted); }
.site-footer a:hover { color:var(--brand); }
.site-footer .copy { margin-top:18px; padding-top:16px; border-top:1px solid var(--line); font-size:.82rem; }

/* ---------- Utilities ---------- */
.center { text-align:center; }
.badge { display:inline-flex; align-items:center; gap:6px; font-size:.8rem; font-weight:600; color:var(--muted); background:var(--surface); border:1px solid var(--line); padding:5px 12px; border-radius:999px; }

/* ---------- a11y ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, .btn:focus-visible, summary:focus-visible { outline:3px solid var(--brand); outline-offset:2px; border-radius:6px; }
.skip-link { position:absolute; left:-999px; top:8px; background:var(--ink); color:#fff; padding:10px 16px; border-radius:8px; z-index:100; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link:focus { left:12px; }
.overlay { display:none; }
.menu-btn[aria-expanded="true"] { /* no-op */ }

/* ---------- Concern hub: issue cards + highlighted worry quotes ---------- */
.issue-wrap { display: grid; gap: 20px; margin: 26px 0 30px; }
.issue-wrap--visa    { --pay: #33475e; }
.issue-wrap--payment { --pay: #1677ff; }
.issue-wrap--internet{ --pay: #5b5bd6; }
.issue-wrap--hotel   { --pay: #d9822b; }
.issue-card,
.worry-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.issue-head {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 3px 0 var(--pay);
}
.issue-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--pay);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.issue-icon svg { width: 22px; height: 22px; }
.issue-eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--pay);
}
.issue-head h3 { margin: 3px 0 0; font-size: 1.22rem; line-height: 1.35; }
.issue-body { padding: 20px 22px 22px; }
.issue-body > p:first-child { margin-top: 0; }
.issue-body > p:last-child { margin-bottom: 0; }
.worry-card { box-shadow: var(--shadow-lg); }
.worry-head {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #1c2b3c 0%, #33475e 60%, #3c5a74 100%);
}
.worry-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.worry-icon svg { width: 20px; height: 20px; }
.worry-eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
  opacity: .78;
}
.worry-head h3 { margin: 3px 0 0; font-size: 1.15rem; color: #fff; }
.worry-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  padding: 20px 22px 24px;
  background: linear-gradient(180deg, #f7fafc 0%, #fff 100%);
}
@media (min-width: 860px) { .worry-grid { grid-template-columns: 1fr 1fr; } }
.worry-grid .worry-quote {
  position: relative;
  margin: 0;
  padding: 12px 18px 13px 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--pay);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-style: italic;
  font-size: .97rem;
  color: var(--ink);
}
.worry-grid .worry-quote::before {
  content: "\201C";
  position: absolute;
  left: 15px;
  top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 1;
  font-style: normal;
  font-weight: 700;
  color: var(--pay);
}
@media (max-width: 560px) {
  .issue-head, .worry-head { padding: 15px 16px; }
  .issue-body { padding: 16px 16px 18px; }
  .worry-grid { padding: 16px 16px 20px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .topbar { display:flex; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position:fixed; top:0; left:0; bottom:0; width:var(--sidebar-w); z-index:80; transform:translateX(-100%); transition:transform .22s ease; box-shadow:var(--shadow-lg); }
  .sidebar.open { transform:none; }
  .overlay.show { display:block; position:fixed; inset:0; background:rgba(16,24,40,.4); z-index:75; }
  .grid-3, .grid-2 { grid-template-columns:1fr; }
}
@media (max-width: 560px) {
  .content { padding:22px 18px; }
}

/* =========================================================
   Imagery & trust blocks (added per Western-audience research)
   - Real photos convert better than none; stock photos hurt trust.
   - All <img> carry width/height + lazy/decode hints (CLS-safe, fast).
   - Placeholders are custom SVG so the site renders offline with no stock.
   ========================================================= */

/* Homepage hero: text + real photo, side by side */
.hero--split { display:grid; grid-template-columns:1.12fr .88fr; gap:clamp(30px,4vw,60px); align-items:center; }
.hero--split .hero-text { min-width:0; }
.hero--split .hero-text h1 { margin-bottom:16px; font-size:clamp(2.2rem,4.1vw,3.15rem); font-weight:800; letter-spacing:-.045em; }
.hero--split .hero-text .lead { max-width:44ch; margin-bottom:25px; line-height:1.82; }
.hero-media { position:relative; padding:0 0 14px 14px; }
.hero-media::before { content:""; position:absolute; inset:20px 20px 0 0; border:1px solid #efd3cc; border-radius:var(--radius); background:var(--brand-soft); }
.hero-photo { position:relative; width:100%; height:auto; aspect-ratio: 4 / 5; object-fit:cover; border-radius:var(--radius); box-shadow:var(--shadow-lg); display:block; }
@media (max-width: 760px) {
  .hero--split { grid-template-columns:1fr; }
  .hero-media { order:-1; }
  .hero-media { padding:0 0 10px 10px; }
  .hero-media::before { inset:14px 14px 0 0; }
  .hero-photo { aspect-ratio: 16 / 10; }
}

/* Author trust block (homepage + about) */
.author-card { display:flex; gap:18px; align-items:flex-start; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:20px 22px; margin:4px 0 38px; }
.author-photo { width:84px; height:84px; border-radius:50%; object-fit:cover; flex:none; box-shadow:var(--shadow); }
.author-eyebrow { display:block; font-size:.74rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--brand); margin-bottom:6px; }
.author-card p { margin:0 0 8px; font-size:.98rem; }
.author-link { font-weight:600; color:var(--brand); font-size:.93rem; }
.author-link:hover { text-decoration:underline; }

.author-feature { display:flex; gap:20px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:18px 22px; margin-bottom:26px; }
.author-feature img { width:96px; height:96px; border-radius:50%; object-fit:cover; flex:none; box-shadow:var(--shadow); }
.author-feature .af-name { font-weight:700; color:var(--ink); font-size:1.05rem; }
.author-feature .af-role { color:var(--muted); font-size:.92rem; }

/* Destination / article hero image slot */
.page-hero { border-radius:var(--radius); overflow:hidden; margin-bottom:30px; box-shadow:var(--shadow); }
.page-hero img { width:100%; height:auto; aspect-ratio: 1200 / 480; object-fit:cover; display:block; }
.content-image { display:block; width:100%; max-width:100%; aspect-ratio:16 / 9; height:auto; object-fit:cover; border-radius:var(--radius-sm); margin:22px 0; }
@media (max-width: 560px) { .page-hero img { aspect-ratio: 16 / 10; } }

/* Destination city hubs: a route board, not a generic list of attractions. */
.city-guide { max-width:880px; margin-inline:auto; }
.city-hero { min-height:310px; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr); gap:28px; align-items:end; padding:clamp(28px,5vw,54px); border-radius:22px; color:#fff; overflow:hidden; position:relative; background:#27384b; }
.city-hero::after { content:""; position:absolute; inset:auto -70px -120px auto; width:330px; height:330px; border:46px solid rgba(255,255,255,.1); border-radius:50%; pointer-events:none; }
.city-hero > * { position:relative; z-index:1; }
.city-hero--beijing { background:linear-gradient(130deg,#7d3025,#ca6544); }
.city-hero--beijing { background:linear-gradient(135deg,#f5f2eb,#e8eff2); border:1px solid #d5dfe5; color:#1f3b57; }
.city-hero--beijing::after { width:280px; height:280px; border-color:rgba(31,59,87,.08); }
.city-hero--beijing .city-kicker { color:#b64a3b; }.city-hero--beijing h1 { color:#1f3b57; }.city-hero--beijing p { color:#526477; }.city-hero--beijing .city-stats div { background:rgba(255,255,255,.72); border-color:#cedae1; }.city-hero--beijing .city-stats strong { color:#1f3b57; }.city-hero--beijing .city-stats span { color:#647588; }
.city-hero--xian { background:linear-gradient(130deg,#513827,#9a7049); }
.city-hero--chengdu { background:linear-gradient(130deg,#21483e,#4b8171); }
.city-hero--shanghai { background:linear-gradient(130deg,#253855,#516a9d); }
.city-kicker { display:block; margin-bottom:14px; color:rgba(255,255,255,.8); font-size:.72rem; letter-spacing:.14em; font-weight:800; }
.city-hero h1 { max-width:12ch; margin:0 0 13px; color:#fff; font-size:clamp(2.15rem,4vw,3.5rem); line-height:1.07; letter-spacing:-.05em; }
.city-hero p { max-width:48ch; margin:0; color:rgba(255,255,255,.88); font-size:1rem; line-height:1.75; }
.city-stats { display:grid; gap:8px; }
.city-stats div { padding:12px 14px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22); border-radius:12px; backdrop-filter:blur(5px); }
.city-stats strong, .city-stats span { display:block; }
.city-stats strong { font-size:1.18rem; letter-spacing:-.03em; }.city-stats span { font-size:.78rem; color:rgba(255,255,255,.76); }
.route-intro { display:flex; align-items:baseline; gap:16px; padding:18px 2px; border-bottom:1px solid var(--line); }.route-intro span,.section-heading > span { color:var(--brand); font-weight:800; letter-spacing:.1em; font-size:.7rem; }.route-intro p { margin:0; color:var(--muted); font-size:.94rem; }
.route-board { margin-top:38px; }.section-heading { margin-bottom:22px; }.section-heading h2 { margin:5px 0 0; font-size:1.75rem; letter-spacing:-.04em; }
.route-day { display:grid; grid-template-columns:170px minmax(0,1fr); gap:28px; padding:25px 0; border-top:1px solid var(--line); }.route-day-label span,.route-day-label small { display:block; }.route-day-label span { color:var(--brand); font-size:.72rem; font-weight:800; letter-spacing:.09em; }.route-day-label strong { display:block; margin:4px 0; color:var(--ink); font-size:1.05rem; }.route-day-label small { color:var(--muted); line-height:1.45; }
.route-line { position:relative; padding-left:30px; }.route-line::before { content:""; position:absolute; top:20px; bottom:20px; left:10px; width:2px; background:linear-gradient(var(--brand),#f4d4cd); }.route-stop { position:relative; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); overflow:hidden; }.route-stop + .route-stop { margin-top:12px; }.route-stop summary { list-style:none; display:grid; grid-template-columns:38px minmax(0,1fr) auto; align-items:center; gap:12px; padding:16px; cursor:pointer; }.route-stop summary::-webkit-details-marker { display:none; }.route-pin { position:relative; z-index:1; display:grid; place-items:center; width:38px; height:38px; color:#fff; background:var(--brand); border:4px solid #fff; border-radius:50%; box-shadow:0 0 0 2px var(--brand-soft); font-size:.73rem; font-weight:800; }.route-stop b,.route-stop em { display:block; }.route-stop b { color:var(--ink); }.route-stop em { margin-top:3px; color:var(--muted); font-size:.86rem; font-style:normal; }.route-toggle { color:var(--brand); font-size:.8rem; font-weight:700; }.route-detail { margin:0 16px 16px 66px; padding-top:13px; border-top:1px solid var(--line); color:var(--body); font-size:.93rem; }.route-detail p { margin:0 0 10px; line-height:1.65; }.route-detail a { font-weight:700; color:var(--brand); }.route-connector { position:relative; margin:10px 0 10px 8px; padding-left:26px; color:var(--muted); font-size:.8rem; }.route-connector::before { content:"↓"; position:absolute; left:0; color:var(--brand); font-size:1.1rem; }.route-note { margin:0 0 0 17px; padding:12px 14px; border-left:2px solid #f0cfc6; background:#fff9f7; color:var(--muted); font-size:.88rem; }.route-note b,.route-note span { display:block; }.route-note b { color:var(--ink); margin-bottom:2px; }
.city-guide-foot { margin-top:40px; padding-top:28px; border-top:1px solid var(--line); }.city-guide-foot h2 { margin-bottom:18px; font-size:1.35rem; }.mini-guide { padding:16px; border:1px solid var(--line); border-radius:12px; background:#fff; }.mini-guide b { color:var(--ink); font-size:.92rem; }.mini-guide p { margin:7px 0 0; color:var(--muted); font-size:.88rem; }.mini-guide a { color:var(--brand); font-weight:700; }
@media (max-width:700px) { .city-hero { grid-template-columns:1fr; min-height:0; }.city-stats { grid-template-columns:repeat(3,1fr); }.city-stats div { padding:10px; }.city-stats strong { font-size:1rem; }.route-day { grid-template-columns:1fr; gap:13px; }.route-day-label { display:grid; grid-template-columns:auto 1fr; column-gap:10px; align-items:baseline; }.route-day-label span { grid-row:span 2; }.route-day-label small { grid-column:2; }.route-stop summary { padding:13px; }.route-detail { margin-left:63px; }.route-intro { display:block; }.route-intro p { margin-top:5px; } }
@media (max-width:420px) { .city-stats { grid-template-columns:1fr; }.route-stop summary { grid-template-columns:34px minmax(0,1fr); }.route-toggle { display:none; }.route-detail { margin-left:16px; } }
/* Interactive destination maps */
.city-map-section { margin-top:38px; }
.city-map-copy { margin:6px 0 18px; color:var(--muted); }
.beijing-handdrawn-map { margin:0; padding:10px; border:1px solid #dfd3bd; border-radius:20px; background:#fff8e8; box-shadow:0 16px 36px rgba(65,45,25,.12); }
.beijing-handdrawn-map img { display:block; width:100%; height:auto; border-radius:13px; }
.beijing-handdrawn-map figcaption { margin:10px 4px 2px; color:#84735e; font-size:.82rem; font-weight:700; letter-spacing:.04em; }
.handdrawn-route-preview { margin:0; padding:14px; border:1px solid #dfd5c5; border-radius:20px; background:#f6f0e5; box-shadow:0 16px 36px rgba(65,45,25,.12); }
.handdrawn-route-preview img { display:block; width:100%; height:auto; border-radius:12px; background:#fffaf0; }
.handdrawn-route-preview figcaption { margin:12px 5px 2px; color:#7f7262; font-size:.9rem; }
.handdrawn-route-controls { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 12px; }
.handdrawn-route-controls button { display:inline-flex; align-items:center; gap:7px; border:1px solid #dacdb9; border-radius:999px; padding:9px 15px; background:#fffdf7; color:#33485c; font:700 .88rem/1 inherit; cursor:pointer; transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.handdrawn-route-controls button:hover,.handdrawn-route-controls button:focus-visible { border-color:#aa442f; transform:translateY(-1px); box-shadow:0 5px 14px rgba(68,48,28,.14); outline:0; }
.handdrawn-route-controls button[aria-pressed="true"] { color:#fff; border-color:#243d57; background:#243d57; }
.handdrawn-route-controls i { width:9px; height:9px; border-radius:50%; background:currentColor; }.handdrawn-route-controls [data-alex-route="three"] i { background:#c84c3d; }.handdrawn-route-controls [data-alex-route="five"] i { background:#37816c; }.handdrawn-route-controls [data-alex-route="seven"] i { background:#bf8a26; }
.alex-route-status { margin:0 0 12px; color:#756b5f; font-size:.9rem; }
.alex-route-map { position:relative; min-height:630px; overflow:hidden; border:1px solid #e3d5b8; border-radius:20px; background:#fff9ea; box-shadow:0 16px 36px rgba(65,45,25,.1); isolation:isolate; }
.alex-route-map::before { content:""; position:absolute; inset:0; opacity:.32; background:radial-gradient(circle at 20% 14%, rgba(228,184,95,.2), transparent 22%), radial-gradient(circle at 76% 72%, rgba(181,209,174,.18), transparent 26%), repeating-linear-gradient(0deg, transparent 0 31px, rgba(123,91,48,.06) 32px 33px); pointer-events:none; }
.alex-route-map svg { position:absolute; inset:0; width:100%; height:100%; z-index:1; pointer-events:none; }
.alex-route-map .sketch-boundary { fill:none; stroke:#cfbb95; stroke-width:1; stroke-dasharray:5 8; opacity:.55; }.alex-route-map .sketch-river { fill:none; stroke:#9aafae; stroke-width:3; opacity:.22; }
.alex-route-map .route-line { fill:none; stroke-width:3.5; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 1px 1px rgba(86,47,24,.14)); stroke-dasharray:900; stroke-dashoffset:900; opacity:0; transition:stroke-dashoffset .75s ease, opacity .2s ease; }
.alex-route-map .route-line.is-visible { stroke-dashoffset:0; opacity:1; }.alex-route-map .route-three { stroke:#c84c3d; }.alex-route-map .route-five { stroke:#37816c; }.alex-route-map .route-seven { stroke:#bf8a26; }
.alex-route-map .route-day-label { fill:#715d44; font:700 12px/1 'Plus Jakarta Sans', sans-serif; letter-spacing:1px; opacity:0; transition:opacity .25s ease .25s; }.alex-route-map .route-day-label.is-visible { opacity:1; }
.alex-stop { position:absolute; z-index:2; transform:translate(-50%,-50%); display:grid; grid-template-columns:28px max-content; gap:7px; align-items:center; color:#243d57; text-decoration:none; cursor:pointer; }.alex-stop:focus-visible { outline:3px solid rgba(200,76,61,.32); outline-offset:5px; border-radius:6px; }.alex-stop__pin { display:grid; place-items:center; width:25px; height:25px; border:2px solid #fff9ea; border-radius:50%; background:#c84c3d; color:#fff; box-shadow:0 2px 0 #803225,0 3px 8px rgba(56,38,23,.16); font-size:.62rem; font-weight:800; }.alex-stop__label { padding:3px 6px; border:1px solid rgba(151,118,74,.23); border-radius:5px; background:rgba(255,250,235,.9); box-shadow:0 2px 7px rgba(65,45,25,.05); font-size:.76rem; font-weight:800; line-height:1.2; }.alex-stop:hover .alex-stop__pin { background:#243d57; transform:scale(1.12); }.alex-stop:hover .alex-stop__label { color:#c84c3d; }
.alex-route-key { position:absolute; z-index:2; right:18px; bottom:15px; color:#897962; font-size:.72rem; line-height:1.55; text-align:right; }.alex-route-key strong { display:block; color:#5d4e3d; }
@media (max-width:650px) { .alex-route-map { min-height:660px; }.alex-stop { grid-template-columns:24px max-content; gap:4px; }.alex-stop__pin { width:23px; height:23px; font-size:.56rem; }.alex-stop__label { max-width:78px; padding:3px 4px; font-size:.63rem; white-space:normal; }.alex-route-key { left:14px; right:auto; text-align:left; }.handdrawn-route-controls button { padding:8px 11px; font-size:.8rem; } }
.city-map-plans { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 14px; }
.city-map-plan { border:1px solid #cbd5df; border-radius:999px; background:#fff; color:#31475b; padding:9px 15px; font:inherit; font-size:.88rem; font-weight:800; cursor:pointer; }
.city-map-plan:hover { border-color:#1f3b57; }
.city-map-plan[aria-pressed="true"] { color:#fff; border-color:#1f3b57; background:#1f3b57; box-shadow:0 5px 14px rgba(31,59,87,.2); }
.city-map-plan-summary { margin:0 0 16px; padding:12px 14px; border-left:3px solid #b64a3b; background:#f7f9fb; color:#526477; font-size:.9rem; line-height:1.65; }
.city-map-plan-summary strong { color:#1c2f42; }
.city-map { position:relative; height:clamp(390px,53vw,560px); overflow:hidden; border:1px solid #cdd6df; border-radius:16px; background:#e9edf0; box-shadow:0 14px 34px rgba(23,42,61,.12); isolation:isolate; }
.city-map-tiles,.city-map-routes,.city-map-markers { position:absolute; inset:0; }
.city-map-tiles { overflow:hidden; }.city-map-tiles img { position:absolute; width:256px; height:256px; max-width:none; user-select:none; pointer-events:none; }
.city-map-routes { z-index:1; pointer-events:none; }.city-map-markers { z-index:2; }
.map-route-line { fill:none; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; opacity:.92; filter:drop-shadow(0 1px 1px rgba(255,255,255,.8)); }
.map-marker { position:absolute; transform:translate(-50%,-100%); display:flex; align-items:center; gap:7px; color:#fff; text-decoration:none; white-space:nowrap; filter:drop-shadow(0 3px 5px rgba(24,43,61,.28)); transition:opacity .15s ease, transform .15s ease; }
.map-marker > span { display:grid; place-items:center; width:34px; height:34px; border:3px solid #fff; border-radius:50% 50% 50% 0; background:#b64a3b; transform:rotate(-45deg); }
.map-marker > span i { font-style:normal; font-size:.72rem; font-weight:800; transform:rotate(45deg); }
.map-marker > b { padding:5px 8px; border-radius:6px; background:rgba(27,45,62,.9); color:#fff; font-size:.78rem; font-weight:700; }
.map-marker.route-day-1 > span { background:#1f3b57; }.map-marker.route-day-2 > span { background:#b64a3b; }.map-marker.route-day-3 > span { background:#786548; }.map-marker.route-day-4 > span { background:#4e756b; }.map-marker.route-day-5 > span { background:#6f5c82; }
.map-marker.is-muted { opacity:.36; }.map-marker:hover,.map-marker:focus-visible { opacity:1; transform:translate(-50%,-100%) scale(1.08); outline:0; }
.city-map-credit { position:absolute; z-index:3; right:8px; bottom:6px; padding:3px 5px; background:rgba(255,255,255,.82); color:#46505e; font-size:.68rem; }.city-map-credit a { color:inherit; text-decoration:underline; }
.city-map-controls { position:absolute; z-index:3; top:12px; right:12px; display:grid; overflow:hidden; border:1px solid #cbd5df; border-radius:9px; box-shadow:0 4px 14px rgba(23,42,61,.15); }.city-map-controls button { width:34px; height:32px; border:0; border-bottom:1px solid #d8e0e7; background:#fff; color:#1f3b57; font-size:1.35rem; cursor:pointer; }.city-map-controls button:last-child { border-bottom:0; }.city-map-controls button:hover { background:#edf2f5; }
.map-place-grid { margin-top:20px; }.map-place-grid .card { min-height:0; }.map-place-grid .map-number { display:inline-grid; place-items:center; width:25px; height:25px; margin-bottom:10px; border-radius:50%; background:#eef2f5; color:#1f3b57; font-size:.72rem; font-weight:800; }
.city-hero--beijing .city-kicker { color:#b64a3b; }.city-hero--beijing h1 { color:#1f3b57; }.city-hero--beijing p { color:#526477; }.city-hero--beijing .city-stats strong { color:#1f3b57; }.city-hero--beijing .city-stats span { color:#647588; }
@media (max-width:650px) { .city-map { height:500px; }.map-marker > b { display:none; }.map-marker > span { width:32px; height:32px; } }

/* =========================================================
   Growth & monetization blocks (per competitor research)
   - Newsletter / lead capture (the "China Survival Kit" hook)
   - Tool / affiliate callout (natural, disclosed)
   - Insider tip (local-perspective differentiation)
   Keep them calm and on-brand; no clutter, no popups.
   ========================================================= */

/* Newsletter / lead capture */
.newsletter { background:var(--brand-soft); border:1px solid #f6d8cf; border-radius:var(--radius); padding:26px 28px; margin:8px 0 38px; }
.newsletter h2 { margin-bottom:6px; font-size:1.4rem; }
.newsletter p { color:var(--body); margin-bottom:16px; font-size:.98rem; }
.newsletter form { display:flex; gap:10px; flex-wrap:wrap; align-items:stretch; }
.newsletter label { position:absolute; left:-999px; }
.newsletter input[type="email"] { flex:1 1 240px; min-width:0; padding:12px 16px; border:1px solid var(--line); border-radius:999px; font-size:.97rem; background:#fff; color:var(--ink); }
.newsletter input[type="email"]::placeholder { color:var(--muted); }
.newsletter input[type="email"]:focus-visible { outline:3px solid var(--brand); outline-offset:2px; }
.newsletter .btn { flex:none; }
.newsletter .fine { margin:12px 0 0; font-size:.82rem; color:var(--muted); }
.newsletter .fine a { color:var(--muted); text-decoration:underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; }
}

/* Tool / affiliate callout (natural recommendation, disclosed) */
.tool-callout { border:1px solid var(--line); border-left:4px solid var(--brand); background:var(--surface); border-radius:var(--radius); padding:16px 18px; margin:24px 0; display:flex; gap:14px; align-items:flex-start; }
.tool-callout .icon { flex:none; width:36px; height:36px; border-radius:10px; background:#fff; color:var(--brand); display:grid; place-items:center; box-shadow:var(--shadow); }
.tool-callout .icon svg { width:20px; height:20px; }
.tool-callout .tc-body { flex:1; min-width:0; }
.tool-callout h3 { font-size:1.04rem; margin-bottom:3px; }
.tool-callout p { margin:0 0 10px; font-size:.94rem; color:var(--body); }
.tool-callout .tc-link { display:inline-flex; align-items:center; gap:6px; font-weight:600; color:var(--brand); font-size:.93rem; }
.tool-callout .tc-link:hover { text-decoration:underline; }
.tool-callout .tc-note { display:block; margin-top:8px; font-size:.78rem; color:var(--muted); }

/* Insider tip (local perspective — the site's differentiation) */
.insider-tip { border:1px dashed #c9a23f; background:#fdf8ec; border-radius:var(--radius); padding:16px 18px; margin:24px 0; }
.insider-tip .it-label { display:inline-flex; align-items:center; gap:6px; font-size:.72rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:#9a6b00; margin-bottom:8px; }
.insider-tip .it-label svg { width:15px; height:15px; }
.insider-tip p { margin:0; font-size:.97rem; color:var(--body); }
.insider-tip strong { color:var(--ink); }

/* Survival Kit landing hero */
.kit-hero { background:linear-gradient(135deg,#fff,var(--brand-soft)); border:1px solid #f6d8cf; border-radius:var(--radius); padding:30px; margin:8px 0 34px; display:flex; gap:22px; align-items:center; flex-wrap:wrap; }
.kit-hero .kh-text { flex:1 1 300px; min-width:0; }
.kit-hero h1 { margin-bottom:10px; }
.kit-hero p { color:var(--body); margin-bottom:18px; }
.kit-hero .kh-badge { display:inline-flex; align-items:center; gap:7px; font-size:.8rem; font-weight:600; color:var(--brand-dark); background:#fff; border:1px solid #f6d8cf; padding:6px 13px; border-radius:999px; }

/* Kit checklist (reuses prose lists; just a touch of spacing) */
.kit-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; margin:18px 0 8px; }
.kit-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-sm); padding:16px 18px; }
.kit-card h3 { font-size:1.02rem; margin-bottom:8px; }
.kit-card ul { margin:0 0 0 1.1em; }
.kit-card li { margin-bottom:6px; font-size:.95rem; color:var(--body); }

/* Resources / tools hub cards */
.res-card { display:flex; gap:14px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px 20px; box-shadow:var(--shadow); }
.res-card .icon { flex:none; width:40px; height:40px; border-radius:11px; background:var(--brand-soft); color:var(--brand); display:grid; place-items:center; }
.res-card .icon svg { width:20px; height:20px; }
.res-card h3 { font-size:1.06rem; margin-bottom:4px; }
.res-card p { margin:0 0 10px; font-size:.93rem; color:var(--muted); }
.res-card .tc-link { font-weight:600; color:var(--brand); font-size:.92rem; }
.res-card .tc-link:hover { text-decoration:underline; }

/* =========================================================
   Visa checker (interactive, per inbound-travel research)
   ========================================================= */
.visa-checker { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:24px; margin:8px 0 26px; }
.visa-checker > label { display:block; font-weight:600; color:var(--ink); margin-bottom:10px; font-size:.95rem; }
.vc-select { width:100%; padding:13px 15px; border:1px solid var(--line); border-radius:999px; font:inherit; font-size:1rem; background:#fff; color:var(--ink); }
.vc-select:focus-visible { outline:3px solid var(--brand); outline-offset:2px; }
.vc-result { margin-top:18px; }
.vc-hint { color:var(--muted); font-size:.95rem; margin:0; }
.vc-badge { display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:.95rem; padding:8px 15px; border-radius:999px; margin-bottom:12px; }
.vc-ok { background:#e6f5f1; color:var(--ok); }
.vc-blue { background:#e7f0fb; color:#1f5fbf; }
.vc-amber { background:#fdf3e3; color:#9a6b00; }
.vc-result p { margin:0 0 10px; }
.vc-result .btn { margin-top:4px; }
.vc-note { font-size:.9rem; color:var(--muted); }

/* =========================================================
   Itinerary tools (print / calendar export — Western habit)
   ========================================================= */
.itinerary-tools { display:flex; gap:10px; flex-wrap:wrap; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:14px 16px; margin:6px 0 30px; }
.itinerary-tools label { font-weight:600; color:var(--ink); font-size:.9rem; }
.itinerary-tools input[type="date"] { padding:9px 12px; border:1px solid var(--line); border-radius:999px; font:inherit; color:var(--ink); background:#fff; }
.itinerary-tools input[type="date"]:focus-visible { outline:3px solid var(--brand); outline-offset:2px; }
.itinerary-tools .btn { font-size:.9rem; padding:9px 15px; }

/* Print: show only the article, hide all chrome */
@media print {
  .topbar, .sidebar, .overlay, .site-footer, .related, .itinerary-tools,
  .share-bar, .menu-btn, .side-foot, .skip-link { display:none !important; }
  .layout { display:block; }
  .content { padding:0; }
  .content-inner, .article { max-width:100%; }
  body { font-size:12pt; color:#000; }
  a { color:#000; }
  .callout, .tool-callout, .insider-tip, .table, blockquote { break-inside:avoid; }
  .article-header { margin-bottom:14px; }
}

/* =========================================================
   Share + save bar (per Western social/bookmark research)
   - Direct share URLs only: NO third-party tracking scripts
     (privacy-safe, GDPR-era trust signal).
   - Web Share API = native "send to phone / device" on mobile.
   - Save = private, no-account reading list (localStorage).
   ========================================================= */
.share-bar { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin:0 0 26px; padding:12px 14px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); }
.share-bar .sb-label { font-size:.74rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin-right:2px; }
.share-btn { width:38px; height:38px; border-radius:50%; border:1px solid var(--line); background:#fff; color:var(--body); display:grid; place-items:center; padding:0; transition:transform .15s ease, border-color .15s ease, color .15s ease; }
.share-btn:hover { transform:translateY(-2px); border-color:var(--brand); color:var(--brand); }
.share-btn svg { width:18px; height:18px; fill:currentColor; }
.share-btn:active { transform:translateY(0); }
.sb-sep { width:1px; height:24px; background:var(--line); margin:0 3px; }
.save-btn { display:inline-flex; align-items:center; gap:7px; padding:0 16px; height:38px; border-radius:999px; border:1px solid var(--line); background:#fff; color:var(--body); font-weight:600; font-size:.9rem; transition:all .15s ease; }
.save-btn svg { width:17px; height:17px; fill:currentColor; }
.save-btn:hover { border-color:var(--brand); color:var(--brand); }
.save-btn.saved, .save-btn.saved:hover { background:var(--brand); border-color:var(--brand); color:#fff; }

/* Saved reading-list page */
.saved-note { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:14px 18px; margin-bottom:22px; font-size:.95rem; color:var(--body); }
.saved-note strong { color:var(--ink); }
.saved-list { display:flex; flex-direction:column; gap:12px; margin-top:6px; }
.saved-item { display:flex; align-items:center; gap:14px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:15px 18px; box-shadow:var(--shadow); }
.saved-item a.si-title { font-weight:600; color:var(--ink); font-size:1.02rem; flex:1; min-width:0; }
.saved-item a.si-title:hover { color:var(--brand); }
.saved-item .si-date { color:var(--muted); font-size:.85rem; white-space:nowrap; }
.saved-item .si-remove { background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:7px 13px; font-size:.85rem; color:var(--body); }
.saved-item .si-remove:hover { border-color:var(--brand); color:var(--brand); }
.saved-empty { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:28px; text-align:center; color:var(--muted); font-size:.97rem; line-height:1.7; }
.saved-empty a { color:var(--brand); font-weight:600; }

/* ---------- Tabbed concern hub (visa / payment / internet / hotel) ---------- */
.concern-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}
.tab-btn {
  flex: 1 1 calc(25% - 12px);
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--body);
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  box-shadow: var(--shadow);
  text-align: center;
}
.tab-btn:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.tab-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.tab-btn .tab-icon {
  font-size: 1.6rem;
  line-height: 1;
  color: #1f3b57;
}
.tab-btn.active .tab-icon {
  color: #fff;
}
.tab-btn .tab-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}
.tab-btn .tab-label {
  font-size: 1.05rem;
  font-weight: 700;
}
.tab-btn .tab-desc {
  font-size: .74rem;
  opacity: .9;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tab-panels {
  margin-top: 28px;
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
  animation: tabFadeIn .25s ease;
}
.tab-panel .concern-module {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Two-option route tabs (used on the visa guide page) */
.route-tabs { margin-top: 28px; }
.route-tabs .tab-btn { flex: 1 1 calc(50% - 12px); }

/* Vertical step timeline (visa guide, option 1) */
.timeline { margin: 30px 0 8px; }
.timeline-step {
  position: relative;
  display: flex;
  gap: 22px;
  padding-bottom: 34px;
}
.timeline-step:last-child { padding-bottom: 4px; }
/* vertical dashed connector between the numbers */
.timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 64px;
  bottom: 2px;
  border-left: 2px dashed var(--brand);
  opacity: .3;
}
/* horizontal dashed connector from number to title */
.timeline-step::after {
  content: "";
  position: absolute;
  left: 60px;
  width: 22px;
  top: 30px;
  border-top: 2px dashed var(--brand);
  opacity: .55;
}
.timeline-num {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.timeline-body { flex: 1; min-width: 0; }
.timeline-body h3 { margin-top: 14px; margin-bottom: 8px; }
.timeline-body p, .timeline-body li { font-size: .93rem; }
.timeline-body > :last-child { margin-bottom: 0; }
@media (max-width: 560px) {
  .timeline-step { gap: 16px; }
  .timeline-num { flex-basis: 44px; width: 44px; height: 44px; font-size: 1.3rem; }
  .timeline-step:not(:last-child)::before { left: 21px; top: 48px; }
  .timeline-step::after { left: 44px; width: 16px; top: 22px; }
  .timeline-body h3 { margin-top: 8px; }
}

/* Official-site link chip: small card with a standard blue underlined link */
.link-tip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
  padding: 9px 14px;
  background: #f2f7ff;
  border: 1px solid #cfe0ff;
  border-radius: 10px;
  font-size: .88rem;
  color: var(--body);
}
.link-tip svg { flex: none; width: 15px; height: 15px; color: #1677ff; }
.link-tip a {
  color: #1677ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}
.link-tip a:hover { color: #0f5ecc; background: #e3eeff; }

/* Horizontal 5-step visa flow (homepage, option 1) */
.visa-flow-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 26px 22px 22px;
  margin: 24px 0 20px;
}
.visa-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.vf-step { position: relative; text-align: center; }
.vf-num {
  width: 46px;
  height: 46px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.vf-key { display: block; margin-top: 10px; color: var(--ink); font-weight: 700; font-size: .98rem; line-height: 1.3; }
.vf-en { display: block; margin-top: 3px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
/* hotel tab reuses the 5-step flow with its own theme color */
#hotel .vf-num { background: #d9822b; }
#hotel .vf-step:not(:last-child)::before { border-color: #d9822b; }
#hotel .vf-step:not(:last-child)::after { border-color: #d9822b; }
/* dashed connector + arrowhead between the numbered circles */
.vf-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(50% + 30px);
  right: calc(-50% + 30px);
  border-top: 2px dashed var(--brand);
  opacity: .35;
}
.vf-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px;
  right: calc(-50% + 24px);
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
  opacity: .55;
}
@media (max-width: 700px) {
  .visa-flow { grid-template-columns: 1fr; gap: 0; }
  .vf-step {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 14px;
    text-align: left;
    padding-bottom: 24px;
  }
  .vf-step:last-child { padding-bottom: 4px; }
  .vf-num { margin: 0; grid-row: 1 / span 2; align-self: start; }
  .vf-key { margin-top: 3px; }
  .vf-step:not(:last-child)::before {
    top: 50px;
    bottom: 4px;
    left: 22px;
    right: auto;
    border-top: none;
    border-left: 2px dashed var(--brand);
  }
  .vf-step:not(:last-child)::after {
    top: auto;
    bottom: 6px;
    left: 19px;
    right: auto;
    transform: rotate(45deg);
  }
}

/* ---------- Home visa option 2: TWOV route banner + fact cards ---------- */
.twov-banner {
  position: relative;
  margin: 24px 0 20px;
  padding: 22px 24px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1c2b3c 0%, #33475e 60%, #3c5a74 100%);
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.twov-banner::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -90px;
  width: 210px;
  height: 210px;
  border: 38px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  pointer-events: none;
}
.twov-route { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.tr-stop {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: .92rem;
  font-weight: 700;
}
.tr-stop--cn { background: #fff; border-color: #fff; color: #33475e; }
.tr-arrow { color: rgba(255, 255, 255, .66); font-weight: 800; }
.twov-banner .twov-fit { position: relative; margin: 14px 0 0; font-size: .95rem; color: rgba(255, 255, 255, .88); }
.twov-banner .twov-fit strong { color: #fff; }
.twov-grid { margin: 0 0 20px; }
.fact-card--z1 { --fc: #33475e; }
.fact-card--z2 { --fc: #d9822b; }
.fact-card--z3 { --fc: var(--ok); }
.fact-card .route-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.rp {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}
.rp--ok { background: #e4f2ef; color: var(--ok); }
.rp--no { background: var(--brand-soft); color: var(--brand-dark); }
@media (max-width: 640px) {
  .twov-banner { padding: 18px 16px 16px; }
  .tr-stop { padding: 6px 12px; font-size: .84rem; }
}

/* ---------- Home payment: Alipay hero card + WeChat/cash fact cards ---------- */
.pay-hero { margin-top: 26px; }
.pay-hero .check-hero-head { background: linear-gradient(135deg, #0a4bbf 0%, #1677ff 55%, #4096ff 100%); }
.pay-hero .check-hero-body { padding-bottom: 22px; }
@media (min-width: 701px) {
  .pay-hero .visa-flow { grid-template-columns: repeat(3, 1fr); }
}
.pay-hero .vf-num { background: #1677ff; }
.pay-hero .vf-step:not(:last-child)::before { border-color: #1677ff; }
.pay-hero .vf-step:not(:last-child)::after { border-color: #1677ff; }
.pay-hero-note { margin: 20px 0 0; font-size: .95rem; color: var(--body); }
.pay-hero-note strong { color: #1677ff; }
.pay-hero-tips { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: pt; }
.pay-hero-tips li {
  counter-increment: pt;
  position: relative;
  padding: 10px 2px 10px 36px;
  border-bottom: 1px dashed var(--line);
  font-size: .93rem;
  color: var(--body);
}
.pay-hero-tips li:last-child { border-bottom: none; padding-bottom: 2px; }
.pay-hero-tips li::before {
  content: counter(pt);
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: .76rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pay-hero-tips strong { color: var(--ink); }
.pay-hero-limits {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: .85rem;
  color: var(--muted);
}
.pay-alt-grid { margin: 18px 0 26px; }
.fact-card--wx { --fc: var(--ok); }
.fact-card--cash { --fc: #d9822b; }
/* Culture guide accents (original look): icon tiles + card top borders */
.pay-card--tl-cul { --pay: var(--brand); }
.pay-card--food   { --pay: var(--brand); }
.fact-card--c1 { --fc: #33475e; }
.fact-card--c2 { --fc: #1677ff; }
.fact-card--c3 { --fc: #d9822b; }
.fact-card--c4 { --fc: var(--ok); }
.fact-card--c5 { --fc: #5b5bd6; }
.fact-card--c6 { --fc: var(--brand); }
/* Food flavor gallery (culture guide): masonry grid + caption overlays */
.food-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 118px; margin: 18px 0 8px; }
.food-tile { position: relative; grid-row: span 2; margin: 0; border-radius: 14px; overflow: hidden; background: var(--surface); }
.food-tile--wide { grid-column: span 2; grid-row: span 4; }
.food-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.food-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; background: linear-gradient(180deg, transparent, rgba(10, 14, 20, .72)); display: flex; flex-direction: column; gap: 1px; }
.fd-zh { color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.fd-en { color: rgba(255, 255, 255, .82); font-size: .74rem; }
@media (max-width: 760px) {
  .food-grid { grid-template-columns: 1fr 1fr; }
  .food-tile--wide { grid-column: span 2; grid-row: span 3; }
}

@media (max-width: 760px) {
  .tab-btn { flex: 1 1 calc(50% - 12px); }
}
@media (max-width: 420px) {
  .tab-btn {
    flex: 1 1 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    text-align: left;
  }
}

/* ---------- "Simple version" summary card (top of each payment topic) ---------- */
.simple-sum {
  border: 1.5px dashed var(--pay);
  border-radius: 14px;
  background: #fff;
  background: color-mix(in srgb, var(--pay) 4%, #fff);
  padding: 18px 16px 16px;
  margin: 0 0 18px;
}
.simple-sum-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 16px;
  color: var(--pay);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.simple-sum-label svg { width: 15px; height: 15px; flex: none; }
.simple-sum-label .ss-en {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
@media (min-width: 701px) {
  .simple-sum .visa-flow { grid-template-columns: repeat(3, 1fr); }
}
.simple-sum .vf-num { background: var(--pay); }
.simple-sum .vf-step:not(:last-child)::before { border-color: var(--pay); }
.simple-sum .vf-step:not(:last-child)::after { border-color: var(--pay); }
.simple-sum-done { margin: 16px 0 0; font-size: .9rem; color: var(--body); }
.simple-sum-done strong { color: var(--pay); }

/* ---------- Step 3 docs list: light red-accented inset table ---------- */
.table.docs {
  border-collapse: separate;
  border-spacing: 0;
  margin: 14px 0 16px;
  font-size: .88rem;
  background: #fff;
  border: 1px solid rgba(216, 68, 47, .35);
  box-shadow: 0 1px 6px rgba(216, 68, 47, .08);
}
.table.docs th {
  background: var(--brand-soft);
  box-shadow: inset 0 3px 0 var(--brand);
  color: var(--brand-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(216, 68, 47, .25);
}
.table.docs th:first-child { border-top-left-radius: 10px; }
.table.docs th:last-child { border-top-right-radius: 10px; }
.table.docs td {
  padding: 9px 14px;
  border-bottom: 1px solid #f6e3dd;
  vertical-align: top;
}
.table.docs tbody tr td:first-child { font-weight: 600; color: var(--ink); }
.table.docs tbody tr td:first-child::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .65;
  margin-right: 8px;
  vertical-align: middle;
}
.table.docs tbody tr:nth-child(even) td { background: #fdf8f6; }
.table.docs tbody tr:last-child td { border-bottom: none; }
.table.docs tbody tr:last-child td:first-child { border-bottom-left-radius: 10px; }
.table.docs tbody tr:last-child td:last-child { border-bottom-right-radius: 10px; }
.table.docs tbody tr:hover td { background: var(--brand-soft); }
