/* bruni.log — 표준 스타일 (시안 c 「에디토리얼 다크」에서 출발, BIBLE 4장)
   민트는 신호(링크·현재 위치·강조)에만 쓴다. 분류 색은 점·띠·그림에만 쓰고 글자색으로는 쓰지 않는다.
   컴포넌트는 토큰만 쓴다 — 색 값은 이 맨 위 토큰 블록(어두운·밝은)에만 있다.
   JS 가 만드는 상태(mark·.pill·알림·불러오는 중)는 assets/app.css(client)가 맡는다. */

/* ── 토큰: 어두운(기본) ─────────────────────────────────────────── */
:root {
  --bg: #0e0f11;
  --bg-2: #131417;
  --surface: #1a1c20;
  --surface-2: #23262b;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #eef0f2;
  --text-2: #b5bac1;
  --text-3: #8f959d;
  --text-prose: #dfe2e6;
  --mint: #21f1a8;
  --mint-soft: #7af8cb;
  --mint-dim: rgba(33, 241, 168, .12);
  --mint-ink: #04241a;
  --bad: #ff8a80;
  --good: #5cf6c1;
  --top-bg: rgba(14, 15, 17, .86);
  --shadow: rgba(0, 0, 0, .55);
  --glow: rgba(33, 241, 168, .10);

  --c-db-query: #21f1a8;
  --c-db-ops: #4cc9f0;
  --c-reliability: #ffb454;
  --c-delivery: #b69cff;
  --c-notes: #ff8fb1;
  --c-culture: #9aa1a9;

  /* 코드·로고 — 두 테마 모두 어두운 바탕(테마와 무관한 별도 토큰) */
  --code-bg: #0a0b0d;
  --code-line: rgba(255, 255, 255, .10);
  --code-text: #d4d8dd;
  --code-dim: #8f959d;
  --code-bad: #ff8a80;
  --code-good: #5cf6c1;
  --brand: #21f1a8;
  --brand-bg: #17181b;

  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --fs-xs: 12px; --fs-sm: 13.5px; --fs-md: 15px; --fs-body: 17.5px; --fs-lg: 19px;
  --fs-xl: 24px; --fs-2xl: 30px; --fs-3xl: clamp(32px, 5.2vw, 54px);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-pill: 999px;
  --w-page: 1200px; --w-prose: 700px; --w-side: 300px;
  --top-h: 60px;
  --hit: 44px;
  color-scheme: dark;
}

/* ── 토큰: 밝은 — 아래 두 블록은 같은 값이다(하나를 고치면 다른 쪽도) ── */
:root[data-theme="light"] {
  --bg: #faf8f4; --bg-2: #f3f0ea; --surface: #ffffff; --surface-2: #efebe4;
  --line: rgba(20, 22, 26, .10); --line-2: rgba(20, 22, 26, .18);
  --text: #17191c; --text-2: #43484f; --text-3: #5f656d; --text-prose: #23262a;
  --mint: #0b7a55; --mint-soft: #0b7a55; --mint-dim: rgba(11, 122, 85, .10); --mint-ink: #ffffff;
  --bad: #b3261e; --good: #0b7a55;
  --top-bg: rgba(250, 248, 244, .88); --shadow: rgba(40, 30, 10, .18); --glow: rgba(11, 122, 85, .07);
  --c-db-query: #0f9e6f; --c-db-ops: #1f86b8; --c-reliability: #c77a0e; --c-delivery: #7a58d6; --c-notes: #cc4a78; --c-culture: #757c84;
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #faf8f4; --bg-2: #f3f0ea; --surface: #ffffff; --surface-2: #efebe4;
    --line: rgba(20, 22, 26, .10); --line-2: rgba(20, 22, 26, .18);
    --text: #17191c; --text-2: #43484f; --text-3: #5f656d; --text-prose: #23262a;
    --mint: #0b7a55; --mint-soft: #0b7a55; --mint-dim: rgba(11, 122, 85, .10); --mint-ink: #ffffff;
    --bad: #b3261e; --good: #0b7a55;
    --top-bg: rgba(250, 248, 244, .88); --shadow: rgba(40, 30, 10, .18); --glow: rgba(11, 122, 85, .07);
    --c-db-query: #0f9e6f; --c-db-ops: #1f86b8; --c-reliability: #c77a0e; --c-delivery: #7a58d6; --c-notes: #cc4a78; --c-culture: #757c84;
    color-scheme: light;
  }
}

[data-c="db-query"] { --cc: var(--c-db-query); }
[data-c="db-ops"] { --cc: var(--c-db-ops); }
[data-c="reliability"] { --cc: var(--c-reliability); }
[data-c="delivery"] { --cc: var(--c-delivery); }
[data-c="notes"] { --cc: var(--c-notes); }
[data-c="culture"] { --cc: var(--c-culture); }

/* ── 리셋 ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: var(--fs-md); line-height: 1.6; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; word-break: keep-all;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--mint); color: var(--mint-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--mint); color: var(--mint-ink); padding: 10px 14px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--w-page); margin: 0 auto; padding: 0 var(--s5); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cc, var(--text-3)); flex: none; }
.syms { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pic { fill: none; stroke: var(--text-3); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ── 머리 ──────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 30; background: var(--top-bg); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--w-page); margin: 0 auto; padding: 0 var(--s5); height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: var(--hit); font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line-2); }
.lm-bg { fill: var(--brand-bg); }
.lm-fg, .lm-dot { fill: var(--brand); }
.logo-dot { color: var(--mint); }
.top-nav { display: flex; align-items: center; gap: var(--s1); font-size: var(--fs-sm); }
.top-link, .top-icon, .theme-btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--hit); padding: 0 12px; border-radius: var(--r-sm); color: var(--text-2); white-space: nowrap; }
.top-icon, .theme-btn { min-width: var(--hit); padding: 0; border: 0; background: transparent; cursor: pointer; }
.top-link:hover, .top-icon:hover, .theme-btn:hover { color: var(--text); background: var(--surface); }
.top-link[aria-current="page"], .top-icon[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--mint); border-radius: 0; }
.top-out { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; margin-left: var(--s2); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 0 14px; color: var(--text); white-space: nowrap; position: relative; }
.top-out::after { content: ""; position: absolute; inset: -4px 0; }   /* 누르는 곳 44px */
.top-out:hover { border-color: var(--mint); color: var(--mint); }
.theme-btn .i-moon { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-btn .i-sun { display: none; }
  :root:not([data-theme="dark"]) .theme-btn .i-moon { display: block; }
}

/* ── 첫 화면 히어로 ────────────────────────────────────────────── */
.mast { border-bottom: 1px solid var(--line); background: radial-gradient(60% 120% at 100% 0%, var(--glow), transparent 60%), var(--bg); }
.mast-in { max-width: var(--w-page); margin: 0 auto; padding: var(--s8) var(--s5) var(--s7); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s7); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; color: var(--mint); letter-spacing: .02em; margin-bottom: var(--s4); }
.kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.mast-title { font-size: var(--fs-3xl); line-height: 1.16; font-weight: 800; letter-spacing: -.04em; }
.mast-title em { font-style: normal; color: var(--mint); }
.mast-sub { margin-top: var(--s5); max-width: 34em; color: var(--text-2); font-size: var(--fs-lg); line-height: 1.7; }
.mast-stats { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.mast-stats dt { font-size: var(--fs-xs); color: var(--text-3); letter-spacing: .04em; }
.mast-stats dd { font-size: 26px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mast-stats small { font-size: 14px; color: var(--text-3); margin-left: 2px; font-weight: 500; }
.mast-art { position: relative; }
.term { background: var(--code-bg); border: 1px solid var(--code-line); border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px var(--shadow); overflow: hidden; transform: rotate(-1.2deg); }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--code-line); font: 12px var(--mono); color: var(--code-dim); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--code-line); }
.term-bar span { margin-left: 8px; }
.term-list { padding: 10px 12px 14px; }
.term-list a { display: flex; align-items: center; gap: 10px; min-height: var(--hit); padding: 0 8px; border-radius: var(--r-sm); font-size: var(--fs-md); color: var(--code-text); }
.term-list a:hover { background: var(--code-line); }
.term-list b { margin-left: auto; font: 600 13px var(--mono); color: var(--code-dim); }
.mast-bruni { position: absolute; right: -28px; top: -78px; width: 104px; pointer-events: none; filter: drop-shadow(0 10px 18px var(--shadow)); }   /* 분류 줄을 가리지 않게 단말 막대 위로 */

/* ── 구역 제목 ─────────────────────────────────────────────────── */
.sec-h { display: flex; align-items: center; gap: var(--s3); font-size: var(--fs-sm); font-weight: 700; color: var(--text-2); letter-spacing: .02em; }
.sec-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ── 최근 개발 글 ──────────────────────────────────────────────── */
.lead-wrap { padding: var(--s7) 0 var(--s4); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s6); margin-top: var(--s5); }
.lead, .lead-sm { position: relative; }
.lead { display: flex; flex-direction: column; padding: var(--s6); border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(160deg, var(--surface), var(--bg-2)); overflow: hidden; }
.lead::before { content: ""; position: absolute; left: var(--s6); top: 0; width: 48px; height: 3px; background: var(--cc, var(--mint)); border-radius: 0 0 3px 3px; }
.lead h3 { font-size: var(--fs-2xl); line-height: 1.3; letter-spacing: -.035em; margin: var(--s4) 0 var(--s3); font-weight: 800; max-width: 22em; }
.lead p { color: var(--text-2); font-size: 16px; line-height: 1.75; max-width: 34em; }
.lead-pic { position: absolute; right: var(--s5); bottom: var(--s5); width: 112px; height: 112px; opacity: .9; }
.lead-path { margin-top: auto; padding-top: var(--s6); padding-right: 128px; display: flex; gap: var(--s2); flex-wrap: wrap; }
.lead-path b { flex-basis: 100%; font-size: var(--fs-xs); color: var(--text-3); font-weight: 700; letter-spacing: .06em; }
.lead-path span { font-size: 13px; color: var(--text-2); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 4px 10px; }
.lead-side { display: grid; gap: var(--s5); align-content: start; }
.lead-sm { padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.lead-sm:last-child { border-bottom: 0; }
.lead-sm h3 { font-size: 20px; line-height: 1.38; letter-spacing: -.03em; margin: var(--s3) 0 var(--s2); font-weight: 700; }
.lead-sm p { color: var(--text-3); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lead h3 a:hover, .lead-sm h3 a:hover { color: var(--mint-soft); }
.lead h3 a::after, .lead-sm h3 a::after { content: ""; position: absolute; inset: 0; }   /* 카드 전체가 눌린다 */
.lead .cat, .lead-sm .cat { position: relative; z-index: 1; }
.mins { display: inline-block; margin-top: var(--s3); font-size: var(--fs-xs); color: var(--text-3); }
.row-kick { display: flex; align-items: center; gap: var(--s3); font-size: var(--fs-xs); color: var(--text-3); }
.row-kick time { font-family: var(--mono); }

/* 분류 표시 — 점 + 이름 */
.cat { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--text-2); }
.cat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cc, var(--text-3)); }
.cat:hover { color: var(--text); }

/* ── 목록 + 오른쪽 칸 ──────────────────────────────────────────── */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--w-side); grid-template-areas: "list search" "list side"; grid-template-rows: auto 1fr; column-gap: var(--s7); padding-top: var(--s6); padding-bottom: var(--s8); }
.l-list { grid-area: list; min-width: 0; }
.l-search { grid-area: search; margin-bottom: var(--s4); }
.l-side { grid-area: side; display: grid; gap: var(--s4); align-content: start; }

.list-head { display: flex; align-items: center; gap: var(--s4); }
.list-head .sec-h { flex: 1; margin: 0; }
.list-count { font-size: var(--fs-xs); color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 검색 상자 — 돋보기는 마스크 그림(색은 토큰) */
.search { position: relative; }
.search::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); background: var(--text-3); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='8.5' cy='8.5' r='5.5'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='8.5' cy='8.5' r='5.5'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") center / contain no-repeat; }
.search input { width: 100%; height: 48px; padding: 0 44px 0 42px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface); font-size: 16px; outline: none; }
.search input::placeholder { color: var(--text-3); }
.search input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-dim); }
.search kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 12px var(--mono); color: var(--text-3); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 7px; pointer-events: none; }
.search input:focus + kbd, .search input:not(:placeholder-shown) + kbd { display: none; }

/* 분류 칩 */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: var(--hit); padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); cursor: pointer; white-space: nowrap; }
.chip .n { font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; font-weight: 500; }
.chip:hover { border-color: var(--text-3); color: var(--text); }
.chip[aria-current], .chip[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); }
.chip[aria-current] .n, .chip[aria-pressed="true"] .n { color: var(--mint-ink); opacity: .75; }
.chip[aria-current] .dot, .chip[aria-pressed="true"] .dot { box-shadow: 0 0 0 1.5px var(--mint-ink); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin: var(--s4) 0 var(--s2); min-height: 8px; }
.active { display: flex; flex-wrap: wrap; gap: var(--s2); }
.active:empty { display: none; }
.sort { position: relative; display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--fs-sm); color: var(--text-3); margin-left: auto; }
.sort select { appearance: none; -webkit-appearance: none; height: var(--hit); padding: 0 34px 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer; }
.sort::after { content: ""; position: absolute; right: 12px; top: 50%; width: 12px; height: 8px; transform: translateY(-50%); background: var(--text-2); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }

/* 목록 한 줄 — 날짜 | 본문 */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); position: relative; }
.row-date { font: 13px/1.9 var(--mono); color: var(--text-3); font-variant-numeric: tabular-nums; padding-top: 1px; }
.row-title { font-size: var(--fs-lg); line-height: 1.42; font-weight: 700; letter-spacing: -.025em; margin: 6px 0; }
.row-title a { background: linear-gradient(var(--mint), var(--mint)) no-repeat 0 100% / 0 1.5px; transition: background-size .2s; }
.row-title a:hover { color: var(--mint-soft); background-size: 100% 1.5px; }
.row-title a::after { content: ""; position: absolute; inset: 0; }   /* 글줄 전체가 눌린다 — 분류·태그 링크는 그 위에 올린다 */
.row-kick .cat, .row-meta .tag { position: relative; z-index: 1; }
.row-desc { color: var(--text-2); font-size: var(--fs-md); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin-top: var(--s2); font-size: var(--fs-xs); color: var(--text-3); }
.row-meta .mins { margin: 0; }
.row-meta .mins::after { content: " 읽기"; }
/* 작은 글자 링크도 누르는 곳은 44px — 음수 바깥 여백으로 줄 높이는 그대로 둔다 */
.row-kick .cat, .row-meta .tag { min-height: var(--hit); margin: -13px 0; }
.row-meta .tag { display: inline-flex; align-items: center; }
.tag { color: var(--text-3); }
a.tag:hover { color: var(--mint); }

.empty { text-align: center; padding: var(--s8) var(--s4); color: var(--text-2); }
.empty img { margin: 0 auto var(--s4); opacity: .85; }
.btn { margin-top: var(--s4); min-height: var(--hit); padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--mint); background: transparent; color: var(--mint); font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--mint); color: var(--mint-ink); }

/* 페이지 막대 — 640px 미만에서는 「← 이전 · 5 / 11 · 다음 →」 */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: var(--s6); }
.pager:empty { display: none; }
.pg { min-width: var(--hit); height: var(--hit); padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--text-2); font-variant-numeric: tabular-nums; }
a.pg:hover { border-color: var(--line-2); color: var(--text); }
.pg[aria-current="page"] { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 700; }
.pg[aria-disabled="true"] { opacity: .4; }
.pg-gap { color: var(--text-3); padding: 0 4px; }
.pg-now { display: none; padding: 0 var(--s3); font: 600 14px var(--mono); color: var(--text-2); }

/* ── 오른쪽 칸 ─────────────────────────────────────────────────── */
.side-box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); background: var(--bg-2); }
.side-h { display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--text-3); letter-spacing: .06em; margin-bottom: var(--s3); }
.side-h-note { margin-left: 8px; font-weight: 500; letter-spacing: 0; }
.side-cats li + li { margin-top: 2px; }
.side-cat { display: flex; align-items: center; gap: 10px; min-height: var(--hit); padding: 0 10px; margin: 0 -10px; border-radius: var(--r-sm); font-size: var(--fs-md); color: var(--text-2); }
.side-cat .n { margin-left: auto; font: 12.5px var(--mono); color: var(--text-3); }
.side-cat:hover { background: var(--surface); color: var(--text); }
.side-cat[aria-current] { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: inset 2px 0 0 var(--mint); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-more summary { display: flex; align-items: center; min-height: var(--hit); font-size: var(--fs-sm); color: var(--mint); cursor: pointer; list-style: none; }
.tag-more summary::-webkit-details-marker { display: none; }
.chip-tag { position: relative; display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0 12px; border-radius: var(--r-pill); background: var(--surface); font-size: 13px; color: var(--text-2); }
.chip-tag span { font-size: 11px; color: var(--text-3); }
a.chip-tag::after { content: ""; position: absolute; inset: -2px 0; }   /* 누르는 곳 44px — 줄 간격 6px 안에서 겹치지 않게 */
a.chip-tag:hover { color: var(--text); background: var(--surface-2); }
a.chip-tag { box-shadow: inset 0 0 0 1px var(--line-2); }
.chip-tag[aria-current], .chip-tag[aria-pressed="true"] { background: var(--mint); color: var(--mint-ink); box-shadow: none; }
.chip-tag[aria-current] span, .chip-tag[aria-pressed="true"] span { color: var(--mint-ink); opacity: .75; }
.side-about { display: flex; gap: var(--s4); align-items: flex-start; }
.side-about img { width: 64px; flex: none; margin-top: -4px; }
.side-about p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.side-about .side-h { color: var(--text); font-size: var(--fs-md); letter-spacing: -.01em; margin-bottom: 6px; }
.side-link { display: flex; align-items: center; min-height: var(--hit); font-size: var(--fs-sm); color: var(--mint); font-weight: 600; }
.side-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.side-about .side-link + .side-link { margin-top: -8px; }

/* ── 쪽 머리(목록 n쪽·태그·검색·소개·404) ────────────────────── */
.page-head { border-bottom: 1px solid var(--line); padding: var(--s7) 0 var(--s6); background: radial-gradient(60% 140% at 0% 0%, var(--glow), transparent 60%); }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); font-size: var(--fs-sm); color: var(--text-3); }
.crumb a { display: inline-flex; align-items: center; min-height: var(--hit); margin: -10px 0; }
.crumb a:hover { color: var(--mint); }
.page-title { margin-top: var(--s4); font-size: clamp(30px, 4.6vw, 46px); line-height: 1.2; font-weight: 800; letter-spacing: -.04em; }
.page-desc { margin-top: var(--s3); max-width: 40em; font-size: var(--fs-lg); line-height: 1.7; color: var(--text-2); }

/* 분류 머리 */
.cat-head { border-bottom: 1px solid var(--line); padding: var(--s7) 0 var(--s6); position: relative; background: radial-gradient(50% 120% at 0% 0%, color-mix(in srgb, var(--cc) 14%, transparent), transparent 70%); }
.cat-head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--cc); }
.cat-head-in { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s6); }
.cat-head .kicker { color: var(--text-2); margin-top: var(--s5); }
.cat-head .kicker::before { display: none; }
.cat-title { font-size: clamp(32px, 5vw, 50px); line-height: 1.15; font-weight: 800; letter-spacing: -.045em; }
.cat-desc { margin-top: var(--s4); max-width: 38em; font-size: var(--fs-lg); line-height: 1.7; color: var(--text-2); }
.cat-n { margin-top: var(--s4); font-size: var(--fs-sm); color: var(--text-3); }
.cat-n b { color: var(--text); font-size: 18px; }
.cat-pic { width: 128px; height: 128px; flex: none; }

/* ── 글 페이지 ─────────────────────────────────────────────────── */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--mint); transform-origin: 0 50%; transform: scaleX(0); }
.post-head { border-bottom: 1px solid var(--line); background: radial-gradient(70% 140% at 0% 0%, var(--glow), transparent 60%); }
.post-head-in { max-width: var(--w-page); margin: 0 auto; padding: var(--s7) var(--s5) var(--s6); display: grid; grid-template-columns: 210px minmax(0, var(--w-prose)) 230px; justify-content: space-between; column-gap: var(--s6); }
.post-head-in > * { grid-column: 2; }   /* 제목 줄을 본문 단과 같은 세로선에 맞춘다 */
.post-title { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.24; font-weight: 800; letter-spacing: -.04em; margin-top: var(--s4); }
.post-lead { margin-top: var(--s4); font-size: var(--fs-lg); line-height: 1.72; color: var(--text-2); max-width: 40em; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s5); font-size: var(--fs-sm); color: var(--text-3); }
.post-meta img { width: 32px; height: 32px; border-radius: 50%; background: var(--surface); padding: 2px; }
.post-meta .by { color: var(--text); font-weight: 600; }
.post-meta time { font-family: var(--mono); font-size: 13px; }
.post-meta .cat { min-height: var(--hit); margin: -12px 0; }
.sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }

.post-grid { max-width: var(--w-page); margin: 0 auto; padding: var(--s7) var(--s5) 0; display: grid; grid-template-columns: 210px minmax(0, var(--w-prose)) 230px; justify-content: space-between; gap: var(--s6); align-items: start; }
.post-grid > .toc { grid-column: 1; grid-row: 1; }
.post-main { grid-column: 2; grid-row: 1; min-width: 0; }
.post-side { grid-column: 3; grid-row: 1; position: sticky; top: calc(var(--top-h) + 24px); display: grid; gap: var(--s4); }
.toc { position: sticky; top: calc(var(--top-h) + 24px); max-height: calc(100vh - var(--top-h) - 48px); overflow: auto; }
.toc summary { list-style: none; font-size: var(--fs-xs); font-weight: 700; color: var(--text-3); letter-spacing: .06em; margin-bottom: var(--s3); cursor: default; }
.toc summary::-webkit-details-marker { display: none; }
.toc > details > ol { border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.5; color: var(--text-3); }
.toc .d2 a { padding-left: 26px; font-size: 13px; }
.toc a:hover { color: var(--text); }
.toc a code { font: .92em var(--mono); }
.toc a[aria-current] { color: var(--mint); border-left-color: var(--mint); font-weight: 600; }
.side-more li { border-top: 1px solid var(--line); }
.side-more li:first-child { border-top: 0; }
.side-more a { display: flex; align-items: center; min-height: var(--hit); padding: 10px 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.side-more a:hover { color: var(--mint-soft); }

/* 본문 */
.prose { font-size: var(--fs-body); line-height: 1.85; color: var(--text-prose); min-width: 0; counter-reset: h2; }
.prose > * + * { margin-top: 1.15em; }
.prose p, .prose li, .prose td { overflow-wrap: anywhere; }
.prose h2 { counter-increment: h2; font-size: 26px; line-height: 1.35; font-weight: 800; letter-spacing: -.035em; color: var(--text); margin-top: 2.4em; padding-top: var(--s5); border-top: 1px solid var(--line); }
.prose > h2::before { content: counter(h2, decimal-leading-zero); display: block; font: 600 13px var(--mono); color: var(--mint); letter-spacing: .04em; margin-bottom: 6px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; line-height: 1.45; font-weight: 700; letter-spacing: -.025em; color: var(--text); margin-top: 2em; }
.prose h4 { font-size: 17.5px; font-weight: 700; color: var(--text); margin-top: 1.8em; }
.prose a { color: var(--mint-soft); text-decoration: underline; text-decoration-color: var(--mint-dim); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--text); font-weight: 700; }
.prose em { font-style: italic; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.2em 0; }
.prose img { border-radius: var(--r-md); margin: 1.5em auto; }
.prose ol { list-style: none; counter-reset: li; }
.prose ol > li { counter-increment: li; position: relative; padding-left: 2.4em; }
.prose li + li { margin-top: .6em; }
.prose ol > li::before { content: counter(li); position: absolute; left: 0; top: .2em; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--mint-dim); color: var(--mint); font: 700 13px/1.6em var(--mono); text-align: center; }
.prose ol[start] { list-style: decimal; padding-left: 1.4em; }
.prose ol[start] > li { padding-left: .3em; }
.prose ol[start] > li::before { content: none; }
.prose ol[start] > li::marker { color: var(--mint); font: 700 14px var(--mono); }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li > ul, .prose li > ol { margin-top: .6em; }
.prose ul li::marker { color: var(--mint); }
.prose :not(pre) > code { font: .86em var(--mono); background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: .1em .38em; color: var(--text); overflow-wrap: anywhere; }
.prose blockquote { margin: 2em 0 0; padding: var(--s1) 0 var(--s1) var(--s5); border-left: 3px solid var(--mint); color: var(--text-2); }
.prose blockquote > * + * { margin-top: .8em; }
.prose blockquote.pull p { font-size: 23px; line-height: 1.5; font-weight: 700; letter-spacing: -.03em; color: var(--text); }
.pull-k { display: block; font: 600 12px var(--mono); color: var(--mint); letter-spacing: .06em; margin-bottom: 6px; }

.code { border: 1px solid var(--code-line); border-radius: var(--r-md); background: var(--code-bg); overflow: hidden; margin-top: 1.5em; }
.code-bar { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 0 6px 0 14px; border-bottom: 1px solid var(--code-line); font: 12px var(--mono); color: var(--code-dim); }
.copy { min-height: 32px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--code-line); background: transparent; color: var(--code-text); font-size: 12px; cursor: pointer; position: relative; }
.copy::after { content: ""; position: absolute; inset: -6px -4px; }   /* 누르는 곳 44px */
.copy:hover { border-color: var(--code-good); color: var(--code-good); }
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; font: 14px/1.75 var(--mono); color: var(--code-text); tab-size: 2; }
.code code { font: inherit; }
.code .mk { display: inline-block; width: 1.1em; font-weight: 700; user-select: none; -webkit-user-select: none; }
.code .bad { color: var(--code-bad); }
.code .good { color: var(--code-good); }

.table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); margin-top: 1.4em; }
.table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.table th { text-align: left; font-size: var(--fs-xs); font-weight: 700; color: var(--text-3); letter-spacing: .04em; background: var(--bg-2); padding: 10px 14px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); min-width: 7em; }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { color: var(--text); font-weight: 600; }

/* 광고 자리 — ads_on 이 아니면 안 보인다. 켜지면 처음부터 높이를 잡는다(밀림 없음) */
.ad { display: none; }
html.ads-on .ad { display: block; position: relative; margin: 2.2em auto; border-radius: var(--r-md); background: var(--bg-2); }
html.ads-on .ad::before { content: "광고"; position: absolute; top: -18px; left: 0; font-size: 11px; color: var(--text-3); letter-spacing: .06em; }
html.ads-on .ad[data-ad="post-mid"] { max-width: 336px; height: 280px; }
html.ads-on .ad[data-ad="post-end"] { width: 100%; height: 100px; }
html.ads-on .ad[data-ad="post-side"] { width: 100%; max-width: 300px; height: 250px; margin: 0; }
@media (min-width: 768px) { html.ads-on .ad[data-ad="post-end"] { max-width: 728px; height: 90px; } }
@media (max-width: 1099px) { html.ads-on .ad[data-ad="post-side"] { display: none; } }

.faq { margin-top: var(--s7); }
.faq h2 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin-bottom: var(--s3); }
.faq-i { border-bottom: 1px solid var(--line); }
.faq-i summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: var(--hit); padding: var(--s3) 0; font-size: 17px; font-weight: 600; color: var(--text); cursor: pointer; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::after { content: "+"; font: 400 22px/1 var(--mono); color: var(--mint); }
.faq-i[open] summary::after { content: "−"; }
.faq-i p { padding-bottom: var(--s4); color: var(--text-2); font-size: 16px; line-height: 1.75; }
.post-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s6); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags .tag { display: inline-flex; align-items: center; min-height: 36px; font-size: 13px; padding: 0 14px; border-radius: var(--r-pill); background: var(--surface); color: var(--text-2); }
.post-tags a.tag { box-shadow: inset 0 0 0 1px var(--line-2); }
.post-tags a.tag:hover { color: var(--mint); }
.share { min-height: var(--hit); padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-weight: 600; font-size: var(--fs-sm); cursor: pointer; }
.share:hover { border-color: var(--mint); color: var(--mint); }
.author { display: flex; gap: var(--s4); align-items: center; margin-top: var(--s6); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); font-size: 15px; line-height: 1.7; color: var(--text-2); }
.author img { width: 64px; flex: none; }
.author-n { font-weight: 700; color: var(--text); }
.author-links { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.author-links a { display: inline-flex; align-items: center; min-height: var(--hit); margin-bottom: -10px; color: var(--mint); font-weight: 600; font-size: var(--fs-sm); }
.author-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

.post-after { max-width: calc(var(--w-prose) + 2 * var(--s5) + 480px); margin: 0 auto; padding: var(--s7) var(--s5) var(--s8); }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s5); }
.rel { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); transition: border-color .15s, transform .15s; }
.rel:hover { border-color: var(--mint); transform: translateY(-2px); }
.cat-t { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--text-3); }
.cat-t::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cc); }
.rel-t { font-size: 17px; font-weight: 700; line-height: 1.42; letter-spacing: -.025em; }
.rel-d { font-size: 14px; color: var(--text-3); line-height: 1.6; }
.rel .mins { margin-top: auto; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s6); }
.pn { display: flex; flex-direction: column; gap: 6px; padding: var(--s5); border-radius: var(--r-lg); border: 1px solid var(--line); }
a.pn:hover { border-color: var(--line-2); background: var(--bg-2); }
.pn-next { text-align: right; }
.pn-k { font-size: var(--fs-xs); color: var(--text-3); font-weight: 600; }
.pn-v { font-size: 16px; font-weight: 700; line-height: 1.45; letter-spacing: -.02em; }
.pn-none .pn-v { color: var(--text-3); font-weight: 500; }
.catall { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; margin-top: var(--s4); padding: var(--s3) var(--s4); border-radius: var(--r-lg); border: 1px solid var(--line); font-weight: 600; color: var(--text-2); text-align: center; }
.catall:hover { color: var(--mint); border-color: var(--mint); }

/* ── 소개·404·검색 보조 ─────────────────────────────────────────── */
.about-head-in { display: flex; align-items: center; gap: var(--s6); }
.about-head-in img { width: 120px; flex: none; }
.about-body { padding-top: var(--s7); padding-bottom: var(--s8); }
.about-body .prose { max-width: var(--w-prose); margin: 0 auto; }
.prose-plain > h2::before { content: none; }
.nf-in { max-width: 720px; padding-top: var(--s7); padding-bottom: var(--s8); }
.nf-in > img { width: 140px; }
.nf .page-title { font-size: clamp(26px, 3.6vw, 36px); }
.nf-search { margin: var(--s6) 0 var(--s7); }
.nf-list { margin-top: var(--s4); border-top: 1px solid var(--line); }
.nf-list li { display: flex; justify-content: space-between; gap: var(--s4); align-items: center; border-bottom: 1px solid var(--line); }
.nf-list a { flex: 1; display: flex; align-items: center; min-height: 52px; font-weight: 600; }
.nf-list a:hover { color: var(--mint-soft); }
.nf-list time { font: 12.5px var(--mono); color: var(--text-3); white-space: nowrap; }
.noscript { margin-bottom: var(--s6); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); color: var(--text-2); }
.all-titles { margin-top: var(--s4); display: grid; gap: var(--s2); }
.all-titles a { color: var(--text); font-weight: 600; }
.all-titles time { font: 12px var(--mono); color: var(--text-3); margin-left: var(--s2); }

/* ── 바닥 ──────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-in { max-width: var(--w-page); margin: 0 auto; padding: var(--s7) var(--s5); display: grid; grid-template-columns: 1fr auto; gap: var(--s5); align-items: start; }
.foot-brand p { margin-top: var(--s3); font-size: 14px; color: var(--text-3); max-width: 30em; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 var(--s5); font-size: 14px; color: var(--text-2); }
.foot-nav a { display: inline-flex; align-items: center; min-height: var(--hit); }
.foot-nav a:hover { color: var(--mint); }
.foot-copy { grid-column: 1 / -1; font-size: var(--fs-xs); color: var(--text-3); }

/* ── 반응형 ────────────────────────────────────────────────────── */
@media (max-width: 1099px) {
  .post-grid, .post-head-in { grid-template-columns: minmax(0, var(--w-prose)); justify-content: center; }
  .post-head-in > * { grid-column: 1; }
  .post-grid { padding-top: var(--s5); }
  .post-grid > .toc, .post-main, .post-side { grid-column: 1; grid-row: auto; }
  .toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); padding: 0 var(--s4); }
  .toc summary { margin: 0; min-height: var(--hit); cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-sm); color: var(--text-2); }
  .toc summary::after { content: "펼치기"; font-weight: 500; color: var(--text-3); }
  .toc details[open] summary::after { content: "접기"; }
  .toc details[open] > ol { margin-bottom: var(--s3); }
  .toc a { min-height: var(--hit); display: flex; align-items: center; padding-top: 0; padding-bottom: 0; }
  .post-side { position: static; }
}
@media (max-width: 959px) {
  .mast-in { grid-template-columns: 1fr; padding-top: var(--s7); }
  .mast-art { max-width: 520px; }
  .layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "search" "list" "side"; grid-template-rows: auto; }
  .l-side { margin-top: var(--s7); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .lead-grid { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --fs-body: 16.5px; --fs-lg: 17px; }
  .wrap, .top-in, .mast-in, .post-head-in, .post-grid, .post-after, .foot-in { padding-left: var(--s4); padding-right: var(--s4); }
  .top-in { gap: var(--s2); }
  .top-link { padding: 0 8px; }
  .top-out { margin-left: 0; padding: 0 10px; font-size: 13px; }
  .top-link[href="/#cats"] { display: none; }
  .logo { font-size: 17px; }
  .logo-word { display: none; }
  .mast-in { padding-top: var(--s6); padding-bottom: var(--s6); gap: var(--s5); }
  .mast-art { display: none; }
  .mast-sub { font-size: 16px; }
  .mast-stats { gap: var(--s4) var(--s5); }
  .mast-stats dd { font-size: 22px; }
  .lead { padding: var(--s5); }
  .lead::before { left: var(--s5); }
  .lead h3 { font-size: 22px; }
  .lead-pic { display: none; }
  .lead-path { padding-right: 0; }
  .lead-wrap { padding-top: var(--s6); }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--s4)); margin-right: calc(-1 * var(--s4)); padding: 0 var(--s4) 2px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); padding-right: 40px; }   /* 뒤에 칩이 더 있다는 표시 */
  .row { grid-template-columns: 1fr; gap: 0; padding: var(--s4) 0; }
  .row-date { position: absolute; right: 0; top: var(--s4); font-size: 12px; line-height: 1.4; }
  .row-title { font-size: 17.5px; }
  .row-desc { font-size: 14.5px; }
  .pg[data-p], .pg-gap { display: none; }
  .pg-now { display: inline-flex; }
  .pager { justify-content: space-between; flex-wrap: nowrap; }
  .pg-step { padding: 0 14px; }
  .cat-pic { display: none; }
  .about-head-in { flex-direction: column; align-items: flex-start; gap: var(--s4); }
  .about-head-in img { width: 88px; }
  .prose h2 { font-size: 22px; }
  .prose blockquote.pull p { font-size: 19px; }
  .code pre { font-size: 13px; padding: 14px; }
  .prevnext { grid-template-columns: 1fr; }
  .pn-next { text-align: left; }
  .author { align-items: flex-start; }
  .author img { width: 48px; }
  .foot-in { grid-template-columns: 1fr; }
  .l-side { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .top, .progress, .toc, .post-side, .post-after, .ad, .share, .foot, .skip { display: none !important; }
  .post-grid { display: block; }
}

/* 큰 카드 「읽고 나면 알 수 있어요」 — 2026-10-23 꼭지 칩·방패 그림 대신 */
.lead-learn{margin-top:22px;padding-top:16px;border-top:1px solid var(--line,rgba(255,255,255,.08))}
.lead-learn b{display:block;font-size:12.5px;color:var(--fg-3,#9aa0a6);font-weight:600;margin-bottom:10px}
.lead-learn ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.lead-learn li{position:relative;padding-left:20px;font-size:15px;line-height:1.5}
.lead-learn li::before{content:"";position:absolute;left:2px;top:.62em;width:8px;height:8px;border-radius:2px;background:var(--accent,#21f1a8)}
