/* ============================================================
   NWS · 悦食官网 高保真原型 · 设计系统 v2
   设计语言：克制 · 留白 · 精致排版（对标 Apple / Linear / Stripe）
   主色：墨绿单色家族；点缀：莫兰迪低饱和；底：纯白 + 暖灰
   ============================================================ */

:root {
  /* 品牌色（墨绿单色家族，克制） */
  --brand: #0E9F6E;          /* emerald，主色，少量使用 */
  --brand-dark: #064E3B;     /* 深森林，标题/深色块 */
  --brand-soft: #ECFDF5;     /* 极淡绿底 */
  --accent: #0E9F6E;
  --accent-dark: #047857;

  /* 中性（暖白 + 墨黑，高级感来源） */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F7F8F7;
  --text: #0B1A14;           /* 近黑墨 */
  --text-soft: #57635C;      /* 中灰 */
  --text-faint: #98A29B;     /* 浅灰 */
  --border: #ECEDEB;
  --border-strong: #D7DBD7;

  /* 状态（莫兰迪低饱和，不刺眼） */
  --good: #0E9F6E;
  --warn: #C2811B;
  --bad: #D45B43;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11,26,20,.04), 0 1px 3px rgba(11,26,20,.03);
  --shadow: 0 4px 18px rgba(11,26,20,.06), 0 1px 4px rgba(11,26,20,.04);
  --shadow-lg: 0 24px 60px -16px rgba(6,78,59,.20), 0 8px 24px -8px rgba(11,26,20,.08);
  --ease: cubic-bezier(.2,.7,.3,1);
  --maxw: 1200px;
  --header-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Inter", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 15px;
}
h1, h2, h3, h4 { letter-spacing: -.02em; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部公告条（深色细条，Stripe 风） ---------- */
.topbar {
  background: var(--brand-dark); color: rgba(255,255,255,.82);
  font-size: 12.5px; text-align: center; padding: 9px 16px; letter-spacing: .3px;
}
.topbar b { color: #fff; font-weight: 700; }
.topbar a { color: #6EE7B7; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 头部（毛玻璃 sticky） ---------- */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(236,237,235,.9);
}
.header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--brand-dark); letter-spacing: -.01em; }
.logo .mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, #10B981, #047857);
  display: grid; place-items: center; color: #fff; font-size: 18px;
  box-shadow: 0 4px 12px rgba(6,78,59,.25);
}
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a {
  padding: 8px 14px; border-radius: 9px; color: var(--text-soft);
  font-weight: 600; font-size: 14.5px; transition: .18s var(--ease);
}
.nav a:hover { background: var(--surface-2); color: var(--text); }
.header .spacer { flex: 1; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-weight: 700; border-radius: 999px; cursor: pointer; border: 0;
  transition: .2s var(--ease); white-space: nowrap; font-size: 14.5px;
}
.btn-primary {
  background: var(--brand); color: #fff; padding: 10px 22px;
  box-shadow: 0 6px 16px -4px rgba(14,159,110,.5);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 10px 22px -6px rgba(14,159,110,.55); }
.btn-accent { background: var(--accent); color: #fff; padding: 9px 20px; box-shadow: 0 4px 12px rgba(14,159,110,.3); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--brand-dark); border: 1.5px solid var(--border-strong); padding: 9px 18px; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- 搜索框 ---------- */
.searchbox {
  display: flex; align-items: center; background: #fff;
  border: 1.5px solid var(--border-strong); border-radius: 999px;
  padding: 6px 6px 6px 18px; box-shadow: var(--shadow-sm); transition: .2s var(--ease);
}
.searchbox:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.searchbox svg { color: var(--text-faint); flex: none; }
.searchbox input { flex: 1; border: 0; outline: 0; font-size: 16px; padding: 12px 12px; background: transparent; color: var(--text); }
.searchbox input::placeholder { color: var(--text-faint); }
.searchbox .btn { padding: 11px 22px; }

/* 大号 hero 搜索 */
.searchbox.hero { max-width: 600px; padding: 8px 8px 8px 24px; box-shadow: var(--shadow); }
.searchbox.hero input { font-size: 17px; padding: 14px 14px; }

/* ---------- 标签 / 胶囊 ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: var(--brand-soft); color: var(--brand-dark);
}
.tag.orange { background: #FBF3E6; color: #9A6512; }
.tag.gray { background: var(--surface-2); color: var(--text-soft); }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 区块标题 ---------- */
.section { padding: 88px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 24px; }
.section-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.section-head .sub { color: var(--text-soft); font-size: 15px; margin-top: 8px; }
.section-head .more { color: var(--brand-dark); font-weight: 700; font-size: 14px; white-space: nowrap; }
.section-head .more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: .25s var(--ease);
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   HERO（纯白 + 极淡光晕 + 超大留白）
   ============================================================ */
.hero {
  position: relative; overflow: hidden; padding: 112px 0 88px;
  background:
    radial-gradient(58% 48% at 50% -8%, rgba(14,159,110,.08), transparent 72%),
    linear-gradient(180deg, #FBFDFC 0%, #FFFFFF 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(11,26,20,.035) 1px, transparent 0);
  background-size: 30px 30px; mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); opacity: .6;
}
.hero-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-text { max-width: 600px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600;
  color: var(--brand-dark); letter-spacing: .01em; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.6px; background: var(--brand); border-radius: 2px; }
.hero h1 { font-size: 62px; line-height: 1.05; font-weight: 800; letter-spacing: -2.2px; color: var(--text); }
.hero h1 .hl { color: var(--brand); }
.hero-text p.lead { font-size: 18.5px; line-height: 1.7; color: var(--text-soft); margin: 22px 0 32px; font-weight: 400; }
.hero .quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero .quick a {
  font-size: 13.5px; color: var(--text-soft); background: #fff; border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; transition: .18s var(--ease);
}
.hero .quick a:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-1px); }

/* 右栏视觉焦点卡（玻璃质感） */
.hero-visual { display: flex; flex-direction: column; gap: 16px; }
.food-card {
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; display: flex;
}
a.food-card { text-decoration: none; color: inherit; }
a.food-card:hover { border-color: var(--brand); }
.food-photo {
  width: 132px; flex: none; background: linear-gradient(150deg, #10B981, #047857);
  display: grid; place-items: center; font-size: 56px; color: #fff; position: relative;
}
.food-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 55%); }
.food-info { padding: 20px 22px; flex: 1; min-width: 0; }
.food-cat { font-size: 12px; color: var(--brand-dark); font-weight: 700; letter-spacing: .02em; }
.food-name { font-size: 22px; font-weight: 800; margin: 5px 0 4px; letter-spacing: -.01em; }
.food-sub { font-size: 13px; color: var(--text-soft); line-height: 1.5; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.food-meta { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; }
.food-meta li { display: flex; justify-content: space-between; font-size: 13px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.food-meta li span { color: var(--text-faint); }
.food-meta li b { color: var(--text); font-weight: 700; }
.food-meta li b.ok { color: var(--good); }
.food-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 11.5px; background: var(--surface-2); color: var(--text-soft); padding: 4px 10px; border-radius: 999px; font-weight: 600; }

.app-promo {
  display: flex; align-items: center; gap: 13px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 15px 17px; box-shadow: var(--shadow-sm);
}
.app-icon {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  background: linear-gradient(135deg, #10B981, #047857); color: #fff;
  display: grid; place-items: center; font-size: 20px; font-weight: 800;
}
.app-title { font-size: 14.5px; font-weight: 750; }
.app-sub { font-size: 12.5px; color: var(--text-soft); margin-top: 2px; }
.app-promo .btn { margin-left: auto; }

/* 数据条（精致 stat） */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px;
  border: 1px solid var(--border); background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); position: relative; z-index: 1;
}
.stats .item { padding: 28px 28px; border-right: 1px solid var(--border); }
.stats .item:last-child { border-right: 0; }
.stats .num { font-size: 38px; font-weight: 800; color: var(--brand-dark); letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.stats .num span { font-size: 18px; font-weight: 700; color: var(--text-soft); }
.stats .label { color: var(--text-soft); font-size: 14px; margin-top: 4px; }

/* ============================================================
   频道大卡（白底 + 顶部细色条 + 线性图标，Notion/Vercel 风）
   ============================================================ */
.channel {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: 30px; min-height: 184px; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: .28s var(--ease);
}
.channel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--cc, var(--brand)); }
.channel:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.channel .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.channel .ic svg { width: 25px; height: 25px; }
.channel h3 { font-size: 19px; font-weight: 800; color: var(--text); letter-spacing: -.01em; }
.channel p { font-size: 13.5px; color: var(--text-soft); margin-top: 8px; line-height: 1.65; }
.channel .go { margin-top: auto; font-weight: 700; font-size: 13.5px; color: var(--brand-dark); padding-top: 16px; }
.channel .go::after { content: " →"; transition: .2s; }
.channel:hover .go::after { margin-left: 4px; }
.c1 { --cc: #0E9F6E; } .c1 .ic { background: #ECFDF5; color: #0E9F6E; }
.c2 { --cc: #C2811B; } .c2 .ic { background: #FBF3E6; color: #C2811B; }
.c3 { --cc: #2E7DD1; } .c3 .ic { background: #E9F2FB; color: #2E7DD1; }
.c4 { --cc: #8B5CF6; } .c4 .ic { background: #F1ECFD; color: #8B5CF6; }

/* ============================================================
   内容卡（食物 / 食谱 / 知识 列表）
   ============================================================ */
.post {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s var(--ease); display: flex; flex-direction: column;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.post .thumb { height: 132px; display: grid; place-items: center; color: #fff; position: relative; font-size: 38px; }
.post .thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 60%); }
.post .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post h4 { font-size: 16.5px; font-weight: 750; line-height: 1.4; }
.post .meta { color: var(--text-faint); font-size: 12.5px; margin-top: auto; }
.post .desc { color: var(--text-soft); font-size: 13.5px; line-height: 1.6; }

/* 库列表（首页多条目入口，利于收录） */
.mini-search { display: flex; gap: 8px; }
.mini-search input {
  border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px;
  font-size: 13.5px; width: 220px; background: #fff; color: var(--text);
}
.mini-search input::placeholder { color: var(--text-faint); }
.mini-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.lib-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lib-item {
  display: flex; align-items: center; gap: 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px; padding: 14px 15px;
  box-shadow: var(--shadow-sm); transition: .2s var(--ease); text-decoration: none; color: var(--text);
}
.lib-item:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow); }
.lib-item .emo {
  font-size: 18px; flex: none; width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--surface-2); border-radius: 10px;
}
.lib-item .txt { min-width: 0; }
.lib-item .t { font-size: 15px; font-weight: 700; line-height: 1.3; }
.lib-item .s { font-size: 12px; color: var(--text-faint); margin-top: 3px; }
.lib-item .s.good { color: var(--good); }
.lib-item .s.warn { color: var(--warn); }
.lib-item .s.bad { color: var(--bad); }
.more-row { margin-top: 26px; }

/* 食物判定徽章 */
.verdict {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  padding: 6px 13px; border-radius: 999px; font-weight: 700; font-size: 13px;
}
.verdict.ok { background: var(--brand-soft); color: var(--good); }
.verdict.mid { background: #FBF3E6; color: var(--warn); }
.verdict.no { background: #FBEDE9; color: var(--bad); }

/* ============================================================
   详情页布局
   ============================================================ */
.breadcrumb { color: var(--text-faint); font-size: 13.5px; padding: 24px 0 0; }
.breadcrumb a:hover { color: var(--brand-dark); }
.detail-head { display: flex; gap: 22px; align-items: flex-start; padding: 20px 0 30px; flex-wrap: wrap; }
.detail-head .big-ic {
  width: 80px; height: 80px; border-radius: 22px; flex: none; display: grid; place-items: center;
  font-size: 40px; background: var(--brand-soft); border: 1px solid var(--border);
}
.detail-head h1 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.detail-head .sub { color: var(--text-soft); margin-top: 8px; }
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.main-col { min-width: 0; }
.side-col { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 18px; }

/* 评测面板 */
.panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.panel h3 { font-size: 17px; font-weight: 800; margin-bottom: 18px; display: flex; align-items: center; gap: 9px; letter-spacing: -.01em; }
.panel h3 .dot { width: 8px; height: 18px; border-radius: 4px; background: var(--brand); display: inline-block; }

/* 嘌呤进度 */
.meter { margin: 14px 0; }
.meter .bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.meter .fill { height: 100%; border-radius: 999px; }
.meter .lab { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-soft); margin-bottom: 6px; }
.meter .lab b { color: var(--text); }

/* 慢病关系表 */
.reltable { width: 100%; border-collapse: collapse; font-size: 14px; }
.reltable th, .reltable td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.reltable th { color: var(--text-faint); font-weight: 600; font-size: 12.5px; }
.reltable tr:last-child td { border-bottom: 0; }
.chip.ok { background: var(--brand-soft); color: var(--good); }
.chip.mid { background: #FBF3E6; color: var(--warn); }
.chip.no { background: #FBEDE9; color: var(--bad); }

/* 步骤 */
.steps { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 14px; }
.step .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.step .t { padding-top: 2px; }
.step .t b { font-weight: 700; }

/* 食材 */
.ings { display: flex; flex-wrap: wrap; gap: 9px; }
.ing { background: var(--surface-2); border-radius: 9px; padding: 7px 13px; font-size: 13.5px; }

/* 问答 FAQ */
.faq { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq .q { background: var(--surface-2); padding: 15px 17px; font-weight: 750; display: flex; gap: 10px; }
.faq .q .badge { color: var(--brand); font-weight: 850; }
.faq .a { padding: 15px 17px; color: var(--text-soft); line-height: 1.7; }
.faq .a b { color: var(--text); }

/* ------------------------------------------
   CTA 卡片（全站引流核心组件）
   ------------------------------------------ */
.cta-card {
  background: linear-gradient(135deg, #064E3B, #0E9F6E);
  border-radius: var(--radius-lg); padding: 36px 40px; color: #fff;
  display: flex; align-items: center; gap: 30px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
}
.cta-card .txt h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.cta-card .txt p { opacity: .9; margin-top: 8px; font-size: 15px; line-height: 1.6; }
.cta-card .qr { flex: none; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.cta-card .qr img { width: 128px; height: 128px; border-radius: 14px; background: #fff; padding: 9px; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.cta-card .qr-cap { font-size: 12px; color: #fff; opacity: .85; }
.cta-card .qr-link { font-size: 12px; color: #fff; text-decoration: underline; text-underline-offset: 2px; opacity: .9; }
.cta-card .qr-link:hover { opacity: 1; }
.cta-card .btns { display: flex; gap: 12px; margin-left: auto; flex-wrap: wrap; }
.cta-card .channels { margin-top: 12px; font-size: 12.5px; color: var(--text-soft); letter-spacing: .2px; }
.cta-card .channels::before { content: "● "; color: var(--brand); font-size: 9px; vertical-align: middle; }
.cta-card .btn-white { background: #fff; color: var(--brand-dark); }
.cta-card .btn-white:hover { background: #eef2f0; }
.cta-card .btn-line { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.cta-card .btn-line:hover { background: rgba(255,255,255,.14); }

/* 文中情境 CTA */
.cta-inline {
  border: 1.5px solid rgba(14,159,110,.35); background: var(--brand-soft);
  border-radius: var(--radius); padding: 18px 20px; display: flex; align-items: center; gap: 16px;
}
.cta-inline .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--brand); }
.cta-inline .t { flex: 1; }
.cta-inline .t b { font-weight: 800; }
.cta-inline .t span { color: var(--text-soft); font-size: 13.5px; }

/* 吸底下载条（移动端） */
.sticky-dl {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); padding: 10px 16px;
  display: none; align-items: center; gap: 12px; box-shadow: 0 -4px 24px rgba(11,26,20,.08);
}
.sticky-dl .logo-sm { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #10B981, #047857); display: grid; place-items: center; color: #fff; font-size: 20px; }
.sticky-dl .t { flex: 1; }
.sticky-dl .t b { font-size: 14px; }
.sticky-dl .t span { display: block; color: var(--text-faint); font-size: 11.5px; }

/* ============================================================
   搜索页
   ============================================================ */
.search-hero { background: #fff; border-bottom: 1px solid var(--border); padding: 36px 0 30px; }
.filterbar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.filterbar .chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border-strong);
  font-weight: 650; font-size: 13.5px; color: var(--text-soft); cursor: pointer; background: #fff; transition: .15s var(--ease);
}
.filterbar .chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.result-meta { color: var(--text-soft); font-size: 14px; margin: 26px 0 18px; }
.result-meta b { color: var(--text); }
.result { display: flex; gap: 16px; padding: 22px; border-bottom: 1px solid var(--border); }
.result:hover { background: var(--surface-2); }
.result .ric { flex: none; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; color: #fff; }
.result .rbody { flex: 1; min-width: 0; }
.result h4 { font-size: 17px; font-weight: 750; }
.result h4:hover { color: var(--brand-dark); }
.result .rdesc { color: var(--text-soft); font-size: 14px; margin: 6px 0 8px; line-height: 1.6; }
.result .rmeta { display: flex; gap: 8px; align-items: center; }
.kind { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 6px; background: var(--surface-2); color: var(--text-soft); }

.side-widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.side-widget h4 { font-size: 15px; font-weight: 800; margin-bottom: 16px; letter-spacing: -.01em; }
.side-widget .hot { display: flex; flex-direction: column; gap: 12px; }
.side-widget .hot a { color: var(--text-soft); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.side-widget .hot a:hover { color: var(--brand-dark); }
.side-widget .hot .rk { width: 22px; height: 22px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; font-size: 12px; display: grid; place-items: center; flex: none; }

/* ============================================================
   页脚（深墨绿）
   ============================================================ */
.footer { background: #0B1A14; color: #C9D6CF; padding: 64px 0 30px; margin-top: 48px; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand { font-size: 20px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 9px; }
.footer .brand .mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #10B981, #047857); display: grid; place-items: center; color: #fff; }
.footer p.desc { color: #9FB0A8; font-size: 13.5px; margin: 16px 0; max-width: 320px; line-height: 1.7; }
.footer h5 { color: #fff; font-size: 14.5px; margin-bottom: 16px; font-weight: 700; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { color: #9FB0A8; font-size: 13.5px; transition: .15s; }
.footer ul a:hover { color: #fff; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #83958D; }
.footer .bottom a { color: #83958D; }
.footer .bottom a:hover { color: #fff; }
.footer .disc { font-size: 12px; color: #6F817A; line-height: 1.8; margin-top: 14px; }
.footer .stores { display: flex; gap: 10px; margin-top: 16px; }
.footer .stores .store { border: 1px solid rgba(255,255,255,.22); border-radius: 10px; padding: 8px 14px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 12.5px; transition: .15s; }
.footer .stores .store:hover { border-color: rgba(255,255,255,.5); }

/* ============================================================
   响应式
   ============================================================ */
.nav-toggle { display: none; background: transparent; border: 0; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; color: var(--text); }
.nav-toggle:hover { background: var(--surface-2); }
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(11,26,20,.4); padding-top: 64px; }
.mobile-menu .panel { background: #fff; max-width: 320px; margin-left: auto; height: calc(100vh - 64px); padding: 18px 18px 28px; display: flex; flex-direction: column; gap: 6px; }
.mobile-menu .panel a { padding: 13px 14px; border-radius: 10px; color: var(--text); font-weight: 700; font-size: 16px; }
.mobile-menu .panel a:hover { background: var(--surface-2); }
.mobile-menu .panel .sep { height: 1px; background: var(--border); margin: 10px 0; }
.mobile-menu .panel .btn { margin-top: 6px; }
.mobile-menu.open { display: block; }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; }
  .side-col { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .item:nth-child(2) { border-right: 0; }
  .stats .item:nth-child(1), .stats .item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .cta-card { flex-wrap: wrap; }
  .cta-card .btns { margin-left: 0; width: 100%; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .hero-split { grid-template-columns: 1fr; gap: 36px; align-items: stretch; }
  .hero-text { max-width: none; }
  .lib-list { grid-template-columns: repeat(2, 1fr); }
  .mini-search { width: 100%; }
  .mini-search input { flex: 1; width: auto; }
}
@media (max-width: 640px) {
  .header .nav { display: none; }
  .header .wrap > .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 56px 0 44px; }
  .hero h1 { font-size: 34px; letter-spacing: -1.2px; }
  .hero-text p.lead { font-size: 16px; }
  .hero .quick { gap: 7px; }
  .hero .quick a { font-size: 12.5px; padding: 7px 12px; }
  .searchbox.hero { padding: 6px 6px 6px 16px; }
  .searchbox.hero input { font-size: 15px; padding: 12px 8px; }
  .searchbox.hero .btn { padding: 10px 16px; font-size: 14px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 36px; }
  .stats .num { font-size: 28px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats .item { padding: 18px 16px; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head h2 { font-size: 23px; }
  .channel { min-height: auto; }
  .detail-head h1 { font-size: 25px; }
  .detail-head .big-ic { width: 60px; height: 60px; font-size: 30px; border-radius: 16px; }
  .cta-card { padding: 24px; }
  .cta-card .qr { display: flex; width: 100%; margin-top: 10px; }
  .sticky-dl { display: flex; }
  body { padding-bottom: 64px; }
  .footer .cols { grid-template-columns: 1fr; }
  .footer { padding: 44px 0 96px; }
  .panel { padding: 18px; }
}

/* ===================== 详情/列表动态正文（SSR 复用同一设计系统） ===================== */
.post { max-width: 820px; margin: 28px auto; padding: 0 18px; }
.post-head h1 { font-size: 30px; line-height: 1.25; margin: 8px 0 10px; color: var(--brand-dark); }
.post-sub { margin: 0 0 12px; color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.post-meta { display: flex; gap: 16px; color: var(--text-soft); font-size: 14px; margin-bottom: 14px; }
.post-cover { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius); margin: 8px 0 18px; box-shadow: var(--shadow); }
.post-body p { color: var(--text-soft); line-height: 1.9; font-size: 16px; white-space: pre-wrap; }
.block { margin: 26px 0; }
.block h2 { font-size: 20px; color: var(--brand-dark); margin-bottom: 12px; border-left: 4px solid var(--brand); padding-left: 10px; }
.ing-list, .steps, .kv, .link-list { list-style: none; padding: 0; margin: 0; }
.ing-list li, .kv li { padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 8px; background: var(--surface); }
.steps { counter-reset: s; }
.steps li { padding: 12px 14px 12px 44px; position: relative; border-radius: var(--radius-sm); margin-bottom: 10px; background: var(--surface-2); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--brand-soft); color: var(--accent-dark); padding: 6px 12px; border-radius: 999px; font-size: 14px; }
.kv li { display: flex; justify-content: space-between; gap: 12px; }
.kv li span { color: var(--text-faint); }
.kv li b { color: var(--text); font-weight: 600; }
.compliance-banner { background: #FEF3F2; border: 1px solid #FBD1CB; color: var(--bad); padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin: 0 0 18px; }
.cta-inline { margin: 28px 0; padding: 18px 20px; background: var(--brand-soft); border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cta-inline span { color: var(--accent-dark); font-size: 15px; }
.post-list, .link-list { max-width: 980px; margin: 18px auto; padding: 0 18px; display: grid; gap: 12px; }
.post-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card a { display: block; padding: 16px 18px; color: var(--text); text-decoration: none; }
.post-card h3 { font-size: 17px; margin: 0 0 4px; }
.post-card p { margin: 0; color: var(--text-soft); font-size: 14px; }
.search-box { max-width: 720px; margin: 0 auto 8px; }
.search-box form { display: flex; gap: 10px; }
.search-box input { flex: 1; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-size: 15px; }
.pager { max-width: 980px; margin: 22px auto; padding: 0 18px; display: flex; gap: 14px; align-items: center; justify-content: center; color: var(--text-soft); }
.pager a { color: var(--brand); text-decoration: none; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.pager a:hover { background: var(--brand-soft); }

/* 下载页：为什么下载（卖点卡片） */
.why { margin-top: 8px; }
.why .ic { font-size: 30px; line-height: 1; margin-bottom: 12px; }
.why .card { padding: 22px 20px; }
.why .card h3 { font-size: 16px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.01em; color: var(--text); }
.why .card p { margin: 0; color: var(--text-soft); font-size: 13.5px; line-height: 1.7; }
.why .card.hover:hover { border-color: var(--brand); }

/* 关于我们页 */
.about-hero { text-align: center; padding: 30px 0 6px; }
.about-hero .mark-lg { width: 66px; height: 66px; border-radius: 18px; background: var(--brand-dark); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; margin-bottom: 18px; }
.about-hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -.03em; }
.about-hero .lead { color: var(--text-soft); font-size: 17px; margin-top: 10px; }
.prose p { color: var(--text-soft); font-size: 16px; line-height: 1.9; margin-bottom: 16px; max-width: 880px; }
.prose p:first-child { color: var(--text); font-size: 17px; }
.muted { color: var(--text-soft); font-size: 14.5px; line-height: 1.75; margin-top: 8px; }
.grid-2 .panel .btn, .grid-3 .card .btn { margin-top: 16px; }
.contact .kv { list-style: none; margin-top: 8px; }
.contact .kv li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.contact .kv li:last-child { border-bottom: none; }
.contact .kv span { color: var(--text-faint); }
.contact .kv b { color: var(--text); font-weight: 700; text-align: right; }
.contact .kv a { color: var(--brand-dark); }
.note { margin-top: 40px; padding: 20px 22px; background: var(--surface-2); border-radius: var(--radius); }
.note p { color: var(--text-faint); font-size: 12.5px; line-height: 1.7; }
.note .icp { margin-top: 10px; }
