        /* ─── 只需修改这里的 TOOLS 数组即可添加工具 ─── */

        :root {
            --bg: #f5f4f1;
            --surface: #ffffff;
            --surface2: #eeecea;
            --border: rgba(0, 0, 0, 0.08);
            --border-hover: rgba(0, 0, 0, 0.18);
            --text-primary: #1a1916;
            --text-secondary: #6b6965;
            --text-muted: #b0aea9;
            --accent-1: #3a6e96;
            /* 石蓝 */
            --accent-2: #2e8a6e;
            /* 青绿 */
            --accent-3: #6a4eaa;
            /* 紫 */
            --accent-4: #3a8a58;
            /* 绿 */
            --accent-5: #a84848;
            /* 红 */
            --accent-6: #8a7830;
            /* 黄褐 */
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background: var(--bg);
            color: var(--text-primary);
            font-family: 'DM Mono', 'Noto Serif SC', monospace;
            min-height: 100vh;
            padding: 0;
            overflow-x: hidden;
        }

        .page {
            max-width: 900px;
            margin: 0 auto;
            padding: 56px 32px 80px;
        }

        /* ── Header ── */
        .header {
            margin-bottom: 56px;
            animation: fadeUp 0.6s ease both;
        }

        .header-top {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 12px;
        }

        .logo-mark {
            width: 36px;
            height: 36px;
            border: 1px solid var(--accent-1);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            color: var(--accent-1);
            letter-spacing: 0;
            flex-shrink: 0;
            font-family: 'DM Mono', monospace;
        }

        .site-title {
            font-family: 'Noto Serif SC', serif;
            font-size: 28px;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: 0.02em;
        }

        .site-en {
            font-family: 'DM Mono', monospace;
            font-size: 11px;
            color: var(--text-muted);
            letter-spacing: 0.2em;
            margin-top: 4px;
        }

        .header-rule {
            height: 1px;
            background: var(--border);
            margin-top: 20px;
        }

        /* ── Section ── */
        .section-head {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 18px;
            animation: fadeUp 0.6s 0.1s ease both;
        }

        .section-label {
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            color: var(--text-muted);
            letter-spacing: 0.18em;
            text-transform: uppercase;
        }

        .section-count {
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            color: var(--text-muted);
            border: 1px solid var(--border);
            padding: 1px 7px;
            border-radius: 20px;
        }

        /* ── Grid ── */
        .tool-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 14px;
        }

        /* ── Card ── */
        .tool-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 22px 20px 18px;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
            position: relative;
            overflow: hidden;
            transition: border-color 0.2s, transform 0.2s, background 0.2s;
            cursor: pointer;
        }

        .tool-card::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 12px;
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
        }

        .tool-card:hover {
            border-color: var(--border-hover);
            background: var(--surface2);
            transform: translateY(-3px);
        }

        .tool-card:hover::after {
            opacity: 1;
        }

        /* 顶部色条 */
        .tool-card .color-bar {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            border-radius: 12px 12px 0 0;
            opacity: 0.7;
            transition: opacity 0.2s;
        }

        .tool-card:hover .color-bar {
            opacity: 1;
        }

        .card-top {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
        }

        .card-icon {
            width: 40px;
            height: 40px;
            border-radius: 9px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            flex-shrink: 0;
        }

        .card-arrow {
            font-size: 16px;
            color: var(--text-muted);
            margin-top: 2px;
            transition: transform 0.2s, color 0.2s;
            font-family: monospace;
        }

        .tool-card:hover .card-arrow {
            transform: translate(2px, -2px);
            color: var(--text-secondary);
        }

        .card-name {
            font-family: 'Noto Serif SC', serif;
            font-size: 15px;
            font-weight: 600;
            color: var(--text-primary);
            line-height: 1.4;
        }

        .card-desc {
            font-size: 11px;
            color: var(--text-secondary);
            line-height: 1.7;
            font-family: 'DM Mono', monospace;
            font-weight: 300;
        }

        .card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: auto;
            padding-top: 10px;
            border-top: 1px solid var(--border);
        }

        .card-tag {
            font-size: 9px;
            font-family: 'DM Mono', monospace;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            padding: 3px 8px;
            border-radius: 20px;
            border: 1px solid;
            opacity: 0.8;
        }

        .card-filename {
            font-size: 9px;
            font-family: 'DM Mono', monospace;
            color: var(--text-muted);
            letter-spacing: 0.04em;
        }

        /* ── 空槽位 ── */
        .tool-card.empty {
            background: transparent;
            border: 1px dashed rgba(0, 0, 0, 0.1);
            opacity: 0.5;
            cursor: default;
            pointer-events: none;
        }

        .tool-card.empty:hover {
            transform: none;
        }

        .empty-inner {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            height: 100px;
            color: var(--text-muted);
            font-size: 11px;
            font-family: 'DM Mono', monospace;
            letter-spacing: 0.1em;
            text-align: center;
        }

        .empty-icon {
            font-size: 22px;
            opacity: 0.3;
        }

        /* ── 入场动画 ── */
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(16px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .tool-card {
            animation: fadeUp 0.5s ease both;
        }

        /* ── 底部 ── */
        .footer {
            margin-top: 48px;
            text-align: center;
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            color: var(--text-muted);
            letter-spacing: 0.12em;
            animation: fadeUp 0.6s 0.4s ease both;
        }

        .footer span {
            display: inline-block;
            width: 4px;
            height: 4px;
            background: var(--text-muted);
            border-radius: 50%;
            margin: 0 8px;
            vertical-align: middle;
            opacity: 0.5;
        }
    
