/* ============================================================
   JomGuide.my — 博客样式
   灰白底色确立权威 · 马来青引导路径 · 暖橙只留给变现动作
   ============================================================ */

/* 结构：没有包起来的规则两端共用（颜色、字体、按钮、表单、正文排版、CTA 块）；
   页面布局都包在 @media (min-width: 768px) 里（桌面与平板）。
   手机（≤767px）不是这里的缩小版，而是 app.css 里的一套 app 界面。 */

:root {
  --green: #10B981;
  --green-hover: #0EA672;
  --green-deep: #047857;          /* 绿色文字（AA 5.5:1） */
  --green-ink: #064E3B;
  --green-tint: #ECFDF5;
  --green-line: #A7F3D0;
  --green-light: #6EE7B7;         /* 深底上的绿色文字 */
  --orange: #FF9F1C;              /* 只用于变现动作 */
  --orange-hover: #F79400;

  --ink: #1F2937;
  --ink-2: #4B5563;
  --ink-3: #5B6572;
  --line: #E5E7EB;
  --line-2: #D1D5DB;
  --bg: #FFFFFF;
  --bg-soft: #F5F7F6;
  --bg-mute: #EEF2F0;
  --deep: #0B1F17;

  --font: "Nunito", "Nunito Fallback", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
  --hero-max: 820px;
  --container: 1440px;       /* 按客户要求放宽（baseline 默认 1280） */
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --media-ratio: 1672 / 941;   /* 文章图（封面与各种卡片）统一的显示比例 */
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .05), 0 2px 6px rgba(17, 24, 39, .06);
  --shadow: 0 18px 40px -18px rgba(17, 24, 39, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 字体加载前用度量匹配的本地字体占位，Nunito 到达时不跳版（CLS ≈ 0） */
@font-face {
  font-family: "Nunito Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Roboto");
  size-adjust: 101.5%;
  ascent-override: 100%;
  descent-override: 35%;
  line-gap-override: 0%;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
p { margin: 0; }
a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--green-ink); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green-line); color: var(--green-ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
/* 手机 app 外壳（app.css）的顶栏、tab bar、抽屉等：桌面与平板不显示 */
@media (min-width: 768px) { .app-only { display: none; } }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .section { padding-block: clamp(48px, 7vw, 96px); }
  .section-soft { background: var(--bg-soft); }
  .stack-lg > * + * { margin-top: clamp(40px, 6vw, 72px); }
  .layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 352px; gap: clamp(32px, 4vw, 64px); align-items: start; }
  .layout-2col:not(:has(> .col-side)) { grid-template-columns: minmax(0, 1fr); }   /* 还没有必读（没人看过）：不留空侧栏 */
  .col-side { display: grid; gap: 24px; }
  @media (max-width: 1024px) { .layout-2col { grid-template-columns: minmax(0, 1fr); } .col-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
  .col-side > :only-child { grid-column: 1 / -1; } /* 只有一个小组件时平板也占满整行 */
  @media (min-width: 1025px) { .col-side-sticky { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } } /* 首页必读清单跟着文章流 */
}

@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 28px; }
  .sec-head h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin-top: 6px; }
  .section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
  .section-head h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin-top: 10px; }
}
.sec-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 800; color: var(--green-deep); }
.sec-eyebrow.light { color: var(--green-light); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 800; letter-spacing: .06em; color: var(--green-deep); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); line-height: 1.65; }

/* ---------- Icons ---------- */
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; }
.ic-xs { width: 14px; height: 14px; }
.ic-fill { fill: currentColor; stroke: none; }
.icon-badge { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-tint); color: var(--green-deep); flex: none; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--ink); }
.btn-primary:hover { background: var(--green-hover); color: var(--ink); }
.btn-cta { background: var(--orange); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(255, 159, 28, .8); }
.btn-cta:hover { background: var(--orange-hover); color: var(--ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-dark:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--green-deep); text-decoration: none; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .ic { transform: translateX(3px); }
.link-arrow.light { color: var(--green-light); }
.linklike { background: none; border: 0; padding: 0; color: var(--green-deep); font-weight: 700; text-decoration: underline; cursor: pointer; }
.icon-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.icon-btn .ic { width: 18px; height: 18px; }
.icon-btn[aria-current="page"] { background: var(--green-tint); border-color: var(--green); color: var(--green-ink); }
.icon-btn.copied { background: var(--green-tint); border-color: var(--green); color: var(--green-ink); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--green-tint); color: var(--green-ink); font-size: .8125rem; font-weight: 800; line-height: 1.5; text-decoration: none; white-space: nowrap; }
.chip-dark { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.chip-dark:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.chip-mute { background: var(--bg-mute); color: var(--ink-2); }

/* ---------- Kicker & meta ---------- */
.kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 8px; font-size: .8125rem; color: var(--ink-3); }
.kicker .sep { color: var(--line-2); }
.cat-label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 5px; font-weight: 800; color: var(--green-deep); text-decoration: none; }
a.cat-label:hover { color: var(--green-ink); text-decoration: underline; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: .8125rem; color: var(--ink-3); }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.excerpt { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Header ---------- */
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
  .site-header.scrolled { box-shadow: 0 8px 24px -18px rgba(17, 24, 39, .3); }
  .header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .brand { display: inline-flex; flex: none; }
  .brand-logo { width: auto; height: 40px; }
  .site-nav { display: flex; align-items: center; gap: 22px; }
  .site-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
  .site-nav ul a { position: relative; display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 700; font-size: .9375rem; text-decoration: none; transition: color .2s, background-color .2s; }
  .site-nav ul a:hover { color: var(--ink); background: var(--bg-soft); }
  .site-nav ul a[aria-current="page"] { color: var(--green-ink); background: var(--green-tint); }
  .site-nav ul a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--green); }
  .nav-tools { display: flex; align-items: center; gap: 12px; }
  .header-right { display: none; align-items: center; gap: 8px; }
}
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .8125rem; font-weight: 800; }
.lang > * { padding: 4px 10px; border-radius: 999px; text-decoration: none; color: var(--ink-2); line-height: 1.3; }
.lang .lang-cur { background: var(--ink); color: #fff; }
.lang a:hover { color: var(--ink); background: var(--bg-soft); }
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .nav-toggle { display: grid; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; place-items: center; cursor: pointer; }
  .nav-toggle .ic-close, .nav-open .nav-toggle .ic-menu { display: none; }
  .nav-open .nav-toggle .ic-close { display: block; }

  @media (max-width: 1200px) {
    .header-right { display: flex; }
    .site-nav { position: fixed; top: var(--header-h); right: 0; bottom: 0; left: 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 20px; background: #fff; padding: 16px max(var(--gutter), env(safe-area-inset-right)) 40px max(var(--gutter), env(safe-area-inset-left)); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
    .nav-open .site-nav { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav ul a { display: block; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; background: none; }
    .site-nav ul a:hover { background: none; }
    .site-nav ul a[aria-current="page"] { background: none; color: var(--green-deep); }
    .site-nav ul a[aria-current="page"]::after { left: 4px; right: auto; width: 32px; bottom: -1px; height: 3px; }
    .nav-tools { display: none; } /* 平板抽屉里搜索与语言已在顶栏右侧 */
  }
  @media (min-width: 1201px) { .nav-toggle { display: none; } }
}

/* ---------- 首页 hero：全幅照片 + 标语 + 搜索 + 分类入口（header + hero = 100svh，封顶 820px） ---------- */
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .hero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: #fff; }
  .hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero-bg { z-index: -2; }
  .hero-bg img { object-fit: cover; object-position: 60% 50%; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(90deg, rgba(11, 31, 23, .93) 0%, rgba(11, 31, 23, .8) 36%, rgba(11, 31, 23, .32) 68%, rgba(11, 31, 23, .08) 100%),
    linear-gradient(180deg, rgba(11, 31, 23, 0) 0%, rgba(11, 31, 23, 0) 52%, rgba(11, 31, 23, .8) 100%); }
  .hero-inner { min-height: min(calc(100svh - var(--header-h)), var(--hero-max)); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 28px clamp(32px, 4vw, 72px); padding-block: clamp(28px, 6vh, 64px); }   /* 左：这里讲什么、凭什么信；右：三个分组里有什么 */
  .hero-copy { min-width: 0; max-width: 860px; }
  .hero-pill { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 720px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-decoration: none; font-size: .9rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .2s, border-color .2s; }
  .hero-pill:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .45); color: #fff; }
  .pill-tag { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; background: var(--green); color: var(--ink); font-weight: 800; font-size: .8125rem; }
  .pill-tag:hover { background: var(--green-hover); color: var(--ink); }
  .pill-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
  .hero-pill > .ic { flex: none; color: var(--green-light); }
  .hero h1 { margin-top: 22px; font-size: clamp(2rem, 3.7vw, 3.4rem); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
  .hero h1:lang(en) { font-size: clamp(1.9rem, 3.1vw, 2.9rem); }
  .hero h1 .hl { color: var(--green-light); }
  .hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: rgba(255, 255, 255, .92); font-size: clamp(.98rem, 1.2vw, 1.08rem); font-weight: 700; }   /* 每篇指南给你什么，一眼看懂 */
  .hero-points li { display: inline-flex; align-items: center; gap: 8px; }
  .hero-points .ic { color: var(--green-light); }
  .hero-search { display: flex; align-items: center; gap: 8px; max-width: 640px; margin-top: 28px; padding: 6px 6px 6px 18px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .6); }
  .hero-search:focus-within { outline: 3px solid var(--green); outline-offset: 3px; }
  .hero-search > .ic { color: var(--ink-3); }
  .hero-search input { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.02rem; color: var(--ink); text-overflow: ellipsis; }
  .hero-search input::placeholder { color: var(--ink-3); }
  .hero-search .btn { min-height: 46px; padding: 0 22px; }
  .hero-search .btn .ic { display: none; }
  .hero-hot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: .875rem; color: rgba(255, 255, 255, .78); }
  .hero-hot > span { flex: none; margin-right: 2px; font-weight: 700; white-space: nowrap; }
  .hot-chip { padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); color: #fff; font-weight: 700; text-decoration: none; transition: background-color .2s, border-color .2s; }
  .hot-chip:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }
  .hero-cats { list-style: none; display: grid; gap: 12px; }   /* 三个 Jom 分组：写清楚里面有什么 */
  .hero-cat { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: start; height: 100%; padding: 16px 18px; border-radius: var(--r); background: rgba(11, 31, 23, .58); border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
  .hero-cat:hover { background: rgba(11, 31, 23, .74); border-color: rgba(255, 255, 255, .4); color: #fff; transform: translateY(-2px); }
  .hero-cat .icon-badge { width: 46px; height: 46px; background: rgba(16, 185, 129, .22); color: var(--green-light); }
  .hero-cat strong { display: block; font-size: 1.08rem; line-height: 1.3; }
  .hero-cat small { display: -webkit-box; margin-top: 4px; color: rgba(255, 255, 255, .8); font-size: .875rem; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  @media (max-width: 1100px) {   /* 平板：分组卡片回到下面一排 */
    .hero-inner { grid-template-columns: minmax(0, 1fr); }
    .hero-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero-cat { grid-template-columns: 40px minmax(0, 1fr); gap: 6px 12px; padding: 14px; }
    .hero-cat .icon-badge { width: 40px; height: 40px; }
  }
  @media (prefers-reduced-motion: reduce) { .hero-cat { transition: none; } }
}

/* ---------- 文章流 ---------- */
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .stream { list-style: none; }
  .stream-item { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; padding: 24px 0; border-top: 1px solid var(--line); }
  .stream > .stream-item:first-child { border-top: 0; padding-top: 0; }
  .stream-thumb { display: block; aspect-ratio: var(--media-ratio); overflow: hidden; border-radius: 14px; background: var(--bg-mute); }
  .stream-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
  .stream-item:hover .stream-thumb img { transform: scale(1.04); }
  .stream-body { min-width: 0; }
  .stream-body h3 { margin-top: 8px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.38; }
  .stream-body h3 a { color: var(--ink); text-decoration: none; }
  .stream-body h3 a:hover { color: var(--green-deep); text-decoration: underline; text-decoration-thickness: 2px; }
  .stream.compact .stream-item { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 20px 0; }
  .stream.compact .stream-body h3 { font-size: 1.08rem; }
  .more-btn { margin-top: 28px; }
}
/* 分类页：只先显示几篇，其余点「显示更多」；筛选 / 搜索时全部参与；无 JS 时全部可见 */
.js .is-more { display: none; }
.js [data-filter-root].expanded .is-more, .js [data-filter-root].filtering .is-more { display: grid; }
.js [data-filter-root].filtering [data-more-btn] { display: none; }

/* ---------- 侧栏小组件 ---------- */
.widget { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.widget-title { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 1rem; font-weight: 800; }
.widget-title .ic { color: var(--green-deep); }
.widget-p { color: var(--ink-2); font-size: .9375rem; line-height: 1.6; margin-bottom: 14px; }
.rank { list-style: none; }
.rank li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.rank li:first-child { border-top: 0; padding-top: 0; }
.rank-n { font-size: 1.45rem; font-weight: 800; line-height: 1.1; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.rank a { color: var(--ink); font-weight: 700; font-size: .9375rem; line-height: 1.45; text-decoration: none; }
.rank a:hover { color: var(--green-deep); text-decoration: underline; }
.rank .meta { margin-top: 4px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); font-size: .8125rem; font-weight: 700; text-decoration: none; transition: all .2s; }
.tag:hover { border-color: var(--green); background: var(--green-tint); color: var(--green-ink); }
.tag small { color: var(--ink-3); font-weight: 600; }

/* ---------- 卡片列（图在上） ---------- */
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .card-rail { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .card-rail.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
  .card-thumb { display: block; aspect-ratio: var(--media-ratio); overflow: hidden; border-radius: 14px; background: var(--bg-mute); }
  .card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
  .card:hover .card-thumb img { transform: scale(1.04); }
  .card h3 { font-size: 1.06rem; line-height: 1.42; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } /* 卡片标题最多两行 */
  .card h3 a { color: var(--ink); text-decoration: none; }
  .card h3 a:hover { color: var(--green-deep); text-decoration: underline; }
  .card .meta { margin-top: 0; }
  @media (max-width: 1024px) { .card-rail, .card-rail.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
}

/* ---------- 速递深色带 ---------- */
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .band { position: relative; isolation: isolate; color: #fff; padding-block: clamp(56px, 8vw, 104px); }
  .band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
  .band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 31, 23, .95) 0%, rgba(11, 31, 23, .86) 55%, rgba(11, 31, 23, .76) 100%); }
  .band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
  .band h2 { margin-top: 10px; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
  .band .lead { margin-top: 14px; color: rgba(255, 255, 255, .82); }
  .band .link-arrow { margin-top: 18px; }
  .digest-rows { list-style: none; display: grid; gap: 14px; }
  /* 每篇一张图卡：左图右文，整张可点 */
  .digest-row { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding: 14px; border-radius: var(--r); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); transition: background-color .2s, border-color .2s; }
  .digest-row:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .32); }
  .digest-thumb { position: relative; align-self: center; aspect-ratio: var(--media-ratio); overflow: hidden; border-radius: 12px; background: rgba(255, 255, 255, .08); }
  .digest-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
  .digest-row:hover .digest-thumb img { transform: scale(1.05); }
  .digest-issue { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(11, 31, 23, .8); color: #fff; font-size: .75rem; font-weight: 800; line-height: 1.6; }
  .digest-issue.is-new { background: var(--green); color: var(--ink); }
  .digest-body { min-width: 0; align-self: center; padding-right: 6px; }
  .digest-meta time { color: var(--green-light); font-weight: 800; font-size: .875rem; }
  .digest-row h3 { margin-top: 2px; font-size: 1.08rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .digest-row h3 a { color: #fff; text-decoration: none; }
  .digest-row h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
  .digest-row:hover h3 a { text-decoration: underline; }
  .digest-row .excerpt { margin-top: 8px; color: rgba(255, 255, 255, .82); }
}
.follow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.follow-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 700; font-size: .9375rem; text-decoration: none; transition: background-color .2s, border-color .2s; }
.follow-btn:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.follow-btn .ic { width: 18px; height: 18px; }
.follow.on-light { margin-top: 0; }
.on-light .follow-btn { border-color: var(--line-2); color: var(--ink); }
.on-light .follow-btn:hover { background: var(--bg-soft); border-color: var(--ink); color: var(--ink); }
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  @media (max-width: 1024px) { .band-grid { grid-template-columns: minmax(0, 1fr); } }
}

/* ---------- 搞懂：大图精选 + 编号列表 ---------- */
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  /* 左右等高：大图固定比例，右边列表的条目撑开填满 */
  .spread { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
  .spread-feature { position: relative; display: flex; flex-direction: column; }
  .spread-img { position: relative; display: block; flex: none; aspect-ratio: var(--media-ratio); overflow: hidden; border-radius: var(--r-lg); background: var(--bg-mute); }
  .spread-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
  .spread-feature:hover .spread-img img { transform: scale(1.03); }
  .spread-feature .kicker { margin-top: 18px; }
  .spread-feature h3 { margin-top: 10px; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.28; }
  .spread-feature h3 a { color: var(--ink); text-decoration: none; }
  .spread-feature h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
  .spread-feature:hover h3 a { color: var(--green-deep); }
  .spread-feature .excerpt { -webkit-line-clamp: 2; font-size: 1rem; }
  .spread-list { list-style: none; counter-reset: sp; display: flex; flex-direction: column; }
  .spread-list li { flex: 1 1 auto; display: grid; grid-template-columns: 58px minmax(0, 1fr); align-content: center; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
  .spread-list li:first-child { border-top: 0; padding-top: 0; }
  .spread-list li::before { counter-increment: sp; content: "0" counter(sp); font-size: 2.1rem; font-weight: 800; line-height: 1; color: var(--green-deep); font-variant-numeric: tabular-nums; }
  .spread-list h3 { margin-top: 6px; font-size: 1.12rem; line-height: 1.4; }
  .spread-list h3 a { color: var(--ink); text-decoration: none; }
  .spread-list h3 a:hover { color: var(--green-deep); text-decoration: underline; }
  .spread-list .excerpt { -webkit-line-clamp: 2; }
  @media (max-width: 1024px) { .spread { grid-template-columns: minmax(0, 1fr); } }
}

/* ---------- 分页（全部文章，每页 5 篇） ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font: inherit; font-size: .9375rem; font-weight: 800; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.pager-btn:hover:not(:disabled):not([aria-current]) { border-color: var(--green); color: var(--green-deep); }
.pager-btn[aria-current="page"] { background: var(--green); border-color: var(--green); color: var(--ink); cursor: default; }
.pager-btn:disabled { opacity: .4; cursor: not-allowed; }
.filter-status [data-active-tag] { font-weight: 800; color: var(--green-deep); }
.js [data-paginate] .pg-later { display: none; } /* 第 2 页以后：首屏不渲染、不加载缩略图；无 JS 时全部可见 */

/* ---------- 表单 ---------- */
.input { width: 100%; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font: inherit; color: var(--ink); }
.input:focus { border-color: var(--green-deep); outline: 3px solid rgba(16, 185, 129, .25); outline-offset: 0; }
textarea.input { min-height: 140px; padding: 14px 16px; border-radius: 14px; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.form-grid .input { border-radius: 12px; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 18px; }
.form-fine { margin-top: 12px; font-size: .8125rem; color: var(--ink-3); }
.form-actions .form-fine { margin-top: 0; }
.form-msg { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--green-tint); color: var(--green-ink); font-weight: 700; }
.form-msg.is-error { background: #FEF2F2; color: #B91C1C; }
form.sent .form-grid, form.sent .form-actions { display: none; }

/* ---------- 内页短版页头 ---------- */
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .page-head { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(240px, 38vh, 420px); padding-block: 48px 36px; color: #fff; }
  .page-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
  .page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 31, 23, .35) 0%, rgba(11, 31, 23, .88) 100%); }
  .page-head h1 { margin-top: 14px; font-size: clamp(1.9rem, 4vw, 3rem); text-wrap: balance; } /* 放得下就一行 */
  .page-head .lead { margin-top: 12px; color: rgba(255, 255, 255, .86); text-wrap: pretty; }
  .page-count { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; font-size: .9rem; color: rgba(255, 255, 255, .85); }
  .crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: rgba(255, 255, 255, .78); }
  .crumbs a { color: #fff; text-decoration: none; }
  .crumbs a:hover { text-decoration: underline; }
  .crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .5); }
  .crumbs-dark { color: var(--ink-3); }
  .crumbs-dark a { color: var(--ink-2); }
  .crumbs-dark li + li::before { color: var(--line-2); }
}

/* ---------- 筛选（分类页 / 全部文章） ---------- */
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .topic-bar { display: grid; gap: 14px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
}
.filter-search { position: relative; }
.filter-search .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.filter-search .input { padding-left: 46px; }
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .chip-row-label { margin-right: 4px; font-size: .8125rem; font-weight: 800; color: var(--ink-3); }
}
.filter-chip { padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink-2); font-weight: 700; font-size: .875rem; cursor: pointer; transition: all .2s; }
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-status { font-size: .875rem; color: var(--ink-3); }
.filter-status strong { color: var(--ink); }
.empty { padding: 36px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line-2); border-radius: var(--r); }
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .feature-row { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding-bottom: 28px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
  .feature-img { display: block; aspect-ratio: var(--media-ratio); overflow: hidden; border-radius: var(--r-lg); background: var(--bg-mute); }
  .feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
  .feature-row:hover .feature-img img { transform: scale(1.03); }
}
.badge-featured { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 800; }
.badge-featured .ic { color: var(--green-light); }
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .feature-body :is(h2, h3) { margin-top: 8px; font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.3; }
  .feature-body :is(h2, h3) a { color: var(--ink); text-decoration: none; }
  .feature-body :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
  .feature-row:hover :is(h2, h3) a { color: var(--green-deep); }
  .feature-body .excerpt { -webkit-line-clamp: 3; }
  .month { display: flex; align-items: center; gap: 12px; padding: 30px 0 6px; font-size: .95rem; font-weight: 800; color: var(--ink-3); letter-spacing: .04em; }
  .month::after { content: ""; flex: 1; height: 1px; background: var(--line); }
  .month-group:first-of-type .month { padding-top: 4px; }
}

/* ---------- 文章页 ---------- */
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .post-head { padding-top: clamp(24px, 4vw, 48px); padding-bottom: 24px; }
  .post-head .kicker { margin-top: 18px; }
  .post-title { margin-top: 10px; font-size: clamp(1.85rem, 3.6vw, 2.85rem); line-height: 1.18; letter-spacing: -.015em; }
  .post-dek { margin-top: 14px; font-size: clamp(1.04rem, 1.4vw, 1.2rem); color: var(--ink-2); line-height: 1.65; text-wrap: pretty; }
  .byline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
  .avatar { width: 44px; height: 44px; padding: 6px; border-radius: 50%; background: var(--green-tint); flex: none; }
  .byline-text { display: grid; gap: 2px; min-width: 0; font-size: .875rem; color: var(--ink-3); }
  .byline-text strong { color: var(--ink); font-size: .9375rem; }
  .byline-dates { display: flex; flex-wrap: wrap; gap: 2px 12px; }
  .share-icons { display: flex; gap: 8px; margin-left: auto; }
  .post-cover img { width: 100%; aspect-ratio: var(--media-ratio); object-fit: cover; border-radius: var(--r-lg); background: var(--bg-mute); }
  /* 正文栏填满到目录旁边，不再留大空白（客户要求） */
  .post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(36px, 4vw, 56px); padding-block: clamp(28px, 4vw, 48px) clamp(56px, 7vw, 96px); }
  .post-main { min-width: 0; }
  .post-source { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-size: .8125rem; font-weight: 700; }
  .aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
  .toc { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); }
  .toc h2 { font-size: .8125rem; letter-spacing: .06em; color: var(--ink-3); }
  .toc ol { list-style: none; display: grid; gap: 2px; margin-top: 12px; }
  .toc a { display: block; padding: 7px 12px; border-left: 2px solid var(--line); color: var(--ink-2); font-size: .9rem; line-height: 1.4; text-decoration: none; }
  .toc a:hover { color: var(--ink); border-left-color: var(--line-2); }
  .toc a.active { color: var(--green-deep); border-left-color: var(--green); font-weight: 700; }
  @media (max-width: 1024px) { .post-grid { grid-template-columns: minmax(0, 1fr); } .post-aside { display: none; } }
}

/* 正文排版 */
.prose { font-size: 1.0625rem; line-height: 1.85; }
@media (min-width: 1280px) { .prose { font-size: 1.125rem; } } /* 栏更宽时字稍大，行长仍好读 */
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.prose h3 { margin-top: 1.6em; font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose small { font-size: .875rem; color: var(--ink-3); }
.tldr { padding: 22px 24px; border-radius: var(--r); background: var(--green-tint); border: 1px solid var(--green-line); }
.prose .tldr h2 { margin-top: 0; display: flex; align-items: center; gap: 8px; font-size: 1.1rem; color: var(--green-ink); }
.tldr ul { list-style: none; display: grid; gap: 8px; margin-top: 12px; padding: 0; }
.tldr li { display: flex; align-items: flex-start; gap: 10px; }
.tldr li + li { margin-top: 0; }
.tldr .ic { color: var(--green-deep); margin-top: 6px; }
.steps { list-style: none; padding: 0 !important; counter-reset: st; }
.step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.step + .step { margin-top: 0 !important; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { counter-increment: st; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--ink); font-weight: 800; font-size: 1.05rem; }
.step-num::before { content: counter(st); }
.prose .step h3 { margin-top: 8px; font-size: 1.18rem; }
.step p, .step ul, .step .table-wrap { margin-top: 8px; }
.why { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .875rem; font-weight: 700; color: var(--green-deep); line-height: 1.5; }
.callout { padding: 16px 20px; border-left: 4px solid var(--ink); border-radius: 0 14px 14px 0; background: var(--bg-soft); }
.callout-title { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.callout ul { margin-top: 10px; }
.callout-tip { border-left-color: var(--green); background: var(--green-tint); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); contain: paint; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.6; }
th, td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--bg-soft); font-weight: 800; white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
.td-hi { background: var(--green-tint); }
.cmp th:first-child, .cmp td:first-child { position: sticky; left: 0; z-index: 1; min-width: 130px; background: #fff; font-weight: 700; box-shadow: 1px 0 0 var(--line); }
.cmp thead th:first-child { background: var(--bg-soft); }
.cmp th { min-width: 140px; }
.cmp .yes { color: var(--green-deep); font-weight: 800; }
.faq { border-top: 1px solid var(--line); }
.faq + .faq { margin-top: 0 !important; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 700; font-size: 1.03rem; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--green-deep); transition: transform .25s var(--ease); }
.faq[open] summary .ic { transform: rotate(180deg); }
.faq-body { padding: 0 0 18px; color: var(--ink-2); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.sources { list-style: none; display: grid; gap: 10px; padding: 0 !important; font-size: .9375rem; }
.sources li { display: flex; align-items: flex-start; gap: 8px; }
.sources li + li { margin-top: 0; }
.sources .ic { color: var(--ink-3); margin-top: 5px; }
.bank-list { list-style: none; display: grid; gap: 16px; padding: 0 !important; counter-reset: bk; }
.bank-list .bank + .bank { margin-top: 0; }
.bank { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.bank-rank { counter-increment: bk; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--bg-soft); color: var(--ink-2); font-weight: 800; font-size: 1.15rem; }
.bank-rank::before { content: "#" counter(bk); }
.bank-top .bank-rank { background: var(--green); color: var(--ink); }
.prose .bank h3 { margin-top: 0; font-size: 1.2rem; }
.bank .best { margin-left: 6px; vertical-align: middle; }
.bank-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; padding: 0 !important; color: var(--ink-2); font-size: .9rem; }
.bank-facts li { display: inline-flex; align-items: center; gap: 6px; }
.bank-facts li + li { margin-top: 0; }
.bank-facts .ic { color: var(--green-deep); }
.bank p { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; line-height: 1.65; }
.bank-cta { display: grid; justify-items: center; gap: 6px; text-align: center; }
.bank-cta small { color: var(--ink-3); font-size: .78rem !important; }
@media (max-width: 1100px) { .bank { grid-template-columns: 50px minmax(0, 1fr); } .bank-cta { grid-column: 1 / -1; justify-items: start; text-align: left; } }
.digest { list-style: none; padding: 0 !important; }
.digest-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.digest-item + .digest-item { margin-top: 0 !important; }
.digest-item:last-child { border-bottom: 1px solid var(--line); }
.digest-num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green); color: var(--ink); font-weight: 800; font-size: 1.05rem; }
.prose .digest-item h2 { margin-top: 8px; font-size: 1.25rem; }
.digest-item p { margin-top: 8px; }
.digest-act { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px !important; padding: 12px 14px; border-radius: 12px; background: var(--green-tint); color: var(--green-ink); font-weight: 700; font-size: .9375rem; line-height: 1.6; }
.digest-act .ic { flex: none; margin-top: 3px; color: var(--green-deep); }

/* 文章尾 */
.post-cta:not(:empty) { margin-top: 40px; }
.post-end { margin-top: 40px; display: grid; gap: 22px; }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.post-tags > span { display: inline-flex; align-items: center; gap: 4px; margin-right: 4px; font-size: .875rem; font-weight: 800; color: var(--ink-3); }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-label { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; font-weight: 800; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 700; font-size: .875rem; text-decoration: none; cursor: pointer; transition: border-color .2s, background-color .2s; }
.share-btn:hover { border-color: var(--ink); color: var(--ink); }
.share-btn.copied { border-color: var(--green); background: var(--green-tint); color: var(--green-ink); }
.author-box { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 22px; border-radius: var(--r); background: var(--bg-soft); }
.author-box img { width: 64px; height: 64px; padding: 8px; border-radius: 50%; background: #fff; }
.author-name { font-weight: 800; font-size: 1.05rem; }
.author-box p + p { margin-top: 6px; color: var(--ink-2); font-size: .9375rem; line-height: 1.65; }
.author-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 700; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-nav a { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.post-nav a:hover { border-color: var(--green); color: var(--ink); }
.post-nav small { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-weight: 700; font-size: .8125rem; }
.post-nav strong { font-size: .9375rem; line-height: 1.45; }
.post-nav .next { text-align: right; }
.post-nav .next small { justify-content: flex-end; }

/* ---------- CTA 块 ---------- */
.cta-block { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--deep); color: #fff; }
.cta-block .eyebrow { color: var(--green-light); }
.cta-block h2 { margin-top: 8px; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.cta-block .eyebrow + h2 { margin-top: 10px; }
.cta-block > p { margin-top: 8px; color: rgba(255, 255, 255, .82); }
.fineprint { margin-top: 14px; font-size: .8125rem; line-height: 1.6; color: var(--ink-3); }
.cta-block .fineprint { color: rgba(255, 255, 255, .7); }
.lead-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--deep); color: #fff; }
.lead-card .eyebrow { color: var(--green-light); }
.lead-card h2 { margin-top: 10px; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.lead-card > div > p { margin-top: 10px; color: rgba(255, 255, 255, .82); }
.lead-card ul { list-style: none; display: grid; gap: 8px; margin-top: 16px; color: rgba(255, 255, 255, .88); font-size: .9375rem; }
.lead-card ul li { display: flex; align-items: flex-start; gap: 8px; }
.lead-card ul .ic { color: var(--green-light); margin-top: 4px; }
.lead-form { padding: 22px; border-radius: var(--r); background: #fff; color: var(--ink); }
.lead-form .form-grid { margin-top: 0; }
.lead-form .form-msg { margin-top: 0; }
@media (max-width: 1024px) { .lead-card { grid-template-columns: minmax(0, 1fr); } }
.saas-block h2 { margin-top: 10px; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.saas { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.saas-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.saas-card h3 { font-size: 1.2rem; }
.saas-card .tagline { color: var(--ink-3); font-size: .875rem; font-weight: 700; line-height: 1.5; }
.saas-card ul { list-style: none; display: grid; gap: 6px; font-size: .9375rem; flex: 1; }
.saas-card ul li { display: flex; align-items: flex-start; gap: 8px; }
.saas-card ul .ic { color: var(--green-deep); margin-top: 4px; }
.saas-card .btn { align-self: flex-start; margin-top: 6px; }
.saas-top { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
@media (max-width: 900px) { .saas { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 关于页 ---------- */
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
  .about-copy h2 { margin-top: 12px; font-size: clamp(1.45rem, 2.4vw, 2rem); }
  .about-copy p:not(.eyebrow) { margin-top: 14px; font-size: 1.0625rem; color: var(--ink-2); }
  .quote-media { position: relative; }
  .quote-media img { width: 100%; aspect-ratio: var(--media-ratio); object-fit: cover; border-radius: var(--r-lg); }
  .quote-card { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 18px 20px; border-radius: 14px; background: rgba(11, 31, 23, .92); color: #fff; }
  .quote-card blockquote { margin: 0; font-weight: 700; font-size: 1.05rem; line-height: 1.5; }
  .quote-card cite { display: block; margin-top: 6px; font-style: normal; font-size: .8125rem; color: rgba(255, 255, 255, .72); }
  .contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
  .contact-grid h2 { margin-top: 12px; font-size: clamp(1.45rem, 2.4vw, 2rem); }
  .contact-grid .lead { margin-top: 12px; }
  .contact-cards { display: grid; gap: 14px; margin-top: 22px; }
  .contact-card { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .contact-card strong { display: block; }
  .contact-card span { color: var(--ink-2); font-size: .9375rem; }
  .contact-card a { word-break: break-all; }
  .form-card { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
  .form-card h3 { font-size: 1.25rem; }
  .about-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }   /* 左：标题；右：问答 */
  .about-faq .section-head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
  .faq-more { margin-top: 16px; color: var(--ink-2); }
  @media (max-width: 1024px) { .about-split, .contact-grid, .about-faq { grid-template-columns: minmax(0, 1fr); } .about-faq .section-head { position: static; } }
}

/* ---------- Footer ---------- */
@media (min-width: 768px) {   /* 桌面与平板布局；手机见 app.css */
  .site-footer { padding-block: clamp(48px, 6vw, 72px) 28px; background: var(--deep); color: #C9D3CE; }
  .foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.5fr; gap: clamp(28px, 4vw, 56px); }
  .foot-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 1.25rem; text-decoration: none; }
  .foot-brand img { width: 40px; height: 40px; }
  .foot-brand .dot { color: var(--orange); }
  .site-footer p { font-size: .9375rem; }
  .foot-tagline { margin-top: 16px; max-width: 320px; }
  .foot-fine { margin-top: 12px; font-size: .8125rem !important; color: #9FB2AA; }
  .site-footer h2 { margin-bottom: 14px; color: #fff; font-size: .9375rem; letter-spacing: .04em; }
  .foot-links { list-style: none; display: grid; gap: 8px; }
  .site-footer a { color: #C9D3CE; }
  .site-footer a:hover { color: var(--green-light); }
  .foot-links a { text-decoration: none; }
  .foot-links a:hover { text-decoration: underline; }
  .foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(32px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; color: #9FB2AA; }
  .foot-bottom a { color: #fff; font-weight: 700; }
  @media (max-width: 1024px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
}

/* ---------- 动效：滚动揭示（无 JS 时全部可见；reduced-motion 关闭） ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); animation: reveal-safety .01s linear 2.5s forwards; }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes reveal-safety { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .btn, .stream-thumb img, .card-thumb img, .spread-img img, .feature-img img, .digest-thumb img, .link-arrow .ic { transition: none; }
}

/* ---------- 错误页（404 等）：大号状态码 + 一句说明 + 出路；5xx 与后台用独立页（error-bare） ---------- */
.error-page { padding-block: clamp(56px, 9vw, 112px) clamp(40px, 6vw, 80px); text-align: center; }
.error-inner { max-width: 760px; }
.error-code { color: var(--green); font-size: clamp(4rem, 12vw, 7.5rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.error-page h1 { margin-top: 10px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.error-page .lead { max-width: 580px; margin: 12px auto 0; }
.error-search { display: flex; align-items: center; gap: 8px; max-width: 560px; margin: 26px auto 0; padding: 5px 5px 5px 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; text-align: left; }
.error-search:focus-within { border-color: var(--green-deep); outline: 3px solid rgba(16, 185, 129, .25); }
.error-search > .ic { color: var(--ink-3); }
.error-search input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.error-search .btn { min-height: 44px; padding: 0 20px; }
.error-page .btn-row { justify-content: center; margin-top: 22px; }
.error-bare { display: grid; align-content: center; min-height: 100vh; }
.error-brand { display: inline-flex; margin-bottom: 28px; }
.error-brand img { width: auto; height: 38px; }

/* ---------- 首页速递条：几篇热点轮流出现（main.js 约 5 秒换一篇，向上滑入） ---------- */
.pill-items { display: grid; grid-template-columns: minmax(0, 1fr); flex: 1 1 auto; min-width: 0; overflow: hidden; list-style: none; }
.pill-item { grid-area: 1 / 1; min-width: 0; visibility: hidden; opacity: 0; transform: translateY(110%); transition: transform .45s var(--ease), opacity .45s, visibility 0s .45s; }
.pill-item.is-current, .pill-item.is-leaving { visibility: visible; transition: transform .45s var(--ease), opacity .45s, visibility 0s; }
.pill-item.is-current { opacity: 1; transform: none; }
.pill-item.is-leaving { transform: translateY(-110%); }
.pill-text { display: block; color: inherit; text-decoration: none; }
.pill-text:hover { color: inherit; text-decoration: underline; }
a.pill-tag { text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .pill-item, .pill-item.is-current, .pill-item.is-leaving { transition: none; } }
