/* 变量体系：继承首页视觉基因 */
:root {
    --c-bg: #fcfdfc;
    --c-surface: #ffffff;
    --c-surface-alt: #f1f3f4;
    --c-surface-dark: #1f2328;
    --c-surface-darker: #0d1117;
    --c-text-main: #202124;
    --c-text-muted: #5f6368;
    --c-text-inverse: #ffffff;
    --c-text-inverse-muted: #9aa0a6;
    --c-accent-green: #73e163;
    --c-accent-blue: #1a73e8;
    --c-accent-blue-hover: #1557b0;
    --c-border: #dadce0;
    --shadow-sm: 0 4px 12px rgba(32, 33, 36, 0.05);
    --shadow-md: 0 8px 24px rgba(32, 33, 36, 0.08);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-pill: 50px;
    --transition: 0.15s ease;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 基础重置与排版约束 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

/* 导航栏 (完全复用首页结构与类名) */
.tail {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(252, 253, 252, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
}
.omni {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 5vw;
    min-width: 0;
}
.dino {
    display: flex;
    align-items: center;
    min-width: 0;
}
.dino img {
    height: 32px;
    width: auto;
    display: block;
}
.pin {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    min-width: 0;
}
.node {
    text-decoration: none;
    color: var(--c-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
    min-width: 0;
}
.node:hover, .node:focus {
    color: var(--c-accent-blue);
}
.node.active {
    color: var(--c-accent-blue);
    font-weight: 600;
}

/* 主内容容器 */
.sandbox {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* 1. Hero 区域 (Section - Acquire) - 继承首页 portal 语法 */
.portal {
    width: 100%;
    min-height: 45vh;
    background: linear-gradient(135deg, var(--c-surface-dark) 0%, var(--c-surface-darker) 100%);
    display: flex;
    flex-wrap: wrap;
    padding: 6rem 5vw;
    color: var(--c-text-inverse);
    align-items: center;
    justify-content: center;
}
.portal-cluster {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
    min-width: 0;
}
.portal-cluster {
    flex: 1 1 500px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.ink-1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--c-text-inverse);
}
.ink-1 span {
    color: var(--c-accent-green);
}
.portal .flag {
    font-size: 1.125rem;
    color: var(--c-text-inverse-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}
.sync {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background-color: var(--c-accent-blue);
    color: var(--c-text-inverse);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
    min-width: 0;
}
.sync:hover, .sync:focus {
    background-color: var(--c-accent-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 115, 232, 0.3);
}

/* 数据卡片 (对比卡/DL结构) */
.data-pane {
    flex: 0 1 400px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 0;
}
.data-pane .ink-3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--c-text-inverse);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}
.data-pin {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}
.data-lens {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
}
.data-lens dt {
    color: var(--c-text-inverse-muted);
    font-size: 0.95rem;
    min-width: 0;
}
.data-lens dd {
    color: var(--c-text-inverse);
    font-weight: 500;
    font-size: 0.95rem;
    min-width: 0;
}

/* 2. 使用场景 (Article - Acquire) */
.nexus {
    width: 100%;
    padding: 6rem 5vw;
    background-color: var(--c-bg);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.nexus-cluster {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    min-width: 0;
}
.ink-2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--c-text-main);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
.nexus-cluster > .flag {
    text-align: center;
    color: var(--c-text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 4rem;
}
.stripe {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    min-width: 0;
}
.pane {
    background: var(--c-surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-border);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}
.pane:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.glyph-cluster {
    width: 56px;
    height: 56px;
    background: rgba(115, 225, 99, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    min-width: 0;
}
.glyph {
    width: 28px;
    height: 28px;
    fill: var(--c-accent-green);
}
.pane .ink-3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--c-text-main);
    margin-bottom: 0.75rem;
}
.pane .flag {
    color: var(--c-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 3. 安装指南 (Div - Steps) */
.launch {
    width: 100%;
    padding: 6rem 5vw;
    background-color: var(--c-surface-alt);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.launch-cluster {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    min-width: 0;
    background: var(--c-surface);
    padding: 4rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-border);
}
.launch-cluster .ink-2 {
    text-align: left;
    margin-bottom: 2rem;
}
.crest {
    list-style: none;
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}
.lens {
    position: relative;
    padding-left: 4rem;
    min-width: 0;
}
.lens::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--c-surface-dark);
    color: var(--c-text-inverse);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}
.lens .ink-4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--c-text-main);
    margin-bottom: 0.5rem;
}
.lens .flag {
    color: var(--c-text-muted);
    font-size: 0.95rem;
}

/* 页脚区域 */
.spark {
    background-color: var(--c-bg);
    border-top: 1px solid var(--c-border);
    padding: 4rem 5vw 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.cache {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    min-width: 0;
}
.trace {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--c-border);
    min-width: 0;
    gap: 1rem;
}
.trace-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--c-text-muted);
    letter-spacing: -0.02em;
}
.trace-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-width: 0;
}
.trace-node {
    color: var(--c-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition);
    min-width: 0;
}
.trace-node:hover, .trace-node:focus {
    color: var(--c-accent-blue);
}

/* 响应式断点 */
@media (max-width: 1024px) {
    .portal-cluster {
        gap: 2rem;
    }
    .launch-cluster {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .omni {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .pin {
        justify-content: center;
        gap: 1rem;
    }
    .portal {
        padding: 4rem 1.5rem;
        text-align: center;
    }
    .portal-cluster {
        align-items: center;
    }
    .portal .flag {
        margin-left: auto;
        margin-right: auto;
    }
    .data-pane {
        width: 100%;
        flex-basis: auto;
    }
    .stripe {
        grid-template-columns: 1fr;
    }
    .launch-cluster {
        padding: 2rem 1.5rem;
    }
    .lens {
        padding-left: 0;
        padding-top: 3.5rem;
    }
    .trace {
        flex-direction: column;
        text-align: center;
    }
    .trace-links {
        justify-content: center;
    }
}

.omni-tail .omni-node{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.omni-tail .omni-omni, .omni-tail .omni-pin{
            display: flex;
            flex-wrap: wrap;
        }

.omni-tail .omni-omni > *, .omni-tail .omni-pin > *{
            min-width: 0;
        }

.omni-tail{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #dadce0;
            padding: 1rem 5vw;
        }

.omni-tail .omni-omni{
            max-width: 1400px;
            margin: 0 auto;
            justify-content: space-between;
            align-items: center;
        }

.omni-tail .omni-dino{
            width: 140px;
            display: flex;
            align-items: center;
        }

.omni-tail .omni-dino img{
            width: 100%;
            height: auto;
        }

.omni-tail .omni-pin{
            gap: 2rem;
            align-items: center;
        }

.omni-tail .omni-node{
            text-decoration: none;
            color: #5f6368;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.15s ease;
            padding: 0.5rem 0;
            position: relative;
        }

.omni-tail .omni-node:hover{
            color: #202124;
        }

.omni-tail .omni-node.active{
            color: #1a73e8;
        }

.omni-tail .omni-node.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #1a73e8;
            border-radius: 2px;
        }

@media (max-width: 768px){.omni-tail .omni-pin{
                display: none; 
            }}

.omni-tail {
    background: rgb(255, 255, 255);
    background-image: none;
}

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

.cache-spark [role="navigation"],
.cache-spark div,
.cache-spark section,
.cache-spark article,
.cache-spark aside,
.cache-spark p,
.cache-spark h1,
.cache-spark h2,
.cache-spark h3,
.cache-spark h4,
.cache-spark h5,
.cache-spark h6,
.cache-spark a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

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

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

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

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

.cache-spark .cache-flag{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.cache-spark .cache-flag{
            word-break: keep-all;
        }

.cache-spark .cache-ink-3{
            font-size: clamp(1.25rem, 2vw, 1.5rem);
            font-weight: 600;
            line-height: 1.4;
            white-space: normal;
            margin-bottom: 1rem;
        }

.cache-spark{
            background-color: #1f2328;
            color: #e8eaed;
            padding: 4rem 5vw 2rem;
        }

.cache-spark .cache-cache{
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 2rem;
            margin-bottom: 2rem;
        }

.cache-spark .cache-cache .cache-ink-3{
            color: #ffffff;
            margin: 0;
        }

.cache-spark .cache-trace{
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }

.cache-spark .cache-trace a{
            color: #5f6368;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.15s ease;
        }

.cache-spark .cache-trace a:hover{
            color: #ffffff;
        }