/* 核心变量与视觉基因 */
    :root {
        --tg-bg: #050505;
        --tg-surface: #121212;
        --tg-surface-hover: #1a1a1a;
        --tg-accent: #bf37b8;
        --tg-accent-glow: rgba(191, 55, 184, 0.2);
        --tg-accent-hover: #d241ca;
        --tg-text-main: #f0f0f0;
        --tg-text-muted: #999999;
        --tg-radius: 16px;
        --tg-radius-lg: 24px;
        --tg-max-width: 1200px;
        --tg-transition: 0.35s ease;
    }

    /* 基础重置 */
    *, *::before, *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        min-width: 0; /* Flex约束 */
    }

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

    /* 文本换行规范 */
    .ray, .node {
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .ray {
        word-break: keep-all; /* 中文保持词组完整 */
    }

    /* 链接与列表重置 */
    a.glyph {
        text-decoration: none;
        color: inherit;
        transition: color var(--tg-transition);
    }
    
    ul, ol {
        list-style: none;
    }

    /* 布局约束容器 */
    .fold, .hull, .nest {
        width: 100%;
        max-width: var(--tg-max-width);
        margin: 0 auto;
        padding: 0 5%;
    }

    /* Flex 通用包裹 */
    .wing {
        display: flex;
        flex-wrap: wrap;
    }

    /* ----------------------------------
       复用首页壳层：导航栏 (Header)
       ---------------------------------- */
    .halo {
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(5, 5, 5, 0.8);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .halo-inner {
        max-width: var(--tg-max-width);
        margin: 0 auto;
        padding: 1rem 5%;
        justify-content: space-between;
        align-items: center;
    }

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

    .loop {
        gap: 2rem;
        align-items: center;
    }

    .halo .glyph {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--tg-text-muted);
        position: relative;
    }

    .halo .glyph:hover {
        color: var(--tg-text-main);
    }

    .halo .glyph.active {
        color: var(--tg-text-main);
    }

    .halo .glyph.active::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--tg-accent);
        border-radius: 2px;
        box-shadow: 0 0 8px var(--tg-accent-glow);
    }

    /* ----------------------------------
       主内容区 (Main)
       ---------------------------------- */
    .core {
        display: flex;
        flex-direction: column;
        gap: 4rem;
        padding-bottom: 6rem;
    }

    /* Section 1: Hero (告别语言障碍) -> Vista */
    .vista {
        position: relative;
        width: 100%;
        min-height: 55vh;
        display: flex;
        align-items: center;
        background: radial-gradient(ellipse at top right, rgba(191, 55, 184, 0.15) 0%, transparent 60%),
                    linear-gradient(180deg, transparent 50%, var(--tg-bg) 100%);
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .vista::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(191, 55, 184, 0.3), transparent);
    }

    .vista .fold {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
    }

    .node-vista {
        font-size: clamp(2.5rem, 6vw, 4rem);
        font-weight: 800;
        letter-spacing: -0.03em;
        line-height: 1.15;
        background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .ray-lead {
        font-size: clamp(1.1rem, 2vw, 1.25rem);
        color: var(--tg-text-muted);
        max-width: 700px;
        line-height: 1.7;
    }

    .vista .wing-features {
        gap: 1.5rem;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }

    .hue-feature {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 0.75rem 1.25rem;
        border-radius: 100px;
        font-size: 0.95rem;
        color: var(--tg-text-main);
        transition: transform var(--tg-transition), background var(--tg-transition), border-color var(--tg-transition);
    }

    .hue-feature:hover {
        transform: translateY(-2px);
        background: rgba(191, 55, 184, 0.1);
        border-color: rgba(191, 55, 184, 0.3);
    }

    .echo-feature {
        width: 20px;
        height: 20px;
        color: var(--tg-accent);
    }

    /* 按钮组件语法 */
    .zap {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding: 1rem 2.5rem;
        background: var(--tg-accent);
        color: #fff;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 600;
        text-decoration: none;
        border: 1px solid transparent;
        transition: all var(--tg-transition);
        box-shadow: 0 10px 25px var(--tg-accent-glow);
    }

    .zap:hover {
        background: var(--tg-accent-hover);
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(191, 55, 184, 0.35);
    }

    .zap .echo {
        width: 24px;
        height: 24px;
    }

    /* Section 2: Steps (官方语言包安装指南) -> Cloud (<aside>) */
    .cloud {
        position: relative;
    }

    .cloud .hull {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
    
    .node-fold {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        font-weight: 700;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .ray-fold {
        text-align: center;
        color: var(--tg-text-muted);
        max-width: 600px;
        margin: 0 auto;
    }

    .wing-steps {
        gap: 2rem;
        justify-content: center;
    }

    .dart-step {
        flex: 1;
        min-width: 280px;
        background: var(--tg-surface);
        border: 1px solid #262626;
        border-radius: var(--tg-radius-lg);
        padding: 2.5rem 2rem;
        position: relative;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        transition: transform var(--tg-transition), border-color var(--tg-transition);
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .dart-step:hover {
        transform: translateY(-5px);
        border-color: rgba(191, 55, 184, 0.4);
    }

    .step-core {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: rgba(191, 55, 184, 0.15);
        color: var(--tg-accent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: 800;
        border: 1px solid rgba(191, 55, 184, 0.3);
    }

    .node-step {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--tg-text-main);
    }

    .ray-step {
        color: var(--tg-text-muted);
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .ray-step .glyph {
        color: var(--tg-accent);
        text-decoration: underline;
        text-underline-offset: 4px;
        font-weight: 500;
    }
    
    .ray-step .glyph:hover {
        color: #fff;
    }

    /* Section 3: FAQ (常见汉化问题排查) -> Flare (<article>) */
    .flare {
        background: linear-gradient(180deg, var(--tg-bg) 0%, rgba(18, 18, 18, 0.5) 100%);
        padding: 4rem 0;
        border-top: 1px solid rgba(255,255,255,0.03);
    }

    .flare .nest {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .wing-faq {
        flex-direction: column;
        gap: 1rem;
        max-width: 800px;
        margin: 0 auto;
        width: 100%;
    }

    .jade-faq {
        background: var(--tg-surface);
        border: 1px solid #262626;
        border-radius: var(--tg-radius);
        padding: 1.5rem 2rem;
        transition: background var(--tg-transition), border-color var(--tg-transition);
    }

    .jade-faq:hover {
        background: var(--tg-surface-hover);
        border-color: rgba(255, 255, 255, 0.15);
    }

    .node-q {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--tg-text-main);
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 0.75rem;
    }

    .node-q::before {
        content: 'Q.';
        color: var(--tg-accent);
        font-weight: 800;
    }

    .ray-a {
        color: var(--tg-text-muted);
        font-size: 0.95rem;
        padding-left: 2rem;
    }

    /* ----------------------------------
       页脚 (Footer) -> Root (<section>)
       ---------------------------------- */
    .root {
        border-top: 1px solid #262626;
        padding: 4rem 5%;
        background: var(--tg-surface);
        margin-top: auto;
    }

    .root .base {
        max-width: var(--tg-max-width);
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .brand-ray {
        font-size: 1.5rem;
        font-weight: 800;
        letter-spacing: 1px;
        color: var(--tg-text-main);
    }

    .root .loop {
        gap: 2rem;
        justify-content: center;
    }

    .root .glyph {
        color: var(--tg-text-muted);
        font-size: 0.9rem;
    }

    .root .glyph:hover {
        color: var(--tg-accent);
    }

    .ray-copyright {
        color: #666;
        font-size: 0.85rem;
        margin-top: 1rem;
    }

    /* 响应式断点 */
    @media (max-width: 1024px) {
        .halo .loop {
            display: none; /* 简化演示，通常这里会有汉堡菜单，依据指示保持结构原样 */
        }
        .halo-inner {
            justify-content: center;
        }
    }

    @media (max-width: 768px) {
        .core {
            gap: 3rem;
        }
        .vista {
            padding-top: 2rem;
            min-height: 60vh;
        }
        .wing-features {
            flex-direction: column;
            align-items: center;
        }
        .hue-feature {
            width: 100%;
            justify-content: center;
        }
        .dart-step {
            min-width: 100%;
        }
        .jade-faq {
            padding: 1.25rem 1rem;
        }
    }

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

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

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

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

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

.helm-halo a.helm-glyph {
    --aisite-shell-nav-padding: 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;
}

.helm-halo a.helm-glyph,
.helm-halo a.helm-glyph:hover,
.helm-halo a.helm-glyph:focus,
.helm-halo a.helm-glyph:active,
.helm-halo a.helm-glyph.active,
.helm-halo a.helm-glyph[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);
}

.helm-halo .helm-wing{
            display: flex;
            flex-wrap: wrap;
        }

.helm-halo .helm-wing > *{
            min-width: 0;
        }

.helm-halo{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(5, 5, 5, 0.8);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #262626;
            padding: 1rem 2rem;
        }

.helm-halo .helm-halo-inner{
            max-width: 1280px;
            margin: 0 auto;
            justify-content: space-between;
            align-items: center;
        }

.helm-halo .helm-ink img{
            height: 32px;
            width: auto;
            display: block;
        }

.helm-halo .helm-loop{
            gap: 2rem;
            align-items: center;
        }

.helm-halo .helm-glyph{
            color: #999999;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.35s ease;
            position: relative;
        }

.helm-halo .helm-glyph:hover{
            color: #f0f0f0;
        }

.helm-halo .helm-glyph.active{
            color: #f0f0f0;
        }

.helm-halo .helm-glyph.active::after{
            content: '';
            position: absolute;
            bottom: -1.25rem;
            left: 0;
            width: 100%;
            height: 2px;
            background: #bf37b8;
            box-shadow: 0 0 10px rgba(191, 55, 184, 0.2);
        }

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

.helm-halo .helm-loop{ gap: 1rem; flex-wrap: wrap; justify-content: center; }}

.helm-halo {
    background: rgb(5, 5, 5);
    background-image: none;
}

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

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

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

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

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

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

.root-blip .root-wing{
            display: flex;
            flex-wrap: wrap;
        }

.root-blip .root-wing > *{
            min-width: 0;
        }

.root-blip .root-ray{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.root-blip p.root-ray{
            word-break: keep-all;
            line-height: 1.7;
        }

.root-blip{
            border-top: 1px solid #262626;
            padding: 4rem 2rem 2rem;
            background: #050505;
            margin-top: auto;
        }

.root-blip .root-base{
            max-width: 1280px;
            margin: 0 auto;
            justify-content: space-between;
            align-items: flex-start;
            gap: 3rem;
        }

.root-blip .root-root-brand{
            font-size: 1.5rem;
            font-weight: 700;
            color: #f0f0f0;
            margin-bottom: 1rem;
        }

.root-blip .root-root-links{
            gap: 4rem;
        }

.root-blip .root-wire{
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

.root-blip .root-wire-node{
            color: #f0f0f0;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

.root-blip .root-wire-glyph{
            color: #999999;
            text-decoration: none;
            transition: all 0.35s ease;
            font-size: 0.9rem;
        }

.root-blip .root-wire-glyph:hover{
            color: #bf37b8;
        }

.root-blip .root-seal{
            max-width: 1280px;
            margin: 3rem auto 0;
            padding-top: 2rem;
            border-top: 1px solid #262626;
            text-align: center;
            color: #999999;
            font-size: 0.875rem;
        }

@media (max-width: 768px){.root-blip .root-base{ flex-direction: column; }

.root-blip .root-root-links{ flex-direction: column; gap: 2rem; }}