@charset "utf-8";
/* ============================================================
   오늘의 살림 — 티스토리 스킨 'Lavender Living' v1.0 (2026-11-21)
   blogs/ai/skin(Cyan Panel) 을 복사해 색·문구만 바꿨다(blogs/_shared/tistory.md §0).
   목록 = 연보라 밝은 카드형 / 글 상세 = 흰 읽기 화면
   포인트 색은 관리 > 스킨 편집 > 스킨 옵션의 '포인트 색'(기본 #7C3AED)
   ============================================================ */

:root {
  --point: #7C3AED;               /* skin.html 의 <style> 에서 스킨 옵션 값으로 덮어쓴다 */
  --point-ink: #ffffff;           /* 포인트 색 위 글자 (#7C3AED 위 흰 글씨 대비 5.7:1) */
  --bg: #f7f4fd;
  --panel: #ffffff;
  --panel-hover: #f1ebfc;
  --line: #e4dcf4;
  --text: #1e1830;
  --sub: #4d4563;
  --dim: #7d7594;
  --radius: 18px;
  --wrap: 760px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

/* 글 상세(티스토리 body id = tt-body-page)는 밝은 읽기 화면 */
#tt-body-page {
  --bg: #ffffff;
  --panel: #f7f4fd;
  --panel-hover: #f1ebfc;
  --line: #e7e1f3;
  --text: #1a1626;
  --sub: #4a4459;
  --dim: #8a849a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }

.site { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- 헤더 ---------- */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0 14px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--point); color: var(--point-ink);
  font-size: 12px; font-weight: 900; letter-spacing: 0;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--point) 18%, transparent);
}
.brand-name { font-size: 18px; }

.head-search {
  position: relative; flex: 0 1 280px;
  display: flex; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
}
.head-search input {
  width: 100%; border: 0; background: transparent; outline: 0;
  padding: 9px 40px 9px 16px; font-size: 14px;
}
.head-search input::placeholder { color: var(--dim); }
.head-search:focus-within { border-color: var(--point); }
.head-search-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border: 0; background: transparent; color: var(--sub); cursor: pointer;
  display: grid; place-items: center;
}

/* ---------- 카테고리 칩 (티스토리 [##_category_list_##] 구조를 칩으로 펼친다) ---------- */
.cat-chips {
  margin: 0 -20px; padding: 4px 20px 14px;
  overflow-x: auto; scrollbar-width: none;
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips ul { list-style: none; margin: 0; padding: 0; }
.cat-chips .tt_category { display: flex; gap: 8px; width: max-content; }
.cat-chips .tt_category > li,
.cat-chips .category_list,
.cat-chips .category_list > li { display: contents; }
.cat-chips .sub_category_list,
.cat-chips .c_cnt,
.cat-chips img { display: none !important; }
.cat-chips a {
  display: inline-block; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--sub); font-size: 14px; font-weight: 600;
  transition: color .15s, border-color .15s, background .15s;
}
.cat-chips a:hover { color: var(--text); border-color: color-mix(in srgb, var(--point) 50%, var(--line)); }
.cat-chips a.is-active { background: var(--point); border-color: var(--point); color: var(--point-ink); }
.cat-chips .link_tit { font-size: 0; }               /* '분류 전체보기' → '전체' */
.cat-chips .link_tit::before { content: "전체"; font-size: 14px; }

/* ---------- 첫 화면 패널 (홈에서만) ---------- */
.hero {
  position: relative; overflow: hidden;
  margin: 6px 0 28px; padding: 44px 32px 40px;
  border-radius: 24px; border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--point) 30%, transparent) 0%, transparent 55%),
    radial-gradient(80% 70% at 0% 100%, color-mix(in srgb, var(--point) 12%, transparent) 0%, transparent 60%),
    linear-gradient(160deg, #efe7fd 0%, #f7f4fd 100%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(to right, rgba(124,58,237,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124,58,237,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000 90%);
          mask-image: linear-gradient(120deg, transparent 20%, #000 90%);
}
.hero > *:not(.hero-grid) { position: relative; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--point);
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--point); box-shadow: 0 0 12px var(--point); }
.hero-title { margin: 0 0 12px; font-size: clamp(28px, 6vw, 40px); line-height: 1.25; font-weight: 800; letter-spacing: -0.035em; }
.hero-desc { margin: 0; max-width: 30em; color: var(--sub); font-size: 15px; }

/* 홈이 아닌 곳에서는 첫 화면 패널·'최근 글' 제목을 숨긴다 */
body:not(#tt-body-index) .hero,
body:not(#tt-body-index) .section-head { display: none; }

/* ---------- 섹션 제목 ---------- */
.section-head, .list-head { margin: 0 0 16px; }
.section-title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.section-title::before {
  content: ""; display: inline-block; width: 4px; height: 16px; margin-right: 9px;
  border-radius: 2px; background: var(--point); vertical-align: -1px;
}
.section-desc { margin: 4px 0 0; color: var(--dim); font-size: 14px; }
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 8px; }
.list-count { color: var(--dim); font-size: 14px; }

/* 목록형(분류 '목록만' 설정 시) */
.simple-list { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); }
.simple-list a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.simple-list a:hover .sl-title { color: var(--point); }
.sl-date { color: var(--dim); font-size: 13px; white-space: nowrap; }

/* ---------- 카드 목록 ---------- */
body:not(#tt-body-page) .post-area {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
@media (max-width: 900px) { body:not(#tt-body-page) .post-area { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.card:hover { transform: translateY(-3px); background: var(--panel-hover); border-color: color-mix(in srgb, var(--point) 45%, var(--line)); }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;   /* 검색 대표 이미지(search-thumb.png 1200×675)와 같은 비율 — 2026-11-16 */
  background:
    radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--point) 35%, transparent), transparent 60%),
    linear-gradient(150deg, #efe7fd, #e4d8fb);
}
.card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-thumb img { transform: scale(1.03); }
.card-thumb:not(:has(img))::after {             /* 대표 이미지가 없는 글 */
  content: "살림"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 40px; font-weight: 900; color: var(--point);
  opacity: .5; letter-spacing: -0.04em;
}
.card-cat {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(46, 16, 101, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .01em;
}
.card-cat:empty { display: none; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card-title {
  font-size: 16.5px; font-weight: 700; line-height: 1.45; letter-spacing: -0.02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-summary {
  margin: 0; color: var(--sub); font-size: 13.5px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-date { margin-top: auto; padding-top: 4px; color: var(--dim); font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* ---------- 페이지 번호 ---------- */
.paging { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 36px 0 8px; }
.pg-nums { display: flex; gap: 6px; }
.pg-arrow, .pg-num span {
  display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 6px;
  border-radius: 10px; color: var(--sub); font-size: 14px; font-weight: 600;
}
.pg-arrow { border: 1px solid var(--line); font-size: 18px; }
.pg-num span.selected { background: var(--point); color: var(--point-ink); }
.pg-num:hover span:not(.selected), .pg-arrow:hover { color: var(--text); background: var(--panel); }
.pg-arrow.no-more-prev, .pg-arrow.no-more-next { visibility: hidden; }

/* ---------- 태그 구름 ---------- */
.tag-cloud-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag-cloud-list a { padding: 6px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--sub); font-size: 14px; }
.tag-cloud-list a.cloud1 { color: var(--point); font-weight: 700; }

/* ============================================================
   글 상세
   ============================================================ */
#tt-body-page .site-head { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.post { max-width: 680px; margin: 0 auto; }
.post-head { padding: 18px 0 22px; }
.post-cat {
  display: inline-block; margin-bottom: 12px; padding: 4px 11px; border-radius: 999px;
  background: color-mix(in srgb, var(--point) 16%, transparent);
  color: #6d28d9; font-size: 12.5px; font-weight: 700;
}
.post-title { margin: 0 0 12px; font-size: clamp(26px, 5vw, 32px); line-height: 1.32; font-weight: 800; letter-spacing: -0.035em; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px; color: var(--dim); font-size: 13.5px; }

/* 목차 */
.toc { margin: 4px 0 30px; padding: 18px 20px; border-radius: 16px; background: var(--panel); }
.toc-title { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--sub); }
.toc-list { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 6px; }
.toc-list li { counter-increment: toc; }
.toc-list a {
  display: flex; gap: 10px; align-items: baseline;
  padding: 9px 12px; border-radius: 10px; background: var(--bg);
  font-size: 14.5px; font-weight: 600; line-height: 1.45; transition: background .15s;
}
.toc-list a::before { content: counter(toc, decimal-leading-zero); color: #7c3aed; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.toc-list a:hover { background: var(--panel-hover); }

/* 본문 */
.post-body { color: var(--sub); font-size: 17px; line-height: 1.85; }
.post-body > *:first-child { margin-top: 0; }
.post-body p { margin: 0 0 1.15em; }
.post-body h2, .post-body h3, .post-body h4 { color: var(--text); letter-spacing: -0.03em; scroll-margin-top: 20px; }
.post-body h2 {
  margin: 2.4em 0 .8em; padding-top: 1.4em; border-top: 1px solid var(--line);
  font-size: 25px; line-height: 1.4; font-weight: 800;
}
.post-body h3 { margin: 1.9em 0 .6em; font-size: 19px; line-height: 1.45; font-weight: 800; }
.post-body h4 { margin: 1.5em 0 .5em; font-size: 17px; font-weight: 700; }
.post-body strong, .post-body b { color: var(--text); font-weight: 700; }
.post-body a { color: #6d28d9; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--point) 60%, transparent); }
.post-body mark { background: color-mix(in srgb, var(--point) 28%, transparent); color: var(--text); padding: 0 2px; border-radius: 3px; }
.post-body ul, .post-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.post-body li { margin: .3em 0; }
.post-body li::marker { color: #7c3aed; font-weight: 700; }
.post-body figure, .post-body .imageblock { margin: 1.6em 0; }
.post-body img { border-radius: 14px; }
.post-body figcaption { margin-top: 8px; color: var(--dim); font-size: 13.5px; text-align: center; }
.post-body hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }

/* 인용 = 팁 상자 */
.post-body blockquote {
  margin: 1.6em 0; padding: 16px 20px; border-radius: 14px;
  background: color-mix(in srgb, var(--point) 9%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--point) 30%, transparent);
  color: var(--text); font-size: 16px;
}
.post-body blockquote p:last-child { margin-bottom: 0; }

/* 코드·프롬프트 블록 (어두운 상자 + 복사 버튼) */
.post-body pre {
  position: relative; margin: 1.6em 0; padding: 18px 20px; padding-top: 44px;
  border-radius: 14px; background: #0f131a; color: #e6edf3;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px; line-height: 1.7;
  white-space: pre-wrap; overflow-x: auto;
}
.post-body pre::before {
  content: "PROMPT"; position: absolute; left: 20px; top: 14px;
  font-family: var(--font); font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--point);
}
.post-body pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.post-body :not(pre) > code { padding: 2px 6px; border-radius: 6px; background: var(--panel); color: var(--text); font-size: .9em; }
.copy-btn {
  position: absolute; right: 10px; top: 9px;
  padding: 5px 12px; border: 0; border-radius: 8px; cursor: pointer;
  background: #232a35; color: #d6dde6; font-size: 12.5px; font-weight: 700;
}
.copy-btn:hover { background: var(--point); color: var(--point-ink); }

/* 표 */
.post-body table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.post-body th, .post-body td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.post-body th { background: var(--panel); color: var(--text); font-weight: 700; white-space: nowrap; }

/* 태그·이전/다음·댓글 */
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 36px 0 0; font-size: 0; }
.post-tags .tags-label { font-size: 13px; font-weight: 800; color: var(--dim); margin-right: 4px; }
.post-tags a { padding: 5px 11px; border-radius: 999px; background: var(--panel); color: var(--sub); font-size: 13.5px; }
.post-tags a:hover { color: #6d28d9; }
/* 함께 보면 좋은 글 — 같은 카테고리 다른 글 카드(사용자 지시 2026-11-16) */
.related { margin: 32px 0 8px; padding: 18px 18px 14px; border-radius: 16px; background: var(--panel); }
.related-title { margin: 0 0 12px; font-size: 16px; font-weight: 800; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.related-more { font-size: 12.5px; font-weight: 700; color: #7c3aed; white-space: nowrap; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.related-link { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.related-link:hover { border-color: var(--point); }
.related-thumb { flex: 0 0 auto; width: 56px; height: 70px; border-radius: 8px; overflow: hidden; background: var(--line); }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-name { font-size: 14px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 560px) { .related-list { grid-template-columns: 1fr; } }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0; }
.pn { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); }
.pn:hover { border-color: var(--point); }
.pn-next { text-align: right; grid-column: 2; }
.pn-label { color: var(--dim); font-size: 12.5px; font-weight: 700; }
.pn-title { font-size: 14.5px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-comments { margin-top: 12px; }

/* ---------- 광고 자리 ---------- */
/* 광고 코드가 없으면 숨는다. 광고 코드(ins·iframe)가 들어오면 보인다. */
.ad-slot { display: none; }
.ad-slot:has(ins, iframe, .ad-demo) { display: block; margin: 28px 0; min-height: 90px; text-align: center; }
/* 광고 자리 표시 가로줄은 숨기고, 본문 안 광고에는 '광고' 표시만(사용자 지시 2026-11-16 — 애드센스 정책상 광고를 가리키는 말·화살표 없음) */
.post-body hr { display: none; }
.ad-inline { display: block; margin: 28px 0; text-align: center; }
.ad-label { display: block; margin-bottom: 4px; font-size: 11px; color: var(--dim); letter-spacing: .04em; }
.ad-demo {
  display: grid; place-items: center; min-height: 120px; border-radius: 12px;
  border: 1.5px dashed color-mix(in srgb, var(--point) 60%, var(--line));
  color: var(--dim); font-size: 13px; font-weight: 700; letter-spacing: .04em;
}

/* ---------- 푸터 ---------- */
.site-foot { margin-top: 64px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.brand-sm .brand-mark { width: 24px; height: 24px; font-size: 10px; border-radius: 7px; box-shadow: none; }
.brand-sm .brand-name { font-size: 15px; color: var(--text); }
.foot-desc { margin: 10px 0 4px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.foot-links a { color: var(--dim); text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }
.foot-copy { margin: 0; }
/* 페이지(소개·개인정보처리방침·문의)에는 '카테고리 없음' 칩을 숨긴다 — 2026-11-18 */
#tt-body-page .post-cat { display: none; }

/* ============================================================
   모바일
   ============================================================ */
@media (max-width: 640px) {
  .site { padding: 0 16px; }
  .cat-chips { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .site-head { flex-wrap: wrap; padding-top: 16px; }
  .head-search { flex: 1 1 100%; order: 2; }
  .hero { padding: 32px 22px 28px; border-radius: 20px; margin-bottom: 22px; }
  body:not(#tt-body-page) .post-area { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .post-body { font-size: 16.5px; }
  .post-body h2 { font-size: 22px; }
  .post-nav { grid-template-columns: 1fr; }
  .pn-next { grid-column: auto; }
}

/* ── 맨 위 후킹 한 줄을 칸으로 · 본문 사진 작게 (사용자 지시 2026-11-15) ──
   글 본문이 `## 후킹 한 줄`로 시작하면 그 줄만 칸(상자) 안에 가운데 정렬로 크게 보이고 목차에서는 뺀다.
   티스토리 스킨 편집 화면(CSS)에 이 블록을 붙여 넣어야 실제 블로그에 적용된다. */
.post-body h2:first-child {
  margin: 0 0 1em; padding: 24px 20px; border: 0;
  border-left: 5px solid var(--point); border-radius: 14px;
  background: color-mix(in srgb, var(--point) 9%, var(--bg));
  font-size: 30px; line-height: 1.35; text-align: center;
  text-wrap: balance; word-break: keep-all;
}
.toc:has(~ .post-body h2:first-child) .toc-list li:first-child { display: none; }
.post-body img { max-width: min(100%, 520px); max-height: 400px; width: auto; height: auto; }
@media (max-width: 720px) {
  .post-body h2:first-child { font-size: 24px; padding: 18px 14px; }
  .post-body img { max-width: min(100%, 340px); max-height: 300px; }
}

/* ── 공감·신고 숨김, 댓글 칸 없음 — 모든 블로그 공통 (blogs/_shared/tistory.md, 사용자 지시 2026-11-15) ──
   공유·구독 버튼은 둔다. */
.container_postbtn [data-tistory-react-app="Reaction"],
.container_postbtn [id^="reaction-"],
.container_postbtn .wrap_btn_etc,
.post-comments { display: none !important; }

/* 다음 최적화 후킹 박스(1열 가운데 정렬 표) — 사용자 지시 2026-11-20("후킹을 이렇게 칸을 생성해서 크게 보여주면", "내가 첨부한 이미지 잘 참고해"):
   첨부 화면처럼 바깥 테두리 한 칸 · 가운데 정렬 · 줄 사이 선 없음 · 굵은 줄은 형광펜. 기본 표 규칙(왼쪽 정렬·줄무늬·th nowrap)을 이 표만 되돌린다. */
.post-body th[align="center"], .post-body td[align="center"] { text-align: center; }
.post-body table:has(th[align="center"]:only-child) { display: table; width: 100%; margin: 1.4em 0; font-size: 17px; border: 1.5px solid currentColor; border-radius: 4px; border-collapse: separate; }
.post-body .table-wrap:has(th[align="center"]:only-child) { border: 0; overflow: visible; }
.post-body table:has(th[align="center"]:only-child) th,
.post-body table:has(th[align="center"]:only-child) td { padding: 8px 20px; border: 0 !important; background: transparent !important; color: inherit; font-size: 17px; font-weight: 500; line-height: 1.75; white-space: normal; }
.post-body table:has(th[align="center"]:only-child) thead th { padding-top: 24px; }
.post-body table:has(th[align="center"]:only-child) tbody tr:last-child td { padding-bottom: 24px; }
.post-body table:has(th[align="center"]:only-child) strong { font-weight: 800; background: linear-gradient(transparent 55%, rgba(250, 204, 21, .5) 55%); }

/* 목차가 본문 안(이미지 버튼 아래)으로 옮겨졌을 때 본문 번호 목록 규칙을 되돌린다 — 사용자 지시 2026-11-20("후킹이 가장 먼저 다음 이미지 링크 및 이미지 링크 설명 그다음 차례와 본문이야") */
.post-body .toc { margin: 1.6em 0 2em; }
.post-body .toc-list { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 6px; }
.post-body .toc-list > li { counter-increment: toc; position: static; padding: 0; margin: 0; }
.post-body .toc-list > li::before { content: none !important; display: none !important; }
.post-body .toc-list li::marker { content: ""; }
/* 이미지 버튼 설명(☞ 줄) — 첨부 화면처럼 본문 크기·굵은 낱말 강조 */
.post-body p.btn-note { margin: .4em 0 1.4em; font-size: 16px; line-height: 1.75; }
