/* ==========================================================================
           基础变量与重置 - XChat 视觉契约
           ========================================================================== */
        :root {
            --bg-matrix: #0a0e17;
            --bg-vessel: #121926;
            --bg-pod: #1a2332;
            --bg-pod-hover: #1f2a3c;
            --accent-ray: #21efeb;
            --accent-dim: rgba(33, 239, 235, 0.15);
            --accent-glow: rgba(33, 239, 235, 0.4);
            --text-vox: #ffffff;
            --text-whisper: #cbd5e1;
            --text-dim: #94a3b8;
            --radius-core: 18px;
            --radius-sm: 8px;
            --transition: 0.35s ease;
            --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
            --font-mono: 'Consolas', 'Monaco', 'Courier New', monospace;
        }

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

        body {
            font-family: var(--font-sans);
            background-color: var(--bg-matrix);
            color: var(--text-whisper);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        /* 强制换行与 Flex 基础规则 */
        .whisper, .vox, h1, h2, h3, h4, span, p {
            word-break: break-word;
            overflow-wrap: break-word;
        }
        
        .flex-sheath {
            display: flex;
            flex-wrap: wrap;
        }
        
        .flex-sheath > * {
            min-width: 0;
        }

        /* ==========================================================================
           导航栏组件 (强制复用)
           ========================================================================== */
        .synapse {
            background: rgba(10, 14, 23, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .beacon {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 4vw;
            height: 72px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }
        
        .beacon > * {
            min-width: 0;
        }

        .glyph {
            display: flex;
            align-items: center;
        }

        .glyph img {
            height: 32px;
            width: auto;
        }

        .weave-sheath {
            display: flex;
            gap: 2rem;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .weave-sheath > * {
            min-width: 0;
        }

        .synapse-thread {
            color: var(--text-whisper);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: color var(--transition);
            position: relative;
        }

        .synapse-thread:hover {
            color: var(--accent-ray);
        }

        .synapse-thread.active {
            color: var(--accent-ray);
        }

        .synapse-thread.active::after {
            content: '';
            position: absolute;
            bottom: -24px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--accent-ray);
            box-shadow: 0 0 10px var(--accent-glow);
        }

        /* ==========================================================================
           排版系统
           ========================================================================== */
        .vox-h1 {
            color: var(--text-vox);
            font-weight: 700;
            line-height: 1.3;
            font-size: clamp(2.2rem, 4.5vw, 3.8rem);
            letter-spacing: -0.5px;
            margin-bottom: 1.5rem;
            white-space: normal;
        }

        .vox-h2 {
            color: var(--text-vox);
            font-weight: 600;
            line-height: 1.4;
            font-size: clamp(1.8rem, 3vw, 2.5rem);
            margin-bottom: 1rem;
            white-space: normal;
        }

        .vox-h3 {
            color: var(--text-vox);
            font-weight: 600;
            font-size: 1.25rem;
            margin-bottom: 1rem;
            white-space: normal;
        }

        .whisper-lead {
            font-size: clamp(1.1rem, 2vw, 1.25rem);
            color: var(--text-whisper);
            max-width: 800px;
            margin-bottom: 2rem;
        }

        /* ==========================================================================
           布局与容器 (Data UI 风格)
           ========================================================================== */
        main {
            padding-top: 72px; /* Offset for fixed nav */
        }

        /* Section 1: Intro Hero */
        .pulsar {
            padding: 100px 4vw 80px;
            background: radial-gradient(circle at top right, var(--bg-vessel), var(--bg-matrix));
            position: relative;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            flex-wrap: wrap;
        }
        
        .pulsar > * {
            min-width: 0;
        }

        .terminal-echo {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 16px;
            background: var(--accent-dim);
            border: 1px solid var(--accent-glow);
            border-radius: 30px;
            color: var(--accent-ray);
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 24px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        /* Section 2: Topic Focus (Grid Matrix) */
        .matrix-sheath {
            padding: 80px 4vw;
            background: var(--bg-matrix);
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .matrix-sheath > * {
            min-width: 0;
        }

        .sheath-core {
            max-width: 1200px;
            width: 100%;
        }

        .grid-flock {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .pod {
            background: var(--bg-pod);
            border-radius: var(--radius-core);
            padding: 40px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all var(--transition);
            display: flex;
            flex-direction: column;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            flex-wrap: wrap;
        }
        
        .pod > * {
            min-width: 0;
        }

        .pod:hover {
            transform: translateY(-5px);
            background: var(--bg-pod-hover);
            border-color: var(--accent-dim);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-dim);
        }

        .sigil-sheath {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: var(--accent-dim);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            color: var(--accent-ray);
        }

        /* Data UI: Command Rows */
        .cmd-flock {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 15px;
            flex-wrap: wrap;
        }
        
        .cmd-flock > * {
            min-width: 0;
        }

        .cmd-ray {
            display: flex;
            flex-direction: column;
            padding: 12px;
            background: rgba(10, 14, 23, 0.5);
            border-radius: var(--radius-sm);
            border-left: 2px solid transparent;
            transition: border-color var(--transition);
            flex-wrap: wrap;
        }
        
        .cmd-ray > * {
            min-width: 0;
        }

        .pod:hover .cmd-ray:hover {
            border-left-color: var(--accent-ray);
            background: rgba(10, 14, 23, 0.8);
        }

        .cmd-vox {
            font-family: var(--font-mono);
            color: var(--accent-ray);
            font-size: 0.95rem;
            margin-bottom: 4px;
            font-weight: bold;
        }

        .cmd-whisper {
            font-size: 0.85rem;
            color: var(--text-dim);
        }

        /* Section 3: Key Path */
        .realm {
            padding: 80px 4vw;
            background: var(--bg-vessel);
            display: flex;
            justify-content: center;
            position: relative;
            flex-wrap: wrap;
        }
        
        .realm > * {
            min-width: 0;
        }

        .realm::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(33, 239, 235, 0.2), transparent);
        }

        .path-sheath {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-top: 40px;
            flex-wrap: wrap;
        }
        
        .path-sheath > * {
            min-width: 0;
        }

        .path-ray {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            background: var(--bg-pod);
            padding: 30px;
            border-radius: var(--radius-core);
            border: 1px solid rgba(255, 255, 255, 0.03);
            flex-wrap: wrap;
        }
        
        .path-ray > * {
            min-width: 0;
        }

        .path-num {
            font-family: var(--font-mono);
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--bg-matrix);
            background: var(--accent-ray);
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .path-sheath {
            flex: 1;
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
        }
        
        .path-sheath > * {
            min-width: 0;
        }

        /* Section 4: Usage Context (Shortcuts & Notes) */
        .vessel {
            padding: 80px 4vw;
            background: var(--bg-matrix);
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .vessel > * {
            min-width: 0;
        }

        .context-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-top: 40px;
        }

        .shortcut-sheath {
            background: rgba(18, 25, 38, 0.6);
            border-radius: var(--radius-core);
            padding: 30px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .key-ray {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            flex-wrap: wrap;
        }
        
        .key-ray > * {
            min-width: 0;
        }

        .key-ray:last-child {
            border-bottom: none;
        }

        .kbd {
            background: var(--bg-matrix);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-bottom-width: 3px;
            border-radius: 6px;
            padding: 4px 10px;
            font-family: var(--font-mono);
            font-size: 0.85rem;
            color: var(--text-vox);
            display: inline-block;
        }

        /* ==========================================================================
           交互组件
           ========================================================================== */
        .spark-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 16px 32px;
            background: var(--accent-ray);
            color: #000000;
            font-weight: 600;
            border-radius: 30px;
            text-decoration: none;
            box-shadow: 0 4px 15px var(--accent-glow);
            transition: all var(--transition);
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }

        .spark-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(33, 239, 235, 0.6);
            background: #4ef5f2;
        }

        /* ==========================================================================
           页脚区域
           ========================================================================== */
        .horizon {
            background: var(--bg-vessel);
            padding: 60px 4vw 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .horizon > * {
            min-width: 0;
        }

        .echoes {
            max-width: 1200px;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 24px;
            flex-wrap: wrap;
        }
        
        .echoes > * {
            min-width: 0;
        }

        .echoes-vox {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-vox);
            letter-spacing: 1px;
        }

        .echoes-whisper {
            color: var(--text-dim);
            font-size: 0.9rem;
            text-align: center;
        }

        /* ==========================================================================
           响应式设计
           ========================================================================== */
        @media (max-width: 1024px) {
            .context-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .weave-sheath {
                display: none; /* 移动端导航简化，按需展开 */
            }
            .pulsar {
                padding: 80px 4vw 60px;
            }
            .grid-flock {
                grid-template-columns: 1fr;
            }
            .path-ray {
                flex-direction: column;
                gap: 15px;
            }
            .matrix-sheath, .realm, .vessel {
                padding: 60px 4vw;
            }
        }

.synapse-synapse {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    word-break: break-word;
    color: var(--text-whisper);
}
.synapse-synapse,
.synapse-synapse *,
.synapse-synapse *::before,
.synapse-synapse *::after {
    box-sizing: border-box;
}

.synapse-synapse nav,
.synapse-synapse div,
.synapse-synapse section,
.synapse-synapse article,
.synapse-synapse aside,
.synapse-synapse p,
.synapse-synapse h1,
.synapse-synapse h2,
.synapse-synapse h3,
.synapse-synapse h4,
.synapse-synapse h5,
.synapse-synapse h6,
.synapse-synapse a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.synapse-synapse p,
.synapse-synapse h1,
.synapse-synapse h2,
.synapse-synapse h3,
.synapse-synapse h4,
.synapse-synapse h5,
.synapse-synapse h6 {
    text-decoration: none;
}

.synapse-synapse img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.synapse-synapse {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.synapse-synapse a.synapse-synapse-thread {
    --aisite-shell-nav-padding: 10px 18px;
    --aisite-shell-nav-margin: 0;
    --aisite-shell-nav-line-height: normal;
    --aisite-shell-nav-display: inline;
    --aisite-shell-nav-height: auto;
    --aisite-shell-nav-min-height: auto;
}

.synapse-synapse a.synapse-synapse-thread,
.synapse-synapse a.synapse-synapse-thread:hover,
.synapse-synapse a.synapse-synapse-thread:focus,
.synapse-synapse a.synapse-synapse-thread:active,
.synapse-synapse a.synapse-synapse-thread.active,
.synapse-synapse a.synapse-synapse-thread[aria-current="page"] {
    background: transparent;
    border: none;
    border-bottom: none;
    box-shadow: none;
    outline: none;
    text-decoration: none;
    padding: var(--aisite-shell-nav-padding, 0);
    margin: var(--aisite-shell-nav-margin, 0);
    line-height: var(--aisite-shell-nav-line-height, normal);
    display: var(--aisite-shell-nav-display, inline);
    height: var(--aisite-shell-nav-height, auto);
    min-height: var(--aisite-shell-nav-min-height, auto);
}

.synapse-synapse{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(10, 14, 23, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            padding: 15px 4vw;
        }

.synapse-synapse .synapse-beacon{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
        }

.synapse-synapse .synapse-glyph{
            flex: 0 0 auto;
            min-width: 0;
            width: 140px;
        }

.synapse-synapse .synapse-weave-sheath{
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            min-width: 0;
        }

.synapse-synapse .synapse-synapse-thread{
            color: #cbd5e1;
            padding: 10px 18px;
            font-size: 0.95rem;
            font-weight: 500;
            border-radius: 8px;
            position: relative;
        }

.synapse-synapse .synapse-synapse-thread:hover{
            color: #21efeb;
            background: rgba(33, 239, 235, 0.15);
        }

.synapse-synapse .synapse-synapse-thread.active{
            color: #21efeb;
            background: rgba(33, 239, 235, 0.08);
            box-shadow: inset 0 -2px 0 #21efeb;
        }

@media (max-width: 768px){.synapse-synapse .synapse-beacon{ flex-direction: column; gap: 15px; }

.synapse-synapse .synapse-weave-sheath{ justify-content: center; }}

.synapse-synapse {
    background: rgb(10, 14, 23);
    background-image: none;
}

.horizon-horizon {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    word-break: break-word;
    color: var(--text-whisper);
}
.horizon-horizon,
.horizon-horizon *,
.horizon-horizon *::before,
.horizon-horizon *::after {
    box-sizing: border-box;
}

.horizon-horizon nav,
.horizon-horizon div,
.horizon-horizon section,
.horizon-horizon article,
.horizon-horizon aside,
.horizon-horizon p,
.horizon-horizon h1,
.horizon-horizon h2,
.horizon-horizon h3,
.horizon-horizon h4,
.horizon-horizon h5,
.horizon-horizon h6,
.horizon-horizon a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.horizon-horizon p,
.horizon-horizon h1,
.horizon-horizon h2,
.horizon-horizon h3,
.horizon-horizon h4,
.horizon-horizon h5,
.horizon-horizon h6 {
    text-decoration: none;
}

.horizon-horizon img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.horizon-horizon {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.horizon-horizon a,
.horizon-horizon a:hover,
.horizon-horizon a:focus,
.horizon-horizon a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.horizon-horizon .horizon-weave-sheath{
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            min-width: 0;
        }

.horizon-horizon .horizon-vessel-core{
            max-width: 1300px;
            margin: 0 auto;
            width: 100%;
            padding: 0 4vw;
        }

.horizon-horizon{
            background: #121926;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding: 60px 4vw 40px;
            text-align: center;
        }

.horizon-horizon .horizon-horizon-vox{
            font-size: 1.8rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: 2px;
            margin-bottom: 20px;
        }

.horizon-horizon .horizon-echoes{
            color: #94a3b8;
            font-size: 0.9rem;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.05);
        }

@media (max-width: 768px){.horizon-horizon .horizon-weave-sheath{ justify-content: center; }}