    :root {
      --bg-primary: #ffffff;
      --bg-secondary: #f7f8fa;
      --bg-card: #ffffff;
      --bg-hover: #f0f0f0;
      --bg-card-hover: #f5f6f8;
      --border: #e5e7eb;
      --border-color: #e0e0e0;
      --text-primary: #2c2c2c;
      --text-secondary: #666666;
      --text-muted: #9ca3af;
      --accent: #2563eb;
      --accent-hover: #1d4ed8;
      --accent-light: #818cf8;
      --accent-bg: rgba(99, 102, 241, 0.08);
      --success: #22c55e;
      --warning: #f59e0b;
      --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
      --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
      --radius: 6px;
      --radius-sm: 8px;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      min-height: 100vh;
    }

    .mono { font-family: 'JetBrains Mono', monospace; }

    /* Header */
    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 64px;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 900px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .header-left { display: flex; align-items: center; }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 18px;
      color: var(--text-primary);
      text-decoration: none;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: linear-gradient(135deg, var(--accent), var(--accent-light));
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 14px;
      color: white;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    nav a {
      color: var(--text-secondary);
      text-decoration: none;
      padding: 8px 16px;
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-weight: 500;
      transition: all 0.2s;
    }

    nav a:hover, nav a.active {
      color: var(--accent);
      background: var(--accent-bg);
    }

    .menu-toggle {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 24px;
      height: 18px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
    }

    .menu-toggle span {
      display: block;
      width: 100%;
      height: 2px;
      background: var(--text-primary);
      border-radius: 2px;
      transition: all 0.3s;
    }

    .mobile-nav {
      display: none;
      position: fixed;
      top: 64px;
      left: 0;
      right: 0;
      background: white;
      border-bottom: 1px solid var(--border);
      padding: 16px 24px;
      flex-direction: column;
      gap: 8px;
      box-shadow: var(--shadow-lg);
    }

    .mobile-nav.active { display: flex; }

    .mobile-nav a {
      color: var(--text-secondary);
      text-decoration: none;
      padding: 12px 16px;
      border-radius: var(--radius-sm);
      font-size: 15px;
      font-weight: 500;
      transition: all 0.2s;
    }

    .mobile-nav a:hover, .mobile-nav a.active {
      color: var(--accent);
      background: var(--accent-bg);
    }

    main { padding-top: 64px; }
    .container { 
          max-width: 900px; 
          margin: 30px auto; 
          padding: 0 24px; 
    }

    /* Hero - Geek Blog Style */
    .hero {
      padding: 30px 0 10px;
    }

    .hero-code {
      font-family: 'JetBrains Mono', monospace;
      font-size: 14px;
      color: var(--accent);
      margin-bottom: 20px;
    }

    .hero-code .keyword { color: #c678dd; }
    .hero-code .string { color: #98c379; }
    .hero-code .comment { color: var(--text-muted); }

    .hero h1 {
      font-size: 48px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 8px;
      color: var(--text-primary);
    }

    .hero-subtitle {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 32px;
    }

    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 32px;
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: 20px;
      font-size: 13px;
      color: var(--text-secondary);
      font-weight: 500;
      transition: all 0.2s;
    }

    .hero-tag:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: var(--accent-bg);
    }

    .hero-tag .icon { font-size: 14px; }

    /* Section */
    .section { margin: 10px 0; }
    .section-title {
      font-size: 24px;
      font-weight: 600;
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .section-title::before {
      content: '';
      width: 4px;
      height: 24px;
      background: var(--accent);
      border-radius: 2px;
    }

    /* Post list */
    .post-list { display: flex; flex-direction: column; gap: 16px; }

    .post-card {
      display: block;
      padding: 20px 24px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      text-decoration: none;
      color: var(--text-primary);
      transition: all 0.2s;
      box-shadow: var(--shadow);
    }

    .post-card:hover {
      box-shadow: var(--shadow-lg);
      border-color: var(--accent);
    }

    .post-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 8px;
    }

    .post-title {
      font-size: 16px;
      font-weight: 600;
      color: var(--text-primary);
    }

    .post-date {
      font-size: 13px;
      color: var(--text-muted);
      font-family: 'JetBrains Mono', monospace;
    }

    .post-desc {
      font-size: 14px;
      color: var(--text-secondary);
      margin-bottom: 12px;
    }

    .post-tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .post-tag {
      padding: 4px 10px;
      background: var(--accent-bg);
      border-radius: 4px;
      font-size: 12px;
      color: var(--accent);
      font-weight: 500;
    }

    .post-tag.tag-dl { background: rgba(239, 68, 68, 0.08); color: #ef4444; }
    .post-tag.tag-recsys { background: rgba(245, 158, 11, 0.08); color: #f59e0b; }
    .post-tag.tag-llm { background: rgba(34, 197, 94, 0.08); color: #22c55e; }
    .post-tag.tag-agent { background: rgba(99, 102, 241, 0.08); color: #6366f1; }

    /* Category cards */
    .category-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .category-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 24px 16px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      text-decoration: none;
      color: var(--text-primary);
      transition: all 0.2s;
      box-shadow: var(--shadow);
      text-align: center;
    }

    .category-card:hover {
      box-shadow: var(--shadow-lg);
      border-color: var(--accent);
      transform: translateY(-2px);
    }

    .category-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      margin-bottom: 12px;
    }

    .category-card:nth-child(1) .category-icon { background: rgba(239, 68, 68, 0.1); }
    .category-card:nth-child(2) .category-icon { background: rgba(245, 158, 11, 0.1); }
    .category-card:nth-child(3) .category-icon { background: rgba(34, 197, 94, 0.1); }
    .category-card:nth-child(4) .category-icon { background: rgba(99, 102, 241, 0.1); }

    .category-name {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .category-desc {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* Article list */
    .article-list { 
        display: flex; 
        flex-direction: column; 
        gap: 24px; 
        margin: 40px 0; 
    }
    .article-card {
      display: block;
      padding: 28px 32px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      text-decoration: none;
      color: var(--text-primary);
      transition: all 0.2s;
      box-shadow: var(--shadow);
    }
    .article-card:hover {
      box-shadow: var(--shadow-lg);
      border-color: var(--accent);
      transform: translateY(-2px);
    }
    .article-header { 
        display: flex; 
        align-items: flex-start; 
        justify-content: space-between; 
        margin-bottom: 12px; 
        gap: 16px; 
    }
    .article-title { 
        font-size: 18px; 
        font-weight: 600; 
        color: var(--text-primary); 
        line-height: 1.4; 
    }
    .article-date { 
        font-size: 13px; 
        color: var(--text-muted); 
        font-family: 'JetBrains Mono', 
        monospace; white-space: nowrap; 
    }
    .article-desc { 
        font-size: 14px; 
        color: var(--text-secondary); 
        margin-bottom: 16px; 
        line-height: 1.6; 
    }
    .article-tags { 
        display: flex; 
        gap: 8px; 
        flex-wrap: wrap; 
    }
    .article-tag {
      padding: 4px 12px;
      background: var(--accent-bg);
      border-radius: 4px;
      font-size: 12px;
      color: var(--accent);
      font-weight: 500;
    }
    /*  ------ articleContainer ------ */
    .articleContainer h1 {
      font-size: 2em; 
      padding-bottom: 16px;
      text-align: center;
    }
    .articleContainer h2,
    .articleContainer h3,
    .articleContainer h4,
    .articleContainer h5,
    .articleContainer h6 {
      margin-top: 24px;
      margin-bottom: 12px;
      font-weight: 600;
      line-height: 1.3;
      color: var(--text-primary);
    }
    .articleContainer h2 { font-size: 1.6em; border-bottom: 1px solid var(--border-color); padding-bottom: 6px; }
    .articleContainer h3 { font-size: 1.3em; }
    .articleContainer h4 { font-size: 1.1em; }
    .articleContainer h5 { font-size: 1em; }
    .articleContainer h6 { font-size: 0.9em; color: var(--text-secondary); }

    .articleContainer p {
      margin-bottom: 14px;
    }
    .articleContainer a {
      color: var(--accent);
      text-decoration: none;
    }

    .articleContainer strong { font-weight: 600; }
    .articleContainer em { font-style: italic; }

    .articleContainer blockquote {
      margin: 16px 0;
      padding: 12px 16px;
      border-left: 4px solid var(--accent);
      background: var(--bg-hover);
      border-radius: 0 var(--radius) var(--radius) 0;
      color: var(--text-secondary);
    }

    .articleContainer ul,
    .articleContainer ol {
      margin: 12px 0;
      padding-left: 28px;
    }

    .articleContainer li {
      margin-bottom: 4px;
    }

    .articleContainer li > ul,
    .articleContainer li > ol {
      margin: 4px 0;
    }

    .articleContainer li.task-list-item {
      list-style: none;
      padding-left: 0;
    }

    .articleContainer input[type="checkbox"] {
      margin-right: 8px;
      vertical-align: middle;
    }

    .articleContainer hr {
      border: none;
      border-top: 2px solid var(--border-color);
      margin: 24px 0;
    }

    /* ── 行内代码 ── */
    .articleContainer code {
      font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
      font-size: .85em;
      background: rgba(175,184,193,.2);
      padding: .2em .4em;
      border-radius: 6px;
      color: #1f2328;
    }

    /* ── 代码块 ── */
    .language-python,
    .language-plaintext {
      margin: 0 0 16px;
    }

    .highlight pre, pre.highlight {
      background: #f6f8fa !important;
      border: 1px solid #d0d7de;
      border-radius: 6px;
      padding: 16px;
      overflow-x: auto;
      font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
      font-size: .85em;
      line-height: 1.45;
      color: #1f2328;
    }

    /* 代码块内 code 不重复样式 */
    .highlight pre code, pre.highlight code {
      background: none;
      border: none;
      padding: 0;
      font-size: inherit;
      border-radius: 0;
    }

    /* 语法高亮 — GitHub Light */
    .highlight .c1  { color: #6e7781; font-style: italic; }
    .highlight .kn,
    .highlight .kc,
    .highlight .k   { color: #cf222e; }
    .highlight .nn  { color: #953800; }
    .highlight .n   { color: #1f2328; }
    .highlight .s, .highlight .s1,
    .highlight .s2, .highlight .sa { color: #0a3069; }
    .highlight .mi  { color: #0550ae; }
    .highlight .o   { color: #1f2328; }
    .highlight .p   { color: #1f2328; }
    .highlight .nb  { color: #8250df; }
    .highlight .si  { color: #0a3069; }

    .articleContainer img { 
      max-width: 100%; 
      object-fit: cover; 
      border-radius: 10px; 
    }
    /* 表格样式  */
    .articleContainer table {
      width: 100%;
      border-collapse: collapse;
      margin: 1.5rem 0;
      font-size: 0.95rem;
      line-height: 1.6;
    }
    
    .articleContainer th {
      text-align: left;
      padding: 0.75rem 1rem;
      font-weight: 600;
      color: #555;
      border-bottom: 2px solid #e2e2e2;
    }
    
    .articleContainer td {
      padding: 0.75rem 1rem;
      border-bottom: 1px solid #eee;
    }
    
    /* 数据多时可选:斑马纹 */
    .articleContainer tbody tr:nth-child(even) {
      background: #fafafa;
    }
    /* 可选:悬停高亮 */
    .articleContainer tbody tr:hover {
      background: #f2f4f7;
    }
    
    /* 移动端横向滚动,避免撑破版面 */
    .articleContainer .table-wrapper {
      overflow-x: auto;
    }
    /* .articleContainer table {
        width:100%;
        border-collapse:collapse;
        table-layout:fixed;
    }
    .articleContainer table thead{
        border-bottom: 1px solid #444;
    }
    .articleContainer table th{
        padding: 5px 5px;
        text-align:center;
    }
    .articleContainer table th:first-child,
    .articleContainer table td:first-child{
        padding:5px 5px;
        text-align:center;
    }
    .articleContainer table td{
        padding:5px 5px;
        text-align:center;
    }
    .articleContainer table tbody tr{
        border-bottom:1px solid #d9d9d9;
    }
    .articleContainer table tbody tr:last-child{
        border-bottom:1px solid #d9d9d9;
    }
    .articleContainer table tbody tr.highlight td{
        font-weight:bold;
    } */
    /* .articleContainer table {
      width: 100%;
      border-collapse: collapse;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
    }
    .articleContainer th, 
    .articleContainer td {
      padding: 14px 20px;
      text-align: left;
      font-size: 14px;
      border-bottom: 1px solid var(--border);
    }
    .articleContainer th {
      background: var(--bg-secondary);
      font-weight: 600;
      color: var(--text-secondary);
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .articleContainer td {
      color: var(--text-primary);
    }
    .articleContainer tr:last-child td {
      border-bottom: none;
    }
    .articleContainer tr:hover td {
      background: var(--bg-card-hover);
    } */
    /*  ------ articleContainer ------ */



    /* Footer */
footer {
  border-top: 1px solid #ececf0;
  background: #ffffff;
  padding: 24px 0;
  margin-top: 60px;
}

.footer-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: wrap;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.footer-copy {
  font-size: 13px;
  color: #a3a5ae;
}

.count {
  font-size: 13px;
  color: #6b6d75;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.count .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5b5fed;
}

.count #busuanzi_site_pv {
  color: #2b2d33;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
  .footer-content {
    justify-content: flex-start;
  }
}
    /* footer {
      background: var(--bg-secondary);
      border-top: 1px solid var(--border);
      padding: 10px 0;
      margin-top: 80px;
    }

    .footer-content {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .footer-copy { font-size: 16px; color: var(--text-muted); text-align: center; } */

    /* ── 分页 ── */
    .pagination {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 2.5rem;
      padding-bottom: 1rem;
    }
    
    .page-btn {
      min-width: 36px;
      height: 36px;
      padding: 0 10px;
      border: 1px solid #ddd;
      border-radius: 6px;
      background: #fff;
      color: #333;
      font-size: 14px;
      cursor: pointer;
      transition: background 0.15s, border-color 0.15s;
    }
    .page-btn:hover:not(:disabled) {
      background: #f5f5f5;
      border-color: #bbb;
    }
    .page-btn.active {
      background: #333;
      color: #fff;
      border-color: #333;
      font-weight: 500;
      cursor: default;
    }
    .page-btn:disabled {
      opacity: 0.35;
      cursor: not-allowed;
    }
    .page-ellipsis {
      padding: 0 4px;
      color: #999;
      font-size: 14px;
      line-height: 36px;
    }
    .page-info {
      font-size: 13px;
      color: #888;
      margin-left: 8px;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .hero h1 { font-size: 32px; }
      .hero-subtitle { font-size: 16px; }
      .category-grid { grid-template-columns: repeat(2, 1fr); }
      nav { display: none; }
      .menu-toggle { display: flex; }
      table{max-width:700px;}
    }
