    :root {
      --z-primary: #3b82f6;
      --z-bg: #f8fafc;
      --z-nav-bg: #1e293b;
      --z-card-border: #e2e8f0;
      --z-text: #334155;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: "Noto Serif SC", "PingFang SC", "Microsoft YaHei", sans-serif;
      background: var(--z-bg);
      color: var(--z-text);
      line-height: 1.7;
    }
    a { color: var(--z-primary); text-decoration: none; }
    a:hover { opacity: 0.85; }

    /* 导航栏 */
    .site-nav {
      background: var(--z-nav-bg);
      padding: 0 1.25rem;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }
    .site-nav .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1100px;
      margin: 0 auto;
      min-height: 60px;
    }
    .site-nav .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      color: #fff;
      font-size: 20px;
      font-weight: 700;
    }
    .site-nav .brand img { height: 32px; width: auto; max-height: 32px; }
    .site-nav .nav-links {
      display: flex;
      align-items: center;
      gap: 1.25rem;
      color: #cbd5e1;
      font-size: 15px;
    }
    .site-nav .nav-links a {
      color: #cbd5e1;
      padding: 6px 12px;
      border-radius: 999px;
      transition: color 0.2s, background-color 0.2s;
    }
    .site-nav .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.12); opacity: 1; }
    .site-nav .nav-links a i { margin-right: 6px; font-size: 14px; }
    /* 移动端汉堡按钮 */
    .nav-burger { display: none; }
    @media (max-width: 768px) {
      .site-nav .nav-inner {
        flex-wrap: wrap;
      }
      .nav-burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        border-radius: 8px;
        color: #fff;
        font-size: 20px;
        line-height: 1;
        flex-shrink: 0;
        cursor: pointer;
        outline: none;
        -webkit-tap-highlight-color: transparent;
        transition: background-color 0.2s, transform 0.2s, opacity 0.2s;
      }
      .nav-burger:hover { background: rgba(255,255,255,0.1); }
      .nav-burger:focus { outline: none; }
      .nav-burger:active { transform: scale(0.9); }
      .nav-burger i { pointer-events: none; }
      .site-nav .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        background: var(--z-nav-bg);
        padding: 0.6rem 1.25rem 0.9rem;
        gap: 0.25rem;
        box-shadow: 0 10px 26px rgba(0,0,0,0.18);
        border-top: 1px solid rgba(255,255,255,0.1);
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
      }
      .site-nav .nav-links a {
        padding: 11px 12px;
        border-radius: 8px;
      }
      .site-nav .nav-links a:hover { background: rgba(255,255,255,0.12); }
      .site-nav .nav-inner.nav-open .nav-links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
      }
    }

    /* 页面主体容器 */
    .blog-wrap {
      max-width: 1100px;
      margin: 0 auto;
      padding: 2rem 1.25rem 3rem;
    }
    .blog-wrap.narrow { max-width: 860px; }

    /* 页面标题区 */
    .blog-heading { margin-bottom: 2rem; text-align: center; }
    .blog-heading h1 { font-size: 2rem; margin: 0 0 0.5rem; color: #1e293b; }
    .blog-heading p { color: #64748b; margin: 0; font-size: 1.05rem; }

    /* 文章卡片网格 */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      grid-auto-rows: 1fr;
      align-items: stretch;
      gap: 1.5rem;
    }
    .blog-card {
      background: #fff;
      border: 1px solid var(--z-card-border);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      min-height: 0;
      height: 100%;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
    }
    /* Bulma `.card:not(:last-child)` 底边距会被网格 stretch 吃进行高，导致最后一张更高 */
    .blog-grid > .blog-card,
    .blog-grid > .blog-card:not(:last-child) {
      margin-bottom: 0;
    }
    .blog-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .blog-card-cover-link { display: block; }
    .blog-card-figure { margin: 0; }
    .blog-card-cover {
      width: 100%;
      height: 190px;
      object-fit: cover;
      display: block;
      background: #eef2f7;
    }
    /* 无封面时用渐变占位 */
    .blog-card-cover-placeholder {
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #4f7cff 0%, #8f9bff 100%);
    }
    .blog-card-cover-initial {
      font-size: 64px;
      font-weight: 700;
      color: rgba(255,255,255,0.9);
      font-family: "Noto Serif SC", serif;
    }
    .blog-card-body { padding: 1.15rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; min-height: 0; }
    .blog-card-title {
      margin: 0 0 0.5rem;
      font-size: 1.2rem;
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      line-clamp: 2;
      overflow: hidden;
      text-overflow: ellipsis;
      min-height: calc(1.4em * 2);
    }
    .blog-card-title a { color: #1e293b; }
    .blog-card-title a:hover { color: var(--z-primary); opacity: 1; }
    .blog-card-desc {
      color: #64748b;
      font-size: 14px;
      margin: 0 0 1rem;
      height: calc(1.7em * 3);
      flex-shrink: 0;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .blog-card-tags { margin-bottom: 0.85rem; display: flex; flex-wrap: wrap; gap: 6px; }
    .blog-tag {
      display: inline-block;
      padding: 2px 10px;
      border-radius: 999px;
      font-size: 12px;
      color: var(--z-primary);
      background: rgba(59,130,246,0.1);
    }
    .blog-card-meta {
      display: flex;
      align-items: center;
      gap: 14px;
      font-size: 13px;
      color: #94a3b8;
      border-top: 1px solid var(--z-card-border);
      padding-top: 0.85rem;
      margin-top: auto;
    }
    .blog-card-meta i { margin-right: 4px; }
    .blog-card-views { margin-left: auto; }

    /* 分页 */
    .blog-pagination {
      display: flex;
      justify-content: center;
      gap: 0.5rem;
      margin-top: 2.25rem;
    }
    .blog-pagination a, .blog-pagination span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      height: 40px;
      padding: 0 12px;
      border-radius: 8px;
      border: 1px solid var(--z-card-border);
      background: #fff;
      color: #334155;
      font-size: 14px;
    }
    .blog-pagination a:hover { background: var(--z-primary); color: #fff; border-color: var(--z-primary); }
    .blog-pagination .current { background: var(--z-primary); color: #fff; border-color: var(--z-primary); }
    .blog-pagination .disabled { opacity: 0.4; pointer-events: none; }

    /* 详情页 */
    .blog-detail-head { margin-bottom: 1.5rem; }
    .blog-detail-head h1 { font-size: 2.1rem; line-height: 1.35; color: #1e293b; margin: 0 0 0.9rem; }
    .blog-detail-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      color: #64748b;
      font-size: 0.92rem;
      margin-bottom: 1.1rem;
    }
    .blog-detail-meta i { margin-right: 5px; }
    .blog-detail-content {
      background: #fff;
      border: 1px solid var(--z-card-border);
      border-radius: 12px;
      padding: 1.75rem 1.9rem;
      font-size: 0.98rem;
      line-height: 1.8;
      color: #334155;
    }
    .blog-detail-content h1, .blog-detail-content h2 { margin: 1.6rem 0 0.8rem; color: #1e293b; }
    .blog-detail-content h3, .blog-detail-content h4 { margin: 1.4rem 0 0.7rem; color: #1e293b; }
    .blog-detail-content h1 { font-size: 1.6rem; }
    .blog-detail-content h2 { font-size: 1.35rem; font-weight: 600; }
    .blog-detail-content h3 { font-size: 1.15rem; font-weight: 600; }
    .blog-detail-content h4 { font-size: 1.1em; font-weight: 700; }
    .zp-ssr-title { font-size: 1.9rem; line-height: 1.35; color: #1e293b; margin: 0 0 1rem; }
    .blog-detail-content p { margin: 0 0 1.1rem; }
    .blog-detail-content ul, .blog-detail-content ol {
      margin: 0 0 1.1rem;
      padding-left: 1.6rem;
    }
    .blog-detail-content ul { list-style: disc; }
    .blog-detail-content ol { list-style: decimal; }
    .blog-detail-content li { margin: 0.35rem 0; }
    .blog-detail-content li::marker { color: var(--z-primary); }
    .blog-detail-content img { display: block; max-width: 100%; height: auto; border-radius: 8px; margin: 0 auto; }
    .blog-detail-content blockquote {
      border-left: 4px solid var(--z-primary);
      background: rgba(59,130,246,0.06);
      padding: 0.75rem 1.1rem;
      margin: 1rem 0;
      border-radius: 0 8px 8px 0;
      color: #475569;
    }
    /* 引用块内部最后一个段落去掉下边距，避免 blockquote 底部出现多余空白 */
    .blog-detail-content blockquote p:last-child { margin-bottom: 0; }
    .blog-detail-content code:not(pre code) {
      background: #eef2f7;
      padding: 2px 6px;
      border-radius: 4px;
      font-family: "SFMono-Regular", Consolas, monospace;
      font-size: 0.88em;
      color: #d53f3f;
    }
    .blog-detail-content pre {
      background: #1e293b;
      color: #e2e8f0;
      padding: 1.1rem 1.25rem;
      border-radius: 8px;
      overflow-x: auto;
      font-size: 0.9rem;
      line-height: 1.6;
    }
    .blog-detail-content pre code { background: transparent; color: inherit; padding: 0; }
    .blog-detail-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
    .blog-detail-content th, .blog-detail-content td { border: 1px solid var(--z-card-border); padding: 0.6rem 0.85rem; text-align: left; }
    .blog-detail-content th { background: #f8fafc; font-weight: 600; }
    .blog-detail-content a { text-decoration: underline; }
    .blog-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
    .blog-detail-tags span {
      background: #f1f5f9;
      color: #64748b;
      padding: 3px 11px;
      border-radius: 999px;
      font-size: 12px;
      line-height: 1.4;
    }

    /* 上一篇 / 下一篇 */
    .blog-nav {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      margin-top: 2rem;
    }
    .blog-nav-link {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 4px;
      padding: 0.9rem 1.1rem;
      background: #fff;
      border: 1px solid var(--z-card-border);
      border-radius: 10px;
      min-width: 0;
    }
    .blog-nav-link:hover { border-color: var(--z-primary); opacity: 1; }
    .blog-nav-link.is-next { align-items: flex-end; text-align: right; }
    .blog-nav-link.is-disabled { opacity: 0.45; pointer-events: none; }
    .blog-nav-label { font-size: 0.78rem; color: #94a3b8; }
    .blog-nav-title { font-size: 0.95rem; color: #1e293b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
    .blog-nav-link:hover .blog-nav-title { color: var(--z-primary); }

    /* 空状态 */
    .blog-empty { text-align: center; padding: 4rem 1rem; color: #94a3b8; }
    .blog-empty i { font-size: 48px; margin-bottom: 1rem; display: block; }

    /* 底栏 */
    .site-footer {
      background: var(--z-nav-bg);
      color: #94a3b8;
      padding: 2rem 1.25rem;
      font-size: 0.9rem;
    }
    .site-footer .footer-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    .site-footer a { color: #cbd5e1; }
    .site-footer a:hover { color: #fff; opacity: 1; }

    /* 面包屑 */
    .blog-crumbs {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.9rem;
      color: #94a3b8;
      margin-bottom: 1.25rem;
    }
    .blog-crumbs a { color: var(--z-primary); }
    .blog-crumbs .crumb-sep { color: #cbd5e1; }
    .blog-crumbs .crumb-current { color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40vw; }

    /* 移动端适配 */
    @media (max-width: 768px) {
      .blog-wrap { padding: 1.5rem 1rem 2.5rem; }
      .blog-heading h1 { font-size: 1.6rem; }
      .blog-detail-content { padding: 1.3rem; font-size: 1rem; }
      .blog-detail-head h1 { font-size: 1.55rem; }
      .blog-grid { grid-template-columns: 1fr; }
      /* 移动端：上一篇/下一篇各占一行，避免拥挤 */
      .blog-nav { flex-direction: column; }
    }

    /* 回到顶部按钮 */
    .blog-back-top {
      position: fixed;
      right: 24px;
      bottom: 24px;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid var(--z-card-border);
      background: #fff;
      color: #1e293b;
      box-shadow: 0 4px 14px rgba(0,0,0,0.14);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 16px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      transition: opacity .25s ease, visibility .25s, transform .25s ease;
      z-index: 100;
    }
    .blog-back-top:hover { color: var(--z-primary); border-color: var(--z-primary); }
    .blog-back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
    @media (max-width: 768px) {
      .blog-back-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }
    }
