    :root {
      --brand: #0b6e4f;
      --brand-dark: #075a3f;
      --brand-light: #e6f4ef;
      --accent: #ff7a00;
      --text: #1f2937;
      --text-muted: #6b7280;
      --bg: #f5f7f6;
      --card: #ffffff;
      --border: #e5e7eb;
      --radius: 12px;
      --shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
      --max-width: 1200px;
      --nav-height: 56px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

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

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      padding-bottom: 72px;
    }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    button { font: inherit; cursor: pointer; border: none; background: none; }

    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 16px;
    }

    /* ========== Header ========== */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--brand);
      color: #fff;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }

    .header-inner {
      display: flex;
      align-items: center;
      gap: 12px;
      min-height: var(--nav-height);
      padding: 8px 8px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
      font-weight: 700;
      font-size: 18px;
      letter-spacing: 0.5px;
    }

    .logo-mark {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: #fff;
      color: var(--brand);
      display: grid;
      place-items: center;
      font-size: 16px;
      font-weight: 800;
    }

    .header-search {
      flex: 1;
      display: flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.96);
      border-radius: 999px;
      padding: 4px 6px 4px 14px;
      min-width: 0;
    }

    .header-search input {
      flex: 1;
      min-width: 0;
      border: none;
      outline: none;
      background: transparent;
      font-size: 14px;
      color: var(--text);
      padding: 8px 0;
    }

    .header-search input::placeholder { color: #9ca3af; }

    .header-search button {
      background: var(--accent);
      color: #fff;
      border-radius: 999px;
      padding: 8px 16px;
      font-size: 14px;
      font-weight: 600;
      white-space: nowrap;
    }

    .location-btn {
      display: none;
      align-items: center;
      gap: 4px;
      color: #fff;
      font-size: 14px;
      white-space: nowrap;
      opacity: 0.95;
    }

    .desktop-nav { display: none; }

    /* 阅读进度条：贴 header 底部 */
    .read-progress {
      position: fixed;
      left: 0;
      top: 0;
      height: 3px;
      width: 0;
      background: var(--accent);
      z-index: 150;
      transition: width 0.1s linear;
      border-radius: 0 2px 2px 0;
    }

    /* ========== 面包屑 ========== */
    .crumb-bar {
      background: #fff;
      border-bottom: 1px solid var(--border);
    }

    .crumb-inner {
      display: flex;
      align-items: center;
      gap: 6px;
      height: 40px;
      font-size: 12px;
      color: var(--text-muted);
      overflow-x: auto;
      white-space: nowrap;
      scrollbar-width: none;
    }

    .crumb-inner::-webkit-scrollbar { display: none; }
    .crumb-inner a:hover { color: var(--brand); }
    .crumb-sep { opacity: 0.5; }

    /* ========== 文章头 ========== */
    .article-head {
      background: #fff;
      padding: 18px 10px 20px 10px;
      position: relative;
    }

    /* 关键：文章头底部渐变过渡到页面底色，避免白底连成一片 */
    .article-head::after {
      content: "";
      display: block;
      position: absolute;
      left: 0;
      right: 0;
      bottom: -28px;
      height: 28px;
      background: linear-gradient(to bottom, #ffffff, var(--bg));
      pointer-events: none;
    }

    .article-tags {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-bottom: 10px;
    }

    .tag-area {
      font-size: 11px;
      padding: 2px 9px;
      border-radius: 4px;
      background: var(--brand-light);
      color: var(--brand-dark);
      font-weight: 600;
    }

    .tag-cat {
      font-size: 11px;
      padding: 2px 9px;
      border-radius: 4px;
      background: #fff3e6;
      color: #b45309;
      font-weight: 600;
    }

    .article-title {
      font-size: 22px;
      font-weight: 800;
      line-height: 1.4;
      letter-spacing: 0.3px;text-align:center
    }

    .article-subtitle {
      margin-top: 10px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.65;
    }

    .article-meta {
      margin-top: 14px;
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      font-size: 12px;
      color: var(--text-muted);
    }

    .article-meta .author {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .author-avatar {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--brand);
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 11px;
      font-weight: 700;
    }

    .article-meta .dot { opacity: 0.4; }

    /* 时效提示：轻量，不抢标题 */
    .update-notice {
      margin-top: 14px;
      background: var(--brand-light);
      border-left: 3px solid var(--brand);
      border-radius: 6px;
      padding: 9px 12px;
      font-size: 12.5px;
      color: var(--brand-dark);
      line-height: 1.6;
      display: flex;
      gap: 8px;
      align-items: flex-start;
    }

    .update-notice strong { font-weight: 700; }

    /* ========== 布局 ========== */
    .article-layout {
      margin-top: 30px;
    }

    /* ========== 正文主卡片 ========== */
    .article-main {
      background: var(--card);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 20px 16px 20px;
      min-width: 0;
    }

    /* 移动端目录 */
    .toc-mobile {
      background: #f8faf9;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 12px 14px;
      margin-bottom: 20px;
    }

    .toc-mobile summary {
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: var(--text);
    }

    .toc-mobile summary::-webkit-details-marker { display: none; }
    .toc-mobile summary::after {
      content: "▾";
      color: var(--text-muted);
      transition: transform 0.2s;
    }

    .toc-mobile[open] summary::after { transform: rotate(180deg); }

    .toc-mobile ol {
      margin-top: 10px;
      padding-left: 20px;
      font-size: 13px;
    }

    .toc-mobile ol li { padding: 3px 0; }
    .toc-mobile ol a { color: var(--text); }
    .toc-mobile ol a:hover { color: var(--brand); }

    /* ========== 正文基础排版（兜底：纯文本也好看） ========== */
    .content {
      font-size: 16px;
      line-height: 1.85;
      color: var(--text);
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .content > *:first-child { margin-top: 0; }

    .content p { margin: 0 0 1.1em; }

    .content h2 {
      font-size: 19px;
      font-weight: 800;
      margin: 2em 0 0.8em;
      padding-left: 12px;
      border-left: 4px solid var(--brand);
      line-height: 1.45;
      scroll-margin-top: 80px;
    }

    .content h3 {
      font-size: 16px;
      font-weight: 700;
      margin: 1.6em 0 0.6em;
      line-height: 1.5;
      scroll-margin-top: 80px;
    }

    .content h4 {
      font-size: 15px;
      font-weight: 700;
      margin: 1.4em 0 0.5em;
      color: var(--text);
    }

    .content ul, .content ol {
      margin: 0 0 1.1em;
      padding-left: 1.4em;
    }

    .content li { margin-bottom: 0.45em; }
    .content li:last-child { margin-bottom: 0; }

    .content strong { font-weight: 700; color: var(--brand-dark); }

    .content a {
      color: var(--brand);
      border-bottom: 1px solid var(--brand-light);
      transition: border-color 0.2s;
    }

    .content a:hover { border-bottom-color: var(--brand); }

    /* 图片：统一圆角、居中、下方留白 */
    .content img {
      border-radius: 10px;
      margin: 0.6em auto 1.2em;
      height: auto;
    }

    /* 图片说明 */
    .content figure { margin: 0 0 1.2em; }

    .content figcaption {
      margin-top: 6px;
      font-size: 12.5px;
      color: var(--text-muted);
      text-align: center;
    }

    /* 引用块：轻量视觉分隔，替代大段加粗 */
    .content blockquote {
      margin: 0 0 1.2em;
      padding: 12px 16px;
      background: #f8faf9;
      border-left: 3px solid var(--brand-light);
      color: var(--text-muted);
      border-radius: 0 8px 8px 0;
      font-size: 15px;
    }

    .content blockquote p:last-child { margin-bottom: 0; }

    /* 代码/地址等等宽内容 */
    .content code {
      background: #f3f4f6;
      padding: 1px 6px;
      border-radius: 4px;
      font-size: 0.92em;
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    }

    /* 水平分隔线 */
    .content hr {
      border: none;
      height: 1px;
      background: var(--border);
      margin: 2em 0;
    }

    /* ========== 正文增强组件（可选，富文本插入或字段渲染） ========== */

    /* 提示框 */
    .callout {
      border-radius: 10px;
      padding: 14px 16px;
      margin: 0 0 1.2em;
      font-size: 14.5px;
      line-height: 1.7;
      display: flex;
      gap: 10px;
      align-items: flex-start;
    }

    .callout .ico { flex-shrink: 0; font-size: 18px; line-height: 1.4; }
    .callout p { margin: 0; }
    .callout p + p { margin-top: 6px; }
    .callout strong { color: inherit; }

    .callout.tip { background: var(--brand-light); color: var(--brand-dark); }
    .callout.warn { background: #fff7ed; color: #9a3412; }
    .callout.info { background: #eff6ff; color: #1e40af; }

    /* 步骤条 */
    .steps {
      margin: 0 0 1.2em;
      padding: 0;
      list-style: none;
      counter-reset: step;
    }

    .steps li {
      position: relative;
      padding: 0 0 20px 44px;
      counter-increment: step;
    }

    .steps li:last-child { padding-bottom: 0; }

    .steps li::before {
      content: counter(step);
      position: absolute;
      left: 0;
      top: 0;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: var(--brand);
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 14px;
      font-weight: 700;
    }

    .steps li:not(:last-child)::after {
      content: "";
      position: absolute;
      left: 14px;
      top: 34px;
      bottom: 4px;
      width: 2px;
      background: var(--brand-light);
    }

    .steps .step-title {
      display: block;
      font-weight: 700;
      font-size: 15px;
      margin-bottom: 4px;
      color: var(--text);
    }

    .steps .step-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 材料清单 */
    .checklist {
      background: #f8faf9;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 14px 16px;
      margin: 0 0 1.2em;
      list-style: none;
    }

    .checklist li {
      position: relative;
      padding-left: 26px;
      font-size: 14.5px;
      line-height: 1.8;
      margin-bottom: 4px;
    }

    .checklist li:last-child { margin-bottom: 0; }

    .checklist li::before {
      content: "✓";
      position: absolute;
      left: 0;
      top: 2px;
      width: 18px;
      height: 18px;
      border-radius: 4px;
      background: var(--brand-light);
      color: var(--brand);
      font-size: 11px;
      font-weight: 900;
      display: grid;
      place-items: center;
    }

    /* 表格：移动端横向滚动，带视觉提示 */
    .table-wrap {
      position: relative;
      overflow-x: auto;
      margin: 0 0 1.2em;
      border-radius: 10px;
      border: 1px solid var(--border);
      -webkit-overflow-scrolling: touch;
    }

    .content table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
      min-width: 480px;
    }

    .content th {
      background: var(--brand-light);
      color: var(--brand-dark);
      font-weight: 700;
      text-align: left;
      padding: 10px 14px;
      white-space: nowrap;
    }

    .content td {
      padding: 10px 14px;
      border-top: 1px solid var(--border);
      vertical-align: top;
      line-height: 1.6;
    }

    .content tr:nth-child(even) td { background: #fafcfb; }

    /* 移动端表格滚动提示 */
    @media (max-width: 767px) {
      .table-wrap::after {
        content: "左右滑动查看完整表格 →";
        position: sticky;
        right: 0;
        bottom: 0;
        display: block;
        text-align: right;
        font-size: 11px;
        color: var(--text-muted);
        background: linear-gradient(to left, #fff 60%, transparent);
        padding: 4px 10px;
        pointer-events: none;
      }
    }

    /* ========== 服务入口（变现触点） ========== */
    .service-entry {
      margin-top: 28px;
      background: linear-gradient(135deg, var(--brand), var(--brand-dark));
      border-radius: var(--radius);
      padding: 20px 18px;
      color: #fff;
    }

    .service-entry h3 {
      font-size: 16px;
      font-weight: 800;
      margin-bottom: 6px;
    }

    .service-entry p {
      font-size: 13px;
      opacity: 0.92;
      margin-bottom: 14px;
      line-height: 1.6;
    }

    .service-entry .entries {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .service-entry .entry-btn {
      background: #fff;
      color: var(--brand-dark);
      border-radius: 999px;
      padding: 9px 18px;
      font-size: 14px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .service-entry .entry-btn.ghost {
      background: rgba(255, 255, 255, 0.16);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.3);
    }

    /* ========== 上一篇 / 下一篇 ========== */
    .article-nav {
      margin-top: 20px;
      background: var(--card);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .article-nav a {
      display: flex;
      gap: 10px;
      padding: 14px 16px;
      border-bottom: 1px solid var(--border);
      font-size: 14px;
    }

    .article-nav a:last-child { border-bottom: none; }
    .article-nav a:hover { background: #fafcfb; }

    .article-nav .nav-label {
      flex-shrink: 0;
      color: var(--text-muted);
      font-size: 13px;
      width: 56px;
    }

    .article-nav .nav-title {
      flex: 1;
      min-width: 0;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* ========== 相关推荐 ========== */
    .related-block {
      margin-top: 20px;
      background: var(--card);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 18px 16px;
    }

    .related-block h2 {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .related-block h2::before {
      content: "";
      width: 4px;
      height: 18px;
      border-radius: 2px;
      background: var(--brand);
    }

    .related-list { display: flex; flex-direction: column; gap: 2px; }

    .related-list a {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      padding: 10px 0;
      border-bottom: 1px solid var(--border);
      font-size: 14px;
      line-height: 1.55;
    }

    .related-list a:last-child { border-bottom: none; }

    .related-list .num {
      flex-shrink: 0;
      width: 18px;
      color: var(--brand);
      font-size: 14px;
    }

    .related-list a:hover .rt { color: var(--brand); }

    .related-list .rt {
      flex: 1;
      min-width: 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .related-list .rmeta {
      flex-shrink: 0;
      font-size: 11px;
      color: var(--text-muted);
      padding-top: 2px;
    }

    /* ========== 侧栏 ========== */
    .article-aside { display: none; }

    /* ========== 底部导航 ========== */
    .bottom-nav {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 200;
      background: #fff;
      border-top: 1px solid var(--border);
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      padding-bottom: env(safe-area-inset-bottom);
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
    }

    .bottom-nav a {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2px;
      padding: 8px 0 6px;
      font-size: 11px;
      color: var(--text-muted);
    }

    .bottom-nav a.active { color: var(--brand); font-weight: 600; }
    .bottom-nav .nav-icon { font-size: 19px; line-height: 1; }

    /* ========== 平板 ≥768px ========== */
    @media (min-width: 768px) {
      body { padding-bottom: 0; }
      .container { padding: 0 24px; }
      .location-btn { display: flex; }
      .header-inner { min-height: 64px; }
      .logo { font-size: 20px; }
      .header-search { max-width: 520px; }

      .crumb-inner { height: 44px; font-size: 13px; }

      .article-head { padding: 26px 10px 24px; }
      .article-title { font-size: 28px;text-align:center }
      .article-subtitle { font-size: 15px; }

      .article-layout { margin-top: 34px; }

      .article-main { padding: 20px; }

      .content { font-size: 16.5px; }
      .content h2 { font-size: 21px; margin-top: 2.2em; }
      .content h3 { font-size: 17px; }

      .content table { min-width: 0; }

      .related-block { padding: 22px 24px; }
      .article-nav a { padding: 16px 20px; }

      .bottom-nav { display: none; }
    }

    /* ========== 桌面 ≥1024px ========== */
    @media (min-width: 1024px) {
      .header-inner { min-height: 72px; gap: 24px; }
      .logo { font-size: 22px; }
      .header-search { max-width: 560px; margin-left: 12px; }

      .desktop-nav {
        display: flex;
        align-items: center;
        gap: 22px;
        margin-left: auto;
        font-size: 14px;
      }

      .desktop-nav a {
        color: rgba(255, 255, 255, 0.9);
        padding: 6px 0;
        border-bottom: 2px solid transparent;
      }

      .desktop-nav a:hover,
      .desktop-nav a.active { color: #fff; border-bottom-color: var(--accent); }

      .article-head { padding: 32px 10px 30px; }
      .article-title { font-size: 32px; line-height: 1.35; text-align:center}
      .article-subtitle { font-size: 16px; max-width: 820px; }

      .article-layout {
        display: grid;
        grid-template-columns: 1fr 280px;
        gap: 24px;
        align-items: start;
        margin-top: 38px;
      }

      .toc-mobile { display: none; }

      .article-main { padding: 20px; }

      .content { font-size: 17px; line-height: 1.9; }
      .content h2 { font-size: 22px; margin-top: 2.3em; }
      .content h3 { font-size: 18px; margin-top: 1.8em; }

      .article-aside {
        display: flex;
        flex-direction: column;
        gap: 16px;
        position: sticky;
        top: 92px;
        max-height: calc(100vh - 108px);
        overflow-y: auto;
        scrollbar-width: thin;
      }

      .aside-card {
        background: var(--card);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 18px;
      }

      .aside-card h3 {
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
      }

      .aside-card h3::before {
        content: "";
        width: 3px;
        height: 14px;
        border-radius: 2px;
        background: var(--brand);
      }

      .toc-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 1px;
      }

      .toc-list a {
        display: block;
        padding: 6px 10px;
        margin: 0 -10px;
        border-radius: 7px;
        font-size: 13px;
        color: var(--text-muted);
        line-height: 1.5;
        border-left: 2px solid transparent;
        transition: all 0.2s;
      }

      .toc-list a:hover { background: var(--bg); color: var(--text); }

      .toc-list a.active {
        background: var(--brand-light);
        color: var(--brand-dark);
        font-weight: 600;
        border-left-color: var(--brand);
      }

      .area-links { display: flex; flex-direction: column; gap: 2px; }

      .area-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px 10px;
        margin: 0 -10px;
        border-radius: 8px;
        font-size: 13px;
      }

      .area-links a:hover { background: var(--bg); }

      .hot-tags { display: flex; flex-wrap: wrap; gap: 8px; }

      .hot-tags a {
        font-size: 12.5px;
        padding: 4px 11px;
        border-radius: 999px;
        background: var(--bg);
        color: var(--text);
        transition: all 0.2s;
      }

      .hot-tags a:hover { background: var(--brand-light); color: var(--brand-dark); }

      .aside-community {
        background: linear-gradient(135deg, var(--brand), var(--brand-dark));
        color: #fff;
        border-radius: var(--radius);
        padding: 18px;
      }

      .aside-community h3 { font-size: 15px; margin-bottom: 6px; }
      .aside-community h3::before { background: #fff; }
      .aside-community p { font-size: 12px; opacity: 0.9; margin-bottom: 12px; }

      .aside-community a {
        display: block;
        text-align: center;
        background: #fff;
        color: var(--brand-dark);
        border-radius: 999px;
        padding: 9px;
        font-size: 14px;
        font-weight: 700;
      }

      .related-list a { font-size: 15px; }
    }

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