/* 变量系统：继承首页视觉契约 */
        :root {
            --brand-primary: #f0606a;
            --brand-primary-light: #ff8b94;
            --brand-primary-dark: #d64550;
            --bg-base: #ffffff;
            --bg-surface: #fdfbfb;
            --bg-alt: #fff0f1;
            --text-main: #1f2937;
            --text-muted: #4b5563;
            --text-light: #9ca3af;
            --radius-sm: 9px;
            --radius-md: 12px;
            --radius-lg: 15px;
            --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03);
            --shadow-hover: 0 10px 30px rgba(240, 96, 106, 0.1);
            --transition-speed: 0.15s ease;
            --layout-max-width: 1280px;
        }

        /* 基础重置 */
        *, *::before, *::after {
            box-sizing: border-box;
            min-width: 0; /* Flex子项防溢出 */
        }
        body {
            margin: 0;
            font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            color: var(--text-main);
            background-color: var(--bg-base);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        
        /* 文本换行规范 */
        .script, .topic {
            word-break: break-word;
            overflow-wrap: break-word;
        }
        .script {
            word-break: keep-all; /* 中文词组完整 */
        }
        .topic {
            white-space: normal;
        }

        /* 导航栏 (复用代码并适配样式) */
        .apex {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }
        .omni {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            max-width: var(--layout-max-width);
            margin: 0 auto;
            padding: 1rem 2rem;
        }
        .orb img {
            height: 36px;
            width: auto;
            display: block;
        }
        .index {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: center;
        }
        .node {
            font-weight: 500;
            color: var(--text-muted);
            transition: color var(--transition-speed);
            position: relative;
        }
        .node:hover {
            color: var(--brand-primary);
        }
        .node.active {
            color: var(--brand-primary);
            font-weight: 600;
        }
        .node.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--brand-primary);
            border-radius: 2px;
        }

        /* 主舞台 (Hero区) - 电影感横向条带变体 */
        .portal {
            background: linear-gradient(120deg, var(--bg-alt) 0%, var(--bg-base) 50%, #ffe8ea 100%);
            padding: 6rem 2rem 5rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        .portal-bind {
            max-width: var(--layout-max-width);
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 4rem;
        }
        .portal-sync {
            flex: 1 1 500px;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            z-index: 2;
        }
        .portal-topic {
            font-size: clamp(2.5rem, 4vw, 4rem);
            font-weight: 800;
            line-height: 1.15;
            letter-spacing: -0.02em;
            color: var(--text-main);
        }
        .portal-topic span {
            color: var(--brand-primary);
        }
        .portal-script {
            font-size: 1.25rem;
            color: var(--text-muted);
            max-width: 90%;
        }
        /* 行动入口按钮 */
        .pulse {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2.5rem;
            font-weight: 600;
            font-size: 1.1rem;
            border-radius: var(--radius-md);
            background-color: var(--brand-primary);
            color: #ffffff;
            box-shadow: 0 4px 15px rgba(240, 96, 106, 0.3);
            transition: all var(--transition-speed);
            border: none;
            cursor: pointer;
            width: fit-content;
        }
        .pulse:hover, .pulse:focus {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(240, 96, 106, 0.4);
            background-color: var(--brand-primary-dark);
            outline: none;
        }

        /* 纯版式视觉承载：代码编辑器视窗 */
        .canvas-mockup {
            flex: 1 1 400px;
            background: #1e1e1e;
            border-radius: var(--radius-lg);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            border: 1px solid rgba(255,255,255,0.1);
            transform: perspective(1000px) rotateY(-5deg);
            transition: transform 0.5s ease;
        }
        .canvas-mockup:hover {
            transform: perspective(1000px) rotateY(0deg);
        }
        .canvas-apex {
            background: #2d2d2d;
            padding: 0.75rem 1rem;
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }
        .canvas-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }
        .canvas-dot:nth-child(1) { background: #ff5f56; }
        .canvas-dot:nth-child(2) { background: #ffbd2e; }
        .canvas-dot:nth-child(3) { background: #27c93f; }
        .canvas-script {
            padding: 1.5rem;
            color: #d4d4d4;
            font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
            font-size: 0.9rem;
            line-height: 1.7;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .canvas-script span.keyword { color: #569cd6; }
        .canvas-script span.string { color: #ce9178; }
        .canvas-script span.function { color: #dcdcaa; }
        .canvas-script span.comment { color: #6a9955; }

        /* 快捷键速查区 (Aside) */
        .sandbox {
            background-color: var(--bg-base);
            padding: 5rem 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            border-bottom: 1px solid rgba(0,0,0,0.03);
        }
        .sandbox-bind {
            max-width: var(--layout-max-width);
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            gap: 3rem;
        }
        .sandbox-intro {
            flex: 1 1 300px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .subtopic {
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 1rem;
        }
        .sandbox-grid {
            flex: 2 1 500px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.5rem;
        }
        .sandbox-mark {
            background: var(--bg-surface);
            border: 1px solid rgba(0,0,0,0.05);
            border-radius: var(--radius-sm);
            padding: 1.25rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all var(--transition-speed);
        }
        .sandbox-mark:hover {
            border-color: var(--brand-primary-light);
            background: var(--bg-base);
            box-shadow: var(--shadow-soft);
        }
        .mark-script {
            font-weight: 500;
            color: var(--text-main);
            font-size: 0.95rem;
        }
        .mark-keys {
            display: flex;
            gap: 0.4rem;
        }
        .key-glyph {
            background: #f1f5f9;
            border: 1px solid #cbd5e1;
            border-bottom-width: 2px;
            border-radius: 4px;
            padding: 0.2rem 0.5rem;
            font-size: 0.8rem;
            color: var(--text-muted);
            font-family: monospace;
            font-weight: 600;
        }

        /* 核心面板指南区 (Div) */
        .frame {
            background-color: var(--bg-surface);
            padding: 6rem 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
        .frame-bind {
            max-width: var(--layout-max-width);
            width: 100%;
        }
        .frame-apex {
            text-align: center;
            margin-bottom: 4rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        .frame-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }
        /* 卡片语法 */
        .tile {
            background: var(--bg-base);
            border-radius: var(--radius-lg);
            padding: 2.5rem;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(0,0,0,0.03);
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            transition: all var(--transition-speed);
            position: relative;
            z-index: 1;
        }
        .tile:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: var(--bg-alt);
        }
        .tile-glyph {
            width: 56px;
            height: 56px;
            border-radius: var(--radius-md);
            background: var(--bg-alt);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--brand-primary);
        }
        .tile-glyph svg {
            width: 28px;
            height: 28px;
            fill: currentColor;
        }
        .tile-topic {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-main);
        }
        .tile-script {
            color: var(--text-muted);
            font-size: 0.95rem;
            flex-grow: 1;
        }

        /* 问答区 (Article) */
        .bind {
            background-color: var(--bg-base);
            padding: 6rem 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
        .bind-bind {
            max-width: 800px; /* 问答区适合窄一点阅读 */
            width: 100%;
        }
        .bind-sync {
            margin-top: 3rem;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        .faq-mark {
            background: var(--bg-surface);
            border-radius: var(--radius-sm);
            padding: 2rem;
            border: 1px solid rgba(0,0,0,0.04);
            transition: background var(--transition-speed);
        }
        .faq-mark:hover {
            background: var(--bg-alt);
        }
        .faq-topic {
            font-weight: 600;
            font-size: 1.1rem;
            color: var(--text-main);
            margin-bottom: 0.8rem;
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
        }
        .faq-topic::before {
            content: 'Q.';
            color: var(--brand-primary);
            font-weight: 800;
        }
        .faq-script {
            color: var(--text-muted);
            font-size: 0.95rem;
            padding-left: 1.6rem;
        }

        /* 页脚 */
        .tail {
            background-color: var(--bg-surface);
            border-top: 1px solid rgba(0,0,0,0.05);
            padding: 4rem 2rem;
            text-align: center;
        }
        .tail-brand {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 1rem;
        }
        .tail-script {
            color: var(--text-light);
            font-size: 0.9rem;
        }
        .tail-links {
            margin-top: 1.5rem;
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }
        .tail-node {
            color: var(--text-muted);
            font-size: 0.9rem;
            transition: color var(--transition-speed);
        }
        .tail-node:hover {
            color: var(--brand-primary);
        }

        /* 响应式 */
        @media (max-width: 768px) {
            .omni {
                flex-direction: column;
                gap: 1rem;
            }
            .index {
                width: 100%;
                justify-content: center;
                gap: 1rem;
            }
            .portal {
                padding: 4rem 1.5rem;
            }
            .portal-topic {
                font-size: 2rem;
            }
            .canvas-mockup {
                display: none; /* 移动端隐藏纯装饰代码块，节省空间 */
            }
            .sandbox, .frame, .bind {
                padding: 4rem 1.5rem;
            }
        }

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

.omni-apex{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            z-index: 100;
            border-bottom: 1px solid rgba(240, 96, 106, 0.1);
        }

.omni-apex .omni-omni{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            max-width: 1320px;
            margin: 0 auto;
            padding: 1rem 2rem;
        }

.omni-apex .omni-omni > *{
            min-width: 0;
        }

.omni-apex .omni-orb img{
            height: 36px;
            width: auto;
            display: block;
        }

.omni-apex .omni-index{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 2rem;
        }

.omni-apex .omni-index > *{
            min-width: 0;
        }

.omni-apex .omni-node{
            text-decoration: none;
            color: #4b5563;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.15s ease;
            position: relative;
        }

.omni-apex .omni-node:hover, .omni-apex .omni-node:focus{
            color: #f0606a;
        }

.omni-apex .omni-node.active{
            color: #f0606a;
        }

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

@media (max-width: 768px){.omni-apex .omni-omni{
                padding: 1rem;
            }

.omni-apex .omni-index{
                display: none; 
            }}

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

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

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

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

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

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

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

.trace-tail{
            background-color: #f3f4f6;
            padding: 4rem 2rem 2rem;
            border-top: 1px solid #e5e7eb;
        }

.trace-tail .trace-trace{
            max-width: 1320px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            gap: 4rem;
            margin-bottom: 3rem;
        }

.trace-tail .trace-trace > *{
            min-width: 0;
            flex: 1 1 200px;
        }

.trace-tail .trace-tail-brand{
            font-size: 1.5rem;
            font-weight: 800;
            color: #1f2937;
            margin-bottom: 1rem;
            display: block;
        }

.trace-tail .trace-tail-script{
            color: #4b5563;
            font-size: 0.9rem;
        }

.trace-tail .trace-tail-topic{
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            color: #1f2937;
        }

.trace-tail .trace-tail-omni{
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

.trace-tail .trace-tail-node{
            color: #4b5563;
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.15s ease;
        }

.trace-tail .trace-tail-node:hover{
            color: #f0606a;
        }

.trace-tail .trace-status{
            max-width: 1320px;
            margin: 0 auto;
            padding-top: 2rem;
            border-top: 1px solid #e5e7eb;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            color: #9ca3af;
            font-size: 0.85rem;
        }

.trace-tail .trace-status > *{
            min-width: 0;
        }

@media (max-width: 768px){.trace-tail .trace-trace > *{
                flex: 1 1 100%;
            }}