    :root {
      --bg-dark: #0a0e17;
      --bg-surface: #121824;
      --bg-code: #0d121b;
      --border: #1e293b;
      --text: #e2e8f0;
      --text-muted: #94a3b8;
      --accent: #00e5ff;
      --accent-hover: #33ebff;
      --accent-green: #10b981;
      --accent-amber: #f59e0b;
      --accent-rose: #f43f5e;
      --accent-purple: #a855f7;
    }

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

    body {
      background-color: var(--bg-dark);
      color: var(--text);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      line-height: 1.8;
      font-size: 17px;
      -webkit-font-smoothing: antialiased;
    }

    .site-header {
      border-bottom: 1px solid var(--border);
      background-color: rgba(10, 14, 23, 0.85);
      backdrop-filter: blur(12px);
      position: sticky;
      top: 0;
      z-index: 50;
      padding: 0 1.5rem;
    }

    .header-content {
      max-width: 1200px;
      margin: 0 auto;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .brand-logo {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
      color: #fff;
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      font-size: 1.25rem;
    }

    .logo-bracket { color: var(--accent); }

    .header-nav {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .header-nav a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.95rem;
      font-weight: 500;
      transition: color 0.2s;
    }

    .header-nav a:hover, .header-nav a.active { color: var(--accent); }

    .article-layout {
      max-width: 1200px;
      margin: 2.5rem auto;
      padding: 0 1.5rem;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 300px;
      gap: 3.5rem;
    }

    .article-content { min-width: 0; }

    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
    }

    .breadcrumb a { color: var(--text-muted); text-decoration: none; }
    .breadcrumb a:hover { color: var(--accent); }

    .article-header {
      margin-bottom: 2.5rem;
      border-bottom: 1px solid var(--border);
      padding-bottom: 2rem;
    }

    .article-meta {
      display: flex;
      gap: 1rem;
      align-items: center;
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 1rem;
    }

    .badge-category {
      background: rgba(0, 229, 255, 0.1);
      color: var(--accent);
      padding: 0.25rem 0.65rem;
      border-radius: 9999px;
      font-weight: 600;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .article-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 2.4rem;
      font-weight: 800;
      color: #fff;
      line-height: 1.25;
      margin-bottom: 1rem;
    }

    .article-lead {
      font-size: 1.15rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .article-body h2 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.6rem;
      color: #fff;
      margin: 2.5rem 0 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 1px solid var(--border);
    }

    .article-body h3 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.25rem;
      color: var(--accent);
      margin: 1.75rem 0 0.75rem;
    }

    .article-body p { margin-bottom: 1.35rem; color: #cbd5e1; }
    .article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; color: #cbd5e1; }
    .article-body li { margin-bottom: 0.65rem; }
    .article-body strong { color: #fff; }

    .article-body code {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.88em;
      background: rgba(255, 255, 255, 0.06);
      color: var(--accent);
      padding: 0.15rem 0.4rem;
      border-radius: 4px;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .article-figure {
      margin: 2.2rem 0;
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 1.2rem;
      text-align: center;
    }

    .article-figure img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      display: block;
      margin: 0 auto;
    }

    .article-figure figcaption {
      margin-top: 0.85rem;
      font-size: 0.85rem;
      color: var(--text-muted);
      font-style: italic;
    }

    .code-block {
      background: var(--bg-code);
      border: 1px solid var(--border);
      border-radius: 8px;
      margin: 1.5rem 0;
      overflow: hidden;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.9rem;
    }

    .code-header {
      background: #141c2b;
      padding: 0.5rem 1rem;
      font-size: 0.8rem;
      color: var(--text-muted);
      border-bottom: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .code-block pre {
      padding: 1.2rem;
      overflow-x: auto;
      line-height: 1.6;
      color: #e2e8f0;
    }

    .code-comment { color: #64748b; }
    .code-keyword { color: #f43f5e; font-weight: 700; }
    .code-type { color: #38bdf8; }
    .code-string { color: #10b981; }
    .code-number { color: #f59e0b; }
    .code-fn { color: #a855f7; }
    .code-bool { color: #ec4899; font-weight: 700; }

    .callout {
      border-left: 4px solid var(--accent);
      background: rgba(0, 229, 255, 0.05);
      padding: 1.2rem 1.5rem;
      border-radius: 0 8px 8px 0;
      margin: 1.8rem 0;
    }

    .callout.warning {
      border-left-color: var(--accent-rose);
      background: rgba(244, 63, 94, 0.05);
    }

    .callout.tip {
      border-left-color: var(--accent-green);
      background: rgba(16, 185, 129, 0.05);
    }

    .callout h4 {
      font-family: 'Space Grotesk', sans-serif;
      margin-bottom: 0.5rem;
      font-size: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .callout p { margin-bottom: 0; font-size: 0.95rem; }

    .table-container {
      overflow-x: auto;
      margin: 1.8rem 0;
      border: 1px solid var(--border);
      border-radius: 8px;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 0.92rem;
    }

    th {
      background: #141c2b;
      padding: 0.85rem 1rem;
      font-weight: 600;
      color: #fff;
      border-bottom: 1px solid var(--border);
    }

    td {
      padding: 0.85rem 1rem;
      border-bottom: 1px solid var(--border);
      color: #cbd5e1;
    }

    tr:last-child td { border-bottom: none; }
    tr:hover td { background: rgba(255, 255, 255, 0.02); }

    .ad-slot-inarticle {
      margin: 2.5rem 0;
      padding: 1.5rem;
      background: var(--bg-surface);
      border: 1px dashed rgba(255, 255, 255, 0.15);
      border-radius: 8px;
      text-align: center;
    }

    .ad-badge {
      display: inline-block;
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--text-muted);
      margin-bottom: 0.5rem;
    }

    .article-stats-box {
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 18px 24px;
      margin: 36px 0 24px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    }

    .stats-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 14px;
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--accent);
    }

    .stats-grid { display: flex; gap: 16px; flex-wrap: wrap; }

    .stat-card {
      flex: 1;
      min-width: 120px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 8px;
      padding: 12px 16px;
      text-align: center;
    }

    .stat-number {
      display: block;
      font-size: 20px;
      font-weight: 800;
      color: #ffffff;
      font-family: 'Space Grotesk', sans-serif;
    }

    .stat-desc {
      font-size: 11px;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-weight: 600;
      margin-top: 3px;
    }

    .article-cta-box {
      background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(16, 185, 129, 0.05) 100%);
      border: 1px solid rgba(0, 229, 255, 0.25);
      border-radius: 12px;
      padding: 2rem;
      margin: 3rem 0;
      text-align: center;
    }

    .article-cta-box h3 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.4rem;
      color: #fff;
      margin-bottom: 0.75rem;
    }

    .article-cta-box p {
      color: var(--text-muted);
      margin-bottom: 1.5rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    .btn-cta-big {
      display: inline-block;
      background: var(--accent);
      color: #000;
      font-weight: 700;
      text-decoration: none;
      padding: 0.85rem 1.8rem;
      border-radius: 8px;
      transition: all 0.2s;
      font-size: 0.95rem;
    }

    .btn-cta-big:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 4px 16px rgba(0, 229, 255, 0.3);
    }

    .article-nav-links {
      display: flex;
      justify-content: space-between;
      gap: 1.5rem;
      margin-top: 3rem;
      padding-top: 2rem;
      border-top: 1px solid var(--border);
    }

    .nav-card {
      flex: 1;
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 1.2rem;
      text-decoration: none;
      transition: all 0.2s;
      display: flex;
      flex-direction: column;
    }

    .nav-card:hover {
      border-color: var(--accent);
      transform: translateY(-2px);
    }

    .nav-label {
      font-size: 0.75rem;
      color: var(--accent);
      text-transform: uppercase;
      font-weight: 700;
      margin-bottom: 0.35rem;
    }

    .nav-title {
      color: #fff;
      font-weight: 600;
      font-size: 0.95rem;
      line-height: 1.4;
    }

    .article-sidebar {
      position: sticky;
      top: 84px;
      height: fit-content;
    }

    .sidebar-box {
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 1.25rem;
      margin-bottom: 1.5rem;
    }

    .sidebar-box h4 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.9rem;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 1px solid var(--border);
    }

    .toc-list { list-style: none; margin: 0; padding: 0; }
    .toc-list li { margin-bottom: 0.6rem; }
    .toc-list a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.85rem;
      transition: color 0.2s;
      display: block;
      line-height: 1.4;
    }
    .toc-list a:hover { color: var(--accent); }

    .ad-slot-sidebar {
      margin-top: 1.5rem;
      padding: 1rem;
      background: var(--bg-surface);
      border: 1px dashed rgba(255, 255, 255, 0.15);
      border-radius: 8px;
      text-align: center;
    }

    .site-footer {
      border-top: 1px solid var(--border);
      padding: 2.5rem 1.5rem;
      margin-top: 4rem;
      text-align: center;
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      margin-bottom: 1rem;
    }

    .footer-links a { color: var(--text-muted); text-decoration: none; }
    .footer-links a:hover { color: var(--accent); }

    @media (max-width: 900px) {
      .article-layout { grid-template-columns: 1fr; }
      .article-sidebar { display: none; }
      .article-title { font-size: 1.85rem; }
    }
