/* ==========================================================================
           v2rayN Hub - Troubleshooting Variant (Magazine Style)
           ========================================================================== */
        
        :root {
            /* 视觉家族继承变量 */
            --color-brand: #7c4bd1;
            --color-brand-dark: #5c35a3;
            --color-brand-light: #f1edfa;
            --color-surface: #ffffff;
            --color-surface-alt: #f8f7fa;
            --color-surface-deep: #161224;
            --color-text-apex: #1a1525;
            --color-text-stream: #4a4559;
            --color-text-inverse: #ffffff;
            --color-border: #e6e2f0;
            --color-error: #e03131;
            
            /* 间距与圆角 */
            --radius-base: 8px;
            --radius-lg: 11px;
            --shadow-soft: 0 4px 12px rgba(26, 21, 37, 0.05);
            --shadow-hover: 0 12px 28px rgba(124, 75, 209, 0.12);
            --transition: all 0.15s ease;
        }

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

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: var(--color-surface-alt);
            color: var(--color-text-stream);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            word-break: break-word;
            overflow-wrap: break-word;
        }

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

        /* --------------------------------------------------
           全局容器组件 (Tunnel)
           -------------------------------------------------- */
        .cloak-root {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .tunnel-tunnel {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* --------------------------------------------------
           强制导航栏样式复用 (Crown & Nexus)
           -------------------------------------------------- */
        .crown-top {
            background-color: var(--color-surface);
            border-bottom: 1px solid var(--color-border);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .nexus-tunnel {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
            min-height: 72px;
        }

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

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

        .wire-route {
            color: var(--color-text-stream);
            font-weight: 500;
            font-size: 1rem;
            padding: 0.5rem 0;
            position: relative;
        }

        .wire-route:hover {
            color: var(--color-brand);
        }

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

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

        /* --------------------------------------------------
           主内容区域 (Core Realm)
           -------------------------------------------------- */
        .core-realm {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        /* ==================================================
           Section 1: 常见错误现象速查矩阵 (Intro Realm)
           创意种子变体: split_diagonal
           ================================================== */
        .intro-realm {
            background-color: var(--color-surface-deep);
            color: var(--color-text-inverse);
            position: relative;
            overflow: hidden;
            padding: 6rem 0;
            border-bottom: 1px solid var(--color-border);
        }

        /* 对角线切割背景增强 */
        .intro-realm::before {
            content: '';
            position: absolute;
            top: -10%;
            right: -10%;
            bottom: -10%;
            width: 60%;
            background: linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand) 100%);
            transform: skewX(-15deg);
            z-index: 0;
            opacity: 0.9;
        }

        .tunnel-intro {
            position: relative;
            z-index: 1;
            display: flex;
            flex-wrap: wrap;
            gap: 4rem;
        }

        .cluster-intro-stream {
            flex: 1;
            min-width: 300px;
            max-width: 500px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .apex-portal {
            font-size: 2.8rem;
            font-weight: 700;
            line-height: 1.3;
            letter-spacing: -0.02em;
            margin-bottom: 1.5rem;
            color: var(--color-text-inverse);
            white-space: normal;
        }

        .stream-portal {
            font-size: 1.125rem;
            opacity: 0.85;
            margin-bottom: 2rem;
            word-break: keep-all;
        }

        .cluster-matrix {
            flex: 2;
            min-width: 320px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.5rem;
        }

        .node-symptom {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-lg);
            padding: 2rem;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .node-symptom:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .glyph-symptom {
            width: 40px;
            height: 40px;
            color: var(--color-brand-light);
        }

        .apex-symptom {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--color-text-inverse);
            line-height: 1.4;
        }

        /* ==================================================
           Section 2: 应用启动与依赖报错对策 (Pathway Realm)
           使用 aside 语义
           ================================================== */
        .pathway-realm {
            padding: 5rem 0;
            background-color: var(--color-surface);
        }

        .tunnel-pathway {
            max-width: 800px; /* 阅读宽度收敛 */
            margin: 0 auto;
            padding: 0 2rem;
        }

        .apex-tunnel {
            font-size: 2rem;
            font-weight: 700;
            color: var(--color-text-apex);
            margin-bottom: 1rem;
            letter-spacing: -0.01em;
        }

        .stream-lead {
            font-size: 1.1rem;
            color: var(--color-text-stream);
            margin-bottom: 3rem;
        }

        .cluster-steps {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .node-step {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            background: var(--color-surface-alt);
            padding: 2rem;
            border-radius: var(--radius-lg);
            border: 1px solid var(--color-border);
            transition: var(--transition);
        }

        .node-step:hover {
            box-shadow: var(--shadow-soft);
        }

        .glyph-step {
            flex-shrink: 0;
            width: 48px;
            height: 48px;
            background: var(--color-brand-light);
            color: var(--color-brand);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.2rem;
        }

        .cluster-step-stream {
            flex: 1;
            min-width: 200px;
        }

        .apex-step {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--color-text-apex);
            margin-bottom: 0.5rem;
        }

        .stream-step {
            font-size: 0.95rem;
        }

        .stream-code {
            display: inline-block;
            background: var(--color-surface-deep);
            color: #e6e2f0;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-family: monospace;
            font-size: 0.9em;
            margin: 0 0.2rem;
        }

        /* ==================================================
           Section 3: 内核缺失与下载更新失败处理 (Acquire Realm)
           ================================================== */
        .acquire-realm {
            padding: 5rem 0;
            background-color: var(--color-surface-alt);
            border-top: 1px solid var(--color-border);
            border-bottom: 1px solid var(--color-border);
        }

        .tunnel-acquire {
            display: flex;
            flex-wrap: wrap;
            gap: 4rem;
            align-items: center;
        }

        .cluster-acquire-stream {
            flex: 1;
            min-width: 300px;
        }

        .node-directory {
            flex: 1;
            min-width: 300px;
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            padding: 2.5rem;
            box-shadow: var(--shadow-soft);
        }

        .cluster-tree {
            font-family: monospace;
            font-size: 1rem;
            color: var(--color-text-apex);
            line-height: 2;
        }

        .peer-folder {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
        }
        
        .peer-file {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--color-brand);
            padding-left: 2rem;
            position: relative;
        }

        .peer-file::before {
            content: '└─';
            position: absolute;
            left: 0.5rem;
            color: var(--color-border);
        }

        /* 按钮变体 */
        .pulse-acquire {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background-color: var(--color-brand);
            color: var(--color-surface);
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius-base);
            font-weight: 600;
            margin-top: 1.5rem;
            box-shadow: 0 4px 12px rgba(124, 75, 209, 0.2);
        }

        .pulse-acquire:hover {
            background-color: var(--color-brand-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }

        /* ==================================================
           Section 4: 网络与系统代理冲突 FAQ (FAQ Realm)
           使用 article 语义
           ================================================== */
        .faq-realm {
            padding: 5rem 0;
            background-color: var(--color-surface);
        }

        .tunnel-faq {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .cluster-questions {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            margin-top: 3rem;
        }

        .node-qa {
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            padding: 2rem;
            background: var(--color-surface);
            transition: var(--transition);
        }

        .node-qa:hover {
            border-color: var(--color-brand);
            box-shadow: var(--shadow-soft);
        }

        .apex-q {
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--color-text-apex);
            margin-bottom: 1rem;
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

        .glyph-q {
            color: var(--color-brand);
            flex-shrink: 0;
            margin-top: 0.1rem;
        }

        .stream-a {
            color: var(--color-text-stream);
            padding-left: 2.5rem;
        }

        /* --------------------------------------------------
           页脚 (Tail Basin)
           -------------------------------------------------- */
        .tail-basin {
            background-color: var(--color-surface-deep);
            color: var(--color-text-inverse);
            padding: 4rem 2rem 2rem;
            margin-top: auto;
        }

        .tunnel-tail {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 2rem;
        }

        .apex-brand {
            font-size: 1.25rem;
            font-weight: 700;
            letter-spacing: -0.02em;
        }

        .mesh-legal {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            font-size: 0.9rem;
            opacity: 0.7;
        }

        .wire-legal:hover {
            opacity: 1;
            color: var(--color-brand-light);
        }

        /* 响应式断点 */
        @media (max-width: 1024px) {
            .portal-split::before {
                width: 100%;
                transform: skewX(0);
                right: 0;
            }
        }

        @media (max-width: 768px) {
            .tunnel-intro,
            .tunnel-acquire {
                flex-direction: column;
                gap: 3rem;
            }
            .apex-portal {
                font-size: 2.2rem;
            }
            .nexus-tunnel {
                flex-direction: column;
                gap: 1rem;
                padding: 1rem;
            }
            .mesh-routes {
                justify-content: center;
                gap: 1rem;
            }
        }

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

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

.nexus-crown-top p,
.nexus-crown-top h1,
.nexus-crown-top h2,
.nexus-crown-top h3,
.nexus-crown-top h4,
.nexus-crown-top h5,
.nexus-crown-top h6 {
    text-decoration: none;
}

.nexus-crown-top img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

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

.nexus-crown-top a.nexus-wire.nexus-wire-route {
    --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;
}

.nexus-crown-top a.nexus-wire.nexus-wire-route,
.nexus-crown-top a.nexus-wire.nexus-wire-route:hover,
.nexus-crown-top a.nexus-wire.nexus-wire-route:focus,
.nexus-crown-top a.nexus-wire.nexus-wire-route:active,
.nexus-crown-top a.nexus-wire.nexus-wire-route.active,
.nexus-crown-top a.nexus-wire.nexus-wire-route[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);
}

.nexus-crown-top .nexus-mesh{
            display: flex;
            flex-wrap: wrap;
        }

.nexus-crown-top .nexus-mesh > *{
            min-width: 0;
        }

.nexus-crown-top{
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid #e6e2f0;
            position: sticky;
            top: 0;
            z-index: 100;
        }

.nexus-crown-top .nexus-nexus-tunnel{
            max-width: 1180px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
        }

.nexus-crown-top .nexus-sigil img{
            height: 32px;
            width: auto;
            display: block;
        }

.nexus-crown-top .nexus-mesh-routes{
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            align-items: center;
        }

.nexus-crown-top .nexus-wire-route{
            text-decoration: none;
            color: #4a4559;
            font-weight: 500;
            font-size: 0.95rem;
            padding: 0.5rem 0;
            border-bottom: 2px solid transparent;
            transition: border-color 0.15s ease, color 0.15s ease;
        }

.nexus-crown-top .nexus-wire-route:hover, .nexus-crown-top .nexus-wire-route.active{
            color: #7c4bd1;
            border-bottom-color: #7c4bd1;
        }

@media (max-width: 768px){.nexus-crown-top .nexus-nexus-tunnel{
                flex-direction: column;
                gap: 1rem;
            }

.nexus-crown-top .nexus-mesh-routes{
                width: 100%;
                justify-content: center;
            }}

.nexus-crown-top {
    background: rgb(255, 255, 255);
    background-image: none;
}

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

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

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

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

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

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

.anchor-tail-anchor .anchor-track-tags{
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-bottom: 2rem;
        }

.anchor-tail-anchor{
            background-color: #161224;
            color: rgba(255, 255, 255, 0.7);
            padding: 4rem 2rem 2rem;
            margin-top: auto;
        }

.anchor-tail-anchor .anchor-basin-inner{
            max-width: 1180px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

.anchor-tail-anchor .anchor-apex-brand{
            color: #ffffff;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            letter-spacing: 1px;
        }

.anchor-tail-anchor .anchor-stream-legal{
            font-size: 0.85rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 2rem;
            width: 100%;
            margin-top: 2rem;
        }