@charset "UTF-8";
/* ==========================================================================
   济公帮 jigong.cn —— 全站样式
   设计原则：移动优先（Mobile First）
   - 基础样式 = 手机端（<640px）
   - 断点：640 / 900 / 1200，向上增强
   - 字号、间距用 clamp() 流式缩放，不用一堆断点硬切
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌色 */
  --brand: #2e9e5b;
  --brand-deep: #1f7c46;
  --brand-soft: #e8f5ec;
  --accent: #f5b301;
  --accent-deep: #a4610b;

  /* 中性色 */
  --ink: #1f2a20;
  --ink-2: #4a5a4c;
  --ink-3: #7c8b7e;
  --line: #e5ebe4;
  --paper: #ffffff;
  --paper-2: #f5f8f4;
  --paper-3: #eef3ed;

  /* 深色区（Hero / 页脚） */
  --dark: #14241a;
  --dark-2: #1d3524;
  --dark-ink: #f1f7ef;
  --dark-ink-2: rgba(241, 247, 239, 0.72);

  /* 尺寸 */
  --gutter: clamp(16px, 4.5vw, 28px);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 56px;
  --tabbar-h: 58px;

  /* 阴影 */
  --sh-1: 0 2px 8px rgba(20, 36, 26, 0.06);
  --sh-2: 0 8px 24px rgba(20, 36, 26, 0.10);
  --sh-3: 0 16px 40px rgba(20, 36, 26, 0.16);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "PingFang SC", "HarmonyOS Sans SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: clamp(14.5px, 1.05vw + 12px, 16px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  /* 移动端底部快捷栏留白（含 iPhone home 横条安全区） */
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color: transparent;
}

/* 桌面端没有底部快捷栏 */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

img, svg { display: block; max-width: 100%; height: auto; }
img { border-style: none; }

a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* 尊重系统「减弱动效」偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- 3. 通用容器 / 工具类 ---------- */
.container {
  width: min(1180px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section { padding: clamp(36px, 7vw, 72px) 0; }
.section--alt { background: var(--paper-2); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.sec-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(20px, 3.6vw, 28px);
  letter-spacing: 0.5px;
}
.sec-title::before {
  content: "";
  width: 5px;
  height: 1em;
  border-radius: 3px;
  background: var(--brand);
  flex: none;
}

.sec-desc {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 0.9rem;
}

/* 「已同步」状态徽标：由 feed.js 拉取成功后点亮，失败时不显示 */
.live-badge {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.76rem;
  color: var(--brand-deep);
}
.live-badge.is-on { display: inline-flex; }
.live-badge .dot {
  width: 7px; height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2.2s infinite;
}

.link-more {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--brand-deep);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.link-more:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.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;
}

/* 两行截断（移动端替代「省略号截断」，保证信息可读） */
.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 4. 顶部导航 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(20, 36, 26, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.site-head.is-stuck { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22); }

.head-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--dark-ink);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 1px;
  flex: none;
}
.brand .seal {
  width: 32px; height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(46, 158, 91, 0.45);
}

/* 桌面导航：手机上隐藏，900px 以上才出现 */
.nav-desktop {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 2px;
}
.nav-desktop > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--dark-ink-2);
  transition: color 0.2s, background 0.2s;
}
.nav-desktop > a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-desktop > a.is-active { color: #fff; }

.btn-nav {
  margin-left: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-nav:hover { background: var(--brand-deep); transform: translateY(-1px); }

/* 汉堡按钮 */
.nav-toggle {
  margin-left: auto;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}
.nav-toggle .bar,
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease), opacity 0.2s;
}
.nav-toggle .bar { position: relative; }
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }
[aria-expanded="true"] .nav-toggle .bar { background: transparent; }
[aria-expanded="true"] .nav-toggle .bar::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .nav-toggle .bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  :root { --header-h: 64px; }
}

/* ---------- 5. 抽屉式移动导航 ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 20, 13, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 100;
  visibility: hidden;
  width: min(300px, 82vw);
  padding: calc(var(--header-h) + 12px) 20px calc(24px + env(safe-area-inset-bottom));
  background: var(--dark-2);
  color: var(--dark-ink);
  transform: translateX(100%);
  transition: transform 0.3s var(--ease), visibility 0.3s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }

.drawer a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--dark-ink-2);
  transition: background 0.18s, color 0.18s;
}
.drawer a:hover,
.drawer a:active { background: rgba(255, 255, 255, 0.08); color: #fff; }
.drawer .ico {
  width: 30px; height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(46, 158, 91, 0.22);
  font-size: 15px;
}
.drawer hr {
  margin: 14px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.drawer .drawer-cta {
  justify-content: center;
  margin-top: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}
.drawer .drawer-cta:hover { background: var(--brand-deep); color: #fff; }

/* 抽屉打开时锁定背景滚动 */
body.is-locked { overflow: hidden; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  color: var(--dark-ink);
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 52%, var(--dark) 100%);
  overflow: hidden;
}
.hero::after {
  /* 背景光斑 */
  content: "";
  position: absolute;
  right: -18%;
  top: -28%;
  width: 70vw;
  max-width: 560px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 158, 91, 0.30), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 5vw, 44px);
  padding: clamp(32px, 6vw, 64px) 0 clamp(36px, 6vw, 72px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 5px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #cfe8d4;
  font-size: 0.78rem;
}
.badge .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(245, 179, 1, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(245, 179, 1, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 179, 1, 0); }
}

.hero h1 {
  font-size: clamp(30px, 8.2vw, 54px);
  letter-spacing: 2px;
  line-height: 1.18;
}
.hero-slogan {
  margin-top: 10px;
  font-size: clamp(15px, 3.4vw, 20px);
  font-weight: 500;
  color: #cfe0cf;
}
.hero-sub {
  margin-top: 12px;
  max-width: 46ch;
  font-size: clamp(13.5px, 2.6vw, 15.5px);
  color: var(--dark-ink-2);
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: clamp(20px, 4vw, 30px);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(46, 158, 91, 0.4);
}
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: #e6f1e6;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.hero-note {
  margin-top: 18px;
  font-size: 0.8rem;
  color: rgba(207, 224, 207, 0.55);
}
.hero-note a { color: #9fd4ae; border-bottom: 1px dashed rgba(159, 212, 174, 0.5); }

/* 手机截图：移动端横向滑动切换，桌面并排展示 */
.shots {
  display: flex;
  gap: 14px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }

.phone {
  flex: 0 0 66%;
  max-width: 250px;
  padding: 10px 10px 14px;
  border: 2px solid #3a5240;
  border-radius: 26px;
  background: #0e1a11;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  scroll-snap-align: center;
}
.phone--b { padding-bottom: 18px; }
.phone--c { padding-bottom: 36px; }
.phone .screen {
  position: relative;
  aspect-ratio: 750 / 1180;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f6ee, #dcead9);
}
.phone .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone .fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  font-size: 40px;
}
.phone figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--dark-ink-2);
}

.shots-hint {
  margin-top: 12px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--dark-ink-2);
  opacity: 0.75;
}

@media (min-width: 640px) {
  .phone { flex: 0 0 44%; max-width: 232px; }
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    padding: clamp(48px, 5vw, 84px) 0;
  }
  .shots {
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
    justify-content: center;
    gap: 16px;
  }
  /* 三张并排。用 flex:1 1 0 + max-width，容器变窄时自动收缩，绝不溢出到左栏 */
  .phone { flex: 1 1 0; min-width: 0; max-width: 172px; }
  .btn { flex: 0 1 auto; }
  .shots-hint { display: none; }
}

/* ---------- 7. 服务亮点 ---------- */
.features {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature {
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.feature .ico {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--brand-soft);
  font-size: 19px;
  margin-bottom: 10px;
}
.feature h3 { font-size: 0.98rem; }
.feature p {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.55;
}
@media (min-width: 640px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .features { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }

/* ---------- 8. 本地头条 ---------- */
.hl-grid { display: grid; gap: 18px; }

.hl-card {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--sh-1);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.hl-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.hl-card .pic {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e4eee2, #b8d6bc);
}
.hl-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.hl-card .pic .fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  font-size: 42px;
}
.hl-card .body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}
.kicker {
  align-self: flex-start;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.hl-card h3 { font-size: clamp(17px, 3.2vw, 21px); }
.hl-card p { color: var(--ink-2); font-size: 0.9rem; }
.hl-card .read {
  margin-top: auto;
  align-self: flex-start;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-deep);
  font-size: 0.86rem;
  font-weight: 600;
}

@media (min-width: 900px) {
  .hl-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; }
  .hl-card { grid-template-columns: 300px minmax(0, 1fr); }
  .hl-card .pic { aspect-ratio: auto; min-height: 100%; }
  .hl-card .body { padding: 24px 24px 20px; }
}

/* 头条侧栏列表 */
.side-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--sh-1);
  padding: 4px 0;
  overflow: hidden;
}
.side-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 9px 16px;
  border-bottom: 1px dashed var(--line);
  transition: background 0.16s;
}
.side-list li:last-child a { border-bottom: 0; }
.side-list a:hover { background: var(--paper-2); }
.side-list .tag {
  flex: none;
  padding: 2px 9px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 600;
}
.side-list .txt {
  font-size: 0.92rem;
  /* 手机上允许两行，桌面单行省空间 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 640px) {
  .side-list .txt {
    -webkit-line-clamp: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
  }
}

/* ---------- 9. 横向滚动分类条 ---------- */
.chips {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.chips a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
@media (min-width: 900px) {
  .chips { flex-wrap: wrap; overflow: visible; margin-bottom: 22px; }
}

/* ---------- 10. 推荐店铺 ---------- */
.shop-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.shop-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.shop-card .pic {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e4eee2, #c7ddc8);
}
.shop-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.shop-card .pic .fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  font-size: 36px;
}
.shop-card .body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 12px 13px 14px;
}
.shop-card h3 { font-size: 0.98rem; line-height: 1.4; }
.shop-card .row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--ink-3);
}
.shop-card .row svg { flex: none; }
.shop-card .addr {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 640px) { .shop-grid { gap: 20px; } }
@media (min-width: 1100px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 11. 同城信息 ---------- */
.info-wrap { display: grid; gap: 18px; }

.info-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--sh-1);
  overflow: hidden;
}
.info-list li { border-bottom: 1px dashed var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 52px;
  padding: 12px 16px;
  transition: background 0.16s;
}
.info-list a:hover { background: var(--paper-2); }
.pin {
  flex: none;
  margin-top: 2px;
  padding: 2px 7px;
  border-radius: 5px;
  background: #fdf0d5;
  color: var(--accent-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.info-list .txt {
  flex: 1;
  min-width: 0;
  font-size: 0.93rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.info-list a:hover .txt { color: var(--brand-deep); }
.info-list .cat {
  flex: none;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--paper-3);
  color: var(--ink-3);
  font-size: 0.72rem;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .info-wrap { grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 26px; }
  .info-list .txt {
    -webkit-line-clamp: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
  }
}

/* 分类侧栏（桌面） */
.cate-panel {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--sh-1);
}
.cate-panel h3 {
  padding: 0 8px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 1px;
}
.cate-panel ul { display: grid; gap: 3px; }
.cate-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 0.92rem;
  transition: background 0.16s, color 0.16s;
}
.cate-panel a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.cate-panel .ico {
  width: 30px; height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-soft);
  font-size: 15px;
}

/* 手机上隐藏桌面侧栏，改用 chips */
.cate-panel { display: none; }
@media (min-width: 900px) {
  .cate-panel { display: block; }
  .info-chips { display: none; }
}

/* ---------- 12. 下载 / CTA 条 ---------- */
.cta-bar {
  padding: clamp(28px, 5vw, 46px) 0;
  background: linear-gradient(120deg, var(--brand-deep), var(--brand));
  color: #fff;
  text-align: center;
}
.cta-bar h2 { font-size: clamp(20px, 4vw, 28px); }
.cta-bar p {
  margin: 8px auto 0;
  max-width: 42ch;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}
.cta-bar .hero-actions { justify-content: center; }
.cta-bar .btn-primary { background: #fff; color: var(--brand-deep); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); }
.cta-bar .btn-primary:hover { background: var(--paper-2); }
.cta-bar .btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.cta-bar .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

/* ---------- 13. 移动端底部快捷栏 ---------- */
.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgba(20, 36, 26, 0.06);
}
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.72rem;
  color: var(--ink-3);
  transition: color 0.18s;
}
.tabbar a:hover, .tabbar a.is-active { color: var(--brand); }
.tabbar .ico { font-size: 19px; line-height: 1; }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- 14. 返回顶部 ---------- */
.backtop {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom));
  z-index: 75;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(46, 158, 91, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s, background 0.2s;
}
.backtop.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.backtop:hover { background: var(--brand-deep); }
@media (min-width: 900px) { .backtop { right: 26px; bottom: 30px; } }

/* ---------- 15. 页脚 ---------- */
.site-foot {
  padding: clamp(28px, 5vw, 44px) 0 calc(24px + env(safe-area-inset-bottom));
  background: #0f1a12;
  color: rgba(230, 240, 228, 0.62);
  font-size: 0.84rem;
}
.foot-grid { display: grid; gap: 22px; }
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--dark-ink);
  font-weight: 800;
  font-size: 1rem;
}
.foot-brand .seal {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
}
.site-foot p { margin-top: 8px; max-width: 52ch; line-height: 1.7; }
.site-foot h4 {
  margin-bottom: 10px;
  color: var(--dark-ink);
  font-size: 0.9rem;
}
.site-foot ul { display: grid; gap: 2px; }
.site-foot li a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: rgba(230, 240, 228, 0.62);
  transition: color 0.18s;
}
.site-foot li a:hover { color: #9fd4ae; }
.site-foot a strong { color: #9fd4ae; font-weight: 500; }

.foot-bottom {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(230, 240, 228, 0.45);
}
@media (min-width: 640px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
}
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

/* ---------- 16. 关于页 ---------- */
.page-hero {
  padding: clamp(30px, 6vw, 60px) 0 clamp(20px, 3vw, 32px);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(24px, 5.4vw, 38px); }
.page-hero p { margin-top: 10px; color: var(--ink-2); max-width: 60ch; }

.prose { max-width: 780px; }
.prose h2 {
  margin: 30px 0 10px;
  font-size: clamp(18px, 3.4vw, 22px);
}
.prose h2::before {
  content: "";
  display: inline-block;
  width: 5px; height: 0.9em;
  margin-right: 10px;
  border-radius: 3px;
  background: var(--brand);
  vertical-align: -2px;
}
.prose p { margin-bottom: 12px; color: var(--ink-2); }
.prose ul { display: grid; gap: 8px; margin: 8px 0 12px; }
.prose li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-2);
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--brand);
}
.prose a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px; }

.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: "－"; }
.faq .answer {
  padding: 0 16px 14px;
  color: var(--ink-2);
  font-size: 0.9rem;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--sh-1);
}
.contact-card .item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
}
.contact-card .ico {
  width: 34px; height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-soft);
  font-size: 16px;
}
.contact-card .label { color: var(--ink-3); font-size: 0.78rem; }
.contact-card .value { font-weight: 600; }

/* ---------- 17. 入场动画（JS 驱动） ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 18. 打印 ---------- */
@media print {
  .site-head, .tabbar, .backtop, .drawer, .drawer-backdrop, .hero-actions, .shots { display: none !important; }
  body { padding-bottom: 0; color: #000; }
  .hero { background: #fff; color: #000; }
  .section { padding: 16px 0; }
}
