@scope (.legacy-post-body) {

        .post-body { max-width: 980px; }
        .post-header .container { text-align: center; }
        .post-full-title { max-width: none; margin-left: auto; margin-right: auto; }
        .post-body code {
            font-family: var(--font-mono);
            font-size: 0.92em;
            background: rgba(16, 20, 22, 0.06);
            padding: 1px 6px;
            border-radius: 4px;
        }
        .post-body blockquote {
            border-left: 3px solid var(--accent);
            padding: 2px 0 2px 18px;
            margin: 4px 0;
            color: var(--muted);
            font-style: italic;
        }
        .post-body hr {
            border: none;
            border-top: 1px solid var(--line);
            margin: 30px 0;
        }
        .post-body strong { color: var(--ink); }
        .architecture-note,
        .architecture-lab,
        .source-card {
            border: 1px solid var(--line);
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.58);
            box-shadow: var(--panel-shadow-tight);
        }
        .architecture-note {
            padding: 18px 20px;
            border-left: 3px solid var(--accent);
        }
        .architecture-note p { margin: 0; }
        .stat-grid {
            display: grid;
            grid-template-columns: repeat(6, minmax(0, 1fr));
            gap: 10px;
            margin: 24px 0;
        }
        .stat-chip {
            min-height: 96px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 14px;
            border: 1px solid var(--line);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.72);
        }
        .stat-chip .label,
        .mode-btn,
        .node-kicker,
        .diagram-caption,
        .source-label {
            font-family: var(--font-mono);
            text-transform: uppercase;
            letter-spacing: 0.12em;
        }
        .stat-chip .label {
            font-size: 0.64rem;
            color: var(--muted);
            line-height: 1.35;
        }
        .stat-chip .value {
            font-family: var(--font-display);
            font-size: 1.48rem;
            line-height: 1;
            color: var(--ink);
        }
        .architecture-lab {
            padding: 22px;
            margin: 28px 0;
        }
        .lab-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 18px;
        }
        .lab-header h2 {
            margin: 0;
        }
        .lab-header p {
            margin: 8px 0 0;
            color: var(--muted);
            font-size: 0.96rem;
            line-height: 1.65;
        }
        .mode-switcher {
            display: inline-flex;
            flex-wrap: wrap;
            gap: 6px;
            padding: 6px;
            border: 1px solid var(--line);
            border-radius: 999px;
            background: rgba(247, 242, 232, 0.82);
            flex-shrink: 0;
        }
        .mode-btn {
            border: 0;
            border-radius: 999px;
            background: transparent;
            color: var(--muted);
            cursor: pointer;
            font-size: 0.68rem;
            padding: 9px 13px;
            transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
        }
        .mode-btn:hover {
            color: var(--ink);
            background: rgba(255, 255, 255, 0.68);
        }
        .mode-btn.active {
            color: var(--bg);
            background: var(--ink);
            box-shadow: 0 8px 20px rgba(9, 17, 19, 0.14);
        }
        .architecture-canvas {
            position: relative;
            padding: 16px;
            border: 1px solid rgba(16, 20, 22, 0.08);
            border-radius: 16px;
            background:
                linear-gradient(rgba(16, 20, 22, 0.045) 1px, transparent 1px),
                linear-gradient(90deg, rgba(16, 20, 22, 0.045) 1px, transparent 1px),
                rgba(247, 242, 232, 0.48);
            background-size: 28px 28px;
            overflow: hidden;
        }
        .convergence-grid {
            display: grid;
            grid-template-columns: minmax(0, 0.95fr) 76px minmax(220px, 0.82fr) 32px minmax(0, 0.82fr) 32px minmax(0, 0.72fr);
            align-items: center;
            gap: 0;
        }
        .modality-stack {
            display: grid;
            gap: 10px;
            align-content: center;
        }
        .modality-path {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            align-items: stretch;
            gap: 0;
            opacity: 0.34;
            filter: saturate(0.66);
            transition: opacity 180ms ease, filter 180ms ease;
        }
        .modality-path.selectable {
            cursor: pointer;
        }
        .modality-path.selectable:focus-visible .node {
            outline: 2px solid var(--accent);
            outline-offset: 3px;
        }
        .modality-path.selectable:hover {
            opacity: 0.72;
            filter: none;
        }
        .modality-path.active {
            opacity: 1;
            filter: none;
        }
        .node {
            min-height: 128px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 10px;
            padding: 14px;
            border: 1px solid var(--line);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.74);
            transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
        }
        .modality-path.active .node {
            border-color: rgba(255, 106, 50, 0.38);
            background: rgba(255, 255, 255, 0.9);
            box-shadow: 0 12px 30px rgba(9, 17, 19, 0.08);
        }
        .node-kicker {
            font-size: 0.62rem;
            color: var(--muted);
        }
        .node-title {
            font-family: var(--font-display);
            font-size: 1.15rem;
            line-height: 1.08;
            color: var(--ink);
        }
        .node-copy {
            font-size: 0.82rem;
            line-height: 1.45;
            color: #2c3b3d;
        }
        .chip-row {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 5px;
            min-height: 26px;
        }
        .token-chip {
            min-width: 20px;
            height: 20px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 6px;
            border: 1px solid rgba(16, 20, 22, 0.1);
            border-radius: 5px;
            background: rgba(247, 242, 232, 0.88);
            color: var(--ink);
            font-family: var(--font-mono);
            font-size: 0.62rem;
            line-height: 1;
        }
        .token-chip.image { background: rgba(27, 182, 171, 0.16); }
        .token-chip.audio { background: rgba(255, 106, 50, 0.16); }
        .token-chip.placeholder {
            border-style: dashed;
            color: var(--accent-strong);
            background: rgba(255, 106, 50, 0.08);
        }
        .connector {
            position: relative;
            min-height: 128px;
        }
        .connector::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 7px;
            right: 7px;
            height: 2px;
            background: rgba(16, 20, 22, 0.12);
            transform: translateY(-50%);
        }
        .connector::after {
            content: "";
            position: absolute;
            top: 50%;
            right: 5px;
            width: 8px;
            height: 8px;
            border-top: 2px solid rgba(16, 20, 22, 0.18);
            border-right: 2px solid rgba(16, 20, 22, 0.18);
            transform: translateY(-50%) rotate(45deg);
        }
        .modality-path.active .connector::before,
        .connector.shared::before {
            background: linear-gradient(90deg, rgba(255, 106, 50, 0.18), var(--accent), rgba(255, 106, 50, 0.18));
            background-size: 200% 100%;
            animation: flow-line 1.1s linear infinite;
        }
        .modality-path.active .connector::after,
        .connector.shared::after {
            border-color: var(--accent);
        }
        .funnel-column {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 420px;
        }
        .funnel-svg {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: visible;
        }
        .funnel-path {
            fill: none;
            stroke: rgba(16, 20, 22, 0.16);
            stroke-width: 2.6;
            stroke-linecap: round;
            marker-end: url(#arrow-muted);
            transition: opacity 180ms ease, stroke 180ms ease, stroke-width 180ms ease;
            vector-effect: non-scaling-stroke;
        }
        .funnel-path.active {
            stroke: var(--accent);
            stroke-width: 4;
            stroke-dasharray: 10 8;
            marker-end: url(#arrow-active);
            animation: dash-flow 0.85s linear infinite;
        }
        .funnel-path:not(.active) {
            opacity: 0.42;
        }
        .merge-node {
            position: relative;
            z-index: 1;
            min-height: 220px;
            border-color: rgba(27, 182, 171, 0.32);
            background: rgba(255, 255, 255, 0.92);
            box-shadow: 0 14px 34px rgba(9, 17, 19, 0.1);
        }
        .decoder-node {
            border-color: rgba(255, 106, 50, 0.42);
            background: rgba(255, 255, 255, 0.86);
        }
        .output-node {
            border-color: rgba(16, 20, 22, 0.18);
            background: rgba(255, 255, 255, 0.82);
        }
        .diagram-caption {
            min-height: 22px;
            margin-top: 8px;
            color: var(--accent-strong);
            font-size: 0.68rem;
        }
        .speech-branch {
            display: block;
            margin-top: 24px;
        }
        .speech-branch-panel {
            padding: 22px;
            border: 1px solid var(--line);
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.58);
            box-shadow: var(--panel-shadow-tight);
        }
        .speech-branch-intro {
            max-width: 760px;
            margin-bottom: 18px;
        }
        .speech-branch-intro h2 {
            margin: 0 0 8px;
        }
        .speech-branch-intro p {
            margin: 0;
            color: #2c3b3d;
            line-height: 1.7;
        }
        .speech-branch-intro p + p {
            margin-top: 10px;
        }
        .speech-system-diagram {
            display: grid;
            grid-template-columns: minmax(0, 0.95fr) 76px minmax(220px, 0.82fr) 32px minmax(0, 0.82fr) 32px minmax(0, 0.72fr);
            gap: 0;
            align-items: center;
            margin: 18px 0 16px;
        }
        .gemma-audio-flow {
            display: grid;
            gap: 0;
            margin: 18px 0 16px;
        }
        .gemma-flow-main {
            width: min(100%, 790px);
            margin: 0 auto;
            display: grid;
            gap: 0;
        }
        .gemma-flow-main > .node {
            min-height: 132px;
        }
        .gemma-flow-main .adapter-node {
            min-height: 150px;
        }
        .gemma-stack-node {
            min-height: 190px;
        }
        .decoder-stack {
            display: grid;
            grid-template-columns: repeat(14, minmax(8px, 1fr));
            gap: 4px;
            align-items: end;
            min-height: 54px;
            margin: 2px 0 4px;
        }
        .decoder-stack span {
            display: block;
            height: 42px;
            border: 1px solid rgba(16, 20, 22, 0.12);
            border-radius: 4px;
            background: rgba(16, 20, 22, 0.08);
        }
        .decoder-stack span:nth-child(9),
        .decoder-stack span:nth-child(10),
        .decoder-stack span:nth-child(11),
        .decoder-stack span:nth-child(12),
        .decoder-stack span:nth-child(13),
        .decoder-stack span:nth-child(14) {
            border-color: rgba(255, 106, 50, 0.34);
            background: rgba(255, 106, 50, 0.18);
        }
        .tap-fork {
            display: grid;
            gap: 10px;
            align-content: center;
        }
        .gemma-branch-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 42px minmax(190px, 0.72fr);
            gap: 0;
            align-items: start;
        }
        .gemma-branch-main {
            display: grid;
            gap: 0;
        }
        .gemma-branch-row > .connector {
            min-height: 132px;
        }
        .gemma-branch-side {
            align-self: start;
        }
        .gemma-flow-output {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 42px minmax(0, 0.86fr);
            gap: 0;
            align-items: stretch;
        }
        .gemma-flow-down {
            position: relative;
            min-height: 38px;
        }
        .gemma-flow-down::before {
            content: "";
            position: absolute;
            top: 4px;
            bottom: 9px;
            left: 50%;
            width: 2px;
            background: rgba(16, 20, 22, 0.14);
            transform: translateX(-50%);
        }
        .gemma-flow-down::after {
            content: "";
            position: absolute;
            bottom: 7px;
            left: 50%;
            width: 8px;
            height: 8px;
            border-right: 2px solid rgba(16, 20, 22, 0.2);
            border-bottom: 2px solid rgba(16, 20, 22, 0.2);
            transform: translateX(-50%) rotate(45deg);
        }
        .gemma-flow-down.active::before {
            background: linear-gradient(180deg, rgba(255, 106, 50, 0.18), var(--accent), rgba(255, 106, 50, 0.18));
            background-size: 100% 200%;
            animation: flow-down 1.1s linear infinite;
        }
        .gemma-flow-down.active::after {
            border-color: var(--accent);
        }
        .tap-node {
            border-color: rgba(255, 106, 50, 0.34);
            background: rgba(255, 255, 255, 0.92);
        }
        .tap-card {
            position: relative;
            display: grid;
            gap: 8px;
            min-height: 88px;
            padding: 12px;
            border: 1px solid var(--line);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.74);
        }
        .tap-card.active {
            border-color: rgba(255, 106, 50, 0.38);
            background: rgba(255, 255, 255, 0.92);
            box-shadow: 0 12px 28px rgba(9, 17, 19, 0.08);
        }
        .tap-card.bypassed {
            opacity: 0.72;
            border-style: dashed;
        }
        .tap-card .node-title {
            font-size: 1rem;
        }
        .tap-card .node-copy {
            font-size: 0.78rem;
        }
        .tap-callout {
            width: fit-content;
            border: 1px solid rgba(255, 106, 50, 0.34);
            border-radius: 999px;
            padding: 5px 8px;
            background: rgba(255, 106, 50, 0.1);
            color: var(--accent-strong);
            font-family: var(--font-mono);
            font-size: 0.62rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }
        .speech-input-stack {
            display: grid;
            gap: 10px;
            align-content: center;
        }
        .speech-input {
            opacity: 1;
            filter: none;
        }
        .speech-input.secondary {
            opacity: 0.72;
            filter: saturate(0.72);
        }
        .speech-funnel-path {
            fill: none;
            stroke: rgba(16, 20, 22, 0.16);
            stroke-width: 2.6;
            stroke-linecap: round;
            marker-end: url(#speech-arrow-muted);
            vector-effect: non-scaling-stroke;
        }
        .speech-funnel-path.active {
            stroke: var(--accent);
            stroke-width: 4;
            stroke-dasharray: 10 8;
            marker-end: url(#speech-arrow-active);
            animation: dash-flow 0.85s linear infinite;
        }
        .adapter-node {
            border-color: rgba(27, 182, 171, 0.32);
            background: rgba(255, 255, 255, 0.92);
            box-shadow: 0 14px 34px rgba(9, 17, 19, 0.1);
        }
        .speech-explainer {
            margin-top: 18px;
        }
        .speech-explainer h3,
        .sample-board h3,
        .care-board h3 {
            margin: 0 0 10px;
            font-family: var(--font-display);
            font-size: 1.32rem;
            line-height: 1.1;
        }
        .speech-explainer > p,
        .sample-board > p,
        .care-board > p {
            max-width: 760px;
            margin: 0 0 12px;
            color: #2c3b3d;
            line-height: 1.65;
        }
        .reason-grid,
        .care-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
        }
        .reason-card,
        .sample-card,
        .care-card {
            border: 1px solid var(--line);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.72);
        }
        .reason-card,
        .sample-card,
        .care-card {
            padding: 13px;
        }
        .reason-card strong,
        .care-card strong {
            display: block;
            margin-bottom: 4px;
            color: var(--ink);
        }
        .reason-card .label,
        .sample-card .label,
        .care-card .label {
            font-family: var(--font-mono);
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--muted);
            font-size: 0.62rem;
        }
        .reason-card p,
        .care-card p {
            margin: 0;
            color: #2c3b3d;
            font-size: 0.84rem;
            line-height: 1.5;
        }
        .experiment-fact-row {
            display: flex;
            flex-wrap: wrap;
            gap: 7px;
            margin: 12px 0 16px;
        }
        .experiment-fact {
            border: 1px solid rgba(16, 20, 22, 0.1);
            border-radius: 999px;
            padding: 7px 10px;
            background: rgba(247, 242, 232, 0.82);
            color: var(--ink);
            font-family: var(--font-mono);
            font-size: 0.68rem;
        }
        .sample-board,
        .care-board {
            margin-top: 22px;
        }
        .sample-list {
            display: grid;
            gap: 10px;
        }
        .mimi-sample-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 12px;
        }
        .sample-card {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
            gap: 12px;
            align-items: stretch;
            background: rgba(255, 255, 255, 0.68);
        }
        .mimi-sample-card {
            display: grid;
            grid-template-columns: minmax(220px, 0.82fr) 34px minmax(0, 1.18fr);
            gap: 14px;
            align-items: stretch;
            padding: 15px;
            border: 1px solid var(--line);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.68);
        }
        .mimi-sample-card.passed {
            border-color: rgba(27, 182, 171, 0.28);
            background: rgba(255, 255, 255, 0.78);
        }
        .mimi-sample-card.partial {
            border-color: rgba(255, 106, 50, 0.22);
        }
        .sample-side {
            display: grid;
            gap: 8px;
            align-content: start;
        }
        .sample-side audio {
            width: 100%;
            height: 38px;
        }
        .sample-text {
            margin: 0;
            color: #2c3b3d;
            font-size: 0.88rem;
            line-height: 1.55;
        }
        .asr-text {
            font-size: 0.8rem;
            color: var(--muted);
        }
        .sample-arrow {
            position: relative;
            min-height: 100%;
        }
        .sample-arrow::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 3px;
            right: 3px;
            height: 2px;
            background: linear-gradient(90deg, rgba(255, 106, 50, 0.18), var(--accent), rgba(255, 106, 50, 0.18));
            transform: translateY(-50%);
        }
        .sample-arrow::after {
            content: "";
            position: absolute;
            top: 50%;
            right: 2px;
            width: 8px;
            height: 8px;
            border-top: 2px solid var(--accent);
            border-right: 2px solid var(--accent);
            transform: translateY(-50%) rotate(45deg);
        }
        .sample-wave {
            display: flex;
            align-items: end;
            gap: 3px;
            min-height: 34px;
        }
        .sample-wave span {
            display: block;
            width: 5px;
            border-radius: 999px;
            background: rgba(255, 106, 50, 0.58);
        }
        .sample-wave span:nth-child(1) { height: 12px; }
        .sample-wave span:nth-child(2) { height: 24px; }
        .sample-wave span:nth-child(3) { height: 16px; }
        .sample-wave span:nth-child(4) { height: 30px; }
        .sample-wave span:nth-child(5) { height: 18px; }
        .sample-wave span:nth-child(6) { height: 26px; }
        .sample-wave span:nth-child(7) { height: 14px; }
        .sample-status {
            width: fit-content;
            border: 1px dashed rgba(255, 106, 50, 0.34);
            border-radius: 999px;
            padding: 5px 8px;
            color: var(--accent-strong);
            font-family: var(--font-mono);
            font-size: 0.62rem;
        }
        .source-card {
            padding: 18px 20px;
            margin-top: 24px;
        }
        .source-label {
            margin-bottom: 8px;
            color: var(--accent-strong);
            font-size: 0.72rem;
        }
        .source-card p {
            margin: 0;
            color: var(--muted);
            font-size: 0.94rem;
            line-height: 1.7;
        }
        @keyframes flow-line {
            from { background-position: 200% 0; }
            to { background-position: 0 0; }
        }
        @keyframes dash-flow {
            from { stroke-dashoffset: 18; }
            to { stroke-dashoffset: 0; }
        }
        @keyframes flow-down {
            from { background-position: 0 0; }
            to { background-position: 0 200%; }
        }
        @media (max-width: 980px) {
            .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
            .lab-header { display: block; }
            .mode-switcher { margin-top: 14px; }
            .convergence-grid,
            .gemma-branch-row,
            .gemma-flow-output,
            .modality-path,
            .speech-system-diagram,
            .reason-grid,
            .sample-card,
            .mimi-sample-grid,
            .mimi-sample-card,
            .care-grid {
                grid-template-columns: 1fr;
                gap: 8px;
            }
            .sample-arrow {
                min-height: 24px;
            }
            .sample-arrow::before {
                top: 4px;
                bottom: 4px;
                left: 50%;
                right: auto;
                width: 2px;
                height: auto;
                transform: translateX(-50%);
            }
            .sample-arrow::after {
                top: auto;
                bottom: 5px;
                right: auto;
                left: 50%;
                transform: translateX(-50%) rotate(135deg);
            }
            .modality-stack {
                gap: 8px;
            }
            .funnel-column {
                min-height: 32px;
                padding: 0;
            }
            .funnel-column::before {
                content: "";
                position: absolute;
                top: 4px;
                bottom: 4px;
                left: 50%;
                width: 2px;
                background: var(--accent);
                transform: translateX(-50%);
            }
            .funnel-column::after {
                content: "";
                position: absolute;
                bottom: 5px;
                left: 50%;
                width: 8px;
                height: 8px;
                border-right: 2px solid var(--accent);
                border-bottom: 2px solid var(--accent);
                transform: translateX(-50%) rotate(45deg);
            }
            .funnel-svg {
                display: none;
            }
            .connector {
                min-height: 26px;
            }
            .connector::before {
                top: 4px;
                bottom: 4px;
                left: 50%;
                right: auto;
                width: 2px;
                height: auto;
                transform: translateX(-50%);
            }
            .connector::after {
                top: auto;
                bottom: 5px;
                right: auto;
                left: 50%;
                transform: translateX(-50%) rotate(135deg);
            }
            .merge-node {
                min-height: 132px;
            }
            .gemma-branch-row > .connector,
            .gemma-branch-side {
                display: none;
            }
        }
        @media (max-width: 620px) {
            .post-body { padding: 20px; }
            .architecture-lab { padding: 14px; border-radius: 14px; }
            .architecture-canvas { padding: 10px; }
            .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .stat-chip { min-height: 82px; }
            .stat-chip .value { font-size: 1.22rem; }
            .mode-switcher { width: 100%; border-radius: 18px; }
            .mode-btn { flex: 1 1 calc(50% - 6px); }
            .node { min-height: 104px; padding: 12px; }
        }
        .author-x-pill {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-left: 10px;
            width: 26px;
            height: 26px;
            border-radius: 6px;
            background: #000;
            color: #fff;
            text-decoration: none;
            transition: transform 0.15s ease, background 0.15s ease;
            vertical-align: middle;
        }
        .author-x-pill svg { width: 13px; height: 13px; display: block; }
        .author-x-pill:hover { background: #222; transform: translateY(-1px); }

}
.legacy-post-body { --font-sans: var(--sans); --font-display: var(--serif); --font-mono: ui-monospace, monospace; width: 100%; }

/* Compatibility tokens stay inside the restored article, not the site shell. */
.legacy-post-body {
  --bg: var(--paper);
  --bg-2: #f0e9dc;
  --accent: var(--orange);
  --accent-soft: rgba(164, 69, 37, .12);
  --surface: rgba(255, 255, 255, .64);
  --surface-strong: rgba(255, 255, 255, .84);
  --line-strong: rgba(25, 37, 42, .18);
  --electric: #1bb6ab;
}
