/* ==========================================================================
   Full-Screen Node Deep-Dive Overlay (SPA Mode)
   ========================================================================== */
.node-deepdive-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #060608;
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.98);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.node-deepdive-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.deepdive-topbar {
    height: 64px;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(14, 14, 18, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    flex-shrink: 0;
    z-index: 10;
}

.deepdive-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
}

.deepdive-brand-tag {
    font-family: 'AlibabaPuHuiTi-Heavy', var(--font-ui), sans-serif;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #ffffff;
}

.deepdive-slash {
    color: rgba(255, 255, 255, 0.25);
}

.deepdive-category {
    font-family: var(--font-mono, monospace);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.12em;
}

.deepdive-node-name {
    color: #ffffff;
    font-weight: 600;
}

.deepdive-top-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.deepdive-evidence-btn {
    display: none;
}

.deepdive-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-ui), sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.6rem;
    border-radius: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease, opacity 0.2s ease;
    letter-spacing: 0.04em;
    outline: none;
}

.deepdive-close-btn:hover {
    background: transparent;
    color: #ffffff;
}

.deepdive-close-btn:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.deepdive-scroll-content {
    flex: 1;
    overflow-y: auto;
    padding: 3.5rem 2rem 6rem;
    overscroll-behavior: contain;
}

.deepdive-container {
    max-width: 1720px;
    width: calc(100vw - 5rem);
    margin: 0 auto;
}

/* Hero Top Split Layout: Left Text & Badges, Right Video */
.deepdive-hero-split {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.deepdive-hero-header {
    text-align: left;
    margin-bottom: 0;
}

.deepdive-kicker-label {
    display: none;
}

.deepdive-main-title {
    font-family: 'AlibabaPuHuiTi-Heavy', var(--font-ui), sans-serif;
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 1rem 0;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-align: left;
}

.deepdive-main-lead {
    font-size: 0.9rem;
    line-height: 1.82;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    text-align: left;
    letter-spacing: 0.02em;
    white-space: pre-line;
}

.deepdive-badges-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.deepdive-badge-item {
    font-size: 0.76rem;
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.03em;
}

/* Video Showcase Box */
.deepdive-video-showcase {
    margin-bottom: 0;
}

.deepdive-video-card {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.85);
}

.deepdive-slate-hdr {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.2rem;
    background: rgba(14, 15, 18, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.12em;
    font-family: var(--font-mono, monospace);
}

.rec-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.video-placeholder-container {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(20, 20, 26, 0.5) 0%, #030305 100%);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.video-placeholder-content {
    text-align: center;
    padding: 2.5rem 2rem;
    color: rgba(255, 255, 255, 0.45);
}

.video-ph-icon {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.25);
}

.video-ph-title {
    font-family: 'AlibabaPuHuiTi-Heavy', var(--font-ui), sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.video-ph-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Technical Specification Vertical Flow (1. 架构图 -> 2. 演进机制 -> 3. 基准测试) */
.deepdive-spec-flow {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    margin-top: 1rem;
    margin-bottom: 3.5rem;
}

.deepdive-spec-grid {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    margin-top: 2rem;
}

.deepdive-spec-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.spec-card-hdr {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.6rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.spec-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ffffff;
}

.spec-card-hdr h3 {
    font-family: 'AlibabaPuHuiTi-Heavy', var(--font-ui), sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.spec-card-body {
    font-size: 0.9rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.78);
}

.spec-card-body code {
    font-family: var(--font-mono, monospace);
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    color: rgba(255, 255, 255, 0.9);
}

.spec-list-item {
    margin-bottom: 1.4rem;
}

.spec-list-item strong {
    color: #ffffff;
    font-weight: 700;
}

/* Editorial Minimalist Technical Layout */
.editorial-spec-block {
    margin-bottom: 2.8rem;
}

.editorial-spec-block:last-child {
    margin-bottom: 0;
}

.editorial-block-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.editorial-block-title::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
}

.editorial-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.editorial-item {
    font-size: 0.9rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.76);
}

.editorial-item strong {
    color: #ffffff;
    font-weight: 600;
}

.editorial-code-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.86rem;
    line-height: 1.7;
}

.editorial-code-row:last-child {
    border-bottom: none;
}

.editorial-code-label {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.editorial-code-val {
    color: rgba(255, 255, 255, 0.85);
}

.editorial-code-val code {
    font-family: var(--font-mono, monospace);
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 640px) {
    .editorial-code-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
}

/* ==========================================================================
   Graphical Engineering Widgets (Timeline, Comparison, Flow, Formula)
   ========================================================================== */

/* 0. Dual-Track Parallel Rail Layout */
.tech-dual-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 0.5rem;
}

@media (max-width: 1080px) {
    .tech-dual-track {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 1. Version Evolution Graphical Timeline */
.tech-timeline {
    position: relative;
    padding-left: 2rem;
    margin: 1.2rem 0 0;
}

.tech-timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: rgba(255, 255, 255, 0.12);
}

.tech-timeline-step {
    position: relative;
    margin-bottom: 2rem;
}

.tech-timeline-step:last-child {
    margin-bottom: 0;
}

.tech-timeline-marker {
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #060608;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-timeline-step.is-current .tech-timeline-marker {
    border-color: #ffffff;
}

.tech-timeline-marker::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.tech-timeline-step.is-current .tech-timeline-marker::after {
    background: #ffffff;
}

.tech-timeline-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tech-timeline-step:last-child .tech-timeline-card {
    border-bottom: none;
    padding-bottom: 0;
}

.tech-timeline-step.is-current .tech-timeline-card {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.18);
}

.tech-timeline-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tech-timeline-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tech-timeline-version {
    font-family: var(--font-mono, monospace);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.tech-timeline-date {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-mono, monospace);
}

.tech-timeline-tag {
    font-size: 0.76rem;
    padding: 0;
    border-radius: 0;
    font-weight: 500;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    border: none;
}

.tech-timeline-step.is-current .tech-timeline-tag {
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    border: none;
}

.tech-timeline-desc {
    font-size: 0.86rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 0.6rem 0;
}

.tech-timeline-note {
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.48);
    background: transparent;
    padding: 0;
    border-radius: 0;
    border-left: none;
}

.tech-timeline-step.is-current .tech-timeline-note {
    border-left: none;
    color: rgba(255, 255, 255, 0.6);
}

/* 2. Visual Comparison Horizontal Bars */
.tech-compare-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 1.2rem 0 2rem;
}

.tech-compare-slot {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 1rem 1.2rem;
}

.tech-compare-slot.highlight {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
}

.tech-compare-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
}

.tech-compare-title {
    font-weight: 600;
    color: #ffffff;
}

.tech-compare-score {
    font-family: var(--font-mono, monospace);
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.tech-compare-slot.highlight .tech-compare-score {
    color: #ffffff;
}

.tech-progress-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.65rem;
}

.tech-progress-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: width 0.4s ease;
}

.tech-compare-slot.highlight .tech-progress-fill {
    background: #ffffff;
}

.tech-compare-meta {
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}

/* 3. Horizontal Engineering Flow Diagram */
.tech-flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
    margin: 1.2rem 0 2rem;
    position: relative;
}

.tech-flow-node {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tech-flow-step-num {
    font-family: var(--font-mono, monospace);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.tech-flow-step-name {
    font-size: 0.86rem;
    font-weight: 600;
    color: #ffffff;
}

.tech-flow-step-detail {
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
}

/* 4. Formula & Algorithm Card */
.tech-formula-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    padding: 1.1rem 1.3rem;
    margin: 1.2rem 0 1.8rem;
}

.tech-formula-expr {
    font-family: var(--font-mono, monospace);
    font-size: 0.92rem;
    color: #4ea57f;
    padding: 0.6rem 0.8rem;
    background: rgba(78, 165, 127, 0.06);
    border-radius: 4px;
    margin-bottom: 0.8rem;
    text-align: center;
    border: 1px dashed rgba(78, 165, 127, 0.25);
    line-height: 1.6;
}

.tech-formula-notes {
    font-size: 0.82rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

/* 5. Metrics Quick Table */
.tech-metrics-mini-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.6rem;
    font-size: 0.84rem;
}

.tech-metrics-mini-table th {
    text-align: left;
    padding: 0.65rem 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-metrics-mini-table td {
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.tech-metrics-mini-table td.val-green {
    color: #4ea57f;
    font-family: var(--font-mono, monospace);
    font-weight: 700;
}

/* 6. Simplified Knowledge Base Architecture Pipeline */
.tech-arch-pipeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1.2rem 0 2rem;
    position: relative;
}

.arch-tier-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    position: relative;
}

.arch-tier-card.highlight {
    border-color: rgba(78, 165, 127, 0.35);
    background: rgba(78, 165, 127, 0.03);
}

.arch-tier-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.arch-tier-num {
    font-family: var(--font-mono, monospace);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
}

.arch-tier-card.highlight .arch-tier-num {
    color: #4ea57f;
}

.arch-tier-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #ffffff;
}

.arch-tier-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.arch-tier-item {
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.45rem 0.6rem;
    border-radius: 4px;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.arch-tier-card.highlight .arch-tier-item {
    border-left-color: #4ea57f;
}

/* 7. Benchmark Testing Environment Card */
.benchmark-env-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 1.1rem 1.3rem;
    margin: 1.2rem 0 1.5rem;
}

.benchmark-env-lead {
    font-size: 0.86rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 0.8rem 0;
}

.benchmark-env-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.benchmark-env-item {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    padding-left: 0.8rem;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.benchmark-env-item strong {
    color: #ffffff;
    font-weight: 600;
}

/* 8. Full-Width Simplified Architecture Pipeline */
.deepdive-arch-section {
    margin-bottom: 3.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.center-arch-blueprint {
    background: rgba(11, 13, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
    font-family: var(--font-mono, monospace);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blueprint-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.45);
}

.blueprint-meta-title {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.blueprint-meta-tag {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
}

/* Vector Stage for Academic Flowchart */
.blueprint-vector-stage {
    width: 100%;
    overflow-x: auto;
    background: transparent;
    border: none;
    padding: 0.4rem 0;
    box-sizing: border-box;
}

.blueprint-vector-svg {
    display: block;
    width: 100%;
    height: auto;
    min-width: 820px;
}

/* Horizontal 4-Stage Architecture Pipeline Grid */
.arch-compact-pipeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
}

.arch-pipe-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.arch-pipe-card:hover {
    border-color: rgba(78, 165, 127, 0.35);
    background: rgba(78, 165, 127, 0.02);
}

.arch-pipe-card.highlight {
    border-color: rgba(78, 165, 127, 0.4);
    background: rgba(78, 165, 127, 0.04);
}

.arch-pipe-hdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.arch-pipe-step {
    font-size: 0.7rem;
    font-weight: 700;
    color: #4ea57f;
    letter-spacing: 0.06em;
}

.arch-pipe-badge {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
}

.arch-pipe-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.02em;
}

.arch-pipe-items {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.arch-pipe-item {
    font-size: 0.76rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.25);
    padding: 0.4rem 0.55rem;
    border-radius: 4px;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.arch-pipe-card.highlight .arch-pipe-item {
    border-left-color: #4ea57f;
}

.arch-pipe-item strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.1rem;
    font-size: 0.77rem;
}

.arch-pipe-item code {
    font-size: 0.72rem;
    color: rgba(78, 165, 127, 0.9);
}

.arch-pipe-arrow {
    position: absolute;
    right: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: #4ea57f;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    font-size: 0.85rem;
}

@media (max-width: 1200px) {
    .arch-compact-pipeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    .arch-pipe-arrow {
        display: none;
    }
}

@media (max-width: 680px) {
    .arch-compact-pipeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .tech-arch-pipeline {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .deepdive-topbar {
        padding: 0 1rem;
        height: 56px;
    }

    .deepdive-spec-grid {
        grid-template-columns: 1fr;
    }

    .latency-grid {
        grid-template-columns: 1fr;
    }

    .tech-timeline {
        padding-left: 1.5rem;
    }

    .tech-timeline-marker {
        left: -1.5rem;
    }

    .tech-flow-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tech-arch-pipeline {
        grid-template-columns: 1fr;
    }
    .blueprint-node-grid {
        grid-template-columns: 1fr;
    }
}

/* 6. Showcase Deck Grid (实际生成效果预留位 4-Slot Grid) */
.showcase-deck-intro {
    font-size: 0.86rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.25rem;
}

.showcase-deck-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.showcase-deck-card {
    position: relative;
    aspect-ratio: 3 / 4;
    background: rgba(14, 17, 23, 0.7);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.25s ease, background 0.25s ease;
    overflow: hidden;
}

.showcase-deck-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(20, 24, 32, 0.85);
}

.showcase-deck-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.showcase-page-tag {
    font-family: var(--font-mono, monospace);
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.showcase-ratio-badge {
    font-family: var(--font-mono, monospace);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
}

.showcase-deck-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
}

.showcase-deck-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.showcase-deck-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.showcase-deck-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.showcase-deck-desc {
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.5);
    max-width: 180px;
}

.showcase-deck-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.65rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    font-family: var(--font-mono, monospace);
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1100px) {
    .showcase-deck-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .showcase-deck-grid {
        grid-template-columns: 1fr;
    }
}

/* 7. Agent Trace Viewer Console Styles (节点内置高密度 Trace 控制台) */
.trace-console-container {
    background: #08090d;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 1.2rem 1.4rem;
    font-family: var(--font-mono, monospace);
    margin: 1.2rem 0;
}

.trace-status-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.84rem;
}

.trace-pill-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #ffffff;
    font-weight: 600;
}

.trace-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.7);
}

.trace-pill-right {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.76rem;
}

.trace-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.trace-metric-chip {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    padding: 0.65rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.trace-metric-lbl {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
}

.trace-metric-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.trace-metric-val.is-blue {
    color: #60a5fa;
}

.trace-audit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trace-audit-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 5px;
    padding: 0.7rem 0.9rem;
    font-size: 0.8rem;
    line-height: 1.6;
}

.trace-audit-card strong {
    color: #ffffff;
    margin-right: 0.4rem;
}

.trace-timeline-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.trace-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.65rem 0.85rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    font-size: 0.8rem;
}

.trace-step-tag {
    color: #60a5fa;
    font-weight: 700;
    font-size: 0.76rem;
    white-space: nowrap;
}

.trace-step-content {
    flex: 1;
}

.trace-step-hdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.trace-step-title {
    color: #ffffff;
    font-weight: 600;
}

.trace-step-time {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.72rem;
}

.trace-step-detail {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.76rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .trace-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trace-audit-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    .trace-metrics-grid {
        grid-template-columns: 1fr;
    }
}


