/* ==========================================================================
           视觉基因与变量系统 (继承自深色沉浸展示型)
           ========================================================================== */
        :root {
            --color-bg-base: #090b10;
            --color-bg-surface: #121620;
            --color-bg-elevated: #1a202d;
            --color-bg-code: #050608;
            
            --color-brand: #ee277d;
            --color-brand-glow: rgba(238, 39, 125, 0.4);
            --color-accent-1: #ff4e50;
            --color-accent-2: #f9d423;
            
            --color-ink-primary: #f0f2f5;
            --color-ink-secondary: #9ba3b5;
            --color-ink-muted: #64708b;
            --color-ink-border: rgba(255, 255, 255, 0.08);
            
            --radius-sm: 8px;
            --radius-md: 15px;
            --radius-lg: 21px;
            
            --transition-base: 0.35s ease;
            --shadow-glow: 0 0 20px var(--color-brand-glow);
            --shadow-surface: 0 10px 30px rgba(0, 0, 0, 0.5);
            
            --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            --layout-max-width: 1240px;
        }

        /* ==========================================================================
           基础重置与强制规范
           ========================================================================== */
        *, *::before, *::after {
            box-sizing: border-box;
            min-width: 0; /* 强制Flex子项规则 */
        }

        body {
            margin: 0;
            padding: 0;
            background-color: var(--color-bg-base);
            color: var(--color-ink-primary);
            font-family: var(--font-family);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            word-break: break-word; /* 强制文本换行规则 */
            overflow-wrap: break-word;
        }

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

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        h1, h2, h3, h4 {
            margin-top: 0;
            white-space: normal; /* 强制标题换行规则 */
            color: var(--color-ink-primary);
        }

        /* 外部包裹器 */
        .veil {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* ==========================================================================
           复用首页导航栏样式 (强制保持)
           ========================================================================== */
        .brim {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(9, 11, 16, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--color-ink-border);
        }

        .talar {
            display: flex;
            flex-wrap: wrap; /* 强制Flex规则 */
            align-items: center;
            justify-content: space-between;
            max-width: var(--layout-max-width);
            margin: 0 auto;
            padding: 1rem 2rem;
        }

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

        .fold {
            display: flex;
            flex-wrap: wrap; /* 强制Flex规则 */
            gap: 2rem;
            align-items: center;
        }

        .knot {
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--color-ink-secondary);
            position: relative;
            padding: 0.5rem 0;
        }

        .knot:hover {
            color: var(--color-ink-primary);
        }

        .knot.active {
            color: var(--color-brand);
        }

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

        /* ==========================================================================
           公共组件语法 (同族变体)
           ========================================================================== */
        .myth-primary {
            font-size: clamp(2.2rem, 4vw, 3.8rem);
            font-weight: 800;
            line-height: 1.15;
            letter-spacing: -0.02em;
            margin-bottom: 1.5rem;
        }

        .myth-secondary {
            font-size: clamp(1.8rem, 3vw, 2.5rem);
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: -0.01em;
            margin-bottom: 2rem;
        }

        .myth-tertiary {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--color-ink-primary);
        }

        .ink-lead {
            font-size: clamp(1.1rem, 2vw, 1.25rem);
            color: var(--color-ink-secondary);
            margin-bottom: 2.5rem;
            max-width: 600px;
        }

        /* 按钮语法 */
        .spur, .wing {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.8rem 2rem;
            font-weight: 600;
            border-radius: 30px;
            transition: all var(--transition-base);
            cursor: pointer;
            text-align: center;
        }

        .spur {
            background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-accent-1) 100%);
            color: #fff;
            box-shadow: 0 4px 15px rgba(238, 39, 125, 0.3);
            border: 1px solid transparent;
        }

        .spur:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(238, 39, 125, 0.5);
        }

        .wing {
            background: transparent;
            color: var(--color-ink-primary);
            border: 1px solid var(--color-ink-border);
        }

        .wing:hover {
            background: var(--color-bg-elevated);
            border-color: var(--color-ink-secondary);
        }

        /* 代码块语法 */
        .craft-code {
            background: var(--color-bg-code);
            padding: 1.5rem;
            border-radius: var(--radius-md);
            border: 1px solid var(--color-ink-border);
            overflow-x: auto;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            font-size: 0.9rem;
            color: #a6accd;
            margin: 1rem 0;
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
        }
        .craft-code .token-keyword { color: #89ddff; }
        .craft-code .token-string { color: #c3e88d; }
        .craft-code .token-comment { color: #676e95; font-style: italic; }

        /* ==========================================================================
           主要内容区及各顶级块设计
           ========================================================================== */
        main {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 0; /* 区块间距由内部padding控制，保持沉浸感 */
        }

        /* 1. 接入指南 (Hero - Split Diagonal 变体) */
        .herald {
            position: relative;
            width: 100%;
            min-height: 85vh;
            display: flex;
            flex-wrap: wrap; /* 强制Flex规则 */
            align-items: center;
            background: var(--color-bg-base);
            overflow: hidden;
            padding: 6rem 2rem;
        }

        /* 创意种子：split_diagonal 对角线切割背景 */
        .herald::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 45%;
            background: var(--color-bg-surface);
            transform: skewX(-12deg) translateX(10%);
            z-index: 0;
            border-left: 1px solid var(--color-ink-border);
        }

        .herald-saddle {
            position: relative;
            z-index: 1;
            display: flex;
            flex-wrap: wrap;
            max-width: var(--layout-max-width);
            margin: 0 auto;
            width: 100%;
            gap: 4rem;
            align-items: center;
        }

        .herald-ink-veil {
            flex: 1;
            min-width: 320px;
        }

        .herald-hue-veil {
            flex: 1.2;
            min-width: 320px;
            position: relative;
        }

        .herald-hue-veil::after {
            content: '';
            position: absolute;
            inset: -20px;
            background: radial-gradient(circle at 50% 50%, var(--color-brand-glow) 0%, transparent 70%);
            z-index: -1;
            opacity: 0.5;
            filter: blur(40px);
        }

        .hue-realm {
            border-radius: var(--radius-lg);
            border: 1px solid var(--color-ink-border);
            box-shadow: var(--shadow-surface);
            transform: perspective(1000px) rotateY(-5deg);
            transition: transform var(--transition-base);
        }
        
        .herald-hue-veil:hover .hue-realm {
            transform: perspective(1000px) rotateY(0deg) translateY(-5px);
        }

        .herald-herd {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 2rem;
        }

        /* 2. 接入指南主题焦点 (Topic Focus) */
        .apex {
            background: linear-gradient(to bottom, var(--color-bg-base), var(--color-bg-surface));
            padding: 6rem 2rem;
            position: relative;
        }

        .apex-realm {
            max-width: var(--layout-max-width);
            margin: 0 auto;
        }

        .apex-herd {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .carre {
            padding: 2.5rem;
            background: var(--color-bg-elevated);
            border-radius: var(--radius-md);
            border: 1px solid var(--color-ink-border);
            transition: all var(--transition-base);
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .carre:hover {
            transform: translateY(-5px);
            border-color: var(--color-brand);
            box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(238, 39, 125, 0.2);
        }

        .rune-veil {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: rgba(238, 39, 125, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-brand);
        }

        .carre-ink {
            color: var(--color-ink-secondary);
            font-size: 0.95rem;
        }

        /* 3. 核心信息路径 (Key Path - 核心配置步骤) */
        .swift {
            padding: 6rem 2rem;
            background: var(--color-bg-surface);
            border-top: 1px solid var(--color-ink-border);
        }

        .swift-craft {
            max-width: var(--layout-max-width);
            margin: 0 auto;
        }

        .swift-herd {
            display: flex;
            flex-wrap: wrap;
            gap: 3rem;
            margin-top: 4rem;
        }

        .folio {
            flex: 1;
            min-width: 320px;
            background: var(--color-bg-base);
            border-radius: var(--radius-lg);
            border: 1px solid var(--color-ink-border);
            padding: 3rem 2.5rem;
            position: relative;
            overflow: hidden;
        }

        .folio::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
        }
        
        .folio-android::before { background: #3DDC84; }
        .folio-ios::before { background: #007AFF; }

        .folio-myth {
            display: flex;
            align-items: center;
            gap: 1rem;
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--color-ink-border);
        }

        .stud {
            margin-bottom: 2.5rem;
            position: relative;
        }

        .stud:last-child {
            margin-bottom: 0;
        }

        .stud-myth {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--color-ink-primary);
            margin-bottom: 1rem;
        }

        .stud-belt {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--color-bg-elevated);
            border: 1px solid var(--color-brand);
            color: var(--color-brand);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
        }

        .stud-ink {
            color: var(--color-ink-secondary);
            font-size: 0.95rem;
            padding-left: calc(24px + 0.8rem);
        }

        /* 4. 使用场景与补充说明 (Usage Context) */
        .context {
            padding: 6rem 2rem;
            background: var(--color-bg-base);
            border-top: 1px dashed var(--color-ink-border);
        }

        .context-saddle {
            max-width: 800px;
            margin: 0 auto;
        }

        .pouch-herd {
            margin-top: 3rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .pouch {
            background: var(--color-bg-surface);
            border: 1px solid var(--color-ink-border);
            border-radius: var(--radius-md);
            overflow: hidden;
        }

        .pouch summary {
            padding: 1.5rem;
            font-weight: 600;
            cursor: pointer;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background var(--transition-base);
        }

        .pouch summary::-webkit-details-marker {
            display: none;
        }

        .pouch summary:hover {
            background: var(--color-bg-elevated);
        }

        .pouch summary::after {
            content: '+';
            font-size: 1.5rem;
            color: var(--color-brand);
            transition: transform 0.3s ease;
        }

        .pouch[open] summary::after {
            transform: rotate(45deg);
        }

        .pouch-ink {
            padding: 0 1.5rem 1.5rem 1.5rem;
            color: var(--color-ink-secondary);
            border-top: 1px solid rgba(255,255,255,0.03);
            margin-top: 0.5rem;
        }

        /* ==========================================================================
           页脚结构
           ========================================================================== */
        .edge {
            background: var(--color-bg-surface);
            padding: 4rem 2rem 2rem;
            border-top: 1px solid var(--color-ink-border);
            margin-top: auto;
        }

        .sole {
            max-width: var(--layout-max-width);
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap; /* 强制Flex规则 */
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
        }

        .seal {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--color-ink-primary);
            letter-spacing: -0.02em;
        }

        .edge-knot-herd {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
        }

        .edge-knot {
            color: var(--color-ink-secondary);
            font-size: 0.9rem;
        }

        .edge-knot:hover {
            color: var(--color-brand);
        }

        .edge-ink {
            width: 100%;
            text-align: center;
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid var(--color-ink-border);
            color: var(--color-ink-muted);
            font-size: 0.85rem;
        }

        /* ==========================================================================
           响应式断点
           ========================================================================== */
        @media (max-width: 1024px) {
            .herald::before {
                left: 55%;
                transform: skewX(-10deg) translateX(0);
            }
        }

        @media (max-width: 768px) {
            .talar {
                flex-direction: column;
                gap: 1rem;
            }
            .herald {
                padding: 4rem 1.5rem;
            }
            .herald::before {
                display: none; /* 移动端取消对角线，恢复纯色/渐变叠加 */
            }
            .herald-saddle {
                flex-direction: column;
                text-align: center;
            }
            .ink-lead {
                margin-left: auto;
                margin-right: auto;
            }
            .herald-herd {
                justify-content: center;
            }
            .swift-herd,
            .apex-herd {
                grid-template-columns: 1fr;
            }
            .sole {
                flex-direction: column;
                text-align: center;
            }
            .edge-knot-herd {
                justify-content: center;
            }
            .stud-ink {
                padding-left: 0;
                margin-top: 1rem;
            }
            .stud-myth {
                flex-direction: column;
                align-items: flex-start;
            }
        }

.talar-brim {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-ink-primary);
}
.talar-brim,
.talar-brim *,
.talar-brim *::before,
.talar-brim *::after {
    box-sizing: border-box;
}

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

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

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

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

.talar-brim a.talar-knot {
    --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;
}

.talar-brim a.talar-knot,
.talar-brim a.talar-knot:hover,
.talar-brim a.talar-knot:focus,
.talar-brim a.talar-knot:active,
.talar-brim a.talar-knot.active,
.talar-brim a.talar-knot[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);
}

.talar-brim{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(9, 11, 16, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            flex-wrap: wrap;
        }

.talar-brim .talar-talar{
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 1rem 4vw;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1.5rem;
        }

.talar-brim .talar-sign{
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }

.talar-brim .talar-sign img{
            height: 32px;
            width: auto;
            display: block;
        }

.talar-brim .talar-fold{
            display: flex;
            align-items: center;
            gap: 2.5rem;
            flex-wrap: wrap;
        }

.talar-brim .talar-knot{
            font-size: 0.95rem;
            font-weight: 500;
            color: #9ba3b5;
            position: relative;
            padding: 0.5rem 0;
        }

.talar-brim .talar-knot:hover, .talar-brim .talar-knot.active{
            color: #f0f2f5;
        }

.talar-brim .talar-knot::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #ee277d;
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.35s ease;
        }

.talar-brim .talar-knot:hover::after, .talar-brim .talar-knot.active::after{
            transform: scaleX(1);
            transform-origin: left;
        }

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

.talar-brim .talar-fold{
                gap: 1rem;
                justify-content: center;
                width: 100%;
            }}

.talar-brim {
    background: rgb(9, 11, 16);
    background-image: none;
}

.seal-edge {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-ink-primary);
}
.seal-edge,
.seal-edge *,
.seal-edge *::before,
.seal-edge *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.seal-edge .seal-knot{
            font-size: 0.95rem;
            font-weight: 500;
            color: #9ba3b5;
            position: relative;
            padding: 0.5rem 0;
        }

.seal-edge .seal-knot:hover, .seal-edge .seal-knot.active{
            color: #f0f2f5;
        }

.seal-edge .seal-knot::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #ee277d;
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.35s ease;
        }

.seal-edge .seal-knot:hover::after, .seal-edge .seal-knot.active::after{
            transform: scaleX(1);
            transform-origin: left;
        }

.seal-edge{
            background: #121620;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding: 5rem 4vw 2rem;
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            width: 100%;
        }

.seal-edge .seal-seal{
            max-width: 1320px;
            margin: 0 auto;
            width: 100%;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 3rem;
            padding-bottom: 3rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

.seal-edge .seal-seal-brand{
            flex: 1 1 300px;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            flex-wrap: wrap;
        }

.seal-edge .seal-seal-brand .seal-myth{
            font-size: 1.5rem;
            font-weight: 800;
            letter-spacing: 1px;
            color: #fff;
        }

.seal-edge .seal-seal-brand .seal-ink{
            color: #9ba3b5;
            font-size: 0.9rem;
            max-width: 300px;
        }

.seal-edge .seal-seal-links{
            display: flex;
            gap: 4rem;
            flex-wrap: wrap;
        }

.seal-edge .seal-seal-col{
            display: flex;
            flex-direction: column;
            gap: 1rem;
            flex-wrap: wrap;
        }

.seal-edge .seal-seal-col .seal-myth{
            font-size: 1rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 0.5rem;
        }

.seal-edge .seal-seal-col .seal-knot{
            color: #9ba3b5;
            font-size: 0.9rem;
            padding: 0;
        }

.seal-edge .seal-seal-col .seal-knot::after{
            display: none;
        }

.seal-edge .seal-seal-col .seal-knot:hover{
            color: #ee277d;
        }

.seal-edge .seal-sole{
            max-width: 1320px;
            margin: 2rem auto 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            color: #64708b;
            font-size: 0.85rem;
        }

@media (max-width: 768px){.seal-edge .seal-seal{
                flex-direction: column;
                gap: 2rem;
            }

.seal-edge .seal-seal-links{
                gap: 2rem;
                flex-direction: column;
            }

.seal-edge .seal-sole{
                flex-direction: column;
                text-align: center;
            }}