/* ============================================================
   China Card — 设计系统
   ------------------------------------------------------------
   两条并行的设计约束，不要互相污染：
   1) 内容页（首页/城市/店铺）—— 商业化呈现，桌面端要有真布局
   2) 卡片页（body.card-mode）—— 给司机/服务员在真实环境看，
      超大字 + 最高对比度，任何"美化"都不能削弱可读性
   ============================================================ */

:root {
  /* 品牌：中国红。只用在高价值强调点，不铺满 */
  --red: #c8102e;
  --red-dark: #9d0a22;
  --red-soft: #fff1f3;

  /* 墨色阶 */
  --ink: #101318;
  --ink-2: #3d4552;
  --ink-3: #6b7480;
  --ink-4: #98a1ad;

  /* 背景与线 */
  --bg: #ffffff;
  --bg-warm: #fbf8f4;
  --bg-soft: #f5f6f8;
  --line: #e6e8ec;
  --line-2: #d5d9e0;

  --amber: #b45309;
  --amber-bg: #fffbeb;
  --green: #15803d;

  /* 阴影：分三档，制造层次 */
  --sh-1: 0 1px 2px rgba(16, 19, 24, .05);
  --sh-2: 0 4px 14px rgba(16, 19, 24, .07);
  --sh-3: 0 18px 44px rgba(16, 19, 24, .13);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- 布局容器：桌面端不再是窄条 ---------- */
.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.wrap-narrow { max-width: 760px; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- 排版 ---------- */
h1, h2, h3, h4 { line-height: 1.22; letter-spacing: -0.022em; margin: 0 0 12px; font-weight: 700; }
h1 { font-size: clamp(30px, 4.4vw, 50px); }
h2 { font-size: clamp(22px, 2.6vw, 31px); }
h3 { font-size: 18px; letter-spacing: -0.012em; }
p  { margin: 0 0 14px; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 12px;
}
.lede { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: 13.5px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; font-size: 16.5px;
  letter-spacing: -0.015em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: block; width: 32px; height: 32px;
  /* 地图钉图标本身有留白，这里收一点让视觉重量和文字对齐 */
  margin: -2px 0;
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav .nav-cta {
  color: #fff; background: var(--ink);
  padding: 8px 15px; border-radius: var(--r-sm);
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: #000; }

/* ============================================================
   Hero —— 左文案 / 右产品预览
   ============================================================ */
.hero {
  background:
    radial-gradient(1100px 420px at 82% -8%, var(--red-soft) 0%, transparent 62%),
    var(--bg-warm);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 6vw, 76px) 0 clamp(44px, 6vw, 80px);
}
/* 带背景图的城市 hero：整幅铺开 + 左侧压暗保证白字对比度 */
.hero-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #14161b;
}
.hero-banner .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-banner .hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero-banner .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 12, 16, .92) 0%, rgba(10, 12, 16, .72) 44%,
                    rgba(10, 12, 16, .34) 100%),
    linear-gradient(0deg, rgba(10, 12, 16, .5) 0%, transparent 46%);
}
.hero-banner .wrap { position: relative; z-index: 1; }
.hero-banner .eyebrow { color: #ff97a8; }
.hero-banner h1 { color: #fff; }
.hero-banner h1 .hl {
  color: #fff;
  background: linear-gradient(transparent 62%, rgba(255, 255, 255, .24) 0);
}
.hero-banner .lede { color: rgba(255, 255, 255, .86); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl {
  color: var(--red);
  background: linear-gradient(transparent 62%, rgba(200, 16, 46, .13) 0);
}
.hero .lede { max-width: 34em; margin-bottom: 26px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: 13.5px; color: var(--ink-3); margin-top: 16px; }

/* ---------- 产品预览：真实渲染一张卡片 ---------- */
.preview-stack { display: flex; flex-direction: column; gap: 16px; }
.preview-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: 20px 22px 22px;
  position: relative;
}
.preview-card::before {
  content: "SHOW THIS TO YOUR DRIVER";
  position: absolute; top: -9px; left: 22px;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  padding: 3px 9px; border-radius: 20px;
}
.preview-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 10px;
}
.preview-zh {
  font-size: 40px; font-weight: 800; line-height: 1.2;
  letter-spacing: .01em; color: #000; margin-bottom: 4px;
}
.preview-zh-sub { font-size: 21px; font-weight: 700; color: #1b1b1b; margin-bottom: 2px; }
.preview-meta { font-size: 15px; color: var(--ink-2); }
.preview-rule { border: none; border-top: 2px solid var(--ink); margin: 16px 0 14px; }
.preview-en { font-size: 13px; color: var(--ink-4); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--red); color: #fff; box-shadow: var(--sh-2); }
.btn-primary:hover { background: var(--red-dark); }

.btn-dark { background: var(--ink); color: #fff; box-shadow: var(--sh-2); }
.btn-dark:hover { background: #000; color: #fff; }

.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink-3); }

.btn-lg { padding: 15px 26px; font-size: 16.5px; }
.btn-block { display: flex; width: 100%; }

/* ============================================================
   Section 通用
   ============================================================ */
.section { padding: clamp(44px, 5.5vw, 76px) 0; }
.section-alt { background: var(--bg-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 44em; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 三步流程 ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 22px; }
.step {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px;
  box-shadow: var(--sh-1);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--red-soft); color: var(--red);
  font-size: 14px; font-weight: 700; margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- 价值点（带图标） ---------- */
.features { display: grid; grid-template-columns: 1fr; gap: 18px; }
.feature {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line);
}
.feature svg { flex: 0 0 auto; margin-top: 2px; }
.feature h4 { margin: 0 0 4px; font-size: 16px; }
.feature p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ============================================================
   城市卡 —— 网格，中文名做视觉主体
   ============================================================ */
.city-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.city-card {
  display: block; position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--sh-1);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.city-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--line-2); }
.city-cover {
  height: 132px;
  background: linear-gradient(135deg, #1b1f2a 0%, #333b4d 55%, var(--red-dark) 165%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.city-cover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(340px 130px at 50% 120%, rgba(200, 16, 46, .5), transparent 70%);
}
.city-zh {
  position: relative; z-index: 1;
  font-size: 46px; font-weight: 800; color: #fff;
  letter-spacing: .16em; text-indent: .16em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.city-body { padding: 18px 20px 20px; }
.city-body h3 { margin-bottom: 4px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.city-count { font-size: 13px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.city-body p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ============================================================
   店铺列表（城市页）
   ============================================================ */
.card-list { list-style: none; padding: 0; margin: 0; }
.card-list li {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 20px; margin-bottom: 12px;
  background: #fff; box-shadow: var(--sh-1);
  transition: border-color .14s ease, box-shadow .14s ease;
}
.card-list li:hover { border-color: var(--line-2); box-shadow: var(--sh-2); }
.card-list li a.title {
  font-size: 18.5px; font-weight: 680; display: block; margin-bottom: 3px;
  color: var(--ink); letter-spacing: -0.015em;
}
.card-list li a.title:hover { color: var(--red); text-decoration: none; }
.zh-inline { color: var(--ink-3); font-size: 15px; }
.badge-draft {
  display: inline-block; margin-left: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--amber); background: var(--amber-bg);
  border: 1px solid #fde68a; border-radius: 5px; padding: 1px 7px;
  vertical-align: middle;
}

/* ============================================================
   店铺详情页
   ============================================================ */
.spot-head { padding: 26px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.spot-back { margin-bottom: 10px; }
.spot-title-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px;
}
.spot-title-copy { min-width: 0; }
.spot-zh-name { font-size: clamp(28px, 4vw, 38px); font-weight: 800; margin: 0 0 2px; letter-spacing: .01em; }
.spot-en-name { color: var(--ink-3); font-size: 16.5px; margin: 0; }
.spot-copy-action {
  display: flex; flex: none; flex-direction: column; align-items: flex-end;
  gap: 7px; padding-bottom: 2px;
}
.copy-hint {
  color: var(--ink-3); font-size: 12.5px; line-height: 1.35; text-align: right;
}

.spot-grid { display: grid; grid-template-columns: 1fr; gap: 34px; }
.spot-main { min-width: 0; }

.btn-copy {
  background: var(--ink); color: #fff;
  border: none; border-radius: var(--r-sm);
  padding: 10px 18px; font-size: 15px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: background .14s ease;
}
.btn-copy:hover { background: #000; }
.btn-copy.copied { background: var(--green); }

.fact-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.fact-table th, .fact-table td {
  text-align: left; vertical-align: top;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.fact-table th { width: 118px; color: var(--ink-3); font-weight: 500; }
.fact-table .zh { font-weight: 650; }

/* 壁垒内容框 */
.tip-box {
  border-left: 3px solid var(--red);
  background: var(--bg-warm);
  padding: 15px 17px; margin: 20px 0;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.tip-box.warn { border-left-color: var(--amber); background: var(--amber-bg); }
.tip-box .tip-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 5px;
}
.tip-box.warn .tip-label { color: var(--amber); }

/* 菜品 */
.dish-list { list-style: none; padding: 0; margin: 14px 0; }
.dish-list li {
  padding: 13px 0; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
}
.dish-zh { font-size: 17.5px; font-weight: 650; }
.dish-en { color: var(--ink-3); font-size: 14px; display: block; }
.dish-price { font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.signature-tag {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  background: var(--red); color: #fff; border-radius: 4px;
  padding: 1.5px 7px; margin-left: 7px; vertical-align: middle;
}

/* 侧栏：卡片入口 */
.spot-side { min-width: 0; display: flex; flex-direction: column; gap: 30px; }
.spot-order { min-width: 0; }
.spot-order h2 { font-size: 22px; margin-bottom: 4px; }
.spot-order .dish-list { margin-top: 8px; }
.action-card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; background: #fff; box-shadow: var(--sh-2);
  position: sticky; top: 82px;
}
.action-card h3 { margin-bottom: 6px; }
.action-card p { font-size: 14.5px; color: var(--ink-2); }
.action-card .btn { margin-bottom: 10px; }
.action-card .btn:last-of-type { margin-bottom: 0; }

/* ============================================================
   CTA / Waitlist
   ============================================================ */
.cta-box {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; margin: 32px 0; text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--bg-warm) 100%);
  box-shadow: var(--sh-1);
}
.cta-box h3 { margin-bottom: 6px; }
.cta-box p { color: var(--ink-2); font-size: 15px; max-width: 34em; margin-left: auto; margin-right: auto; }

.waitlist-form { display: flex; gap: 8px; margin: 16px auto 0; max-width: 440px; }
.waitlist-form input[type=email] {
  flex: 1; padding: 12px 15px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff;
  min-width: 0;
}
.waitlist-form input[type=email]:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
}
.waitlist-msg { font-size: 14px; margin-top: 10px; min-height: 20px; }
.waitlist-msg.ok { color: var(--green); }
.waitlist-msg.err { color: var(--red); }

/* ============================================================
   留言表单（/contact）—— 纵向排布，与横向的 waitlist 表单区别开
   ============================================================ */
.message-form { max-width: 560px; margin: 0 auto; text-align: left; }
.message-form .field { margin-bottom: 18px; }
.message-form label {
  display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px;
}
.message-form input[type=text],
.message-form input[type=email],
.message-form textarea {
  width: 100%; box-sizing: border-box; padding: 12px 15px;
  font-size: 16px; font-family: inherit;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff;
}
.message-form textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.message-form input:focus,
.message-form textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
}
.message-form .hint { font-size: 13px; color: #6b7482; margin: 6px 0 0; }
.message-msg { font-size: 14px; margin-top: 10px; min-height: 22px; }
.message-msg.ok { color: var(--green); }
.message-msg.err { color: var(--red); }

/* ============================================================
   社会证明条
   ============================================================ */
.proof {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px; padding: 28px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.proof-item { text-align: center; }
.proof-num { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.proof-label { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

/* ============================================================
   FTC / Affiliate（法律强制，不可弱化到看不见）
   ============================================================ */
.ftc-disclosure {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 11px 14px;
  font-size: 13px; color: var(--ink-2); margin: 20px 0;
}
.affiliate-block {
  border: 1px dashed var(--line-2); border-radius: var(--r);
  padding: 18px 20px; margin: 24px 0; background: var(--bg-soft);
}
.affiliate-block h3 { margin-top: 0; font-size: 14px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .07em; }
.affiliate-block ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.affiliate-block li { font-size: 15.5px; }
.affiliate-block li a { font-weight: 650; }
.aff-desc { display: block; color: var(--ink-3); font-size: 13.5px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink); color: #aeb6c2;
  padding: 44px 0 32px; margin-top: 64px;
  font-size: 14px;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.footer-brand { color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 7px; }
.footer-note { font-size: 12.5px; color: #7d8896; margin-top: 26px; padding-top: 18px; border-top: 1px solid #262b36; }

/* ============================================================
   响应式：桌面端真正的布局
   ============================================================ */
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: repeat(4, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .hero { text-align: left; }
  .spot-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 410px); gap: 48px; }
  .footer-grid { grid-template-columns: 1.2fr 2fr; align-items: start; }
}

@media (min-width: 1180px) {
  .city-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   卡片页 —— 核心产品，不可为美观牺牲可读性
   ============================================================ */
body.card-mode {
  background: #fff;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 14px 40px;
}
body.card-mode .site-header { position: static; border-bottom: none; background: #fff; }
body.card-mode .site-header .wrap { height: auto; padding-top: 12px; }
body.card-mode .site-nav { display: none; }

/* 品牌区：与下载图片共用同一段 HTML（见 card/address.html）——
   改这里的样式，网页显示和导出的 PNG 会一起变，不会各走各的 */
.card-brand { margin-bottom: 18px; }
.card-brand-rule {
  display: block; width: 48px; height: 4px;
  background: var(--red); margin-bottom: 10px;
}
.card-brand-name {
  display: block; font-size: 22px; font-weight: 800;
  letter-spacing: .04em; color: var(--red);
  line-height: 1.05;   /* 收紧：默认行高会在大字下方留出多余空隙 */
}
.card-brand-url {
  display: block; font-size: 13px; color: var(--ink-3);
  margin-top: 1px; line-height: 1.2;
}

/* ---- 点单卡 · 编辑态：可勾选项 ---- */
.opt {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.opt input[type=checkbox] {
  flex: 0 0 24px; width: 24px; height: 24px;
  margin-top: 2px; accent-color: var(--red); cursor: pointer;
}
.opt-body { flex: 1; min-width: 0; }
.opt-zh {
  display: block; font-size: 20px; font-weight: 700;
  color: var(--ink); line-height: 1.3;
}
.opt-en { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.opt-price {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--red); margin-top: 4px;
}
.opt-qty {
  flex: 0 0 auto; font-size: 16px; font-family: inherit;
  padding: 6px 8px; border: 1px solid var(--line-2);
  border-radius: 8px; background: #fff; color: var(--ink);
}

/* ---- 点单卡 · 展示态：给服务员看，超大字 ---- */
.view-list { list-style: none; margin: 0; padding: 0; }
.view-item { padding: 16px 0; border-bottom: 2px solid var(--line); }
.view-item:last-child { border-bottom: none; }
.view-zh {
  display: block; font-size: clamp(30px, 9vw, 46px);
  font-weight: 800; line-height: 1.25; color: var(--ink);
}
.view-en { display: block; font-size: 15px; color: var(--ink-3); margin-top: 6px; }
.view-empty { font-size: 15px; color: var(--ink-3); padding: 20px 0; }

.card-head {
  padding: 14px 0 10px;
  border-bottom: 3px solid #000;
  margin-bottom: 22px;
}
.card-head .card-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3);
}
.card-hint { font-size: 14.5px; color: var(--ink-3); margin-bottom: 18px; }

.card-zh {
  font-size: clamp(34px, 11vw, 52px);
  font-weight: 800; line-height: 1.22; letter-spacing: .01em;
  margin: 0 0 6px; color: #000;
}
.card-zh-sub {
  font-size: clamp(22px, 7vw, 32px);
  font-weight: 700; line-height: 1.3; color: #1a1a1a; margin: 0 0 4px;
}
.card-zh-meta {
  font-size: clamp(17px, 5.2vw, 22px);
  font-weight: 600; line-height: 1.45; color: #2a2a2a; margin: 0 0 4px;
}
.card-en { font-size: 14px; color: #6b7280; margin: 0 0 18px; }
.card-section { margin: 26px 0; }
.card-label {
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3);
  display: block; margin-bottom: 8px;
}
.card-divider { border: none; border-top: 2px solid #000; margin: 22px 0; }

.order-dish { padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-dish-zh { font-size: clamp(24px, 7.5vw, 34px); font-weight: 800; color: #000; line-height: 1.25; }
.order-dish-en { font-size: 14px; color: #6b7280; }
.order-dish-price { font-size: 17px; font-weight: 700; }

.card-actions {
  position: sticky; bottom: 0; background: #fff;
  padding: 14px 0 8px; border-top: 1px solid var(--line);
  display: flex; gap: 8px; margin-top: 28px;
}
.card-actions .btn { flex: 1; }

@media print {
  .site-header, .card-actions, .site-footer, .card-hint { display: none !important; }
  .wrap { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   首页 v2 —— 内容站逻辑（目录即首页）
   用户反馈修正：去掉焦虑营销数字 / 不贬低 Dianping /
   POI 条目是首页主体，hero 克制，卡片只是配套功能
   ============================================================ */

/* --- Hero：整幅背景图铺开，文案叠在上面 --- */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 9vw, 140px) 0 clamp(56px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  background: #14161b; /* 图片加载前/加载失败的兜底底色 */
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
/* 左侧深色压暗，保证白字对比度；顶部再压一层防止高光吃掉标题 */
.home-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 12, 16, .92) 0%, rgba(10, 12, 16, .74) 40%,
                    rgba(10, 12, 16, .38) 74%, rgba(10, 12, 16, .52) 100%),
    linear-gradient(0deg, rgba(10, 12, 16, .55) 0%, transparent 42%);
}
.home-hero-inner { position: relative; z-index: 1; }
.home-hero-copy { max-width: 660px; }
.home-hero .kicker { color: #ff97a8; }
.home-hero .home-title { color: #fff; }
.home-hero .lede { color: rgba(255, 255, 255, .86); }
.home-hero .dest-bar { margin-top: 34px; }
.home-hero .dest { background: rgba(255, 255, 255, .96); border-color: rgba(255, 255, 255, .6); }
.home-hero .dest-soon { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .42); }
.home-hero .dest-soon .dest-name { color: rgba(255, 255, 255, .82); }
.home-hero .dest-soon .dest-meta { color: rgba(255, 255, 255, .62); }
.home-hero .dest-live { background: var(--red); border-color: var(--red); }
.home-hero .dest-live .dest-name,
.home-hero .dest-live .dest-meta,
.home-hero .dest-live .dest-cta { color: #fff; }
.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}
.home-title {
  font-size: clamp(40px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0 0 18px;
}
.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 28px;
}
.home-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.home-action-note {
  font-size: 14px;
  color: var(--ink-3);
}

/* --- 定义区块：品牌的"内容契约" --- */
.define {
  padding: 44px 0;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--line);
}
.define-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
}
.define-title em {
  font-style: normal;
  color: var(--red);
}
.define-text {
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0;
  font-weight: 400;
}

/* --- 条目主体：POI 是主角 --- */
.entries {
  padding: 56px 0;
}
.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 26px;
}
.section-head h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0;
}
.section-sub {
  font-size: 14px;
  color: var(--ink-3);
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.entry {
  display: block;
  padding: 22px 24px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.entry:hover {
  border-color: var(--line-2);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}
.entry-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.entry-zh {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.2;
}
.entry-draft {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-bg);
  border: 1px solid #f3e0b6;
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.entry-en {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: 2px;
}
.entry-meta {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.entry-meta .dot { color: var(--ink-4); }
.entry-tip {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.entry-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
}

/* --- China Card 配套说明：一小段，不是卖点堆砌 --- */
.cardblurb {
  padding: 52px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cardblurb-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.cardblurb-grid h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -.01em;
}
.cardblurb-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 20px;
  max-width: 480px;
}

/* --- Colophon：小站的诚实说明 --- */
.colophon {
  padding: 56px 0;
}
.colophon h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}
.colophon p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 22px;
}
.notify-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.notify-form input[type="email"] {
  flex: 1 1 260px;
  max-width: 320px;
  padding: 11px 14px;
  font-size: 15px;
  font-family: var(--sans);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
}
.notify-form input[type="email"]:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
  border-color: var(--red);
}

@media (max-width: 960px) {
  .cardblurb-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-hero { padding: 52px 0 40px; }
}
@media (max-width: 640px) {
  .define-text { font-size: 18px; }
  .entry-zh { font-size: 22px; }
  .entries { padding: 40px 0; }
}

/* ============================================================
   Guides —— 内容层（长文）
   读的是入境游客，正文按「长时间阅读」调：
   行宽 ~68 字符、段距大、标题有锚点滚动余量
   ============================================================ */

/* 分隔点 —— 元信息行里的 "·" */
.dot { color: var(--ink-4); margin: 0 6px; }

/* 首页第二个板块换个底色，跟 Guides 区分开 */
.entries-alt { background: var(--bg-soft); border-top: 1px solid var(--line); }

.guide-crumb {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 24px 0 0;
}
.crumb-sep { margin: 0 7px; color: var(--ink-4); }

.guide-head {
  max-width: 40em;
  padding: 18px 0 34px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.guide-cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.guide-title {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  margin: 0 0 14px;
}
.guide-stand {
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--ink-2);
  margin: 0;
}
.guide-byline {
  margin: 20px 0 0;
  font-size: 13.5px;
  color: var(--ink-3);
}
.guide-byline .dot { margin: 0 7px; color: var(--ink-4); }

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 60px;
  align-items: start;
}
.guide-side {
  position: sticky;
  top: 88px;
  min-width: 0;
}

/* 正文排版 */
.prose { font-size: 17.5px; line-height: 1.78; max-width: 40em; }
.prose p { margin: 0 0 1.25em; }
.prose h2 {
  font-size: clamp(23px, 2.4vw, 29px);
  font-weight: 750;
  margin: 2em 0 .7em;
  scroll-margin-top: 90px;
}
.prose h3 {
  font-size: 19.5px;
  font-weight: 700;
  margin: 1.7em 0 .5em;
  scroll-margin-top: 90px;
}
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.35em; }
.prose li { margin-bottom: .5em; }
.prose li strong { color: var(--ink); }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--red);
  color: var(--ink-2);
  font-style: italic;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 5px;
}
.prose-rule { border: none; border-top: 1px solid var(--line); margin: 2.4em 0; }

/* 正文里嵌入的店铺卡片 —— 种草后立刻能复制中文名 */
/* flex 而非 grid：缩略图是可选的，用 flex 才能"有就三块、没有就两块" */
.spotref {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin: 1.9em 0;
  padding: 20px 22px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--r);
}
.spotref-thumb {
  flex: 0 0 108px;
  width: 108px;
  height: 108px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-soft);
}
.spotref-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spotref-main { flex: 1 1 240px; min-width: 0; }
.spotref-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 6px;
}
.spotref-zh {
  display: inline-block;
  font-size: 25px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .01em;
  line-height: 1.25;
}
.spotref-zh:hover { color: var(--red); text-decoration: none; }
.spotref-en { font-size: 15.5px; font-weight: 600; color: var(--ink-2); margin-top: 2px; }
.spotref-meta { font-size: 13.5px; color: var(--ink-3); margin-top: 4px; }
.spotref-tip { font-size: 15px; color: var(--ink-2); margin: 10px 0 0; }
.spotref-side { display: flex; flex: 0 0 auto; flex-direction: column; align-items: stretch; gap: 10px; }
.spotref-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  text-align: center;
}
.spotref-link:hover { color: var(--red); text-decoration: none; }

/* 目录 */
.toc { margin-bottom: 22px; }
.toc-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 12px;
}
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list li { margin-bottom: 9px; }
.toc-list a {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.4;
  display: block;
}
.toc-list a:hover { color: var(--red); text-decoration: none; }

/* 文章卡（索引页 / 相关推荐） */
.guide-grid-2 { display: grid; grid-template-columns: 1fr; gap: 22px; }
.guide-card {
  display: block;
  padding: 26px 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.guide-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
  border-color: var(--line-2);
}
.guide-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.guide-card h2, .guide-card h3 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.guide-card-lg h2 { font-size: clamp(22px, 2.2vw, 27px); }
.guide-card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.guide-card-meta { margin-top: 12px !important; font-size: 13px; color: var(--ink-3); }
.guide-card-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--red);
}

.guide-spots { padding: clamp(44px, 5vw, 70px) 0; background: var(--bg-soft); border-top: 1px solid var(--line); }
.guide-related { padding: clamp(44px, 5vw, 70px) 0; }
.guide-foot { padding-bottom: 40px; }

/* 店铺页：反向关联「提到这家店的文章」 */
.related-guides { list-style: none; padding: 0; margin: 14px 0 0; }
.related-guides li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.related-guides li:last-child { border-bottom: none; }
.related-guides a { font-weight: 600; font-size: 15.5px; }
.related-guides .related-meta { display: block; font-size: 13px; color: var(--ink-3); font-weight: 400; margin-top: 2px; }

@media (min-width: 720px) {
  .guide-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 960px) {
  .guide-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .guide-side { position: static; }
  .toc { display: none; }
  .prose { max-width: none; }
}
@media (max-width: 640px) {
  .prose { font-size: 16.5px; }
  .spotref { padding: 18px; }
  .spotref-thumb { flex-basis: 84px; width: 84px; height: 84px; }
  .spotref-side { flex-direction: row; align-items: center; }
  .guide-card { padding: 22px 20px 18px; }
  .guide-card-img { width: calc(100% + 40px); margin: -22px -20px 16px; }
}

/* ============================================================
   图片
   ------------------------------------------------------------
   旅游内容里图不是装饰，是证据 —— 老外判断"是不是这家店"靠门头照片，
   判断"值不值得去"靠菜的照片。所以图片位必须留，alt 必须填（无障碍 + 图片搜索）。
   文件放 content/images/，由 /media/** 直读磁盘（见 WebConfig），不走数据库。
   ============================================================ */

.guide-hero { margin: 10px 0 44px; padding: 0 20px; }
.guide-hero img {
  display: block;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--bg-soft);
}

/* 文章卡主图：顶到卡片边缘（负 margin 抵消 padding） */
.guide-card { overflow: hidden; }
.guide-card-img {
  display: block;
  width: calc(100% + 52px);
  max-width: none;
  margin: -26px -26px 18px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-soft);
}
.guide-card-lg .guide-card-img { aspect-ratio: 2 / 1; }

/* 店铺页照片：主图 + 其余网格 */
.spot-photos { margin: 0; }
.photo-lead { margin: 0 0 12px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.photo-item { margin: 0; }

/*
  图片外套了 <button class="photo-zoom">（可点击放大，见 js/lightbox.js）。
  尺寸和圆角原本挂在 img 上，现在挪到 button —— button 才是布局盒子，
  img 只负责填满它。取景参数（object-position）留在 img 上，值不变。
*/
.photo-zoom {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--bg-soft);
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
}
.photo-lead .photo-zoom {
  /* 3:2 而不是 2:1：店铺照片多是 4:3 或竖构图，
     2:1 会把上下裁掉三分之一，招牌和菜品主体容易被切没。 */
  aspect-ratio: 3 / 2;
  border-radius: var(--r-lg);
}
.photo-item .photo-zoom {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
}
.photo-zoom img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 偏上取景：门脸招牌在画面上部，菜品主体也略高于正中 */
  object-position: center 42%;
}
.photo-item .photo-zoom img {
  /* 菜品是主体，取景略偏上，避免只拍到桌面前缘 */
  object-position: center 45%;
}
.photo-zoom:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* 右下角放大镜：桌面 hover/focus 才出现；触屏没有 hover，常显 */
.photo-zoom-hint {
  position: absolute; right: 10px; bottom: 10px;
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 999px;
  background: rgba(16, 19, 24, .72);
  color: #fff;
  opacity: 0;
  transition: opacity .15s ease;
  pointer-events: none;
}
.photo-zoom:hover .photo-zoom-hint,
.photo-zoom:focus-visible .photo-zoom-hint { opacity: 1; }
@media (hover: none) { .photo-zoom-hint { opacity: .92; } }

.spot-photos figcaption { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }

/* 详情页右栏是窄列，第二张图铺满一行，避免缩成 1/3 宽的小缩略图。 */
.spot-side .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spot-side .photo-item:only-child { grid-column: 1 / -1; }
.spot-side .photo-item .photo-zoom { aspect-ratio: 16 / 9; }

/* ============================================================
   照片放大层 —— DOM 由 js/lightbox.js 动态插入
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(10, 12, 16, .94);
}
/* .lightbox 是 flex，hidden 属性会被 display 盖掉，必须显式声明 */
.lightbox[hidden] { display: none; }

.lb-figure {
  margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: min(1100px, 100%);
}
.lb-img {
  display: block;
  max-width: 100%;
  /* 留出上下留白和计数条的位置，别让图顶到屏幕边缘 */
  max-height: calc(100vh - 150px);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--r-sm);
  background: #0a0c10;
}
.lb-cap {
  margin: 0;
  max-width: 62ch;
  text-align: center;
  font-size: 14px;
  color: #ccd3dc;
}
.lb-cap[hidden] { display: none; }

.lb-count {
  position: absolute; left: 50%; bottom: 20px;
  transform: translateX(-50%);
  font-size: 13px;
  color: #98a2b0;
  font-variant-numeric: tabular-nums;
}
.lb-count[hidden] { display: none; }

.lb-close, .lb-nav {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .26); }
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-close[hidden], .lb-nav[hidden] { display: none; }
.lb-close { top: 16px; right: 16px; font-size: 30px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

/* 放大时锁住背景滚动，否则滑图片会带着整页一起动 */
body.lb-lock { overflow: hidden; }

@media (max-width: 640px) {
  /* 手机没地方放左右箭头，改用滑动；关闭按钮留着 */
  .lb-nav { display: none; }
  .lb-img { max-height: calc(100vh - 130px); }
  .lb-close { top: 10px; right: 10px; }
}

/* 移动端先看商户证据和招牌菜，再进入较长的地址与贴士内容。 */
@media (max-width: 959px) {
  .spot-side { order: -1; }
}

@media (max-width: 700px) {
  .spot-title-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .spot-copy-action { align-items: flex-start; }
  .copy-hint { text-align: left; }
}

/* 正文插图：Markdown 里写 ![alt](file.jpg "图注") */
.prose-figure { margin: 2em 0; }
.prose-figure img {
  display: block;
  width: 100%;
  border-radius: var(--r);
  background: var(--bg-soft);
}
.prose-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
}
.prose-img-inline { max-width: 100%; border-radius: var(--r-sm); }

@media (max-width: 640px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-hero { padding: 0 16px; margin-bottom: 30px; }
  .guide-hero img { aspect-ratio: 16 / 10; }
}

/* ============================================================
   首页 / 城市页：目录浏览
   ------------------------------------------------------------
   参考 Trip.com 的玩乐首页：目的地状态条 → 横向筛选 → 分组信息流 → 信任模块。
   我们没有评分和评价数可卖，改用「编辑标签 + 区域」做聚合——
   这是编辑站唯一诚实、且 AI 抄不走的聚合方式。
   ============================================================ */

/* 目的地状态条：一眼看出站有多厚、下一步去哪 */
.dest-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.dest {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  color: inherit;
}
.dest-name { font-size: 15px; font-weight: 700; }
.dest-meta { font-size: 13px; color: var(--ink-3); }
.dest-live { border-color: var(--red); background: var(--red-soft); }
.dest-live .dest-name { color: var(--red-dark); }
.dest-live .dest-meta { color: var(--red-dark); }
.dest-live .dest-cta { font-weight: 600; margin-left: 6px; }
.dest-live:hover { background: #ffe6ea; text-decoration: none; }
.dest-soon { border-style: dashed; }
.dest-soon .dest-name { color: var(--ink-4); }

/* 品牌契约：压缩成一行，不抢占信息流的位置 */
.define-inline { padding: 22px 0; }
.define-inline .define-text {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.define-inline strong { color: var(--ink); }

/* Browse by：横向筛选 */
.browse { padding: 8px 0 4px; }
.browse-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 0 4px;
}
.browse-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-4);
  white-space: nowrap;
}
.tag-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer;
  transition: background .14s ease, color .14s ease, border-color .14s ease;
}
.tag-chip:hover { border-color: var(--ink-4); background: var(--bg-warm); }
.tag-chip .tag-n {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-4);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 1px 7px;
}
.tag-chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tag-chip.is-on .tag-n { background: rgba(255,255,255,.16); color: #fff; }

.filter-status {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--ink-3);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.filter-empty { margin: 26px 0 0; font-size: 15px; color: var(--ink-2); }
.linklike {
  font: inherit;
  color: var(--red);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 区域分组：游客按动线规划，不按 alphabetical */
.district-group { margin-bottom: 40px; }
.district-group:last-of-type { margin-bottom: 0; }
.district-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.district-n { font-size: 13px; font-weight: 400; color: var(--ink-4); }

/* 卡片：带图。负 margin 抵消 .entry 的 padding，图片才能顶到边 */
.entry { overflow: hidden; }

/*
  从详情页返回时的落点（卡片上的 id="spot-{slug}"）。
  scroll-margin-top 必须 ≥ sticky header 高度（62px）+ 一点呼吸空间，
  否则浏览器滚过去正好被 header 盖住，锚定了等于没锚定。
*/
.entry { scroll-margin-top: 78px; }

/* 锚点命中的那张卡片描红边 —— 50 家里一眼看到「你刚才点的是这家」 */
.entry:target {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
}
.entry-media {
  position: relative;
  margin: -22px -24px 16px;
  /* 4:3 —— 在 16:10（竖图只剩 47%）和 1:1（卡片过高）之间取折中：
     竖图保留 56%，横图 100% 不裁，卡片高度比 1:1 矮四分之一。 */
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  overflow: hidden;
}
.entry-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 菜品主体略高于画面正中，避免只拍到盘子前缘 */
  object-position: center 45%;
}
.entry-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .03em;
  color: #fff;
  background: rgba(16, 19, 24, .85);
  border-radius: 999px;
}
.entry-district { font-weight: 600; color: var(--ink-2); }
.entry-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.entry-tag {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 3px 9px;
}

/* 信任模块：小站没有客服和保险可卖，唯一能卖的是"我们怎么选店" */
.trust { padding: 64px 0; background: var(--bg-warm); border-top: 1px solid var(--line); }
.trust-title { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 30px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.trust-item h3 { font-size: 16.5px; margin: 12px 0 8px; }
.trust-item p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.trust-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--red);
}

@media (max-width: 640px) {
  .trust { padding: 44px 0; }
  .browse-inner { gap: 10px; }
  .entry-media { margin: -22px -20px 14px; }
}

/* ============================================================
   POI 卡片（v3）—— 信息密度对标 SmartShanghai
   ------------------------------------------------------------
   他们的每张列表卡片：名称 / 英文地址(含 near XX) / 中文地址 / 电话 / 描述 / 标签。
   我们把「near」和「Metro」单独提出来做成结构化的一行：
   英文路况最难的是最后一公里 —— 门牌号没用，"近南昌路"和"地铁几号口"才有用。
   我们没坐标，地铁出口是全城唯一可靠的导航锚点。
   ============================================================ */

/* 图片是 <a>，必须是 block —— inline 元素的负 margin 和 aspect-ratio 都不生效 */
.entry-media { display: block; }
.entry-media:hover { opacity: .94; }

/* 中文名既是标题也是链接 */
.entry-zh {
  color: var(--ink);
  text-decoration: none;
}
.entry-zh:hover { color: var(--red); }

/* 卡片上的小号复制按钮：核心动作必须在最短路径上，不能要求读者先进详情页 */
.btn-copy-mini {
  flex: 0 0 auto;
  align-self: center;
  padding: 5px 11px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .14s ease, color .14s ease, border-color .14s ease;
}
.btn-copy-mini:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-copy-mini.copied { background: var(--green); border-color: var(--green); color: #fff; }

/* 详情页 fact-table 里的电话 / 地图链接 —— 这两个是「给司机看」的最短路径 */
.tel-link {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  transition: color .14s ease, border-color .14s ease;
}
.tel-link:hover { color: var(--red); border-color: var(--red); }

.btn-mini {
  display: inline-block;
  padding: 5px 12px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  white-space: nowrap;
  transition: background .14s ease, color .14s ease, border-color .14s ease;
}
.btn-mini:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* 「怎么找到它」区块 —— near / metro */
.entry-where {
  margin-top: 12px;
  padding: 11px 13px;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  display: grid;
  gap: 5px;
}
.entry-where-row {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}
.entry-where-k {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-4);
  text-align: right;
}

/* 筛选页用更宽的卡片：条目少，宽卡片信息铺得开 */
.entry-grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

/* 「All places」：筛选页上给一个回到全城的出口 */
.tag-chip-all { border-style: dashed; color: var(--ink-3); }

@media (max-width: 640px) {
  .entry-where-row { grid-template-columns: 42px minmax(0, 1fr); }
  .entry-grid-2 { grid-template-columns: 1fr; }
}
