/* =============================================================================
   content.css — 全站内容页的唯一样式表（手工维护）

   使用者：全部语言的普通内容页（文章、指南、知识页、关于、联系、隐私、条款、网站地图、DMCA、商务合作等），
   加载顺序 global-header.css → content.css → [form.css] → global-footer.css。
   文件名（2026-11-22 由 site.css 改名）：新地址让部署后不会出现「新页面 + 4 小时 CSS 缓存里的旧样式表」的混搭。
   Token、基础字体、页头与语言切换在 global-header.css，表单在 form.css，Footer 在 global-footer.css。

   规则（2026-11-22 起，站主决定：全部语言的内容页统一为简中经典模板）：
   1. 只有一种内容页结构：main.page > [nav.breadcrumb] > section.hero（含 h1 的首屏） > section.box …（正文块），
      其余组件（CTA、披露、答案框、卡片网格、对比表、FAQ、相关链接…）放在 .hero / .box 里或它们之间。
      不要再新建 main.main、header.page-head、section.page-section、.article-shell 这类外壳（assets:check 检查）。
   2. 按功能组织，不按语言复制。同一组件在所有语言中只有一个定义；不要再新建 assets/css/<lang>/ 目录、
      语言前缀组件类或页面内联模板。新增语言不需要新增 CSS。
   3. 语言差异只允许是文字系统本身的需要（字体回退、行高、断词、书写方向），写在第 4 节的 :lang() / [dir="rtl"]。
   4. 颜色用 global-header.css 的 Token；品牌色 #A61E4D 是 --accent-dark。
   5. 第 5 节（内容页模板）在最后：与改造前简中页「site.css → content-classic.css」的层叠顺序相同。

   分节：1. 基础　2. 内容组件　3. 页面模板　4. 文字系统与书写方向　5. 内容页模板（main.page / .hero / .box）
   合并来源：2026-11-21 的 site.css（原 en / es / zh-hans 三套家族与 26 个语言补丁）与 content-classic.css（原简中经典模板）。
   ============================================================================= */

/* ---------------------------------------------------------------- 1. 基础 */
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    line-height: 1.65;
}
main {
    overflow-wrap: break-word;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
a {
    text-decoration: none;
    color: inherit;
}
main a:focus-visible {
    outline: 3px solid rgba(166, 30, 77, .45);
    outline-offset: 3px;
}

/* ---------------------------------------------------------------- 2. 内容组件
   原标准模板与统一组件。挂在旧外壳上的规则已删除或改挂到 .page / .hero / .box（2026-11-22）。 */
  a.goto-affiliate:not(.btn):not(.btn-primary):not(.btn-ghost) {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 8px;
      padding: 10px 14px;
      border-radius: 999px;
      border: 1px solid rgba(214, 51, 108, 0.22);
      background: #fff1f6;
      color: var(--accent-dark);
      text-decoration: none;
      font-weight: 700;
      line-height: 1.45;
      max-width: 100%;
      box-shadow: 0 6px 16px rgba(214, 51, 108, 0.12);
  }

  a.goto-affiliate:not(.btn):not(.btn-primary):not(.btn-ghost):hover {
      background: #ffe5ef;
      color: var(--accent);
  }

/* 静态主题标签（span.chip）是元数据而不是按钮。 */
.chips > span.chip {
  padding: 5px 9px;
  border: 0;
  border-radius: 6px;
  background: #f1f3f6;
  box-shadow: none;
  color: #5f6b7a;
  font-size: 11px;
  font-weight: 500;
  cursor: default;
  transform: none;
}

  /* ================= Mobile ================= */
@media (max-width: 768px) {

      a.goto-affiliate:not(.btn):not(.btn-primary):not(.btn-ghost) {
          width: 100%;
      }
  }

/* 工具类（原内联 style 抽出的类，en 与 zh 两组合并） */
.block-gap,
.disclosure.block-gap,
.guide-page .cta-row.block-gap {
  margin-top: 14px;
}

.block-gap-md {
  margin-top: 12px;
}

.block-gap-xs {
  margin-top: 8px;
}

.card-body-text {
  font-size: 14px;
  margin: 0;
}

.card-heading,
h2.card-heading {
  font-size: 18px;
  margin: 0 0 8px;
}

.card-heading-lg,
h2.card-heading-lg {
  font-size: 18px;
  margin: 0 0 10px;
}

.col-220 {
  width: 220px;
}

.col-70 {
  width: 70px;
}

.cta-row-centered {
  justify-content: center;
}

.flush {
  margin: 0;
}

.flush-bottom {
  margin-bottom: 0;
}

.heading-gap {
  margin: 0 0 10px;
}

.heading-gap-sm {
  margin: 0 0 8px;
}

.muted-body {
  color: #5b6574;
  font-size: 14px;
  line-height: 1.7;
}

.muted-fineprint,
.box p.muted-fineprint {
  color: #5b6574;
  font-size: 13px;
}

.muted-lead {
  color: #5b6574;
  line-height: 1.7;
}

.note-pullup,
.guide-page .note.note-pullup {
  margin-top: -6px;
}

.panel-hint,
.interaction-panel p.panel-hint {
  color: #7a4a5c;
  font-size: 13px;
  margin-top: 10px;
}

.visual-guide-image {
  background: #fff;
  border: 1px solid #f2d9e3;
  border-radius: 16px;
  height: auto;
  width: 100%;
}

/* 背景使用 --card token。 */
/* 首屏带侧卡片：正文包在一个 div 里、.hero-card 与之并列时，桌面并排两栏（原 en/videos 场景页等 79 页的布局，
   2026-11-22 前写在各页内联样式里）；h1 直接放在首屏里的页面，侧卡片照常排在下方。 */
.hero:has(> .hero-card):not(:has(> h1)) {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
@media (max-width: 768px) {
    .hero:has(> .hero-card):not(:has(> h1)) {
        grid-template-columns: 1fr;
    }
}
.hero .hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    margin-top: 15px;
}

.hero .hero-card h2 {
    margin: 0 0 10px;
    font-size: 16px;
    color: var(--ink);
}

.hero .hero-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero .hero-card li {
    font-size: 13px;
    color: var(--muted);
    line-height: 2;
    padding-left: 12px;
    position: relative;
}

/* 列表符号使用 --primary。 */
.hero .hero-card li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.cta-top,
.cta-mid {
    margin-top: 20px;
    text-align: center;
    width: 100%;

}

.cta-mid a {
    border: var(--accent) 1px solid;
    border-radius: 10px;
    padding: 10px;
    color: var(--accent);
    background-color: rgba(242, 232, 229, 0.4);
    width: 100%;
    display: inline-block;
}

.cta-top a {
    border: var(--accent) 1px solid;
    border-radius: 10px;
    padding: 10px;
    color: var(--accent);
    font-weight: 600;
    width: 100%;
    display: inline-block;
    background-color: rgba(232, 222, 219, 0.5);
    box-shadow: 0 3px 5px rgba(246, 72, 24, 0.4);
}

.cta-mid a:hover {
    border: var(--accent) 1px solid;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(246, 98, 24, 0.3);
}

.cta-top a:hover {
    border: var(--accent) 2px solid;
    font-weight: 600;
    text-decoration: underline;
}

/* ================= CTA Section ================= */
.cta-section {
    margin-top: 36px;
    /* 与内容区块拉开节奏 */
    padding: 28px;
    border-radius: 16px;
    background: #fff5f8;
    border: 1px solid #f2c2d4;
}

.cta-section p {
    max-width: 720px;
}

.cta-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-disclaimer {
    margin-top: 14px;
    font-size: 12px;
    color: var(--muted);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d6336c, #f06292);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.4;
    min-height: 48px;
    text-align: center;
    white-space: normal;
    box-shadow: 0 10px 25px rgba(214, 51, 108, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(214, 51, 108, 0.35);
    text-decoration: underline;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    padding: 11px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink);
    background: #fff;
    font-weight: 700;
    line-height: 1.4;
    min-height: 48px;
    text-align: center;
    white-space: normal;
}

.btn-ghost:hover {
    color: var(--accent);
    border: 1px solid var(--accent-dark);
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 22px;
    margin-top: 25px;
}

.tag-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 24px;
    margin-top: 20px;
}

.tag-section h3 {
    margin: 0 0 14px;
    font-size: 18px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.tag-section .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.tag-section .tag {
    background: #fdf1f7;
    color: #c22d63;
    padding: 5px 10px;
    border-radius: 99px;
    font-size: 13px;
    border: 1px solid #f7d9e6;
    font-weight: 500;
}

.tag-section .tag:hover {
    background: #fcf7f1;
    text-decoration: underline;
    color: var(--accent);
}

.box .grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.box .card-link {
    border: 1px solid #e6e9f0;
    border-radius: 14px;
    padding: 16px;
    background: #fff;
    min-width: 0;
    transition: box-shadow .2s ease, transform .2s ease;
    color: var(--accent-dark);
    box-shadow: 0 8px 18px rgba(16, 24, 40, .08);
}

.box .card-link:hover,
.box .card-link h2:hover,
.box .card-link h3:hover {
    color: var(--accent);
}

.box .card-link:hover {
    transform: translateY(-2px);
}

.box .card-link p {
    margin: 0;
    color: #5b6574;
    font-size: 14px;
}

.box .card .meta,
.page .meta {
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

.box .directory-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(16, 24, 40, .06);
}

.box .directory-card h2 {
    margin-top: 0;
    font-size: 20px;
    /* color: var(--accent); */
}

.box .directory-card p {
    font-size: 14px;
    color: #374151;
    margin-bottom: 0;
}

/* 要“卡片之间”是 20px（首尾不留空） */
.box>.directory-card+.directory-card {
    margin-top: 20px;
}

.box .story-meta {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}

/* 独立风格 */
.context-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.context-links a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #f1dce4;
    background: #ffffff;
    text-decoration: none;
    color: var(--accent-dark);
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(16, 24, 40, .08);
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;

}

.context-links a:hover,
.context-links a:focus-visible {
    background: #fff8fb;
    transform: translateY(-2px);
    color: var(--accent);
    box-shadow: 0 12px 24px rgba(16, 24, 40, .12);
    border: 1px solid var(--accent);
}

.context-links a:focus-visible {
    outline: 3px solid rgba(214, 51, 108, .24);
    outline-offset: 3px;
}

.context-links span {
    display: block;
}

.context-links .link-title {
    font-weight: 600;
    font-size: 14px;
}

.context-links .link-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.highlight-box {
    background: #fff8fb;
    border: 1px dashed #f1dce4;
    border-radius: 14px;
    padding: 20px 22px;
    margin: 24px 0;
}

.highlight-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

.cta-box {
    background: #fdf2f7;
    border-radius: 18px;
    padding: 26px;
    text-align: center;
    margin: 30px 0 0 0;
}

.cta-box p {
    font-size: 14px;
    color: #5b6574;
    margin-bottom: 14px;
}

.cta-box a {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    background: #c0265a;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.cta-box a:hover {
    background: #f0265a;
    text-decoration: underline;
}

/* CTA 盒的两个修饰类（原 zh-hans/main.css，繁中、港台页使用） */
.cta-box-balanced p {
    max-width: 60rem;
    margin: 0 auto 14px;
    line-height: 1.75;
    text-wrap: balance;
}

/* 手机上 .cta-row 改为竖排，align-items 才管水平方向，所以这里同时写两项。 */
.cta-box-centered .cta-row {
    justify-content: center;
    align-items: center;
}

.disclosure {
    font-size: 13px;
    color: #7a7f8a;
    margin-top: 24px;
    padding: 12px;
    border: 1px solid #e6e9f0;
    border-radius: 12px;
}

/* ================= Mobile ================= */
@media (max-width: 768px) {
    
    
    .cta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    
    
    
    .box .directory-card h2 {
        font-size: 18px;
    }

    .tag-grid,
.box .grid {
        grid-template-columns: 1fr;
    }

    
    .btn-primary,
    .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .cta-actions,
    .cta-row {
        width: 100%;
    }
}

/* ================= 通用组件：清单、可横向滚动的表格、对比表 =================
 * 宽表放在 .table-wrap 里，在手机上于容器内横向滚动而不撑破页面。
 * RTL 用逻辑属性（padding-inline-start、text-align: start）自动镜像。
 * ========================================================================= */
.check-list {
  padding-inline-start: 1.25rem;
}

.check-list li {
  margin: 0.45rem 0;
}

/* .compare-wrap 是 es、pt-br 对比页的表格容器（原页面内联），与 .table-wrap 同为横向滚动容器。 */
.table-wrap,
.compare-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem;
  text-align: start;
  vertical-align: top;
}

.compare-table th {
  background: #fafafa;
}

/* ── 原 assets/css/en/visual-guides.css（2026-09-16 并入）──────────────────── */

.visual-main {
  max-width: 1120px;
}

.vg-eyebrow {
  margin: 0 0 8px;
  color: #1f7668;
  font-size: 13px;
  font-weight: 700;
}

.vg-summary {
  display: grid;
  gap: 10px;
}

.vg-summary p + p {
  margin-top: 8px;
}

.vg-card-grid,
.vg-related-grid,
.vg-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vg-card,
.vg-category,
.vg-related-link {
  background: #fff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  overflow: hidden;
}

.vg-card {
  display: flex;
  flex-direction: column;
}

.vg-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #edf7f5;
}

.vg-card-body,
.vg-category,
.vg-related-link {
  padding: 16px;
}

.vg-card h3,
.vg-category h3,
.vg-related-link h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #1f2633;
}

.vg-card p,
.vg-category p,
.vg-related-link p {
  margin: 0;
  color: #566375;
  font-size: 14px;
}

.vg-card .btn-ghost {
  align-self: flex-start;
  margin-top: 14px;
}

.vg-hero-figure {
  margin: 24px 0 0;
}

.vg-hero-figure img {
  display: block;
  width: 100%;
  max-width: 960px;
  height: auto;
  border-radius: 8px;
  border: 1px solid #dbe4ec;
  background: #f1f5f9;
}

.vg-hero-figure figcaption {
  max-width: 860px;
  margin-top: 10px;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.vg-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 4px solid #1f7668;
  background: #edf7f5;
  color: #334155;
  font-size: 14px;
}

.vg-checklist {
  margin: 12px 0 0;
  padding-inline-start: 20px;
}

.vg-checklist li {
  margin: 8px 0;
}

.vg-table-wrap {
  overflow-x: auto;
  margin-top: 14px;
}

.vg-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #dfe7ef;
}

.vg-table th,
.vg-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e8eef5;
  vertical-align: top;
  text-align: start;
  font-size: 14px;
}

.vg-table th {
  background: #f4f8fb;
  color: #1f2633;
}

.vg-faq h3 {
  margin: 20px 0 6px;
  font-size: 18px;
}

.vg-faq p {
  margin: 0;
}

@media (max-width: 900px) {
  .vg-card-grid,
  .vg-related-grid,
  .vg-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .visual-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .vg-card-grid,
  .vg-related-grid,
  .vg-category-grid {
    grid-template-columns: 1fr;
  }

  .vg-card-body,
  .vg-category,
  .vg-related-link {
    padding: 14px;
  }

  
  
  .vg-hero-figure {
    margin-top: 18px;
  }

  .vg-card img {
    max-height: 260px;
  }
}

.article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a81d59;
  background: #ffe4ef;
  border-radius: 999px;
  padding: 7px 12px;
  margin-bottom: 12px;
}

.article-lead {
  color: #374151;
  font-size: 16px;
  line-height: 1.8;
}

.article-lead {
  font-size: 17px;
  margin: 0;
  max-width: 920px;
}

.article-chips,
.article-cta-row,
.article-link-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.article-chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: #f1f3f6;
  color: #5f6b7a;
  font-size: 12px;
  font-weight: 500;
  cursor: default;
}

.article-link-pills a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid #f3c7d8;
  background: #fff;
  color: #a41d55;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.article-link-pills a::after {
  content: "→";
  margin-inline-start: 6px;
  font-weight: 700;
  line-height: 1;
}

.article-link-pills a:hover,
.article-link-pills a:focus-visible {
  border-color: #d6336c;
  background: #fff0f5;
  color: #d6336c;
  box-shadow: 0 6px 16px rgba(190, 24, 93, 0.12);
}

.article-link-pills a:focus-visible {
  outline: 3px solid rgba(214, 51, 108, 0.24);
  outline-offset: 2px;
}

.article-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.article-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(214, 51, 108, 0.18);
}

.article-btn.primary {
  background: #d6336c;
  color: #fff;
}

.article-btn.primary:hover {
  background: #be255d;
}

.article-btn.secondary {
  background: #fff;
  color: #a41d55;
  border: 1px solid #f3c7d8;
}

.article-route-grid,
.article-related-grid,
.article-cluster-grid,
.article-check-grid,
.article-split-grid {
  display: grid;
  gap: 16px;
}

.article-related-grid,
.article-cluster-grid,
.article-check-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.article-route-grid {
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.article-split-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.article-card,
.article-route-card,
.article-related-card,
.article-check-card,
.article-split-card,
.article-cluster-card {
  background: #fffafc;
  border: 1px solid #f2d9e3;
  border-radius: 16px;
  padding: 18px;
}

.article-card p,
.article-route-card p,
.article-related-card p,
.article-check-card p,
.article-split-card p,
.article-cluster-card p {
  margin: 0;
}

.article-card h3,
.article-route-card h3,
.article-related-card h3,
.article-check-card h3,
.article-split-card h3,
.article-cluster-card h3 {
  margin: 0 0 10px;
}

.article-route-card .route-tag,
.article-cluster-card .route-tag {
  display: inline-flex;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8c1849;
  background: #ffe7f1;
  padding: 5px 10px;
  border-radius: 999px;
}

.article-card a,
.article-route-card a,
.article-related-card a,
.article-cluster-card a {
  color: #c2346e;
  text-decoration: none;
  font-weight: 700;
}

.article-card a:hover,
.article-route-card a:hover,
.article-related-card a:hover,
.article-cluster-card a:hover {
  text-decoration: underline;
}

.article-list {
  margin: 0;
  padding-inline-start: 22px;
}

.article-list li + li {
  margin-top: 8px;
}

.article-table-wrap {
  overflow-x: auto;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.article-table th,
.article-table td {
  padding: 12px;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid #f2d9e3;
}

.article-table th {
  background: #fff2f8;
  color: #8c1849;
  font-size: 14px;
}

.article-faq-item + .article-faq-item {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #f2d9e3;
}

.article-callout {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff3f7, #fff);
  border: 1px solid #f4cfdd;
}

.article-related-card .link-title {
  display: block;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
}

.article-related-card .link-note {
  color: #4b5563;
}

.article-mini {
  color: #6b7280;
  font-size: 14px;
}

@media (max-width: 768px) {
  
  
  
  .article-lead {
    font-size: 16px;
  }

  
  }

/* Narrow phones (360-480px: Galaxy S8+, iPhone SE/12/13/14/15 and friends).
   The 768px block above is still far too roomy at 360px, where .article-hero
   has only ~288px of usable width -- a 58-character h1 (the P90 for en/) wraps
   to four lines at the desktop size. Step the headings down one more notch. */
@media (max-width: 480px) {
  
  
  
  
  .article-eyebrow {
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* 联盟披露属于正文。保留既有一行小字样式，仅作用于 2026-10-14 的披露段落。 */
p.affiliate-disclosure.disclosure[data-love8-affiliate-disclosure="2026-10-14"] {
  margin: 8px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 12px;
  line-height: 1.5;
  color: #6b7280;
}

/* 工具类（续）：原 zh-hans/header-footer.css 中由内联 style 抽出的类。与上一组同名的类数值相同，已在上一组保留。 */
.accent-eyebrow {
  color: #d6336c;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.auto-card-grid-tight {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.block-gap {
  margin-top: 14px;
}

.block-gap-lg {
  margin-top: 16px;
}

.block-gap-md,
.warning.block-gap-md {
  margin-top: 12px;
}

.block-gap-sm,
.note.block-gap-sm {
  margin-top: 10px;
}

.block-gap-xs {
  margin-top: 8px;
}

.btn-compact {
  font-size: 14px;
  padding: 12px 18px;
}

.btn-full {
  width: 100%;
}

.card-eyebrow {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.card-featured,
.card.card-featured,
.mini-card.card-featured {
  border: 2px solid #d6336c;
}

.card-footnote {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}

.card-footnote-md {
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}

.card-title {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.compact-list,
ul.compact-list {
  font-size: 14px;
  margin: 0 0 16px;
  padding-left: 18px;
}

.cta-box-note,
.cta-box p.cta-box-note {
  font-size: 0.9em;
  margin-top: 16px;
}

.cta-link-block,
a.goto-affiliate.cta-link-block:not(.btn):not(.btn-primary):not(.btn-ghost) {
  display: inline-block;
  margin-top: 10px;
}

.data-cell {
  border-bottom: 1px solid #f2f2f2;
  padding: 8px;
}

.data-head-cell {
  border-bottom: 1px solid #eee;
  padding: 8px;
  text-align: left;
}

.data-table {
  border-collapse: collapse;
  min-width: 480px;
  width: 100%;
}

.field-hint,
p.field-hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.fineprint,
p.fineprint {
  font-size: 13px;
}

.flush-bottom {
  margin-bottom: 0;
}

.heading-gap-lg {
  margin-bottom: 14px;
}

.heading-gap-sm {
  margin: 0 0 8px;
}

.highlight-panel {
  background: #fff5f8;
  border-radius: 12px;
  margin-bottom: 18px;
  padding: 14px;
}

.panel-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.section-lead,
.card p.section-lead,
p.section-lead {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.section-subtitle,
p.section-subtitle {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 10px;
}

.tag-pill {
  background: #d6336c;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
}

.tag-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* 工具类（续）：原 es/header-footer.css 末尾 inline-style-classes 块中、上两组没有的类。 */
.auto-card-grid,
.box .grid.auto-card-grid {
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin: 1.5rem 0;
}

.auto-card-grid-sm {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 1rem 0;
}

.card-caution {
  background: #fce4ec;
  border: 1px solid #ffcdd2;
  border-radius: 8px;
  padding: 1.2rem;
}

.card-positive {
  background: #f1f8e9;
  border: 1px solid #c8e6c9;
  border-radius: 8px;
  padding: 1.2rem;
}

.list-airy {
  line-height: 1.8;
}

.list-airy-lg {
  line-height: 1.9;
}

.plain-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.2rem;
}

.tinted-panel {
  background: #fff5f7;
  border-radius: 8px;
  padding: 1.1rem;
}

/* 面包屑：原 32 种写法（xx-crumbs、xx-trail、xx-breadcrumb、core-crumbs、ja-seo-path、
   article-breadcrumbs、breadcrumbs 等）统一为 .breadcrumb。兼容行内链接与 ol/li 两种结构。 */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.breadcrumb a {
    color: #be185d;
    text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
    text-decoration: underline;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.breadcrumb li + li::before {
    content: "›";
    color: #98a2b3;
}

.breadcrumb [aria-hidden="true"],
.breadcrumb .crumb-sep {
    color: #98a2b3;
}

/* 更新时间、上级枢纽、链接说明 */
.page-updated {
    margin: 10px 0 0;
    color: #8a8a8a;
    font-size: 12px;
    line-height: 1.5;
}

.hub-parent {
    margin: 8px 0 0;
    color: #7a7a7a;
    font-size: 13px;
    line-height: 1.5;
}

.hub-parent a {
    color: inherit;
    text-decoration: underline;
}

.link-blurb {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
}

/* 信息表与说明卡片（原各语言内联 <style> 中逐字相同的一组） */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: start;
    vertical-align: top;
}

.info-table th {
    background: #fafafa;
}

.note-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 860px) {
    .note-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.note-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    background: #fff;
}

/* 直接回答 */
.direct-answer-box {
    margin: 16px 0 4px;
    padding: 18px 20px;
    border: 1px solid #f2c2d4;
    border-radius: 12px;
    background: var(--surface-muted);
}

.direct-answer-label {
    margin: 0 0 6px;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: none;
}

.direct-answer-text {
    margin: 0 0 8px;
    color: #1f2937;
    font-size: 16px;
}

.direct-answer-text:last-child {
    margin-bottom: 0;
}

/* 适用 / 不适用 */
.user-fit-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 860px) {
    .user-fit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.user-fit-col {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 18px;
}

.user-fit-col.fit-yes {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.user-fit-col.fit-no {
    background: #fef2f2;
    border-color: #fecaca;
}

.user-fit-col h3 {
    margin: 0 0 8px;
    font-size: 15px;
}

.user-fit-col ul {
    margin: 0;
    padding-inline-start: 20px;
}

/* 实体关系条 */
.entity-relationship-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 14px 18px;
    border: 1px solid #e7e5e4;
    border-radius: 10px;
    background: #fafaf9;
}

.er-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 140px;
}

.er-label {
    color: #78716c;
    font-size: 11px;
    font-weight: 600;
}

.er-value {
    color: #292524;
    font-size: 14px;
}

.er-value a {
    color: var(--accent-dark);
}

/* 常见问题分隔 */
.faq-item + .faq-item {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #f0dbe3;
}

.kb-section-intro {
    color: var(--muted);
}

.kb-lead {
    color: #374151;
    font-size: 1.1rem;
}

.kb-answer {
    margin: 1.4rem 0;
    padding: 1.25rem 1.35rem;
    border: 1px solid #f2c2d4;
    border-inline-start: 5px solid var(--accent-dark);
    border-radius: 12px;
    background: var(--surface-muted);
}

.kb-answer h2 {
    margin-top: 0;
}

.kb-card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
    .kb-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.kb-card {
    display: block;
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

a.kb-card:hover,
a.kb-card:focus-visible {
    border-color: #e7a8bd;
    box-shadow: 0 8px 24px rgba(166, 30, 77, .08);
}

.kb-card h3,
.kb-card > strong {
    display: block;
    margin: 0 0 .35rem;
    color: var(--accent-dark);
}

.kb-card p {
    margin: 0 0 .6rem;
    color: var(--muted);
}

.kb-card > span {
    color: #4b5563;
}

.kb-card > p + span {
    color: var(--accent-dark);
    font-weight: 700;
}

.kb-card ul {
    margin: 0;
    padding-inline-start: 1.2rem;
}

.kb-scope {
    display: inline-block;
    margin-inline-start: .4rem;
    padding: .15rem .45rem;
    border-radius: 999px;
    background: #fce7f3;
    color: #831843;
    font-size: .75rem;
}

.kb-misconception {
    padding: 1rem 1.2rem;
    border: 1px solid #f2e3c4;
    border-radius: 12px;
    background: #fffbeb;
}

.kb-myth {
    color: #9f1239;
}

.kb-fact {
    margin-bottom: 0;
    color: #14532d;
}

.kb-fit-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 720px) {
    .kb-fit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.kb-fit-good,
.kb-fit-bad {
    padding: 1rem 1.15rem;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background: #fff;
    overflow-wrap: anywhere;
}

.kb-fit-good h3 {
    margin-top: 0;
    color: #166534;
}

.kb-fit-bad h3 {
    margin-top: 0;
    color: #9f1239;
}

.kb-limits {
    padding: 1rem 1.2rem;
    border-inline-start: 4px solid #b45309;
    border-radius: 12px;
    background: #fffbeb;
}

.kb-recommendation {
    margin: 1rem 0 0;
    padding: .9rem 1rem;
    border-inline-start: 4px solid #166534;
    border-radius: 0 10px 10px 0;
    background: #f0fdf4;
}

.kb-checklist {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    background: #f8fafc;
}

.kb-steps {
    padding: 1rem 1.2rem;
    border-inline-start: 4px solid var(--accent-dark);
    border-radius: 12px;
    background: var(--surface-muted);
}

.kb-step-list {
    margin: 0;
    padding-inline-start: 1.3rem;
}

.kb-step-list li {
    margin-bottom: .55rem;
}

.kb-step-list li:last-child {
    margin-bottom: 0;
}

.kb-text-list {
    padding-inline-start: 1.25rem;
}

.kb-text-list li {
    margin-bottom: .5rem;
}

.kb-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
}

.kb-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.kb-table caption {
    padding: .8rem .85rem;
    color: var(--muted);
    text-align: start;
    font-size: .9rem;
}

.kb-table th,
.kb-table td {
    padding: .85rem;
    border-bottom: 1px solid var(--line-soft);
    text-align: start;
    vertical-align: top;
}

.kb-table thead th {
    background: var(--surface-muted);
    color: var(--accent-dark);
}

.kb-table tbody tr:last-child > * {
    border-bottom: 0;
}

.kb-entity dl {
    display: grid;
    gap: .65rem;
    margin: 0;
}

.kb-entity dl > div {
    display: grid;
    gap: .25rem;
    padding: .8rem 1rem;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
}

@media (min-width: 760px) {
    .kb-entity dl > div {
        grid-template-columns: 190px 1fr;
        align-items: start;
    }
}

.kb-entity dt {
    margin: 0;
    color: var(--accent-dark);
    font-weight: 800;
}

.kb-entity dd {
    margin: 0;
}

.kb-entity ul {
    margin: 0;
    padding-inline-start: 1.2rem;
}

.kb-entity a,
.kb-entity-link,
.kb-table-link,
.kb-inline-links a {
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.kb-inline-links {
    margin: 0;
    padding-inline-start: 1.2rem;
}

.kb-faq {
    display: grid;
    gap: .75rem;
}

.kb-faq details {
    padding: .9rem 1rem;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: #fff;
}

.kb-faq summary {
    cursor: pointer;
    font-weight: 750;
}

.kb-faq p {
    margin-bottom: 0;
}

.kb-sources li {
    margin-bottom: .7rem;
}

.kb-sources li span {
    display: block;
    color: var(--muted);
    font-size: .9rem;
}

.kb-glossary {
    display: grid;
    gap: .65rem;
    margin: 0;
}

.kb-glossary > div {
    padding: .8rem 1rem;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: #fff;
}

.kb-glossary dt {
    color: var(--accent-dark);
    font-weight: 800;
}

.kb-glossary dd {
    margin: .25rem 0 0;
}

.kb-scope-note {
    color: var(--muted);
    font-size: .92rem;
}

.kb-guide-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kb-guide-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.kb-guide-list li > a {
    color: var(--accent-dark);
    font-size: 1.08rem;
    font-weight: 650;
}

.kb-guide-list p {
    margin: 6px 0;
    color: #4b5563;
}

/* 站内相关链接簇（原仅 zh 样式表有，其他语言同一结构此前没有样式；原文搬入） */
 .orphan-link-cluster[data-generated-orphan-links="true"] {
     box-sizing: border-box;
     margin: 32px 0 0;
     padding: 22px;
     border: 1px solid #f0d5df;
     border-radius: 16px;
     background: #fff;
     box-shadow: 0 12px 30px rgba(157, 23, 77, 0.06);
 }

 .orphan-link-cluster[data-generated-orphan-links="true"]>h2 {
     margin: 0 0 16px;
     color: #172033;
     font-size: clamp(22px, 3vw, 28px);
     line-height: 1.3;
 }

 .orphan-link-cluster[data-generated-orphan-links="true"]>ul {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 10px;
     margin: 0;
     padding: 0;
     list-style: none;
 }

 .orphan-link-cluster[data-generated-orphan-links="true"] li {
     min-width: 0;
     margin: 0;
 }

 .orphan-link-cluster[data-generated-orphan-links="true"] a {
     box-sizing: border-box;
     display: flex;
     align-items: center;
     height: 100%;
     min-height: 52px;
     padding: 12px 14px;
     border: 1px solid #f2dce4;
     border-radius: 10px;
     background: #fffafb;
     color: #9d174d;
     font-size: 15px;
     font-weight: 600;
     line-height: 1.55;
     text-decoration: none;
 }

 .orphan-link-cluster[data-generated-orphan-links="true"] a:hover,
 .orphan-link-cluster[data-generated-orphan-links="true"] a:focus-visible {
     border-color: #e7a8bd;
     background: #fff2f6;
     color: #831843;
     text-decoration: none;
 }

 @media (max-width: 768px) {
     

     

     

     

     

     .orphan-link-cluster[data-generated-orphan-links="true"] {
         margin-top: 24px;
         padding: 17px;
         border-radius: 14px;
     }

     .orphan-link-cluster[data-generated-orphan-links="true"]>ul {
         grid-template-columns: 1fr;
         gap: 8px;
     }

     .orphan-link-cluster[data-generated-orphan-links="true"] a {
         min-height: 48px;
         padding: 11px 12px;
         font-size: 14px;
     }
 }

/* ---------------------------------------------------------------- 3. 页面模板 */
.affiliate-cta-row:has(> .affiliate-disclosure) {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.affiliate-disclosure {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
}

.affiliate-cta-row > .affiliate-disclosure {
    margin: 0;
}

/* 关键词落地页（main.main.keyword-page）：原为约 420 个页面各自内联的同一段样式（bg、ko、ru、tr、vi、ur 等 18 种语言），
   现在集中在这里。:where() 不增加特异性，层叠结果与原内联一致。 */
.keyword-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 20px 42px;
    overflow-wrap: anywhere;
}

:where(.keyword-page) .eyebrow {
    margin: 0 0 10px;
    color: #9d174d;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

:where(.keyword-page) .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

:where(.keyword-page) .card {
    border: 1px solid #f0d7e0;
    border-radius: 10px;
    padding: 16px;
    background: #fffafa;
}

:where(.keyword-page) .text-list {
    margin: 0;
    padding-inline-start: 20px;
}

:where(.keyword-page) .text-list li + li {
    margin-top: 8px;
}

:where(.keyword-page) .context-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

:where(.keyword-page) .context-links a {
    display: block;
    border: 1px solid #f0d7e0;
    border-radius: 10px;
    padding: 14px;
    color: #be185d;
    text-decoration: none;
    background: #fffafa;
}

:where(.keyword-page) .link-title {
    display: block;
    font-weight: 800;
    color: #9d174d;
}

:where(.keyword-page) .link-note {
    display: block;
    margin-top: 6px;
    color: #4b5563;
    line-height: 1.55;
    font-size: 13px;
}

:where(.keyword-page) .faq-item + .faq-item {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #efd0db;
}

/* 复核说明（tr 关键词页，原同一内联块末尾追加的一行） */
:where(.keyword-page) .review-note {
    color: #4b5563;
    line-height: 1.7;
    font-size: 14px;
}

@media (max-width: 720px) {
    .keyword-page {
        padding: 18px 14px 32px;
    }

    }

.hub-kicker {
    display: inline-block;
    margin: 0 0 10px;
    color: #b0265a;
    font-weight: 800;
    letter-spacing: 0;
}

.hub-grid {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.hub-card {
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    background: #fff;
    padding: 17px;
    box-shadow: 0 8px 22px rgba(16, 24, 40, 0.055);
}

.hub-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.hub-card h3 a {
    text-decoration: none;
}

.hub-card p,
.hub-note p {
    margin: 0;
    color: #5b6574;
    line-height: 1.75;
}

.hub-note {
    border-left: 4px solid #f06292;
    background: #fff7fb;
    padding: 16px 18px;
    border-radius: 12px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 6px;
}

.price-table th,
.price-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
    line-height: 1.7;
}

.price-table th {
    background: #fff5f8;
    color: #831843;
}

.soft-cta {
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 18px;
    padding: 20px;
    background: #fff;
}

.soft-cta .cta-row {
    margin-top: 14px;
}

@media (min-width: 760px) {
    .hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .hub-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* SEO 指南模板（seo-*，原 ja/seo-expansion.css；面包屑已改用 .breadcrumb） */
/* Shared presentation for the hand-authored /ja/ SEO expansion pages. */
.seo-page {
  overflow-wrap: anywhere;
}

.seo-eyebrow {
  margin: 0 0 8px;
  color: #a61e4d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.seo-lead {
  position: relative;
  z-index: 1;
  color: #475467;
  font-size: 15px;
  line-height: 1.85;
}

.seo-section > :last-child,
.seo-section .seo-card > :last-child,
.seo-note > :last-child {
  margin-bottom: 0;
}

.seo-section p,
.seo-section li,
.seo-definition dd,
.seo-table {
  line-height: 1.82;
}

.seo-section p + p {
  margin-top: 13px;
}

.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.seo-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e6e9f0;
  border-radius: 14px;
  background: #fff;
}

.seo-card h3 {
  margin: 0 0 8px;
  color: #273142;
  font-size: 17px;
}

.seo-card p {
  margin: 0;
  color: #536071;
}

.seo-checklist,
.seo-steps {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: seo-step;
}

.seo-checklist li,
.seo-steps li {
  position: relative;
  margin: 0;
  padding: 14px 16px 14px 46px;
  border: 1px solid #e6e9f0;
  border-radius: 12px;
  background: #fff;
}

.seo-checklist li + li,
.seo-steps li + li {
  margin-top: 10px;
}

.seo-checklist li::before {
  position: absolute;
  top: 15px;
  left: 17px;
  color: #b4235a;
  content: "✓";
  font-weight: 900;
}

.seo-steps li {
  counter-increment: seo-step;
}

.seo-steps li::before {
  position: absolute;
  top: 13px;
  left: 14px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #fce7f0;
  color: #9d174d;
  content: counter(seo-step);
  font-size: 12px;
  font-weight: 800;
}

.seo-steps strong {
  display: block;
  margin-bottom: 3px;
  color: #273142;
}

.seo-table-wrap {
  margin-top: 16px;
}

.seo-table {
  width: 100%;
  border: 1px solid #e6e9f0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  table-layout: fixed;
  overflow: hidden;
}

.seo-table th,
.seo-table td {
  padding: 12px 13px;
  border-right: 1px solid #e6e9f0;
  border-bottom: 1px solid #e6e9f0;
  text-align: left;
  vertical-align: top;
}

.seo-table th {
  background: #fff2f7;
  color: #831843;
  font-weight: 750;
}

.seo-table th:last-child,
.seo-table td:last-child {
  border-right: 0;
}

.seo-table tr:last-child td {
  border-bottom: 0;
}

.seo-definition {
  display: grid;
  grid-template-columns: minmax(110px, 0.32fr) minmax(0, 1fr);
  gap: 0;
  margin: 16px 0 0;
  overflow: hidden;
  border: 1px solid #e6e9f0;
  border-radius: 12px;
  background: #fff;
}

.seo-definition dt,
.seo-definition dd {
  margin: 0;
  padding: 13px 15px;
  border-bottom: 1px solid #e6e9f0;
}

.seo-definition dt {
  background: #fff8fb;
  color: #831843;
  font-weight: 750;
}

.seo-definition dt:last-of-type,
.seo-definition dd:last-of-type {
  border-bottom: 0;
}

.seo-note {
  margin-top: 14px;
  padding: 17px 19px;
  border-left: 4px solid #f06292;
  border-radius: 10px;
  background: #fff8fb;
}

.seo-faq-item + .seo-faq-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eceef2;
}

.seo-faq-item h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

.seo-related .context-links {
  gap: 12px;
}

.seo-related .context-links a {
  box-shadow: none;
}

@media (max-width: 680px) {
  .seo-card-grid {
    grid-template-columns: 1fr;
  }

  .seo-table {
    display: block;
    border: 0;
    background: transparent;
  }

  .seo-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .seo-table tbody,
  .seo-table tr,
  .seo-table td {
    display: block;
    width: 100%;
  }

  .seo-table tr {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #e6e9f0;
    border-radius: 12px;
    background: #fff;
  }

  .seo-table td {
    display: grid;
    grid-template-columns: minmax(92px, 36%) minmax(0, 1fr);
    gap: 10px;
    padding: 11px 12px;
    border-right: 0;
  }

  .seo-table td::before {
    color: #831843;
    content: attr(data-label);
    font-weight: 750;
  }

  .seo-definition {
    grid-template-columns: 1fr;
  }

  .seo-definition dt,
  .seo-definition dd {
    border-bottom: 0;
  }

  .seo-definition dd {
    padding-top: 4px;
    border-bottom: 1px solid #e6e9f0;
  }

  .seo-definition dd:last-of-type {
    border-bottom: 0;
  }
}

@media (max-width: 430px) {
  .seo-page {
    padding-right: 12px;
    padding-left: 12px;
  }

  .seo-section {
    padding: 17px;
  }

  .seo-checklist li,
  .seo-steps li {
    padding-right: 12px;
  }
}

/* 商业指南（.business-guide-page，原 en/business-guides.css） */
.business-guide-page a:focus-visible,
.business-guide-page [tabindex="0"]:focus-visible { outline: 3px solid #a81d59; outline-offset: 3px; }
.business-guide-page .article-table-wrap { max-width: 100%; }
.business-guide-page .article-table caption { text-align: left; padding: 0 0 12px; font-weight: 700; }
.business-guide-page .article-table { table-layout: fixed; }
.business-guide-page #worked-example th:first-child { width: 28%; }
.business-guide-page #worked-example th:nth-child(2) { width: 90px; }
.business-guide-page #provider-scope th:first-child { width: 110px; }
.business-guide-page #worked-example td:nth-child(2) { white-space: nowrap; min-width: 90px; }
.business-table-hint { display: none; }
@media (max-width: 900px) { .business-table-hint { display: block; } }
.business-definitions dt { font-size: 18px; font-weight: 700; margin-top: 20px; color: #111827; }
.business-definitions dd { margin: 8px 0 0; font-size: 16px; line-height: 1.8; color: #374151; }

/* 站内知识搜索（网站地图搜索框，原 knowledge-tools.css） */
.page a[href^="mailto:"],
.page code,
.page li strong {
  overflow-wrap: anywhere;
}

.knowledge-search-form label {
  display: block;
  margin: 16px 0 8px;
  font-weight: 700;
}

.knowledge-search-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.knowledge-search-controls input {
  flex: 1 1 220px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #8993a3;
  border-radius: 10px;
  background: #fff;
  color: #1f2633;
  font: inherit;
}

.knowledge-search-controls input::placeholder {
  color: #5b6574;
  opacity: 1;
}

.knowledge-search-controls button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #9b2455;
  border-radius: 10px;
  background: #fff;
  color: #8c2452;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.knowledge-search-controls button[type="submit"] {
  background: #9b2455;
  /* 站点地图的搜索提交按钮使用全站默认文字色，清空按钮沿用原配色。 */
  color: #A61E4D;
}

.knowledge-search-status,
.knowledge-search-empty {
  margin-block: 16px;
}

/* 推广位：PlayPeach（英文 AI Cam 指南单页，原 playpeach-placement.css） */
.playpeach-promotion { margin: 0 0 22px; text-align: center; }
.playpeach-promotion-label { margin: 0 0 8px; color: #6b7280; font-size: 12px; }
.playpeach-banner { display: block; width: fit-content; max-width: 100%; margin-inline: auto; }
.playpeach-banner picture { display: block; }
.playpeach-banner img { display: block; width: 728px; max-width: 100%; height: auto; }
.playpeach-banner:focus-visible { outline: 3px solid #9c1f4b; outline-offset: 4px; }
@media (max-width: 759px) { .playpeach-banner img { width: 300px; } }


/* ---- 错误页（404 / 50x）：内容页模板 main.page.error-page > section.hero（2026-11-22 前是两页各自的内联整页样式）。
   内容不足一屏时主体撑满、页脚贴到视口底部（body 纵向 flex，不另加底部留白）。404 按路径显示对应语言的那块，
   默认（未执行脚本时）只显示英文。本节在第 5 节之前，需要压过 .page / .hero 的写成更高特异性。 */
.error-body { display: flex; flex-direction: column; min-height: 100vh; }
.error-body > main { flex: 1 0 auto; width: 100%; }
main.error-page { max-width: 760px; text-align: center; }
.error-page .hero { padding: 40px 28px; }
.error-page .btn-row { justify-content: center; margin-top: 20px; }
.error-page [data-lang]:not([data-lang="en"]) { display: none; }
.error-page .error-code { margin: 0 0 8px; font-size: 64px; font-weight: 900; line-height: 1.1; letter-spacing: 4px; background: linear-gradient(135deg, var(--accent), var(--accent-bright)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---- 根页（/，全球语言目录）：2026-11-22 由页面内联 <style> 迁入，页头与正文外壳改用全站组件，悬停色统一为品牌色。 */
.hero-lead { max-width: 920px; margin: 20px 0 0; color: #344251; font-size: 17px; }
.primary-actions, .secondary-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.primary-actions { margin-top: 28px; }
.secondary-actions { margin-top: 18px; }
.text-pill:hover { border-color: var(--accent); color: var(--accent-dark); }
.text-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 13px; border: 1px solid #f5c5d5; border-radius: 8px; background: #fff1f5; color: #7f1d3f; font-size: 14px; font-weight: 750; }
.section-header { max-width: 820px; margin-bottom: 20px; }
.section-header p { margin: 10px 0 0; color: var(--muted); }
.topic-grid, .signal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.topic-card, .signal-card { border: 1px solid #dfe5ec; border-radius: 8px; background: var(--surface); padding: 18px; min-width: 0; }
.topic-card h3, .signal-card strong { margin: 0; color: var(--ink); font-size: 18px; }
.topic-card p, .signal-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.signal-card { display: block; }
.signal-card:hover, .topic-card:focus-within { border-color: var(--line-soft); box-shadow: var(--shadow); }
.language-directory { display: grid; gap: 12px; }
.language-directory details { border: 1px solid #dfe5ec; border-radius: 8px; background: var(--surface); overflow: hidden; }
.language-directory summary { cursor: pointer; padding: 15px 16px; font-weight: 800; color: var(--ink); background: var(--surface-muted); }
.language-grid { padding: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.language-grid a { min-height: 56px; border: 1px solid #dfe5ec; border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; gap: 2px; text-align: left; background: var(--surface); }
.language-grid a:hover { border-color: var(--accent); background: var(--surface-muted); }
.language-grid span { font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.language-grid small { color: var(--muted); font-size: 12px; }
@media (max-width: 980px) {
  .topic-grid, .signal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .language-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .hero-lead { font-size: 16px; overflow-wrap: anywhere; }
  .primary-actions, .secondary-actions { flex-direction: column; }
  .text-pill { width: 100%; justify-content: center; }
    .topic-grid, .signal-grid, .language-grid { grid-template-columns: 1fr; }
  .language-directory summary { padding: 14px; }
}

/* ---- 页面专属组件（2026-11-22 由页面内联 <style> 迁入）
   原 117 个页面（en/videos 场景页、es/it/ja 的若干独立页等）各自内联整套模板，包括自己的 :root Token、外壳与排版。
   迁入时丢弃了外壳、排版与 content.css 已有的组件（统一用内容页模板），区块修饰类只保留布局；
   这里只剩页面独有的组件（网格、卡片、表格、标签…），颜色改用全站 Token。按首个使用页面所在目录分组。 */
/* en/compare（2 页） */
#private-chat-comparison .comparison-featured-link { display: block; margin-top: 18px; padding: 22px; border-color: #e8a5be; background: var(--surface-muted); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
#private-chat-comparison .comparison-featured-link:hover { border-color: #a51f56; box-shadow: 0 4px 16px rgba(165, 31, 86, .12); }
#private-chat-comparison .comparison-featured-link:focus-visible { outline: 3px solid #a51f56; outline-offset: 4px; }
#private-chat-comparison .comparison-read-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px; border-radius: 8px; background: #a51f56; color: var(--surface); font-weight: 700; }
.cam-comparison :is(h1, h2, h3, p, a, th, td) { overflow-wrap: anywhere; }
.cam-comparison .article-meta { font-size: 14px; color: #5b6574; }
.cam-comparison .box a, .cam-comparison .hero a:not(.btn-primary) { color: #a81d59; text-decoration: underline; text-underline-offset: 3px; }
.cam-comparison .box[id] { scroll-margin-top: 24px; }
.cam-comparison a:focus-visible { outline: 3px solid #a81d59; outline-offset: 4px; }
.cam-comparison .comparison-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cam-comparison .comparison-table caption { text-align: left; font-size: 14px; color: #5b6574; padding: 0 0 16px; }
.cam-comparison .comparison-table th, .cam-comparison .comparison-table td { border: 1px solid #eadce2; padding: 14px; text-align: left; vertical-align: top; }
.cam-comparison .comparison-table thead th { background: #fcecf2; }
.cam-comparison .comparison-table th:first-child { width: 24%; }
.cam-comparison .comparison-table tbody th { background: #faf7f9; }
.cam-comparison .mobile-label { display: none; }
@media (max-width: 640px) {
  .cam-comparison .comparison-table, .cam-comparison .comparison-table tbody { display: block; }
  .cam-comparison .comparison-table caption { display: block; }
  .cam-comparison .comparison-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cam-comparison .comparison-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: 16px; border: 1px solid #eadce2; border-radius: 8px; overflow: hidden; }
  .cam-comparison .comparison-table tbody th, .cam-comparison .comparison-table tbody td { display: block; width: auto; border: 0; padding: 12px; }
  .cam-comparison .comparison-table th:first-child { width: auto; }
  .cam-comparison .comparison-table tbody td { border-top: 1px solid #eadce2; }
  .cam-comparison .mobile-label { display: block; font-weight: 700; color: #8d1e4e; margin-bottom: 5px; }
}

/* en/guides（1 页） */
.guide-page .meta-line { margin-top: 8px; color: #667085; font-size: 14px; }
.guide-page .chip b { font-weight: 700; }
.guide-page .summary-grid { display: grid; gap: 14px; }
.guide-page table.rank { width: 100%; border-collapse: collapse; min-width: 720px; }
.guide-page table.rank th, .guide-page table.rank td { text-align: left; padding: 14px 14px; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 14px; }
.guide-page table.rank th { font-size: 13px; color: #667085; font-weight: 700; background: linear-gradient(180deg, var(--surface) 0%, #fff5f8 100%); }
.guide-page .badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #fff5f8; border: 1px solid rgba(214, 51, 108, 0.18); color: #b0265a; font-size: 12px; font-weight: 650; white-space: nowrap; }
.guide-page .mini-list { margin: 0; padding-left: 18px; color: #1f2633; }
.guide-page .mini-list li { margin: 6px 0; }
.guide-page .inline-links { display: grid; gap: 10px; margin-top: 10px; }
.guide-page .inline-links a { display: flex; justify-content: space-between; gap: 35px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: inherit; color: var(--accent-strong); }
.guide-page .inline-links a:hover { color: var(--accent); box-shadow: 0 6px 18px rgba(16, 24, 40, 0.3); }
.guide-page .inline-links a small { color: #667085; }
@media (max-width: 768px) {
  .summary-grid { grid-template-columns: 1fr; }
}

/* en/live-cams（1 页） */
.page a.next-btn { color: var(--surface); text-decoration: none; }
.structure-nav { background: #fff5f8; border: 1px solid #ffd1e1; border-radius: 12px; padding: 18px; margin-bottom: 18px; }
.structure-nav h3 { color: var(--accent); margin-bottom: 12px; }
.nav-grid { display: grid; gap: 10px; }
.nav-grid a { display: block; padding: 16px 14px; min-height: 48px; font-size: 16px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); border-radius: 10px; background: #fff5f8; border: 1px solid #ffd1e1; }
.nav-grid a:hover { background: #fde0eb; transform: scale(0.98); }
.next-grid { display: grid; gap: 16px; margin-top: 12px; }
.next-btn { display: block; padding: 16px; background: var(--accent); color: var(--surface); border-radius: 12px; text-decoration: none; font-weight: 700; text-align: center; min-height: 48px; }
.next-btn:hover { background: #b0265a; transform: scale(0.98); }
.quick-btn { display: block; margin-top: 14px; padding: 14px; background: #ffe3ec; border: 1px solid #ffd1e1; border-radius: 10px; text-align: center; font-weight: 700; }
.quick-btn:hover { background: #ffd6e6; }
.nav-grid a:active, .next-btn:active, .quick-btn:active { transform: scale(1.03); }
@media (max-width: 768px) {
  .nav-grid a { font-size: 1em; padding: 10px 14px; margin-bottom: 10px; }
}

/* en/partners-resources（1 页） */
.partners-resources { overflow-wrap: anywhere; }
.partners-resources .box p a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 0.15em; }
.partners-resources .link-partner-header { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 16px; margin-bottom: 14px; }
.partners-resources .link-partner-logo { display: block; width: 64px; height: 64px; max-width: 100%; object-fit: contain; border-radius: 12px; }
.partners-resources .link-partner-header h3 { margin-bottom: 4px; }
.partners-skip-link { position: absolute; top: 8px; left: 8px; z-index: 1000; transform: translateY(-200%); padding: 10px 14px; background: var(--surface); color: var(--accent-dark); border: 2px solid var(--accent); border-radius: 8px; }
.partners-skip-link:focus { transform: none; }
.partners-resources-page a:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; }

/* en/videos 场景页的相关链接：多栏网格（区块外观由 .box 提供） */
.orphan-links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 18px; }
.orphan-links li + li { margin-top: 0; }

/* en/videos（82 页） */
.layers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.layer-card { background: var(--surface); border-radius: 18px; padding: 26px; box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06); }
.layer-card h2 { margin-top: 0; font-size: 20px; color: var(--accent-strong); }
.layer-card p { font-size: 14px; color: #5b6574; }
.dimension-list { margin: 16px 0 0; padding-left: 18px; font-size: 14px; color: #5b6574; }
.dimension-list li { margin: 8px 0; }
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.compare-grid a { font-size: 14px; font-weight: 600; color: var(--accent-strong); text-decoration: none; }
.compare-grid a:hover { text-decoration: underline; }
.presence-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.presence { background: var(--surface); border-radius: 16px; padding: 22px; border: 1px solid #e6e9f0; }
.presence h2 { margin-top: 0; font-size: 18px; margin-bottom: 8px; color: var(--accent-strong); }
.presence p { font-size: 14px; color: #5b6574; line-height: 1.65; margin: 0; }
.subtle-recommend-link { display: block; }
.subtle-recommend-link:hover .subtle-recommend { background: #fff3f8; cursor: pointer; }
.subtle-recommend p strong { color: var(--accent-strong); font-weight: 600; }
.subtle-recommend-link:hover p strong { text-decoration: underline; color: #f0265a; }
.subtle-recommend { background: #fff8fb; border: 1px dashed #f1dce4; box-shadow: none; padding: 20px 22px; }
.subtle-recommend p { margin: 0; font-size: 14px; line-height: 1.7; }
.interaction-panel { background: var(--surface); border-radius: 18px; padding: 26px; box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06); margin-bottom: 30px; }
.interaction-panel h3 { margin-top: 0; font-size: 20px; margin-bottom: 14px; }
.interaction-panel p { font-size: 14px; color: #5b6574; line-height: 1.7; margin-bottom: 10px; }
.link-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 12px; }
.link-columns a { font-size: 14px; font-weight: 600; color: var(--accent-strong); text-decoration: none; }
.link-columns a:hover { text-decoration: underline; }
.lede { color: #5b6574; max-width: 900px; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.category-card { background: var(--surface); border-radius: 16px; padding: 24px; box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.category-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16, 24, 40, 0.1); }
.category-card h3 { margin-top: 0; font-size: 20px; color: var(--accent); }
.category-card p { font-size: 14px; margin: 10px 0 14px; color: #374151; }
.category-card span { font-size: 13px; color: #6b7280; }
.hero .lede { color: #5b6574; margin: 0 0 14px; max-width: 880px; }
.list { padding-left: 18px; }
.list li { margin: 6px 0; }
.constraint { margin-bottom: 36px; }
.constraint::before { content: ""; position: absolute; left: -48px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-strong); }
.constraint h2 { font-size: 24px; margin-bottom: 12px; }
.constraint p { max-width: 860px; color: #5b6574; line-height: 1.85; }
.matrix { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #e6e9f0; border-radius: 18px; overflow: hidden; }
.matrix-cell { padding: 28px; border-right: 1px solid #e6e9f0; }
.matrix-cell:last-child { border-right: none; }
.matrix-cell strong { display: block; font-size: 16px; color: var(--accent-strong); margin-bottom: 10px; }
.matrix-cell span { color: #5b6574; line-height: 1.7; display: block; }
.exit-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 28px; }
.exit-links a { display: block; padding: 26px 30px; background: var(--surface); border-radius: 20px; text-decoration: none; border: 1px solid #f1dce4; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.exit-links a:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(16, 24, 40, 0.14); }
.exit-links strong { display: block; font-size: 17px; color: var(--accent-strong); margin-bottom: 10px; }
.exit-links span { font-size: 13px; color: #5b6574; line-height: 1.6; }
.zone-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.zone { background: var(--surface); border-radius: 16px; padding: 22px; border: 1px solid #e6e9f0; }
.zone h2 { margin-top: 0; font-size: 18px; margin-bottom: 8px; color: var(--accent-strong); }
.zone p { font-size: 14px; color: #5b6574; line-height: 1.65; margin: 0; }
.axis-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.axis-card { border-left: 4px solid #f06292; padding: 18px 20px; border-radius: 12px; background: var(--surface); }
.axis-card h3 { margin: 0 0 6px; font-size: 16px; color: var(--accent-strong); }
.axis-card p { margin: 0; font-size: 14px; color: #5b6574; }
@media (max-width: 768px) {
  .layer-card h2 { font-size: 18px; }
  .constraint h2 { font-size: 20px; }
}
@media (max-width: 980px) {
  .matrix { grid-template-columns: 1fr; }
}

/* es/guides（2 页） */
.rank-grid { display: grid; gap: 16px; margin-top: 18px; }
.rank-card { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); padding: 18px; box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06); }
.rank-card .pill { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #fff5f8; border: 1px solid rgba(214, 51, 108, 0.18); color: #b0265a; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.rank-card h3 { margin: 0 0 10px; font-size: 20px; }
.rank-card p { margin: 0; color: #5b6574; font-size: 14px; line-height: 1.7; }
.rank-wrap { overflow: auto; margin-top: 18px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.rank-table { width: 100%; min-width: 860px; border-collapse: collapse; }
.rank-table th, .rank-table td { padding: 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; font-size: 14px; }
.rank-table th { background: #fff5f8; color: #b0265a; }
.rank-table a { color: #b0265a; font-weight: 700; text-decoration: none; }
.rank-table a:hover { text-decoration: underline; }
.framework-grid, .shortcut-grid { display: grid; gap: 16px; margin-top: 18px; }
.framework-card, .shortcut-card { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); padding: 18px; box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06); }
.framework-card h3, .shortcut-card h3 { margin: 0 0 10px; font-size: 19px; }
.framework-card p, .shortcut-card p { margin: 0; color: #5b6574; font-size: 14px; line-height: 1.7; }
.shortcut-card .route-link { margin-top: 14px; display: inline-block; color: #b0265a; font-weight: 700; text-decoration: none; }
.shortcut-card .route-link:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .rank-grid { grid-template-columns: repeat(3, 1fr); }
  .framework-grid, .shortcut-grid { grid-template-columns: repeat(2, 1fr); }
}

/* es/japan-av（7 页） */
.code-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.code-table th, .code-table td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.code-table th { background: #fff7fb; }
.tracks { display:grid; gap:14px; margin-top:16px; }
.track { border:1px solid var(--border); border-radius:14px; padding:18px; background:var(--surface); }
.track h3 { margin:0 0 6px; color:#b0265a; }
.track p { margin:0 0 8px; color:#5b6574; line-height:1.7; }
.track .codes { font-weight:600; color:#3a414c; }
.series-list { list-style:none; padding:0; margin:14px 0 0; display:grid; gap:10px; }
.series-list li { border:1px solid var(--border); border-radius:12px; padding:12px 14px; background:var(--surface); line-height:1.6; }
.series-list b { color:#b0265a; }
.timeline { list-style: none; padding: 0; margin: 16px 0 0; }
.timeline li { position: relative; padding: 0 0 16px 22px; border-left: 2px solid #f3c2d6; }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #f06292; }
.timeline b { color: #b0265a; }
.code-table code { background:#fff0f6; color:#b0265a; padding:1px 6px; border-radius:6px; }
div.compare { display:grid; gap:14px; margin-top:16px; }
.compare .col { border:1px solid var(--border); border-radius:14px; padding:16px; background:var(--surface); }
.compare .col h3 { margin:0 0 8px; color:#b0265a; }
.compare .col p { margin:0; color:#5b6574; line-height:1.7; }
.code-list { margin-top:12px; color:#3a414c; line-height:1.9; }
.code-list b { color:#b0265a; }
.code-pills { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.code-pills span { background:#fff0f6; color:#b0265a; border:1px solid #f3c2d6; border-radius:999px; padding:5px 12px; font-size:14px; font-weight:600; }
@media (min-width: 760px) {
  .tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  div.compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* es/live-cams（1 页） */
.summary-grid { display: grid; gap: 16px; margin-top: 18px; }
.summary-card { border: 1px solid var(--border); border-radius: 18px; padding: 18px; background: var(--surface); box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06); }
.summary-card h3 { margin: 0 0 10px; font-size: 20px; }
.summary-card p { margin: 0; color: #5b6574; font-size: 14px; line-height: 1.7; }
.decision-grid { display: grid; gap: 16px; margin-top: 18px; }
.decision-grid .box strong { display: block; margin-bottom: 8px; font-size: 15px; }
.decision-grid .box p { margin: 0; color: #5b6574; font-size: 14px; }

/* it/guides（2 页） */
.profile-grid { display: grid; gap: 16px; margin-top: 18px; }
.profile-card { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); padding: 18px; box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06); }
.profile-card h3 { margin: 0 0 10px; font-size: 19px; }
.profile-card p { margin: 0; color: #5b6574; font-size: 14px; line-height: 1.7; }
.framework-grid { display: grid; gap: 16px; margin-top: 18px; }
.framework-card { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); padding: 18px; box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06); }
.framework-card h3 { margin: 0 0 10px; font-size: 19px; }
.framework-card p { margin: 0; color: #5b6574; font-size: 14px; line-height: 1.7; }
@media (min-width: 900px) {
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
  .framework-grid { grid-template-columns: repeat(2, 1fr); }
}

/* it/live-cams（4 页） */
.summary-grid, .decision-grid { display: grid; gap: 16px; margin-top: 18px; }
.summary-card, .decision-box { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); padding: 18px; box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06); }
.summary-card h3, .decision-box strong { margin: 0 0 10px; font-size: 19px; display: block; }
.summary-card p, .decision-box p { margin: 0; color: #5b6574; font-size: 14px; line-height: 1.7; }
.platform-guide :is(h1, h2, h3, p, a) { overflow-wrap: anywhere; }
.platform-guide .article-meta { font-size: 14px; color: #5b6574; }
.platform-guide .box a, .platform-guide .hero a:not(.btn-primary) { color: #a81d59; text-decoration: underline; text-underline-offset: 3px; }
.platform-guide .box[id] { scroll-margin-top: 24px; }
.platform-guide .article-callout h3 { margin-top: 0; }
.platform-guide .article-callout p { margin-bottom: 0; }
.platform-guide a:focus-visible { outline: 3px solid #a81d59; outline-offset: 4px; }
@media (min-width: 900px) {
  .summary-grid, .decision-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ja/live-cams（1 页） */
.term-list { list-style: none; padding: 0; margin: 16px 0; }
.term-list li { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.term-list li:last-child { border-bottom: none; }
.term-list strong { display: block; color: #b0265a; margin-bottom: 4px; font-size: 15px; }

/* ja/sites（1 页） */
.offer-grid { display: grid; gap: 16px; margin-top: 18px; }
.offer-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: 0 10px 22px rgba(16, 24, 40, 0.08); }
.offer-card h3 { margin: 0 0 8px; font-size: 20px; }
.offer-card p { margin: 0; color: #5b6574; font-size: 14px; line-height: 1.7; }
@media (min-width: 900px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ja/videos（1 页） */
.video-hero-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.video-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.video-card--hero { padding: 22px; }
.video-card--hero h1 { margin: 0 0 12px; font-size: 22px; }
.video-card--hero p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.hero-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.video-side { display: flex; flex-direction: column; gap: 14px; }
.video-card h2 { margin: 0 0 8px; font-size: 16px; }
.video-card p { margin: 0; color: var(--muted); font-size: 13px; }
.inline-link { display: inline-block; margin-top: 10px; color: var(--text); font-weight: 600; }
.inline-link:hover { text-decoration: underline; }
.section-head h2 { margin: 0; font-size: 18px; }
.section-head p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.video-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.link-card h3 { margin: 0 0 6px; font-size: 15px; }
.link-card p { margin: 0; font-size: 13px; color: var(--muted); }
.cta-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.cta-card strong { font-size: 16px; }
.cta-card p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  .video-hero-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .video-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- 4. 文字系统与书写方向
   这里只放文字系统本身需要的差异：字体回退、行高、断词、双向文字隔离。组件外观（颜色、尺寸、
   标题层级、布局）不按语言区分。基础字体在 global-header.css，这里的规则与其同特异性、后加载。 */

/* 中文：苹方 / 微软雅黑回退与 1.7 行高；繁体优先 Noto Sans TC（相关页面链接了该网络字体）。 */
body:lang(zh) {
    line-height: 1.7;
}

body:lang(zh-Hant) {
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
}

/* 中文页面的主题标签前缀（本地化文案）。 */
:lang(zh) .chips::before {
    content: "本页主题";
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-right: 2px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

:lang(zh-Hant) .chips::before {
    content: "本頁主題";
}

@media (max-width: 768px) {
    :lang(zh) .chips::before {
        flex-basis: 100%;
        min-height: auto;
        margin: 0 0 1px;
    }
}

/* 南亚与东南亚文字：上下附标多，需要更大的行高与标题内边距，并优先使用覆盖该文字的字体。 */
body:lang(ml) {
    font-family: "Noto Sans Malayalam", "Nirmala UI", Kartika, system-ui, sans-serif;
    overflow-wrap: anywhere;
}

body:lang(ml) h1, body:lang(ml) h2, body:lang(ml) h3, body:lang(ml) p, body:lang(ml) li, body:lang(ml) summary, body:lang(ml) dd {
    line-height: 1.8;
}

html:lang(kn) body {
    line-height: 1.9;
}

body:lang(kn) {
    font-family: "Noto Sans Kannada", "Nirmala UI", Tunga, system-ui, sans-serif;
    overflow-wrap: anywhere;
    text-rendering: optimizeLegibility;
}

body:lang(kn) h1, body:lang(kn) h2, body:lang(kn) h3, body:lang(kn) p, body:lang(kn) li, body:lang(kn) summary, body:lang(kn) dt, body:lang(kn) dd, body:lang(kn) a {
    line-height: 1.75;
}

body:lang(kn) h1, body:lang(kn) h2, body:lang(kn) h3 {
    padding-block: .08em;
}

body:lang(pa) {
    font-family: "Noto Sans Gurmukhi", "Raavi", "Nirmala UI", system-ui, sans-serif;
    overflow-wrap: anywhere;
    text-rendering: optimizeLegibility;
}

body:lang(pa) h1, body:lang(pa) h2, body:lang(pa) h3, body:lang(pa) p, body:lang(pa) li, body:lang(pa) summary, body:lang(pa) dt, body:lang(pa) dd, body:lang(pa) td, body:lang(pa) th, body:lang(pa) a {
    line-height: 1.85;
}

body:lang(pa) h1, body:lang(pa) h2, body:lang(pa) h3 {
    padding-block: .12em;
}

body:lang(gu) {
    font-family: "Noto Sans Gujarati", "Shruti", "Nirmala UI", system-ui, sans-serif;
    overflow-wrap: anywhere;
    text-rendering: optimizeLegibility;
}

body:lang(gu) h1, body:lang(gu) h2, body:lang(gu) h3, body:lang(gu) p, body:lang(gu) li, body:lang(gu) summary, body:lang(gu) dt, body:lang(gu) dd, body:lang(gu) a {
    line-height: 1.8;
}

body:lang(gu) h1, body:lang(gu) h2, body:lang(gu) h3 {
    padding-block: .08em;
}

body:lang(as) {
    font-family: "Noto Sans Bengali", "Noto Serif Bengali", "Nirmala UI", "Shonar Bangla", "Vrinda", "Mukti Narrow", system-ui, sans-serif;
    overflow-wrap: anywhere;
    text-rendering: optimizeLegibility;
    font-variant-ligatures: common-ligatures;
}

body:lang(as) h1, body:lang(as) h2, body:lang(as) h3, body:lang(as) p, body:lang(as) li, body:lang(as) summary, body:lang(as) dt, body:lang(as) dd, body:lang(as) td, body:lang(as) th, body:lang(as) a {
    line-height: 1.9;
    letter-spacing: normal;
}

body:lang(as) h1, body:lang(as) h2, body:lang(as) h3 {
    padding-block: .14em;
}

body:lang(am) {
    font-family: "Noto Sans Ethiopic", "Noto Serif Ethiopic", "Abyssinica SIL", "Nyala", "Kefa", system-ui, sans-serif;
    overflow-wrap: anywhere;
    text-rendering: optimizeLegibility;
}

body:lang(am) h1, body:lang(am) h2, body:lang(am) h3, body:lang(am) p, body:lang(am) li, body:lang(am) summary, body:lang(am) dt, body:lang(am) dd, body:lang(am) td, body:lang(am) th, body:lang(am) a {
    line-height: 1.8;
    letter-spacing: normal;
}

body:lang(am) h1, body:lang(am) h2, body:lang(am) h3 {
    padding-block: .08em;
}

/* 豪萨语的带钩字母（ɓ ɗ ƙ）需要覆盖这些字形的字体。 */
body:lang(ha) {
    font-family: "Noto Sans", "DejaVu Sans", "Segoe UI", "Charis SIL", "Gentium Plus", system-ui, sans-serif;
    overflow-wrap: anywhere;
    text-rendering: optimizeLegibility;
}

body:lang(ha) h1, body:lang(ha) h2, body:lang(ha) h3, body:lang(ha) p, body:lang(ha) li, body:lang(ha) summary, body:lang(ha) dt, body:lang(ha) dd, body:lang(ha) td, body:lang(ha) th, body:lang(ha) a {
    line-height: 1.7;
    letter-spacing: normal;
}

body:lang(ha) h1, body:lang(ha) h2, body:lang(ha) h3 {
    padding-block: .06em;
}

body:lang(te) h1, body:lang(te) h2, body:lang(te) h3, body:lang(te) p, body:lang(te) li {
    line-height: 1.95;
}

body:lang(ta) h1, body:lang(ta) h2, body:lang(ta) h3, body:lang(ta) p, body:lang(ta) li,
body:lang(my) h1, body:lang(my) h2, body:lang(my) h3, body:lang(my) p, body:lang(my) li,
body:lang(lo) h1, body:lang(lo) h2, body:lang(lo) h3, body:lang(lo) p, body:lang(lo) li {
    line-height: 1.85;
}

html:lang(or) body {
    line-height: 1.9;
}

html:lang(or) h1, html:lang(or) h2, html:lang(or) h3, html:lang(or) p, html:lang(or) li {
    line-height: 1.95;
}

/* 奥罗莫语长复合词：断行但不连字符。 */
html:lang(om) body {
    line-height: 1.85;
}

html:lang(om) h1, html:lang(om) h2, html:lang(om) p, html:lang(om) li {
    line-height: 1.9;
}

html:lang(om) h1, html:lang(om) h2, html:lang(om) .link-title {
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

/* 蒙古语（西里尔）长词在窄屏换行。 */
html:lang(mn) :is(.hero h1, .hero p, .box h2, .box h3, .box p, .box li, .highlight-box p, .context-links a, .link-title, .link-note, .kb-entity dt, .kb-entity dd) {
    overflow-wrap: anywhere;
    word-break: normal;
}

/* 普什图语：阿拉伯文字需要更大的行高。 */
html:lang(ps) body {
    line-height: 1.95;
}

html:lang(ps) h1, html:lang(ps) h2, html:lang(ps) p, html:lang(ps) li {
    line-height: 2;
}

/* 希伯来语、乌尔都语字体回退。 */
html:lang(he) body {
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

html:lang(ur) body {
    font-family: system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
}

/* 从右到左（ar、fa、he、ur、ps）：方向由 <html dir="rtl"> 决定，组件用逻辑属性自动镜像。
   页头保持自然 RTL 顺序（Logo 在右、语言切换在左），不再用 row-reverse 翻回左侧。
   拉丁文品牌名、代码、数字等用双向隔离，避免在 RTL 段落中被镜像。 */
[dir="rtl"] .latin,
[dir="rtl"] code,
[dir="rtl"] [lang="en"] {
    unicode-bidi: isolate;
    direction: ltr;
}

[dir="rtl"] bdi,
[dir="rtl"] time {
    unicode-bidi: isolate;
}

[dir="rtl"] .header .brand-text {
    text-align: right;
}

/* ---------------------------------------------------------------- 5. 内容页模板（main.page > .hero / .box）
   原简中经典模板（2026-11-21 前的 zh-hans/content.css、content-classic.css），2026-11-22 起为全部语言内容页的唯一模板。
   元素级规则（h1、p、li、ul、img、table…）限定在 main.page 内（:where 不增加特异性），不影响页头、语言菜单与 Footer。 */
/* 容器 */
.page { padding: 24px 20px 24px; max-width: 1180px; margin: 0 auto; }

/* The page padding owns the gap before the footer; do not add a final card margin. */
main.page > :last-child { margin-bottom: 0; }
/* 正文里过长、没有断点的词（<code> 里的网址等）在 320px 放不下会撑破页面；break-word 只在放不下时断开，
   不改变表格最小宽度（2026-10-10）。341 页的 <main> 全是 class="page"，按 §5 写成带类的选择器。 */
main.page { overflow-wrap: break-word; }
/* 文字基底 */
:where(main.page) h1 { font-size: clamp(24px, 5vw, 38px); line-height: 1.2; margin: 0 0 12px; color: #111827; }
:where(main.page) h2 { margin: 0 0 14px; font-size: 24px; }
:where(main.page) h3 { margin: 0 0 8px; font-size: 18px; color: #111827; }
:where(main.page) img { display: block; width: min(100%, 760px); max-width: 100%; height: auto; border-radius: 1rem; margin: 16px auto; }
:where(main.page) li { font-size: 15px; line-height: 1.8; color: #374151; }
:where(main.page) ol { padding-left: 22px; margin: 0; }
:where(main.page) p { font-size: 15px; line-height: 1.8; color: #374151; }
:where(main.page) ul { padding-left: 22px; margin: 0; }
:where(main.page) li + li { margin-top: 8px; }
:where(main.page) section h2 i { margin-right: 10px; }
/* 表格 */
:where(main.page) table { width: 100%; border-collapse: collapse; }
/* min-width 只在有横向滚动容器时才有意义。写成裸 `table` 会让不在 .table-wrap 里的表
   在 375px 视口把整页撑出横向滚动 —— in-scope 有 3 张这样的裸表（instagram / 7zip）。
   `.table-wrap table` 与下面的分档类同为 (0,1,1)，分档写在后面所以仍然压过它。 */
.table-wrap table { min-width: 500px; }
:where(main.page) td { font-size: 14px; line-height: 1.8; color: #374151; padding: 10px 12px; border-bottom: 1px solid #f0dbe3; text-align: left; vertical-align: top; }
:where(main.page) th { font-size: 14px; line-height: 1.8; color: #831843; padding: 10px 12px; border-bottom: 1px solid #f0dbe3; text-align: left; vertical-align: top; background: #fff5f8; }
.mini-table { width: 100%; border-collapse: collapse; margin: 12px 0 4px; overflow: hidden; border-radius: 10px; }
.mini-table td { border: 1px solid #f0f0f0; padding: 10px 12px; text-align: left; vertical-align: top; background: #fff; }
.mini-table th { border: 1px solid #f0f0f0; padding: 10px 12px; text-align: left; vertical-align: top; background: #fff5f8; color: #5b2b3a; font-weight: 700; width: 26%; }
table.table-mid { min-width: 600px; }
table.table-wide { min-width: 700px; }
/* Hero */
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #be185d; background: #ffe4ee; border-radius: 999px; padding: 6px 12px; margin-bottom: 12px; }
.hero { background: linear-gradient(135deg, #fff4f8, #fff); border: 1px solid #f2dbe3; border-radius: 18px; padding: 24px; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04); margin-bottom: 22px; }
.hero-cards { display: grid; gap: 10px; align-content: start; }
.hero-points { padding-left: 18px; color: #666; }
.hero-sub { color: #555; }
.kicker { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); border: 1px solid var(--line-soft); padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); }
.lead { font-size: 17px; margin: 0; max-width: 900px; }
.page-eyebrow { display: inline-block; margin: 0 0 12px; border: 1px solid #f0c6d5; border-radius: 999px; background: #ffe4ee; color: #be185d; padding: 6px 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.page-lead { max-width: 920px; margin: 0; font-size: 17px; }
.subtitle { margin: 0; color: var(--muted); font-size: 14px; }
.tagline { margin-top: 10px; padding: 12px 14px; border: 1px dashed var(--line-soft); border-radius: 10px; background: #fff7fb; color: #555; font-size: 0.95rem; }
.video-header-intro { color: #666; }
.hero-points li { margin: 6px 0; }
/* 内容区块 */
.box { padding: 24px; border-radius: 18px; background: #fff; border: 1px solid #f2dbe3; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04); margin-bottom: 22px; }
/* 推荐导航后仍有正文时，沿用 box 的 22px 分隔。 */
.box.orphan-link-cluster + .box { margin-top: 22px; }
.box a { color: #be185d; text-decoration: none; font-weight: 600; }
.box .context-links > a { position: relative; padding-right: 42px; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.box a.watch-btn { color: #fff; border-bottom: none; }
.box .context-links > a::after { content: "→"; position: absolute; top: 14px; right: 15px; color: #be185d; font-size: 16px; font-weight: 700; line-height: 1; transition: transform .18s ease; }
.box .context-links > a:active { box-shadow: 0 4px 10px rgba(190, 24, 93, .1); transform: translateY(0); }
.box .context-links > a:focus-visible { border-color: #d6336c; background: #fff0f5; box-shadow: 0 10px 22px rgba(190, 24, 93, .12); color: #831843; transform: translateY(-2px); outline: 3px solid rgba(214, 51, 108, .24); outline-offset: 3px; }
.box .context-links > a:hover { border-color: #d6336c; background: #fff0f5; box-shadow: 0 10px 22px rgba(190, 24, 93, .12); color: #831843; transform: translateY(-2px); }
.box .context-links > a:focus-visible::after, .box .context-links > a:hover::after { transform: translateX(3px); }
.box a:hover, .box a:focus-visible { color: #831843; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
/* 卡片 */
.card { background: #fffafc; border: 1px solid #f0dbe3; border-radius: 14px; padding: 18px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.faq-card-header { max-width: 780px; margin-bottom: 24px; }
.faq-card-item { padding: 22px 24px; border: 1px solid rgba(15, 23, 42, .08); border-radius: 18px; background: linear-gradient(180deg, #fff 0%, #f9fafb 100%); }
.faq-card-list { display: grid; gap: 14px; }
.guide-card { background: #fff; padding: 20px; border-radius: 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
.info-card { border: 1px solid #f0dbe3; border-radius: 12px; background: #fff; padding: 18px; }
.mini-card { border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px; background: #fff; }
.need-block { padding: 20px; border: 1px solid #f0dbe3; border-radius: 14px; background: #fffafc; margin-bottom: 16px; }
.risk-block { padding: 18px; border-left: 4px solid #d6336c; background: #fffafc; border-radius: 0 14px 14px 0; margin-bottom: 14px; }
.route-card { display: flex; flex-direction: column; min-height: 220px; padding: 20px; border: 1px solid rgba(214, 51, 108, .12); border-radius: 18px; background: linear-gradient(180deg, #fff 0%, #fff8fb 100%); box-shadow: 0 10px 24px rgba(15, 23, 42, .04); transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
.route-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.route-card-label { display: inline-flex; align-self: flex-start; margin-bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(214, 51, 108, .08); color: #c2255c; font-size: 12px; font-weight: 800; }
.route-card-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.route-item { padding: 16px; border: 1px solid #f0dbe3; border-radius: 14px; background: #fffafc; }
.scene-arrow { font-size: 16px; color: #d6336c; opacity: 0.7; }

.scene-desc { font-size: 13px; color: #888; flex: 1; }
.scene-link { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid #fce4ec; border-radius: 10px; background: #fff; }
.scene-title { font-weight: 600; color: #d6336c; white-space: nowrap; }
.step { padding: 16px; border: 1px solid #f0dbe3; border-radius: 14px; background: #fffafc; }
.step-head { display: flex; align-items: center; margin-bottom: 8px; }
.step-list { display: grid; gap: 12px; }
.step-num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: #ffe4ee; color: #be185d; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; text-align: center; line-height: 28px; margin-right: 8px; }
.card a { color: #be185d; text-decoration: none; font-weight: 700; }
.card h2 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin-bottom: 0; }
.faq-card-header h2 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 42px); line-height: 1.18; }
.faq-card-header p { margin: 0; color: #4b5563; font-size: 17px; line-height: 1.8; }
.faq-card-item h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.35; }
.faq-card-item p { margin: 0; color: #4b5563; font-size: 16px; }
.guide-card h3 { color: var(--accent); }
.info-card a { color: #be185d; text-decoration: none; font-weight: 800; transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, text-decoration-color 0.18s ease; }
.mini-card p { margin: 0; font-size: 13px; color: var(--muted); }
.mini-card strong { color: #222; display: block; font-size: 13px; margin-bottom: 6px; }
.route-card > a { margin-top: auto; }
.route-card a { color: #be185d; text-decoration: none; font-weight: 800; transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, text-decoration-color 0.18s ease; }
.route-card h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.35; }
.route-card p { margin: 0 0 16px; color: #4b5563; line-height: 1.75; }
.route-card-links a { display: inline-flex; align-items: center; padding: 7px 10px; border: 1px solid #f0c6d5; border-radius: 999px; background: #fff; font-size: 14px; }
.route-item strong { color: #111827; }

.side h2 { font-size: 16px; margin-bottom: 10px; }
.card .pad { padding: 20px; }
.faq-card-header .section-kicker { display: inline-flex; align-items: center; margin-bottom: 10px; padding: 5px 12px; border-radius: 999px; background: rgba(214, 51, 108, .08); color: #c2255c; font-size: 13px; font-weight: 700; }
.route-card:focus-within, .route-card:hover { border-color: #f472b6; box-shadow: 0 14px 30px rgba(190, 24, 93, .10); transform: translateY(-1px); }
.scene-link:hover { background: #fdf2f8; border-color: #d6336c; box-shadow: 0 6px 14px rgba(214, 51, 108, 0.15); transform: translateY(-1px); }
.side .pad { padding: 16px; }
.info-card a:focus-visible { color: #831843; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; outline: 3px solid rgba(244, 114, 182, 0.35); outline-offset: 3px; }
.info-card a:hover { color: #831843; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.route-card a:focus-visible { outline: 3px solid rgba(244, 114, 182, 0.35); outline-offset: 3px; }
.route-card-links a:focus-visible, .route-card-links a:hover { background: #ffe4ee; border-color: #f472b6; box-shadow: 0 8px 18px rgba(190, 24, 93, 0.12); transform: translateY(-1px); }
.side a.item { display: block; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 14px; background: #fff; margin-bottom: 10px; }
.side a.item span { display: block; font-size: 12px; color: var(--muted); }
.side a.item strong { display: block; font-size: 13px; margin-bottom: 4px; }
/* 链接卡 */
.context-links { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.link-box { margin: 1.8rem 0; padding: 1rem 1.2rem; background: #fdf2f8; border: 1px dashed var(--accent-bright); border-radius: 14px; }
.link-note { line-height: 1.55; }
.link-title { color: #9d174d; }
.related-card { transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, text-decoration-color 0.18s ease; }
.related-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.safety-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.safety-check-header { max-width: 780px; margin-bottom: 24px; }
.safety-check-item { display: flex; gap: 14px; padding: 18px; border: 1px solid rgba(214, 51, 108, .10); border-radius: 18px; background: #fff; }
.safety-check-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.context-links a { display: block; padding: 14px; border-radius: 10px; border: 1px solid #f1dce4; background: #ffffff; text-decoration: none; color: var(--accent-dark); font-weight: 600; box-shadow: 0 8px 18px rgba(16, 24, 40, .08); }
.context-links span { display: block; }
.link-box a { color: var(--accent); font-weight: 600; }
.safety-check-header h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 38px); line-height: 1.18; }
.safety-check-header p { margin: 0; color: #4b5563; font-size: 17px; line-height: 1.8; }
.safety-check-item p { margin: 0; color: #4b5563; line-height: 1.7; }
.safety-check-item strong { display: block; margin-bottom: 6px; color: #111827; font-size: 16px; }
.safety-check-links a { display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 999px; background: rgba(214, 51, 108, .08); color: #c2255c; text-decoration: none; font-size: 14px; font-weight: 700; transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, text-decoration-color 0.18s ease; }
.tool-links a { display: inline-block; margin: 6px 10px 0 0; font-weight: 600; color: #c0265a; }
.context-links .link-note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.context-links .link-title { font-weight: 600; font-size: 14px; }
.related-card:focus-visible { background: #ffe4ee; border-color: #f472b6; color: #831843; box-shadow: 0 8px 18px rgba(190, 24, 93, 0.12); transform: translateY(-1px); outline: 3px solid rgba(244, 114, 182, 0.35); outline-offset: 3px; }
.related-card:hover { box-shadow: 0 8px 18px rgba(190, 24, 93, 0.12); transform: translateY(-1px); }
.safety-check-header .section-kicker { display: inline-flex; align-items: center; margin-bottom: 10px; padding: 5px 12px; border-radius: 999px; background: rgba(214, 51, 108, .08); color: #c2255c; font-size: 13px; font-weight: 700; }
.safety-check-item .check-icon { display: inline-flex; flex: 0 0 26px; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; background: rgba(214, 51, 108, .10); color: #c2255c; font-weight: 800; }
.context-links a:focus-visible, .context-links a:hover { border: 1px solid var(--accent); }
.link-box a:hover { text-decoration: underline; }
.safety-check-links a:focus-visible { background: #ffe4ee; border-color: #f472b6; color: #831843; box-shadow: 0 8px 18px rgba(190, 24, 93, 0.12); transform: translateY(-1px); outline: 3px solid rgba(244, 114, 182, 0.35); outline-offset: 3px; }
.safety-check-links a:hover { background: #ffe4ee; border-color: #f472b6; color: #831843; box-shadow: 0 8px 18px rgba(190, 24, 93, 0.12); transform: translateY(-1px); }
.tool-links a:hover { text-decoration: underline; }
/* 按钮 / CTA */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 700; background: #fff; border: 1px solid #f0c6d5; cursor: pointer; gap: 8px; font-size: 14px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.cta-btn { display: inline-block; margin-top: 16px; padding: 12px 30px; background: linear-gradient(135deg, var(--accent), var(--accent-bright)); color: #fff; border-radius: 26px; text-decoration: none; font-weight: 600; }
.cta-note { font-size: 12px; color: #888; margin-top: 6px; }
.cta-row { margin-top: 16px; }   /* gap 由本表第 2 节的 .cta-row 提供（12px），这里只补上边距。 */
.cta-wrap { text-align: center; margin: 30px 0; }
.watch-btn { display: inline-block; background: #d6336c; color: #fff; padding: 12px 30px; border-radius: 25px; text-decoration: none; font-weight: 550; margin: 15px 0; transition: 0.3s; font-size: 16px; line-height: 1.5; text-align: center; max-width: 100%; overflow-wrap: anywhere; }
.watch-btn-large { font-size: 18px; padding: 15px 40px; }
.btn:focus-visible { outline: 3px solid rgba(244, 114, 182, 0.35); outline-offset: 3px; }
.btn.primary { background: #d6336c; color: #fff; }
.btn.secondary { background: #fff; color: #be185d; border: 1px solid #f0c6d5; }
.watch-btn:hover { background: #b0265a; transform: scale(1.05); }
.btn.ghost:hover { background: #fff5f8; }
/* 标签 / 提示 */
.answer { border-left: 4px solid #d6336c; background: #fff5f8; border-radius: 14px; padding: 18px; margin-top: 16px; }
.chip-links, .chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; margin-top: 16px; }
.disclaimer { border: 1px dashed var(--line-soft); background: #fff; padding: 12px 14px; border-radius: 12px; color: var(--muted); font-size: 13px; margin: 14px 0; }
.intro { text-align: center; margin-bottom: 30px; line-height: 1.8; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.note { padding: 16px; border-radius: 14px; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; margin-top: 16px; }
.note-box { background: #fff5f8; border: 1px solid #ffd6e7; padding: 14px 16px; border-radius: 10px; color: #5b2b3a; margin: 14px 0; }
.notice { margin-top: 28px; padding: 18px; border-radius: 12px; background: #fff5f8; border: 1px solid #f2c2d4; color: #9c1f4b; font-size: 14px; }
.official-url { font-size: 18px; }
.platform-summary { color: #666; margin: 10px 0; }
.route { display: grid; gap: 12px; }
.section-heading { max-width: 860px; margin-bottom: 20px; }
.tag { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line-soft); color: var(--muted); background: #fff; margin-right: 6px; margin-top: 6px; }
.tags { margin: 20px 0; padding: 10px 0; border-top: 1px dashed #eee; border-bottom: 1px dashed #eee; }
.toc { background: #fafafa; border: 1px solid #eee; border-radius: 10px; padding: 14px 16px; margin: 10px 0 18px; }
.topic-links { font-size: 14px; color: #888; }
.type-tag { display: inline-block; font-size: 11px; font-weight: 800; color: #be185d; background: #ffe4ee; border-radius: 6px; padding: 3px 8px; margin-bottom: 8px; text-transform: uppercase; }
.verdict { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 14px; padding: 18px; margin-top: 16px; }

.warn { margin-top: 16px; padding: 16px; border-radius: 14px; background: #fef2f2; border: 1px solid #fca5a5; color: #7f1d1d; }
.warning { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 14px; padding: 16px; margin-top: 16px; }
.chip-list span { display: inline-flex; border: 1px solid #f0c6d5; border-radius: 999px; background: #fff; color: #9d174d; padding: 8px 12px; text-decoration: none; font-size: 14px; font-weight: 700; }
.faq details { border: 1px solid #fce4ec; border-radius: 10px; padding: 10px 12px; margin: 10px 0; background: #fff7fb; }
.faq summary { cursor: pointer; font-weight: 700; color: #d6336c; }
.section-heading h2 { margin: 0 0 10px; }
.section-heading p { margin: 0; color: #4b5563; font-size: 16px; line-height: 1.8; }
.tags span { display: inline-block; background: #fdf2f8; color: #d6336c; padding: 5px 12px; border-radius: 15px; font-size: 14px; margin: 5px 8px 5px 0; }
.toc a { color: #b0265a; text-decoration: none; text-underline-offset: 2px; }
.toc li { margin: 6px 0; }
.toc ul { margin: 8px 0 0; padding-left: 18px; }
.verdict h3 { color: #166534; }
.warning p { margin: 0; color: #7c2d12; }
.section-heading .section-kicker { display: inline-flex; align-items: center; margin-bottom: 10px; padding: 5px 12px; border-radius: 999px; background: rgba(214, 51, 108, .08); color: #c2255c; font-size: 13px; font-weight: 800; }
/* 其它 */
.need-tag { display: inline-block; font-size: 11px; font-weight: 800; color: #be185d; background: #ffe4ee; border-radius: 6px; padding: 3px 10px; margin-bottom: 10px; text-transform: uppercase; }
.risk-num { display: inline-block; font-size: 12px; font-weight: 800; color: #be185d; background: #ffe4ee; border-radius: 6px; padding: 2px 8px; margin-bottom: 8px; }
a.link { color: #be185d; text-decoration: none; font-weight: 600; }
ul.link-list { list-style: none; padding-left: 0; margin: 0; }
ul.link-list a { color: #333; font-weight: 500; }
ul.link-list li { margin: 10px 0; }
a.link:hover { color: var(--accent, #d6336c); text-decoration: underline; }
ul.link-list a:hover { color: var(--accent); text-decoration: underline; }

@media (max-width: 900px) {
  /* 卡片 */
  .route-card { min-height: auto; }
  .route-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* 容器 */
  .page { padding: 18px 14px 20px; }
  /* 文字基底 */
  img { width: 100%; border-radius: 0.8rem; }
  /* 表格 */
  .mini-table th { width: auto; }
  /* Hero */
  .hero { padding: 20px 18px; }
      /* 内容区块 */
  .box { padding: 20px 18px; }
  /* 卡片 */
  .faq-card-item, .route-card { padding: 18px; }
  .faq-card-header h2 { font-size: 28px; }
  .faq-card-header p { font-size: 16px; }
  .faq-card-item h3 { font-size: 19px; }
  .faq-card-item p { font-size: 15px; }
  .route-card:hover, .route-card-links a:hover { transform: none; }
  /* 链接卡 */
  .safety-check-grid { grid-template-columns: 1fr; }
  .safety-check-header h2 { font-size: 26px; }
  .safety-check-header p { font-size: 16px; }
  .related-card:hover, .safety-check-links a:hover { transform: none; }
  /* 按钮 / CTA */
  .watch-btn { padding: 8px 20px; border-radius: 15px; margin: 12px 0; transition: 0.3s; font-size: 14px; }
  /* 标签 / 提示 */
  .content-tip { color: #888; font-size: 14px; margin-top: 20px; }
  .notice { margin-top: 24px; padding: 14px 16px; background: #fff5f8; border-left: 4px solid var(--accent); font-size: 14px; color: #555; }
  .section-heading { margin-bottom: 16px; }
  .tags span { padding: 4px 10px; border-radius: 10px; font-size: 12px; margin: 4px 6px 4px 0; }
}

@media (min-width: 900px) {
  /* 卡片 */
  .faq-card-item { min-height: 150px; }
  .faq-card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  /* 内容区块 */
  .box .context-links > a, .box .context-links > a::after { transition: none; }
}

@media (max-width: 768px) {
    .btn,
    .watch-btn,
    .cta-row a {
        width: 100%;
        justify-content: center;
    }

    .card {
        min-width: 0;
    }
}

/* 相关链接（经典模板页底部） */
 .related-links {
     margin-top: 24px;
     margin-bottom: 22px;
 }

 .related-links h2 {
     margin: 0 0 12px;
     font-size: 16px;
     color: #222;
 }

 /* 文章页内联样式为正文列表定义了 li + li { margin-top: 8px }，
    在 grid 里那会把同一行右侧的网格项整体下推，造成药丸不对齐。
    行列间距由 ul 的 gap 负责，li 自身不带 margin。 */
 .related-links li {
     margin: 0;
 }

 .related-links ul {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 10px;
     margin: 0;
     padding: 0;
     list-style: none;
 }

 .related-links a {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 8px;
     min-height: 46px;
     padding: 10px 14px;
     color: #a61e4d;
     font-size: 13px;
     font-weight: 650;
     text-decoration: none;
     border: 1px solid #f2dbe3;
     border-radius: 10px;
     background: #fff;
 }

 .related-links a::after {
     content: "→";
     flex: 0 0 auto;
 }

 .related-links a:hover {
     color: #ff1744;
     border-color: #e7a8bd;
     background: #fff1f6;
 }

 /* 同一行内标题长短不一时（长标题换行成两行），让药丸拉伸等高，底边对齐。
    li 作为 grid item 默认 stretch，a 撑满它即可；全局 box-sizing: border-box。 */
 .related-links li > a {
     height: 100%;
 }

 /* 只有一条相关链接时，auto-fit 会把唯一的轨道拉满整行，
    space-between 再把箭头推到最右，中间留出大片空白。 */
 .related-links li:only-child a {
     max-width: 320px;
 }

/* 主题标签与操作链接：静态标签保持低调，可点击的链接明确为按钮。标签前缀文案（本页主题）在本表第 4 节按语言给出。 */
 .chips {
     align-items: center;
     gap: 8px;
 }

 .chips>span {
     box-sizing: border-box;
     display: inline-flex;
     align-items: center;
     min-height: 28px;
     padding: 5px 9px;
     border: 0;
     border-radius: 6px;
     background: #f1f3f6;
     box-shadow: none;
     color: #5f6b7a;
     font-size: 12px;
     font-weight: 500;
     line-height: 1.4;
     text-decoration: none;
     cursor: default;
     transform: none;
 }

 .chip-links>a {
     box-sizing: border-box;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 7px;
     min-height: 40px;
     padding: 9px 13px;
     border: 1px solid #d6336c;
     border-radius: 8px;
     background: #fff;
     box-shadow: 0 2px 6px rgba(190, 24, 93, 0.08);
     color: #be185d;
     font-size: 14px;
     font-weight: 700;
     line-height: 1.4;
     text-decoration: none;
     cursor: pointer;
     transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
 }

 .chip-links>a::after {
     content: "→";
     flex: 0 0 auto;
     font-size: 1em;
     font-weight: 700;
     line-height: 1;
 }

 .chip-links>a:hover,
 .chip-links>a:focus-visible {
     border-color: #be185d;
     background: #fff0f5;
     box-shadow: 0 4px 12px rgba(190, 24, 93, 0.14);
     color: #831843;
     text-decoration: none;
 }

 .chip-links>a:focus-visible {
     outline: 3px solid rgba(214, 51, 108, 0.24);
     outline-offset: 2px;
 }

 /* Card CTAs stay visually lighter than buttons, but retain conventional
   link cues through an underline and directional arrow. */
 .card p>a {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     color: #be185d;
     font-weight: 700;
     line-height: 1.5;
     /* text-decoration: underline; */
     text-decoration-thickness: 1.5px;
     text-underline-offset: 4px;
     cursor: pointer;
 }

 .card p>a::after {
     content: "→";
     flex: 0 0 auto;
     text-decoration: none;
 }

 .card p>a:hover,
 .card p>a:focus-visible {
     color: #F31843;
     text-decoration-thickness: 2px;
 }

 .card p>a:focus-visible {
     border-radius: 3px;
     outline: 3px solid rgba(214, 51, 108, 0.24);
     outline-offset: 3px;
 }

 @media (max-width: 768px) {
     .chips {
         gap: 7px;
     }

     .chip-links>a {
         min-height: 42px;
         padding: 9px 12px;
     }
 }

 @media (prefers-reduced-motion: reduce) {
     .chip-links>a {
         transition: none;
     }
 }

/* 手机端标题层级：h1 保持 clamp 的下限 24px，h2 / h3 收到 20px / 17px，正文标题不再与页标题一样大
   （2026-11-22；原经典模板手机端 h1、h2 同为 24px，原标准模板的同类回退规则排在本节之前、实际不生效，已删除）。 */
@media (max-width: 768px) {
    :where(main.page) h2 {
        font-size: 20px;
    }
    :where(main.page) h3 {
        font-size: 17px;
    }
}
