/* ==========================================================================
           1. 基础重置与排版系统 (Typography & Reset)
           ========================================================================== */
        :root {
            --brand: #9c63d9;
            --brand-dark: #6e40a0;
            --brand-light: #f4ebff;
            --bg: #fdfcfd;
            --surface: #ffffff;
            --text-main: #2d2438;
            --text-muted: #6b6378;
            --border: #eae4f2;
            --radius: 14px;
            --shadow-soft: 0 8px 24px rgba(156, 99, 217, 0.06);
            --shadow-hover: 0 16px 40px rgba(156, 99, 217, 0.12);
            --transition: 0.15s ease;
        }

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

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: var(--bg);
            color: var(--text-main);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        /* 强制文本换行规范 */
        .aura, p, span, div {
            word-break: break-word;
            overflow-wrap: break-word;
        }
        
        /* 中文内容优化 */
        .aura-cn {
            word-break: keep-all;
        }

        /* 强制 Flexbox/Grid 必备规则 */
        .echo, .wire, .helm, .roots {
            display: flex;
            flex-wrap: wrap;
        }
        
        .echo > *, .wire > *, .helm > *, .roots > * {
            min-width: 0;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: all var(--transition);
        }

        /* ==========================================================================
           2. 导航区域 (Navigation - xun, kite, helm)
           ========================================================================== */
        .thread {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 1000;
            border-bottom: 1px solid rgba(156, 99, 217, 0.1);
        }

        .helm {
            max-width: 1280px;
            margin: 0 auto;
            padding: 1rem 2rem;
            justify-content: space-between;
            align-items: center;
        }

        .seal {
            flex-shrink: 0;
            display: flex;
            align-items: center;
        }

        .seal img {
            height: 32px;
            width: auto;
            display: block;
        }

        .vein {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: center;
        }

        .rune {
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-muted);
            padding: 0.5rem 0;
            position: relative;
        }

        .rune:hover, .rune.active {
            color: var(--brand);
        }

        .rune.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--brand);
            border-radius: 2px;
        }

        /* ==========================================================================
           3. 展示区域 (Hero - feng, flare, glory) - 严格遵循 fullbleed_overlay 蓝图
           ========================================================================== */
        .glory {
            position: relative;
            width: 100vw;
            min-height: 92vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background: linear-gradient(145deg, #181124, #2a1b41, #4d2b7d);
            overflow: hidden;
            padding: 6rem 2rem;
            margin-top: 60px; /* Offset for fixed header */
        }

        /* 模拟复杂背景纹理与光影 (代替图片) */
        .glory::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 30%, rgba(156, 99, 217, 0.4) 0%, transparent 60%);
            z-index: 1;
        }
        
        .glory::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
            background-size: 30px 30px;
            z-index: 1;
        }

        .wire-feng {
            position: relative;
            z-index: 10;
            max-width: 900px;
            display: flex;
            flex-direction: column;
            align-items: center;
            background: rgba(24, 17, 36, 0.3); /* 半透明渐变遮罩保证文字可读 */
            padding: 4rem 2rem;
            border-radius: 24px;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,0.05);
            box-shadow: 0 30px 60px rgba(0,0,0,0.4);
        }

        .lens-flare {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            font-weight: 800;
            color: #ffffff;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            letter-spacing: -0.02em;
            white-space: normal;
        }
        
        .lens-flare span {
            color: var(--brand);
            display: block;
            font-size: 0.5em;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .aura-flare {
            font-size: clamp(1.1rem, 2vw, 1.25rem);
            color: rgba(255, 255, 255, 0.85);
            max-width: 760px;
            margin-bottom: 3rem;
            font-weight: 300;
        }

        .dart-pulse {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1.2rem 2.5rem;
            background: var(--brand);
            color: #ffffff;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 50px;
            box-shadow: 0 8px 20px rgba(156, 99, 217, 0.4);
            transform: translateY(0);
        }

        .dart-pulse:hover, .dart-pulse:focus {
            transform: translateY(-3px);
            box-shadow: 0 12px 28px rgba(156, 99, 217, 0.6);
            background: #ab79e3;
        }
        
        .dart-pulse svg {
            margin-left: 10px;
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        /* ==========================================================================
           4. 主内容区块 (Containers - vault, cove, nest)
           ========================================================================== */
        .vault {
            max-width: 1280px;
            margin: 6rem auto;
            padding: 0 2rem;
        }
        
        .cove {
            background: var(--surface);
            border-radius: var(--radius);
            margin: 6rem 2rem;
            padding: 5rem 3rem;
            box-shadow: var(--shadow-soft);
            max-width: 1400px;
        }
        
        @media (min-width: 1464px) {
            .cove { margin: 6rem auto; }
        }

        .nest {
            background: linear-gradient(135deg, var(--brand-light) 0%, #ffffff 100%);
            padding: 4rem 2rem;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            text-align: center;
        }

        .lens {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 3rem;
            text-align: center;
            white-space: normal;
        }

        /* ==========================================================================
           5. 卡片组件与排版 (Cards - die, tome, pane) - Data UI 风格
           ========================================================================== */
        .echo-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
        }

        .tome {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 2.5rem;
            transition: all var(--transition);
            position: relative;
            overflow: hidden;
            /* Data UI 质感 */
            border-left: 4px solid var(--brand);
        }

        .tome:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-5px);
        }

        .glyph {
            width: 48px;
            height: 48px;
            background: var(--brand-light);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            color: var(--brand);
        }
        
        .glyph svg {
            width: 24px;
            height: 24px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .tome h3 {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-main);
        }

        .tome p {
            color: var(--text-muted);
            font-size: 0.95rem;
        }

        /* ==========================================================================
           6. 复杂布局区块 (Showcase Ecosystem)
           ========================================================================== */
        .wire-split {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .pane-data {
            background: #1a1525;
            border-radius: 16px;
            padding: 3rem;
            color: #fff;
            position: relative;
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .pane-data::before {
            content: '';
            position: absolute;
            top: 20px; left: 20px; right: 20px; bottom: 20px;
            border: 1px dashed rgba(255,255,255,0.1);
            border-radius: 8px;
            pointer-events: none;
        }

        .pane-node {
            display: flex;
            align-items: flex-start;
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .pane-node:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .pane-glyph {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--brand), #ff7e67);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1.5rem;
            flex-shrink: 0;
        }

        .pane-aura h4 {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }
        .pane-aura p {
            color: rgba(255,255,255,0.6);
            font-size: 0.9rem;
        }
        
        .aura-lead {
            font-size: 1.1rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
        }

        .rune-inline {
            color: var(--brand);
            font-weight: 600;
            display: inline-flex;
            align-items: center;
        }
        .rune-inline:hover {
            text-decoration: underline;
        }

        /* ==========================================================================
           7. 页脚区域 (Footer - gen, roots)
           ========================================================================== */
        .mark {
            background: #110d18;
            color: #8c8599;
            padding: 4rem 2rem 2rem;
            margin-top: auto;
        }

        .roots {
            max-width: 1280px;
            margin: 0 auto;
            justify-content: space-between;
            border-top: 1px solid rgba(255,255,255,0.05);
            padding-top: 2rem;
            align-items: center;
        }

        .roots-brand {
            font-size: 1.2rem;
            font-weight: 700;
            color: #ffffff;
        }
        
        .roots-links {
            display: flex;
            gap: 1.5rem;
            font-size: 0.9rem;
        }
        
        .roots-links a:hover {
            color: #ffffff;
        }

        /* ==========================================================================
           8. 响应式断点 (Responsive)
           ========================================================================== */
        @media (max-width: 1024px) {
            .wire-split {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
            .cove {
                padding: 3rem 2rem;
                margin: 4rem 1rem;
            }
        }

        @media (max-width: 768px) {
            .helm {
                flex-direction: column;
                gap: 1rem;
                padding: 1rem;
            }
            .vein {
                justify-content: center;
                gap: 1rem;
            }
            .glory {
                padding: 8rem 1rem 4rem;
            }
            .wire-feng {
                padding: 2rem 1rem;
            }
            .lens {
                font-size: 1.8rem;
            }
            .roots {
                flex-direction: column;
                gap: 1.5rem;
                text-align: center;
            }
            .pane-data {
                padding: 2rem 1.5rem;
            }
        }

.xun-thread {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-main);
}
.xun-thread,
.xun-thread *,
.xun-thread *::before,
.xun-thread *::after {
    box-sizing: border-box;
}

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

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

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

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

.xun-thread a.xun-rune {
    --aisite-shell-nav-padding: 0.5rem 0;
    --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;
}

.xun-thread a.xun-rune,
.xun-thread a.xun-rune:hover,
.xun-thread a.xun-rune:focus,
.xun-thread a.xun-rune:active,
.xun-thread a.xun-rune.active,
.xun-thread a.xun-rune[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);
}

.xun-thread .xun-helm{
            display: flex;
            flex-wrap: wrap;
        }

.xun-thread .xun-helm > *{
            min-width: 0;
        }

.xun-thread{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 1000;
            border-bottom: 1px solid rgba(156, 99, 217, 0.1);
        }

.xun-thread .xun-helm{
            max-width: 1280px;
            margin: 0 auto;
            padding: 1rem 2rem;
            justify-content: space-between;
            align-items: center;
        }

.xun-thread .xun-seal{
            flex-shrink: 0;
            display: flex;
            align-items: center;
        }

.xun-thread .xun-seal img{
            height: 32px;
            width: auto;
            display: block;
        }

.xun-thread .xun-vein{
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: center;
        }

.xun-thread .xun-rune{
            font-size: 0.95rem;
            font-weight: 500;
            color: #6b6378;
            padding: 0.5rem 0;
            position: relative;
        }

.xun-thread .xun-rune:hover, .xun-thread .xun-rune.active{
            color: #9c63d9;
        }

.xun-thread .xun-rune.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #9c63d9;
            border-radius: 2px;
        }

@media (max-width: 768px){.xun-thread .xun-helm{
                flex-direction: column;
                gap: 1rem;
                padding: 1rem;
            }

.xun-thread .xun-vein{
                justify-content: center;
                gap: 1rem;
            }}

.xun-thread {
    background: rgb(255, 255, 255);
    background-image: none;
}

.gen-mark {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-main);
}
.gen-mark,
.gen-mark *,
.gen-mark *::before,
.gen-mark *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.gen-mark .gen-roots{
            display: flex;
            flex-wrap: wrap;
        }

.gen-mark .gen-roots > *{
            min-width: 0;
        }

.gen-mark{
            background: #110d18;
            color: #8c8599;
            padding: 4rem 2rem 2rem;
            margin-top: auto;
        }

.gen-mark .gen-roots{
            max-width: 1280px;
            margin: 0 auto;
            justify-content: space-between;
            border-top: 1px solid rgba(255,255,255,0.05);
            padding-top: 2rem;
            align-items: center;
        }

.gen-mark .gen-roots-brand{
            font-size: 1.2rem;
            font-weight: 700;
            color: #ffffff;
        }

.gen-mark .gen-roots-links{
            display: flex;
            gap: 1.5rem;
            font-size: 0.9rem;
        }

.gen-mark .gen-roots-links a:hover{
            color: #ffffff;
        }

@media (max-width: 768px){.gen-mark .gen-roots{
                flex-direction: column;
                gap: 1.5rem;
                text-align: center;
            }}