:root {
    --bg-white: #FFFFFF;
    --bg-light: #F5F5F7;
    --bg-black: #0A0A0A;
    --accent-neon: #00FFA3;
    --accent-blue: #3B82F6;
    --border-dark: #E5E7EB;
    --border-strong: #111111;
    --border-light: #F0F0F0;
    --text-black: #000000;
    --text-gray: #6B7280;
    --text-muted: #9CA3AF;
    --text-white: #FFFFFF;
    --font-main: 'Inter', -apple-system, "PingFang SC", sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --container-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-white);
    color: var(--text-black);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-neon); }

.blog-header {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(10,10,10,0.92);
    border-bottom: 1px solid #1e1e1e;
    backdrop-filter: blur(16px);
}
.blog-header-inner {
    display: flex; justify-content: space-between; align-items: center;
    height: 72px; max-width: 1400px; margin: 0 auto; padding: 0 40px;
}
.blog-logo {
    font-family: var(--font-mono); font-size: 1.3rem; font-weight: 900;
    color: var(--text-white); text-decoration: none;
    display: flex; align-items: center; gap: 10px; letter-spacing: -0.05em;
}
.blog-logo-img { width: 28px; height: 28px; display: block; flex-shrink: 0; }
.blog-header-nav { display: flex; align-items: center; gap: 24px; }
.blog-list-link {
    font-family: var(--font-mono); font-size: 0.85rem; font-weight: 900;
    color: #666; text-decoration: none; text-transform: uppercase;
    transition: color 0.2s;
}
.blog-list-link:hover { color: var(--accent-neon); }
.blog-back-btn {
    font-family: var(--font-mono); font-size: 0.82rem; font-weight: 900;
    color: var(--text-white); text-decoration: none; text-transform: uppercase;
    border: 1.5px solid #333; padding: 8px 20px; border-radius: 100px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.blog-back-btn:hover { background: var(--accent-neon); color: #000; border-color: var(--accent-neon); }

.read-progress-bar {
    position: fixed; top: 72px; left: 0; height: 3px; width: 0%;
    background: var(--accent-neon); z-index: 101; transition: width 0.1s linear;
}

.article-hero {
    padding-top: 72px;
    background: var(--bg-black);
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    border-bottom: 1px solid #1a1a1a;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.article-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-neon), transparent);
}
.article-hero-inner {
    max-width: 1400px; margin: 0 auto; padding: 80px 40px 72px;
}
.article-hero-breadcrumbs {
    font-family: var(--font-mono); font-size: 0.78rem; font-weight: 800;
    color: #555; display: flex; flex-wrap: wrap; gap: 6px; line-height: 1.8;
    margin-bottom: 40px;
}
.article-hero-breadcrumbs a { color: #888; text-decoration: none; transition: color 0.2s; }
.article-hero-breadcrumbs a:hover { color: var(--accent-neon); }
.article-hero-breadcrumbs .sep { color: #333; }
.article-hero-breadcrumbs .current { color: #555; }

.article-hero-eyebrow {
    font-family: var(--font-mono); font-size: 0.8rem; font-weight: 900;
    color: var(--accent-neon); text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 24px; display: flex; align-items: center; gap: 10px;
}
.article-hero-eyebrow::before {
    content: ''; width: 24px; height: 2px; background: var(--accent-neon); display: block;
}

.article-hero-title {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 900; color: var(--text-white); line-height: 1.05;
    letter-spacing: -0.03em; text-transform: uppercase;
    max-width: 900px; margin-bottom: 56px;
}
.article-hero-title em {
    font-style: normal;
    color: var(--accent-neon);
}

.article-hero-meta-row {
    display: flex; align-items: center; flex-wrap: wrap; gap: 0;
    border-top: 1px solid #1e1e1e; padding-top: 28px;
}
.author-meta-placeholder {
    display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0;
}
.author-avatar {
    width: 48px; height: 48px; background: #1a1a1a; color: var(--accent-neon);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 900; font-family: var(--font-mono);
    border-radius: 10px; border: 1px solid #2a2a2a; flex-shrink: 0;
}
.author-name {
    font-weight: 900; font-size: 1rem; color: var(--text-white);
    text-transform: uppercase; line-height: 1.2;
}
.author-role {
    font-family: var(--font-mono); font-size: 0.78rem; color: #666; font-weight: 700; margin-top: 2px;
}
.post-date {
    font-family: var(--font-mono); font-size: 0.8rem; font-weight: 900;
    color: #000; background: var(--accent-neon);
    padding: 4px 12px; border-radius: 100px; margin-left: 16px; flex-shrink: 0;
}
.post-read-time {
    font-family: var(--font-mono); font-size: 0.78rem; color: #555; font-weight: 700;
    margin-left: 16px; flex-shrink: 0;
}

.article-layout {
    display: grid; grid-template-columns: 280px 1fr; gap: 64px;
    max-width: 1400px; margin: 0 auto; padding: 72px 40px 120px;
    align-items: start;
    width: 100%;
}

.article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }

.toc-box {
    background: var(--bg-black);
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 24px 24px;
    border: 1px solid #1e1e1e; border-radius: 16px; padding: 28px 24px;
    overflow: hidden;
}
.toc-title {
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--accent-neon); margin-bottom: 20px;
    display: flex; align-items: center; gap: 8px;
}
.toc-title::before {
    content: '//'; color: #333;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.toc-list a {
    font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700;
    color: #555; text-decoration: none;
    transition: all 0.2s; padding: 8px 10px; border-radius: 6px;
    line-height: 1.4; display: flex; align-items: flex-start; gap: 8px;
    border: 1px solid transparent;
}
.toc-list a::before {
    content: attr(data-num);
    color: #2a2a2a; flex-shrink: 0; font-size: 0.7rem; padding-top: 1px;
    min-width: 16px;
}
.toc-list li:nth-child(1) a::before { content: '01'; }
.toc-list li:nth-child(2) a::before { content: '02'; }
.toc-list li:nth-child(3) a::before { content: '03'; }
.toc-list li:nth-child(4) a::before { content: '04'; }
.toc-list li:nth-child(5) a::before { content: '05'; }
.toc-list a:hover { color: var(--text-white); background: rgba(255,255,255,0.04); border-color: var(--accent-neon); box-shadow: 0 4px 16px rgba(0,255,163,0.08); }
.toc-list a.active { color: var(--text-white); background: rgba(0,255,163,0.08); border-color: rgba(0,255,163,0.2); }
.toc-list a.active::before { color: var(--accent-neon); }

.article-main { max-width: 880px; padding-bottom: 60px; }

.article-content { font-size: 1.1rem; color: #1a1a1a; line-height: 1.85; }
.article-content p { margin-bottom: 28px; font-weight: 400; text-align: justify; color: #222; }
.article-content strong { font-weight: 800; color: var(--text-black); }

.article-content h2 {
    margin: 96px 0 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 20px;
    align-items: start;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-dark);
    margin-bottom: 36px;
}
.section-num {
    font-family: var(--font-mono); font-size: 5rem; font-weight: 900;
    color: #F0F0F0; line-height: 0.9; letter-spacing: -0.05em;
    grid-row: 1 / 3;
    align-self: center;
    user-select: none;
}
.section-label {
    font-size: 1.9rem; font-weight: 900; text-transform: uppercase;
    letter-spacing: -0.02em; color: var(--text-black); line-height: 1.1;
    display: block;
}
.section-label::before {
    content: '// SECTION';
    display: block;
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--accent-neon);
    margin-bottom: 8px;
}

.article-content h3 {
    font-size: 1.3rem; font-weight: 800; margin: 48px 0 18px; color: var(--text-black);
    display: flex; align-items: center; gap: 10px;
}
.article-content h3::before {
    content: ''; width: 4px; height: 20px; background: var(--accent-neon);
    border-radius: 2px; flex-shrink: 0;
}

.article-content blockquote {
    margin: 48px 0;
    padding: 0;
    border: none;
    background: none;
    position: relative;
}
.article-content blockquote::before {
    content: '\201C';
    position: absolute; top: -24px; left: -8px;
    font-size: 8rem; font-weight: 900; line-height: 1;
    color: #F0F0F0; font-family: Georgia, serif;
    z-index: 0;
}
.article-content blockquote p {
    font-size: 1.35rem; font-weight: 700; line-height: 1.6;
    color: var(--text-black); margin: 0;
    border-left: 4px solid var(--accent-neon); padding-left: 28px;
    position: relative; z-index: 1; text-align: left;
}

.article-content ul { margin-bottom: 32px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.article-content ul li {
    font-weight: 500; line-height: 1.7; color: #333;
    padding: 14px 18px 14px 52px; position: relative;
    background: var(--bg-light); border-radius: 10px;
    border: 1px solid var(--border-dark);
}
.article-content ul li::before {
    content: '→';
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    font-family: var(--font-mono); font-weight: 900; color: var(--accent-neon);
    font-size: 1rem;
}
.article-content ul li strong { color: var(--text-black); font-weight: 800; }

.article-content ol { margin-bottom: 32px; padding-left: 0; list-style: none; counter-reset: list-counter; display: flex; flex-direction: column; gap: 10px; }
.article-content ol li {
    font-weight: 500; line-height: 1.7; color: #333;
    padding: 14px 18px 14px 60px; position: relative;
    background: var(--bg-light); border-radius: 10px;
    border: 1px solid var(--border-dark);
    counter-increment: list-counter;
}
.article-content ol li::before {
    content: counter(list-counter, decimal-leading-zero);
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    font-family: var(--font-mono); font-weight: 900; color: var(--accent-neon); font-size: 0.82rem;
}
.article-content ol li strong { color: var(--text-black); font-weight: 800; }

.article-table-wrap {
    margin: 0 0 36px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    background: var(--bg-white);
    box-shadow: 0 0 0 1px var(--border-dark), 0 4px 24px rgba(0,0,0,0.06);
}
.article-content table.article-matrix {
    --matrix-col-label-min: 6rem;
    --matrix-col-label-max: 14rem;
    --matrix-col-data-min: 10rem;
    --matrix-col-data-max: 26rem;
    --matrix-col-tail-min: 4.5rem;
    --matrix-col-tail-max: 7rem;
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    table-layout: auto;
}
.article-matrix-caption {
    caption-side: top; text-align: left;
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-neon);
    padding: 14px 20px 12px;
    border-bottom: 1px solid var(--border-dark);
    background: var(--bg-black); color: var(--accent-neon);
    border-radius: 16px 16px 0 0;
    word-break: keep-all;
    overflow-wrap: break-word;
}
.article-content table.article-matrix th,
.article-content table.article-matrix td {
    border: 1px solid var(--border-dark);
    padding: 14px 16px;
    vertical-align: top;
    line-height: 1.55;
    text-align: left;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: auto;
    box-sizing: border-box;
}
.article-content table.article-matrix thead th {
    background: #111; color: #888;
    font-weight: 900; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.04em;
    border-color: #222;
}
/* 标签列：min/max 约束，未触顶不换行 */
.article-content table.article-matrix thead th:first-child,
.article-content table.article-matrix tbody th[scope="row"] {
    min-width: var(--matrix-col-label-min);
    max-width: var(--matrix-col-label-max);
    font-weight: 700;
    font-size: 0.88rem;
}
.article-content table.article-matrix tbody th[scope="row"] {
    background: var(--bg-light);
    color: var(--text-black);
}
/* 数据列：min/max 约束，均分剩余空间，触顶才换行 */
.article-content table.article-matrix thead th:not(:first-child),
.article-content table.article-matrix tbody td {
    min-width: var(--matrix-col-data-min);
    max-width: var(--matrix-col-data-max);
}
/* 4 列表：放宽标签列，收紧日期/码点列 */
.article-content table.article-matrix:has(thead tr > th:nth-child(4)) {
    --matrix-col-label-max: 16rem;
}
.article-content table.article-matrix:has(thead tr > th:nth-child(4)) thead th:nth-child(2),
.article-content table.article-matrix:has(thead tr > th:nth-child(4)) tbody td:nth-child(2) {
    min-width: 7rem;
    max-width: 11rem;
}
.article-content table.article-matrix:has(thead tr > th:nth-child(4)) thead th:nth-child(3),
.article-content table.article-matrix:has(thead tr > th:nth-child(4)) tbody td:nth-child(3) {
    min-width: 8rem;
    max-width: 14rem;
}
.article-content table.article-matrix:has(thead tr > th:nth-child(4)) thead th:last-child,
.article-content table.article-matrix:has(thead tr > th:nth-child(4)) tbody td:last-child {
    min-width: var(--matrix-col-tail-min);
    max-width: var(--matrix-col-tail-max);
}
.article-content table.article-matrix td code,
.article-content table.article-matrix th code {
    word-break: break-all;
    overflow-wrap: anywhere;
}
.article-content table.article-matrix tbody tr.article-matrix-row-emphasis td,
.article-content table.article-matrix tbody tr.article-matrix-row-emphasis th {
    background: #000; color: var(--text-white); border-color: #1a1a1a; font-weight: 900;
}
.article-content table.article-matrix tbody tr.article-matrix-row-emphasis td strong,
.article-content table.article-matrix tbody tr.article-matrix-row-emphasis th { color: var(--accent-neon); }

.article-content code {
    font-family: var(--font-mono); font-size: 0.86em; font-weight: 700;
    background: #f0f0f0; padding: 2px 7px; color: #111;
    border: 1px solid #e0e0e0; border-radius: 4px;
}

.terminal-block {
    margin: 48px 0;
    border-radius: 16px; background: #0d0d0d; color: var(--bg-white);
    overflow: hidden; max-width: 100%;
    box-shadow: 0 24px 64px rgba(0,0,0,0.2), 0 0 0 1px #1a1a1a;
}
.terminal-block .term-header {
    background: #141414; padding: 12px 20px; font-size: 0.78rem; font-weight: 800;
    color: #444; border-bottom: 1px solid #1a1a1a; text-transform: uppercase;
    font-family: var(--font-mono); display: flex; align-items: center; gap: 8px;
}
.term-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.term-dot:nth-child(1) { background: #FF5F57; }
.term-dot:nth-child(2) { background: #FEBC2E; }
.term-dot:nth-child(3) { background: #28C840; }
.term-filename { margin-left: auto; color: #333; letter-spacing: 0.05em; }
.terminal-block pre {
    margin: 0; padding: 28px 32px; overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: pre; word-wrap: normal;
    font-family: var(--font-mono); font-size: 0.88rem; line-height: 2;
    max-width: 100%;
}
.terminal-block pre code { background: transparent; padding: 0; border: none; color: #ccc; display: block; white-space: pre; }
.hl { color: var(--accent-neon); font-weight: 900; }
.err { color: #FF5F57; font-weight: 900; }
.ok { color: #28C840; font-weight: 900; }
.dim { color: #444; }

.article-divider {
    border: none; border-top: 1px solid var(--border-dark); margin: 80px 0;
}

.article-cta {
    background: var(--bg-black);
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    border-radius: 24px; padding: 80px 64px; text-align: center; margin: 80px 0 0;
    position: relative; overflow: hidden;
    border: 1px solid #1a1a1a;
}
.article-cta::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 320px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-neon), transparent);
}
.article-cta h3 {
    font-size: 3rem; font-weight: 900; text-transform: uppercase;
    margin-bottom: 16px; color: var(--bg-white);
    line-height: 1; letter-spacing: -0.04em;
}
.article-cta p { font-size: 1.05rem; font-weight: 500; color: #666; margin-bottom: 40px; }
.article-cta .btn {
    display: inline-flex; padding: 18px 56px; background: var(--accent-neon); color: #000;
    font-family: var(--font-mono); font-size: 0.95rem; font-weight: 900; text-transform: uppercase;
    text-decoration: none; border-radius: 100px; transition: 0.25s;
    letter-spacing: 0.02em;
}
.article-cta .btn:hover { background: #fff; transform: scale(1.04); }

.floating-cta {
    position: fixed; bottom: 40px; right: 40px; z-index: 99;
    background: #0d0d0d; color: var(--bg-white);
    border: 1px solid #1e1e1e; border-radius: 18px; padding: 28px 22px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,255,163,0.08);
    display: flex; flex-direction: column; gap: 12px; width: 290px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.floating-cta:hover { transform: translateY(-6px); box-shadow: 0 32px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,255,163,0.2); }
.floating-cta .fc-label {
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 900;
    color: var(--accent-neon); text-transform: uppercase; letter-spacing: 0.1em;
    border-bottom: 1px solid #1e1e1e; padding-bottom: 10px; margin-bottom: 4px;
}
.floating-cta .fc-desc { font-size: 0.9rem; font-weight: 600; line-height: 1.5; color: #aaa; }
.floating-cta .fc-btn {
    background: var(--accent-neon); color: #000; text-align: center;
    padding: 13px; border-radius: 100px;
    font-family: var(--font-mono); font-weight: 900; text-decoration: none;
    text-transform: uppercase; font-size: 0.82rem; margin-top: 4px; transition: 0.2s;
    letter-spacing: 0.02em;
}
.floating-cta .fc-btn:hover { background: #fff; }

.blog-list-container { max-width: var(--container-width); margin: 0 auto; padding: 0 40px; }

.bg-blueprint {
    background-color: var(--bg-white);
    background-image: linear-gradient(var(--border-light) 1px, transparent 1px), linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 40px 40px;
    border-bottom: 1px solid var(--border-dark);
}
.tech-eyebrow {
    font-family: var(--font-mono); font-size: 0.85rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.05em; margin-bottom: 24px; display: inline-flex; align-items: center;
    padding: 4px 12px; border-radius: 100px; background: var(--text-black); color: var(--accent-neon);
}
.page-header { padding: 160px 0 80px; text-align: left; }
.page-title { font-size: 4.5rem; font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -0.04em; margin-bottom: 24px; }
.page-desc { font-size: 1.25rem; color: var(--text-gray); font-weight: 600; max-width: 600px; }

.blog-archive { padding: 40px 0 120px; }

.featured-log {
    background: var(--bg-black); color: var(--bg-white); border: 1px solid #222;
    border-radius: 20px; padding: 64px 80px; display: block;
    text-decoration: none; margin-bottom: 80px; position: relative; transition: transform 0.2s;
}
.featured-log:hover { transform: translateY(-4px); }
.fl-label {
    position: absolute; top: 24px; left: 24px; background: var(--accent-neon); color: #000;
    padding: 6px 14px; border-radius: 100px; font-family: var(--font-mono); font-weight: 900; text-transform: uppercase; font-size: 0.8rem;
}
.fl-title { font-size: 3.2rem; font-weight: 900; text-transform: uppercase; line-height: 1.1; margin-top: 48px; margin-bottom: 24px; color: var(--bg-white); letter-spacing: -0.02em; }
.fl-desc { font-size: 1.2rem; color: #aaa; font-weight: 600; max-width: 800px; margin-bottom: 48px; line-height: 1.6; }
.fl-meta { font-family: var(--font-mono); color: var(--accent-neon); font-weight: 800; display: flex; gap: 24px; font-size: 0.9rem; text-transform: uppercase; }

.log-filter-bar { display: flex; gap: 12px; margin-bottom: 48px; border-bottom: 1px solid var(--border-dark); padding-bottom: 24px; flex-wrap: wrap; }
.filter-tab {
    font-family: var(--font-mono); font-weight: 900; font-size: 0.9rem;
    padding: 10px 20px; border: 1.5px solid var(--border-dark); border-radius: 100px; background: var(--bg-white);
    color: var(--text-black); cursor: pointer; text-transform: uppercase;
    transition: all 0.2s; display: flex; align-items: center; gap: 10px;
}
.filter-tab:hover { background: var(--bg-light); }
.filter-tab.active { background: var(--text-black); color: var(--accent-neon); border-color: var(--text-black); }
.f-count { background: var(--border-light); color: var(--text-black); font-size: 0.85rem; padding: 2px 8px; border-radius: 100px; transition: all 0.2s; }
.filter-tab.active .f-count { background: #222; color: var(--accent-neon); }

.log-list-header {
    display: grid; grid-template-columns: 160px 180px 1fr 120px; padding-bottom: 16px;
    border-bottom: 2px solid var(--border-strong); font-family: var(--font-mono); font-weight: 900;
    text-transform: uppercase; font-size: 0.85rem; color: var(--text-gray); margin-bottom: 16px;
}
.log-row {
    display: grid; grid-template-columns: 160px 180px 1fr 120px; gap: 24px; padding: 40px 0;
    border-bottom: 1px solid var(--border-dark); text-decoration: none; color: var(--text-black);
    transition: all 0.2s ease; align-items: flex-start;
}
.log-row:hover {
    background: var(--text-black); color: var(--bg-white);
    padding-left: 32px; padding-right: 32px; border-radius: 12px; border-bottom-color: var(--text-black);
}
.log-date { font-family: var(--font-mono); font-weight: 900; font-size: 1.1rem; transition: color 0.2s; }
.log-row:hover .log-date { color: var(--accent-neon); }
.log-badge { font-family: var(--font-mono); font-weight: 800; font-size: 0.82rem; padding: 4px 12px; border: 1.5px solid var(--border-dark); border-radius: 100px; display: inline-block; text-transform: uppercase; transition: all 0.2s; }
.log-row:hover .log-badge { border-color: var(--accent-neon); color: var(--accent-neon); }
.log-badge.oc { background: var(--text-black); color: var(--bg-white); }
.log-row:hover .log-badge.oc { background: transparent; }
.log-title { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; margin-bottom: 12px; line-height: 1.2; letter-spacing: -0.01em; transition: color 0.2s; }
.log-row:hover .log-title { color: var(--bg-white); }
.log-snippet { font-size: 1rem; color: var(--text-gray); font-weight: 600; line-height: 1.6; transition: color 0.2s; }
.log-row:hover .log-snippet { color: #aaa; }
.log-action { font-family: var(--font-mono); font-weight: 900; text-align: right; text-transform: uppercase; font-size: 0.9rem; transition: color 0.2s; }
.log-row:hover .log-action { color: var(--accent-neon); }

@media (max-width: 1440px) { .floating-cta { display: none; } }

@media (max-width: 1024px) {
    .article-layout { grid-template-columns: 1fr; gap: 0; padding-top: 48px; }
    .article-sidebar { position: relative; top: 0; }
    .toc-box { display: none; }
    .floating-cta { display: none; }
    .log-list-header { display: none; }
    .log-row { grid-template-columns: 1fr; gap: 16px; padding: 32px 24px; border: 1px solid var(--border-dark); border-radius: 12px; margin-bottom: 16px; background: var(--bg-white); }
    .log-row:hover { padding-left: 24px; padding-right: 24px; transform: translateY(-4px); }
    .log-action { text-align: left; margin-top: 16px; }
    .featured-log { padding: 48px 32px; margin-bottom: 64px; }
    .fl-title { font-size: 2.5rem; }
    .article-hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .blog-header-inner { padding: 0 20px; }
    .blog-list-link { display: none; }
    .article-hero-inner { padding: 60px 20px 48px; }
    .article-hero-title { font-size: 2.2rem; }
    .article-hero-meta-row { flex-direction: column; align-items: flex-start; gap: 16px; }
    .post-date, .post-read-time { margin-left: 0; }
    .article-layout { padding: 32px 20px 80px; }
    .article-main { max-width: 100%; overflow: hidden; }
    .article-content { overflow-wrap: break-word; word-break: break-word; }
    .article-content table.article-matrix th,
    .article-content table.article-matrix td {
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    .article-content table.article-matrix {
        --matrix-col-label-min: 5rem;
        --matrix-col-label-max: 11rem;
        --matrix-col-data-min: 8rem;
        --matrix-col-data-max: 20rem;
        --matrix-col-tail-min: 4rem;
        --matrix-col-tail-max: 6rem;
    }
    .section-num { font-size: 3.5rem; }
    .section-label { font-size: 1.5rem; }
    .article-cta { padding: 48px 24px; }
    .article-cta h3 { font-size: 2.2rem; }
    .page-title { font-size: 3rem; }
    .log-filter-bar { flex-direction: column; }
    .filter-tab { justify-content: space-between; }
    .blog-list-container { padding: 0 20px; }
    .blog-list-container.page-header { padding: 120px 20px 60px; }
    .featured-log { padding: 40px 24px; border-radius: 14px; margin-bottom: 40px; }
    .fl-title { font-size: 1.9rem; margin-top: 36px; }
    .fl-desc { font-size: 1rem; margin-bottom: 28px; }
    .fl-meta { flex-wrap: wrap; gap: 12px; font-size: 0.8rem; }
    .blog-archive { overflow-x: hidden; }
    .article-content h2 { grid-template-columns: 1fr; }
    .section-num { display: none; }
    .terminal-block pre { padding: 20px 16px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
    .article-hero-title { font-size: 1.8rem; }
    .featured-log { padding: 32px 20px; border-radius: 12px; }
    .fl-label { font-size: 0.72rem; padding: 5px 12px; }
    .fl-title { font-size: 1.5rem; margin-top: 28px; }
    .fl-desc { font-size: 0.92rem; }
    .fl-meta { flex-direction: column; gap: 8px; }
    .blog-list-container { padding: 0 16px; }
    .blog-list-container.page-header { padding: 100px 16px 48px; }
    .page-title { font-size: 2.4rem; }
    .article-cta { padding: 40px 20px; }
    .article-cta h3 { font-size: 1.8rem; }
    .terminal-block pre { padding: 16px 14px; font-size: 0.78rem; }
    .article-layout { padding: 24px 16px 80px; }
}

.faq-block {
    margin: 80px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-white);
}
.faq-question {
    font-weight: 800;
    font-size: 1rem;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-black);
    list-style: none;
    gap: 12px;
    user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent-neon);
    flex-shrink: 0;
    line-height: 1;
    font-family: var(--font-mono);
}
details[open] > .faq-question::after { content: "\2212"; }
.faq-answer {
    padding: 0 24px 20px;
    border-top: 1px solid var(--border-dark);
    background: var(--bg-light);
}
.faq-answer p {
    margin-bottom: 0;
    font-size: 1rem;
    color: #444;
    padding-top: 16px;
}
.article-content h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 32px 0 12px;
    color: var(--text-black);
    padding-left: 12px;
    border-left: 3px solid var(--border-dark);
}
.article-content h5 {
    font-size: 0.88rem;
    font-weight: 700;
    margin: 24px 0 8px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: var(--font-mono);
}
