/* Blog explorer: restrained black/white document UI. The global navbar is intentionally untouched. */
:root {
    --wiki-black: #151515;
    --wiki-ink: #222;
    --wiki-muted: #6f6f6f;
    --wiki-faint: #969696;
    --wiki-line: #dedede;
    --wiki-line-soft: #ededed;
    --wiki-paper: #fff;
    --wiki-panel: #f7f7f7;
    --wiki-link: #1769aa;
    --wiki-link-hover: #0b4b7a;
    --wiki-green: #237a49;
    --wiki-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
    --wiki-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.landing-body.blog-explorer-body {
    min-width: 320px;
    color: #fff;
    background: #050505;
    background-image: none;
}

.blog-explorer-body .navbar {
    position: relative;
    z-index: 20;
    background: linear-gradient(102deg, #050505 0%, #151515 48%, #070707 100%) !important;
    border-bottom-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5) !important;
}

.blog-explorer-body .nav-brand h1 { text-shadow: 0 0 18px rgba(255, 255, 255, 0.16); }
.blog-explorer-body .nav-menu a,
.blog-explorer-body .nav-shortcuts a { color: rgba(255, 255, 255, 0.82) !important; }
.blog-explorer-body .nav-menu a:hover,
.blog-explorer-body .nav-shortcuts a:hover { color: #fff !important; }

.blog-explorer-body footer[style] {
    background: radial-gradient(circle at 86% 0%, rgba(255, 255, 255, 0.09), transparent 32%), linear-gradient(125deg, #050505 0%, #111 54%, #060606 100%) !important;
    border-top-color: rgba(255, 255, 255, 0.13) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.blog-explorer-body footer [style*="color:#94a3b8"] { color: rgba(255, 255, 255, 0.7) !important; }
.blog-explorer-body footer [style*="color:#64748b"] { color: rgba(255, 255, 255, 0.46) !important; }
.blog-explorer-body footer [style*="border-top:1px solid #1e293b"] { border-top-color: rgba(255, 255, 255, 0.1) !important; }

.blog-shell {
    width: min(1440px, 100%);
    min-height: calc(100vh - 170px);
    margin: 0 auto;
    padding: 34px 28px 74px;
    position: relative;
    background: #050505;
}

.blog-preview-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 16px;
    padding: 6px 9px;
    color: #555;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    background: #fafafa;
    font-size: 0.72rem;
    font-weight: 600;
}

.blog-preview-ribbon::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #222;
    content: "";
}

.blog-command-deck {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding: 0 2px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.blog-eyebrow {
    margin: 0 0 9px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.blog-title {
    margin: 0;
    color: #fff;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1.22;
}

.blog-title em {
    color: inherit;
    font-style: normal;
}

.blog-intro {
    max-width: 740px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.88rem;
    line-height: 1.7;
}

.blog-control-cluster {
    display: flex;
    align-items: center;
}

.blog-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 36px;
    padding: 0 10px;
    color: #222;
    border: 1px solid #bdbdbd;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.blog-icon-button:hover,
.blog-icon-button:focus-visible {
    color: #000;
    border-color: #222;
    background: #f0f0f0;
    outline: none;
}

.blog-icon-button svg,
.tree-row svg,
.blog-empty-icon svg,
.version-arrow svg,
.comment-lock svg,
.related-arrow svg,
.blog-back-link svg,
.comment-login-link svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-icon-button .blog-button-text {
    margin-left: 7px;
    font-size: 0.76rem;
    font-weight: 700;
}

.blog-icon-button .pulse-ring { display: none; }

.blog-layout { display: block; }

.blog-tree-wrap {
    position: sticky;
    z-index: 30;
    top: 10px;
    min-width: 0;
    margin-bottom: 18px;
}
.blog-index-shell .blog-tree-wrap { position: static; }

.blog-tree-controlbar {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 13px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 3px 3px 0 0;
    background: #101010;
}

.blog-tree-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 8px;
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 2px;
    background: #111;
    cursor: pointer;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    margin: 0;
}

.blog-tree-toggle:hover,
.blog-tree-toggle:focus-visible { color: #fff; border-color: #fff; outline: none; }
.blog-tree-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.blog-tree {
    width: 100%;
    max-height: min(278px, calc(100vh - 104px));
    padding: 10px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 0;
    border-radius: 0 0 3px 3px;
    background: #101010;
    transition: opacity 150ms ease, transform 180ms var(--wiki-ease);
}

.blog-shell[data-tree-state="closed"] .blog-tree {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.blog-shell[data-tree-state="closed"] .blog-tree-controlbar {
    width: fit-content;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.blog-shell[data-tree-state="closed"] .blog-tree-controlbar .blog-tree-label,
.blog-shell[data-tree-state="closed"] .blog-tree-controlbar .blog-tree-back-link,
.blog-shell[data-tree-state="closed"] .blog-tree-controlbar .blog-tree-count { display: none; }

.blog-tree::-webkit-scrollbar { width: 7px; }
.blog-tree::-webkit-scrollbar-thumb { background: #c7c7c7; border-radius: 5px; }

.blog-tree-label {
    color: #fff;
    font-size: 0.77rem;
    font-weight: 800;
}

.blog-tree-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.58);
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
}
.blog-tree-count strong { color: #fff; font-family: 'Outfit', sans-serif; font-size: .72rem; }
.blog-tree-back-link { padding: 4px 0; border: 0; border-radius: 0; }

.tree-group { margin: 0; border: 0; }
.tree-node { position: relative; }
.tree-entry { display: grid; grid-template-columns: 21px minmax(0, 1fr); align-items: stretch; }
.tree-node .tree-items { margin-left: 13px; border-left: 1px solid rgba(255, 255, 255, 0.15); }

.tree-group-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0;
    color: rgba(255, 255, 255, 0.65);
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 0;
    text-align: left;
}

.tree-group-toggle:hover,
.tree-group-toggle:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.tree-chevron {
    width: 7px;
    height: 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 150ms ease;
}

.tree-group.is-expanded .tree-chevron { transform: rotate(45deg); }
.tree-items { display: grid; grid-template-rows: 0fr; opacity: 0; pointer-events: none; transition: grid-template-rows 230ms var(--wiki-ease), opacity 150ms ease; }
.tree-group.is-expanded .tree-items { grid-template-rows: 1fr; opacity: 1; pointer-events: auto; }
.tree-items-inner { min-height: 0; overflow: hidden; transform: translateY(-4px); transition: transform 230ms var(--wiki-ease); }
.tree-group.is-expanded > .tree-items > .tree-items-inner { transform: translateY(0); }

.tree-leaf-marker { width: 5px; height: 5px; align-self: center; justify-self: center; border-radius: 50%; background: rgba(255,255,255,0.38); }

.tree-row {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 47px;
    padding: 6px 8px;
    color: rgba(255, 255, 255, 0.86);
    border-left: 1px solid transparent;
    text-decoration: none;
    transition: color 130ms ease, border-color 130ms ease, background 130ms ease;
}

.tree-row:hover,
.tree-row:focus-visible { color: #fff; background: rgba(255, 255, 255, 0.11); outline: none; }
.tree-row.is-current { color: #fff; border-left-color: #fff; background: rgba(255, 255, 255, 0.14); font-weight: 700; }
.tree-level-label { display: block; color: rgba(255, 255, 255, 0.46); font-size: 0.6rem; white-space: nowrap; }
.tree-row-title { min-width: 0; max-width: calc(100% - 74px); overflow: hidden; font-size: 0.7rem; text-overflow: ellipsis; white-space: nowrap; }
.tree-version-count { color: rgba(255, 255, 255, 0.48); font-family: 'Outfit', sans-serif; font-size: 0.65rem; }

.blog-feed { min-width: 0; }

.blog-feed-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.48);
}

.blog-feed-summary { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 0.72rem; }
.blog-feed-summary strong { margin-right: 3px; color: #fff; font-family: 'Outfit', sans-serif; font-size: 0.76rem; }
.blog-feed-summary span { color: inherit; }
.blog-sort-label { margin-left: auto; color: rgba(255, 255, 255, 0.7); font-size: 0.7rem; }
.blog-sort-select { height: 29px; padding: 0 27px 0 8px; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; background: #111; font: inherit; font-size: .7rem; }
.blog-sort-select:focus-visible { outline: 1px solid #fff; outline-offset: 2px; }

.blog-card-grid { display: grid; gap: 0; border-top: 0; }

.blog-card {
    display: grid;
    grid-template-columns: 178px 135px minmax(0, 1fr) auto;
    grid-template-areas: "thumb category title foot" "thumb category description foot";
    gap: 6px 18px;
    min-height: 117px;
    padding: 20px 14px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
    background: #050505;
    text-decoration: none;
    transition: background 140ms ease, padding-left 140ms ease;
}

.blog-card:hover,
.blog-card:focus-visible { padding-left: 20px; background: #121212; outline: none; }
.blog-card-thumb { grid-area: thumb; align-self: stretch; min-height: 76px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.18); background: #121212; }
.blog-card-thumb img { display: block; width: 100%; height: 100%; min-height: 76px; object-fit: cover; filter: saturate(.74) contrast(1.06); transition: transform 220ms var(--wiki-ease), filter 220ms ease; }
.blog-card:hover .blog-card-thumb img { filter: saturate(1) contrast(1.05); transform: scale(1.035); }
.blog-card-thumb span { display: grid; height: 100%; min-height: 76px; place-items: center; color: rgba(255,255,255,.42); font-family: Outfit, sans-serif; font-size: .65rem; letter-spacing: .12em; }
.blog-card-topline { grid-area: category; display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.blog-card-category { color: rgba(255, 255, 255, .76); font-size: 0.72rem; font-weight: 700; }
.blog-card-version { display: block; width: 100%; color: rgba(255, 255, 255, .46); font-size: 0.65rem; }
.blog-card-title { grid-area: title; margin: 0; color: #fff; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.45; }
.blog-card-description { grid-area: description; max-width: 720px; margin: 0; overflow: hidden; color: rgba(255,255,255,.68); font-size: 0.8rem; line-height: 1.65; text-overflow: ellipsis; white-space: nowrap; }
.blog-card-foot { grid-area: foot; display: flex; min-width: 106px; align-items: flex-end; justify-content: flex-end; gap: 5px; color: rgba(255,255,255,.52); font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-size: 0.65rem; white-space: nowrap; }
.blog-card-foot span + span::before { margin: 0 5px 0 1px; color: rgba(255,255,255,.25); content: "·"; }
.blog-card-arrow { display: inline-flex; margin-left: 9px; color: #fff; transition: transform 150ms var(--wiki-ease); }
.blog-card:hover .blog-card-arrow { transform: translateX(3px); }
.blog-card-arrow svg { width: 15px; height: 15px; }

.blog-empty { padding: 88px 20px; border: 1px solid var(--wiki-line); border-top: 0; background: #fafafa; text-align: center; }
.blog-empty-inner { max-width: 400px; margin: 0 auto; }
.blog-empty-icon { display: inline-grid; width: 42px; height: 42px; place-items: center; color: #555; border: 1px solid #bbb; border-radius: 50%; background: #fff; }
.blog-empty-icon svg { width: 19px; height: 19px; }
.blog-empty h2 { margin: 16px 0 5px; color: #222; font-size: 1rem; }
.blog-empty p { margin: 0; color: #888; font-size: 0.8rem; line-height: 1.6; }

.blog-detail-shell { padding-top: 27px; }
.blog-back-link { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.7); font-size: 0.74rem; text-decoration: none; }
.blog-back-link { padding: 7px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 2px; }
.blog-back-link:hover,
.blog-back-link:focus-visible { color: #fff; border-color: #fff; background: #151515; outline: none; }
.blog-back-link svg { width: 14px; height: 14px; }

.blog-document { min-width: 0; max-width: none; }
.version-region { margin-bottom: 14px; }
.version-panel { min-width: 0; border: 1px solid rgba(255,255,255,.18); background: #101010; }
.version-panel-head { display: flex; width: 100%; align-items: center; justify-content: flex-start; gap: 12px; padding: 0; border-bottom: 1px solid rgba(255,255,255,.14); background: transparent; }
.version-panel-toggle { display: flex; min-width: 0; align-items: center; justify-content: flex-start; gap: 12px; padding: 11px 13px; color: inherit; border: 0; background: transparent; cursor: pointer; font: inherit; text-align: left; }
.version-panel-toggle:hover,
.version-panel-toggle:focus-visible { background: #171717; outline: 1px solid #fff; outline-offset: -1px; }
.version-panel-heading { display: flex; align-items: center; gap: 8px; }
.version-panel-heading strong { color: #fff; font-size: 0.77rem; }
.version-panel-heading span,
.version-panel-control { color: rgba(255,255,255,.52); font-size: 0.67rem; }
.version-panel-control { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.version-sort-control { display: inline-flex; align-items: center; gap: 7px; margin-left: 2px; color: rgba(255,255,255,.52); font-size: .66rem; white-space: nowrap; }
.version-sort-control select { height: 27px; padding: 0 24px 0 8px; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 2px; background: #111; font: inherit; font-size: .66rem; }
.version-sort-control select:focus-visible { outline: 1px solid #fff; outline-offset: 2px; }
.version-panel-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.version-chevron { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform 150ms ease; }
.version-panel-head[aria-expanded="false"] .version-chevron { transform: rotate(-45deg) translate(-1px, 1px); }
.version-list { display: grid; }
.version-list.is-collapsed { display: none; }
.version-row { display: flex; align-items: center; justify-content: flex-start; gap: 13px; min-width: 0; padding: 12px 13px; color: rgba(255,255,255,.65); border-bottom: 1px solid rgba(255,255,255,.12); text-decoration: none; }
.version-row:last-child { border-bottom: 0; }
.version-row:hover,
.version-row:focus-visible { color: #fff; background: #202020; outline: none; }
.version-row.is-current { color: #fff; background: #292929; }
.version-row-time { color: rgba(255,255,255,.45); font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-size: 0.65rem; white-space: nowrap; }
.version-row-title { max-width: min(55vw, 660px); overflow: hidden; font-size: 0.71rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.version-row-state { color: rgba(255,255,255,.48); font-size: 0.64rem; }
.version-row.is-current .version-row-state { color: #fff; font-weight: 700; }
.version-older-divider { padding: 9px 13px 6px; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.2); font-size: .64rem; font-weight: 700; letter-spacing: .02em; }
.version-row-older { background: #0b0b0b; }

.outdated-notice { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; padding: 10px 12px; color: #fff; border: 1px solid rgba(255,255,255,.35); background: #161616; text-decoration: none; }
.outdated-notice:hover,
.outdated-notice:focus-visible { border-color: #fff; background: #222; outline: none; }
.version-arrow { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; color: #111; border-radius: 50%; background: #fff; }
.version-arrow svg { width: 14px; height: 14px; stroke-width: 2; }
.outdated-copy { display: grid; gap: 2px; min-width: 0; }
.outdated-copy strong { color: #fff; font-size: 0.75rem; }
.outdated-copy span { color: rgba(255,255,255,.66); font-size: 0.68rem; }

.document-header { padding: 19px 21px 17px; border: 1px solid rgba(255,255,255,.18); border-bottom: 0; background: #0d0d0d; }
.document-path { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 13px; color: rgba(255,255,255,.52); font-size: 0.7rem; }
.document-path span:not(:last-child)::after { margin: 0 8px; color: rgba(255,255,255,.3); content: "/"; }
.document-header h1 { margin: 0; color: #fff; font-size: clamp(1.45rem, 3vw, 2.15rem); font-weight: 800; letter-spacing: -0.055em; line-height: 1.35; }
.document-meta { display: flex; align-items: center; gap: 8px; margin-top: 13px; color: rgba(255,255,255,.58); font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-size: 0.68rem; }
.document-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.48); }

.document-content { border: 1px solid rgba(255,255,255,.18); background: #0d0d0d; }
.document-content .ql-editor { min-height: 390px; padding: 29px 34px 38px; color: rgba(255,255,255,.92); font-family: 'Noto Sans KR', sans-serif; font-size: 0.98rem; line-height: 1.95; }
.document-content .ql-editor p { margin: 0 0 1.18em; }
.document-content .ql-editor .article-lead { margin-bottom: 1.6em; padding: 13px 15px; color: rgba(255,255,255,.88); border-left: 3px solid #fff; background: #191919; font-size: 1.02em; line-height: 1.8; }
.document-content .ql-editor h1,
.document-content .ql-editor h2,
.document-content .ql-editor h3 { color: #fff; font-weight: 800; letter-spacing: -0.04em; line-height: 1.45; }
.document-content .ql-editor h1 { margin: 1.7em 0 0.55em; font-size: 1.4rem; }
.document-content .ql-editor h2 { margin: 1.75em 0 0.58em; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.25); font-size: 1.2rem; }
.document-content .ql-editor h3 { margin: 1.35em 0 0.45em; font-size: 1.03rem; }
.document-content .ql-editor a { position: relative; color: #64adff; font-weight: 800; text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.document-content .ql-editor a:hover,
.document-content .ql-editor a:focus-visible { color: #a7d1ff; text-decoration-color: currentColor; outline: none; }
.document-content .ql-editor .source-citation { display: inline-flex; align-items: center; min-height: 1.65em; margin: 0 .1em; padding: 0 .38em; color: #78bbff; border: 1px solid rgba(100,173,255,.5); border-radius: 999px; background: rgba(47,122,214,.16); font-family: Outfit, 'Noto Sans KR', sans-serif; font-size: .78em; font-weight: 800; letter-spacing: .02em; line-height: 1.3; text-decoration: none; text-underline-offset: 0; vertical-align: baseline; }
.document-content .ql-editor .source-citation:hover,
.document-content .ql-editor .source-citation:focus-visible { color: #fff; border-color: #8ec8ff; background: rgba(63,145,240,.34); outline: none; }
.document-content .ql-editor .source-citation::after { position: absolute; z-index: 20; bottom: calc(100% + 9px); left: 50%; width: max-content; max-width: min(330px, calc(100vw - 38px)); padding: 7px 9px; color: #eaf5ff; border: 1px solid rgba(121,188,255,.58); border-radius: 5px; background: #0a1725; box-shadow: 0 10px 24px rgba(0,0,0,.35); content: attr(data-source-type) ' · ' attr(data-source-title); font-size: .74rem; font-weight: 650; line-height: 1.42; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity 120ms ease, transform 120ms ease; }
.document-content .ql-editor .source-citation:hover::after,
.document-content .ql-editor .source-citation:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.doc-context-link[data-doc-title]::after { position: absolute; z-index: 10; bottom: calc(100% + 9px); left: 50%; width: max-content; max-width: 260px; padding: 6px 8px; color: #111; border-radius: 2px; background: #fff; content: attr(data-doc-title); font-size: 0.68rem; font-weight: 600; line-height: 1.4; opacity: 0; pointer-events: none; transform: translate(-50%, 3px); transition: opacity 120ms ease, transform 120ms ease; }
.doc-context-link[data-doc-title]:hover::after,
.doc-context-link[data-doc-title]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.document-content .ql-editor blockquote { margin: 1.3em 0; padding: 10px 15px; color: rgba(255,255,255,.72); border-left: 3px solid rgba(255,255,255,.65); background: #171717; }
.document-content .ql-editor pre { overflow-x: auto; padding: 14px; color: #eee; border-radius: 2px; background: #222; font-family: 'Outfit', monospace; font-size: 0.82rem; line-height: 1.65; }
.document-content .ql-editor img { display: block; width: 100%; max-width: 920px; height: auto; margin: 1.15rem auto; border: 1px solid rgba(128,190,255,.42); border-radius: 6px; background: #101820; box-shadow: 0 10px 30px rgba(0,0,0,.28); object-fit: contain; }
.article-signal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 1.5em 0 1.8em; }
.article-signal-grid > div { padding: 12px; border: 1px solid rgba(255,255,255,.16); background: #171717; }
.article-signal-grid span,
.article-signal-grid strong { display: block; }
.article-signal-grid span { color: rgba(255,255,255,.58); font-size: 0.68rem; }
.article-signal-grid strong { margin-top: 3px; color: #fff; font-size: 0.78rem; }

.document-secondary-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.document-secondary-card { padding: 17px; border: 1px solid rgba(255,255,255,.18); background: #101010; }
.document-secondary-head { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin-bottom: 10px; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.14); }
.document-secondary-head h2 { margin: 0; color: #fff; font-size: 0.88rem; }
.document-secondary-head span { color: rgba(255,255,255,.5); font-size: 0.66rem; }
.related-list { display: grid; gap: 0; }
.related-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 37px; padding: 0 2px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); text-decoration: none; }
.related-row:last-child { border-bottom: 0; }
.related-row:hover,
.related-row:focus-visible { color: #fff; text-decoration: underline; outline: none; }
.related-row > span { color: rgba(255,255,255,.5); font-size: 0.63rem; white-space: nowrap; }
.related-row > strong { overflow: hidden; font-size: 0.74rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.related-arrow { color: rgba(255,255,255,.7); font-style: normal; }
.related-arrow svg { width: 14px; height: 14px; }
.comment-empty { display: grid; gap: 9px; }
.comment-empty p { margin: 0; color: rgba(255,255,255,.68); font-size: 0.73rem; line-height: 1.65; }
.comment-lock { display: grid; width: 28px; height: 28px; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: #171717; }
.comment-lock svg { width: 14px; height: 14px; }
.comment-login-link { display: inline-flex; width: fit-content; align-items: center; gap: 6px; color: #fff; font-size: 0.7rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.comment-login-link:hover,
.comment-login-link:focus-visible { color: #fff; outline: none; }
.comment-guest-block { display: grid; gap: 9px; }
.comment-row { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.07); }
.comment-row:first-child { border-top: none; }
.comment-row-head { display: flex; align-items: center; gap: 10px; }
.comment-author { color: #fff; font-size: .8rem; font-weight: 700; }
.comment-time { color: rgba(255,255,255,.4); font-size: .68rem; }
.comment-actions { display: flex; gap: 6px; margin-left: 6px; }
.comment-action-btn { position: relative; display: inline-flex; align-items: center; padding: 4px 12px; border: none; border-radius: 6px; background: #000; color: #fff; font-size: .68rem; font-weight: 600; cursor: pointer; z-index: 0; transition: opacity .15s; }
.comment-action-btn::before { content: ''; position: absolute; inset: 0; padding: 1px; border-radius: 6px; background: linear-gradient(135deg, #8b5cf6, #ec4899, #f59e0b); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: -1; pointer-events: none; }
.comment-action-btn:hover { opacity: .8; }
.comment-body { margin: 6px 0 0; color: rgba(255,255,255,.82); font-size: .82rem; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.comment-submit-wrap { display: flex; justify-content: flex-start; margin-top: 8px; }
.comment-submit-btn { position: relative; display: inline-flex; align-items: center; padding: 8px 22px; border: none; border-radius: 8px; background: #000; color: #fff; font-size: .875rem; font-weight: 600; cursor: pointer; z-index: 0; transition: opacity .15s; }
.comment-submit-btn::before { content: ''; position: absolute; inset: 0; padding: 1px; border-radius: 8px; background: linear-gradient(135deg, #8b5cf6, #ec4899, #f59e0b); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: -1; pointer-events: none; }
.comment-submit-btn:hover { opacity: .8; }
.comment-submit-btn:disabled { opacity: .5; cursor: not-allowed; }

.blog-tree-scrim { display: none; }

@media (max-width: 1080px) {
    .blog-card { grid-template-columns: 146px 104px minmax(0, 1fr); grid-template-areas: "thumb category title" "thumb category description" "thumb category foot"; }
    .blog-card-foot { min-width: 0; align-items: flex-start; justify-content: flex-start; }
}

@media (max-width: 820px) {
    .blog-shell { padding: 28px 17px 58px; }
    .blog-command-deck { align-items: flex-start; }
    .blog-tree-wrap { top: 7px; }
    .blog-tree { max-height: min(252px, calc(100vh - 84px)); }
    .blog-tree-scrim { display: none; }
    .blog-card { grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "thumb title" "thumb description" "thumb foot"; gap: 6px 12px; }
    .blog-card-topline { display: none; }
    .blog-card-foot { min-width: 0; align-items: flex-start; justify-content: flex-start; }
    .document-secondary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .blog-shell { padding: 24px 12px 48px; }
    .blog-command-deck { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding-bottom: 16px; }
    .blog-title { font-size: 1.75rem; }
    .blog-intro { font-size: 0.8rem; }
    .blog-icon-button { width: 36px; padding: 0; }
    .blog-icon-button .blog-button-text { display: none; }
    .blog-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "thumb title" "thumb description" "thumb foot"; min-height: 96px; padding: 12px 0; }
    .blog-card:hover,
    .blog-card:focus-visible { padding-left: 14px; }
    .blog-card-thumb { min-height: 72px; margin-left: 0; }
    .blog-card-thumb img { min-height: 72px; }
    .blog-card-topline { margin-bottom: 7px; }
    .blog-card-version { width: auto; margin-left: 5px; }
    .blog-card-title { font-size: 0.88rem; }
    .blog-card-description { margin-top: 6px; overflow: hidden; white-space: normal; }
    .blog-card-foot { margin-top: 5px; }
    .version-region { grid-template-columns: 1fr; gap: 8px; }
    .version-region .blog-back-link { width: fit-content; margin-top: 0; }
    .version-panel-head { align-items: flex-start; flex-wrap: wrap; gap: 4px 9px; }
    .version-panel-toggle { flex-wrap: wrap; gap: 7px 10px; }
    .version-panel-heading { align-items: flex-start; flex-wrap: wrap; }
    .version-row { align-items: flex-start; flex-wrap: wrap; gap: 3px 12px; }
    .version-row-title { max-width: 100%; }
    .document-header { padding: 16px 14px; }
    .document-content .ql-editor { padding: 23px 16px 30px; font-size: 0.9rem; line-height: 1.85; }
    .article-signal-grid { grid-template-columns: 1fr; }
    .document-secondary-card { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .blog-layout,
    .blog-tree,
    .tree-items,
    .tree-chevron,
    .blog-card,
    .blog-card-arrow,
    .doc-context-link[data-doc-title]::after { transition: none; }
}

.document-content .ql-editor table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.95em; }
.document-content .ql-editor th, .document-content .ql-editor td { padding: 12px 15px; border: 1px solid rgba(255, 255, 255, 0.1); text-align: left; }
.document-content .ql-editor th { background-color: rgba(255, 255, 255, 0.05); font-weight: 600; color: #fff; }
.document-content .ql-editor tr:hover { background-color: rgba(255, 255, 255, 0.02); }

/* Main-category hub: a top document is a filtered preview surface, not article body. */
.blog-eyebrow a { color: inherit; text-decoration: none; }
.blog-eyebrow a:hover, .blog-eyebrow a:focus-visible { color: #fff; outline: none; text-decoration: underline; text-underline-offset: 3px; }
.blog-eyebrow span + span { margin-left: 7px; }
.category-command-deck { align-items: flex-end; }
.category-command-copy { max-width: 650px; margin: 10px 0 0; color: rgba(255,255,255,.7); font-size: .82rem; line-height: 1.65; }
.category-command-count { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 5px; min-width: 106px; padding: 10px 0 7px; color: rgba(255,255,255,.58); border-top: 1px solid rgba(255,255,255,.34); font-size: .72rem; }
.category-command-count strong { color: #fff; font-family: Outfit, 'Noto Sans KR', sans-serif; font-size: 1.75rem; line-height: 1; }
.category-hub { display: grid; gap: 26px; min-width: 0; }
.category-hub-level { border-top: 1px solid rgba(255,255,255,.42); }
.category-hub-level-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 14px 0 12px; border-bottom: 1px solid rgba(255,255,255,.17); }
.category-hub-level-head p { margin: 0 0 3px; color: rgba(255,255,255,.48); font-size: .66rem; }
.category-hub-level-head h2 { margin: 0; color: #fff; font-size: 1rem; letter-spacing: -.035em; }
.category-hub-level-head > span { color: rgba(255,255,255,.62); font-family: Outfit, 'Noto Sans KR', sans-serif; font-size: .72rem; }
.category-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 1px solid rgba(255,255,255,.17); }
.category-document-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; min-height: 145px; padding: 15px; color: #fff; border-right: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); background: #090909; text-decoration: none; transition: background 150ms ease, transform 150ms var(--wiki-ease); }
.category-document-card:hover, .category-document-card:focus-visible { background: #171717; outline: none; transform: translateY(-2px); }
.category-document-thumb { min-height: 112px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); background: #111; }
.category-document-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.04); transition: filter 180ms ease, transform 180ms var(--wiki-ease); }
.category-document-card:hover .category-document-thumb img { filter: saturate(1) contrast(1.04); transform: scale(1.04); }
.category-document-thumb span { display: grid; height: 100%; place-items: center; color: rgba(255,255,255,.42); font-family: Outfit, sans-serif; font-size: .61rem; letter-spacing: .12em; }
.category-document-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.category-document-level { color: rgba(255,255,255,.57); font-size: .64rem; font-weight: 700; }
.category-document-copy h3 { display: -webkit-box; margin: 6px 0 5px; overflow: hidden; color: #fff; font-size: .91rem; letter-spacing: -.035em; line-height: 1.47; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.category-document-copy > p { display: -webkit-box; margin: 0; overflow: hidden; color: rgba(255,255,255,.63); font-size: .71rem; line-height: 1.62; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.category-document-copy > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; color: rgba(255,255,255,.47); font-family: Outfit, 'Noto Sans KR', sans-serif; font-size: .61rem; }
.category-document-copy > div span + span::before { margin-right: 8px; color: rgba(255,255,255,.25); content: '·'; }
.category-hub-empty { display: grid; gap: 4px; min-height: 108px; align-content: center; padding: 20px; color: rgba(255,255,255,.58); border-bottom: 1px solid rgba(255,255,255,.17); background: #090909; }
.category-hub-empty strong { color: rgba(255,255,255,.86); font-size: .8rem; }
.category-hub-empty span { font-size: .7rem; line-height: 1.6; }

@media (max-width: 900px) {
    .category-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .category-command-deck { grid-template-columns: minmax(0, 1fr); }
    .category-command-count { width: 100%; }
    .category-document-card { grid-template-columns: 100px minmax(0, 1fr); min-height: 120px; padding: 12px; }
    .category-document-thumb { min-height: 94px; }
    .category-document-copy h3 { font-size: .84rem; }
    .category-document-copy > p { font-size: .67rem; }
}
