        :root {
            --primary: #7c3aed;
            --primary-soft: #ede9fe;
            --accent: #06b6d4;
            --accent-soft: #ecfeff;
            --text: #1e293b;
            --text-muted: #64748b;
            --bg: #f8fafc;
            --card: #ffffff;
            --border: rgba(226, 232, 240, 0.85);
            --glass: rgba(255, 255, 255, 0.72);
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
            --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.06);
            --radius: 14px;
            --radius-sm: 8px;
            --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
            --font-stack: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            font-size: 15px;
        }
        body {
            font-family: var(--font-stack);
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Header & Navigation */
        header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: var(--glass);
            backdrop-filter: blur(16px) saturate(140%);
            -webkit-backdrop-filter: blur(16px) saturate(140%);
            border-bottom: 1px solid var(--border);
            transition: box-shadow var(--transition);
        }
        header.scrolled {
            box-shadow: var(--shadow-md);
        }
        .nav-container {
            max-width: 1240px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 24px;
            gap: 20px;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            font-size: 1.2rem;
            color: var(--primary);
            text-decoration: none;
            letter-spacing: -0.3px;
            white-space: nowrap;
        }
        .logo img {
            height: 30px;
            width: auto;
            display: block;
            flex-shrink: 0;
        }
        .nav-links {
            display: flex;
            gap: 6px;
            list-style: none;
            flex-wrap: wrap;
            align-items: center;
        }
        .nav-links a {
            display: inline-block;
            padding: 8px 16px;
            border-radius: 24px;
            text-decoration: none;
            color: var(--text);
            font-weight: 500;
            font-size: 0.95rem;
            transition: all var(--transition);
            white-space: nowrap;
        }
        .nav-links a:hover {
            background: var(--primary-soft);
            color: var(--primary);
        }
        .nav-links a.active {
            background: var(--primary);
            color: #fff;
            font-weight: 600;
        }

        .breadcrumb-wrap {
            max-width: 1240px;
            margin: 0 auto;
            padding: 16px 24px 0;
        }
        .breadcrumb {
            font-size: 0.85rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
        }
        .breadcrumb a {
            color: var(--text-muted);
            text-decoration: none;
            transition: color var(--transition);
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        .breadcrumb .sep {
            color: #cbd5e1;
            user-select: none;
        }

        /* Main Layout */
        .container {
            max-width: 1240px;
            margin: 28px auto 50px;
            padding: 0 24px;
            display: grid;
            grid-template-columns: 2.8fr 1fr;
            gap: 36px;
            align-items: start;
        }
        @media (max-width: 1024px) {
            .container { grid-template-columns: 1fr; }
        }
        @media (max-width: 640px) {
            .nav-container { flex-direction: column; gap: 10px; padding: 12px 16px; }
            .nav-links a { padding: 6px 12px; font-size: 0.85rem; }
            .container { padding: 0 12px; margin-top: 18px; }
            article { padding: 24px 18px !important; }
        }

        article {
            background: var(--card);
            padding: 40px 36px;
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
        }
        article h1 {
            font-size: 2rem;
            margin-bottom: 18px;
            color: #0f172a;
            line-height: 1.35;
        }
        article h2 {
            font-size: 1.4rem;
            margin: 36px 0 14px;
            padding-left: 14px;
            border-left: 4px solid var(--primary);
            color: #1e293b;
        }
        article p {
            margin-bottom: 16px;
            color: #475569;
        }

        /* FAQ 条目 */
        .faq-item {
            margin-bottom: 30px;
            padding-bottom: 25px;
            border-bottom: 1px solid #f1f5f9;
        }
        .faq-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        .faq-question {
            font-size: 1.1rem;
            font-weight: 600;
            color: #0f172a;
            margin-bottom: 10px;
            display: flex;
            gap: 8px;
            align-items: baseline;
        }
        .faq-question::before {
            content: "Q";
            color: var(--primary);
            font-weight: 700;
            background: var(--primary-soft);
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            flex-shrink: 0;
        }
        .faq-answer {
            color: #475569;
            padding-left: 34px;
        }
        .faq-answer ul {
            margin-top: 8px;
            padding-left: 20px;
        }
        .faq-answer li {
            margin-bottom: 6px;
        }
        .alert-box {
            background: #eff6ff;
            border-left: 4px solid #3b82f6;
            padding: 15px 18px;
            border-radius: 0 8px 8px 0;
            margin: 15px 0;
            font-size: 0.9rem;
        }

        /* 错误代码速查卡片 */
        .error-card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 16px;
            margin: 24px 0;
        }
        .error-card {
            background: #fafbfc;
            border: 1px solid #e8ecf1;
            border-radius: var(--radius-sm);
            padding: 18px 16px;
            transition: all var(--transition);
        }
        .error-card:hover {
            border-color: var(--primary);
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.06);
            transform: translateY(-2px);
        }
        .error-code {
            font-family: monospace;
            font-weight: 700;
            font-size: 1.3rem;
            color: var(--primary);
            margin-bottom: 6px;
        }
        .error-desc {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        /* 侧边栏 */
        aside {
            display: flex;
            flex-direction: column;
            gap: 24px;
            position: sticky;
            top: 90px;
        }
        @media (max-width: 1024px) {
            aside {
                position: static;
                flex-direction: row;
                flex-wrap: wrap;
            }
            aside .widget { flex: 1 1 240px; min-width: 220px; }
        }
        .widget {
            background: var(--card);
            padding: 22px 20px;
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
        }
        .widget h4 {
            font-size: 1rem;
            margin-bottom: 12px;
            color: #0f172a;
            border-bottom: 2px solid #f1f5f9;
            padding-bottom: 8px;
            font-weight: 600;
        }
        .widget ul { list-style: none; padding-left: 0; }
        .widget li { margin-bottom: 10px; }
        .widget a {
            text-decoration: none;
            color: var(--text);
            font-size: 0.9rem;
            transition: color var(--transition);
        }
        .widget a:hover { color: var(--primary); }
        .widget .tag {
            display: inline-block;
            background: var(--primary-soft);
            color: var(--primary);
            padding: 3px 10px;
            border-radius: 14px;
            font-size: 0.78rem;
            font-weight: 500;
            margin: 2px 3px;
        }
        .widget .tag-accent {
            background: var(--accent-soft);
            color: #0891b2;
        }

        /* Footer */
        footer {
            background: #fff;
            border-top: 1px solid var(--border);
            padding: 40px 24px 20px;
            margin-top: 50px;
        }
        .footer-container {
            max-width: 1240px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 28px;
        }
        @media (max-width: 768px) {
            .footer-container { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 480px) {
            .footer-container { grid-template-columns: 1fr; }
        }
        .footer-brand h5 { font-size: 1.05rem; color: #0f172a; margin-bottom: 8px; }
        .footer-brand p { font-size: 0.84rem; color: var(--text-muted); }
        .footer-links h5 { font-size: 0.95rem; color: #0f172a; margin-bottom: 12px; }
        .footer-links ul { list-style: none; padding: 0; }
        .footer-links li { margin-bottom: 8px; }
        .footer-links a {
            text-decoration: none;
            color: var(--text-muted);
            font-size: 0.85rem;
            transition: color var(--transition);
        }
        .footer-links a:hover { color: var(--primary); }
        .footer-bottom {
            max-width: 1240px;
            margin: 24px auto 0;
            padding-top: 18px;
            border-top: 1px solid #f1f5f9;
            text-align: center;
            font-size: 0.8rem;
            color: var(--text-muted);
        }