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

        :root {
            --purple-400: #a855f7;
            --purple-500: #8b5cf6;
            --purple-600: #7c3aed;
            --rose-400: #f472b6;
            --indigo-500: #6366f1;
            --gray-400: #9ca3c0;
            --gray-500: #7e8aa2;
            --dark-900: #06070d;
            --card-bg: rgba(22, 18, 38, 0.65);
            --card-hover: rgba(30, 24, 50, 0.88);
            --border-subtle: rgba(139, 92, 246, 0.18);
            --border-medium: rgba(139, 92, 246, 0.28);
            --border-strong: rgba(168, 85, 247, 0.55);
        }

        body {
            font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', 'Roboto', sans-serif;
            background: #06070d;
            color: #eef2ff;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
            background-image:
                radial-gradient(ellipse at 15% 10%, rgba(139, 92, 246, 0.07) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 60%, rgba(244, 114, 182, 0.05) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 90%, rgba(99, 102, 241, 0.06) 0%, transparent 60%);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* 导航栏 */
        .glass-nav {
            background: rgba(6, 7, 13, 0.88);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid var(--border-subtle);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        .navbar {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            padding: 1.1rem 0;
            gap: 1.5rem;
        }
        .logo-area {
            display: flex;
            align-items: center;
            gap: 0.7rem;
        }
        .logo-icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: linear-gradient(135deg, #8b5cf6, #6366f1, #a855f7);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 1.1rem;
            color: #fff;
            box-shadow: 0 0 16px rgba(139, 92, 246, 0.4);
        }
        .logo-text {
            font-size: 1.7rem;
            font-weight: 800;
            background: linear-gradient(135deg, #c4b5fd, #a855f7, #e9d5ff);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            letter-spacing: -0.02em;
        }
        .badge-new {
            background: rgba(168, 85, 247, 0.2);
            border: 1px solid rgba(168, 85, 247, 0.4);
            padding: 0.2rem 0.7rem;
            border-radius: 40px;
            font-size: 0.7rem;
            font-weight: 500;
            color: #c4b5fd;
        }
        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }
        .nav-links a {
            text-decoration: none;
            font-weight: 500;
            color: #cbd5e6;
            transition: color 0.2s, text-shadow 0.2s;
            font-size: 0.95rem;
            white-space: nowrap;
        }
        .nav-links a:hover,
        .nav-links a.active {
            color: #a855f7;
            text-shadow: 0 0 4px rgba(168, 85, 247, 0.35);
        }

        /* 页头 */
        .page-header {
            padding: 3rem 0 1.2rem;
            text-align: center;
        }
        .page-header h1 {
            font-size: 2.7rem;
            font-weight: 800;
            background: linear-gradient(125deg, #f5f3ff, #c4b5fd, #a855f7, #e9a6d9);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            margin-bottom: 0.6rem;
            line-height: 1.2;
        }
        .page-header .subtitle {
            font-size: 1.05rem;
            color: #b9aed8;
            max-width: 700px;
            margin: 0.5rem auto 0;
            line-height: 1.7;
        }

        /* 规则速查表 */
        .quick-ref {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin: 2rem 0;
        }
        .ref-item {
            background: var(--card-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--border-subtle);
            border-radius: 1.2rem;
            padding: 1.3rem;
            text-align: center;
            transition: border-color 0.2s;
        }
        .ref-item:hover {
            border-color: var(--border-strong);
        }
        .ref-item .type {
            font-weight: 700;
            color: #e9d5ff;
            font-size: 1rem;
            margin-bottom: 0.4rem;
        }
        .ref-item .desc {
            font-size: 0.85rem;
            color: #b9aed8;
            line-height: 1.4;
        }

        /* 卡片 */
        .card {
            background: var(--card-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 1.8rem;
            padding: 2rem 1.8rem;
            border: 1px solid var(--border-subtle);
            margin-bottom: 2.2rem;
        }
        .card h2 {
            font-size: 1.7rem;
            font-weight: 700;
            color: #f0f3fa;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .card h3 {
            font-size: 1.3rem;
            font-weight: 600;
            color: #e0d9f5;
            margin: 1.5rem 0 0.6rem;
        }
        .card p,
        .card li {
            color: #b9c7e6;
            font-size: 0.95rem;
            line-height: 1.65;
            margin-bottom: 0.7rem;
        }
        .card ul {
            padding-left: 1.5rem;
            margin: 0.5rem 0 1rem;
        }
        .code-block {
            background: rgba(10, 8, 20, 0.7);
            border: 1px solid rgba(139, 92, 246, 0.2);
            border-radius: 1rem;
            padding: 1.2rem 1.5rem;
            font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
            font-size: 0.85rem;
            color: #c4b5fd;
            overflow-x: auto;
            white-space: pre;
            margin: 1rem 0;
            line-height: 1.6;
        }

        .rule-example {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin: 1.2rem 0;
        }
        .rule-cat {
            flex: 1 1 250px;
            background: rgba(22, 18, 38, 0.5);
            border-radius: 1.2rem;
            padding: 1.3rem;
            border: 1px solid rgba(139, 92, 246, 0.15);
        }
        .rule-cat h4 {
            color: #e9d5ff;
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }
        .rule-cat .rule-line {
            font-family: 'SF Mono', monospace;
            font-size: 0.8rem;
            color: #c4b5fd;
            background: rgba(0,0,0,0.2);
            padding: 0.3rem 0.6rem;
            border-radius: 6px;
            margin-bottom: 0.4rem;
            word-break: break-all;
        }

        /* 创意内链 */
        .all-guides {
            background: rgba(22, 18, 38, 0.6);
            border-radius: 2rem;
            padding: 2.5rem 2rem;
            margin: 2.5rem 0 1rem;
            border: 1px solid rgba(139, 92, 246, 0.2);
            text-align: center;
        }
        .all-guides h2 {
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(135deg, #e0d9f5, #a78bfa, #c4b5fd);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            margin-bottom: 1.5rem;
        }
        .guide-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
        }
        .guide-grid a {
            background: rgba(124, 58, 237, 0.14);
            border: 1px solid rgba(168, 85, 247, 0.3);
            padding: 0.7rem 1.8rem;
            border-radius: 40px;
            color: #c4b5fd;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.25s;
            white-space: nowrap;
        }
        .guide-grid a:hover {
            background: rgba(124, 58, 237, 0.3);
            border-color: #a855f7;
            color: #fff;
            transform: translateY(-2px);
        }

        /* 页脚 */
        .site-footer {
            background: #04040a;
            border-top: 1px solid #1e1a38;
            padding: 2.5rem 0;
            margin-top: 2rem;
        }
        .footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1.5rem;
            align-items: center;
        }
        .copyright {
            font-size: 0.83rem;
            color: #7a85a6;
        }
        .footer-links a {
            color: #9aa9c7;
            text-decoration: none;
            margin-left: 1.6rem;
            font-size: 0.88rem;
            transition: color 0.2s;
        }
        .footer-links a:hover {
            color: #a855f7;
        }
        .footer-links a:first-child {
            margin-left: 0;
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 1.2rem;
            }
            .navbar {
                flex-direction: column;
                align-items: flex-start;
            }
            .nav-links {
                flex-wrap: wrap;
                gap: 0.9rem;
            }
            .page-header h1 {
                font-size: 2rem;
            }
            .card h2 {
                font-size: 1.4rem;
            }
            .footer-content {
                flex-direction: column;
                text-align: center;
            }
            .footer-links a {
                margin-left: 0.8rem;
            }
        }