:root {
            --bg: #ffffff;
            --text: #1a1a2e;
            --muted: #6b7280;
            --accent: #3b82f6;
            --border: #e5e7eb;
            --card-bg: #f9fafb;
        }
        @media (prefers-color-scheme: dark) {
            :root {
                --bg: #0f172a;
                --text: #e2e8f0;
                --muted: #94a3b8;
                --accent: #60a5fa;
                --border: #1e293b;
                --card-bg: #1e293b;
            }
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.8;
        }
        .container { max-width: 800px; margin: 0 auto; padding: 0 24px; }

        /* Header */
        header {
            padding: 60px 0 40px;
            border-bottom: 1px solid var(--border);
        }
        header h1 { font-size: 2rem; font-weight: 700; }
        header h1 a { color: var(--text); text-decoration: none; }
        header .subtitle { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }
        nav { margin-top: 20px; display: flex; gap: 24px; }
        nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
        nav a:hover { color: var(--accent); }

        /* Posts */
        .posts { padding: 40px 0; }
        .post-card {
            padding: 24px 0;
            border-bottom: 1px solid var(--border);
        }
        .post-card:last-child { border-bottom: none; }
        .post-card h2 { font-size: 1.25rem; }
        .post-card h2 a {
            color: var(--text);
            text-decoration: none;
        }
        .post-card h2 a:hover { color: var(--accent); }
        .post-card .meta {
            color: var(--muted);
            font-size: 0.85rem;
            margin-top: 6px;
        }
        .post-card .summary {
            color: var(--muted);
            margin-top: 8px;
            font-size: 0.95rem;
        }
        .post-card .tags { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
        .tag {
            display: inline-block;
            padding: 2px 12px;
            font-size: 0.8rem;
            border-radius: 999px;
            background: var(--card-bg);
            color: var(--muted);
            border: 1px solid var(--border);
        }

        /* Post page */
        .post-content { padding: 40px 0; }
        .post-content h1 { font-size: 1.8rem; margin-bottom: 12px; }
        .post-content .meta {
            color: var(--muted);
            font-size: 0.9rem;
            margin-bottom: 32px;
        }
        .post-content p { margin-bottom: 1.2em; }
        .post-content h2 { font-size: 1.35rem; margin: 32px 0 12px; }
        .post-content h3 { font-size: 1.15rem; margin: 24px 0 8px; }
        .post-content code {
            font-family: "Cascadia Code", "Fira Code", monospace;
            font-size: 0.9em;
            padding: 2px 6px;
            border-radius: 4px;
            background: var(--card-bg);
            border: 1px solid var(--border);
        }
        .post-content pre {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 16px;
            overflow-x: auto;
            margin-bottom: 1.2em;
        }
        .post-content pre code {
            background: none;
            border: none;
            padding: 0;
        }
        .post-content blockquote {
            border-left: 4px solid var(--accent);
            padding-left: 16px;
            color: var(--muted);
            margin: 1.2em 0;
        }

        /* Footer */
        footer {
            text-align: center;
            padding: 40px 0;
            color: var(--muted);
            font-size: 0.85rem;
            border-top: 1px solid var(--border);
        }
        footer a { color: var(--muted); text-decoration: none; }
        footer a:hover { color: var(--accent); }

        /* About */
        .about { padding: 40px 0; }
        .about h1 { font-size: 1.6rem; margin-bottom: 16px; }
        .about p { color: var(--muted); margin-bottom: 1em; }

        @media (max-width: 600px) {
            header { padding: 40px 0 24px; }
            header h1 { font-size: 1.5rem; }
            .post-card h2 { font-size: 1.1rem; }
        }
