@charset "utf-8";

:root {
  --bg: #fff7eb;
  --bg-soft: #fffaf3;
  --surface: rgba(255, 252, 246, 0.94);
  --surface-strong: #fffdf8;
  --text: #1f314a;
  --muted: #647184;
  --faint: #958879;
  --border: #ead8bf;
  --border-strong: #d8b98f;
  --accent: #c77d3e;
  --accent-dark: #a86630;
  --sage: #718763;
  --sage-dark: #526846;
  --rose: #b96f5c;
  --gold: #c99a34;
  --shadow: 0 18px 42px rgba(90, 58, 30, 0.12);
  --shadow-soft: 0 10px 26px rgba(90, 58, 30, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --wrap: 1180px;
}
:root[data-theme="dark"] {
  --bg: #15191d;
  --bg-soft: #1d2227;
  --surface: rgba(31, 36, 41, 0.96);
  --surface-strong: #242a30;
  --text: #f3eadf;
  --muted: #c8bdaf;
  --faint: #a69a8c;
  --border: rgba(234, 216, 191, 0.18);
  --border-strong: rgba(234, 216, 191, 0.35);
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,0.72), transparent 34%),
    linear-gradient(180deg, #fffdf8 0%, var(--bg) 42%, #fff8ee 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Pretendard", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: -0.035em;
}
:root[data-theme="dark"] body { background: linear-gradient(180deg, #171b20 0%, #12161a 100%); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 10px 14px; border-radius: 10px; background: var(--text); color: var(--surface-strong); }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; letter-spacing: -0.04em; }
.button-light { background: rgba(255,255,255,0.93); color: #352a20; }
.button-outline { background: transparent; border-color: var(--border-strong); color: var(--accent-dark); }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--border); background: rgba(255, 250, 242, 0.96); }
:root[data-theme="dark"] .site-header { background: rgba(23, 27, 31, 0.96); }
.top-line { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.quick-links { display: flex; align-items: center; gap: 7px; }
.quick-link, .theme-toggle { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,0.58); color: var(--text); font-size: 15px; font-weight: 900; line-height: 1; }
.quick-link:hover, .theme-toggle:hover { color: var(--accent-dark); background: #fff5e5; }
.theme-toggle { cursor: pointer; font-size: 12px; }
.brand-area { padding: 8px 0 12px; text-align: center; }
.brand-link { display: inline-grid; justify-items: center; gap: 0; }
.eyebrow { display: block; margin: 0 0 1px; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.04em; font-size: 11px; font-weight: 900; }
.site-title { display: block; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.1; color: var(--text); letter-spacing: -0.06em; }
.site-title::after { content: " 〰"; color: var(--sage); font-size: 0.45em; vertical-align: middle; }
.site-subtitle { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.main-nav { border-top: 1px solid var(--border); background: rgba(255, 252, 246, 0.75); }
.nav-inner { min-height: 58px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.nav-menu-button { display: none; }
.nav-list { margin: 0; padding: 0; display: block; min-width: 0; }
.nav-list ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.nav-list li { margin: 0; padding: 0; list-style: none; }
.nav-list a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border-radius: 999px; color: var(--text); font-weight: 800; font-size: 15px; white-space: nowrap; }
.nav-list a:hover { background: #fff2dd; color: var(--accent-dark); }
.search-box { display: flex; align-items: center; width: min(260px, 34vw); border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface-strong); }
.search-box input { width: 100%; padding: 10px 0 10px 16px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; }
.search-box button { padding: 8px 13px; border: 0; background: transparent; color: var(--text); cursor: pointer; font-size: 20px; }

.site-main { padding: 34px 0 56px; }
.layout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.main-column { min-width: 0; display: grid; gap: 28px; }
.sidebar { display: grid; gap: 18px; align-self: start; }

.hero-carousel { position: relative; overflow: hidden; min-height: 380px; }
.hero-track { height: 100%; display: flex; transition: transform 0.55s ease; }
.hero-slide { position: relative; flex: 0 0 100%; min-height: 380px; overflow: hidden; }
.hero-slide:nth-of-type(n+5) { display: none; }
.hero-bg, .hero-bg img, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; }
.hero-fallback { display: block; background-image: url("./images/cover_dailymate.jpg"); background-size: cover; background-position: center; }
.hero-bg.has-image .hero-fallback { display: none; }
.hero-slide::after, .hero-empty::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(34, 29, 24, 0.28), rgba(34, 29, 24, 0.58)); z-index: 1; }
.hero-overlay { position: relative; z-index: 2; width: min(560px, 70%); min-height: 380px; margin-left: auto; padding: 62px 72px 62px 36px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.3); }
.hero-overlay h2 { margin: 14px 0 12px; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.24; letter-spacing: -0.07em; }
.hero-overlay p { max-width: 520px; margin: 0 0 24px; color: rgba(255,255,255,0.88); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-control { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.55); border-radius: 999px; background: rgba(255,255,255,0.28); color: #fff; cursor: pointer; font-size: 28px; line-height: 1; }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.hero-dots { position: absolute; z-index: 4; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 8px; height: 8px; border: 0; border-radius: 999px; background: rgba(255,255,255,0.72); padding: 0; cursor: pointer; }
.hero-dots button.is-active { width: 20px; background: var(--accent); }
.hero-empty { display: none; position: absolute; inset: 0; padding: 60px; align-content: center; color: #fff; background-image: url("./images/cover_dailymate.jpg"); background-size: cover; background-position: center; }
.hero-empty > * { position: relative; z-index: 2; }
.hero-empty h2 { margin: 14px 0; font-family: Georgia, "Noto Serif KR", serif; font-size: 40px; line-height: 1.25; }
.hero-carousel.is-empty .hero-track, .hero-carousel.is-empty .hero-control, .hero-carousel.is-empty .hero-dots { display: none; }
.hero-carousel.is-empty .hero-empty { display: grid; }

.chip { display: inline-flex; align-items: center; max-width: 100%; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--sage); color: #fff; font-size: 12px; font-weight: 900; line-height: 1.3; }
.chip-dev { background: var(--sage); }
.chip-wedding { background: var(--rose); }
.chip-daily { background: var(--sage-dark); }
.chip-hobby { background: var(--gold); }

.list-header, .tag-page, .guest-page { padding: 36px; }
.list-header h1, .tag-page h1, .guest-page h1 { margin: 12px 0 12px; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(30px, 4vw, 46px); line-height: 1.25; letter-spacing: -0.06em; }
.list-header p, .tag-page p, .guest-page p { color: var(--muted); margin: 0 0 16px; }
.list-header strong { color: var(--accent-dark); font-size: 18px; }
.section-card, .category-recommend { padding: 28px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Noto Serif KR", serif; font-size: 24px; letter-spacing: -0.05em; }
.section-heading a { color: var(--accent-dark); font-weight: 900; font-size: 14px; }
.heading-list { display: none; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
#tt-body-index .post-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#tt-body-index .post-grid .post-card:nth-of-type(n+5) { display: none; }
.post-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-strong); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.post-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #fbf0df; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb .thumb-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f9efe1, #fdf8ef); background-size: cover; background-position: center; color: var(--accent-dark); font-size: 13px; font-weight: 900; }
.post-thumb.has-image .thumb-placeholder { display: none; }
.post-body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 18px; }
.post-body h3 { margin: 0; font-size: 20px; line-height: 1.35; letter-spacing: -0.06em; }
.post-body h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-body p { margin: 0; min-height: 4.8em; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 13px; }

.article-card { padding: 0; overflow: hidden; }
.article-header { padding: 42px 46px 28px; margin-bottom: 0; }
.article-category { margin: 0 0 14px; color: var(--accent-dark); font-weight: 900; }
.article-header h1, .article-title { margin: 0; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.2; letter-spacing: -0.07em; word-break: keep-all; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; color: var(--faint); font-size: 13px; }
.article-cover, .article-banner { position: relative; display: block; min-height: 0; margin: 0 46px 34px; overflow: hidden; border-radius: 24px; background: #f9efe0; border: 1px solid rgba(191, 143, 91, 0.22); }
.article-cover img, .article-banner img, .article-banner-placeholder { display: block; width: 100%; aspect-ratio: 16 / 5; height: auto; min-height: 190px; max-height: 330px; object-fit: cover; }
.article-banner-placeholder { background-image: url("./images/cover_dailymate.jpg"); background-size: cover; background-position: center; color: #fff; font-weight: 900; }
.article-cover.has-image .article-banner-placeholder, .article-banner.has-image .article-banner-placeholder { display: none; }
.admin-tools { margin: 0 46px 20px; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); border: 1px dashed var(--border); display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.article-body { padding: 0 46px 46px; color: var(--text); font-size: 17px; line-height: 1.9; word-break: keep-all; overflow-wrap: anywhere; }
.article-body p { margin: 0 0 1.25em; }
.article-body h2 { margin: 2.1em 0 0.75em; padding-left: 14px; border-left: 4px solid var(--accent); font-size: 26px; line-height: 1.35; letter-spacing: -0.06em; }
.article-body h3 { margin: 1.7em 0 0.65em; font-size: 21px; letter-spacing: -0.05em; }
.article-body img { border-radius: 18px; margin: 22px auto; }
.article-body blockquote, .article-body .quote { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--accent); border-radius: 14px; background: var(--bg-soft); color: var(--muted); }
.article-body table { width: 100%; border-collapse: collapse; margin: 26px 0; overflow: hidden; border-radius: 14px; font-size: 15px; }
.article-body th, .article-body td { padding: 12px 14px; border: 1px solid var(--border); vertical-align: top; }
.article-body th { background: var(--bg-soft); color: var(--text); }
.article-body pre { position: relative; margin: 26px 0; padding: 42px 18px 18px; border-radius: 18px; overflow: auto; background: #1f2937; color: #e5e7eb; font-size: 14px; line-height: 1.65; }
.copy-code { position: absolute; top: 10px; right: 10px; border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; background: rgba(255,255,255,0.1); color: #fff; padding: 4px 10px; cursor: pointer; font-size: 12px; }
.article-tags { margin: 0 46px 36px; padding: 18px; border-radius: 16px; background: var(--bg-soft); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.article-tags a, .tag-cloud a { display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-strong); color: var(--muted); font-size: 13px; font-weight: 700; }
.article-tags a:hover, .tag-cloud a:hover { color: var(--accent-dark); background: #fff3df; }
.article-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 46px 38px; }
.article-nav a { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-soft); }
.article-nav span { color: var(--faint); font-size: 13px; font-weight: 800; }
.article-nav .next { text-align: right; }
.related-posts, .comment-area { margin: 36px 46px; }
.related-posts ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.related-posts li a { display: grid; gap: 10px; padding: 14px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface-strong); }
.related-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: 12px; background: var(--bg); }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-text strong { display: block; line-height: 1.4; }
.related-text time { color: var(--faint); font-size: 12px; }

.profile-card, .side-card, .toc-card { padding: 22px; }
.profile-card { text-align: center; }
.avatar-wrap { position: relative; width: 92px; height: 92px; margin: 0 auto 14px; }
.avatar-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: #f6e8d3; color: var(--accent-dark); font-size: 34px; font-weight: 900; z-index: 0; }
.blog-image { position: relative; z-index: 1; display: block; width: 92px; height: 92px; border-radius: 999px; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; }
.profile-card h2, .side-card h2, .toc-card h2 { margin: 0 0 14px; font-family: Georgia, "Noto Serif KR", serif; font-size: 19px; }
.profile-card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.side-list, .comment-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.side-list a { display: flex; gap: 10px; align-items: center; }
.side-list img { width: 54px; height: 40px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.side-list strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.35; }
.side-list time, .comment-list span { display: block; color: var(--faint); font-size: 12px; margin-top: 2px; }
.comment-list a { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.counter-widget { display: grid; gap: 4px; }
.counter-widget span { color: var(--faint); font-size: 13px; font-weight: 800; }
.counter-widget strong { font-size: 34px; line-height: 1; }
.counter-widget small { color: var(--muted); }
.toc-card { display: none; }
#tt-body-page .toc-card { display: block; }
.toc-card ol { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.toc-card a { color: var(--muted); }
.toc-card a.is-active { color: var(--accent-dark); font-weight: 900; }
.toc-empty { color: var(--faint); }

.tistory-category ul { margin: 0; padding-left: 0; list-style: none; }
.tistory-category li { margin: 3px 0; }
.tistory-category li ul { margin: 5px 0 8px 16px; padding-left: 13px; border-left: 1px dashed rgba(199, 125, 62, 0.32); }
.tistory-category a { position: relative; display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 5px 8px; border-radius: 12px; color: var(--muted); line-height: 1.35; }
.tistory-category a::before { content: "•"; width: 24px; height: 24px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(113,135,99,0.12); color: var(--sage); font-size: 13px; font-weight: 900; }
.tistory-category.is-enhanced a::before { display: none; }
.tistory-category > ul > li > a, .tistory-category .tt_category > li > a, .tistory-category .category_list > li > a { color: var(--text); font-weight: 900; }
.tistory-category li ul a { min-height: 30px; padding: 4px 8px; font-size: 13px; color: var(--muted); }
.tistory-category a:hover { background: var(--bg-soft); color: var(--accent-dark); }
.tistory-category .c_cnt, .tistory-category .count { margin-left: auto; color: var(--accent-dark); font-weight: 900; font-size: 12px; }
.cat-icon { width: 24px; height: 24px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(113,135,99,0.14); color: var(--sage); font-size: 12px; font-weight: 900; }
.tistory-category li ul .cat-icon { width: 20px; height: 20px; font-size: 11px; background: rgba(199,125,62,0.12); color: var(--accent-dark); }

.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.category-card { display: grid; gap: 10px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-strong); }
.category-card .category-icon { width: 54px; height: 54px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--sage); color: #fff; font-weight: 900; }
.category-card strong { font-size: 18px; }
.category-card p { margin: 0; color: var(--muted); font-size: 14px; }
.category-card em { color: var(--accent-dark); font-style: normal; font-weight: 900; font-size: 14px; }
.category-card.wedding .category-icon { background: var(--rose); }
.category-card.daily .category-icon { background: var(--sage-dark); }
.category-card.hobby .category-icon { background: var(--gold); }

.tag-log-cloud { margin-top: 24px; gap: 10px; }
.guestbook-wrap { margin-top: 24px; }
.guestbook-wrap textarea, .guestbook-wrap input[type="text"], .guestbook-wrap input[type="password"], .guestbook-wrap input[type="email"] { width: 100%; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-strong); color: var(--text); padding: 12px 14px; }
.guestbook-wrap textarea { min-height: 140px; resize: vertical; }
.guestbook-wrap button, .guestbook-wrap input[type="submit"] { border: 1px solid var(--border-strong); border-radius: 999px; background: var(--accent); color: #fff; padding: 9px 16px; font-weight: 900; cursor: pointer; }

.paging { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.paging a, .paging .num { min-width: 38px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-strong); color: var(--muted); font-weight: 900; }
.paging .selected, .paging a:hover { color: var(--accent-dark); background: #fff3df; }
.paging .no-more-prev, .paging .no-more-next { opacity: 0.35; pointer-events: none; }
.site-footer { padding: 28px 0 48px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 14px; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border: 0; border-radius: 999px; background: #34271f; color: #fff; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: 0.2s ease; }
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

#tt-body-index .list-header, #tt-body-index .tag-page, #tt-body-index .guest-page, #tt-body-index .heading-list { display: none; }
#tt-body-index .heading-index { display: block; }
#tt-body-page .hero-carousel, #tt-body-page .list-header, #tt-body-page .tag-page, #tt-body-page .guest-page, #tt-body-page .category-recommend, #tt-body-page .paging { display: none; }
#tt-body-category .hero-carousel, #tt-body-category .category-recommend, #tt-body-category .heading-index,
#tt-body-search .hero-carousel, #tt-body-search .category-recommend, #tt-body-search .heading-index,
#tt-body-archive .hero-carousel, #tt-body-archive .category-recommend, #tt-body-archive .heading-index { display: none; }
#tt-body-category .heading-list, #tt-body-search .heading-list, #tt-body-archive .heading-list { display: block; }
#tt-body-tag .hero-carousel, #tt-body-tag .post-list-section, #tt-body-tag .list-header, #tt-body-tag .category-recommend, #tt-body-tag .paging { display: none; }
#tt-body-guestbook .hero-carousel, #tt-body-guestbook .post-list-section, #tt-body-guestbook .list-header, #tt-body-guestbook .category-recommend, #tt-body-guestbook .paging { display: none; }

/* v1.15: 글 상세가 비는 문제 보정
   - Tistory의 article_rep를 한 번만 사용하도록 HTML을 정리했기 때문에
     글 상세에서는 최신 글 섹션 안의 article-card만 보여줍니다. */
#tt-body-page .post-list-section {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
#tt-body-page .post-list-section > .section-heading { display: none; }
#tt-body-page .post-list-section .post-grid,
#tt-body-page .post-list-section .article-feed {
  display: block;
}
#tt-body-page .post-list-section .post-card { display: none; }
#tt-body-page .post-list-section .article-card { display: block; }
#tt-body-index .post-list-section .article-card,
#tt-body-archive .post-list-section .article-card,
#tt-body-category .post-list-section .article-card,
#tt-body-search .post-list-section .article-card { display: none; }

/* v1.15: 카테고리 썸네일 이미지를 배경과 img 모두에 적용할 수 있도록 보정 */
.post-thumb {
  background-image: url("./images/thumb_dailymate.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.post-thumb img.is-category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg {
  background-image: url("./images/cover_dailymate.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg img.is-hidden-original { display: none !important; }
.popular-thumb {
  background-image: url("./images/popular_dailymate.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.popular-thumb img.is-category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


@media (max-width: 1100px) {
  .layout-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid, #tt-body-index .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .top-line { min-height: 32px; }
  .brand-area { padding: 10px 0; }
  .site-title { font-size: 30px; }
  .site-subtitle { font-size: 13px; }
  .nav-inner { grid-template-columns: auto 1fr; min-height: 52px; }
  .nav-menu-button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-strong); color: var(--text); cursor: pointer; }
  .nav-list { grid-column: 1 / -1; display: none; padding: 8px 0 14px; }
  .nav-list.is-open { display: block; }
  .nav-list ul { justify-content: flex-start; gap: 8px 10px; }
  .search-box { width: 100%; }
  .hero-carousel, .hero-slide { min-height: 330px; }
  .hero-overlay { width: 100%; min-height: 330px; padding: 34px 44px; }
  .hero-overlay h2 { font-size: 30px; }
  .hero-control { display: none; }
  .post-grid, #tt-body-index .post-grid, .category-grid, .sidebar, .related-posts ul, .article-nav { grid-template-columns: 1fr; }
  .section-card, .category-recommend, .list-header, .tag-page, .guest-page { padding: 20px; }
  .article-header, .article-body { padding-left: 22px; padding-right: 22px; }
  .article-banner, .article-tags, .article-nav, .related-posts, .comment-area, .admin-tools { margin-left: 22px; margin-right: 22px; }
  .footer-inner { flex-direction: column; }
}

/* v1.4 refinement: compact header, reliable thumbnails, image sidebar */
.brand-area { padding: 7px 0 9px; }
.brand-link { gap: 2px; }
.brand-title-row { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.site-title {
  font-family: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.055em;
  color: #14233a;
  line-height: 1.05;
}
.site-title::after { content: none !important; }
.brand-leaf { width: 42px; height: 28px; color: var(--sage); flex: 0 0 auto; }
.brand-leaf path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand-leaf path:nth-child(n+2) { fill: rgba(113,135,99,0.18); }
.site-subtitle { margin-top: 4px; font-size: 13px; }
.eyebrow:empty { display: none; }

.quick-link svg, .theme-toggle svg { width: 17px; height: 17px; display: block; }
.quick-link svg path, .quick-link svg circle { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero-carousel { min-height: 350px; }
.hero-slide { min-height: 350px; }
.hero-slide::after, .hero-empty::before { background: linear-gradient(90deg, rgba(34, 29, 24, 0.24), rgba(34, 29, 24, 0.5)); }
.hero-overlay { width: min(520px, 68%); min-height: 350px; padding: 48px 66px 48px 34px; }
.hero-overlay h2 { max-width: 100%; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.22; }
.hero-overlay h2 a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-overlay p { -webkit-line-clamp: 2; }
.hero-control { display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 1; }
.hero-control svg { width: 21px; height: 21px; display: block; }
.hero-control svg path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.post-thumb .thumb-placeholder {
  background-image: url("./images/thumb_dailymate.jpg");
  background-size: cover;
  background-position: center;
}
.post-thumb .thumb-placeholder::after,
.popular-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(33,27,22,0.14));
}
.post-thumb .thumb-placeholder em {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.post-thumb.has-fallback-image .thumb-placeholder { display: block; }
.post-thumb.has-image .thumb-placeholder { display: none; }
.post-card:nth-of-type(n+5) { }

.popular-widget .side-list { gap: 14px; }
.popular-list { counter-reset: popular-rank; }
.popular-list li { counter-increment: popular-rank; }
.popular-list li a { align-items: center; gap: 12px; }
.popular-thumb { position: relative; width: 64px; height: 64px; flex: 0 0 64px; display: block; overflow: hidden; border-radius: 14px; background: #f7ead8; border: 1px solid var(--border); }
.popular-thumb img, .popular-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.popular-fallback { display: block; background-image: url("./images/popular_dailymate.jpg"); background-size: cover; background-position: center; }
.popular-list li.has-image .popular-fallback { display: none; }
.popular-text { min-width: 0; display: grid; gap: 2px; }
.popular-text strong { font-size: 14px; line-height: 1.35; }
.popular-text time { font-size: 12px; }

.tistory-category.is-enhanced a::before { display: none !important; }
.cat-icon { display: inline-flex !important; align-items: center; justify-content: center; text-align: center; }
.tistory-category a { overflow: hidden; }
.tistory-category a .cat-icon + * { min-width: 0; }
.tistory-category > ul > li > a .cat-icon,
.tistory-category .tt_category > li > a .cat-icon,
.tistory-category .category_list > li > a .cat-icon {
  background: rgba(113,135,99,0.16);
  color: var(--sage-dark);
}

.back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}
.back-to-top svg { width: 20px; height: 20px; display: block; }
.back-to-top svg path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

#tt-body-page .profile-card { display: none; }
#tt-body-page .sidebar { gap: 18px; }

@media (max-width: 760px) {
  .brand-area { padding: 6px 0 8px; }
  .brand-title-row { gap: 6px; }
  .brand-leaf { width: 30px; height: 20px; }
  .hero-carousel, .hero-slide { min-height: 310px; }
  .hero-overlay { min-height: 310px; width: 100%; padding: 34px 42px; }
  .hero-overlay h2 { font-size: 28px; -webkit-line-clamp: 3; }
  .popular-thumb { width: 58px; height: 58px; flex-basis: 58px; }
}

/* v1.5: latest cards, real fallback images, category badge cleanup */
#tt-body-index .paging { display: none; }
#tt-body-index .post-list-section .section-heading { margin-bottom: 22px; }
#tt-body-index .post-grid:empty::before {
  content: "최신 글을 불러오는 중입니다.";
  display: block;
  padding: 32px;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.post-card .chip { align-self: flex-start; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-dev { background: #6f8a63; color: #fff; }
.chip-wedding { background: #bd7354; color: #fff; }
.chip-daily { background: #8a9466; color: #fff; }
.chip-hobby { background: #c99a3f; color: #fff; }

.hero-bg.has-fallback-image .hero-fallback { display: block; }
.hero-bg.has-image .hero-fallback { display: none; }
.hero-overlay .chip { max-width: min(260px, 100%); }
.hero-overlay h2 a {
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-overlay p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-control { display: inline-flex; align-items: center; justify-content: center; }
.hero-control svg { margin: 0; }

.post-thumb.has-fallback-image .thumb-placeholder {
  display: block;
  background-size: cover;
  background-position: center;
}
.post-thumb.has-fallback-image .thumb-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(25,22,18,0.10));
}
.post-thumb.has-image img { display: block; }
.post-thumb.has-image .thumb-placeholder { display: none !important; }

.popular-list li a { display: flex; }
.popular-thumb { box-shadow: 0 8px 18px rgba(104, 73, 44, 0.08); }
.popular-text strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 1180px) {
  #tt-body-index .post-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* v1.6: 티스토리 댓글 영역 정렬 보정 */
.comment-area {
  margin: 36px 46px;
  padding: 26px 28px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.comment-area > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.comment-area h2,
.comment-area h3,
.comment-area .title,
.comment-area .comment-title,
.comment-area .tt-comments-title {
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: Georgia, "Noto Serif KR", "Nanum Myeongjo", serif;
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -0.06em;
  color: var(--text);
}
.comment-area p,
.comment-area .comment-empty,
.comment-area .tt-comment-empty,
.comment-area .tt-comments-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.comment-area .tt-comments-wrap,
.comment-area .comments,
.comment-area .comment-list,
.comment-area .comment-form,
.comment-area .tt-comment-cont,
.comment-area #comment,
.comment-area #comment-form {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.comment-area textarea,
.comment-area input[type="text"],
.comment-area input[type="password"],
.comment-area input[type="email"] {
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--text);
}
.comment-area button,
.comment-area input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}
@media (max-width: 760px) {
  .comment-area {
    margin: 28px 22px;
    padding: 22px 20px 24px;
  }
  .comment-area h2,
  .comment-area h3,
  .comment-area .title,
  .comment-area .comment-title,
  .comment-area .tt-comments-title {
    font-size: 22px;
  }
}

/* v1.11: 티스토리 기본 스킨 방식의 글 상세 배경 배너 */
.article-card[data-article-card] {
  overflow: hidden;
}

.article-card[data-article-card] .article-header.article-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(320px, 34vw, 440px);
  margin: 42px 46px 40px;
  padding: clamp(42px, 5vw, 66px) clamp(30px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(191, 143, 91, 0.24);
  border-radius: 28px;
  background-color: #f9efe0;
  background-image: url("./images/cover_dailymate.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  box-shadow: 0 22px 46px rgba(111, 84, 49, 0.10);
}

.article-card[data-article-card] .article-header.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 250, 243, 0.98) 0%, rgba(255, 250, 243, 0.94) 44%, rgba(255, 250, 243, 0.72) 72%, rgba(255, 250, 243, 0.42) 100%),
    linear-gradient(180deg, rgba(255, 250, 243, 0.32) 0%, rgba(255, 250, 243, 0.12) 45%, rgba(255, 250, 243, 0.55) 100%);
}

.article-card[data-article-card] .article-header-content {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
}

.article-card[data-article-card] .article-hero .article-category {
  display: block;
  margin: 0 0 16px;
  line-height: 1;
}

.article-card[data-article-card] .article-hero .article-category a {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(172, 102, 47, 0.13);
  color: var(--accent-dark);
  font-weight: 900;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  word-break: keep-all;
  backdrop-filter: blur(6px);
}

.article-card[data-article-card] .article-hero h1 {
  margin: 0;
  max-width: 820px;
  color: var(--text);
  font-family: Georgia, "Noto Serif KR", "Nanum Myeongjo", serif;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.075em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.55);
}

.article-card[data-article-card] .article-hero .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 22px;
  color: #836b55;
  font-size: 13px;
}

.article-card[data-article-card] > .article-cover,
.article-card[data-article-card] > .article-banner,
.article-card[data-article-card] .article-header .article-cover,
.article-card[data-article-card] .article-header .article-banner,
.article-card[data-article-card] .article-header-bg {
  display: none !important;
}

.article-card[data-article-card] .article-body {
  padding-top: 0;
}

.article-card[data-article-card] .article-body > :first-child {
  margin-top: 0;
}

@media (max-width: 768px) {
  .article-card[data-article-card] .article-header.article-hero {
    min-height: clamp(340px, 82vw, 500px);
    margin: 26px 22px 30px;
    padding: 34px 24px;
    border-radius: 22px;
    background-position: center right;
  }

  .article-card[data-article-card] .article-header.article-hero::before {
    background:
      linear-gradient(180deg, rgba(255, 250, 243, 0.95) 0%, rgba(255, 250, 243, 0.88) 55%, rgba(255, 250, 243, 0.96) 100%);
  }

  .article-card[data-article-card] .article-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.18;
  }

  .article-card[data-article-card] .article-hero .article-category a {
    min-height: 30px;
    padding: 0 11px;
    font-size: 13px;
  }

  .article-card[data-article-card] .article-hero .article-meta {
    margin-top: 16px;
  }
}


/* v1.12: 티스토리 치환자 우선 + 카테고리별 CSS fallback 배경 배너
   - 대표 이미지가 있으면 skin.html의 inline background-image가 우선 적용됩니다.
   - 대표 이미지가 없으면 data-category 값 기준으로 아래 기본 배너가 적용됩니다.
   - JS가 늦게 로드되거나 차단되어도 배경이 빈 화면으로 남지 않도록 CSS에서 처리합니다. */
.article-card[data-article-card] .article-header.article-hero {
  background-image: url("./images/cover_dailymate.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.article-card[data-article-card][data-category*="개인 비서 AI 서버"] .article-header.article-hero,
.article-card[data-article-card][data-category*="DailyMate"] .article-header.article-hero {
  background-image: url("./images/cover_dailymate.jpg");
}
.article-card[data-article-card][data-category*="문제 해결"] .article-header.article-hero,
.article-card[data-article-card][data-category*="오류 디버깅"] .article-header.article-hero {
  background-image: url("./images/cover_debug.jpg");
}
.article-card[data-article-card][data-category*="개발 환경"] .article-header.article-hero {
  background-image: url("./images/cover_dev_env.jpg");
}
.article-card[data-article-card][data-category*="Spring Boot"] .article-header.article-hero {
  background-image: url("./images/cover_springboot.jpg");
}
.article-card[data-article-card][data-category*="Docker"] .article-header.article-hero,
.article-card[data-article-card][data-category*="배포"] .article-header.article-hero {
  background-image: url("./images/cover_docker.jpg");
}
.article-card[data-article-card][data-category*="데이터베이스"] .article-header.article-hero {
  background-image: url("./images/cover_database.jpg");
}
.article-card[data-article-card][data-category*="C++"] .article-header.article-hero,
.article-card[data-article-card][data-category*="JAVA"] .article-header.article-hero {
  background-image: url("./images/cover_cpp_java.jpg");
}
.article-card[data-article-card][data-category*="기술 세미나"] .article-header.article-hero,
.article-card[data-article-card][data-category*="행사"] .article-header.article-hero {
  background-image: url("./images/cover_seminar.jpg");
}
.article-card[data-article-card][data-category*="개발 회고"] .article-header.article-hero,
.article-card[data-article-card][data-category*="성장 기록"] .article-header.article-hero {
  background-image: url("./images/cover_growth.jpg");
}
.article-card[data-article-card][data-category*="개발일기"] .article-header.article-hero {
  background-image: url("./images/cover_dailymate.jpg");
}
.article-card[data-article-card][data-category*="웨딩홀"] .article-header.article-hero {
  background-image: url("./images/cover_wedding_hall.jpg");
}
.article-card[data-article-card][data-category*="스드메"] .article-header.article-hero {
  background-image: url("./images/cover_studio_dress_makeup.jpg");
}
.article-card[data-article-card][data-category*="예물"] .article-header.article-hero,
.article-card[data-article-card][data-category*="예복"] .article-header.article-hero {
  background-image: url("./images/cover_jewelry_suit.jpg");
}
.article-card[data-article-card][data-category*="본식"] .article-header.article-hero {
  background-image: url("./images/cover_ceremony.jpg");
}
.article-card[data-article-card][data-category*="상견례"] .article-header.article-hero,
.article-card[data-article-card][data-category*="가족 행사"] .article-header.article-hero {
  background-image: url("./images/cover_family_meeting.jpg");
}
.article-card[data-article-card][data-category*="신혼여행"] .article-header.article-hero {
  background-image: url("./images/cover_honeymoon.jpg");
}
.article-card[data-article-card][data-category*="신혼집"] .article-header.article-hero,
.article-card[data-article-card][data-category*="혼수"] .article-header.article-hero {
  background-image: url("./images/cover_new_home.jpg");
}
.article-card[data-article-card][data-category*="결혼"] .article-header.article-hero {
  background-image: url("./images/cover_wedding_hall.jpg");
}
.article-card[data-article-card][data-category*="국내 여행"] .article-header.article-hero {
  background-image: url("./images/cover_travel_korea.jpg");
}
.article-card[data-article-card][data-category*="해외 여행"] .article-header.article-hero {
  background-image: url("./images/cover_travel_abroad.jpg");
}
.article-card[data-article-card][data-category*="생활 기록"] .article-header.article-hero {
  background-image: url("./images/cover_daily_life.jpg");
}
.article-card[data-article-card][data-category*="방문 후기"] .article-header.article-hero {
  background-image: url("./images/cover_visit_review.jpg");
}
.article-card[data-article-card][data-category*="리직의 일상"] .article-header.article-hero {
  background-image: url("./images/cover_daily_life.jpg");
}
.article-card[data-article-card][data-category*="보드게임 관리"] .article-header.article-hero,
.article-card[data-article-card][data-category*="보드게임 관리 서비스"] .article-header.article-hero,
.article-card[data-article-card][data-category*="BoardShelf"] .article-header.article-hero,
.article-card[data-article-card][data-category*="boardshelf"] .article-header.article-hero {
  background-image: url("./images/cover_boardshelf.jpg");
}
.article-card[data-article-card][data-category*="보드게임 모임"] .article-header.article-hero {
  background-image: url("./images/cover_boardgame_meeting.jpg");
}
.article-card[data-article-card][data-category*="보드게임 리뷰"] .article-header.article-hero {
  background-image: url("./images/cover_boardgame_review.jpg");
}
.article-card[data-article-card][data-category*="전략"] .article-header.article-hero,
.article-card[data-article-card][data-category*="룰 정리"] .article-header.article-hero {
  background-image: url("./images/cover_boardgame_rules.jpg");
}
.article-card[data-article-card][data-category*="구매"] .article-header.article-hero,
.article-card[data-article-card][data-category*="정리"] .article-header.article-hero {
  background-image: url("./images/cover_boardgame_buy_list.jpg");
}
.article-card[data-article-card][data-category*="취미"] .article-header.article-hero {
  background-image: url("./images/cover_boardgame_meeting.jpg");
}

/* 기존 오버레이가 너무 진해서 배경 이미지가 사라져 보이던 문제 보정 */
.article-card[data-article-card] .article-header.article-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 250, 243, 0.88) 0%, rgba(255, 250, 243, 0.82) 42%, rgba(255, 250, 243, 0.52) 72%, rgba(255, 250, 243, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 250, 243, 0.30) 0%, rgba(255, 250, 243, 0.08) 48%, rgba(255, 250, 243, 0.55) 100%);
}

.article-card[data-article-card] .article-header-content {
  max-width: 780px;
}

@media (max-width: 768px) {
  .article-card[data-article-card] .article-header.article-hero::before {
    background:
      linear-gradient(180deg, rgba(255, 250, 243, 0.90) 0%, rgba(255, 250, 243, 0.82) 52%, rgba(255, 250, 243, 0.94) 100%);
  }
}


/* v1.14: 글 상세 제목 뒤 카테고리 상단 배너 노출 보정
   - 상세 글 상단은 글 대표 이미지가 아니라 images/cover_*.jpg를 사용합니다.
   - 기존 오버레이가 너무 진해 배너가 안 보이던 문제를 완화했습니다. */
.article-card[data-article-card] .article-header.article-hero {
  background-color: #f9efe0;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.article-card[data-article-card] .article-header.article-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 250, 243, 0.64) 0%, rgba(255, 250, 243, 0.52) 44%, rgba(255, 250, 243, 0.18) 72%, rgba(255, 250, 243, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 250, 243, 0.18) 0%, rgba(255, 250, 243, 0.08) 48%, rgba(255, 250, 243, 0.30) 100%);
}

.article-card[data-article-card] .article-header-content {
  max-width: min(780px, 100%);
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 24px;
  background: rgba(255, 250, 243, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 18px 42px rgba(57, 44, 28, 0.08);
  backdrop-filter: blur(3px);
}

.article-card[data-article-card] .article-hero h1 {
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.72);
}

@media (max-width: 768px) {
  .article-card[data-article-card] .article-header.article-hero::before {
    background:
      linear-gradient(180deg, rgba(255, 250, 243, 0.70) 0%, rgba(255, 250, 243, 0.54) 52%, rgba(255, 250, 243, 0.78) 100%);
  }

  .article-card[data-article-card] .article-header-content {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 250, 243, 0.66);
  }
}

/* v1.16: 글 상세/목록/썸네일 표시 안정화 */
.article-body .another_category,
.article-body .another_category_color_gray,
.article-body .another_category_color_black,
.article-body .another_category table,
.article-body table.another_category {
  display: none !important;
}

.article-body ol,
.article-body ul {
  margin: 1.1em 0 1.45em;
  padding-left: 1.45em;
}
.article-body li {
  margin: 0.45em 0;
  line-height: 1.85;
  padding-left: 0.12em;
}
.article-body li > p {
  margin: 0.25em 0;
}
.article-body ol ol,
.article-body ul ul,
.article-body ol ul,
.article-body ul ol {
  margin: 0.4em 0 0.7em;
}

.toc-card ol {
  margin: 0;
  padding-left: 1.35em;
  list-style-position: outside;
}
.toc-card li {
  margin: 0.42em 0;
  line-height: 1.65;
  word-break: keep-all;
}
.toc-card li.toc-sub {
  margin-left: 0.75em;
  font-size: 0.95em;
}
.toc-card a {
  display: inline;
}

.related-thumb {
  position: relative;
  background-image: url("./images/thumb_dailymate.jpg");
  background-size: cover;
  background-position: center;
}
.related-thumb img {
  display: block;
}
.related-thumb .related-fallback {
  position: absolute;
  inset: 0;
  display: block;
  background-size: cover;
  background-position: center;
}
.related-thumb.has-image .related-fallback {
  display: none;
}

.comment-area:empty,
.comment-area.is-empty,
.comment-area:has(> script:only-child) {
  display: none !important;
}

/* 빈 광고/수익 영역이 긴 둥근 박스로 남는 경우 숨김 */
.inside_ad,
.revenue_unit_wrap:empty,
.adsbygoogle:empty,
div[id*="revenue"]:empty,
section[id*="revenue"]:empty {
  display: none !important;
}

/* 글 상세 상단 배너는 1920x480 원본 비율에 가깝게 표시 */
.article-card[data-article-card] .article-header.article-hero {
  min-height: 0 !important;
  aspect-ratio: 4 / 1;
  align-items: center !important;
  margin: 30px 46px 34px !important;
  padding: clamp(24px, 3vw, 42px) !important;
  background-size: cover !important;
  background-position: center center !important;
}
.article-card[data-article-card] .article-header-content {
  max-width: min(680px, 100%) !important;
  padding: clamp(16px, 2vw, 24px) !important;
}
.article-card[data-article-card] .article-hero h1 {
  font-size: clamp(30px, 3.6vw, 48px) !important;
  line-height: 1.18 !important;
}
@media (max-width: 768px) {
  .article-card[data-article-card] .article-header.article-hero {
    aspect-ratio: auto;
    min-height: 260px !important;
    margin: 22px 18px 28px !important;
    padding: 22px !important;
  }
  .article-card[data-article-card] .article-hero h1 {
    font-size: clamp(28px, 7vw, 36px) !important;
  }
}


/* v1.17: 글 상세 배너 투명도, 목차 번호, 빈 댓글 박스 보정 */
.article-card[data-article-card] .article-header.article-hero {
  background-size: cover !important;
  background-position: center center !important;
}

/* 배너 이미지는 보이게 두고, 제목 가독성만 약하게 보정합니다. */
.article-card[data-article-card] .article-header.article-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 250, 243, 0.34) 0%, rgba(255, 250, 243, 0.24) 42%, rgba(255, 250, 243, 0.08) 72%, rgba(255, 250, 243, 0.00) 100%),
    linear-gradient(180deg, rgba(255, 250, 243, 0.10) 0%, rgba(255, 250, 243, 0.04) 55%, rgba(255, 250, 243, 0.18) 100%) !important;
}

.article-card[data-article-card] .article-header-content {
  background: rgba(255, 250, 243, 0.34) !important;
  border-color: rgba(255, 255, 255, 0.36) !important;
  box-shadow: 0 16px 34px rgba(57, 44, 28, 0.06) !important;
  backdrop-filter: blur(1px) !important;
}

.article-card[data-article-card] .article-hero h1 {
  color: var(--text) !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.78),
    0 8px 22px rgba(255, 250, 243, 0.34) !important;
}

/* 목차는 브라우저 자동 번호를 끄고, 본문 제목 텍스트만 사용합니다. */
.toc-card ol,
.toc-card ol[data-toc-list] {
  list-style: none !important;
  counter-reset: none !important;
  padding-left: 0 !important;
}
.toc-card li,
.toc-card li.toc-sub {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.toc-card li::marker { content: "" !important; }
.toc-card a { display: block !important; }

/* 티스토리 댓글 그룹이 비어 있을 때 남는 긴 타원 박스 제거 */
#tt-body-page .comment-area.is-empty,
#tt-body-page .comment-area:not(.has-content) {
  display: none !important;
}
#tt-body-page .comment-area.has-content {
  display: block !important;
}

/* 같은 카테고리/목록 썸네일 fallback 표시 강화 */
.related-thumb,
.post-thumb,
.popular-thumb {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.related-thumb img,
.post-thumb img,
.popular-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* v1.18: JS가 넣은 카테고리별 이미지가 기본 썸네일보다 항상 우선 보이도록 보정 */
.post-thumb.has-lizic-image .thumb-placeholder,
.popular-thumb.has-lizic-image .popular-fallback,
.related-thumb.has-lizic-image .related-fallback {
  display: none !important;
}
.post-thumb img.lizic-category-img,
.popular-thumb img.lizic-category-img,
.related-thumb img.lizic-category-img,
.hero-bg img.lizic-category-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.post-thumb.has-fallback-image .thumb-placeholder,
.popular-thumb.has-fallback-image .popular-fallback,
.related-thumb.has-fallback-image .related-fallback {
  display: block !important;
}

/* v1.19: 페이징/목록 반응형/사이드바 위젯 복구 */
.paging {
  gap: 10px !important;
  margin: 22px 0 0 !important;
}
.paging a,
.paging .num,
.paging .page-link {
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 14px !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 999px !important;
  background: rgba(255, 253, 248, 0.96) !important;
  color: var(--text) !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 20px rgba(90, 58, 30, 0.06) !important;
}
.paging a:hover,
.paging .num:hover {
  background: #fff1dd !important;
  border-color: var(--accent) !important;
  color: var(--accent-dark) !important;
  transform: translateY(-1px);
}
.paging a.selected,
.paging .num.selected,
.paging a.is-current,
.paging .num.is-current,
.paging a:has(.selected),
.paging .num:has(.selected) {
  min-width: 48px !important;
  height: 48px !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(199, 125, 62, 0.30) !important;
}
.paging .selected,
.paging a .selected,
.paging .num .selected {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 100% !important;
  height: 100% !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  font-weight: 1000 !important;
}
.paging a.is-current::after,
.paging .num.is-current::after,
.paging a:has(.selected)::after,
.paging .num:has(.selected)::after {
  content: "현재";
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.paging a,
.paging .num { position: relative; }

/* 넓은 화면: 3열 × 3개 노출, 중간 화면: 2열 × 4개 노출, 모바일: 1열 */
#tt-body-category .post-grid,
#tt-body-search .post-grid,
#tt-body-archive .post-grid,
#tt-body-location .post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
@media (min-width: 761px) and (max-width: 1100px) {
  #tt-body-category .post-grid,
  #tt-body-search .post-grid,
  #tt-body-archive .post-grid,
  #tt-body-location .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #tt-body-category .post-grid .post-card:nth-of-type(n+9),
  #tt-body-search .post-grid .post-card:nth-of-type(n+9),
  #tt-body-archive .post-grid .post-card:nth-of-type(n+9),
  #tt-body-location .post-grid .post-card:nth-of-type(n+9) {
    display: none !important;
  }
}
@media (max-width: 760px) {
  #tt-body-category .post-grid,
  #tt-body-search .post-grid,
  #tt-body-archive .post-grid,
  #tt-body-location .post-grid {
    grid-template-columns: 1fr !important;
  }
  #tt-body-category .post-grid .post-card,
  #tt-body-search .post-grid .post-card,
  #tt-body-archive .post-grid .post-card,
  #tt-body-location .post-grid .post-card {
    display: flex !important;
  }
}

/* 사이드바 인기 글/방문자 수 상시 표시 */
.sidebar .side-card {
  display: block;
}
.popular-widget .side-list,
.popular-list {
  display: grid !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.popular-list li {
  list-style: none !important;
}
.popular-list li::marker { content: "" !important; }
.popular-list li a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.popular-list:empty::after {
  content: "인기 글 집계 후 표시됩니다.";
  display: block;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.6;
}
.visitor-widget {
  display: grid !important;
  gap: 14px !important;
}
.visitor-widget h2 { margin-bottom: 0 !important; }
.visitor-total {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff6e9, #fffdf8);
  border: 1px solid var(--border);
}
.visitor-total span,
.visitor-row span {
  color: var(--faint);
  font-size: 13px;
  font-weight: 800;
}
.visitor-total strong {
  color: var(--accent-dark);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.visitor-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.visitor-row span {
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
}
.visitor-row strong {
  float: right;
  color: var(--text);
  font-size: 14px;
}

/* 목차 숫자 중복 최종 방지 */
.toc-card ol[data-toc-list],
.toc-card ol[data-toc-list] > li {
  list-style: none !important;
  list-style-type: none !important;
  counter-reset: none !important;
  counter-increment: none !important;
}
.toc-card ol[data-toc-list] {
  margin: 0 !important;
  padding-left: 0 !important;
}
.toc-card ol[data-toc-list] > li {
  position: relative;
  margin: 0.42em 0 !important;
  padding-left: 0 !important;
}
.toc-card ol[data-toc-list] > li::marker,
.toc-card ol[data-toc-list] > li::before {
  content: "" !important;
  display: none !important;
  font-size: 0 !important;
}
.toc-card ol[data-toc-list] a {
  display: block !important;
  color: var(--muted);
  line-height: 1.65;
}

/* v1.20: 3단계 반응형 스케일 보정
   Desktop: 1180px 이상 / Tablet: 761px~1179px / Mobile: 760px 이하 */
:root {
  --r-wrap-x: 48px;
  --r-section-pad: 28px;
  --r-card-gap: 22px;
  --r-base-font: 16px;
  --r-card-title: 21px;
  --r-card-text: 15px;
  --r-card-thumb-ratio: 16 / 9;
  --r-hero-home-h: 350px;
  --r-article-hero-mx: 46px;
  --r-article-hero-my: 30px;
  --r-article-hero-h: clamp(250px, 21vw, 330px);
  --r-article-hero-pad: clamp(24px, 3vw, 42px);
  --r-article-hero-radius: 28px;
  --r-article-title: clamp(34px, 3.1vw, 52px);
  --r-article-title-lh: 1.16;
  --r-article-box-w: min(690px, 70%);
  --r-article-box-pad: clamp(18px, 2vw, 28px);
  --r-article-box-alpha: 0.34;
  --r-popular-thumb: 64px;
}

@media (min-width: 1180px) {
  :root {
    --wrap: 1180px;
    --r-wrap-x: 48px;
    --r-section-pad: 30px;
    --r-card-gap: 22px;
    --r-base-font: 16px;
    --r-card-title: 21px;
    --r-card-text: 15px;
    --r-hero-home-h: 350px;
    --r-article-hero-mx: 46px;
    --r-article-hero-my: 30px;
    --r-article-hero-h: clamp(250px, 21vw, 330px);
    --r-article-hero-pad: clamp(28px, 3.1vw, 44px);
    --r-article-hero-radius: 28px;
    --r-article-title: clamp(36px, 3.1vw, 52px);
    --r-article-box-w: min(690px, 70%);
    --r-article-box-pad: clamp(20px, 2vw, 30px);
    --r-article-box-alpha: 0.34;
    --r-popular-thumb: 66px;
  }
}

@media (min-width: 761px) and (max-width: 1179px) {
  :root {
    --wrap: 1040px;
    --r-wrap-x: 36px;
    --r-section-pad: 24px;
    --r-card-gap: 18px;
    --r-base-font: 15.5px;
    --r-card-title: 20px;
    --r-card-text: 14px;
    --r-hero-home-h: 300px;
    --r-article-hero-mx: 32px;
    --r-article-hero-my: 24px;
    --r-article-hero-h: clamp(230px, 29vw, 300px);
    --r-article-hero-pad: clamp(22px, 3vw, 34px);
    --r-article-hero-radius: 24px;
    --r-article-title: clamp(31px, 4.4vw, 44px);
    --r-article-title-lh: 1.18;
    --r-article-box-w: min(720px, 78%);
    --r-article-box-pad: clamp(18px, 2.4vw, 26px);
    --r-article-box-alpha: 0.42;
    --r-popular-thumb: 60px;
  }
}

@media (max-width: 760px) {
  :root {
    --wrap: 100%;
    --r-wrap-x: 28px;
    --r-section-pad: 20px;
    --r-card-gap: 16px;
    --r-base-font: 15px;
    --r-card-title: 19px;
    --r-card-text: 14px;
    --r-hero-home-h: 280px;
    --r-article-hero-mx: 16px;
    --r-article-hero-my: 20px;
    --r-article-hero-h: clamp(230px, 60vw, 310px);
    --r-article-hero-pad: 18px;
    --r-article-hero-radius: 22px;
    --r-article-title: clamp(25px, 7vw, 34px);
    --r-article-title-lh: 1.20;
    --r-article-box-w: 100%;
    --r-article-box-pad: 18px;
    --r-article-box-alpha: 0.54;
    --r-popular-thumb: 56px;
  }
}

@media (max-width: 420px) {
  :root {
    --r-wrap-x: 20px;
    --r-section-pad: 18px;
    --r-card-gap: 14px;
    --r-base-font: 14.5px;
    --r-card-title: 18px;
    --r-article-hero-mx: 12px;
    --r-article-hero-h: 220px;
    --r-article-hero-pad: 16px;
    --r-article-title: clamp(23px, 7.5vw, 31px);
    --r-article-box-pad: 16px;
  }
}

html { font-size: var(--r-base-font) !important; }
.wrap { width: min(var(--wrap), calc(100% - var(--r-wrap-x))) !important; }
.site-main { padding-top: clamp(22px, 3vw, 34px) !important; }
.main-column { gap: var(--r-card-gap) !important; }
.layout-grid { gap: clamp(18px, 2.4vw, 28px) !important; }
.section-card,
.category-recommend,
.list-header,
.tag-page,
.guest-page,
.side-card,
.profile-card,
.toc-card {
  padding: var(--r-section-pad) !important;
}

/* 홈/목록 대표 배너도 단계별 높이와 글자 크기를 따릅니다. */
.hero-carousel,
.hero-slide,
.hero-overlay {
  min-height: var(--r-hero-home-h) !important;
}
.hero-overlay {
  padding: clamp(30px, 4vw, 54px) clamp(28px, 5vw, 64px) !important;
}
.hero-overlay h2 {
  font-size: clamp(27px, 3.4vw, 42px) !important;
  line-height: 1.20 !important;
}
.hero-overlay p {
  font-size: clamp(14px, 1.45vw, 16px) !important;
}
@media (max-width: 760px) {
  .hero-overlay { width: 100% !important; }
  .hero-overlay h2 { font-size: clamp(25px, 7vw, 32px) !important; }
  .hero-overlay p { -webkit-line-clamp: 2; }
}

/* 글 상세 상단 배너: 1920x480 원본 비율을 기본으로 하되 단계별로 높이/폰트를 조정합니다. */
.article-card[data-article-card] .article-header.article-hero {
  min-height: 0 !important;
  height: var(--r-article-hero-h) !important;
  aspect-ratio: auto !important;
  margin: var(--r-article-hero-my) var(--r-article-hero-mx) calc(var(--r-article-hero-my) + 4px) !important;
  padding: var(--r-article-hero-pad) !important;
  border-radius: var(--r-article-hero-radius) !important;
  background-size: cover !important;
  background-position: center center !important;
}
.article-card[data-article-card] .article-header-content {
  width: var(--r-article-box-w) !important;
  max-width: var(--r-article-box-w) !important;
  padding: var(--r-article-box-pad) !important;
  border-radius: calc(var(--r-article-hero-radius) - 8px) !important;
  background: rgba(255, 250, 243, var(--r-article-box-alpha)) !important;
}
.article-card[data-article-card] .article-hero h1 {
  font-size: var(--r-article-title) !important;
  line-height: var(--r-article-title-lh) !important;
  letter-spacing: -0.07em !important;
}
.article-card[data-article-card] .article-hero .article-category a {
  min-height: clamp(26px, 3vw, 32px) !important;
  padding: 0 clamp(10px, 1.4vw, 14px) !important;
  font-size: clamp(12px, 1.25vw, 14px) !important;
}
.article-card[data-article-card] .article-hero .article-meta {
  font-size: clamp(12px, 1.25vw, 14px) !important;
  gap: clamp(8px, 1.2vw, 14px) !important;
}
@media (min-width: 761px) and (max-width: 1179px) {
  .article-card[data-article-card] .article-header.article-hero {
    background-position: center right !important;
  }
}
@media (max-width: 760px) {
  .article-card[data-article-card] .article-header.article-hero {
    align-items: center !important;
    background-position: center right !important;
  }
  .article-card[data-article-card] .article-header-content {
    backdrop-filter: blur(1.5px) !important;
  }
}

/* 목록 카드 이미지/텍스트 스케일 */
.post-grid { gap: var(--r-card-gap) !important; }
.post-thumb {
  aspect-ratio: var(--r-card-thumb-ratio) !important;
}
.post-thumb img,
.post-thumb .thumb-placeholder,
.related-thumb img,
.related-thumb .related-fallback,
.popular-thumb img,
.popular-fallback {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  background-size: cover !important;
  background-position: center center !important;
}
.post-body {
  padding: clamp(18px, 2vw, 24px) !important;
}
.post-body h3 {
  font-size: var(--r-card-title) !important;
  line-height: 1.42 !important;
}
.post-body p {
  font-size: var(--r-card-text) !important;
  line-height: 1.74 !important;
  -webkit-line-clamp: 3 !important;
}
.post-meta {
  font-size: clamp(12px, 1.2vw, 13px) !important;
}

/* 글 목록 노출 수: 데스크톱 9개, 태블릿 8개, 모바일은 1열로 자연스럽게 표시 */
#tt-body-category .post-grid .post-card,
#tt-body-search .post-grid .post-card,
#tt-body-archive .post-grid .post-card,
#tt-body-location .post-grid .post-card {
  display: flex !important;
}
@media (min-width: 1180px) {
  #tt-body-category .post-grid,
  #tt-body-search .post-grid,
  #tt-body-archive .post-grid,
  #tt-body-location .post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  #tt-body-category .post-grid .post-card:nth-of-type(n+10),
  #tt-body-search .post-grid .post-card:nth-of-type(n+10),
  #tt-body-archive .post-grid .post-card:nth-of-type(n+10),
  #tt-body-location .post-grid .post-card:nth-of-type(n+10) {
    display: none !important;
  }
}
@media (min-width: 761px) and (max-width: 1179px) {
  #tt-body-category .post-grid,
  #tt-body-search .post-grid,
  #tt-body-archive .post-grid,
  #tt-body-location .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #tt-body-category .post-grid .post-card:nth-of-type(n+9),
  #tt-body-search .post-grid .post-card:nth-of-type(n+9),
  #tt-body-archive .post-grid .post-card:nth-of-type(n+9),
  #tt-body-location .post-grid .post-card:nth-of-type(n+9) {
    display: none !important;
  }
}
@media (max-width: 760px) {
  #tt-body-category .post-grid,
  #tt-body-search .post-grid,
  #tt-body-archive .post-grid,
  #tt-body-location .post-grid,
  .post-grid,
  #tt-body-index .post-grid {
    grid-template-columns: 1fr !important;
  }
}

/* 사이드바/인기글/방문자 카드도 단계별로 같이 줄어듭니다. */
.popular-thumb {
  width: var(--r-popular-thumb) !important;
  height: var(--r-popular-thumb) !important;
  flex: 0 0 var(--r-popular-thumb) !important;
}
.popular-text strong {
  font-size: clamp(13px, 1.35vw, 15px) !important;
}
.popular-text time,
.visitor-total span,
.visitor-row span,
.tag-cloud a {
  font-size: clamp(12px, 1.2vw, 13px) !important;
}
.visitor-total strong {
  font-size: clamp(24px, 3vw, 32px) !important;
}
@media (max-width: 760px) {
  .sidebar { grid-template-columns: 1fr !important; }
  .site-title { font-size: clamp(30px, 8vw, 38px) !important; }
  .nav-list a { font-size: 14px !important; }
}


/* v1.22: 자연스러운 반응형 전환 + 글 상세 배너 안정화
   - 브라우저 폭이 바뀌어도 배너 배경이 사라지지 않도록 CSS 변수와 JS inline 배경을 함께 사용합니다.
   - 3단계(데스크톱/태블릿/모바일)에서 배너 높이, 제목 박스, 폰트, 카드 간격을 같이 조정합니다. */
:root {
  --lz-breakpoint-name: desktop;
  --lz-wrap-gutter: 48px;
  --lz-layout-gap: 28px;
  --lz-section-pad: 30px;
  --lz-card-gap: 22px;
  --lz-article-hero-x: 46px;
  --lz-article-hero-y: 28px;
  --lz-article-hero-h: clamp(240px, 20vw, 300px);
  --lz-article-hero-pad: clamp(24px, 2.8vw, 38px);
  --lz-article-hero-radius: 28px;
  --lz-article-title-size: clamp(30px, 3.1vw, 44px);
  --lz-article-title-lh: 1.18;
  --lz-article-title-box-w: min(720px, 68%);
  --lz-article-title-box-pad: clamp(18px, 2vw, 28px);
  --lz-article-title-box-bg: rgba(255, 250, 243, 0.46);
  --lz-article-bg-pos: center center;
  --lz-card-title-size: clamp(18px, 1.45vw, 21px);
  --lz-card-text-size: clamp(13px, 1.05vw, 15px);
  --lz-meta-size: 13px;
  --lz-popular-thumb: 66px;
  --lizic-current-cover: url("./images/cover_dailymate.jpg");
}

@media (min-width: 761px) and (max-width: 1179px) {
  :root {
    --lz-breakpoint-name: tablet;
    --lz-wrap-gutter: 36px;
    --lz-layout-gap: 22px;
    --lz-section-pad: 24px;
    --lz-card-gap: 18px;
    --lz-article-hero-x: 32px;
    --lz-article-hero-y: 24px;
    --lz-article-hero-h: clamp(220px, 28vw, 280px);
    --lz-article-hero-pad: clamp(20px, 2.8vw, 30px);
    --lz-article-hero-radius: 24px;
    --lz-article-title-size: clamp(27px, 4vw, 36px);
    --lz-article-title-lh: 1.18;
    --lz-article-title-box-w: min(720px, 74%);
    --lz-article-title-box-pad: clamp(17px, 2.2vw, 24px);
    --lz-article-title-box-bg: rgba(255, 250, 243, 0.50);
    --lz-article-bg-pos: center center;
    --lz-card-title-size: clamp(18px, 2.1vw, 20px);
    --lz-card-text-size: 14px;
    --lz-popular-thumb: 60px;
  }
}

@media (max-width: 760px) {
  :root {
    --lz-breakpoint-name: mobile;
    --lz-wrap-gutter: 24px;
    --lz-layout-gap: 18px;
    --lz-section-pad: 20px;
    --lz-card-gap: 16px;
    --lz-article-hero-x: 14px;
    --lz-article-hero-y: 18px;
    --lz-article-hero-h: clamp(210px, 48vw, 260px);
    --lz-article-hero-pad: 16px;
    --lz-article-hero-radius: 20px;
    --lz-article-title-size: clamp(23px, 5.8vw, 30px);
    --lz-article-title-lh: 1.22;
    --lz-article-title-box-w: 100%;
    --lz-article-title-box-pad: 16px;
    --lz-article-title-box-bg: rgba(255, 250, 243, 0.54);
    --lz-article-bg-pos: center center;
    --lz-card-title-size: clamp(17px, 4.7vw, 19px);
    --lz-card-text-size: 13.5px;
    --lz-meta-size: 12.5px;
    --lz-popular-thumb: 56px;
  }
}

@media (max-width: 420px) {
  :root {
    --lz-wrap-gutter: 18px;
    --lz-section-pad: 18px;
    --lz-card-gap: 14px;
    --lz-article-hero-x: 10px;
    --lz-article-hero-y: 16px;
    --lz-article-hero-h: clamp(205px, 55vw, 240px);
    --lz-article-hero-pad: 14px;
    --lz-article-title-size: clamp(22px, 6.3vw, 27px);
    --lz-article-title-box-pad: 14px;
    --lz-card-title-size: 17px;
  }
}

.wrap { width: min(var(--wrap), calc(100% - var(--lz-wrap-gutter))) !important; }
.layout-grid { gap: var(--lz-layout-gap) !important; }
.main-column { gap: var(--lz-layout-gap) !important; }
.section-card,
.category-recommend,
.list-header,
.tag-page,
.guest-page,
.profile-card,
.side-card,
.toc-card { padding: var(--lz-section-pad) !important; }

.article-card[data-article-card] {
  overflow: hidden !important;
}

.article-card[data-article-card] .article-header.article-hero {
  position: relative !important;
  isolation: isolate !important;
  display: flex !important;
  align-items: center !important;
  min-height: 0 !important;
  height: var(--lz-article-hero-h) !important;
  margin: var(--lz-article-hero-y) var(--lz-article-hero-x) calc(var(--lz-article-hero-y) + 4px) !important;
  padding: var(--lz-article-hero-pad) !important;
  overflow: hidden !important;
  border-radius: var(--lz-article-hero-radius) !important;
  background-color: #f8efe2 !important;
  background-image: var(--lizic-current-cover, url("./images/cover_dailymate.jpg")) !important;
  background-size: cover !important;
  background-position: var(--lz-article-bg-pos) !important;
  background-repeat: no-repeat !important;
  box-shadow: 0 18px 42px rgba(111, 84, 49, 0.10) !important;
  transition:
    height 180ms ease,
    margin 180ms ease,
    padding 180ms ease,
    border-radius 180ms ease,
    background-position 180ms ease !important;
}

.article-card[data-article-card] .article-header.article-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, rgba(255,250,243,0.22) 0%, rgba(255,250,243,0.15) 42%, rgba(255,250,243,0.06) 70%, rgba(255,250,243,0.00) 100%),
    linear-gradient(180deg, rgba(255,250,243,0.08) 0%, rgba(255,250,243,0.02) 55%, rgba(255,250,243,0.12) 100%) !important;
}

@media (max-width: 760px) {
  .article-card[data-article-card] .article-header.article-hero::before {
    background:
      linear-gradient(90deg, rgba(255,250,243,0.16) 0%, rgba(255,250,243,0.08) 58%, rgba(255,250,243,0.00) 100%),
      linear-gradient(180deg, rgba(255,250,243,0.04) 0%, rgba(255,250,243,0.00) 55%, rgba(255,250,243,0.10) 100%) !important;
  }
}

.article-card[data-article-card] .article-header-content {
  position: relative !important;
  z-index: 1 !important;
  width: var(--lz-article-title-box-w) !important;
  max-width: var(--lz-article-title-box-w) !important;
  padding: var(--lz-article-title-box-pad) !important;
  border-radius: calc(var(--lz-article-hero-radius) - 8px) !important;
  background: var(--lz-article-title-box-bg) !important;
  border: 1px solid rgba(255,255,255,0.44) !important;
  box-shadow: 0 14px 32px rgba(57,44,28,0.06) !important;
  backdrop-filter: blur(1.2px) !important;
  transition: width 180ms ease, max-width 180ms ease, padding 180ms ease, background-color 180ms ease !important;
}

.article-card[data-article-card] .article-hero .article-category {
  margin: 0 0 clamp(8px, 1.2vw, 14px) !important;
}
.article-card[data-article-card] .article-hero .article-category a {
  min-height: clamp(26px, 2.7vw, 32px) !important;
  padding: 0 clamp(10px, 1.2vw, 13px) !important;
  font-size: clamp(12px, 1.1vw, 13px) !important;
  line-height: 1 !important;
}
.article-card[data-article-card] .article-hero h1 {
  margin: 0 !important;
  max-width: 100% !important;
  color: var(--text) !important;
  font-size: var(--lz-article-title-size) !important;
  line-height: var(--lz-article-title-lh) !important;
  letter-spacing: -0.065em !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.78), 0 8px 22px rgba(255,250,243,0.22) !important;
  transition: font-size 180ms ease, line-height 180ms ease !important;
}
.article-card[data-article-card] .article-hero .article-meta {
  margin-top: clamp(10px, 1.8vw, 18px) !important;
  font-size: var(--lz-meta-size) !important;
  line-height: 1.4 !important;
  color: #846f58 !important;
}

/* 카드/목록/인기글도 같은 반응형 변수로 자연스럽게 축소합니다. */
.post-grid,
.category-grid,
.related-posts ul,
.popular-list { gap: var(--lz-card-gap) !important; }
.post-thumb,
.related-thumb {
  aspect-ratio: 16 / 9 !important;
  border-radius: clamp(14px, 1.5vw, 18px) clamp(14px, 1.5vw, 18px) 0 0 !important;
}
.post-card { border-radius: clamp(18px, 2vw, 22px) !important; }
.post-body { padding: clamp(16px, 2vw, 23px) !important; }
.post-body h3 {
  font-size: var(--lz-card-title-size) !important;
  line-height: 1.42 !important;
  letter-spacing: -0.055em !important;
}
.post-body p {
  font-size: var(--lz-card-text-size) !important;
  line-height: 1.72 !important;
}
.post-meta { font-size: var(--lz-meta-size) !important; }
.popular-thumb {
  width: var(--lz-popular-thumb) !important;
  height: var(--lz-popular-thumb) !important;
  flex-basis: var(--lz-popular-thumb) !important;
}
.popular-text strong { font-size: clamp(13px, 1.25vw, 15px) !important; }

/* 이미지가 JS 적용 전/후/리사이즈 중에도 사라지지 않도록 배경과 img 표시를 둘 다 유지합니다. */
.post-thumb,
.related-thumb,
.popular-thumb,
.hero-bg {
  background-color: #f8efe2 !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.post-thumb img,
.related-thumb img,
.popular-thumb img,
.hero-bg img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.post-thumb.has-lizic-image .thumb-placeholder,
.related-thumb.has-lizic-image .related-fallback,
.popular-thumb.has-lizic-image .popular-fallback,
.hero-bg.has-lizic-image .hero-fallback {
  display: none !important;
}

@media (min-width: 1180px) {
  #tt-body-category .post-grid,
  #tt-body-search .post-grid,
  #tt-body-archive .post-grid,
  #tt-body-location .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 761px) and (max-width: 1179px) {
  #tt-body-category .post-grid,
  #tt-body-search .post-grid,
  #tt-body-archive .post-grid,
  #tt-body-location .post-grid,
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  .layout-grid { grid-template-columns: 1fr !important; }
  #tt-body-category .post-grid,
  #tt-body-search .post-grid,
  #tt-body-archive .post-grid,
  #tt-body-location .post-grid,
  .post-grid,
  #tt-body-index .post-grid { grid-template-columns: 1fr !important; }
  .article-card[data-article-card] .article-body,
  .article-tags,
  .article-nav,
  .related-posts,
  .comment-area,
  .admin-tools { margin-left: var(--lz-article-hero-x) !important; margin-right: var(--lz-article-hero-x) !important; }
  .article-card[data-article-card] .article-body { padding-left: 0 !important; padding-right: 0 !important; }
}

/* v1.23: resize 안정화, 제목 폰트 상한, 코드블록 다크 테마 보정
   - 썸네일/배너는 img 재삽입 대신 background-image를 고정해서 리사이즈 중 깜박임을 줄입니다.
   - 글 제목은 화면 폭에 맞춰 줄어들되 지정 상한 이상 커지지 않도록 다시 제한합니다.
   - 코드블록 내부 code/span 배경을 투명화해 흰 박스가 보이지 않도록 합니다. */
:root {
  --lz-article-title-size: clamp(28px, 2.65vw, 40px);
  --lz-article-title-lh: 1.20;
  --lz-article-hero-h: clamp(230px, 19vw, 285px);
  --lz-article-title-box-w: min(660px, 66%);
  --lz-article-title-box-bg: rgba(255, 250, 243, 0.42);
  --lz-article-title-box-pad: clamp(17px, 1.8vw, 24px);
}
@media (min-width: 761px) and (max-width: 1179px) {
  :root {
    --lz-article-title-size: clamp(25px, 3.2vw, 34px);
    --lz-article-title-lh: 1.22;
    --lz-article-hero-h: clamp(220px, 27vw, 270px);
    --lz-article-title-box-w: min(650px, 76%);
    --lz-article-title-box-bg: rgba(255, 250, 243, 0.48);
  }
}
@media (max-width: 760px) {
  :root {
    --lz-article-title-size: clamp(21px, 4.8vw, 28px);
    --lz-article-title-lh: 1.24;
    --lz-article-hero-h: clamp(205px, 46vw, 248px);
    --lz-article-title-box-w: min(100%, 520px);
    --lz-article-title-box-bg: rgba(255, 250, 243, 0.58);
    --lz-article-title-box-pad: 15px;
  }
}
@media (max-width: 420px) {
  :root {
    --lz-article-title-size: clamp(20px, 5.4vw, 25px);
    --lz-article-hero-h: clamp(198px, 54vw, 228px);
  }
}

.article-card[data-article-card] .article-hero h1,
.article-card[data-article-card] .article-hero h1 a {
  font-size: var(--lz-article-title-size) !important;
  line-height: var(--lz-article-title-lh) !important;
  max-width: 100% !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}
.article-card[data-article-card] .article-header-content {
  background: var(--lz-article-title-box-bg) !important;
  width: var(--lz-article-title-box-w) !important;
  max-width: var(--lz-article-title-box-w) !important;
}

/* 최종 카테고리 이미지 고정 레이어. 기존 JS가 img src를 바꿔도 화면에는 background가 보입니다. */
.post-thumb[data-lizic-final-url],
.related-thumb[data-lizic-final-url],
.popular-thumb[data-lizic-final-url],
.hero-bg[data-lizic-final-url],
.article-header.article-hero[data-lizic-final-url] {
  background-image: var(--lizic-bg-image) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #f8efe2 !important;
}
.article-header.article-hero[data-lizic-final-url] {
  background-position: var(--lz-article-bg-pos, center center) !important;
}
.post-thumb[data-lizic-final-url] > img,
.related-thumb[data-lizic-final-url] > img,
.popular-thumb[data-lizic-final-url] > img,
.hero-bg[data-lizic-final-url] > img {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.post-thumb[data-lizic-final-url] .thumb-placeholder,
.related-thumb[data-lizic-final-url] .related-fallback,
.popular-thumb[data-lizic-final-url] .popular-fallback,
.hero-bg[data-lizic-final-url] .hero-fallback {
  display: none !important;
}

/* 코드블록: 내부 흰 배경 제거 + 어두운 배경에서 읽기 좋은 색상 */
.article-body pre,
.article-body .tt_article_useless_p_margin pre,
.article-body div[data-ke-type='moreLess'] pre {
  background: #17202d !important;
  color: #e8edf5 !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 14px 28px rgba(20, 31, 45, 0.12) !important;
}
.article-body pre code,
.article-body pre span,
.article-body pre * {
  background: transparent !important;
  color: inherit !important;
  text-shadow: none !important;
}
.article-body pre code {
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: "D2Coding", "Consolas", "Menlo", "Monaco", monospace !important;
  font-size: 0.94em !important;
  line-height: 1.72 !important;
  white-space: pre-wrap !important;
}
.article-body code:not(pre code) {
  background: #fff1df !important;
  color: #7b3f19 !important;
  border: 1px solid rgba(183, 112, 65, 0.22) !important;
  border-radius: 6px !important;
  padding: 0.08em 0.35em !important;
}
.copy-code {
  background: rgba(255,255,255,0.12) !important;
  color: #f8fafc !important;
  border-color: rgba(255,255,255,0.26) !important;
}

/* v1.24: 카테고리 이미지 적용 로직 단일화에 맞춘 최종 썸네일 보정 */
.post-thumb,
.related-thumb,
.popular-thumb,
.hero-bg {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.post-thumb.has-lizic-image img,
.related-thumb.has-lizic-image img,
.popular-thumb.has-lizic-image img,
.hero-bg.has-lizic-image img {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.post-thumb.has-lizic-image .thumb-placeholder,
.related-thumb.has-lizic-image .related-fallback,
.popular-thumb.has-lizic-image .popular-fallback,
.hero-bg.has-lizic-image .hero-fallback {
  display: none !important;
}

.related-posts li a {
  height: 100%;
}
.related-thumb {
  aspect-ratio: 16 / 9 !important;
  width: 100% !important;
}
.related-text strong {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.article-card[data-article-card] .article-hero h1 {
  font-size: clamp(25px, 3.2vw, 46px) !important;
}
@media (min-width: 761px) and (max-width: 1179px) {
  .article-card[data-article-card] .article-hero h1 {
    font-size: clamp(27px, 4vw, 38px) !important;
  }
}
@media (max-width: 760px) {
  .article-card[data-article-card] .article-hero h1 {
    font-size: clamp(23px, 6vw, 31px) !important;
  }
}


/* v1.25: 글 상세 상단 카테고리/제목 누적 확대 방지 최종 보정 */
.article-card[data-article-card] .article-hero .article-category,
.article-card[data-article-card] .article-hero .article-category a {
  display: inline-flex !important;
  width: auto !important;
  max-width: min(100%, 320px) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  flex: 0 0 auto !important;
}
.article-card[data-article-card] .article-hero h1,
.article-card[data-article-card] .article-hero h1 a {
  font-size: clamp(24px, 2.8vw, 40px) !important;
  line-height: 1.22 !important;
  max-width: 100% !important;
  display: block !important;
}
@media (min-width: 761px) and (max-width: 1179px) {
  .article-card[data-article-card] .article-hero h1,
  .article-card[data-article-card] .article-hero h1 a {
    font-size: clamp(24px, 3.4vw, 34px) !important;
  }
}
@media (max-width: 760px) {
  .article-card[data-article-card] .article-hero h1,
  .article-card[data-article-card] .article-hero h1 a {
    font-size: clamp(21px, 5.2vw, 29px) !important;
    line-height: 1.25 !important;
  }
}

/* v1.26: 글 목록 9개/8개/1열 전환을 JS 상태값으로 고정
   - 데스크톱: 3열, 최대 9개
   - 태블릿: 2열, 최대 8개
   - 모바일: 1열, 숨김 없이 한 줄에 1개씩 표시
   티스토리 서버가 내려준 글 수 안에서 화면 표시만 제어합니다. */
.post-card.is-lizic-responsive-hidden {
  display: none !important;
}

html[data-lizic-breakpoint="desktop"] #tt-body-category .post-grid,
html[data-lizic-breakpoint="desktop"] #tt-body-search .post-grid,
html[data-lizic-breakpoint="desktop"] #tt-body-archive .post-grid,
html[data-lizic-breakpoint="desktop"] #tt-body-location .post-grid,
body[data-lizic-breakpoint="desktop"]#tt-body-category .post-grid,
body[data-lizic-breakpoint="desktop"]#tt-body-search .post-grid,
body[data-lizic-breakpoint="desktop"]#tt-body-archive .post-grid,
body[data-lizic-breakpoint="desktop"]#tt-body-location .post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html[data-lizic-breakpoint="tablet"] #tt-body-category .post-grid,
html[data-lizic-breakpoint="tablet"] #tt-body-search .post-grid,
html[data-lizic-breakpoint="tablet"] #tt-body-archive .post-grid,
html[data-lizic-breakpoint="tablet"] #tt-body-location .post-grid,
body[data-lizic-breakpoint="tablet"]#tt-body-category .post-grid,
body[data-lizic-breakpoint="tablet"]#tt-body-search .post-grid,
body[data-lizic-breakpoint="tablet"]#tt-body-archive .post-grid,
body[data-lizic-breakpoint="tablet"]#tt-body-location .post-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html[data-lizic-breakpoint="mobile"] #tt-body-category .post-grid,
html[data-lizic-breakpoint="mobile"] #tt-body-search .post-grid,
html[data-lizic-breakpoint="mobile"] #tt-body-archive .post-grid,
html[data-lizic-breakpoint="mobile"] #tt-body-location .post-grid,
body[data-lizic-breakpoint="mobile"]#tt-body-category .post-grid,
body[data-lizic-breakpoint="mobile"]#tt-body-search .post-grid,
body[data-lizic-breakpoint="mobile"]#tt-body-archive .post-grid,
body[data-lizic-breakpoint="mobile"]#tt-body-location .post-grid {
  grid-template-columns: 1fr !important;
}

html[data-lizic-breakpoint="mobile"] .post-card.is-lizic-responsive-hidden,
body[data-lizic-breakpoint="mobile"] .post-card.is-lizic-responsive-hidden {
  display: flex !important;
}


/* v1.27: 기본 복사 방지 / 우클릭 방지 / 드래그 방지
   기술 블로그 코드 복사 버튼과 검색창, 버튼, 입력 폼은 사용성을 위해 예외 처리합니다. */
html[data-lizic-protection-ready="1"],
.lizic-protect-content .article-body,
.lizic-protect-content .article-header,
.lizic-protect-content .post-card,
.lizic-protect-content .related-posts,
.lizic-protect-content .popular-list,
.lizic-protect-content .hero-card {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

.lizic-protect-content input,
.lizic-protect-content textarea,
.lizic-protect-content select,
.lizic-protect-content button,
.lizic-protect-content .search-box,
.lizic-protect-content .copy-code {
  -webkit-user-select: auto !important;
  -moz-user-select: auto !important;
  -ms-user-select: auto !important;
  user-select: auto !important;
  -webkit-touch-callout: default !important;
}

.lizic-protect-content img,
.lizic-protect-content .post-thumb,
.lizic-protect-content .related-thumb,
.lizic-protect-content .popular-thumb,
.lizic-protect-content .hero-bg,
.lizic-protect-content .article-hero {
  -webkit-user-drag: none !important;
  user-drag: none !important;
}

.copy-protect-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 99999;
  transform: translate(-50%, 18px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.92);
  color: #fffaf3;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 14px 36px rgba(20, 31, 45, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.copy-protect-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 760px) {
  .copy-protect-toast {
    bottom: 18px;
    width: calc(100% - 32px);
    max-width: 360px;
    text-align: center;
    font-size: 12px;
  }
}


/* v1.28: 같은 카테고리의 다른 글 카드/썸네일 최종 정렬 보정
   - 실제 대표 이미지/이전 fallback이 위에 겹치지 않게 숨기고, 현재 글 카테고리 썸네일을 배경으로 고정합니다.
   - 카드가 너무 좁게 깨지지 않도록 related 전용 그리드를 따로 잡습니다. */
#tt-body-page .related-posts {
  margin: clamp(34px, 5vw, 48px) var(--r-article-hero-mx, 46px) clamp(34px, 5vw, 48px) !important;
}
#tt-body-page .related-posts .section-head,
#tt-body-page .related-posts > .section-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 0 18px !important;
}
#tt-body-page .related-posts h2,
#tt-body-page .related-posts .section-title {
  margin: 0 !important;
  font-size: clamp(22px, 2.1vw, 30px) !important;
  line-height: 1.32 !important;
  letter-spacing: -0.06em !important;
}
#tt-body-page .related-posts ul {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)) !important;
  gap: clamp(14px, 2vw, 20px) !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
#tt-body-page .related-posts[data-related-count="1"] ul {
  grid-template-columns: minmax(0, min(360px, 100%)) !important;
}
#tt-body-page .related-posts[data-related-count="2"] ul {
  grid-template-columns: repeat(2, minmax(0, min(360px, 100%))) !important;
}
#tt-body-page .related-posts li {
  min-width: 0 !important;
  display: block !important;
}
#tt-body-page .related-posts li a {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-width: 0 !important;
  gap: 12px !important;
  padding: 12px !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  border: 1px solid var(--border) !important;
  background: var(--surface-strong) !important;
  box-shadow: none !important;
}
#tt-body-page .related-posts li a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft) !important;
}
#tt-body-page .related-thumb {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  border: 0 !important;
  background-color: #f8ead9 !important;
  background-image: var(--lizic-bg-image, url("./images/thumb_dailymate.jpg")) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
#tt-body-page .related-thumb img,
#tt-body-page .related-thumb picture,
#tt-body-page .related-thumb .related-fallback {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
#tt-body-page .related-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-width: 0 !important;
}
#tt-body-page .related-text strong {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: calc(1.38em * 2) !important;
  color: var(--text) !important;
  font-size: clamp(15px, 1.45vw, 17px) !important;
  font-weight: 900 !important;
  line-height: 1.38 !important;
  letter-spacing: -0.055em !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}
#tt-body-page .related-text time {
  color: var(--faint) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}
@media (min-width: 1180px) {
  #tt-body-page .related-posts[data-related-count="2"] ul {
    grid-template-columns: repeat(2, minmax(0, 280px)) !important;
  }
}
@media (min-width: 761px) and (max-width: 1179px) {
  #tt-body-page .related-posts ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #tt-body-page .related-posts[data-related-count="1"] ul {
    grid-template-columns: minmax(0, min(360px, 100%)) !important;
  }
}
@media (max-width: 760px) {
  #tt-body-page .related-posts {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
  #tt-body-page .related-posts .section-head,
  #tt-body-page .related-posts > .section-head {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  #tt-body-page .related-posts ul,
  #tt-body-page .related-posts[data-related-count="1"] ul,
  #tt-body-page .related-posts[data-related-count="2"] ul {
    grid-template-columns: 1fr !important;
  }
  #tt-body-page .related-text strong {
    font-size: 16px !important;
    min-height: auto !important;
  }
}

/* v1.29: 댓글 노출 보정
   - 댓글 수가 있는 글의 댓글 영역이 숨겨지지 않도록 합니다.
   - 댓글 내용/입력폼이 실제로 없을 때만 JS가 .is-empty를 붙여 숨깁니다. */
.comment-area[data-comment-area] {
  display: block;
  margin: clamp(28px, 4vw, 42px) clamp(18px, 4vw, 46px);
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 243, 0.84);
  box-shadow: var(--shadow-soft);
}
.comment-area[data-comment-area].is-empty {
  display: none !important;
}
.comment-area[data-comment-area].has-content {
  display: block !important;
}
.comment-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(211, 171, 129, 0.34);
}
.comment-heading h2 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: Georgia, "Noto Serif KR", "Nanum Myeongjo", serif;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.06em;
  color: var(--text);
}
.comment-count {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.comment-group {
  display: block;
  min-height: 1px;
}
.comment-group:empty {
  display: none;
}
.comment-area[data-comment-area] .tt-comments-wrap,
.comment-area[data-comment-area] .tt-comment-cont,
.comment-area[data-comment-area] .comment-list,
.comment-area[data-comment-area] .comments,
.comment-area[data-comment-area] #comment,
.comment-area[data-comment-area] #comment-form,
.comment-area[data-comment-area] .comment-form {
  display: block;
  max-width: 100%;
}
.comment-area[data-comment-area] ul,
.comment-area[data-comment-area] ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.comment-area[data-comment-area] li {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(211, 171, 129, 0.26);
}
.comment-area[data-comment-area] li:last-child {
  border-bottom: 0;
}
.comment-area[data-comment-area] a {
  color: var(--text);
  text-decoration: none;
}
.comment-area[data-comment-area] textarea,
.comment-area[data-comment-area] input[type="text"],
.comment-area[data-comment-area] input[type="password"],
.comment-area[data-comment-area] input[type="email"] {
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 760px) {
  .comment-area[data-comment-area] {
    margin: 24px 18px;
    padding: 20px 18px;
    border-radius: 24px;
  }
  .comment-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
#tt-body-page .comment-area[data-comment-area]:not(.is-empty) {
  display: block !important;
}
#tt-body-page .comment-area[data-comment-area].is-empty {
  display: none !important;
}


/* v1.31: 관련 글은 항목별 제목 기준 썸네일을 적용하고, 이미지/제목 폭을 같은 기준으로 고정 */
#tt-body-page .related-posts li a {
  box-sizing: border-box !important;
}
#tt-body-page .related-thumb {
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
}
#tt-body-page .related-text {
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}
#tt-body-page .related-text strong {
  width: 100% !important;
  max-width: 100% !important;
}


/* v1.31: 댓글 본문/비공개 댓글 표시 보정 */
.comment-area[data-comment-area] {
  overflow: visible;
}
.article-comment-list,
.comment-children {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 14px;
}
.comment-children {
  margin-top: 14px !important;
  margin-left: clamp(18px, 4vw, 42px) !important;
  padding-left: 18px !important;
  border-left: 2px dotted rgba(211, 171, 129, 0.42);
}
.comment-area[data-comment-area] li.comment-item {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.comment-card {
  padding: clamp(16px, 2.2vw, 22px);
  border: 1px solid rgba(211, 171, 129, 0.36);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.44);
  box-shadow: 0 10px 28px rgba(104, 73, 44, 0.06);
}
.comment-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 10px;
}
.comment-author {
  font-weight: 800;
  color: var(--text);
}
.comment-date {
  color: var(--faint);
  font-size: 12px;
}
.comment-state {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.comment-state-public {
  color: #53714d;
  background: rgba(113, 139, 100, 0.14);
}
.comment-state-secret {
  display: none;
  color: #9d633a;
  background: rgba(199, 117, 78, 0.14);
}
.comment-item.is-secret .comment-state-public,
.comment-item.rp_secret .comment-state-public,
.comment-item.secret .comment-state-public,
.comment-item.hiddenComment .comment-state-public,
.comment-item[class*="secret"] .comment-state-public,
.comment-item[class*="private"] .comment-state-public {
  display: none;
}
.comment-item.is-secret .comment-state-secret,
.comment-item.rp_secret .comment-state-secret,
.comment-item.secret .comment-state-secret,
.comment-item.hiddenComment .comment-state-secret,
.comment-item[class*="secret"] .comment-state-secret,
.comment-item[class*="private"] .comment-state-secret {
  display: inline-flex;
}
.comment-content {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.comment-content p {
  margin: 0 0 0.85em;
}
.comment-content p:last-child {
  margin-bottom: 0;
}
.comment-item.is-secret .comment-card,
.comment-item.rp_secret .comment-card,
.comment-item.secret .comment-card,
.comment-item[class*="secret"] .comment-card,
.comment-item[class*="private"] .comment-card {
  background: rgba(255, 247, 238, 0.72);
  border-style: dashed;
}
.comment-content.is-placeholder {
  color: #9d633a;
  font-weight: 700;
}
.comment-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.comment-permalink,
.comment-action,
.comment-submit {
  appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(211, 171, 129, 0.54);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.84);
  color: var(--accent-strong) !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
}
.article-comment-form {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(211, 171, 129, 0.34);
}
.comment-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.article-comment-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.comment-secret-option {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  margin: 12px 0;
}
.comment-secret-option input {
  width: auto !important;
}
.comment-textarea-label textarea {
  min-height: 132px;
  resize: vertical;
}
.comment-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
.comment-submit {
  min-height: 40px;
  padding: 0 18px;
  background: var(--accent-strong);
  color: #fff !important;
  border-color: var(--accent-strong);
}
@media (max-width: 760px) {
  .comment-form-row {
    grid-template-columns: 1fr;
  }
  .comment-children {
    margin-left: 10px !important;
    padding-left: 12px !important;
  }
  .comment-content {
    font-size: 14px;
  }
}

/* v1.32: 댓글 영역 디자인 정리
   - 댓글 본문 가독성 강화
   - 공개/비공개 댓글 배지 색상 분리
   - 댓글 작성 폼을 블로그 톤에 맞게 정리 */
#tt-body-page .comment-area[data-comment-area] {
  margin: clamp(34px, 4vw, 54px) clamp(18px, 4vw, 46px) clamp(38px, 5vw, 62px) !important;
  padding: clamp(24px, 3vw, 34px) !important;
  border: 1px solid rgba(215, 174, 130, 0.48) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.88), transparent 34%),
    linear-gradient(145deg, rgba(255, 252, 247, 0.96), rgba(255, 247, 238, 0.84)) !important;
  box-shadow: 0 22px 54px rgba(103, 72, 38, 0.10) !important;
}

#tt-body-page .comment-heading {
  align-items: center !important;
  margin-bottom: 20px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid rgba(204, 157, 105, 0.30) !important;
}

#tt-body-page .comment-heading h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(24px, 2vw, 30px) !important;
  letter-spacing: -0.055em !important;
  color: #10233f !important;
}

#tt-body-page .comment-heading h2::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #c7724c;
  box-shadow: 0 0 0 6px rgba(199, 114, 76, 0.12);
}

#tt-body-page .comment-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(199, 114, 76, 0.28);
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.92);
  color: #a95834 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

#tt-body-page .article-comment-list,
#tt-body-page .comment-children {
  gap: 16px !important;
}

#tt-body-page .comment-card {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.2vw, 24px) clamp(18px, 2.5vw, 26px) !important;
  border: 1px solid rgba(213, 170, 124, 0.44) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 249, 241, 0.88)) !important;
  box-shadow: 0 14px 34px rgba(100, 70, 38, 0.07) !important;
}

#tt-body-page .comment-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(118, 142, 92, 0.78), rgba(199, 114, 76, 0.62));
  opacity: 0.75;
}

#tt-body-page .comment-meta {
  gap: 8px 12px !important;
  margin-bottom: 14px !important;
}

#tt-body-page .comment-author {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #152743 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em;
}

#tt-body-page .comment-author::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, rgba(255,255,255,0.95) 0 19%, transparent 20%),
    linear-gradient(145deg, #7f936d, #c7724c);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.76), 0 4px 10px rgba(81, 58, 33, 0.12);
}

#tt-body-page .comment-author img,
#tt-body-page .comment-author .image,
#tt-body-page .comment-author .profile {
  max-width: 22px !important;
  max-height: 22px !important;
  border-radius: 999px !important;
  vertical-align: middle !important;
}

#tt-body-page .comment-date {
  color: #98775f !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

#tt-body-page .comment-state {
  height: 26px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
}

#tt-body-page .comment-state-public {
  border: 1px solid rgba(111, 137, 93, 0.24);
  background: rgba(116, 143, 99, 0.14) !important;
  color: #526f4b !important;
}

#tt-body-page .comment-state-public::before {
  content: "💬";
  margin-right: 5px;
  font-size: 11px;
}

#tt-body-page .comment-state-secret {
  border: 1px solid rgba(199, 114, 76, 0.24);
  background: rgba(199, 114, 76, 0.15) !important;
  color: #9e5936 !important;
}

#tt-body-page .comment-state-secret::before {
  content: "🔒";
  margin-right: 5px;
  font-size: 11px;
}

#tt-body-page .comment-content {
  color: #34435a !important;
  font-size: clamp(14px, 1.2vw, 15.5px) !important;
  line-height: 1.9 !important;
  letter-spacing: -0.015em;
  word-break: keep-all;
}

#tt-body-page .comment-content p {
  margin: 0 0 0.76em !important;
}

#tt-body-page .comment-content p:last-child {
  margin-bottom: 0 !important;
}

#tt-body-page .comment-item.is-secret .comment-card,
#tt-body-page .comment-item.rp_secret .comment-card,
#tt-body-page .comment-item.secret .comment-card,
#tt-body-page .comment-item[class*="secret"] .comment-card,
#tt-body-page .comment-item[class*="private"] .comment-card {
  background:
    linear-gradient(135deg, rgba(255, 251, 244, 0.90), rgba(255, 241, 226, 0.88)) !important;
  border-color: rgba(199, 114, 76, 0.38) !important;
  border-style: dashed !important;
}

#tt-body-page .comment-item.is-secret .comment-card::before,
#tt-body-page .comment-item.rp_secret .comment-card::before,
#tt-body-page .comment-item.secret .comment-card::before,
#tt-body-page .comment-item[class*="secret"] .comment-card::before,
#tt-body-page .comment-item[class*="private"] .comment-card::before {
  background: linear-gradient(180deg, rgba(199, 114, 76, 0.84), rgba(157, 99, 58, 0.58));
}

#tt-body-page .comment-content.is-placeholder {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(199, 114, 76, 0.10);
  color: #9e5936 !important;
  font-weight: 800 !important;
}

#tt-body-page .comment-actions {
  gap: 8px !important;
  margin-top: 16px !important;
}

#tt-body-page .comment-permalink,
#tt-body-page .comment-action,
#tt-body-page .comment-submit {
  min-height: 34px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(199, 114, 76, 0.34) !important;
  border-radius: 999px !important;
  background: rgba(255, 250, 243, 0.94) !important;
  color: #a85f3c !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  box-shadow: 0 7px 16px rgba(100, 70, 38, 0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

#tt-body-page .comment-permalink:hover,
#tt-body-page .comment-action:hover,
#tt-body-page .comment-submit:hover {
  transform: translateY(-1px);
  background: #c7724c !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(199, 114, 76, 0.20);
}

#tt-body-page .article-comment-form {
  margin-top: 24px !important;
  padding-top: 22px !important;
  border-top: 1px solid rgba(204, 157, 105, 0.28) !important;
}

#tt-body-page .article-comment-form label {
  color: #526176 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

#tt-body-page .comment-secret-option {
  color: #34435a !important;
  font-size: 14px !important;
}

#tt-body-page .comment-secret-option input {
  accent-color: #c7724c;
}

#tt-body-page .comment-area[data-comment-area] textarea,
#tt-body-page .comment-area[data-comment-area] input[type="text"],
#tt-body-page .comment-area[data-comment-area] input[type="password"],
#tt-body-page .comment-area[data-comment-area] input[type="email"] {
  border: 1px solid rgba(206, 160, 111, 0.50) !important;
  border-radius: 16px !important;
  background: rgba(255, 253, 249, 0.96) !important;
  color: #1c2e4a !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
  outline: none !important;
}

#tt-body-page .comment-area[data-comment-area] textarea {
  min-height: 150px !important;
  padding: 16px 18px !important;
}

#tt-body-page .comment-area[data-comment-area] input[type="text"],
#tt-body-page .comment-area[data-comment-area] input[type="password"],
#tt-body-page .comment-area[data-comment-area] input[type="email"] {
  min-height: 44px !important;
  padding: 0 14px !important;
}

#tt-body-page .comment-area[data-comment-area] textarea::placeholder,
#tt-body-page .comment-area[data-comment-area] input::placeholder {
  color: #a48c79 !important;
}

#tt-body-page .comment-area[data-comment-area] textarea:focus,
#tt-body-page .comment-area[data-comment-area] input[type="text"]:focus,
#tt-body-page .comment-area[data-comment-area] input[type="password"]:focus,
#tt-body-page .comment-area[data-comment-area] input[type="email"]:focus {
  border-color: rgba(199, 114, 76, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(199, 114, 76, 0.10), inset 0 1px 0 rgba(255,255,255,0.8) !important;
}

#tt-body-page .comment-form-actions {
  justify-content: flex-end !important;
  margin-top: 14px !important;
}

#tt-body-page .comment-submit {
  min-width: 104px !important;
  min-height: 42px !important;
  padding: 0 20px !important;
  background: linear-gradient(135deg, #b6623e, #c87952) !important;
  border-color: rgba(177, 94, 58, 0.86) !important;
  color: #fff !important;
}

#tt-body-page .comment-submit:disabled,
#tt-body-page .comment-submit[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

@media (max-width: 760px) {
  #tt-body-page .comment-area[data-comment-area] {
    margin: 28px 14px 36px !important;
    padding: 22px 16px !important;
    border-radius: 24px !important;
  }
  #tt-body-page .comment-heading {
    flex-direction: row !important;
    align-items: center !important;
  }
  #tt-body-page .comment-card {
    border-radius: 20px !important;
    padding: 18px 16px 18px 18px !important;
  }
  #tt-body-page .comment-author {
    font-size: 14px !important;
  }
  #tt-body-page .comment-content {
    font-size: 14px !important;
    line-height: 1.82 !important;
  }
  #tt-body-page .comment-actions {
    gap: 6px !important;
  }
  #tt-body-page .comment-permalink,
  #tt-body-page .comment-action,
  #tt-body-page .comment-submit {
    min-height: 32px !important;
    padding: 0 12px !important;
  }
  #tt-body-page .comment-area[data-comment-area] textarea {
    min-height: 130px !important;
  }
}

/* v1.33: 댓글 프로필/비밀댓글/작성폼 디자인 강화 */
#tt-body-page .comment-area[data-comment-area] {
  --comment-navy: #142943;
  --comment-text: #263754;
  --comment-muted: #8d715d;
  --comment-accent: #c8734d;
  --comment-accent-dark: #a85a37;
  --comment-sage: #6f875f;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.92), transparent 30%),
    radial-gradient(circle at 95% 3%, rgba(199, 115, 77, 0.08), transparent 28%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(255, 247, 236, 0.90)) !important;
}

#tt-body-page .comment-card {
  padding: clamp(20px, 2.4vw, 28px) !important;
  border: 1px solid rgba(216, 174, 129, 0.46) !important;
  background:
    radial-gradient(circle at 5% 0%, rgba(255,255,255,0.86), transparent 34%),
    linear-gradient(145deg, rgba(255, 254, 251, 0.94), rgba(255, 247, 239, 0.90)) !important;
  box-shadow: 0 18px 42px rgba(96, 64, 35, 0.08) !important;
}

#tt-body-page .comment-meta {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}

#tt-body-page .comment-avatar {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.95) 0 18%, transparent 19%),
    linear-gradient(145deg, #768c62, #c8734d);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.88), 0 8px 18px rgba(86, 60, 34, 0.14);
}

#tt-body-page .comment-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(129, 91, 56, 0.14);
  pointer-events: none;
}

#tt-body-page .comment-avatar img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  border-radius: inherit !important;
}

#tt-body-page .comment-avatar.is-fallback::before,
#tt-body-page .comment-avatar:not(:has(img))::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 15px 0 5px rgba(255,255,255,0.68);
  transform: translateY(-5px);
}

#tt-body-page .comment-meta-main {
  min-width: 0;
  display: grid;
  gap: 8px;
}

#tt-body-page .comment-author-line,
#tt-body-page .comment-state-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

#tt-body-page .comment-author {
  gap: 6px !important;
  color: var(--comment-navy) !important;
  font-size: clamp(14px, 1.1vw, 16px) !important;
  line-height: 1.35 !important;
  letter-spacing: -0.03em !important;
}

#tt-body-page .comment-author::before {
  display: none !important;
  content: none !important;
}

#tt-body-page .comment-author img,
#tt-body-page .comment-author .image,
#tt-body-page .comment-author .profile {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

#tt-body-page .comment-author .profile,
#tt-body-page .comment-author [class*="profile"],
#tt-body-page .comment-author [class*="PROFILE"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 16px !important;
  padding: 1px 5px !important;
  border: 1px solid rgba(122, 139, 101, 0.25) !important;
  border-radius: 999px !important;
  background: rgba(120, 142, 98, 0.10) !important;
  color: #627852 !important;
  font-size: 9px !important;
  font-weight: 900 !important;
}

#tt-body-page .comment-date {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 22px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: rgba(122, 96, 75, 0.08) !important;
  color: var(--comment-muted) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
}

#tt-body-page .comment-state {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 28px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow: 0 6px 14px rgba(84, 58, 31, 0.06) !important;
}

#tt-body-page .comment-state-public {
  border: 1px solid rgba(111, 137, 93, 0.28) !important;
  background: linear-gradient(135deg, rgba(116,143,99,0.16), rgba(244,250,239,0.92)) !important;
  color: #56734e !important;
}

#tt-body-page .comment-state-secret {
  border: 1px solid rgba(199, 114, 76, 0.34) !important;
  background: linear-gradient(135deg, rgba(255, 235, 220, 0.98), rgba(255, 246, 235, 0.96)) !important;
  color: #a95d38 !important;
}

#tt-body-page .comment-state-secret::before {
  content: "🔒" !important;
  margin-right: 6px !important;
  font-size: 11px !important;
}

#tt-body-page .comment-content {
  color: var(--comment-text) !important;
  font-size: clamp(15px, 1.15vw, 16px) !important;
  line-height: 1.9 !important;
  letter-spacing: -0.025em !important;
  font-weight: 500 !important;
  padding-left: 56px !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}

#tt-body-page .comment-content br {
  line-height: 1.9 !important;
}

#tt-body-page .comment-secret-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  margin-top: 8px;
  padding: 0 10px;
  border: 1px solid rgba(199, 114, 76, 0.28);
  border-radius: 999px;
  background: rgba(255, 237, 224, 0.88);
  color: #a65c38;
  font-size: 12px;
  font-weight: 900;
  vertical-align: middle;
}

#tt-body-page .comment-secret-inline::before {
  content: "🔐";
  font-size: 11px;
}

#tt-body-page .comment-item.is-secret .comment-card,
#tt-body-page .comment-item.rp_secret .comment-card,
#tt-body-page .comment-item.secret .comment-card,
#tt-body-page .comment-item[class*="secret"] .comment-card,
#tt-body-page .comment-item[class*="private"] .comment-card {
  border: 1px dashed rgba(199, 114, 76, 0.42) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,0.80), transparent 35%),
    linear-gradient(145deg, rgba(255, 252, 247, 0.98), rgba(255, 242, 229, 0.92)) !important;
}

#tt-body-page .comment-actions {
  padding-left: 56px !important;
}

#tt-body-page .comment-permalink,
#tt-body-page .comment-action {
  background: rgba(255, 254, 250, 0.94) !important;
  color: #a55b38 !important;
}

#tt-body-page .article-comment-form {
  margin-top: 26px !important;
  padding: 22px !important;
  border: 1px solid rgba(215, 174, 130, 0.34) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(199, 114, 76, 0.08), transparent 30%),
    rgba(255, 252, 247, 0.70) !important;
}

#tt-body-page .comment-form-row {
  gap: 12px !important;
}

#tt-body-page .article-comment-form label {
  color: #465872 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

#tt-body-page .article-comment-form label > span:not(.comment-secret-text) {
  display: inline-flex;
  margin-bottom: 8px;
  color: #223653;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

#tt-body-page .comment-secret-option {
  width: fit-content;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin: 14px 0 16px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(199, 114, 76, 0.22);
  border-radius: 999px;
  background: rgba(255, 246, 238, 0.82);
  color: #334762 !important;
  cursor: pointer;
  user-select: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

#tt-body-page .comment-secret-option:hover {
  transform: translateY(-1px);
  border-color: rgba(199, 114, 76, 0.42);
  background: rgba(255, 238, 224, 0.92);
}

#tt-body-page .comment-secret-option input {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  border: 1.6px solid rgba(139, 99, 67, 0.55) !important;
  border-radius: 7px !important;
  background: #fffaf3 !important;
  box-shadow: inset 0 1px 2px rgba(110, 73, 42, 0.08);
}

#tt-body-page .comment-secret-option input:checked {
  border-color: rgba(199, 114, 76, 0.86) !important;
  background: linear-gradient(135deg, #b8623f, #ce835a) !important;
}

#tt-body-page .comment-secret-option input:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#tt-body-page .comment-textarea-label {
  display: block !important;
}

#tt-body-page .comment-area[data-comment-area] textarea,
#tt-body-page .comment-area[data-comment-area] input[type="text"],
#tt-body-page .comment-area[data-comment-area] input[type="password"],
#tt-body-page .comment-area[data-comment-area] input[type="email"] {
  border: 1px solid rgba(208, 161, 111, 0.48) !important;
  background: rgba(255, 254, 250, 0.98) !important;
  color: #20344f !important;
  font-size: 15px !important;
}

#tt-body-page .comment-area[data-comment-area] textarea {
  min-height: 158px !important;
  border-radius: 20px !important;
  line-height: 1.82 !important;
  resize: vertical;
}

#tt-body-page .comment-area[data-comment-area] textarea::placeholder,
#tt-body-page .comment-area[data-comment-area] input::placeholder {
  color: #b09884 !important;
}

#tt-body-page .comment-submit {
  min-width: 112px !important;
  min-height: 46px !important;
  border: 0 !important;
  background: linear-gradient(135deg, #b75f3d, #d0875d) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(184, 96, 61, 0.22) !important;
}

@media (max-width: 760px) {
  #tt-body-page .comment-meta {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 10px !important;
  }
  #tt-body-page .comment-avatar {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  #tt-body-page .comment-content,
  #tt-body-page .comment-actions {
    padding-left: 0 !important;
  }
  #tt-body-page .article-comment-form {
    padding: 16px !important;
    border-radius: 20px !important;
  }
  #tt-body-page .comment-secret-option {
    width: 100%;
    justify-content: flex-start;
  }
}


/* v1.34: 댓글 공개/비밀 상태 배지 단일 표시 보정
   - 기본은 공개 댓글 1개만 표시
   - 비공개 댓글은 비밀댓글 1개만 표시
   - 본문 안 [비밀댓글] 중복 표시는 JS에서 제거하고, 혹시 남아도 숨김 */
#tt-body-page .comment-item .comment-state-public {
  display: inline-flex !important;
}

#tt-body-page .comment-item .comment-state-secret,
#tt-body-page .comment-item .comment-secret-inline {
  display: none !important;
}

#tt-body-page .comment-item.is-secret .comment-state-public,
#tt-body-page .comment-item.rp_secret .comment-state-public,
#tt-body-page .comment-item.secret .comment-state-public,
#tt-body-page .comment-item.hiddenComment .comment-state-public,
#tt-body-page .comment-item[class*="secret"] .comment-state-public,
#tt-body-page .comment-item[class*="private"] .comment-state-public {
  display: none !important;
}

#tt-body-page .comment-item.is-secret .comment-state-secret,
#tt-body-page .comment-item.rp_secret .comment-state-secret,
#tt-body-page .comment-item.secret .comment-state-secret,
#tt-body-page .comment-item.hiddenComment .comment-state-secret,
#tt-body-page .comment-item[class*="secret"] .comment-state-secret,
#tt-body-page .comment-item[class*="private"] .comment-state-secret {
  display: inline-flex !important;
}

#tt-body-page .comment-item.is-public:not(.is-secret) .comment-state-secret {
  display: none !important;
}

/* v1.36: 다크모드 전체 색상 자연화 보정
   기존 라이트 테마용 하드코딩 색상을 다크 테마에서 한 번 더 덮어써서
   헤더, 본문, 배너, 댓글, 입력폼이 같은 톤으로 보이도록 정리합니다. */
:root[data-theme="dark"] {
  --bg: #11161c;
  --bg-soft: #171e25;
  --surface: rgba(24, 31, 38, 0.94);
  --surface-strong: #1d252d;
  --text: #f1e7d8;
  --muted: #c9bca9;
  --faint: #958a7c;
  --border: rgba(230, 203, 171, 0.16);
  --border-strong: rgba(230, 203, 171, 0.30);
  --accent: #d08355;
  --accent-dark: #f0ae7b;
  --sage: #95aa79;
  --sage-dark: #b7c79b;
  --rose: #d58a73;
  --gold: #d7ab58;
  --shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 16px 36px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

:root[data-theme="dark"] body {
  color: var(--text) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(223, 162, 104, 0.08), transparent 30%),
    radial-gradient(circle at 90% 14%, rgba(122, 145, 108, 0.06), transparent 34%),
    linear-gradient(180deg, #11161c 0%, #0d1217 55%, #11161c 100%) !important;
}

:root[data-theme="dark"] .site-header {
  background: rgba(15, 20, 25, 0.96) !important;
  border-bottom-color: rgba(230, 203, 171, 0.16) !important;
}
:root[data-theme="dark"] .brand-area,
:root[data-theme="dark"] .top-line {
  background: transparent !important;
}
:root[data-theme="dark"] .site-title,
:root[data-theme="dark"] .site-title a,
:root[data-theme="dark"] .brand-link,
:root[data-theme="dark"] .brand-title-row {
  color: #f4eadb !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35) !important;
}
:root[data-theme="dark"] .site-subtitle { color: #cfc2b0 !important; }
:root[data-theme="dark"] .brand-leaf { color: #9db681 !important; }
:root[data-theme="dark"] .quick-link,
:root[data-theme="dark"] .theme-toggle {
  background: rgba(255, 247, 236, 0.08) !important;
  border-color: rgba(230, 203, 171, 0.20) !important;
  color: #efe4d4 !important;
}
:root[data-theme="dark"] .quick-link:hover,
:root[data-theme="dark"] .theme-toggle:hover {
  background: rgba(208, 131, 85, 0.16) !important;
  color: #ffd4a8 !important;
}
:root[data-theme="dark"] .main-nav {
  background: rgba(22, 28, 34, 0.92) !important;
  border-top-color: rgba(230, 203, 171, 0.12) !important;
  border-bottom: 1px solid rgba(230, 203, 171, 0.12) !important;
}
:root[data-theme="dark"] .nav-list a {
  color: #eadfce !important;
}
:root[data-theme="dark"] .nav-list a:hover {
  background: rgba(208, 131, 85, 0.14) !important;
  color: #ffd1a0 !important;
}
:root[data-theme="dark"] .search-box {
  background: rgba(12, 17, 22, 0.78) !important;
  border-color: rgba(230, 203, 171, 0.24) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03) !important;
}
:root[data-theme="dark"] .search-box input,
:root[data-theme="dark"] .search-box button {
  color: #f1e7d8 !important;
}
:root[data-theme="dark"] .search-box input::placeholder { color: #988e82 !important; }
:root[data-theme="dark"] .nav-menu-button {
  background: rgba(255, 247, 236, 0.07) !important;
  color: #f1e7d8 !important;
  border-color: rgba(230, 203, 171, 0.22) !important;
}

:root[data-theme="dark"] .card,
:root[data-theme="dark"] .article-card[data-article-card],
:root[data-theme="dark"] .post-list-section,
:root[data-theme="dark"] .list-header,
:root[data-theme="dark"] .tag-page,
:root[data-theme="dark"] .guest-page,
:root[data-theme="dark"] .side-card,
:root[data-theme="dark"] .toc-card,
:root[data-theme="dark"] .profile-card,
:root[data-theme="dark"] .category-card,
:root[data-theme="dark"] .post-card,
:root[data-theme="dark"] .related-posts,
:root[data-theme="dark"] .comment-area,
:root[data-theme="dark"] .article-nav a,
:root[data-theme="dark"] .article-tags {
  background: rgba(24, 31, 38, 0.94) !important;
  border-color: rgba(230, 203, 171, 0.16) !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28) !important;
  color: var(--text) !important;
}
:root[data-theme="dark"] .post-card,
:root[data-theme="dark"] .related-posts li a,
:root[data-theme="dark"] .article-nav a,
:root[data-theme="dark"] .popular-thumb,
:root[data-theme="dark"] .related-thumb,
:root[data-theme="dark"] .post-thumb {
  background-color: #1c242c !important;
  border-color: rgba(230, 203, 171, 0.15) !important;
}
:root[data-theme="dark"] .section-heading a,
:root[data-theme="dark"] .list-header strong,
:root[data-theme="dark"] .article-category,
:root[data-theme="dark"] .article-tags a:hover,
:root[data-theme="dark"] .tag-cloud a:hover,
:root[data-theme="dark"] .toc-card a.is-active,
:root[data-theme="dark"] .tistory-category a:hover,
:root[data-theme="dark"] .tistory-category .c_cnt,
:root[data-theme="dark"] .tistory-category .count {
  color: #f0ae7b !important;
}
:root[data-theme="dark"] .post-body p,
:root[data-theme="dark"] .post-meta,
:root[data-theme="dark"] .profile-card p,
:root[data-theme="dark"] .side-list time,
:root[data-theme="dark"] .comment-list span,
:root[data-theme="dark"] .comment-list a,
:root[data-theme="dark"] .toc-card ol,
:root[data-theme="dark"] .toc-card a,
:root[data-theme="dark"] .article-meta,
:root[data-theme="dark"] .related-text time {
  color: #c6baaa !important;
}
:root[data-theme="dark"] .article-tags a,
:root[data-theme="dark"] .tag-cloud a,
:root[data-theme="dark"] .paging a,
:root[data-theme="dark"] .paging .num {
  background: rgba(255, 247, 236, 0.06) !important;
  border-color: rgba(230, 203, 171, 0.18) !important;
  color: #d4c7b6 !important;
}
:root[data-theme="dark"] .paging .selected,
:root[data-theme="dark"] .paging a:hover {
  background: rgba(208, 131, 85, 0.18) !important;
  color: #ffd0a0 !important;
}

/* 글 상세 상단 배너: 다크모드에서는 제목 박스를 어두운 유리판으로 변경 */
:root[data-theme="dark"] .article-card[data-article-card] .article-header.article-hero {
  border-color: rgba(230, 203, 171, 0.18) !important;
  background-color: #1a2229 !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32) !important;
}
:root[data-theme="dark"] .article-card[data-article-card] .article-header.article-hero::before {
  background:
    linear-gradient(90deg, rgba(9, 14, 18, 0.24) 0%, rgba(9, 14, 18, 0.10) 54%, rgba(9, 14, 18, 0.00) 100%),
    linear-gradient(180deg, rgba(9, 14, 18, 0.10), rgba(9, 14, 18, 0.22)) !important;
}
:root[data-theme="dark"] .article-card[data-article-card] .article-header-content {
  background: rgba(13, 18, 24, 0.70) !important;
  border: 1px solid rgba(255, 242, 221, 0.16) !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.30) !important;
  backdrop-filter: blur(10px) saturate(110%) !important;
}
:root[data-theme="dark"] .article-card[data-article-card] .article-hero h1,
:root[data-theme="dark"] .article-card[data-article-card] .article-hero h1 a {
  color: #fff4e3 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.46) !important;
}
:root[data-theme="dark"] .article-card[data-article-card] .article-hero .article-category,
:root[data-theme="dark"] .article-card[data-article-card] .article-hero .article-category a {
  background: rgba(208, 131, 85, 0.22) !important;
  color: #ffd1a0 !important;
  border-color: rgba(208, 131, 85, 0.28) !important;
}
:root[data-theme="dark"] .article-card[data-article-card] .article-hero .article-meta {
  color: #d4c4ae !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.42) !important;
}

/* 본문 */
:root[data-theme="dark"] .article-body,
:root[data-theme="dark"] .article-body p,
:root[data-theme="dark"] .article-body li {
  color: #eadfce !important;
}
:root[data-theme="dark"] .article-body h2,
:root[data-theme="dark"] .article-body h3,
:root[data-theme="dark"] .article-body h4 {
  color: #fff1dc !important;
}
:root[data-theme="dark"] .article-body blockquote,
:root[data-theme="dark"] .article-body .quote {
  background: rgba(255, 247, 236, 0.06) !important;
  border-color: rgba(208, 131, 85, 0.56) !important;
  color: #d7caba !important;
}
:root[data-theme="dark"] .article-body table,
:root[data-theme="dark"] .article-body th,
:root[data-theme="dark"] .article-body td {
  border-color: rgba(230, 203, 171, 0.18) !important;
}
:root[data-theme="dark"] .article-body th {
  background: rgba(255, 247, 236, 0.07) !important;
  color: #fff0da !important;
}
:root[data-theme="dark"] .article-body code:not(pre code) {
  background: rgba(208, 131, 85, 0.16) !important;
  color: #ffd1a0 !important;
  border-color: rgba(208, 131, 85, 0.28) !important;
}
:root[data-theme="dark"] .article-body pre,
:root[data-theme="dark"] .article-body .tt_article_useless_p_margin pre,
:root[data-theme="dark"] .article-body div[data-ke-type='moreLess'] pre {
  background: #101823 !important;
  color: #e9f0f8 !important;
  border-color: rgba(230, 203, 171, 0.14) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025), 0 18px 34px rgba(0,0,0,0.30) !important;
}

/* 광고/외부 삽입 영역이 흰 박스로 뜨는 경우 최소 보정 */
:root[data-theme="dark"] iframe,
:root[data-theme="dark"] ins,
:root[data-theme="dark"] .adsbygoogle,
:root[data-theme="dark"] [class*="adfit"],
:root[data-theme="dark"] [id*="adfit"] {
  color-scheme: light;
}

/* 댓글: 다크모드 전용 색상 */
:root[data-theme="dark"] #tt-body-page .comment-area[data-comment-area] {
  --comment-navy: #fff0dc;
  --comment-text: #eadfce;
  --comment-muted: #c3b4a2;
  --comment-accent: #d08355;
  --comment-accent-dark: #f0ae7b;
  --comment-sage: #a6bb83;
  background:
    radial-gradient(circle at 12% 8%, rgba(208, 131, 85, 0.08), transparent 31%),
    radial-gradient(circle at 92% 0%, rgba(166, 187, 131, 0.05), transparent 28%),
    linear-gradient(145deg, rgba(24, 31, 38, 0.97), rgba(18, 24, 30, 0.94)) !important;
  border-color: rgba(230, 203, 171, 0.18) !important;
}
:root[data-theme="dark"] #tt-body-page .comment-heading h2,
:root[data-theme="dark"] #tt-body-page .comment-heading .comment-title,
:root[data-theme="dark"] #tt-body-page .comment-count-badge {
  color: #fff0dc !important;
}
:root[data-theme="dark"] #tt-body-page .comment-count-badge {
  background: rgba(208, 131, 85, 0.16) !important;
  border-color: rgba(208, 131, 85, 0.34) !important;
  color: #ffd0a0 !important;
}
:root[data-theme="dark"] #tt-body-page .comment-card {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 242, 221, 0.045), transparent 34%),
    linear-gradient(145deg, rgba(29, 37, 45, 0.96), rgba(21, 28, 35, 0.96)) !important;
  border-color: rgba(230, 203, 171, 0.18) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26) !important;
}
:root[data-theme="dark"] #tt-body-page .comment-item.is-secret .comment-card,
:root[data-theme="dark"] #tt-body-page .comment-item.rp_secret .comment-card,
:root[data-theme="dark"] #tt-body-page .comment-item.secret .comment-card,
:root[data-theme="dark"] #tt-body-page .comment-item[class*="secret"] .comment-card,
:root[data-theme="dark"] #tt-body-page .comment-item[class*="private"] .comment-card {
  background:
    radial-gradient(circle at 0% 0%, rgba(208, 131, 85, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(32, 37, 43, 0.98), rgba(26, 31, 37, 0.96)) !important;
  border-color: rgba(208, 131, 85, 0.34) !important;
}
:root[data-theme="dark"] #tt-body-page .comment-author,
:root[data-theme="dark"] #tt-body-page .comment-content {
  color: #eadfce !important;
}
:root[data-theme="dark"] #tt-body-page .comment-date {
  background: rgba(255, 247, 236, 0.07) !important;
  color: #cdbda9 !important;
}
:root[data-theme="dark"] #tt-body-page .comment-author .profile,
:root[data-theme="dark"] #tt-body-page .comment-author [class*="profile"],
:root[data-theme="dark"] #tt-body-page .comment-author [class*="PROFILE"] {
  background: rgba(166, 187, 131, 0.12) !important;
  border-color: rgba(166, 187, 131, 0.24) !important;
  color: #bed19f !important;
}
:root[data-theme="dark"] #tt-body-page .comment-avatar {
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.75) 0 18%, transparent 19%),
    linear-gradient(145deg, #677d57, #b86f4e) !important;
  box-shadow: inset 0 0 0 3px rgba(255, 242, 221, 0.16), 0 8px 20px rgba(0,0,0,0.32) !important;
}
:root[data-theme="dark"] #tt-body-page .comment-state-public {
  background: linear-gradient(135deg, rgba(166, 187, 131, 0.16), rgba(39, 50, 42, 0.88)) !important;
  border-color: rgba(166, 187, 131, 0.28) !important;
  color: #c7d9aa !important;
}
:root[data-theme="dark"] #tt-body-page .comment-state-secret {
  background: linear-gradient(135deg, rgba(208, 131, 85, 0.18), rgba(44, 34, 28, 0.90)) !important;
  border-color: rgba(208, 131, 85, 0.34) !important;
  color: #ffd0a0 !important;
}
:root[data-theme="dark"] #tt-body-page .comment-permalink,
:root[data-theme="dark"] #tt-body-page .comment-action {
  background: rgba(255, 247, 236, 0.06) !important;
  border-color: rgba(230, 203, 171, 0.18) !important;
  color: #f0ae7b !important;
}
:root[data-theme="dark"] #tt-body-page .article-comment-form {
  background:
    radial-gradient(circle at 100% 0%, rgba(208, 131, 85, 0.08), transparent 30%),
    rgba(19, 25, 31, 0.86) !important;
  border-color: rgba(230, 203, 171, 0.17) !important;
}
:root[data-theme="dark"] #tt-body-page .article-comment-form label,
:root[data-theme="dark"] #tt-body-page .article-comment-form label > span:not(.comment-secret-text),
:root[data-theme="dark"] #tt-body-page .comment-secret-option {
  color: #eadfce !important;
}
:root[data-theme="dark"] #tt-body-page .comment-secret-option {
  background: rgba(255, 247, 236, 0.06) !important;
  border-color: rgba(230, 203, 171, 0.20) !important;
}
:root[data-theme="dark"] #tt-body-page .comment-secret-option:hover {
  background: rgba(208, 131, 85, 0.12) !important;
  border-color: rgba(208, 131, 85, 0.34) !important;
}
:root[data-theme="dark"] #tt-body-page .comment-secret-option input {
  background: #111820 !important;
  border-color: rgba(230, 203, 171, 0.38) !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.22) !important;
}
:root[data-theme="dark"] #tt-body-page .comment-area[data-comment-area] textarea,
:root[data-theme="dark"] #tt-body-page .comment-area[data-comment-area] input[type="text"],
:root[data-theme="dark"] #tt-body-page .comment-area[data-comment-area] input[type="password"],
:root[data-theme="dark"] #tt-body-page .comment-area[data-comment-area] input[type="email"] {
  background: rgba(12, 17, 22, 0.84) !important;
  border-color: rgba(230, 203, 171, 0.20) !important;
  color: #f1e7d8 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.025) !important;
}
:root[data-theme="dark"] #tt-body-page .comment-area[data-comment-area] textarea::placeholder,
:root[data-theme="dark"] #tt-body-page .comment-area[data-comment-area] input::placeholder {
  color: #938779 !important;
}
:root[data-theme="dark"] #tt-body-page .comment-area[data-comment-area] textarea:focus,
:root[data-theme="dark"] #tt-body-page .comment-area[data-comment-area] input[type="text"]:focus,
:root[data-theme="dark"] #tt-body-page .comment-area[data-comment-area] input[type="password"]:focus,
:root[data-theme="dark"] #tt-body-page .comment-area[data-comment-area] input[type="email"]:focus {
  border-color: rgba(208, 131, 85, 0.54) !important;
  box-shadow: 0 0 0 4px rgba(208, 131, 85, 0.12), inset 0 1px 0 rgba(255,255,255,0.03) !important;
}
:root[data-theme="dark"] #tt-body-page .comment-submit {
  background: linear-gradient(135deg, #c67648, #e09863) !important;
  color: #111820 !important;
  box-shadow: 0 12px 26px rgba(208, 131, 85, 0.20) !important;
}

:root[data-theme="dark"] .site-footer {
  background: rgba(12, 17, 22, 0.72) !important;
  border-top-color: rgba(230, 203, 171, 0.14) !important;
}
:root[data-theme="dark"] .footer-inner { color: #c6b8a6 !important; }
:root[data-theme="dark"] .back-to-top {
  background: #f0ae7b !important;
  color: #10161c !important;
}


/* v37: 티스토리 메뉴 설정 연동 */
.main-nav .nav-list > ul { width: 100%; }
.main-nav .nav-list .t_menu_home a,
.main-nav .nav-list .t_menu_category a,
.main-nav .nav-list .t_menu_page a,
.main-nav .nav-list .t_menu_link a,
.main-nav .nav-list .t_menu_tag a,
.main-nav .nav-list .t_menu_guestbook a,
.main-nav .nav-list .t_menu_medialog a,
.main-nav .nav-list .t_menu_location a { text-decoration: none; }
@media (max-width: 760px) {
  .main-nav .nav-list > ul { align-items: flex-start; }
  .main-nav .nav-list a { min-height: 36px; padding: 0 11px; font-size: 14px; }
}


/* v1.38: 본문 하단 블로그 소개글 / 티스토리 프로필 카드 디자인 보정 */
#tt-body-page .article-body .tt_box_namecard,
#tt-body-page .article-body [class*="namecard"],
#tt-body-page .article-body [class*="Namecard"],
#tt-body-page .article-body [class*="blog_profile"],
#tt-body-page .article-body [class*="blogProfile"],
#tt-body-page .article-body [class*="post_profile"],
#tt-body-page .article-body [class*="postProfile"],
#tt-body-page .article-card .tt_box_namecard,
#tt-body-page .article-card [class*="namecard"] {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: clamp(16px, 2vw, 26px) !important;
  width: auto !important;
  max-width: none !important;
  margin: 34px 0 38px !important;
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3.2vw, 36px) !important;
  border: 1px solid rgba(216, 185, 143, 0.52) !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 6% 12%, rgba(199, 125, 62, 0.09), transparent 30%),
    radial-gradient(circle at 96% 18%, rgba(113, 135, 99, 0.10), transparent 26%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(255, 247, 235, 0.92)) !important;
  box-shadow: 0 18px 42px rgba(90, 58, 30, 0.10) !important;
  overflow: hidden !important;
  color: var(--text) !important;
}

#tt-body-page .article-body .tt_box_namecard::before,
#tt-body-page .article-body [class*="namecard"]::before,
#tt-body-page .article-card .tt_box_namecard::before,
#tt-body-page .article-card [class*="namecard"]::before {
  content: "리직 노트" !important;
  position: absolute !important;
  top: 16px !important;
  left: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  background: rgba(199, 125, 62, 0.12) !important;
  color: var(--accent-dark) !important;
  border: 1px solid rgba(199, 125, 62, 0.18) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
  line-height: 1 !important;
}

#tt-body-page .article-body .tt_box_namecard > *,
#tt-body-page .article-body [class*="namecard"] > *,
#tt-body-page .article-card .tt_box_namecard > *,
#tt-body-page .article-card [class*="namecard"] > * {
  position: relative !important;
  z-index: 1 !important;
}

#tt-body-page .article-body .tt_box_namecard strong,
#tt-body-page .article-body .tt_box_namecard b,
#tt-body-page .article-body .tt_box_namecard .tt_tit_profile,
#tt-body-page .article-body .tt_box_namecard [class*="tit"],
#tt-body-page .article-body [class*="namecard"] strong,
#tt-body-page .article-body [class*="namecard"] b,
#tt-body-page .article-body [class*="namecard"] [class*="tit"],
#tt-body-page .article-card .tt_box_namecard strong,
#tt-body-page .article-card [class*="namecard"] strong {
  display: block !important;
  margin: 10px 0 8px !important;
  color: var(--text) !important;
  font-family: Georgia, "Noto Serif KR", serif !important;
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.055em !important;
}

#tt-body-page .article-body .tt_box_namecard p,
#tt-body-page .article-body .tt_box_namecard .tt_desc_profile,
#tt-body-page .article-body .tt_box_namecard [class*="desc"],
#tt-body-page .article-body [class*="namecard"] p,
#tt-body-page .article-body [class*="namecard"] [class*="desc"],
#tt-body-page .article-card .tt_box_namecard p,
#tt-body-page .article-card [class*="namecard"] p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.78 !important;
  letter-spacing: -0.035em !important;
  word-break: keep-all !important;
}

#tt-body-page .article-body .tt_box_namecard img,
#tt-body-page .article-body [class*="namecard"] img,
#tt-body-page .article-card .tt_box_namecard img,
#tt-body-page .article-card [class*="namecard"] img,
#tt-body-page .article-body .tt_box_namecard [class*="img"],
#tt-body-page .article-body [class*="namecard"] [class*="img"] {
  width: clamp(64px, 8vw, 88px) !important;
  height: clamp(64px, 8vw, 88px) !important;
  min-width: clamp(64px, 8vw, 88px) !important;
  object-fit: cover !important;
  border-radius: 20px !important;
  margin: 0 !important;
  border: 1px solid rgba(216, 185, 143, 0.55) !important;
  box-shadow: 0 10px 24px rgba(90, 58, 30, 0.12) !important;
  background: #fff7eb !important;
}

#tt-body-page .article-body .tt_box_namecard a,
#tt-body-page .article-body [class*="namecard"] a,
#tt-body-page .article-card .tt_box_namecard a,
#tt-body-page .article-card [class*="namecard"] a {
  color: inherit !important;
}

#tt-body-page .article-body .tt_box_namecard a:hover,
#tt-body-page .article-body [class*="namecard"] a:hover,
#tt-body-page .article-card .tt_box_namecard a:hover,
#tt-body-page .article-card [class*="namecard"] a:hover {
  color: var(--accent-dark) !important;
}

/* 티스토리 소개 카드가 class 없이 profile 계열로 들어오는 경우 보조 */
#tt-body-page .article-body [class*="profile"]:not(.comment-profile):not(.profile):not(.comment-author):not(.comment-avatar),
#tt-body-page .article-card [class*="profile"]:not(.profile-card):not(.comment-profile):not(.comment-author):not(.comment-avatar) {
  border-radius: 22px;
}

@media (max-width: 760px) {
  #tt-body-page .article-body .tt_box_namecard,
  #tt-body-page .article-body [class*="namecard"],
  #tt-body-page .article-card .tt_box_namecard,
  #tt-body-page .article-card [class*="namecard"] {
    grid-template-columns: 1fr !important;
    padding: 48px 20px 22px !important;
    margin: 28px 0 32px !important;
    border-radius: 22px !important;
  }
  #tt-body-page .article-body .tt_box_namecard::before,
  #tt-body-page .article-body [class*="namecard"]::before,
  #tt-body-page .article-card .tt_box_namecard::before,
  #tt-body-page .article-card [class*="namecard"]::before {
    top: 14px !important;
    left: 18px !important;
  }
  #tt-body-page .article-body .tt_box_namecard img,
  #tt-body-page .article-body [class*="namecard"] img,
  #tt-body-page .article-card .tt_box_namecard img,
  #tt-body-page .article-card [class*="namecard"] img {
    justify-self: start !important;
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
  }
}

:root[data-theme="dark"] #tt-body-page .article-body .tt_box_namecard,
:root[data-theme="dark"] #tt-body-page .article-body [class*="namecard"],
:root[data-theme="dark"] #tt-body-page .article-card .tt_box_namecard,
:root[data-theme="dark"] #tt-body-page .article-card [class*="namecard"] {
  background:
    radial-gradient(circle at 6% 8%, rgba(208, 131, 85, 0.10), transparent 30%),
    radial-gradient(circle at 94% 12%, rgba(166, 187, 131, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(28, 35, 42, 0.97), rgba(21, 27, 33, 0.96)) !important;
  border-color: rgba(230, 203, 171, 0.18) !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.30) !important;
  color: #f3eadf !important;
}

:root[data-theme="dark"] #tt-body-page .article-body .tt_box_namecard::before,
:root[data-theme="dark"] #tt-body-page .article-body [class*="namecard"]::before,
:root[data-theme="dark"] #tt-body-page .article-card .tt_box_namecard::before,
:root[data-theme="dark"] #tt-body-page .article-card [class*="namecard"]::before {
  background: rgba(208, 131, 85, 0.18) !important;
  color: #ffd0a0 !important;
  border-color: rgba(208, 131, 85, 0.30) !important;
}

:root[data-theme="dark"] #tt-body-page .article-body .tt_box_namecard strong,
:root[data-theme="dark"] #tt-body-page .article-body .tt_box_namecard b,
:root[data-theme="dark"] #tt-body-page .article-body .tt_box_namecard .tt_tit_profile,
:root[data-theme="dark"] #tt-body-page .article-body .tt_box_namecard [class*="tit"],
:root[data-theme="dark"] #tt-body-page .article-body [class*="namecard"] strong,
:root[data-theme="dark"] #tt-body-page .article-body [class*="namecard"] b,
:root[data-theme="dark"] #tt-body-page .article-body [class*="namecard"] [class*="tit"],
:root[data-theme="dark"] #tt-body-page .article-card .tt_box_namecard strong,
:root[data-theme="dark"] #tt-body-page .article-card [class*="namecard"] strong {
  color: #fff1dc !important;
}

:root[data-theme="dark"] #tt-body-page .article-body .tt_box_namecard p,
:root[data-theme="dark"] #tt-body-page .article-body .tt_box_namecard .tt_desc_profile,
:root[data-theme="dark"] #tt-body-page .article-body .tt_box_namecard [class*="desc"],
:root[data-theme="dark"] #tt-body-page .article-body [class*="namecard"] p,
:root[data-theme="dark"] #tt-body-page .article-body [class*="namecard"] [class*="desc"],
:root[data-theme="dark"] #tt-body-page .article-card .tt_box_namecard p,
:root[data-theme="dark"] #tt-body-page .article-card [class*="namecard"] p {
  color: #cfc2b0 !important;
}

:root[data-theme="dark"] #tt-body-page .article-body .tt_box_namecard img,
:root[data-theme="dark"] #tt-body-page .article-body [class*="namecard"] img,
:root[data-theme="dark"] #tt-body-page .article-card .tt_box_namecard img,
:root[data-theme="dark"] #tt-body-page .article-card [class*="namecard"] img,
:root[data-theme="dark"] #tt-body-page .article-body .tt_box_namecard [class*="img"],
:root[data-theme="dark"] #tt-body-page .article-body [class*="namecard"] [class*="img"] {
  border-color: rgba(230, 203, 171, 0.24) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.34) !important;
  background: rgba(255, 247, 236, 0.06) !important;
}


/* v1.39: 본문 테이블·인용문 스킨 분위기 개선 */
.article-body .lizic-table-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 30px 0 34px;
  overflow-x: auto;
  border: 1px solid rgba(198, 148, 91, 0.26);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(255, 247, 237, 0.88));
  box-shadow: 0 18px 44px rgba(115, 77, 38, 0.08);
  -webkit-overflow-scrolling: touch;
}
.article-body .lizic-table-wrap::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #c46f4b, #d9a45e, #829369);
  opacity: 0.95;
  pointer-events: none;
}
.article-body table.lizic-table,
.article-body .lizic-table-wrap > table {
  width: 100%;
  min-width: 620px;
  margin: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 22px;
  background: transparent;
  font-size: 15px;
  line-height: 1.75;
}
.article-body table.lizic-table caption {
  padding: 16px 18px 0;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}
.article-body table.lizic-table th,
.article-body table.lizic-table td,
.article-body .lizic-table-wrap > table th,
.article-body .lizic-table-wrap > table td {
  padding: 15px 17px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(198, 148, 91, 0.18) !important;
  vertical-align: top;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.article-body table.lizic-table thead th,
.article-body table.lizic-table tr:first-child th,
.article-body table.lizic-table.lizic-table-first-row-header tr:first-child td,
.article-body .lizic-table-wrap > table thead th,
.article-body .lizic-table-wrap > table tr:first-child th {
  background:
    linear-gradient(180deg, rgba(248, 229, 205, 0.98), rgba(243, 216, 184, 0.86)) !important;
  color: #6f3d1f !important;
  font-weight: 900;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.article-body table.lizic-table tbody tr:nth-child(even),
.article-body .lizic-table-wrap > table tbody tr:nth-child(even) {
  background: rgba(255, 250, 243, 0.72);
}
.article-body table.lizic-table tbody tr:hover,
.article-body .lizic-table-wrap > table tbody tr:hover {
  background: rgba(255, 239, 218, 0.82);
}
.article-body table.lizic-table tr:last-child th,
.article-body table.lizic-table tr:last-child td,
.article-body .lizic-table-wrap > table tr:last-child th,
.article-body .lizic-table-wrap > table tr:last-child td {
  border-bottom: 0 !important;
}
.article-body .lizic-table-note {
  margin-top: -18px;
  margin-bottom: 26px;
  color: var(--faint);
  font-size: 12px;
  text-align: right;
}

.article-body blockquote,
.article-body .lizic-quote-box,
.article-body .tt_article_useless_p_margin blockquote {
  position: relative;
  margin: 30px 0 34px !important;
  padding: 24px 26px 24px 30px !important;
  border: 1px solid rgba(198, 148, 91, 0.28) !important;
  border-left: 7px solid #c46f4b !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(215, 151, 92, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 252, 247, 0.98), rgba(255, 244, 229, 0.90)) !important;
  color: #344154 !important;
  box-shadow: 0 18px 42px rgba(115, 77, 38, 0.08) !important;
  line-height: 1.85;
}
.article-body blockquote::before,
.article-body .lizic-quote-box::before {
  content: "“";
  position: absolute;
  top: 8px;
  right: 22px;
  color: rgba(196, 111, 75, 0.18);
  font-family: Georgia, serif;
  font-size: 58px;
  line-height: 1;
  pointer-events: none;
}
.article-body blockquote p,
.article-body .lizic-quote-box p {
  margin: 0.4em 0 !important;
  color: inherit !important;
}
.article-body .lizic-quote-title,
.article-body .lizic-info-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(196, 111, 75, 0.12);
  color: #9a552e;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.article-body .lizic-info-title::before {
  content: "i";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #c46f4b;
  color: #fff7ed;
  font-family: Georgia, serif;
  font-weight: 900;
  font-size: 12px;
}
.article-body .lizic-info-box {
  border-left-color: #829369 !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(130, 147, 105, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 252, 247, 0.98), rgba(246, 242, 226, 0.92)) !important;
}
.article-body .lizic-info-box::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(130,147,105,0.18), rgba(196,111,75,0.10));
  box-shadow: inset 0 0 0 1px rgba(130,147,105,0.22);
}
.article-body .lizic-info-box p {
  display: grid;
  grid-template-columns: minmax(94px, max-content) 1fr;
  gap: 10px;
  margin: 0.36em 0 !important;
}
.article-body .lizic-info-box p strong:first-child,
.article-body .lizic-info-box .lizic-info-row strong:first-child {
  color: #6e7f54;
  font-weight: 950;
  letter-spacing: -0.035em;
}
.article-body .lizic-info-box .lizic-info-row {
  word-break: keep-all;
}
.article-body .lizic-summary-quote {
  border-left-color: #d9a45e !important;
}

@media (max-width: 760px) {
  .article-body .lizic-table-wrap {
    margin: 24px -2px 28px;
    border-radius: 18px;
  }
  .article-body table.lizic-table,
  .article-body .lizic-table-wrap > table {
    min-width: 560px;
    font-size: 13.5px;
  }
  .article-body table.lizic-table th,
  .article-body table.lizic-table td,
  .article-body .lizic-table-wrap > table th,
  .article-body .lizic-table-wrap > table td {
    padding: 12px 13px !important;
  }
  .article-body blockquote,
  .article-body .lizic-quote-box,
  .article-body .tt_article_useless_p_margin blockquote {
    margin: 24px 0 28px !important;
    padding: 21px 18px 22px 22px !important;
    border-radius: 20px !important;
    font-size: 15px;
  }
  .article-body .lizic-info-box p {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

:root[data-theme="dark"] .article-body .lizic-table-wrap {
  border-color: rgba(230, 203, 171, 0.18);
  background:
    linear-gradient(180deg, rgba(31, 40, 48, 0.96), rgba(24, 31, 38, 0.94));
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
}
:root[data-theme="dark"] .article-body table.lizic-table,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table {
  color: #eadfce;
}
:root[data-theme="dark"] .article-body table.lizic-table th,
:root[data-theme="dark"] .article-body table.lizic-table td,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table th,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table td {
  border-bottom-color: rgba(230, 203, 171, 0.14) !important;
}
:root[data-theme="dark"] .article-body table.lizic-table thead th,
:root[data-theme="dark"] .article-body table.lizic-table tr:first-child th,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table thead th,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table tr:first-child th {
  background: linear-gradient(180deg, rgba(208, 131, 85, 0.24), rgba(130, 147, 105, 0.16)) !important;
  color: #ffd9ae !important;
}
:root[data-theme="dark"] .article-body table.lizic-table tbody tr:nth-child(even),
:root[data-theme="dark"] .article-body .lizic-table-wrap > table tbody tr:nth-child(even) {
  background: rgba(255, 247, 236, 0.035);
}
:root[data-theme="dark"] .article-body table.lizic-table tbody tr:hover,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table tbody tr:hover {
  background: rgba(208, 131, 85, 0.10);
}
:root[data-theme="dark"] .article-body blockquote,
:root[data-theme="dark"] .article-body .lizic-quote-box,
:root[data-theme="dark"] .article-body .tt_article_useless_p_margin blockquote {
  border-color: rgba(230, 203, 171, 0.18) !important;
  border-left-color: #d08355 !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(208, 131, 85, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(31, 40, 48, 0.98), rgba(22, 29, 36, 0.94)) !important;
  color: #eadfce !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34) !important;
}
:root[data-theme="dark"] .article-body .lizic-info-box {
  border-left-color: #9daf76 !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(157, 175, 118, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(31, 40, 48, 0.98), rgba(22, 29, 36, 0.94)) !important;
}
:root[data-theme="dark"] .article-body .lizic-quote-title,
:root[data-theme="dark"] .article-body .lizic-info-title {
  background: rgba(208, 131, 85, 0.16);
  color: #ffd1a0;
}
:root[data-theme="dark"] .article-body .lizic-info-box p strong:first-child,
:root[data-theme="dark"] .article-body .lizic-info-box .lizic-info-row strong:first-child {
  color: #c8d59a;
}

/* v1.41: 본문 표 정렬·색상 재정리 */
.article-body .lizic-table-wrap {
  border-color: rgba(195, 140, 78, 0.28) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(214, 151, 84, 0.10), transparent 34%),
    linear-gradient(180deg, #fffaf2 0%, #fff7ed 100%) !important;
  box-shadow: 0 18px 44px rgba(91, 60, 28, 0.075) !important;
}
.article-body .lizic-table-wrap::before {
  height: 5px !important;
  background: linear-gradient(90deg, #c46f4b 0%, #d7a45d 55%, #819368 100%) !important;
}
.article-body table.lizic-table,
.article-body .lizic-table-wrap > table {
  table-layout: fixed !important;
  color: #17304c !important;
  background: #fffaf3 !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}
.article-body table.lizic-table.lizic-table-cols-2 th:first-child,
.article-body table.lizic-table.lizic-table-cols-2 td:first-child,
.article-body .lizic-table-wrap > table.lizic-table-cols-2 th:first-child,
.article-body .lizic-table-wrap > table.lizic-table-cols-2 td:first-child {
  width: var(--lizic-first-col-width, 26%) !important;
}
.article-body table.lizic-table.lizic-table-cols-3 th:first-child,
.article-body table.lizic-table.lizic-table-cols-3 td:first-child,
.article-body .lizic-table-wrap > table.lizic-table-cols-3 th:first-child,
.article-body .lizic-table-wrap > table.lizic-table-cols-3 td:first-child {
  width: var(--lizic-first-col-width, 24%) !important;
}
.article-body table.lizic-table th,
.article-body table.lizic-table td,
.article-body .lizic-table-wrap > table th,
.article-body .lizic-table-wrap > table td {
  padding: 16px 18px !important;
  border-right: 1px solid rgba(195, 140, 78, 0.13) !important;
  border-bottom: 1px solid rgba(195, 140, 78, 0.16) !important;
  color: #17304c !important;
  text-align: left !important;
  vertical-align: middle !important;
  background: transparent !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}
.article-body table.lizic-table th:last-child,
.article-body table.lizic-table td:last-child,
.article-body .lizic-table-wrap > table th:last-child,
.article-body .lizic-table-wrap > table td:last-child {
  border-right: 0 !important;
}
.article-body table.lizic-table thead th,
.article-body table.lizic-table tr:first-child th,
.article-body table.lizic-table.lizic-table-first-row-header tr:first-child th,
.article-body table.lizic-table.lizic-table-first-row-header tr:first-child td,
.article-body .lizic-table-wrap > table thead th,
.article-body .lizic-table-wrap > table tr:first-child th {
  background: linear-gradient(180deg, #f7dfbd 0%, #f1d2a6 100%) !important;
  color: #6f3d1f !important;
  text-align: center !important;
  vertical-align: middle !important;
  font-weight: 950 !important;
  letter-spacing: -0.035em !important;
}
.article-body table.lizic-table tbody th,
.article-body .lizic-table-wrap > table tbody th,
.article-body table.lizic-table tbody td:first-child,
.article-body .lizic-table-wrap > table tbody td:first-child {
  background: rgba(255, 243, 225, 0.82) !important;
  color: #24405c !important;
  font-weight: 850 !important;
  text-align: left !important;
}
.article-body table.lizic-table tbody td:not(:first-child),
.article-body .lizic-table-wrap > table tbody td:not(:first-child) {
  color: #25364a !important;
}
.article-body table.lizic-table tbody tr:nth-child(odd),
.article-body .lizic-table-wrap > table tbody tr:nth-child(odd) {
  background: #fffaf3 !important;
}
.article-body table.lizic-table tbody tr:nth-child(even),
.article-body .lizic-table-wrap > table tbody tr:nth-child(even) {
  background: #fff5e8 !important;
}
.article-body table.lizic-table tbody tr:hover,
.article-body .lizic-table-wrap > table tbody tr:hover {
  background: #ffefd9 !important;
}
.article-body table.lizic-table tr:last-child th,
.article-body table.lizic-table tr:last-child td,
.article-body .lizic-table-wrap > table tr:last-child th,
.article-body .lizic-table-wrap > table tr:last-child td {
  border-bottom: 0 !important;
}

@media (max-width: 760px) {
  .article-body .lizic-table-wrap {
    margin: 24px -2px 30px !important;
  }
  .article-body table.lizic-table,
  .article-body .lizic-table-wrap > table {
    min-width: 620px !important;
    font-size: 13.5px !important;
  }
  .article-body table.lizic-table th,
  .article-body table.lizic-table td,
  .article-body .lizic-table-wrap > table th,
  .article-body .lizic-table-wrap > table td {
    padding: 13px 14px !important;
  }
}

:root[data-theme="dark"] .article-body .lizic-table-wrap {
  border-color: rgba(221, 181, 133, 0.20) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(208, 131, 85, 0.12), transparent 34%),
    linear-gradient(180deg, #202931 0%, #182028 100%) !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34) !important;
}
:root[data-theme="dark"] .article-body table.lizic-table,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table {
  color: #eadfce !important;
  background: rgba(24, 32, 40, 0.96) !important;
}
:root[data-theme="dark"] .article-body table.lizic-table th,
:root[data-theme="dark"] .article-body table.lizic-table td,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table th,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table td {
  border-right-color: rgba(230, 203, 171, 0.10) !important;
  border-bottom-color: rgba(230, 203, 171, 0.13) !important;
  color: #eadfce !important;
}
:root[data-theme="dark"] .article-body table.lizic-table thead th,
:root[data-theme="dark"] .article-body table.lizic-table tr:first-child th,
:root[data-theme="dark"] .article-body table.lizic-table.lizic-table-first-row-header tr:first-child th,
:root[data-theme="dark"] .article-body table.lizic-table.lizic-table-first-row-header tr:first-child td,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table thead th,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table tr:first-child th {
  background: linear-gradient(180deg, rgba(208, 131, 85, 0.24), rgba(130, 147, 105, 0.18)) !important;
  color: #ffd9ae !important;
}
:root[data-theme="dark"] .article-body table.lizic-table tbody th,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table tbody th,
:root[data-theme="dark"] .article-body table.lizic-table tbody td:first-child,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table tbody td:first-child {
  background: rgba(208, 131, 85, 0.10) !important;
  color: #f2d8bd !important;
}
:root[data-theme="dark"] .article-body table.lizic-table tbody td:not(:first-child),
:root[data-theme="dark"] .article-body .lizic-table-wrap > table tbody td:not(:first-child) {
  color: #eadfce !important;
}
:root[data-theme="dark"] .article-body table.lizic-table tbody tr:nth-child(odd),
:root[data-theme="dark"] .article-body .lizic-table-wrap > table tbody tr:nth-child(odd) {
  background: rgba(255, 247, 236, 0.025) !important;
}
:root[data-theme="dark"] .article-body table.lizic-table tbody tr:nth-child(even),
:root[data-theme="dark"] .article-body .lizic-table-wrap > table tbody tr:nth-child(even) {
  background: rgba(255, 247, 236, 0.045) !important;
}
:root[data-theme="dark"] .article-body table.lizic-table tbody tr:hover,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table tbody tr:hover {
  background: rgba(208, 131, 85, 0.12) !important;
}

/* v1.42: 상세 상단 배너 4:1 원본 비율 보정 + 표 정렬·색상 최종 정리 */
@media (min-width: 761px) {
  #tt-body-page .article-card[data-article-card] .article-header.article-hero {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 1 !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
  }
  #tt-body-page .article-card[data-article-card] .article-header.article-hero[data-lizic-final-url] {
    background-size: 100% 100% !important;
    background-position: center center !important;
  }
  #tt-body-page .article-card[data-article-card] .article-header-content {
    max-height: calc(100% - 28px) !important;
    overflow: hidden !important;
  }
}

@media (max-width: 760px) {
  #tt-body-page .article-card[data-article-card] .article-header.article-hero {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 7 !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}

/* 표 헤더와 본문을 모두 왼쪽 기준으로 맞추고, 색상은 따뜻한 베이지 톤으로 통일 */
.article-body .lizic-table-wrap {
  border-color: rgba(196, 143, 86, 0.26) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(214, 151, 84, 0.08), transparent 34%),
    linear-gradient(180deg, #fffbf5 0%, #fff7ee 100%) !important;
}
.article-body table.lizic-table,
.article-body .lizic-table-wrap > table {
  color: #172f4b !important;
  background: #fffaf3 !important;
}
.article-body table.lizic-table th,
.article-body table.lizic-table td,
.article-body .lizic-table-wrap > table th,
.article-body .lizic-table-wrap > table td {
  padding: 16px 18px !important;
  text-align: left !important;
  vertical-align: middle !important;
  color: #172f4b !important;
  border-right: 1px solid rgba(196, 143, 86, 0.12) !important;
  border-bottom: 1px solid rgba(196, 143, 86, 0.15) !important;
}
.article-body table.lizic-table thead th,
.article-body table.lizic-table tr:first-child th,
.article-body table.lizic-table.lizic-table-first-row-header tr:first-child th,
.article-body table.lizic-table.lizic-table-first-row-header tr:first-child td,
.article-body .lizic-table-wrap > table thead th,
.article-body .lizic-table-wrap > table tr:first-child th {
  text-align: left !important;
  vertical-align: middle !important;
  background: linear-gradient(180deg, #f6dfbf 0%, #f1d4aa 100%) !important;
  color: #6b3d22 !important;
  font-weight: 950 !important;
  letter-spacing: -0.035em !important;
}
.article-body table.lizic-table tbody th,
.article-body .lizic-table-wrap > table tbody th,
.article-body table.lizic-table tbody td:first-child,
.article-body .lizic-table-wrap > table tbody td:first-child {
  background: rgba(255, 245, 232, 0.72) !important;
  color: #17304c !important;
  font-weight: 850 !important;
}
.article-body table.lizic-table tbody td:not(:first-child),
.article-body .lizic-table-wrap > table tbody td:not(:first-child) {
  color: #24364c !important;
  font-weight: 500 !important;
}
.article-body table.lizic-table tbody tr:nth-child(odd),
.article-body .lizic-table-wrap > table tbody tr:nth-child(odd) {
  background: #fffaf3 !important;
}
.article-body table.lizic-table tbody tr:nth-child(even),
.article-body .lizic-table-wrap > table tbody tr:nth-child(even) {
  background: #fff6eb !important;
}
.article-body table.lizic-table tbody tr:hover,
.article-body .lizic-table-wrap > table tbody tr:hover {
  background: #fff0dc !important;
}

:root[data-theme="dark"] .article-body .lizic-table-wrap {
  border-color: rgba(230, 203, 171, 0.18) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(208, 131, 85, 0.11), transparent 34%),
    linear-gradient(180deg, #202932 0%, #171f27 100%) !important;
}
:root[data-theme="dark"] .article-body table.lizic-table,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table {
  background: rgba(24, 32, 40, 0.96) !important;
  color: #eadfce !important;
}
:root[data-theme="dark"] .article-body table.lizic-table th,
:root[data-theme="dark"] .article-body table.lizic-table td,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table th,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table td {
  color: #eadfce !important;
  border-right-color: rgba(230, 203, 171, 0.10) !important;
  border-bottom-color: rgba(230, 203, 171, 0.13) !important;
}
:root[data-theme="dark"] .article-body table.lizic-table thead th,
:root[data-theme="dark"] .article-body table.lizic-table tr:first-child th,
:root[data-theme="dark"] .article-body table.lizic-table.lizic-table-first-row-header tr:first-child th,
:root[data-theme="dark"] .article-body table.lizic-table.lizic-table-first-row-header tr:first-child td,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table thead th,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table tr:first-child th {
  text-align: left !important;
  background: linear-gradient(180deg, rgba(208, 131, 85, 0.24), rgba(130, 147, 105, 0.18)) !important;
  color: #ffd9ae !important;
}
:root[data-theme="dark"] .article-body table.lizic-table tbody th,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table tbody th,
:root[data-theme="dark"] .article-body table.lizic-table tbody td:first-child,
:root[data-theme="dark"] .article-body .lizic-table-wrap > table tbody td:first-child {
  background: rgba(208, 131, 85, 0.10) !important;
  color: #f2d8bd !important;
}


/* v1.43: 본문 표 칸 높이 컴팩트 보정 */
.article-body .lizic-table-wrap {
  margin: 26px auto 30px !important;
}

.article-body table.lizic-table,
.article-body .lizic-table-wrap > table {
  line-height: 1.52 !important;
}

.article-body table.lizic-table th,
.article-body table.lizic-table td,
.article-body .lizic-table-wrap > table th,
.article-body .lizic-table-wrap > table td {
  padding: 12px 18px !important;
  line-height: 1.52 !important;
  min-height: 0 !important;
  height: auto !important;
  vertical-align: middle !important;
}

.article-body table.lizic-table thead th,
.article-body table.lizic-table tr:first-child th,
.article-body table.lizic-table.lizic-table-first-row-header tr:first-child th,
.article-body table.lizic-table.lizic-table-first-row-header tr:first-child td,
.article-body .lizic-table-wrap > table thead th,
.article-body .lizic-table-wrap > table tr:first-child th {
  padding: 13px 18px !important;
  line-height: 1.42 !important;
}

.article-body table.lizic-table tbody th,
.article-body .lizic-table-wrap > table tbody th,
.article-body table.lizic-table tbody td:first-child,
.article-body .lizic-table-wrap > table tbody td:first-child {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.article-body table.lizic-table tbody td:not(:first-child),
.article-body .lizic-table-wrap > table tbody td:not(:first-child) {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

@media (max-width: 760px) {
  .article-body .lizic-table-wrap {
    margin: 22px -2px 26px !important;
  }
  .article-body table.lizic-table th,
  .article-body table.lizic-table td,
  .article-body .lizic-table-wrap > table th,
  .article-body .lizic-table-wrap > table td {
    padding: 10px 12px !important;
    line-height: 1.45 !important;
  }
  .article-body table.lizic-table thead th,
  .article-body table.lizic-table tr:first-child th,
  .article-body table.lizic-table.lizic-table-first-row-header tr:first-child th,
  .article-body table.lizic-table.lizic-table-first-row-header tr:first-child td,
  .article-body .lizic-table-wrap > table thead th,
  .article-body .lizic-table-wrap > table tr:first-child th {
    padding: 11px 12px !important;
    line-height: 1.4 !important;
  }
}

/* v1.44: 글 상세 상단 배너 제목 맞춤 보정
   - 1920x480 배너 비율은 유지하면서 제목 박스와 글자 크기를 줄여 긴 제목도 자연스럽게 보이게 합니다.
   - 제목 길이에 따라 JS가 붙이는 is-title-long / is-title-xlong 클래스로 추가 축소합니다. */
#tt-body-page .article-card[data-article-card] .article-header.article-hero {
  aspect-ratio: 4 / 1 !important;
  min-height: 0 !important;
  max-height: 360px !important;
  display: flex !important;
  align-items: center !important;
  padding: clamp(18px, 2.2vw, 32px) !important;
  background-size: cover !important;
  background-position: var(--lz-article-bg-pos, center center) !important;
}

#tt-body-page .article-card[data-article-card] .article-header-content {
  box-sizing: border-box !important;
  width: min(64%, 660px) !important;
  max-width: 660px !important;
  padding: clamp(14px, 1.65vw, 22px) clamp(18px, 2.2vw, 28px) !important;
  border-radius: clamp(18px, 1.7vw, 24px) !important;
  background: rgba(255, 250, 243, 0.48) !important;
  backdrop-filter: blur(2px) !important;
}

#tt-body-page .article-card[data-article-card] .article-hero .article-category {
  margin-bottom: clamp(8px, 0.9vw, 12px) !important;
}

#tt-body-page .article-card[data-article-card] .article-hero .article-category a {
  min-height: 28px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
}

#tt-body-page .article-card[data-article-card] .article-hero h1 {
  max-width: 100% !important;
  font-size: clamp(25px, 2.6vw, 40px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.064em !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

#tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1 {
  font-size: clamp(23px, 2.35vw, 34px) !important;
  line-height: 1.14 !important;
}

#tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1 {
  font-size: clamp(21px, 2.05vw, 30px) !important;
  line-height: 1.13 !important;
  letter-spacing: -0.055em !important;
}

#tt-body-page .article-card[data-article-card] .article-hero .article-meta {
  margin-top: clamp(9px, 1vw, 14px) !important;
  font-size: 12px !important;
}

@media (max-width: 1100px) {
  #tt-body-page .article-card[data-article-card] .article-header-content {
    width: min(68%, 620px) !important;
  }
  #tt-body-page .article-card[data-article-card] .article-hero h1 {
    font-size: clamp(24px, 3vw, 36px) !important;
  }
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1 {
    font-size: clamp(22px, 2.7vw, 32px) !important;
  }
}

@media (max-width: 760px) {
  #tt-body-page .article-card[data-article-card] .article-header.article-hero {
    aspect-ratio: 16 / 7 !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 20px 16px 26px !important;
    padding: 18px !important;
  }
  #tt-body-page .article-card[data-article-card] .article-header-content {
    width: min(78%, 440px) !important;
    padding: 16px 17px !important;
    border-radius: 18px !important;
    background: rgba(255, 250, 243, 0.58) !important;
  }
  #tt-body-page .article-card[data-article-card] .article-hero h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1 {
    font-size: clamp(23px, 6.1vw, 32px) !important;
    line-height: 1.14 !important;
  }
  #tt-body-page .article-card[data-article-card] .article-hero .article-meta {
    margin-top: 10px !important;
  }
}

@media (max-width: 480px) {
  #tt-body-page .article-card[data-article-card] .article-header.article-hero {
    aspect-ratio: 16 / 8.5 !important;
    padding: 16px !important;
  }
  #tt-body-page .article-card[data-article-card] .article-header-content {
    width: 88% !important;
  }
  #tt-body-page .article-card[data-article-card] .article-hero h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1 {
    font-size: clamp(22px, 6.6vw, 29px) !important;
  }
}

:root[data-theme="dark"] #tt-body-page .article-card[data-article-card] .article-header-content {
  background: rgba(24, 32, 40, 0.52) !important;
  border-color: rgba(239, 218, 193, 0.16) !important;
}

:root[data-theme="dark"] #tt-body-page .article-card[data-article-card] .article-hero h1 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45) !important;
}


/* v1.45: 상세 상단 배너 제목 표시 안정화
   - 배경 이미지는 1920x480 비율 느낌을 유지하되, 제목 영역이 잘리지 않도록 높이/폰트/박스를 함께 조절합니다.
   - 이전 버전의 max-height/overflow hidden 때문에 긴 제목이 사라지던 문제를 override 합니다. */
#tt-body-page .article-card[data-article-card] .article-header.article-hero {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: auto !important;
  min-height: clamp(220px, 22vw, 280px) !important;
  max-height: none !important;
  aspect-ratio: 4 / 1 !important;
  padding: clamp(18px, 2.2vw, 30px) !important;
  overflow: hidden !important;
  background-size: 100% 100% !important;
  background-position: center center !important;
}
#tt-body-page .article-card[data-article-card] .article-header.article-hero[data-lizic-final-url] {
  background-size: 100% 100% !important;
  background-position: center center !important;
}
#tt-body-page .article-card[data-article-card] .article-header-content {
  box-sizing: border-box !important;
  width: min(78%, 760px) !important;
  max-width: 760px !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  padding: clamp(14px, 1.65vw, 22px) clamp(18px, 2.3vw, 30px) !important;
  border-radius: clamp(18px, 1.8vw, 24px) !important;
  background: rgba(255, 250, 243, 0.58) !important;
  backdrop-filter: blur(2px) !important;
}
#tt-body-page .article-card[data-article-card] .article-hero .article-category {
  margin: 0 0 clamp(7px, 0.8vw, 11px) !important;
}
#tt-body-page .article-card[data-article-card] .article-hero .article-category a {
  min-height: 27px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
}
#tt-body-page .article-card[data-article-card] .article-hero h1,
#tt-body-page .article-card[data-article-card] .article-hero h1 a {
  display: block !important;
  max-width: 100% !important;
  margin: 0 !important;
  font-size: clamp(24px, 2.35vw, 36px) !important;
  line-height: 1.13 !important;
  letter-spacing: -0.058em !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  color: var(--text) !important;
}
#tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1,
#tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1 a {
  font-size: clamp(22px, 2.08vw, 32px) !important;
  line-height: 1.12 !important;
}
#tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1,
#tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1 a {
  font-size: clamp(20px, 1.86vw, 28px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.05em !important;
}
#tt-body-page .article-card[data-article-card] .article-hero.is-title-xxlong h1,
#tt-body-page .article-card[data-article-card] .article-hero.is-title-xxlong h1 a {
  font-size: clamp(18px, 1.65vw, 25px) !important;
  line-height: 1.11 !important;
  letter-spacing: -0.04em !important;
}
#tt-body-page .article-card[data-article-card] .article-hero.is-title-long,
#tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong,
#tt-body-page .article-card[data-article-card] .article-hero.is-title-xxlong {
  min-height: clamp(235px, 24vw, 310px) !important;
}
#tt-body-page .article-card[data-article-card] .article-hero .article-meta {
  margin-top: clamp(8px, 0.9vw, 13px) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

@media (min-width: 761px) and (max-width: 1100px) {
  #tt-body-page .article-card[data-article-card] .article-header.article-hero {
    min-height: clamp(230px, 30vw, 300px) !important;
    padding: clamp(18px, 2.4vw, 26px) !important;
  }
  #tt-body-page .article-card[data-article-card] .article-header-content {
    width: min(82%, 640px) !important;
    padding: 16px 22px !important;
  }
  #tt-body-page .article-card[data-article-card] .article-hero h1,
  #tt-body-page .article-card[data-article-card] .article-hero h1 a {
    font-size: clamp(24px, 3.2vw, 34px) !important;
  }
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1 a {
    font-size: clamp(22px, 2.9vw, 30px) !important;
  }
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1 a,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xxlong h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xxlong h1 a {
    font-size: clamp(20px, 2.55vw, 27px) !important;
  }
}

@media (max-width: 760px) {
  #tt-body-page .article-card[data-article-card] .article-header.article-hero {
    aspect-ratio: 16 / 8 !important;
    min-height: clamp(240px, 58vw, 300px) !important;
    margin: 20px 16px 26px !important;
    padding: 16px !important;
    background-size: 100% 100% !important;
  }
  #tt-body-page .article-card[data-article-card] .article-header-content {
    width: min(92%, 560px) !important;
    padding: 15px 16px !important;
    border-radius: 17px !important;
    background: rgba(255, 250, 243, 0.64) !important;
  }
  #tt-body-page .article-card[data-article-card] .article-hero .article-category a {
    min-height: 25px !important;
    font-size: 11.5px !important;
  }
  #tt-body-page .article-card[data-article-card] .article-hero h1,
  #tt-body-page .article-card[data-article-card] .article-hero h1 a,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1 a,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1 a,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xxlong h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xxlong h1 a {
    font-size: clamp(21px, 5.3vw, 29px) !important;
    line-height: 1.13 !important;
    letter-spacing: -0.046em !important;
  }
  #tt-body-page .article-card[data-article-card] .article-hero .article-meta {
    margin-top: 8px !important;
    font-size: 11.5px !important;
  }
}

@media (max-width: 430px) {
  #tt-body-page .article-card[data-article-card] .article-header.article-hero {
    aspect-ratio: 16 / 9 !important;
    min-height: 236px !important;
    padding: 14px !important;
  }
  #tt-body-page .article-card[data-article-card] .article-header-content {
    width: 94% !important;
    padding: 14px 15px !important;
  }
  #tt-body-page .article-card[data-article-card] .article-hero h1,
  #tt-body-page .article-card[data-article-card] .article-hero h1 a,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1 a,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1 a,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xxlong h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xxlong h1 a {
    font-size: clamp(19px, 5.2vw, 25px) !important;
    line-height: 1.12 !important;
  }
}

:root[data-theme="dark"] #tt-body-page .article-card[data-article-card] .article-header-content {
  background: rgba(24, 32, 40, 0.66) !important;
  border-color: rgba(239, 218, 193, 0.18) !important;
}


/* v1.46: 상세 상단 배너 제목 박스/폰트 최종 보정
   - 1920x480 배너 이미지는 전체가 보이도록 유지합니다.
   - 제목 박스가 카테고리 배지만 담는 것처럼 작아지는 문제를 막기 위해 최소 높이와 너비를 넓힙니다.
   - 긴 제목은 JS가 실제 높이를 측정해 폰트 크기와 배너 높이를 자동 보정합니다. */
#tt-body-page .article-card[data-article-card] .article-header.article-hero {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: clamp(260px, 27vw, 340px) !important;
  max-height: none !important;
  padding: clamp(20px, 2.6vw, 36px) !important;
  overflow: hidden !important;
  background-size: 100% 100% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
#tt-body-page .article-card[data-article-card] .article-header.article-hero[data-lizic-final-url] {
  background-size: 100% 100% !important;
  background-position: center center !important;
}
#tt-body-page .article-card[data-article-card] .article-header-content {
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  width: min(84%, 840px) !important;
  max-width: 840px !important;
  min-height: clamp(132px, 13vw, 190px) !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: clamp(18px, 2vw, 28px) clamp(22px, 2.8vw, 38px) !important;
  border-radius: clamp(18px, 1.8vw, 26px) !important;
  background: rgba(255, 250, 243, 0.68) !important;
  border: 1px solid rgba(255, 255, 255, 0.56) !important;
  box-shadow: 0 18px 44px rgba(57, 44, 28, 0.08) !important;
  backdrop-filter: blur(2.4px) !important;
}
#tt-body-page .article-card[data-article-card] .article-hero .article-category,
#tt-body-page .article-card[data-article-card] .article-hero .article-category a {
  flex: 0 0 auto !important;
  overflow: visible !important;
}
#tt-body-page .article-card[data-article-card] .article-hero .article-category {
  margin: 0 0 clamp(10px, 1vw, 15px) !important;
}
#tt-body-page .article-card[data-article-card] .article-hero .article-category a {
  min-height: 28px !important;
  padding: 0 13px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}
#tt-body-page .article-card[data-article-card] .article-hero h1,
#tt-body-page .article-card[data-article-card] .article-hero h1 a {
  position: static !important;
  transform: none !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--text) !important;
  font-size: var(--lizic-hero-title-fit-size, clamp(25px, 2.65vw, 40px)) !important;
  line-height: var(--lizic-hero-title-fit-line, 1.13) !important;
  letter-spacing: -0.055em !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  text-overflow: clip !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1,
#tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1 a {
  font-size: var(--lizic-hero-title-fit-size, clamp(23px, 2.35vw, 35px)) !important;
}
#tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1,
#tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1 a {
  font-size: var(--lizic-hero-title-fit-size, clamp(21px, 2.08vw, 31px)) !important;
  letter-spacing: -0.048em !important;
}
#tt-body-page .article-card[data-article-card] .article-hero.is-title-xxlong h1,
#tt-body-page .article-card[data-article-card] .article-hero.is-title-xxlong h1 a {
  font-size: var(--lizic-hero-title-fit-size, clamp(19px, 1.86vw, 28px)) !important;
  letter-spacing: -0.042em !important;
}
#tt-body-page .article-card[data-article-card] .article-hero .article-meta {
  flex: 0 0 auto !important;
  margin-top: clamp(10px, 1vw, 14px) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  color: #806850 !important;
}

@media (min-width: 761px) and (max-width: 1100px) {
  #tt-body-page .article-card[data-article-card] .article-header.article-hero {
    min-height: clamp(270px, 34vw, 350px) !important;
    padding: clamp(20px, 2.8vw, 30px) !important;
  }
  #tt-body-page .article-card[data-article-card] .article-header-content {
    width: min(88%, 720px) !important;
    min-height: clamp(138px, 18vw, 205px) !important;
    padding: 18px 24px !important;
  }
  #tt-body-page .article-card[data-article-card] .article-hero h1,
  #tt-body-page .article-card[data-article-card] .article-hero h1 a {
    font-size: var(--lizic-hero-title-fit-size, clamp(24px, 3.25vw, 35px)) !important;
  }
}

@media (max-width: 760px) {
  #tt-body-page .article-card[data-article-card] .article-header.article-hero {
    min-height: clamp(270px, 64vw, 370px) !important;
    margin: 20px 16px 26px !important;
    padding: 16px !important;
    background-size: 100% 100% !important;
  }
  #tt-body-page .article-card[data-article-card] .article-header-content {
    width: 94% !important;
    max-width: none !important;
    min-height: clamp(150px, 38vw, 230px) !important;
    padding: 16px 17px !important;
    border-radius: 18px !important;
    background: rgba(255, 250, 243, 0.70) !important;
  }
  #tt-body-page .article-card[data-article-card] .article-hero h1,
  #tt-body-page .article-card[data-article-card] .article-hero h1 a,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1 a,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1 a,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xxlong h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xxlong h1 a {
    font-size: var(--lizic-hero-title-fit-size, clamp(21px, 5.4vw, 30px)) !important;
    line-height: 1.13 !important;
    letter-spacing: -0.045em !important;
  }
}

@media (max-width: 430px) {
  #tt-body-page .article-card[data-article-card] .article-header.article-hero {
    min-height: 286px !important;
    padding: 14px !important;
  }
  #tt-body-page .article-card[data-article-card] .article-header-content {
    width: 96% !important;
    min-height: 168px !important;
    padding: 15px !important;
  }
  #tt-body-page .article-card[data-article-card] .article-hero h1,
  #tt-body-page .article-card[data-article-card] .article-hero h1 a,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-long h1 a,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xlong h1 a,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xxlong h1,
  #tt-body-page .article-card[data-article-card] .article-hero.is-title-xxlong h1 a {
    font-size: var(--lizic-hero-title-fit-size, clamp(19px, 5vw, 25px)) !important;
    line-height: 1.12 !important;
  }
}

:root[data-theme="dark"] #tt-body-page .article-card[data-article-card] .article-header-content,
body.dark-mode #tt-body-page .article-card[data-article-card] .article-header-content {
  background: rgba(24, 32, 40, 0.74) !important;
  border-color: rgba(239, 218, 193, 0.18) !important;
}
:root[data-theme="dark"] #tt-body-page .article-card[data-article-card] .article-hero h1,
:root[data-theme="dark"] #tt-body-page .article-card[data-article-card] .article-hero h1 a,
body.dark-mode #tt-body-page .article-card[data-article-card] .article-hero h1,
body.dark-mode #tt-body-page .article-card[data-article-card] .article-hero h1 a {
  color: #f5eadc !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48) !important;
}


/* =========================================================
   v1.47 YouTube embed / Shorts responsive block
   - 기본모드에서 HTML iframe으로 넣은 유튜브 영상 스타일
   - 일반 16:9 영상과 Shorts 9:16 영상을 구분해서 사용
   ========================================================= */
.article-content .lizic-video-wrap,
.entry-content .lizic-video-wrap,
.contents_style .lizic-video-wrap,
.article-content .lizic-shorts-wrap,
.entry-content .lizic-shorts-wrap,
.contents_style .lizic-shorts-wrap {
  position: relative;
  margin: clamp(26px, 4vw, 40px) auto;
  overflow: hidden;
  border: 1px solid rgba(211, 166, 115, 0.45);
  background: #111820;
  box-shadow: 0 18px 44px rgba(95, 66, 38, 0.14);
}

.article-content .lizic-video-wrap,
.entry-content .lizic-video-wrap,
.contents_style .lizic-video-wrap {
  width: min(760px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 24px;
}

.article-content .lizic-shorts-wrap,
.entry-content .lizic-shorts-wrap,
.contents_style .lizic-shorts-wrap {
  width: min(380px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 28px;
}

.article-content .lizic-video-wrap iframe,
.entry-content .lizic-video-wrap iframe,
.contents_style .lizic-video-wrap iframe,
.article-content .lizic-shorts-wrap iframe,
.entry-content .lizic-shorts-wrap iframe,
.contents_style .lizic-shorts-wrap iframe,
.article-content .lizic-video-wrap video,
.entry-content .lizic-video-wrap video,
.contents_style .lizic-video-wrap video,
.article-content .lizic-shorts-wrap video,
.entry-content .lizic-shorts-wrap video,
.contents_style .lizic-shorts-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #111820;
}

.article-content .lizic-video-caption,
.entry-content .lizic-video-caption,
.contents_style .lizic-video-caption {
  max-width: 760px;
  margin: -18px auto 34px;
  color: var(--muted, #6f6255);
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 760px) {
  .article-content .lizic-video-wrap,
  .entry-content .lizic-video-wrap,
  .contents_style .lizic-video-wrap {
    width: 100%;
    border-radius: 18px;
  }

  .article-content .lizic-shorts-wrap,
  .entry-content .lizic-shorts-wrap,
  .contents_style .lizic-shorts-wrap {
    width: min(320px, 92vw);
    border-radius: 22px;
  }
}

html[data-theme="dark"] .article-content .lizic-video-wrap,
html[data-theme="dark"] .entry-content .lizic-video-wrap,
html[data-theme="dark"] .contents_style .lizic-video-wrap,
html[data-theme="dark"] .article-content .lizic-shorts-wrap,
html[data-theme="dark"] .entry-content .lizic-shorts-wrap,
html[data-theme="dark"] .contents_style .lizic-shorts-wrap,
body.dark-mode .article-content .lizic-video-wrap,
body.dark-mode .entry-content .lizic-video-wrap,
body.dark-mode .contents_style .lizic-video-wrap,
body.dark-mode .article-content .lizic-shorts-wrap,
body.dark-mode .entry-content .lizic-shorts-wrap,
body.dark-mode .contents_style .lizic-shorts-wrap {
  border-color: rgba(211, 166, 115, 0.28);
  background: #0f151d;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .article-content .lizic-video-caption,
html[data-theme="dark"] .entry-content .lizic-video-caption,
html[data-theme="dark"] .contents_style .lizic-video-caption,
body.dark-mode .article-content .lizic-video-caption,
body.dark-mode .entry-content .lizic-video-caption,
body.dark-mode .contents_style .lizic-video-caption {
  color: rgba(244, 232, 213, 0.72);
}


/* v1.48: 기준 정보 박스 높이/장식 정리 */
.article-body .lizic-info-box,
.article-body blockquote.lizic-info-box,
.article-body .tt_article_useless_p_margin blockquote.lizic-info-box {
  margin: 24px 0 28px !important;
  padding: 18px 22px 18px 26px !important;
  border-left-width: 5px !important;
  border-radius: 20px !important;
  line-height: 1.62 !important;
  box-shadow: 0 14px 34px rgba(115, 77, 38, 0.065) !important;
}
.article-body .lizic-info-box::before,
.article-body blockquote.lizic-info-box::before,
.article-body .tt_article_useless_p_margin blockquote.lizic-info-box::before {
  content: none !important;
  display: none !important;
}
.article-body .lizic-info-title {
  margin: 0 0 10px !important;
  padding: 5px 10px !important;
  font-size: 12.5px !important;
  line-height: 1.25 !important;
}
.article-body .lizic-info-title::before {
  width: 16px !important;
  height: 16px !important;
  font-size: 11px !important;
}
.article-body .lizic-info-box p,
.article-body .lizic-info-box .lizic-info-row {
  grid-template-columns: minmax(86px, max-content) 1fr !important;
  gap: 8px !important;
  margin: 0.18em 0 !important;
  line-height: 1.62 !important;
}
.article-body .lizic-info-box p strong:first-child,
.article-body .lizic-info-box .lizic-info-row strong:first-child {
  line-height: 1.62 !important;
}

@media (max-width: 760px) {
  .article-body .lizic-info-box,
  .article-body blockquote.lizic-info-box,
  .article-body .tt_article_useless_p_margin blockquote.lizic-info-box {
    margin: 20px 0 24px !important;
    padding: 16px 17px 17px 19px !important;
    border-left-width: 4px !important;
    border-radius: 18px !important;
    line-height: 1.58 !important;
  }
  .article-body .lizic-info-title {
    margin-bottom: 9px !important;
    padding: 5px 9px !important;
    font-size: 12px !important;
  }
  .article-body .lizic-info-box p,
  .article-body .lizic-info-box .lizic-info-row {
    grid-template-columns: 1fr !important;
    gap: 1px !important;
    margin: 0.28em 0 !important;
    line-height: 1.58 !important;
  }
}

:root[data-theme="dark"] .article-body .lizic-info-box,
:root[data-theme="dark"] .article-body blockquote.lizic-info-box,
:root[data-theme="dark"] .article-body .tt_article_useless_p_margin blockquote.lizic-info-box {
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.30) !important;
}


/* v1.49: 모바일 본문 하단 소개 카드 프로필 이미지 크기 보정 */
@media (max-width: 760px) {
  #tt-body-page .article-body .tt_box_namecard,
  #tt-body-page .article-body [class*="namecard"],
  #tt-body-page .article-card .tt_box_namecard,
  #tt-body-page .article-card [class*="namecard"] {
    grid-template-columns: minmax(0, 1fr) clamp(96px, 25vw, 124px) !important;
    align-items: center !important;
    column-gap: 18px !important;
    row-gap: 10px !important;
    padding: 54px 22px 30px !important;
  }

  #tt-body-page .article-body .tt_box_namecard > *,
  #tt-body-page .article-body [class*="namecard"] > *,
  #tt-body-page .article-card .tt_box_namecard > *,
  #tt-body-page .article-card [class*="namecard"] > * {
    grid-column: 1 !important;
  }

  #tt-body-page .article-body .tt_box_namecard img,
  #tt-body-page .article-body [class*="namecard"] img,
  #tt-body-page .article-card .tt_box_namecard img,
  #tt-body-page .article-card [class*="namecard"] img,
  #tt-body-page .article-body .tt_box_namecard [class*="img"],
  #tt-body-page .article-body [class*="namecard"] [class*="img"],
  #tt-body-page .article-card .tt_box_namecard [class*="img"],
  #tt-body-page .article-card [class*="namecard"] [class*="img"] {
    grid-column: 2 !important;
    grid-row: 1 / span 5 !important;
    justify-self: end !important;
    align-self: center !important;
    width: clamp(96px, 25vw, 124px) !important;
    height: clamp(96px, 25vw, 124px) !important;
    min-width: clamp(96px, 25vw, 124px) !important;
    border-radius: 24px !important;
    box-shadow: 0 14px 30px rgba(90, 58, 30, 0.16) !important;
  }
}

@media (max-width: 420px) {
  #tt-body-page .article-body .tt_box_namecard,
  #tt-body-page .article-body [class*="namecard"],
  #tt-body-page .article-card .tt_box_namecard,
  #tt-body-page .article-card [class*="namecard"] {
    grid-template-columns: minmax(0, 1fr) 92px !important;
    column-gap: 14px !important;
    padding: 52px 18px 26px !important;
  }

  #tt-body-page .article-body .tt_box_namecard img,
  #tt-body-page .article-body [class*="namecard"] img,
  #tt-body-page .article-card .tt_box_namecard img,
  #tt-body-page .article-card [class*="namecard"] img,
  #tt-body-page .article-body .tt_box_namecard [class*="img"],
  #tt-body-page .article-body [class*="namecard"] [class*="img"],
  #tt-body-page .article-card .tt_box_namecard [class*="img"],
  #tt-body-page .article-card [class*="namecard"] [class*="img"] {
    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    border-radius: 22px !important;
  }
}

@media (max-width: 360px) {
  #tt-body-page .article-body .tt_box_namecard,
  #tt-body-page .article-body [class*="namecard"],
  #tt-body-page .article-card .tt_box_namecard,
  #tt-body-page .article-card [class*="namecard"] {
    grid-template-columns: 1fr !important;
  }

  #tt-body-page .article-body .tt_box_namecard img,
  #tt-body-page .article-body [class*="namecard"] img,
  #tt-body-page .article-card .tt_box_namecard img,
  #tt-body-page .article-card [class*="namecard"] img,
  #tt-body-page .article-body .tt_box_namecard [class*="img"],
  #tt-body-page .article-body [class*="namecard"] [class*="img"],
  #tt-body-page .article-card .tt_box_namecard [class*="img"],
  #tt-body-page .article-card [class*="namecard"] [class*="img"] {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: start !important;
    width: 104px !important;
    height: 104px !important;
    min-width: 104px !important;
  }
}


/* v1.50: 본문 하단 소개 카드 프로필 이미지 PC/모바일 레이아웃 재정리 */
#tt-body-page .article-body .lizic-post-intro-card,
#tt-body-page .article-card .lizic-post-intro-card,
#tt-body-page .article-body .tt_box_namecard,
#tt-body-page .article-card .tt_box_namecard {
  min-height: 0 !important;
}

@media (min-width: 761px) {
  #tt-body-page .article-body .lizic-post-intro-card,
  #tt-body-page .article-card .lizic-post-intro-card,
  #tt-body-page .article-body .tt_box_namecard,
  #tt-body-page .article-card .tt_box_namecard {
    grid-template-columns: minmax(0, 1fr) 132px !important;
    align-items: center !important;
    column-gap: 30px !important;
    padding: 34px 38px 34px 38px !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card img,
  #tt-body-page .article-card .lizic-post-intro-card img,
  #tt-body-page .article-body .tt_box_namecard img,
  #tt-body-page .article-card .tt_box_namecard img {
    grid-column: 2 !important;
    grid-row: 1 / span 6 !important;
    justify-self: end !important;
    align-self: center !important;
    width: 128px !important;
    height: 128px !important;
    min-width: 128px !important;
    max-width: 128px !important;
    max-height: 128px !important;
    object-fit: cover !important;
    border-radius: 24px !important;
    margin: 0 !important;
    position: static !important;
    float: none !important;
    transform: none !important;
  }
}

@media (max-width: 760px) {
  #tt-body-page .article-body .lizic-post-intro-card,
  #tt-body-page .article-card .lizic-post-intro-card,
  #tt-body-page .article-body .tt_box_namecard,
  #tt-body-page .article-card .tt_box_namecard,
  #tt-body-page .article-body [class*="namecard"].lizic-post-intro-card,
  #tt-body-page .article-card [class*="namecard"].lizic-post-intro-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    justify-items: stretch !important;
    gap: 14px !important;
    padding: 54px 22px 28px !important;
    margin: 28px 0 34px !important;
    border-radius: 24px !important;
    min-height: 0 !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card > *,
  #tt-body-page .article-card .lizic-post-intro-card > *,
  #tt-body-page .article-body .tt_box_namecard > *,
  #tt-body-page .article-card .tt_box_namecard > * {
    grid-column: 1 !important;
    grid-row: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: auto !important;
    position: relative !important;
    transform: none !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card strong,
  #tt-body-page .article-body .lizic-post-intro-card b,
  #tt-body-page .article-body .lizic-post-intro-card [class*="tit"],
  #tt-body-page .article-card .lizic-post-intro-card strong,
  #tt-body-page .article-card .lizic-post-intro-card [class*="tit"],
  #tt-body-page .article-body .tt_box_namecard strong,
  #tt-body-page .article-body .tt_box_namecard [class*="tit"] {
    margin: 4px 0 6px !important;
    font-size: clamp(19px, 5.4vw, 23px) !important;
    line-height: 1.38 !important;
    letter-spacing: -0.055em !important;
    word-break: keep-all !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card p,
  #tt-body-page .article-body .lizic-post-intro-card [class*="desc"],
  #tt-body-page .article-card .lizic-post-intro-card p,
  #tt-body-page .article-card .lizic-post-intro-card [class*="desc"],
  #tt-body-page .article-body .tt_box_namecard p,
  #tt-body-page .article-body .tt_box_namecard [class*="desc"] {
    font-size: clamp(14px, 3.7vw, 15.5px) !important;
    line-height: 1.72 !important;
    letter-spacing: -0.035em !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card img,
  #tt-body-page .article-card .lizic-post-intro-card img,
  #tt-body-page .article-body .tt_box_namecard img,
  #tt-body-page .article-card .tt_box_namecard img {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: start !important;
    align-self: start !important;
    display: block !important;
    width: 108px !important;
    height: 108px !important;
    min-width: 108px !important;
    max-width: 108px !important;
    max-height: 108px !important;
    object-fit: cover !important;
    border-radius: 24px !important;
    margin: 12px 0 0 !important;
    position: static !important;
    float: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  /* v1.49의 2열 이미지 래퍼 규칙을 무력화해서 모바일 깨짐 방지 */
  #tt-body-page .article-body .lizic-post-intro-card [class*="img"],
  #tt-body-page .article-card .lizic-post-intro-card [class*="img"],
  #tt-body-page .article-body .tt_box_namecard [class*="img"],
  #tt-body-page .article-card .tt_box_namecard [class*="img"] {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: start !important;
    align-self: start !important;
    position: static !important;
    float: none !important;
    transform: none !important;
    margin: 10px 0 0 !important;
    max-width: 120px !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card a,
  #tt-body-page .article-card .lizic-post-intro-card a,
  #tt-body-page .article-body .tt_box_namecard a,
  #tt-body-page .article-card .tt_box_namecard a {
    width: fit-content !important;
    max-width: 100% !important;
  }
}

@media (max-width: 420px) {
  #tt-body-page .article-body .lizic-post-intro-card,
  #tt-body-page .article-card .lizic-post-intro-card,
  #tt-body-page .article-body .tt_box_namecard,
  #tt-body-page .article-card .tt_box_namecard {
    grid-template-columns: 1fr !important;
    padding: 52px 18px 26px !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card img,
  #tt-body-page .article-card .lizic-post-intro-card img,
  #tt-body-page .article-body .tt_box_namecard img,
  #tt-body-page .article-card .tt_box_namecard img {
    width: 104px !important;
    height: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
  }
}


/* v1.51: 모바일/인앱 브라우저 소개 카드 강제 안정화
   - 일부 모바일 인앱 브라우저가 760px 미디어쿼리를 타지 않아 데스크톱 카드가 축소되어 깨지는 문제 보정
   - 소개글 텍스트, 구독 버튼, 프로필 이미지가 서로 겹치지 않도록 980px 이하에서 1열 구조로 고정
*/
@media (min-width: 981px) {
  #tt-body-page .article-body .tt_box_namecard,
  #tt-body-page .article-body [class*="namecard"],
  #tt-body-page .article-card .tt_box_namecard,
  #tt-body-page .article-card [class*="namecard"] {
    grid-template-columns: minmax(0, 1fr) 148px !important;
    column-gap: 34px !important;
  }

  #tt-body-page .article-body .tt_box_namecard img,
  #tt-body-page .article-body [class*="namecard"] img,
  #tt-body-page .article-card .tt_box_namecard img,
  #tt-body-page .article-card [class*="namecard"] img {
    width: 140px !important;
    height: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    max-height: 140px !important;
  }
}

@media (max-width: 980px) {
  #tt-body-page .article-body .tt_box_namecard,
  #tt-body-page .article-body [class*="namecard"],
  #tt-body-page .article-card .tt_box_namecard,
  #tt-body-page .article-card [class*="namecard"] {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 28px 0 34px !important;
    padding: 58px 20px 26px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    text-align: left !important;
  }

  #tt-body-page .article-body .tt_box_namecard::before,
  #tt-body-page .article-body [class*="namecard"]::before,
  #tt-body-page .article-card .tt_box_namecard::before,
  #tt-body-page .article-card [class*="namecard"]::before {
    top: 16px !important;
    left: 20px !important;
    transform: none !important;
  }

  #tt-body-page .article-body .tt_box_namecard *,
  #tt-body-page .article-body [class*="namecard"] *,
  #tt-body-page .article-card .tt_box_namecard *,
  #tt-body-page .article-card [class*="namecard"] * {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  #tt-body-page .article-body .tt_box_namecard > *,
  #tt-body-page .article-body [class*="namecard"] > *,
  #tt-body-page .article-card .tt_box_namecard > *,
  #tt-body-page .article-card [class*="namecard"] > * {
    display: block !important;
    position: static !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    opacity: 1 !important;
  }

  #tt-body-page .article-body .tt_box_namecard strong,
  #tt-body-page .article-body .tt_box_namecard b,
  #tt-body-page .article-body .tt_box_namecard .tt_tit_profile,
  #tt-body-page .article-body .tt_box_namecard [class*="tit"],
  #tt-body-page .article-body [class*="namecard"] strong,
  #tt-body-page .article-body [class*="namecard"] b,
  #tt-body-page .article-body [class*="namecard"] [class*="tit"],
  #tt-body-page .article-card .tt_box_namecard strong,
  #tt-body-page .article-card .tt_box_namecard b,
  #tt-body-page .article-card .tt_box_namecard [class*="tit"],
  #tt-body-page .article-card [class*="namecard"] strong,
  #tt-body-page .article-card [class*="namecard"] b,
  #tt-body-page .article-card [class*="namecard"] [class*="tit"] {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: clamp(20px, 5.2vw, 24px) !important;
    line-height: 1.34 !important;
    letter-spacing: -0.055em !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  #tt-body-page .article-body .tt_box_namecard p,
  #tt-body-page .article-body .tt_box_namecard .tt_desc_profile,
  #tt-body-page .article-body .tt_box_namecard [class*="desc"],
  #tt-body-page .article-body [class*="namecard"] p,
  #tt-body-page .article-body [class*="namecard"] [class*="desc"],
  #tt-body-page .article-card .tt_box_namecard p,
  #tt-body-page .article-card .tt_box_namecard .tt_desc_profile,
  #tt-body-page .article-card .tt_box_namecard [class*="desc"],
  #tt-body-page .article-card [class*="namecard"] p,
  #tt-body-page .article-card [class*="namecard"] [class*="desc"] {
    display: block !important;
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    font-size: clamp(14px, 3.7vw, 16px) !important;
    line-height: 1.68 !important;
    letter-spacing: -0.035em !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  #tt-body-page .article-body .tt_box_namecard a,
  #tt-body-page .article-body [class*="namecard"] a,
  #tt-body-page .article-card .tt_box_namecard a,
  #tt-body-page .article-card [class*="namecard"] a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 38px !important;
    margin: 0 0 18px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  #tt-body-page .article-body .tt_box_namecard img,
  #tt-body-page .article-body [class*="namecard"] img,
  #tt-body-page .article-card .tt_box_namecard img,
  #tt-body-page .article-card [class*="namecard"] img,
  #tt-body-page .article-body .tt_box_namecard [class*="img"],
  #tt-body-page .article-body [class*="namecard"] [class*="img"],
  #tt-body-page .article-card .tt_box_namecard [class*="img"],
  #tt-body-page .article-card [class*="namecard"] [class*="img"],
  #tt-body-page .article-body .tt_box_namecard [class*="thumb"],
  #tt-body-page .article-body [class*="namecard"] [class*="thumb"],
  #tt-body-page .article-card .tt_box_namecard [class*="thumb"],
  #tt-body-page .article-card [class*="namecard"] [class*="thumb"] {
    display: block !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    transform: none !important;
    opacity: 1 !important;
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    max-height: 96px !important;
    margin: 8px 0 0 !important;
    object-fit: cover !important;
    border-radius: 22px !important;
  }
}

@media (max-width: 430px) {
  #tt-body-page .article-body .tt_box_namecard,
  #tt-body-page .article-body [class*="namecard"],
  #tt-body-page .article-card .tt_box_namecard,
  #tt-body-page .article-card [class*="namecard"] {
    padding: 56px 18px 24px !important;
  }

  #tt-body-page .article-body .tt_box_namecard strong,
  #tt-body-page .article-body .tt_box_namecard b,
  #tt-body-page .article-body .tt_box_namecard [class*="tit"],
  #tt-body-page .article-body [class*="namecard"] strong,
  #tt-body-page .article-body [class*="namecard"] b,
  #tt-body-page .article-body [class*="namecard"] [class*="tit"],
  #tt-body-page .article-card .tt_box_namecard strong,
  #tt-body-page .article-card .tt_box_namecard b,
  #tt-body-page .article-card .tt_box_namecard [class*="tit"],
  #tt-body-page .article-card [class*="namecard"] strong,
  #tt-body-page .article-card [class*="namecard"] b,
  #tt-body-page .article-card [class*="namecard"] [class*="tit"] {
    font-size: 21px !important;
  }

  #tt-body-page .article-body .tt_box_namecard p,
  #tt-body-page .article-body .tt_box_namecard [class*="desc"],
  #tt-body-page .article-body [class*="namecard"] p,
  #tt-body-page .article-body [class*="namecard"] [class*="desc"],
  #tt-body-page .article-card .tt_box_namecard p,
  #tt-body-page .article-card .tt_box_namecard [class*="desc"],
  #tt-body-page .article-card [class*="namecard"] p,
  #tt-body-page .article-card [class*="namecard"] [class*="desc"] {
    font-size: 14.5px !important;
    line-height: 1.66 !important;
  }
}

/* v1.52: 모바일 본문 하단 소개 카드 최종 안정화
   - 중첩 프로필 요소가 카드처럼 반복 적용되며 깨지는 문제 방지
   - 모바일에서는 세로형 카드로 강제 정리
   - 프로필 이미지, 구독 버튼, 소개글이 서로 겹치지 않도록 재배치
*/
#tt-body-page .article-body .lizic-post-intro-card,
#tt-body-page .article-card .lizic-post-intro-card,
#tt-body-page .article-body .tt_box_namecard,
#tt-body-page .article-card .tt_box_namecard {
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* 중첩으로 클래스가 붙은 내부 요소는 카드가 아니라 일반 내용으로 취급 */
#tt-body-page .article-body .lizic-post-intro-card .lizic-post-intro-card,
#tt-body-page .article-card .lizic-post-intro-card .lizic-post-intro-card,
#tt-body-page .article-body .tt_box_namecard .lizic-post-intro-card,
#tt-body-page .article-card .tt_box_namecard .lizic-post-intro-card {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
#tt-body-page .article-body .lizic-post-intro-card .lizic-post-intro-card::before,
#tt-body-page .article-card .lizic-post-intro-card .lizic-post-intro-card::before,
#tt-body-page .article-body .tt_box_namecard .lizic-post-intro-card::before,
#tt-body-page .article-card .tt_box_namecard .lizic-post-intro-card::before {
  content: none !important;
  display: none !important;
}

/* 내부 텍스트 줄임/한 줄 고정 방지 */
#tt-body-page .article-body .lizic-post-intro-card *,
#tt-body-page .article-card .lizic-post-intro-card *,
#tt-body-page .article-body .tt_box_namecard *,
#tt-body-page .article-card .tt_box_namecard * {
  box-sizing: border-box !important;
  white-space: normal !important;
  text-overflow: clip !important;
  max-width: 100% !important;
}

@media (min-width: 981px) {
  #tt-body-page .article-body .lizic-post-intro-card,
  #tt-body-page .article-card .lizic-post-intro-card,
  #tt-body-page .article-body .tt_box_namecard,
  #tt-body-page .article-card .tt_box_namecard {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 156px !important;
    align-items: center !important;
    gap: 34px !important;
    padding: 34px 42px !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card img,
  #tt-body-page .article-card .lizic-post-intro-card img,
  #tt-body-page .article-body .tt_box_namecard img,
  #tt-body-page .article-card .tt_box_namecard img {
    width: 148px !important;
    height: 148px !important;
    min-width: 148px !important;
    max-width: 148px !important;
    min-height: 148px !important;
    max-height: 148px !important;
    grid-column: 2 !important;
    grid-row: 1 / span 8 !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
    object-fit: cover !important;
    border-radius: 26px !important;
    position: static !important;
    float: none !important;
    transform: none !important;
  }
}

@media (max-width: 980px) {
  #tt-body-page .article-body .lizic-post-intro-card,
  #tt-body-page .article-card .lizic-post-intro-card,
  #tt-body-page .article-body .tt_box_namecard,
  #tt-body-page .article-card .tt_box_namecard {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 26px 0 32px !important;
    padding: 58px 20px 24px !important;
    border-radius: 24px !important;
    text-align: left !important;
    overflow: hidden !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card::before,
  #tt-body-page .article-card .lizic-post-intro-card::before,
  #tt-body-page .article-body .tt_box_namecard::before,
  #tt-body-page .article-card .tt_box_namecard::before {
    top: 16px !important;
    left: 18px !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card > *,
  #tt-body-page .article-card .lizic-post-intro-card > *,
  #tt-body-page .article-body .tt_box_namecard > *,
  #tt-body-page .article-card .tt_box_namecard > * {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    transform: none !important;
    opacity: 1 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card strong,
  #tt-body-page .article-body .lizic-post-intro-card b,
  #tt-body-page .article-body .lizic-post-intro-card .tt_tit_profile,
  #tt-body-page .article-body .lizic-post-intro-card [class*="tit"],
  #tt-body-page .article-card .lizic-post-intro-card strong,
  #tt-body-page .article-card .lizic-post-intro-card b,
  #tt-body-page .article-card .lizic-post-intro-card .tt_tit_profile,
  #tt-body-page .article-card .lizic-post-intro-card [class*="tit"],
  #tt-body-page .article-body .tt_box_namecard strong,
  #tt-body-page .article-body .tt_box_namecard b,
  #tt-body-page .article-body .tt_box_namecard .tt_tit_profile,
  #tt-body-page .article-body .tt_box_namecard [class*="tit"],
  #tt-body-page .article-card .tt_box_namecard strong,
  #tt-body-page .article-card .tt_box_namecard b,
  #tt-body-page .article-card .tt_box_namecard .tt_tit_profile,
  #tt-body-page .article-card .tt_box_namecard [class*="tit"] {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: clamp(19px, 4.8vw, 22px) !important;
    line-height: 1.34 !important;
    letter-spacing: -0.055em !important;
    color: var(--text) !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card p,
  #tt-body-page .article-body .lizic-post-intro-card .tt_desc_profile,
  #tt-body-page .article-body .lizic-post-intro-card [class*="desc"],
  #tt-body-page .article-card .lizic-post-intro-card p,
  #tt-body-page .article-card .lizic-post-intro-card .tt_desc_profile,
  #tt-body-page .article-card .lizic-post-intro-card [class*="desc"],
  #tt-body-page .article-body .tt_box_namecard p,
  #tt-body-page .article-body .tt_box_namecard .tt_desc_profile,
  #tt-body-page .article-body .tt_box_namecard [class*="desc"],
  #tt-body-page .article-card .tt_box_namecard p,
  #tt-body-page .article-card .tt_box_namecard .tt_desc_profile,
  #tt-body-page .article-card .tt_box_namecard [class*="desc"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    font-size: clamp(13.5px, 3.45vw, 15px) !important;
    line-height: 1.64 !important;
    letter-spacing: -0.035em !important;
    color: var(--muted) !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    overflow: visible !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card a,
  #tt-body-page .article-card .lizic-post-intro-card a,
  #tt-body-page .article-body .tt_box_namecard a,
  #tt-body-page .article-card .tt_box_namecard a {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 18px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    position: static !important;
    transform: none !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card img,
  #tt-body-page .article-card .lizic-post-intro-card img,
  #tt-body-page .article-body .tt_box_namecard img,
  #tt-body-page .article-card .tt_box_namecard img {
    display: block !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    transform: none !important;
    opacity: 1 !important;
    width: 86px !important;
    height: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    min-height: 86px !important;
    max-height: 86px !important;
    margin: 2px 0 0 !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    flex: 0 0 auto !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card [class*="img"],
  #tt-body-page .article-body .lizic-post-intro-card [class*="thumb"],
  #tt-body-page .article-card .lizic-post-intro-card [class*="img"],
  #tt-body-page .article-card .lizic-post-intro-card [class*="thumb"],
  #tt-body-page .article-body .tt_box_namecard [class*="img"],
  #tt-body-page .article-body .tt_box_namecard [class*="thumb"],
  #tt-body-page .article-card .tt_box_namecard [class*="img"],
  #tt-body-page .article-card .tt_box_namecard [class*="thumb"] {
    display: block !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    width: auto !important;
    max-width: 92px !important;
    height: auto !important;
    max-height: none !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    transform: none !important;
  }
}

@media (max-width: 430px) {
  #tt-body-page .article-body .lizic-post-intro-card,
  #tt-body-page .article-card .lizic-post-intro-card,
  #tt-body-page .article-body .tt_box_namecard,
  #tt-body-page .article-card .tt_box_namecard {
    padding: 56px 18px 22px !important;
  }

  #tt-body-page .article-body .lizic-post-intro-card p,
  #tt-body-page .article-body .lizic-post-intro-card .tt_desc_profile,
  #tt-body-page .article-body .lizic-post-intro-card [class*="desc"],
  #tt-body-page .article-card .lizic-post-intro-card p,
  #tt-body-page .article-card .lizic-post-intro-card .tt_desc_profile,
  #tt-body-page .article-card .lizic-post-intro-card [class*="desc"],
  #tt-body-page .article-body .tt_box_namecard p,
  #tt-body-page .article-body .tt_box_namecard .tt_desc_profile,
  #tt-body-page .article-body .tt_box_namecard [class*="desc"],
  #tt-body-page .article-card .tt_box_namecard p,
  #tt-body-page .article-card .tt_box_namecard .tt_desc_profile,
  #tt-body-page .article-card .tt_box_namecard [class*="desc"] {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
  }
}

/* v1.53: 본문 하단 프로필/소개 카드를 안정적인 별도 컴포넌트로 재구성
   - 기존 티스토리 namecard는 구조가 기기별로 달라 깨질 수 있어 JS가 내용을 읽은 뒤 숨깁니다.
   - PC는 이미지가 보이는 매거진형 카드, 모바일은 글 읽기 중심의 단순 카드로 다르게 표시합니다. */
#tt-body-page .lizic-author-source-hidden {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

#tt-body-page .article-body .lizic-author-note-v53,
#tt-body-page .article-card .lizic-author-note-v53 {
  --author-note-border: rgba(211, 166, 115, 0.42);
  --author-note-bg: linear-gradient(135deg, rgba(255, 251, 244, 0.98), rgba(249, 239, 224, 0.82));
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 150px !important;
  gap: 28px !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 40px 0 42px !important;
  padding: 30px 34px !important;
  border: 1px solid var(--author-note-border) !important;
  border-radius: 28px !important;
  background: var(--author-note-bg) !important;
  box-shadow: 0 18px 48px rgba(91, 64, 35, 0.10) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  text-align: left !important;
}

#tt-body-page .article-body .lizic-author-note-v53::before,
#tt-body-page .article-card .lizic-author-note-v53::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 16% 22%, rgba(213, 151, 96, 0.12), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(117, 139, 93, 0.10), transparent 26%) !important;
}

#tt-body-page .lizic-author-note-main,
#tt-body-page .lizic-author-note-media {
  position: relative !important;
  z-index: 1 !important;
  min-width: 0 !important;
}

#tt-body-page .lizic-author-note-label {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  min-height: 30px !important;
  margin: 0 0 16px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  background: rgba(204, 115, 73, 0.12) !important;
  border: 1px solid rgba(211, 166, 115, 0.34) !important;
  color: var(--accent-dark) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  line-height: 1 !important;
}

#tt-body-page .lizic-author-note-title {
  display: block !important;
  margin: 0 0 10px !important;
  color: var(--text) !important;
  font-family: Georgia, "Noto Serif KR", serif !important;
  font-size: clamp(22px, 2.1vw, 29px) !important;
  font-weight: 900 !important;
  line-height: 1.28 !important;
  letter-spacing: -0.055em !important;
  word-break: keep-all !important;
}

#tt-body-page .lizic-author-note-desc {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.72 !important;
  letter-spacing: -0.035em !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

#tt-body-page .lizic-author-note-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 18px !important;
}

#tt-body-page .lizic-author-note-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(40, 35, 30, 0.45) !important;
  border-radius: 999px !important;
  background: rgba(255, 253, 248, 0.70) !important;
  color: var(--text) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

#tt-body-page .lizic-author-note-button:hover {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
  color: #fff !important;
}

#tt-body-page .lizic-author-note-media {
  justify-self: end !important;
  align-self: center !important;
  display: grid !important;
  place-items: center !important;
  width: 150px !important;
  height: 150px !important;
  border-radius: 30px !important;
  background: rgba(255, 255, 255, 0.46) !important;
  box-shadow: inset 0 0 0 1px rgba(211, 166, 115, 0.22), 0 14px 34px rgba(96, 67, 36, 0.12) !important;
  overflow: hidden !important;
}

#tt-body-page .lizic-author-note-media img {
  display: block !important;
  width: 132px !important;
  height: 132px !important;
  min-width: 132px !important;
  max-width: 132px !important;
  min-height: 132px !important;
  max-height: 132px !important;
  margin: 0 !important;
  border-radius: 24px !important;
  object-fit: cover !important;
  position: static !important;
  float: none !important;
  opacity: 1 !important;
  transform: none !important;
}

@media (min-width: 1180px) {
  #tt-body-page .article-body .lizic-author-note-v53,
  #tt-body-page .article-card .lizic-author-note-v53 {
    grid-template-columns: minmax(0, 1fr) 170px !important;
    gap: 34px !important;
    padding: 34px 40px !important;
  }

  #tt-body-page .lizic-author-note-media {
    width: 170px !important;
    height: 170px !important;
  }

  #tt-body-page .lizic-author-note-media img {
    width: 150px !important;
    height: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
  }
}

@media (min-width: 761px) and (max-width: 1179px) {
  #tt-body-page .article-body .lizic-author-note-v53,
  #tt-body-page .article-card .lizic-author-note-v53 {
    grid-template-columns: minmax(0, 1fr) 128px !important;
    gap: 24px !important;
    padding: 28px 30px !important;
  }

  #tt-body-page .lizic-author-note-media {
    width: 128px !important;
    height: 128px !important;
  }

  #tt-body-page .lizic-author-note-media img {
    width: 112px !important;
    height: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    min-height: 112px !important;
    max-height: 112px !important;
  }
}

@media (max-width: 760px) {
  #tt-body-page .article-body .lizic-author-note-v53,
  #tt-body-page .article-card .lizic-author-note-v53 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 28px 0 34px !important;
    padding: 22px 20px 24px !important;
    border-radius: 24px !important;
    text-align: left !important;
    overflow: hidden !important;
  }

  #tt-body-page .lizic-author-note-label {
    min-height: 28px !important;
    margin-bottom: 18px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
  }

  #tt-body-page .lizic-author-note-title {
    margin-bottom: 10px !important;
    font-size: clamp(21px, 5.8vw, 25px) !important;
    line-height: 1.32 !important;
  }

  #tt-body-page .lizic-author-note-desc {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(14px, 3.65vw, 15px) !important;
    line-height: 1.66 !important;
    color: var(--muted) !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    overflow: visible !important;
  }

  #tt-body-page .lizic-author-note-actions {
    margin-top: 18px !important;
  }

  #tt-body-page .lizic-author-note-button {
    min-height: 42px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
  }

  /* 모바일에서는 프로필 이미지를 빼서 카드가 깨지지 않도록 합니다. */
  #tt-body-page .lizic-author-note-media {
    display: none !important;
  }
}

@media (max-width: 430px) {
  #tt-body-page .article-body .lizic-author-note-v53,
  #tt-body-page .article-card .lizic-author-note-v53 {
    padding: 20px 18px 22px !important;
    border-radius: 22px !important;
  }

  #tt-body-page .lizic-author-note-title {
    font-size: 22px !important;
  }

  #tt-body-page .lizic-author-note-desc {
    font-size: 14px !important;
    line-height: 1.62 !important;
  }
}

html[data-theme="dark"] #tt-body-page .article-body .lizic-author-note-v53,
html[data-theme="dark"] #tt-body-page .article-card .lizic-author-note-v53,
body.dark-mode #tt-body-page .article-body .lizic-author-note-v53,
body.dark-mode #tt-body-page .article-card .lizic-author-note-v53 {
  --author-note-border: rgba(211, 166, 115, 0.24);
  --author-note-bg: linear-gradient(135deg, rgba(27, 34, 42, 0.98), rgba(33, 40, 49, 0.90));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34) !important;
}

html[data-theme="dark"] #tt-body-page .lizic-author-note-button,
body.dark-mode #tt-body-page .lizic-author-note-button {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text) !important;
  border-color: rgba(211, 166, 115, 0.36) !important;
}


/* v1.54: 본문 하단 소개 카드를 skin.html 고정 마크업으로 분리
   - 기존 티스토리 namecard/profile 카드는 숨김
   - JS 변환 실패나 모바일 인앱 브라우저에서도 동일한 구조로 표시 */
#tt-body-page .article-body .tt_box_namecard,
#tt-body-page .article-body .tt_box_namecard2,
#tt-body-page .article-body .tt_cont_profile,
#tt-body-page .article-body .tt_post_profile,
#tt-body-page .article-body .tt_blog_profile,
#tt-body-page .article-body .lizic-post-intro-card,
#tt-body-page .article-body .lizic-author-note-v53,
#tt-body-page .article-body [class*="namecard"],
#tt-body-page .article-body [class*="Namecard"],
#tt-body-page .article-body [class*="blog_profile"],
#tt-body-page .article-body [class*="blogProfile"],
#tt-body-page .article-body [class*="post_profile"],
#tt-body-page .article-body [class*="postProfile"],
#tt-body-page .article-card .tt_box_namecard,
#tt-body-page .article-card .tt_box_namecard2,
#tt-body-page .article-card .tt_cont_profile,
#tt-body-page .article-card .tt_post_profile,
#tt-body-page .article-card .tt_blog_profile,
#tt-body-page .article-card .lizic-post-intro-card,
#tt-body-page .article-card .lizic-author-note-v53,
#tt-body-page .article-card [class*="namecard"],
#tt-body-page .article-card [class*="Namecard"],
#tt-body-page .article-card [class*="blog_profile"],
#tt-body-page .article-card [class*="blogProfile"],
#tt-body-page .article-card [class*="post_profile"],
#tt-body-page .article-card [class*="postProfile"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

#tt-body-page .article-card .lizic-author-note-v54 {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 176px !important;
  align-items: center !important;
  gap: 34px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 40px 0 44px !important;
  padding: 30px 34px !important;
  border: 1px solid rgba(211, 166, 115, 0.42) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 8% 12%, rgba(204, 115, 73, 0.10), transparent 28%),
    radial-gradient(circle at 94% 16%, rgba(119, 138, 97, 0.10), transparent 24%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(250, 241, 229, 0.88)) !important;
  box-shadow: 0 18px 46px rgba(90, 58, 30, 0.09) !important;
  overflow: hidden !important;
  color: var(--text) !important;
}

#tt-body-page .article-card .lizic-author-note-v54::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(115deg, rgba(255,255,255,0.22), transparent 46%) !important;
}

#tt-body-page .lizic-author-note-v54-copy,
#tt-body-page .lizic-author-note-v54-image {
  position: relative !important;
  z-index: 1 !important;
  min-width: 0 !important;
}

#tt-body-page .lizic-author-note-v54-label {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  min-height: 28px !important;
  margin: 0 0 14px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(204, 115, 73, 0.18) !important;
  background: rgba(204, 115, 73, 0.12) !important;
  color: var(--accent-dark) !important;
  font-size: 12.5px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
}

#tt-body-page .lizic-author-note-v54-title {
  display: block !important;
  margin: 0 0 9px !important;
  color: var(--text) !important;
  font-family: Georgia, "Noto Serif KR", serif !important;
  font-size: clamp(20px, 2vw, 26px) !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.055em !important;
  word-break: keep-all !important;
}

#tt-body-page .lizic-author-note-v54-desc {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.68 !important;
  letter-spacing: -0.035em !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}

#tt-body-page .lizic-author-note-v54-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  margin-top: 16px !important;
  padding: 0 17px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(39, 31, 23, 0.44) !important;
  background: rgba(255, 253, 248, 0.68) !important;
  color: var(--text) !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

#tt-body-page .lizic-author-note-v54-button:hover {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
  color: #fff !important;
}

#tt-body-page .lizic-author-note-v54-image {
  justify-self: end !important;
  display: grid !important;
  place-items: center !important;
  width: 176px !important;
  height: 176px !important;
  border-radius: 34px !important;
  background: rgba(255, 255, 255, 0.50) !important;
  box-shadow: inset 0 0 0 1px rgba(211, 166, 115, 0.22), 0 16px 34px rgba(96, 67, 36, 0.14) !important;
  overflow: hidden !important;
}

#tt-body-page .lizic-author-note-v54-image img {
  display: block !important;
  width: 142px !important;
  height: 142px !important;
  min-width: 142px !important;
  max-width: 142px !important;
  min-height: 142px !important;
  max-height: 142px !important;
  object-fit: cover !important;
  border-radius: 28px !important;
  margin: 0 !important;
  position: static !important;
  float: none !important;
  opacity: 1 !important;
  transform: none !important;
}

@media (min-width: 1180px) {
  #tt-body-page .article-card .lizic-author-note-v54 {
    grid-template-columns: minmax(0, 1fr) 192px !important;
    gap: 38px !important;
    padding: 34px 40px !important;
  }
  #tt-body-page .lizic-author-note-v54-image {
    width: 192px !important;
    height: 192px !important;
  }
  #tt-body-page .lizic-author-note-v54-image img {
    width: 156px !important;
    height: 156px !important;
    min-width: 156px !important;
    max-width: 156px !important;
    min-height: 156px !important;
    max-height: 156px !important;
  }
}

@media (max-width: 980px) {
  #tt-body-page .article-card .lizic-author-note-v54 {
    grid-template-columns: minmax(0, 1fr) 148px !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 30px 0 34px !important;
    padding: 22px 20px 24px !important;
    border-radius: 24px !important;
    text-align: left !important;
  }

  #tt-body-page .lizic-author-note-v54-label {
    min-height: 27px !important;
    margin-bottom: 14px !important;
    padding: 0 11px !important;
    font-size: 12px !important;
  }

  #tt-body-page .lizic-author-note-v54-title {
    font-size: 21px !important;
    line-height: 1.32 !important;
  }

  #tt-body-page .lizic-author-note-v54-desc {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.64 !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    overflow: visible !important;
  }

  #tt-body-page .lizic-author-note-v54-button {
    min-height: 38px !important;
    margin-top: 15px !important;
    padding: 0 16px !important;
    font-size: 13.5px !important;
  }

  #tt-body-page .lizic-author-note-v54-image {
    display: grid !important;
    width: 148px !important;
    height: 148px !important;
    border-radius: 30px !important;
  }

  #tt-body-page .lizic-author-note-v54-image img {
    width: 120px !important;
    height: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;
    border-radius: 24px !important;
  }
}

@media (max-width: 640px) {
  #tt-body-page .article-card .lizic-author-note-v54 {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }

  #tt-body-page .lizic-author-note-v54-copy {
    width: 100% !important;
  }

  #tt-body-page .lizic-author-note-v54-image {
    align-self: center !important;
    justify-self: center !important;
    width: 142px !important;
    height: 142px !important;
    border-radius: 30px !important;
  }

  #tt-body-page .lizic-author-note-v54-image img {
    width: 116px !important;
    height: 116px !important;
    min-width: 116px !important;
    max-width: 116px !important;
    min-height: 116px !important;
    max-height: 116px !important;
    border-radius: 24px !important;
  }
}

@media (max-width: 430px) {
  #tt-body-page .article-card .lizic-author-note-v54 {
    padding: 19px 17px 21px !important;
    border-radius: 22px !important;
  }
  #tt-body-page .lizic-author-note-v54-title {
    font-size: 20px !important;
  }
  #tt-body-page .lizic-author-note-v54-desc {
    font-size: 13.8px !important;
    line-height: 1.62 !important;
  }
  #tt-body-page .lizic-author-note-v54-image {
    width: 132px !important;
    height: 132px !important;
  }
  #tt-body-page .lizic-author-note-v54-image img {
    width: 108px !important;
    height: 108px !important;
    min-width: 108px !important;
    max-width: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
  }
}

html[data-theme="dark"] #tt-body-page .article-card .lizic-author-note-v54,
body.dark-mode #tt-body-page .article-card .lizic-author-note-v54 {
  border-color: rgba(211, 166, 115, 0.24) !important;
  background:
    radial-gradient(circle at 8% 12%, rgba(208, 131, 85, 0.10), transparent 28%),
    radial-gradient(circle at 94% 14%, rgba(164, 184, 128, 0.08), transparent 24%),
    linear-gradient(135deg, rgba(27, 34, 42, 0.98), rgba(33, 40, 49, 0.90)) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34) !important;
}

html[data-theme="dark"] #tt-body-page .lizic-author-note-v54-title,
body.dark-mode #tt-body-page .lizic-author-note-v54-title {
  color: #fff1dc !important;
}

html[data-theme="dark"] #tt-body-page .lizic-author-note-v54-desc,
body.dark-mode #tt-body-page .lizic-author-note-v54-desc {
  color: #cfc2b0 !important;
}

html[data-theme="dark"] #tt-body-page .lizic-author-note-v54-button,
body.dark-mode #tt-body-page .lizic-author-note-v54-button {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(211, 166, 115, 0.36) !important;
  color: #f3eadf !important;
}

/* =========================================================
   v1.59 - 본문 표 자동 너비/간격 보정
   - 2열 표 첫 번째 열은 내용 길이에 맞춰 자연스럽게 축소/확대
   - 긴 항목은 모바일에서만 줄바꿈 허용
   - 표 셀 높이는 내용 기반으로 자연스럽게 조절
   ========================================================= */
.article-body .lizic-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
}

.article-body table.lizic-table,
.article-body .lizic-table-wrap > table {
  width: 100% !important;
  table-layout: auto !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.article-body table.lizic-table th,
.article-body table.lizic-table td,
.article-body .lizic-table-wrap > table th,
.article-body .lizic-table-wrap > table td {
  height: auto !important;
  min-height: 0 !important;
  padding: 12px 16px !important;
  line-height: 1.55 !important;
  vertical-align: middle !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

.article-body table.lizic-table thead th,
.article-body table.lizic-table tr:first-child th,
.article-body table.lizic-table.lizic-table-first-row-header tr:first-child th,
.article-body table.lizic-table.lizic-table-first-row-header tr:first-child td,
.article-body .lizic-table-wrap > table thead th,
.article-body .lizic-table-wrap > table tr:first-child th {
  padding: 12px 16px !important;
  line-height: 1.45 !important;
  text-align: left !important;
  vertical-align: middle !important;
}

/* 2열 표: 첫 번째 열은 항목명 길이에 맞춰 자동 폭, 두 번째 열은 남은 공간 */
.article-body table.lizic-table.lizic-table-cols-2 th:first-child,
.article-body table.lizic-table.lizic-table-cols-2 td:first-child,
.article-body .lizic-table-wrap > table.lizic-table-cols-2 th:first-child,
.article-body .lizic-table-wrap > table.lizic-table-cols-2 td:first-child {
  width: 1% !important;
  min-width: 128px !important;
  max-width: 260px !important;
  white-space: nowrap !important;
  font-weight: 850 !important;
  color: var(--text) !important;
}

.article-body table.lizic-table.lizic-table-cols-2 th:last-child,
.article-body table.lizic-table.lizic-table-cols-2 td:last-child,
.article-body .lizic-table-wrap > table.lizic-table-cols-2 th:last-child,
.article-body .lizic-table-wrap > table.lizic-table-cols-2 td:last-child {
  width: auto !important;
  white-space: normal !important;
  color: var(--text) !important;
}

/* 3열 이상 표도 첫 번째 열이 과하게 좁아지지 않도록 보정 */
.article-body table.lizic-table.lizic-table-cols-3 th:first-child,
.article-body table.lizic-table.lizic-table-cols-3 td:first-child,
.article-body .lizic-table-wrap > table.lizic-table-cols-3 th:first-child,
.article-body .lizic-table-wrap > table.lizic-table-cols-3 td:first-child {
  width: 1% !important;
  min-width: 118px !important;
  white-space: nowrap !important;
  font-weight: 850 !important;
}

/* 모바일: 화면 밖으로 밀리지 않게 첫 열 줄바꿈 허용 */
@media (max-width: 680px) {
  .article-body .lizic-table-wrap {
    margin-left: calc(var(--wrap, 20px) * -0.35) !important;
    margin-right: calc(var(--wrap, 20px) * -0.35) !important;
    padding: 0 !important;
  }

  .article-body table.lizic-table,
  .article-body .lizic-table-wrap > table {
    min-width: 520px !important;
  }

  .article-body table.lizic-table th,
  .article-body table.lizic-table td,
  .article-body .lizic-table-wrap > table th,
  .article-body .lizic-table-wrap > table td {
    padding: 10px 12px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .article-body table.lizic-table.lizic-table-cols-2 th:first-child,
  .article-body table.lizic-table.lizic-table-cols-2 td:first-child,
  .article-body .lizic-table-wrap > table.lizic-table-cols-2 th:first-child,
  .article-body .lizic-table-wrap > table.lizic-table-cols-2 td:first-child {
    min-width: 124px !important;
    max-width: 170px !important;
    white-space: normal !important;
  }
}


/* =========================================================
   v1.60 - 본문 표 칸 간격 자동 정렬 보정
   - JS가 열 개수와 첫 번째 열 길이를 보고 colgroup 너비를 부여
   - 긴 항목도 겹치지 않도록 줄바꿈 허용
   - 2열/3열 표를 모바일과 PC에서 더 균형 있게 표시
   ========================================================= */
.article-body .lizic-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 28px 0 34px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  border-radius: 20px !important;
}

.article-body table.lizic-table,
.article-body .lizic-table-wrap > table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.article-body table.lizic-table-v60 th,
.article-body table.lizic-table-v60 td,
.article-body .lizic-table-wrap > table.lizic-table-v60 th,
.article-body .lizic-table-wrap > table.lizic-table-v60 td {
  width: auto !important;
  max-width: none !important;
  padding: 11px 14px !important;
  line-height: 1.55 !important;
  vertical-align: middle !important;
  text-align: left !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
  color: var(--text) !important;
}

.article-body table.lizic-table-v60 thead th,
.article-body table.lizic-table-v60 tr:first-child th,
.article-body table.lizic-table-v60.lizic-table-first-row-header tr:first-child th,
.article-body table.lizic-table-v60.lizic-table-first-row-header tr:first-child td,
.article-body .lizic-table-wrap > table.lizic-table-v60 thead th,
.article-body .lizic-table-wrap > table.lizic-table-v60 tr:first-child th {
  padding: 12px 14px !important;
  line-height: 1.45 !important;
  font-weight: 900 !important;
  text-align: left !important;
  vertical-align: middle !important;
  color: var(--text) !important;
  background: linear-gradient(180deg, rgba(239, 205, 158, 0.92), rgba(243, 214, 174, 0.92)) !important;
}

.article-body table.lizic-table-v60 tbody th,
.article-body table.lizic-table-v60 tbody td:first-child,
.article-body .lizic-table-wrap > table.lizic-table-v60 tbody th,
.article-body .lizic-table-wrap > table.lizic-table-v60 tbody td:first-child {
  font-weight: 850 !important;
  color: var(--text) !important;
  background: rgba(255, 247, 236, 0.74) !important;
}

.article-body table.lizic-table-v60 tbody td:not(:first-child),
.article-body .lizic-table-wrap > table.lizic-table-v60 tbody td:not(:first-child) {
  font-weight: 500 !important;
}

.article-body table.lizic-table-v60 tbody tr:nth-child(odd),
.article-body .lizic-table-wrap > table.lizic-table-v60 tbody tr:nth-child(odd) {
  background: rgba(255, 252, 247, 0.88) !important;
}

.article-body table.lizic-table-v60 tbody tr:nth-child(even),
.article-body .lizic-table-wrap > table.lizic-table-v60 tbody tr:nth-child(even) {
  background: rgba(250, 239, 224, 0.50) !important;
}

.article-body table.lizic-table-v60 col,
.article-body .lizic-table-wrap > table.lizic-table-v60 col {
  width: auto;
}

@media (min-width: 681px) {
  .article-body table.lizic-table-v60.lizic-table-cols-2.lizic-table-label-compact col:nth-child(1) { width: 30% !important; }
  .article-body table.lizic-table-v60.lizic-table-cols-2.lizic-table-label-compact col:nth-child(2) { width: 70% !important; }

  .article-body table.lizic-table-v60.lizic-table-cols-2.lizic-table-label-normal col:nth-child(1) { width: 36% !important; }
  .article-body table.lizic-table-v60.lizic-table-cols-2.lizic-table-label-normal col:nth-child(2) { width: 64% !important; }

  .article-body table.lizic-table-v60.lizic-table-cols-2.lizic-table-label-wide col:nth-child(1) { width: 42% !important; }
  .article-body table.lizic-table-v60.lizic-table-cols-2.lizic-table-label-wide col:nth-child(2) { width: 58% !important; }

  .article-body table.lizic-table-v60.lizic-table-cols-3.lizic-table-label-normal col:nth-child(1) { width: 34% !important; }
  .article-body table.lizic-table-v60.lizic-table-cols-3.lizic-table-label-normal col:nth-child(2) { width: 33% !important; }
  .article-body table.lizic-table-v60.lizic-table-cols-3.lizic-table-label-normal col:nth-child(3) { width: 33% !important; }

  .article-body table.lizic-table-v60.lizic-table-cols-3.lizic-table-label-wide col:nth-child(1) { width: 38% !important; }
  .article-body table.lizic-table-v60.lizic-table-cols-3.lizic-table-label-wide col:nth-child(2) { width: 31% !important; }
  .article-body table.lizic-table-v60.lizic-table-cols-3.lizic-table-label-wide col:nth-child(3) { width: 31% !important; }
}

@media (max-width: 680px) {
  .article-body .lizic-table-wrap {
    margin: 24px calc(var(--wrap, 20px) * -0.2) 30px !important;
    border-radius: 18px !important;
  }

  .article-body table.lizic-table-v60,
  .article-body .lizic-table-wrap > table.lizic-table-v60 {
    min-width: min(640px, 168vw) !important;
  }

  .article-body table.lizic-table-v60 th,
  .article-body table.lizic-table-v60 td,
  .article-body .lizic-table-wrap > table.lizic-table-v60 th,
  .article-body .lizic-table-wrap > table.lizic-table-v60 td {
    padding: 10px 11px !important;
    font-size: 13.8px !important;
    line-height: 1.5 !important;
  }

  .article-body table.lizic-table-v60 thead th,
  .article-body table.lizic-table-v60 tr:first-child th,
  .article-body table.lizic-table-v60.lizic-table-first-row-header tr:first-child th,
  .article-body table.lizic-table-v60.lizic-table-first-row-header tr:first-child td,
  .article-body .lizic-table-wrap > table.lizic-table-v60 thead th,
  .article-body .lizic-table-wrap > table.lizic-table-v60 tr:first-child th {
    padding: 10px 11px !important;
    font-size: 13.6px !important;
  }
}

html[data-theme="dark"] .article-body table.lizic-table-v60 thead th,
html[data-theme="dark"] .article-body table.lizic-table-v60 tr:first-child th,
html[data-theme="dark"] .article-body table.lizic-table-v60.lizic-table-first-row-header tr:first-child th,
html[data-theme="dark"] .article-body table.lizic-table-v60.lizic-table-first-row-header tr:first-child td,
html[data-theme="dark"] .article-body .lizic-table-wrap > table.lizic-table-v60 thead th,
html[data-theme="dark"] .article-body .lizic-table-wrap > table.lizic-table-v60 tr:first-child th,
body.dark-mode .article-body table.lizic-table-v60 thead th,
body.dark-mode .article-body table.lizic-table-v60 tr:first-child th,
body.dark-mode .article-body table.lizic-table-v60.lizic-table-first-row-header tr:first-child th,
body.dark-mode .article-body table.lizic-table-v60.lizic-table-first-row-header tr:first-child td,
body.dark-mode .article-body .lizic-table-wrap > table.lizic-table-v60 thead th,
body.dark-mode .article-body .lizic-table-wrap > table.lizic-table-v60 tr:first-child th {
  background: linear-gradient(180deg, rgba(108, 83, 58, 0.95), rgba(79, 70, 56, 0.92)) !important;
  color: #f7ead8 !important;
}

html[data-theme="dark"] .article-body table.lizic-table-v60 tbody th,
html[data-theme="dark"] .article-body table.lizic-table-v60 tbody td:first-child,
html[data-theme="dark"] .article-body .lizic-table-wrap > table.lizic-table-v60 tbody th,
html[data-theme="dark"] .article-body .lizic-table-wrap > table.lizic-table-v60 tbody td:first-child,
body.dark-mode .article-body table.lizic-table-v60 tbody th,
body.dark-mode .article-body table.lizic-table-v60 tbody td:first-child,
body.dark-mode .article-body .lizic-table-wrap > table.lizic-table-v60 tbody th,
body.dark-mode .article-body .lizic-table-wrap > table.lizic-table-v60 tbody td:first-child {
  background: rgba(48, 43, 37, 0.72) !important;
  color: #f5eadc !important;
}

/* =========================================================
   v1.61 - 2열/3열 표 가독성 중심 재정렬
   - 기존 nowrap 규칙을 확실히 해제해서 칸 겹침 방지
   - 2열/3열 표를 사람이 보기 좋은 비율로 고정
   - 긴 기술 문자열은 칸 안에서 자연스럽게 줄바꿈
   ========================================================= */
.article-body .lizic-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 28px 0 34px !important;
  border-radius: 20px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
}

.article-body table.lizic-table,
.article-body table.lizic-table-v60,
.article-body table.lizic-table-v61,
.article-body .lizic-table-wrap > table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.article-body table.lizic-table th,
.article-body table.lizic-table td,
.article-body table.lizic-table-v60 th,
.article-body table.lizic-table-v60 td,
.article-body table.lizic-table-v61 th,
.article-body table.lizic-table-v61 td,
.article-body .lizic-table-wrap > table th,
.article-body .lizic-table-wrap > table td {
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 12px 16px !important;
  line-height: 1.58 !important;
  vertical-align: middle !important;
  text-align: left !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  color: var(--text) !important;
}

.article-body table.lizic-table thead th,
.article-body table.lizic-table tr:first-child th,
.article-body table.lizic-table.lizic-table-first-row-header tr:first-child th,
.article-body table.lizic-table.lizic-table-first-row-header tr:first-child td,
.article-body table.lizic-table-v60 thead th,
.article-body table.lizic-table-v60 tr:first-child th,
.article-body table.lizic-table-v60.lizic-table-first-row-header tr:first-child th,
.article-body table.lizic-table-v60.lizic-table-first-row-header tr:first-child td,
.article-body table.lizic-table-v61 thead th,
.article-body table.lizic-table-v61 tr:first-child th,
.article-body table.lizic-table-v61.lizic-table-first-row-header tr:first-child th,
.article-body table.lizic-table-v61.lizic-table-first-row-header tr:first-child td,
.article-body .lizic-table-wrap > table thead th,
.article-body .lizic-table-wrap > table tr:first-child th {
  padding: 12px 16px !important;
  line-height: 1.45 !important;
  font-weight: 900 !important;
  text-align: left !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  color: var(--text) !important;
  background: linear-gradient(180deg, rgba(239, 205, 158, 0.94), rgba(243, 214, 174, 0.94)) !important;
}

.article-body table.lizic-table tbody th,
.article-body table.lizic-table tbody td:first-child,
.article-body table.lizic-table-v60 tbody th,
.article-body table.lizic-table-v60 tbody td:first-child,
.article-body table.lizic-table-v61 tbody th,
.article-body table.lizic-table-v61 tbody td:first-child,
.article-body .lizic-table-wrap > table tbody th,
.article-body .lizic-table-wrap > table tbody td:first-child {
  font-weight: 850 !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  background: rgba(255, 247, 236, 0.74) !important;
}

/* 2열 표: 왼쪽 항목, 오른쪽 설명이 가장 안정적으로 보이는 기본 비율 */
@media (min-width: 681px) {
  .article-body table.lizic-table-cols-2 col:nth-child(1),
  .article-body table.lizic-table-v60.lizic-table-cols-2 col:nth-child(1),
  .article-body table.lizic-table-v61.lizic-table-cols-2 col:nth-child(1),
  .article-body .lizic-table-wrap > table.lizic-table-cols-2 col:nth-child(1) {
    width: 38% !important;
  }
  .article-body table.lizic-table-cols-2 col:nth-child(2),
  .article-body table.lizic-table-v60.lizic-table-cols-2 col:nth-child(2),
  .article-body table.lizic-table-v61.lizic-table-cols-2 col:nth-child(2),
  .article-body .lizic-table-wrap > table.lizic-table-cols-2 col:nth-child(2) {
    width: 62% !important;
  }

  .article-body table.lizic-table-cols-2.lizic-table-label-compact col:nth-child(1),
  .article-body table.lizic-table-v61.lizic-table-cols-2.lizic-table-label-compact col:nth-child(1),
  .article-body .lizic-table-wrap > table.lizic-table-cols-2.lizic-table-label-compact col:nth-child(1) {
    width: 32% !important;
  }
  .article-body table.lizic-table-cols-2.lizic-table-label-compact col:nth-child(2),
  .article-body table.lizic-table-v61.lizic-table-cols-2.lizic-table-label-compact col:nth-child(2),
  .article-body .lizic-table-wrap > table.lizic-table-cols-2.lizic-table-label-compact col:nth-child(2) {
    width: 68% !important;
  }

  .article-body table.lizic-table-cols-2.lizic-table-label-wide col:nth-child(1),
  .article-body table.lizic-table-v61.lizic-table-cols-2.lizic-table-label-wide col:nth-child(1),
  .article-body .lizic-table-wrap > table.lizic-table-cols-2.lizic-table-label-wide col:nth-child(1) {
    width: 43% !important;
  }
  .article-body table.lizic-table-cols-2.lizic-table-label-wide col:nth-child(2),
  .article-body table.lizic-table-v61.lizic-table-cols-2.lizic-table-label-wide col:nth-child(2),
  .article-body .lizic-table-wrap > table.lizic-table-cols-2.lizic-table-label-wide col:nth-child(2) {
    width: 57% !important;
  }

  /* 3열 표: 첫 열은 기준, 2·3열은 비교 설명으로 보이게 균형 조정 */
  .article-body table.lizic-table-cols-3 col:nth-child(1),
  .article-body table.lizic-table-v60.lizic-table-cols-3 col:nth-child(1),
  .article-body table.lizic-table-v61.lizic-table-cols-3 col:nth-child(1),
  .article-body .lizic-table-wrap > table.lizic-table-cols-3 col:nth-child(1) {
    width: 34% !important;
  }
  .article-body table.lizic-table-cols-3 col:nth-child(2),
  .article-body table.lizic-table-v60.lizic-table-cols-3 col:nth-child(2),
  .article-body table.lizic-table-v61.lizic-table-cols-3 col:nth-child(2),
  .article-body .lizic-table-wrap > table.lizic-table-cols-3 col:nth-child(2) {
    width: 33% !important;
  }
  .article-body table.lizic-table-cols-3 col:nth-child(3),
  .article-body table.lizic-table-v60.lizic-table-cols-3 col:nth-child(3),
  .article-body table.lizic-table-v61.lizic-table-cols-3 col:nth-child(3),
  .article-body .lizic-table-wrap > table.lizic-table-cols-3 col:nth-child(3) {
    width: 33% !important;
  }

  .article-body table.lizic-table-cols-3.lizic-table-label-wide col:nth-child(1),
  .article-body table.lizic-table-v61.lizic-table-cols-3.lizic-table-label-wide col:nth-child(1),
  .article-body .lizic-table-wrap > table.lizic-table-cols-3.lizic-table-label-wide col:nth-child(1) {
    width: 38% !important;
  }
  .article-body table.lizic-table-cols-3.lizic-table-label-wide col:nth-child(2),
  .article-body table.lizic-table-v61.lizic-table-cols-3.lizic-table-label-wide col:nth-child(2),
  .article-body .lizic-table-wrap > table.lizic-table-cols-3.lizic-table-label-wide col:nth-child(2) {
    width: 31% !important;
  }
  .article-body table.lizic-table-cols-3.lizic-table-label-wide col:nth-child(3),
  .article-body table.lizic-table-v61.lizic-table-cols-3.lizic-table-label-wide col:nth-child(3),
  .article-body .lizic-table-wrap > table.lizic-table-cols-3.lizic-table-label-wide col:nth-child(3) {
    width: 31% !important;
  }
}

@media (max-width: 680px) {
  .article-body .lizic-table-wrap {
    margin: 24px calc(var(--wrap, 20px) * -0.25) 30px !important;
    border-radius: 18px !important;
  }

  .article-body table.lizic-table,
  .article-body table.lizic-table-v60,
  .article-body table.lizic-table-v61,
  .article-body .lizic-table-wrap > table {
    min-width: 620px !important;
  }

  .article-body table.lizic-table th,
  .article-body table.lizic-table td,
  .article-body table.lizic-table-v60 th,
  .article-body table.lizic-table-v60 td,
  .article-body table.lizic-table-v61 th,
  .article-body table.lizic-table-v61 td,
  .article-body .lizic-table-wrap > table th,
  .article-body .lizic-table-wrap > table td {
    padding: 10px 11px !important;
    font-size: 13.8px !important;
    line-height: 1.5 !important;
  }
}

html[data-theme="dark"] .article-body table.lizic-table-v61 thead th,
html[data-theme="dark"] .article-body table.lizic-table-v61 tr:first-child th,
html[data-theme="dark"] .article-body table.lizic-table-v61.lizic-table-first-row-header tr:first-child th,
html[data-theme="dark"] .article-body table.lizic-table-v61.lizic-table-first-row-header tr:first-child td,
body.dark-mode .article-body table.lizic-table-v61 thead th,
body.dark-mode .article-body table.lizic-table-v61 tr:first-child th,
body.dark-mode .article-body table.lizic-table-v61.lizic-table-first-row-header tr:first-child th,
body.dark-mode .article-body table.lizic-table-v61.lizic-table-first-row-header tr:first-child td {
  background: linear-gradient(180deg, rgba(108, 83, 58, 0.95), rgba(79, 70, 56, 0.92)) !important;
  color: #f7ead8 !important;
}

/* =========================================================
   v1.62: 표 가독성 재정렬
   - 2열/3열 표를 사람이 보기 좋은 고정 비율로 보정
   - 긴 한글/영문/경로/API 문자열 줄바꿈 강화
   ========================================================= */
.article-body table.lizic-table-v62,
.article-body .lizic-table-wrap > table.lizic-table-v62 {
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.article-body table.lizic-table-v62 th,
.article-body table.lizic-table-v62 td,
.article-body .lizic-table-wrap > table.lizic-table-v62 th,
.article-body .lizic-table-wrap > table.lizic-table-v62 td {
  min-width: 0 !important;
  max-width: 0 !important;
  padding: 13px 15px !important;
  line-height: 1.62 !important;
  vertical-align: middle !important;
  text-align: left !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  line-break: anywhere !important;
  hyphens: auto !important;
}

.article-body table.lizic-table-v62 thead th,
.article-body table.lizic-table-v62 tr:first-child th,
.article-body table.lizic-table-v62.lizic-table-first-row-header tr:first-child th,
.article-body table.lizic-table-v62.lizic-table-first-row-header tr:first-child td {
  padding: 12px 15px !important;
  line-height: 1.45 !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  line-break: auto !important;
}

.article-body table.lizic-table-v62 tbody th,
.article-body table.lizic-table-v62 tbody td:first-child {
  font-weight: 850 !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  line-break: anywhere !important;
}

.article-body table.lizic-table-v62 td code,
.article-body table.lizic-table-v62 th code,
.article-body table.lizic-table-v62 td a,
.article-body table.lizic-table-v62 th a,
.article-body table.lizic-table-v62 td strong,
.article-body table.lizic-table-v62 th strong {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  line-break: anywhere !important;
}

/* 짧은 상태값 열은 자연스럽게 가운데가 아니라 좌측 기준으로 차분하게 배치 */
.article-body table.lizic-table-v62 td:nth-child(n+2),
.article-body table.lizic-table-v62 th:nth-child(n+2) {
  padding-left: 17px !important;
}

/* 3열 표 기본: 기준/원인/방향이 균형 있게 보이는 비율 */
@media (min-width: 681px) {
  .article-body table.lizic-table-v62.lizic-table-cols-2:not(.lizic-table-label-wide) col:nth-child(1) { width: 38% !important; }
  .article-body table.lizic-table-v62.lizic-table-cols-2:not(.lizic-table-label-wide) col:nth-child(2) { width: 62% !important; }

  .article-body table.lizic-table-v62.lizic-table-cols-2.lizic-table-label-compact col:nth-child(1) { width: 32% !important; }
  .article-body table.lizic-table-v62.lizic-table-cols-2.lizic-table-label-compact col:nth-child(2) { width: 68% !important; }

  .article-body table.lizic-table-v62.lizic-table-cols-2.lizic-table-label-wide col:nth-child(1) { width: 42% !important; }
  .article-body table.lizic-table-v62.lizic-table-cols-2.lizic-table-label-wide col:nth-child(2) { width: 58% !important; }

  .article-body table.lizic-table-v62.lizic-table-cols-3:not(.lizic-table-label-wide) col:nth-child(1) { width: 30% !important; }
  .article-body table.lizic-table-v62.lizic-table-cols-3:not(.lizic-table-label-wide) col:nth-child(2) { width: 34% !important; }
  .article-body table.lizic-table-v62.lizic-table-cols-3:not(.lizic-table-label-wide) col:nth-child(3) { width: 36% !important; }

  .article-body table.lizic-table-v62.lizic-table-cols-3.lizic-table-label-wide col:nth-child(1) { width: 36% !important; }
  .article-body table.lizic-table-v62.lizic-table-cols-3.lizic-table-label-wide col:nth-child(2) { width: 31% !important; }
  .article-body table.lizic-table-v62.lizic-table-cols-3.lizic-table-label-wide col:nth-child(3) { width: 33% !important; }
}

@media (max-width: 680px) {
  .article-body table.lizic-table-v62,
  .article-body .lizic-table-wrap > table.lizic-table-v62 {
    min-width: 640px !important;
  }

  .article-body table.lizic-table-v62 th,
  .article-body table.lizic-table-v62 td {
    max-width: none !important;
    padding: 10px 11px !important;
    font-size: 13.8px !important;
    line-height: 1.52 !important;
  }
}

/* =========================================================
   v1.63: 모바일 좁은 화면 표 카드형 전환
   - 680px 이하에서는 표를 억지 가로 스크롤로 보이지 않게 하지 않고
     각 행을 카드처럼 보여서 모든 내용을 바로 읽을 수 있게 처리
   ========================================================= */
.article-body table.lizic-table-v63,
.article-body .lizic-table-wrap > table.lizic-table-v63 {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}

.article-body table.lizic-table-v63 th,
.article-body table.lizic-table-v63 td,
.article-body .lizic-table-wrap > table.lizic-table-v63 th,
.article-body .lizic-table-wrap > table.lizic-table-v63 td {
  min-width: 0 !important;
  max-width: none !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  line-break: auto !important;
}

@media (max-width: 680px) {
  .article-body .lizic-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 22px 0 28px !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    border-radius: 0 !important;
  }

  .article-body table.lizic-table-v63,
  .article-body .lizic-table-wrap > table.lizic-table-v63 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .article-body table.lizic-table-v63 colgroup,
  .article-body .lizic-table-wrap > table.lizic-table-v63 colgroup,
  .article-body table.lizic-table-v63 thead,
  .article-body .lizic-table-wrap > table.lizic-table-v63 thead,
  .article-body table.lizic-table-v63 tr:first-child,
  .article-body .lizic-table-wrap > table.lizic-table-v63 tr:first-child {
    display: none !important;
  }

  .article-body table.lizic-table-v63 tbody,
  .article-body .lizic-table-wrap > table.lizic-table-v63 tbody {
    display: block !important;
    width: 100% !important;
  }

  .article-body table.lizic-table-v63 tr:not(:first-child),
  .article-body .lizic-table-wrap > table.lizic-table-v63 tr:not(:first-child) {
    display: block !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(211, 166, 115, 0.38) !important;
    border-radius: 18px !important;
    background: rgba(255, 250, 242, 0.92) !important;
    box-shadow: 0 10px 26px rgba(90, 58, 30, 0.07) !important;
  }

  .article-body table.lizic-table-v63 tr:not(:first-child) > th,
  .article-body table.lizic-table-v63 tr:not(:first-child) > td,
  .article-body .lizic-table-wrap > table.lizic-table-v63 tr:not(:first-child) > th,
  .article-body .lizic-table-wrap > table.lizic-table-v63 tr:not(:first-child) > td {
    display: grid !important;
    grid-template-columns: minmax(82px, 34%) minmax(0, 1fr) !important;
    column-gap: 12px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 11px 13px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(211, 166, 115, 0.22) !important;
    background: transparent !important;
    color: var(--text) !important;
    font-size: 13.8px !important;
    line-height: 1.56 !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    line-break: auto !important;
  }

  .article-body table.lizic-table-v63 tr:not(:first-child) > th:last-child,
  .article-body table.lizic-table-v63 tr:not(:first-child) > td:last-child,
  .article-body .lizic-table-wrap > table.lizic-table-v63 tr:not(:first-child) > th:last-child,
  .article-body .lizic-table-wrap > table.lizic-table-v63 tr:not(:first-child) > td:last-child {
    border-bottom: 0 !important;
  }

  .article-body table.lizic-table-v63 tr:not(:first-child) > th::before,
  .article-body table.lizic-table-v63 tr:not(:first-child) > td::before,
  .article-body .lizic-table-wrap > table.lizic-table-v63 tr:not(:first-child) > th::before,
  .article-body .lizic-table-wrap > table.lizic-table-v63 tr:not(:first-child) > td::before {
    content: attr(data-label) !important;
    display: block !important;
    min-width: 0 !important;
    color: var(--accent-dark) !important;
    font-size: 12.6px !important;
    font-weight: 900 !important;
    line-height: 1.45 !important;
    letter-spacing: -0.035em !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  .article-body table.lizic-table-v63 tr:not(:first-child) > th > *,
  .article-body table.lizic-table-v63 tr:not(:first-child) > td > *,
  .article-body .lizic-table-wrap > table.lizic-table-v63 tr:not(:first-child) > th > *,
  .article-body .lizic-table-wrap > table.lizic-table-v63 tr:not(:first-child) > td > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 420px) {
  .article-body table.lizic-table-v63 tr:not(:first-child) > th,
  .article-body table.lizic-table-v63 tr:not(:first-child) > td,
  .article-body .lizic-table-wrap > table.lizic-table-v63 tr:not(:first-child) > th,
  .article-body .lizic-table-wrap > table.lizic-table-v63 tr:not(:first-child) > td {
    grid-template-columns: 1fr !important;
    row-gap: 5px !important;
    padding: 11px 12px !important;
  }
}

html[data-theme="dark"] .article-body table.lizic-table-v63 tr:not(:first-child),
html[data-theme="dark"] .article-body .lizic-table-wrap > table.lizic-table-v63 tr:not(:first-child),
body.dark-mode .article-body table.lizic-table-v63 tr:not(:first-child),
body.dark-mode .article-body .lizic-table-wrap > table.lizic-table-v63 tr:not(:first-child) {
  border-color: rgba(211, 166, 115, 0.24) !important;
  background: rgba(31, 37, 45, 0.92) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22) !important;
}


/* =========================================================
   v1.64: 모바일 표를 한눈에 읽히는 카드형으로 재정리
   - 2열: 첫 칸은 카드 제목, 둘째 칸은 본문
   - 3열: 첫 칸은 카드 제목, 2·3번째 칸은 라벨/내용 행
   - 좁은 화면에서도 줄바꿈이 자연스럽게 보이도록 값 영역을 span으로 감쌈
   ========================================================= */
.article-body table.lizic-table-v64,
.article-body .lizic-table-wrap > table.lizic-table-v64 {
  width: 100% !important;
  table-layout: fixed !important;
}

.article-body table.lizic-table-v64 th,
.article-body table.lizic-table-v64 td,
.article-body .lizic-table-wrap > table.lizic-table-v64 th,
.article-body .lizic-table-wrap > table.lizic-table-v64 td {
  min-width: 0 !important;
  max-width: none !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  line-break: auto !important;
}

.article-body table.lizic-table-v64 .lizic-cell-value {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  line-break: auto !important;
}

@media (max-width: 680px) {
  .article-body .lizic-table-wrap-v64 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 22px 0 30px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .article-body .lizic-table-wrap-v64::before {
    display: none !important;
    content: none !important;
  }

  .article-body table.lizic-table-v64,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    table-layout: auto !important;
  }

  .article-body table.lizic-table-v64 colgroup,
  .article-body table.lizic-table-v64 thead,
  .article-body table.lizic-table-v64 tr:first-child,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 colgroup,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 thead,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 tr:first-child {
    display: none !important;
  }

  .article-body table.lizic-table-v64 tbody,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 tbody {
    display: block !important;
    width: 100% !important;
  }

  .article-body table.lizic-table-v64 tr:not(:first-child),
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 tr:not(:first-child) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(211, 166, 115, 0.40) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(255, 246, 234, 0.92)) !important;
    box-shadow: 0 12px 28px rgba(90, 58, 30, 0.075) !important;
  }

  .article-body table.lizic-table-v64 tr:not(:first-child) > th,
  .article-body table.lizic-table-v64 tr:not(:first-child) > td,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 tr:not(:first-child) > th,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 tr:not(:first-child) > td {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-right: 0 !important;
    background: transparent !important;
    color: var(--text) !important;
    text-align: left !important;
    vertical-align: top !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    line-break: auto !important;
  }

  /* 카드 제목: 각 행의 첫 번째 칸 */
  .article-body table.lizic-table-v64 tr:not(:first-child) > th:first-child,
  .article-body table.lizic-table-v64 tr:not(:first-child) > td:first-child,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 tr:not(:first-child) > th:first-child,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 tr:not(:first-child) > td:first-child {
    display: block !important;
    padding: 14px 16px 12px !important;
    border-bottom: 1px solid rgba(211, 166, 115, 0.24) !important;
    background: rgba(247, 223, 190, 0.52) !important;
    color: #17304c !important;
    font-size: 14.4px !important;
    font-weight: 900 !important;
    line-height: 1.55 !important;
    letter-spacing: -0.04em !important;
  }

  .article-body table.lizic-table-v64 tr:not(:first-child) > th:first-child::before,
  .article-body table.lizic-table-v64 tr:not(:first-child) > td:first-child::before,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 tr:not(:first-child) > th:first-child::before,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 tr:not(:first-child) > td:first-child::before {
    display: none !important;
    content: none !important;
  }

  /* 2열 표: 두 번째 칸은 카드 본문처럼 단정하게 */
  .article-body table.lizic-table-v64.lizic-table-cols-2 tr:not(:first-child) > th:nth-child(2),
  .article-body table.lizic-table-v64.lizic-table-cols-2 tr:not(:first-child) > td:nth-child(2),
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64.lizic-table-cols-2 tr:not(:first-child) > th:nth-child(2),
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64.lizic-table-cols-2 tr:not(:first-child) > td:nth-child(2) {
    display: block !important;
    padding: 13px 16px 15px !important;
    border-bottom: 0 !important;
    color: #25364a !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.64 !important;
  }

  .article-body table.lizic-table-v64.lizic-table-cols-2 tr:not(:first-child) > th:nth-child(2)::before,
  .article-body table.lizic-table-v64.lizic-table-cols-2 tr:not(:first-child) > td:nth-child(2)::before,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64.lizic-table-cols-2 tr:not(:first-child) > th:nth-child(2)::before,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64.lizic-table-cols-2 tr:not(:first-child) > td:nth-child(2)::before {
    display: none !important;
    content: none !important;
  }

  /* 3열 이상 표: 2번째 칸부터 라벨/내용 행 */
  .article-body table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > th:not(:first-child),
  .article-body table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > td:not(:first-child),
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > th:not(:first-child),
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > td:not(:first-child) {
    display: grid !important;
    grid-template-columns: minmax(76px, 27%) minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    padding: 11px 16px !important;
    border-bottom: 1px solid rgba(211, 166, 115, 0.20) !important;
    color: #25364a !important;
    font-size: 13.8px !important;
    font-weight: 500 !important;
    line-height: 1.58 !important;
  }

  .article-body table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > th:last-child,
  .article-body table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > td:last-child,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > th:last-child,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > td:last-child {
    border-bottom: 0 !important;
  }

  .article-body table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > th:not(:first-child)::before,
  .article-body table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > td:not(:first-child)::before,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > th:not(:first-child)::before,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > td:not(:first-child)::before {
    content: attr(data-label) !important;
    display: block !important;
    min-width: 0 !important;
    color: var(--accent-dark) !important;
    font-size: 12.5px !important;
    font-weight: 900 !important;
    line-height: 1.45 !important;
    letter-spacing: -0.035em !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  .article-body table.lizic-table-v64 tr:not(:first-child) > th .lizic-cell-value,
  .article-body table.lizic-table-v64 tr:not(:first-child) > td .lizic-cell-value,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 tr:not(:first-child) > th .lizic-cell-value,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 tr:not(:first-child) > td .lizic-cell-value {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    line-break: auto !important;
  }
}

@media (max-width: 420px) {
  .article-body table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > th:not(:first-child),
  .article-body table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > td:not(:first-child),
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > th:not(:first-child),
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > td:not(:first-child) {
    display: block !important;
    padding: 11px 14px !important;
  }

  .article-body table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > th:not(:first-child)::before,
  .article-body table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > td:not(:first-child)::before,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > th:not(:first-child)::before,
  .article-body .lizic-table-wrap-v64 > table.lizic-table-v64:not(.lizic-table-cols-2) tr:not(:first-child) > td:not(:first-child)::before {
    margin-bottom: 5px !important;
  }
}

html[data-theme="dark"] .article-body table.lizic-table-v64 tr:not(:first-child),
html[data-theme="dark"] .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 tr:not(:first-child),
body.dark-mode .article-body table.lizic-table-v64 tr:not(:first-child),
body.dark-mode .article-body .lizic-table-wrap-v64 > table.lizic-table-v64 tr:not(:first-child) {
  border-color: rgba(211, 166, 115, 0.25) !important;
  background: linear-gradient(180deg, rgba(31, 37, 45, 0.96), rgba(26, 31, 39, 0.92)) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24) !important;
}

html[data-theme="dark"] .article-body table.lizic-table-v64 tr:not(:first-child) > th:first-child,
html[data-theme="dark"] .article-body table.lizic-table-v64 tr:not(:first-child) > td:first-child,
body.dark-mode .article-body table.lizic-table-v64 tr:not(:first-child) > th:first-child,
body.dark-mode .article-body table.lizic-table-v64 tr:not(:first-child) > td:first-child {
  background: rgba(211, 166, 115, 0.13) !important;
  color: #f2e4cf !important;
}


/* =========================================================
   v1.65: 모바일 표 완전 재구성
   - 좁은 화면에서는 원본 table을 숨기고 JS가 만든 카드형 표를 표시
   - 2열/3열 모두 내용이 잘리지 않도록 실제 div 카드로 렌더링
   ========================================================= */
.article-body .lizic-mobile-table-cards-v65,
.entry-content .lizic-mobile-table-cards-v65,
.contents_style .lizic-mobile-table-cards-v65 {
  display: none;
}

@media (max-width: 680px) {
  .article-body .lizic-table-wrap-v65,
  .entry-content .lizic-table-wrap-v65,
  .contents_style .lizic-table-wrap-v65,
  .article-body table.lizic-table-v65:not(.lizic-has-wrap-v65),
  .entry-content table.lizic-table-v65:not(.lizic-has-wrap-v65),
  .contents_style table.lizic-table-v65:not(.lizic-has-wrap-v65) {
    display: none !important;
  }

  .article-body .lizic-mobile-table-cards-v65,
  .entry-content .lizic-mobile-table-cards-v65,
  .contents_style .lizic-mobile-table-cards-v65 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px 0 32px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .article-body .lizic-mobile-table-card-v65,
  .entry-content .lizic-mobile-table-card-v65,
  .contents_style .lizic-mobile-table-card-v65 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border: 1px solid rgba(211, 166, 115, 0.42) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(255, 247, 235, 0.94)) !important;
    box-shadow: 0 12px 28px rgba(90, 58, 30, 0.075) !important;
  }

  .article-body .lizic-mobile-table-title-v65,
  .entry-content .lizic-mobile-table-title-v65,
  .contents_style .lizic-mobile-table-title-v65 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 13px 16px 12px !important;
    border-bottom: 1px solid rgba(211, 166, 115, 0.26) !important;
    background: linear-gradient(135deg, rgba(247, 223, 190, 0.70), rgba(255, 242, 222, 0.55)) !important;
    color: #17304c !important;
    font-size: 14.6px !important;
    font-weight: 900 !important;
    line-height: 1.58 !important;
    letter-spacing: -0.035em !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  .article-body .lizic-mobile-table-title-v65:empty,
  .entry-content .lizic-mobile-table-title-v65:empty,
  .contents_style .lizic-mobile-table-title-v65:empty {
    display: none !important;
  }

  .article-body .lizic-mobile-table-body-v65,
  .entry-content .lizic-mobile-table-body-v65,
  .contents_style .lizic-mobile-table-body-v65 {
    display: grid !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .article-body .lizic-mobile-table-field-v65,
  .entry-content .lizic-mobile-table-field-v65,
  .contents_style .lizic-mobile-table-field-v65 {
    display: grid !important;
    grid-template-columns: minmax(82px, 28%) minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(211, 166, 115, 0.18) !important;
  }

  .article-body .lizic-mobile-table-field-v65:last-child,
  .entry-content .lizic-mobile-table-field-v65:last-child,
  .contents_style .lizic-mobile-table-field-v65:last-child {
    border-bottom: 0 !important;
  }

  .article-body .lizic-mobile-table-card-v65.lizic-card-2col-v65 .lizic-mobile-table-field-v65,
  .entry-content .lizic-mobile-table-card-v65.lizic-card-2col-v65 .lizic-mobile-table-field-v65,
  .contents_style .lizic-mobile-table-card-v65.lizic-card-2col-v65 .lizic-mobile-table-field-v65 {
    display: block !important;
    padding: 13px 16px 15px !important;
  }

  .article-body .lizic-mobile-table-label-v65,
  .entry-content .lizic-mobile-table-label-v65,
  .contents_style .lizic-mobile-table-label-v65 {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    color: var(--accent-dark) !important;
    font-size: 12.6px !important;
    font-weight: 900 !important;
    line-height: 1.45 !important;
    letter-spacing: -0.035em !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  .article-body .lizic-mobile-table-card-v65.lizic-card-2col-v65 .lizic-mobile-table-label-v65,
  .entry-content .lizic-mobile-table-card-v65.lizic-card-2col-v65 .lizic-mobile-table-label-v65,
  .contents_style .lizic-mobile-table-card-v65.lizic-card-2col-v65 .lizic-mobile-table-label-v65 {
    display: none !important;
  }

  .article-body .lizic-mobile-table-value-v65,
  .entry-content .lizic-mobile-table-value-v65,
  .contents_style .lizic-mobile-table-value-v65,
  .article-body .lizic-mobile-table-value-v65 *,
  .entry-content .lizic-mobile-table-value-v65 *,
  .contents_style .lizic-mobile-table-value-v65 * {
    min-width: 0 !important;
    max-width: 100% !important;
    color: #25364a !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
    letter-spacing: -0.025em !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    line-break: auto !important;
  }

  .article-body .lizic-mobile-table-value-v65 code,
  .entry-content .lizic-mobile-table-value-v65 code,
  .contents_style .lizic-mobile-table-value-v65 code {
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 420px) {
  .article-body .lizic-mobile-table-field-v65,
  .entry-content .lizic-mobile-table-field-v65,
  .contents_style .lizic-mobile-table-field-v65 {
    display: block !important;
    padding: 12px 14px !important;
  }

  .article-body .lizic-mobile-table-label-v65,
  .entry-content .lizic-mobile-table-label-v65,
  .contents_style .lizic-mobile-table-label-v65 {
    margin-bottom: 5px !important;
  }

  .article-body .lizic-mobile-table-title-v65,
  .entry-content .lizic-mobile-table-title-v65,
  .contents_style .lizic-mobile-table-title-v65 {
    padding: 12px 14px 11px !important;
    font-size: 14.2px !important;
  }

  .article-body .lizic-mobile-table-value-v65,
  .entry-content .lizic-mobile-table-value-v65,
  .contents_style .lizic-mobile-table-value-v65,
  .article-body .lizic-mobile-table-value-v65 *,
  .entry-content .lizic-mobile-table-value-v65 *,
  .contents_style .lizic-mobile-table-value-v65 * {
    font-size: 13.7px !important;
    line-height: 1.62 !important;
  }
}

html[data-theme="dark"] .article-body .lizic-mobile-table-card-v65,
html[data-theme="dark"] .entry-content .lizic-mobile-table-card-v65,
html[data-theme="dark"] .contents_style .lizic-mobile-table-card-v65,
body.dark-mode .article-body .lizic-mobile-table-card-v65,
body.dark-mode .entry-content .lizic-mobile-table-card-v65,
body.dark-mode .contents_style .lizic-mobile-table-card-v65 {
  border-color: rgba(211, 166, 115, 0.25) !important;
  background: linear-gradient(180deg, rgba(31, 37, 45, 0.96), rgba(26, 31, 39, 0.92)) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24) !important;
}

html[data-theme="dark"] .article-body .lizic-mobile-table-title-v65,
html[data-theme="dark"] .entry-content .lizic-mobile-table-title-v65,
html[data-theme="dark"] .contents_style .lizic-mobile-table-title-v65,
body.dark-mode .article-body .lizic-mobile-table-title-v65,
body.dark-mode .entry-content .lizic-mobile-table-title-v65,
body.dark-mode .contents_style .lizic-mobile-table-title-v65 {
  border-color: rgba(211, 166, 115, 0.20) !important;
  background: rgba(211, 166, 115, 0.13) !important;
  color: #f2e4cf !important;
}

html[data-theme="dark"] .article-body .lizic-mobile-table-field-v65,
html[data-theme="dark"] .entry-content .lizic-mobile-table-field-v65,
html[data-theme="dark"] .contents_style .lizic-mobile-table-field-v65,
body.dark-mode .article-body .lizic-mobile-table-field-v65,
body.dark-mode .entry-content .lizic-mobile-table-field-v65,
body.dark-mode .contents_style .lizic-mobile-table-field-v65 {
  border-color: rgba(211, 166, 115, 0.16) !important;
}

html[data-theme="dark"] .article-body .lizic-mobile-table-label-v65,
html[data-theme="dark"] .entry-content .lizic-mobile-table-label-v65,
html[data-theme="dark"] .contents_style .lizic-mobile-table-label-v65,
body.dark-mode .article-body .lizic-mobile-table-label-v65,
body.dark-mode .entry-content .lizic-mobile-table-label-v65,
body.dark-mode .contents_style .lizic-mobile-table-label-v65 {
  color: #e6c6a1 !important;
}

html[data-theme="dark"] .article-body .lizic-mobile-table-value-v65,
html[data-theme="dark"] .entry-content .lizic-mobile-table-value-v65,
html[data-theme="dark"] .contents_style .lizic-mobile-table-value-v65,
html[data-theme="dark"] .article-body .lizic-mobile-table-value-v65 *,
html[data-theme="dark"] .entry-content .lizic-mobile-table-value-v65 *,
html[data-theme="dark"] .contents_style .lizic-mobile-table-value-v65 *,
body.dark-mode .article-body .lizic-mobile-table-value-v65,
body.dark-mode .entry-content .lizic-mobile-table-value-v65,
body.dark-mode .contents_style .lizic-mobile-table-value-v65,
body.dark-mode .article-body .lizic-mobile-table-value-v65 *,
body.dark-mode .entry-content .lizic-mobile-table-value-v65 *,
body.dark-mode .contents_style .lizic-mobile-table-value-v65 * {
  color: #e9edf2 !important;
}


/* =========================================================
   v1.66: 모바일 표 최종 안정화
   - 모바일에서 JS 카드 렌더링 실패 시에도 원본 table 내용이 반드시 보이도록 처리
   - 2열/3열 모두 행 단위 카드로 표시
   - 기존 v63/v64/v65 모바일 표 규칙을 후순위로 덮어씀
   ========================================================= */
.article-body .lizic-mobile-table-cards-v65,
.entry-content .lizic-mobile-table-cards-v65,
.contents_style .lizic-mobile-table-cards-v65 {
  display: none !important;
}

@media (max-width: 680px) {
  .article-body .lizic-table-wrap,
  .entry-content .lizic-table-wrap,
  .contents_style .lizic-table-wrap,
  .article-body .lizic-table-wrap-v64,
  .entry-content .lizic-table-wrap-v64,
  .contents_style .lizic-table-wrap-v64,
  .article-body .lizic-table-wrap-v65,
  .entry-content .lizic-table-wrap-v65,
  .contents_style .lizic-table-wrap-v65,
  .article-body .lizic-table-wrap-v66,
  .entry-content .lizic-table-wrap-v66,
  .contents_style .lizic-table-wrap-v66 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 22px 0 30px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .article-body .lizic-table-wrap::before,
  .entry-content .lizic-table-wrap::before,
  .contents_style .lizic-table-wrap::before,
  .article-body .lizic-table-wrap-v64::before,
  .entry-content .lizic-table-wrap-v64::before,
  .contents_style .lizic-table-wrap-v64::before,
  .article-body .lizic-table-wrap-v65::before,
  .entry-content .lizic-table-wrap-v65::before,
  .contents_style .lizic-table-wrap-v65::before,
  .article-body .lizic-table-wrap-v66::before,
  .entry-content .lizic-table-wrap-v66::before,
  .contents_style .lizic-table-wrap-v66::before {
    display: none !important;
    content: none !important;
  }

  .article-body table.lizic-table,
  .entry-content table.lizic-table,
  .contents_style table.lizic-table,
  .article-body .lizic-table-wrap > table,
  .entry-content .lizic-table-wrap > table,
  .contents_style .lizic-table-wrap > table,
  .article-body table.lizic-table-v63,
  .entry-content table.lizic-table-v63,
  .contents_style table.lizic-table-v63,
  .article-body table.lizic-table-v64,
  .entry-content table.lizic-table-v64,
  .contents_style table.lizic-table-v64,
  .article-body table.lizic-table-v65,
  .entry-content table.lizic-table-v65,
  .contents_style table.lizic-table-v65,
  .article-body table.lizic-table-v66,
  .entry-content table.lizic-table-v66,
  .contents_style table.lizic-table-v66 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    table-layout: auto !important;
    overflow: visible !important;
  }

  .article-body table.lizic-table colgroup,
  .entry-content table.lizic-table colgroup,
  .contents_style table.lizic-table colgroup,
  .article-body table.lizic-table thead,
  .entry-content table.lizic-table thead,
  .contents_style table.lizic-table thead,
  .article-body table.lizic-table tr:first-child,
  .entry-content table.lizic-table tr:first-child,
  .contents_style table.lizic-table tr:first-child {
    display: none !important;
  }

  .article-body table.lizic-table tbody,
  .entry-content table.lizic-table tbody,
  .contents_style table.lizic-table tbody {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .article-body table.lizic-table tr:not(:first-child),
  .entry-content table.lizic-table tr:not(:first-child),
  .contents_style table.lizic-table tr:not(:first-child) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 1px solid rgba(211, 166, 115, 0.42) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.99), rgba(255, 247, 236, 0.96)) !important;
    box-shadow: 0 12px 28px rgba(90, 58, 30, 0.075) !important;
    overflow: hidden !important;
  }

  .article-body table.lizic-table tr:not(:first-child) > th,
  .entry-content table.lizic-table tr:not(:first-child) > th,
  .contents_style table.lizic-table tr:not(:first-child) > th,
  .article-body table.lizic-table tr:not(:first-child) > td,
  .entry-content table.lizic-table tr:not(:first-child) > td,
  .contents_style table.lizic-table tr:not(:first-child) > td {
    display: block !important;
    position: static !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 12px 15px !important;
    border: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(211, 166, 115, 0.18) !important;
    background: transparent !important;
    color: #25364a !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.64 !important;
    letter-spacing: -0.025em !important;
    text-align: left !important;
    vertical-align: top !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    line-break: auto !important;
    overflow: visible !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .article-body table.lizic-table tr:not(:first-child) > th:last-child,
  .entry-content table.lizic-table tr:not(:first-child) > th:last-child,
  .contents_style table.lizic-table tr:not(:first-child) > th:last-child,
  .article-body table.lizic-table tr:not(:first-child) > td:last-child,
  .entry-content table.lizic-table tr:not(:first-child) > td:last-child,
  .contents_style table.lizic-table tr:not(:first-child) > td:last-child {
    border-bottom: 0 !important;
  }

  .article-body table.lizic-table tr:not(:first-child) > th:first-child,
  .entry-content table.lizic-table tr:not(:first-child) > th:first-child,
  .contents_style table.lizic-table tr:not(:first-child) > th:first-child,
  .article-body table.lizic-table tr:not(:first-child) > td:first-child,
  .entry-content table.lizic-table tr:not(:first-child) > td:first-child,
  .contents_style table.lizic-table tr:not(:first-child) > td:first-child {
    padding: 13px 15px 12px !important;
    border-bottom: 1px solid rgba(211, 166, 115, 0.26) !important;
    background: linear-gradient(135deg, rgba(247, 223, 190, 0.74), rgba(255, 242, 222, 0.58)) !important;
    color: #17304c !important;
    font-size: 14.5px !important;
    font-weight: 900 !important;
    line-height: 1.58 !important;
  }

  .article-body table.lizic-table tr:not(:first-child) > th:first-child::before,
  .entry-content table.lizic-table tr:not(:first-child) > th:first-child::before,
  .contents_style table.lizic-table tr:not(:first-child) > th:first-child::before,
  .article-body table.lizic-table tr:not(:first-child) > td:first-child::before,
  .entry-content table.lizic-table tr:not(:first-child) > td:first-child::before,
  .contents_style table.lizic-table tr:not(:first-child) > td:first-child::before {
    display: none !important;
    content: none !important;
  }

  .article-body table.lizic-table:not(.lizic-table-cols-2) tr:not(:first-child) > th:not(:first-child)::before,
  .entry-content table.lizic-table:not(.lizic-table-cols-2) tr:not(:first-child) > th:not(:first-child)::before,
  .contents_style table.lizic-table:not(.lizic-table-cols-2) tr:not(:first-child) > th:not(:first-child)::before,
  .article-body table.lizic-table:not(.lizic-table-cols-2) tr:not(:first-child) > td:not(:first-child)::before,
  .entry-content table.lizic-table:not(.lizic-table-cols-2) tr:not(:first-child) > td:not(:first-child)::before,
  .contents_style table.lizic-table:not(.lizic-table-cols-2) tr:not(:first-child) > td:not(:first-child)::before {
    content: attr(data-label) !important;
    display: inline-flex !important;
    align-items: center !important;
    max-width: 100% !important;
    margin: 0 8px 5px 0 !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    background: rgba(211, 166, 115, 0.18) !important;
    color: var(--accent-dark) !important;
    font-size: 12.2px !important;
    font-weight: 900 !important;
    line-height: 1.45 !important;
    letter-spacing: -0.035em !important;
    vertical-align: baseline !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  .article-body table.lizic-table.lizic-table-cols-2 tr:not(:first-child) > th:nth-child(2)::before,
  .entry-content table.lizic-table.lizic-table-cols-2 tr:not(:first-child) > th:nth-child(2)::before,
  .contents_style table.lizic-table.lizic-table-cols-2 tr:not(:first-child) > th:nth-child(2)::before,
  .article-body table.lizic-table.lizic-table-cols-2 tr:not(:first-child) > td:nth-child(2)::before,
  .entry-content table.lizic-table.lizic-table-cols-2 tr:not(:first-child) > td:nth-child(2)::before,
  .contents_style table.lizic-table.lizic-table-cols-2 tr:not(:first-child) > td:nth-child(2)::before {
    display: none !important;
    content: none !important;
  }

  .article-body table.lizic-table tr:not(:first-child) > th *,
  .entry-content table.lizic-table tr:not(:first-child) > th *,
  .contents_style table.lizic-table tr:not(:first-child) > th *,
  .article-body table.lizic-table tr:not(:first-child) > td *,
  .entry-content table.lizic-table tr:not(:first-child) > td *,
  .contents_style table.lizic-table tr:not(:first-child) > td *,
  .article-body table.lizic-table .lizic-cell-value,
  .entry-content table.lizic-table .lizic-cell-value,
  .contents_style table.lizic-table .lizic-cell-value {
    display: inline !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    line-break: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

@media (max-width: 420px) {
  .article-body table.lizic-table tr:not(:first-child) > th,
  .entry-content table.lizic-table tr:not(:first-child) > th,
  .contents_style table.lizic-table tr:not(:first-child) > th,
  .article-body table.lizic-table tr:not(:first-child) > td,
  .entry-content table.lizic-table tr:not(:first-child) > td,
  .contents_style table.lizic-table tr:not(:first-child) > td {
    padding: 11px 13px !important;
    font-size: 13.7px !important;
    line-height: 1.62 !important;
  }

  .article-body table.lizic-table tr:not(:first-child) > th:first-child,
  .entry-content table.lizic-table tr:not(:first-child) > th:first-child,
  .contents_style table.lizic-table tr:not(:first-child) > th:first-child,
  .article-body table.lizic-table tr:not(:first-child) > td:first-child,
  .entry-content table.lizic-table tr:not(:first-child) > td:first-child,
  .contents_style table.lizic-table tr:not(:first-child) > td:first-child {
    padding: 12px 13px 11px !important;
    font-size: 14px !important;
  }

  .article-body table.lizic-table:not(.lizic-table-cols-2) tr:not(:first-child) > th:not(:first-child)::before,
  .entry-content table.lizic-table:not(.lizic-table-cols-2) tr:not(:first-child) > th:not(:first-child)::before,
  .contents_style table.lizic-table:not(.lizic-table-cols-2) tr:not(:first-child) > th:not(:first-child)::before,
  .article-body table.lizic-table:not(.lizic-table-cols-2) tr:not(:first-child) > td:not(:first-child)::before,
  .entry-content table.lizic-table:not(.lizic-table-cols-2) tr:not(:first-child) > td:not(:first-child)::before,
  .contents_style table.lizic-table:not(.lizic-table-cols-2) tr:not(:first-child) > td:not(:first-child)::before {
    display: table !important;
    margin: 0 0 5px !important;
  }
}

html[data-theme="dark"] .article-body table.lizic-table tr:not(:first-child),
html[data-theme="dark"] .entry-content table.lizic-table tr:not(:first-child),
html[data-theme="dark"] .contents_style table.lizic-table tr:not(:first-child),
body.dark-mode .article-body table.lizic-table tr:not(:first-child),
body.dark-mode .entry-content table.lizic-table tr:not(:first-child),
body.dark-mode .contents_style table.lizic-table tr:not(:first-child) {
  border-color: rgba(211, 166, 115, 0.25) !important;
  background: linear-gradient(180deg, rgba(31, 37, 45, 0.96), rgba(26, 31, 39, 0.92)) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24) !important;
}

html[data-theme="dark"] .article-body table.lizic-table tr:not(:first-child) > th,
html[data-theme="dark"] .entry-content table.lizic-table tr:not(:first-child) > th,
html[data-theme="dark"] .contents_style table.lizic-table tr:not(:first-child) > th,
html[data-theme="dark"] .article-body table.lizic-table tr:not(:first-child) > td,
html[data-theme="dark"] .entry-content table.lizic-table tr:not(:first-child) > td,
html[data-theme="dark"] .contents_style table.lizic-table tr:not(:first-child) > td,
body.dark-mode .article-body table.lizic-table tr:not(:first-child) > th,
body.dark-mode .entry-content table.lizic-table tr:not(:first-child) > th,
body.dark-mode .contents_style table.lizic-table tr:not(:first-child) > th,
body.dark-mode .article-body table.lizic-table tr:not(:first-child) > td,
body.dark-mode .entry-content table.lizic-table tr:not(:first-child) > td,
body.dark-mode .contents_style table.lizic-table tr:not(:first-child) > td {
  border-color: rgba(211, 166, 115, 0.16) !important;
  color: #e9edf2 !important;
}

html[data-theme="dark"] .article-body table.lizic-table tr:not(:first-child) > th:first-child,
html[data-theme="dark"] .entry-content table.lizic-table tr:not(:first-child) > th:first-child,
html[data-theme="dark"] .contents_style table.lizic-table tr:not(:first-child) > th:first-child,
html[data-theme="dark"] .article-body table.lizic-table tr:not(:first-child) > td:first-child,
html[data-theme="dark"] .entry-content table.lizic-table tr:not(:first-child) > td:first-child,
html[data-theme="dark"] .contents_style table.lizic-table tr:not(:first-child) > td:first-child,
body.dark-mode .article-body table.lizic-table tr:not(:first-child) > th:first-child,
body.dark-mode .entry-content table.lizic-table tr:not(:first-child) > th:first-child,
body.dark-mode .contents_style table.lizic-table tr:not(:first-child) > th:first-child,
body.dark-mode .article-body table.lizic-table tr:not(:first-child) > td:first-child,
body.dark-mode .entry-content table.lizic-table tr:not(:first-child) > td:first-child,
body.dark-mode .contents_style table.lizic-table tr:not(:first-child) > td:first-child {
  background: rgba(211, 166, 115, 0.13) !important;
  color: #f2e4cf !important;
}

/* =========================================================
   v1.67: 모바일 표 안정화
   - 원본 table을 숨기지 않고, 각 행을 안전한 카드형 블록으로 표시
   - 표가 다음 본문 문단 위로 겹치는 문제 방지
   - 2열/3열 모두 내용이 사라지지 않도록 최종 덮어쓰기
   ========================================================= */
.article-body .lizic-mobile-table-cards-v65,
.entry-content .lizic-mobile-table-cards-v65,
.contents_style .lizic-mobile-table-cards-v65 {
  display: none !important;
}

@media (max-width: 680px) {
  .article-body .lizic-table-wrap,
  .entry-content .lizic-table-wrap,
  .contents_style .lizic-table-wrap,
  .article-body .lizic-table-wrap-v64,
  .entry-content .lizic-table-wrap-v64,
  .contents_style .lizic-table-wrap-v64,
  .article-body .lizic-table-wrap-v65,
  .entry-content .lizic-table-wrap-v65,
  .contents_style .lizic-table-wrap-v65,
  .article-body .lizic-table-wrap-v66,
  .entry-content .lizic-table-wrap-v66,
  .contents_style .lizic-table-wrap-v66 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    box-sizing: border-box !important;
    margin: 22px 0 34px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    clear: both !important;
  }

  .article-body .lizic-table-wrap::before,
  .entry-content .lizic-table-wrap::before,
  .contents_style .lizic-table-wrap::before,
  .article-body .lizic-table-wrap-v64::before,
  .entry-content .lizic-table-wrap-v64::before,
  .contents_style .lizic-table-wrap-v64::before,
  .article-body .lizic-table-wrap-v65::before,
  .entry-content .lizic-table-wrap-v65::before,
  .contents_style .lizic-table-wrap-v65::before,
  .article-body .lizic-table-wrap-v66::before,
  .entry-content .lizic-table-wrap-v66::before,
  .contents_style .lizic-table-wrap-v66::before,
  .article-body .lizic-table-wrap::after,
  .entry-content .lizic-table-wrap::after,
  .contents_style .lizic-table-wrap::after,
  .article-body .lizic-table-wrap-v64::after,
  .entry-content .lizic-table-wrap-v64::after,
  .contents_style .lizic-table-wrap-v64::after,
  .article-body .lizic-table-wrap-v65::after,
  .entry-content .lizic-table-wrap-v65::after,
  .contents_style .lizic-table-wrap-v65::after,
  .article-body .lizic-table-wrap-v66::after,
  .entry-content .lizic-table-wrap-v66::after,
  .contents_style .lizic-table-wrap-v66::after {
    display: none !important;
    content: none !important;
  }

  .article-body table.lizic-table,
  .entry-content table.lizic-table,
  .contents_style table.lizic-table,
  .article-body table.lizic-table-v63,
  .entry-content table.lizic-table-v63,
  .contents_style table.lizic-table-v63,
  .article-body table.lizic-table-v64,
  .entry-content table.lizic-table-v64,
  .contents_style table.lizic-table-v64,
  .article-body table.lizic-table-v65,
  .entry-content table.lizic-table-v65,
  .contents_style table.lizic-table-v65,
  .article-body table.lizic-table-v66,
  .entry-content table.lizic-table-v66,
  .contents_style table.lizic-table-v66,
  .article-body .lizic-table-wrap > table,
  .entry-content .lizic-table-wrap > table,
  .contents_style .lizic-table-wrap > table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    table-layout: auto !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    clear: both !important;
  }

  .article-body table.lizic-table colgroup,
  .entry-content table.lizic-table colgroup,
  .contents_style table.lizic-table colgroup,
  .article-body table.lizic-table thead,
  .entry-content table.lizic-table thead,
  .contents_style table.lizic-table thead,
  .article-body table.lizic-table > tbody > tr:first-child,
  .entry-content table.lizic-table > tbody > tr:first-child,
  .contents_style table.lizic-table > tbody > tr:first-child {
    display: none !important;
  }

  .article-body table.lizic-table tbody,
  .entry-content table.lizic-table tbody,
  .contents_style table.lizic-table tbody {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .article-body table.lizic-table tr,
  .entry-content table.lizic-table tr,
  .contents_style table.lizic-table tr {
    float: none !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .article-body table.lizic-table > tbody > tr:not(:first-child),
  .entry-content table.lizic-table > tbody > tr:not(:first-child),
  .contents_style table.lizic-table > tbody > tr:not(:first-child) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    box-sizing: border-box !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(211, 166, 115, 0.42) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(255, 247, 235, 0.94)) !important;
    box-shadow: 0 10px 24px rgba(90, 58, 30, 0.07) !important;
    clear: both !important;
  }

  .article-body table.lizic-table > tbody > tr:not(:first-child) > th,
  .entry-content table.lizic-table > tbody > tr:not(:first-child) > th,
  .contents_style table.lizic-table > tbody > tr:not(:first-child) > th,
  .article-body table.lizic-table > tbody > tr:not(:first-child) > td,
  .entry-content table.lizic-table > tbody > tr:not(:first-child) > td,
  .contents_style table.lizic-table > tbody > tr:not(:first-child) > td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    box-sizing: border-box !important;
    padding: 12px 15px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(211, 166, 115, 0.18) !important;
    background: transparent !important;
    color: #25364a !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.64 !important;
    letter-spacing: -0.025em !important;
    text-align: left !important;
    vertical-align: top !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    line-break: auto !important;
    overflow: visible !important;
    text-indent: 0 !important;
    float: none !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .article-body table.lizic-table > tbody > tr:not(:first-child) > th:last-child,
  .entry-content table.lizic-table > tbody > tr:not(:first-child) > th:last-child,
  .contents_style table.lizic-table > tbody > tr:not(:first-child) > th:last-child,
  .article-body table.lizic-table > tbody > tr:not(:first-child) > td:last-child,
  .entry-content table.lizic-table > tbody > tr:not(:first-child) > td:last-child,
  .contents_style table.lizic-table > tbody > tr:not(:first-child) > td:last-child {
    border-bottom: 0 !important;
  }

  .article-body table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
  .entry-content table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
  .contents_style table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
  .article-body table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
  .entry-content table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
  .contents_style table.lizic-table > tbody > tr:not(:first-child) > td:first-child {
    padding: 13px 15px 12px !important;
    border-bottom: 1px solid rgba(211, 166, 115, 0.26) !important;
    background: linear-gradient(135deg, rgba(247, 223, 190, 0.74), rgba(255, 242, 222, 0.58)) !important;
    color: #17304c !important;
    font-size: 14.4px !important;
    font-weight: 900 !important;
    line-height: 1.55 !important;
  }

  .article-body table.lizic-table > tbody > tr:not(:first-child) > th::before,
  .entry-content table.lizic-table > tbody > tr:not(:first-child) > th::before,
  .contents_style table.lizic-table > tbody > tr:not(:first-child) > th::before,
  .article-body table.lizic-table > tbody > tr:not(:first-child) > td::before,
  .entry-content table.lizic-table > tbody > tr:not(:first-child) > td::before,
  .contents_style table.lizic-table > tbody > tr:not(:first-child) > td::before {
    display: none !important;
    content: none !important;
  }

  .article-body table.lizic-table:not(.lizic-table-cols-2) > tbody > tr:not(:first-child) > th:not(:first-child)::before,
  .entry-content table.lizic-table:not(.lizic-table-cols-2) > tbody > tr:not(:first-child) > th:not(:first-child)::before,
  .contents_style table.lizic-table:not(.lizic-table-cols-2) > tbody > tr:not(:first-child) > th:not(:first-child)::before,
  .article-body table.lizic-table:not(.lizic-table-cols-2) > tbody > tr:not(:first-child) > td:not(:first-child)::before,
  .entry-content table.lizic-table:not(.lizic-table-cols-2) > tbody > tr:not(:first-child) > td:not(:first-child)::before,
  .contents_style table.lizic-table:not(.lizic-table-cols-2) > tbody > tr:not(:first-child) > td:not(:first-child)::before {
    content: attr(data-label) !important;
    display: inline-flex !important;
    align-items: center !important;
    max-width: 100% !important;
    margin: 0 8px 6px 0 !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    background: rgba(211, 166, 115, 0.18) !important;
    color: var(--accent-dark) !important;
    font-size: 12.2px !important;
    font-weight: 900 !important;
    line-height: 1.45 !important;
    letter-spacing: -0.035em !important;
    vertical-align: baseline !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  .article-body table.lizic-table > tbody > tr:not(:first-child) > th *,
  .entry-content table.lizic-table > tbody > tr:not(:first-child) > th *,
  .contents_style table.lizic-table > tbody > tr:not(:first-child) > th *,
  .article-body table.lizic-table > tbody > tr:not(:first-child) > td *,
  .entry-content table.lizic-table > tbody > tr:not(:first-child) > td *,
  .contents_style table.lizic-table > tbody > tr:not(:first-child) > td *,
  .article-body table.lizic-table .lizic-cell-value,
  .entry-content table.lizic-table .lizic-cell-value,
  .contents_style table.lizic-table .lizic-cell-value {
    display: inline !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    line-break: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .article-body .lizic-table-wrap + p,
  .entry-content .lizic-table-wrap + p,
  .contents_style .lizic-table-wrap + p,
  .article-body table.lizic-table + p,
  .entry-content table.lizic-table + p,
  .contents_style table.lizic-table + p {
    clear: both !important;
    margin-top: 24px !important;
    position: relative !important;
    z-index: 1 !important;
  }
}

@media (max-width: 420px) {
  .article-body table.lizic-table > tbody > tr:not(:first-child) > th,
  .entry-content table.lizic-table > tbody > tr:not(:first-child) > th,
  .contents_style table.lizic-table > tbody > tr:not(:first-child) > th,
  .article-body table.lizic-table > tbody > tr:not(:first-child) > td,
  .entry-content table.lizic-table > tbody > tr:not(:first-child) > td,
  .contents_style table.lizic-table > tbody > tr:not(:first-child) > td {
    padding: 11px 13px !important;
    font-size: 13.7px !important;
    line-height: 1.62 !important;
  }

  .article-body table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
  .entry-content table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
  .contents_style table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
  .article-body table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
  .entry-content table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
  .contents_style table.lizic-table > tbody > tr:not(:first-child) > td:first-child {
    padding: 12px 13px 11px !important;
    font-size: 14px !important;
  }

  .article-body table.lizic-table:not(.lizic-table-cols-2) > tbody > tr:not(:first-child) > th:not(:first-child)::before,
  .entry-content table.lizic-table:not(.lizic-table-cols-2) > tbody > tr:not(:first-child) > th:not(:first-child)::before,
  .contents_style table.lizic-table:not(.lizic-table-cols-2) > tbody > tr:not(:first-child) > th:not(:first-child)::before,
  .article-body table.lizic-table:not(.lizic-table-cols-2) > tbody > tr:not(:first-child) > td:not(:first-child)::before,
  .entry-content table.lizic-table:not(.lizic-table-cols-2) > tbody > tr:not(:first-child) > td:not(:first-child)::before,
  .contents_style table.lizic-table:not(.lizic-table-cols-2) > tbody > tr:not(:first-child) > td:not(:first-child)::before {
    display: table !important;
    margin: 0 0 5px !important;
  }
}

@media (max-width: 680px) {
  html[data-theme="dark"] .article-body table.lizic-table > tbody > tr:not(:first-child),
  html[data-theme="dark"] .entry-content table.lizic-table > tbody > tr:not(:first-child),
  html[data-theme="dark"] .contents_style table.lizic-table > tbody > tr:not(:first-child),
  body.dark-mode .article-body table.lizic-table > tbody > tr:not(:first-child),
  body.dark-mode .entry-content table.lizic-table > tbody > tr:not(:first-child),
  body.dark-mode .contents_style table.lizic-table > tbody > tr:not(:first-child) {
    border-color: rgba(211, 166, 115, 0.25) !important;
    background: linear-gradient(180deg, rgba(31, 37, 45, 0.96), rgba(26, 31, 39, 0.92)) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24) !important;
  }

  html[data-theme="dark"] .article-body table.lizic-table > tbody > tr:not(:first-child) > th,
  html[data-theme="dark"] .entry-content table.lizic-table > tbody > tr:not(:first-child) > th,
  html[data-theme="dark"] .contents_style table.lizic-table > tbody > tr:not(:first-child) > th,
  html[data-theme="dark"] .article-body table.lizic-table > tbody > tr:not(:first-child) > td,
  html[data-theme="dark"] .entry-content table.lizic-table > tbody > tr:not(:first-child) > td,
  html[data-theme="dark"] .contents_style table.lizic-table > tbody > tr:not(:first-child) > td,
  body.dark-mode .article-body table.lizic-table > tbody > tr:not(:first-child) > th,
  body.dark-mode .entry-content table.lizic-table > tbody > tr:not(:first-child) > th,
  body.dark-mode .contents_style table.lizic-table > tbody > tr:not(:first-child) > th,
  body.dark-mode .article-body table.lizic-table > tbody > tr:not(:first-child) > td,
  body.dark-mode .entry-content table.lizic-table > tbody > tr:not(:first-child) > td,
  body.dark-mode .contents_style table.lizic-table > tbody > tr:not(:first-child) > td {
    border-color: rgba(211, 166, 115, 0.16) !important;
    color: #e9edf2 !important;
  }

  html[data-theme="dark"] .article-body table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
  html[data-theme="dark"] .entry-content table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
  html[data-theme="dark"] .contents_style table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
  html[data-theme="dark"] .article-body table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
  html[data-theme="dark"] .entry-content table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
  html[data-theme="dark"] .contents_style table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
  body.dark-mode .article-body table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
  body.dark-mode .entry-content table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
  body.dark-mode .contents_style table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
  body.dark-mode .article-body table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
  body.dark-mode .entry-content table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
  body.dark-mode .contents_style table.lizic-table > tbody > tr:not(:first-child) > td:first-child {
    background: rgba(211, 166, 115, 0.13) !important;
    color: #f2e4cf !important;
  }
}


/* v1.69: 본문 링크 카드 스타일 */
.article-body a.lizic-smart-link,
.entry-content a.lizic-smart-link,
.contents_style a.lizic-smart-link,
.article-content a.lizic-smart-link,
[data-article-body] a.lizic-smart-link {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  gap: 8px !important;
  margin: 8px 0 10px !important;
  padding: 9px 14px 9px 12px !important;
  border: 1px solid rgba(211, 166, 115, 0.52) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(250, 237, 221, 0.92)) !important;
  color: #9a552e !important;
  font-size: 0.95em !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(91, 58, 28, 0.08) !important;
  vertical-align: middle !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease !important;
}

.article-body a.lizic-smart-link:hover,
.entry-content a.lizic-smart-link:hover,
.contents_style a.lizic-smart-link:hover,
.article-content a.lizic-smart-link:hover,
[data-article-body] a.lizic-smart-link:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(196, 108, 61, 0.72) !important;
  box-shadow: 0 14px 28px rgba(91, 58, 28, 0.13) !important;
}

.article-body a.lizic-smart-link::before,
.entry-content a.lizic-smart-link::before,
.contents_style a.lizic-smart-link::before,
.article-content a.lizic-smart-link::before,
[data-article-body] a.lizic-smart-link::before {
  content: "↗" !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;
  background: rgba(204, 115, 73, 0.16) !important;
  color: #a45c32 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.article-body a.lizic-smart-link .lizic-link-main,
.entry-content a.lizic-smart-link .lizic-link-main,
.contents_style a.lizic-smart-link .lizic-link-main,
.article-content a.lizic-smart-link .lizic-link-main,
[data-article-body] a.lizic-smart-link .lizic-link-main {
  display: inline-block !important;
  min-width: 0 !important;
}

.article-body a.lizic-smart-link .lizic-link-domain,
.entry-content a.lizic-smart-link .lizic-link-domain,
.contents_style a.lizic-smart-link .lizic-link-domain,
.article-content a.lizic-smart-link .lizic-link-domain,
[data-article-body] a.lizic-smart-link .lizic-link-domain {
  display: inline-block !important;
  flex: 0 1 auto !important;
  max-width: min(220px, 42vw) !important;
  padding-left: 8px !important;
  margin-left: 2px !important;
  border-left: 1px solid rgba(157, 113, 73, 0.28) !important;
  color: rgba(92, 68, 48, 0.78) !important;
  font-size: 0.86em !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.article-body p > a.lizic-smart-link:only-child,
.entry-content p > a.lizic-smart-link:only-child,
.contents_style p > a.lizic-smart-link:only-child,
.article-content p > a.lizic-smart-link:only-child,
[data-article-body] p > a.lizic-smart-link:only-child {
  margin-top: 12px !important;
  margin-bottom: 12px !important;
}

html[data-theme="dark"] .article-body a.lizic-smart-link,
html[data-theme="dark"] .entry-content a.lizic-smart-link,
html[data-theme="dark"] .contents_style a.lizic-smart-link,
html[data-theme="dark"] .article-content a.lizic-smart-link,
html[data-theme="dark"] [data-article-body] a.lizic-smart-link,
body.dark-mode .article-body a.lizic-smart-link,
body.dark-mode .entry-content a.lizic-smart-link,
body.dark-mode .contents_style a.lizic-smart-link,
body.dark-mode .article-content a.lizic-smart-link,
body.dark-mode [data-article-body] a.lizic-smart-link {
  border-color: rgba(211, 166, 115, 0.34) !important;
  background: linear-gradient(135deg, rgba(37, 42, 42, 0.98), rgba(32, 31, 29, 0.95)) !important;
  color: #f1c69b !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] .article-body a.lizic-smart-link .lizic-link-domain,
html[data-theme="dark"] .entry-content a.lizic-smart-link .lizic-link-domain,
html[data-theme="dark"] .contents_style a.lizic-smart-link .lizic-link-domain,
html[data-theme="dark"] .article-content a.lizic-smart-link .lizic-link-domain,
html[data-theme="dark"] [data-article-body] a.lizic-smart-link .lizic-link-domain,
body.dark-mode .article-body a.lizic-smart-link .lizic-link-domain,
body.dark-mode .entry-content a.lizic-smart-link .lizic-link-domain,
body.dark-mode .contents_style a.lizic-smart-link .lizic-link-domain,
body.dark-mode .article-content a.lizic-smart-link .lizic-link-domain,
body.dark-mode [data-article-body] a.lizic-smart-link .lizic-link-domain {
  border-left-color: rgba(241, 198, 155, 0.25) !important;
  color: rgba(244, 223, 202, 0.76) !important;
}

@media (max-width: 560px) {
  .article-body a.lizic-smart-link,
  .entry-content a.lizic-smart-link,
  .contents_style a.lizic-smart-link,
  .article-content a.lizic-smart-link,
  [data-article-body] a.lizic-smart-link {
    display: flex !important;
    width: fit-content !important;
    max-width: 100% !important;
    padding: 9px 12px !important;
    font-size: 0.92em !important;
  }

  .article-body a.lizic-smart-link .lizic-link-domain,
  .entry-content a.lizic-smart-link .lizic-link-domain,
  .contents_style a.lizic-smart-link .lizic-link-domain,
  .article-content a.lizic-smart-link .lizic-link-domain,
  [data-article-body] a.lizic-smart-link .lizic-link-domain {
    max-width: 34vw !important;
  }
}


/* v1.70: 자동 변환된 URL 버튼 위치 보정 */
.article-body li a.lizic-smart-link,
.entry-content li a.lizic-smart-link,
.contents_style li a.lizic-smart-link,
.article-content li a.lizic-smart-link,
[data-article-body] li a.lizic-smart-link {
  margin-top: 10px !important;
  margin-bottom: 8px !important;
}

.article-body a.lizic-smart-link[data-lizic-plain-url-converted="1"],
.entry-content a.lizic-smart-link[data-lizic-plain-url-converted="1"],
.contents_style a.lizic-smart-link[data-lizic-plain-url-converted="1"],
.article-content a.lizic-smart-link[data-lizic-plain-url-converted="1"],
[data-article-body] a.lizic-smart-link[data-lizic-plain-url-converted="1"] {
  display: inline-flex !important;
  width: fit-content !important;
}

/* =========================================================
   v1.71: 기본 표 디자인 재정리
   - 글에 넣은 일반 table을 스킨 분위기에 맞는 카드형 표로 통일
   - 모바일에서는 무리한 카드 변환 대신 안전한 가로 스크롤 표로 표시
   ========================================================= */
.article-body .lizic-table-wrap,
.entry-content .lizic-table-wrap,
.contents_style .lizic-table-wrap,
.article-content .lizic-table-wrap,
[data-article-body] .lizic-table-wrap {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 30px auto 34px !important;
  padding: 0 !important;
  border: 1px solid rgba(211, 166, 115, 0.40) !important;
  border-top: 5px solid transparent !important;
  border-radius: 20px !important;
  background:
    linear-gradient(#fffaf3, #fffaf3) padding-box,
    linear-gradient(90deg, #cf7d4c, #e7bd74, #7d9369) border-box !important;
  box-shadow: 0 18px 42px rgba(89, 57, 30, 0.09) !important;
  overflow: hidden !important;
  clear: both !important;
}

.article-body table.lizic-table,
.entry-content table.lizic-table,
.contents_style table.lizic-table,
.article-content table.lizic-table,
[data-article-body] table.lizic-table,
.article-body .lizic-table-wrap > table,
.entry-content .lizic-table-wrap > table,
.contents_style .lizic-table-wrap > table,
.article-content .lizic-table-wrap > table,
[data-article-body] .lizic-table-wrap > table {
  display: table !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.article-body table.lizic-table colgroup,
.entry-content table.lizic-table colgroup,
.contents_style table.lizic-table colgroup,
.article-content table.lizic-table colgroup,
[data-article-body] table.lizic-table colgroup {
  display: none !important;
}

.article-body table.lizic-table thead,
.entry-content table.lizic-table thead,
.contents_style table.lizic-table thead,
.article-content table.lizic-table thead,
[data-article-body] table.lizic-table thead {
  display: table-header-group !important;
}

.article-body table.lizic-table tbody,
.entry-content table.lizic-table tbody,
.contents_style table.lizic-table tbody,
.article-content table.lizic-table tbody,
[data-article-body] table.lizic-table tbody {
  display: table-row-group !important;
}

.article-body table.lizic-table tr,
.entry-content table.lizic-table tr,
.contents_style table.lizic-table tr,
.article-content table.lizic-table tr,
[data-article-body] table.lizic-table tr,
.article-body table.lizic-table tr:first-child,
.entry-content table.lizic-table tr:first-child,
.contents_style table.lizic-table tr:first-child,
.article-content table.lizic-table tr:first-child,
[data-article-body] table.lizic-table tr:first-child {
  display: table-row !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.article-body table.lizic-table th,
.entry-content table.lizic-table th,
.contents_style table.lizic-table th,
.article-content table.lizic-table th,
[data-article-body] table.lizic-table th,
.article-body table.lizic-table td,
.entry-content table.lizic-table td,
.contents_style table.lizic-table td,
.article-content table.lizic-table td,
[data-article-body] table.lizic-table td {
  display: table-cell !important;
  position: static !important;
  box-sizing: border-box !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 15px 18px !important;
  border: 0 !important;
  border-right: 1px solid rgba(211, 166, 115, 0.22) !important;
  border-bottom: 1px solid rgba(211, 166, 115, 0.22) !important;
  background: rgba(255, 249, 241, 0.82) !important;
  color: #17304c !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.68 !important;
  letter-spacing: -0.025em !important;
  text-align: left !important;
  vertical-align: middle !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  line-break: loose !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.article-body table.lizic-table th:last-child,
.entry-content table.lizic-table th:last-child,
.contents_style table.lizic-table th:last-child,
.article-content table.lizic-table th:last-child,
[data-article-body] table.lizic-table th:last-child,
.article-body table.lizic-table td:last-child,
.entry-content table.lizic-table td:last-child,
.contents_style table.lizic-table td:last-child,
.article-content table.lizic-table td:last-child,
[data-article-body] table.lizic-table td:last-child {
  border-right: 0 !important;
}

.article-body table.lizic-table tr:last-child > th,
.entry-content table.lizic-table tr:last-child > th,
.contents_style table.lizic-table tr:last-child > th,
.article-content table.lizic-table tr:last-child > th,
[data-article-body] table.lizic-table tr:last-child > th,
.article-body table.lizic-table tr:last-child > td,
.entry-content table.lizic-table tr:last-child > td,
.contents_style table.lizic-table tr:last-child > td,
.article-content table.lizic-table tr:last-child > td,
[data-article-body] table.lizic-table tr:last-child > td {
  border-bottom: 0 !important;
}

.article-body table.lizic-table thead th,
.entry-content table.lizic-table thead th,
.contents_style table.lizic-table thead th,
.article-content table.lizic-table thead th,
[data-article-body] table.lizic-table thead th,
.article-body table.lizic-table > tbody > tr:first-child > th,
.entry-content table.lizic-table > tbody > tr:first-child > th,
.contents_style table.lizic-table > tbody > tr:first-child > th,
.article-content table.lizic-table > tbody > tr:first-child > th,
[data-article-body] table.lizic-table > tbody > tr:first-child > th,
.article-body table.lizic-table > tbody > tr:first-child > td,
.entry-content table.lizic-table > tbody > tr:first-child > td,
.contents_style table.lizic-table > tbody > tr:first-child > td,
.article-content table.lizic-table > tbody > tr:first-child > td,
[data-article-body] table.lizic-table > tbody > tr:first-child > td {
  background: linear-gradient(180deg, rgba(244, 213, 170, 0.96), rgba(239, 198, 141, 0.90)) !important;
  color: #5d361e !important;
  font-size: 14.5px !important;
  font-weight: 900 !important;
  line-height: 1.48 !important;
  vertical-align: middle !important;
}

.article-body table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
.entry-content table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
.contents_style table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
.article-content table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
[data-article-body] table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
.article-body table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
.entry-content table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
.contents_style table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
.article-content table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
[data-article-body] table.lizic-table > tbody > tr:not(:first-child) > td:first-child {
  background: rgba(255, 244, 229, 0.88) !important;
  color: #17304c !important;
  font-weight: 850 !important;
}

.article-body table.lizic-table tr:nth-child(even) > td:not(:first-child),
.entry-content table.lizic-table tr:nth-child(even) > td:not(:first-child),
.contents_style table.lizic-table tr:nth-child(even) > td:not(:first-child),
.article-content table.lizic-table tr:nth-child(even) > td:not(:first-child),
[data-article-body] table.lizic-table tr:nth-child(even) > td:not(:first-child) {
  background: rgba(255, 252, 247, 0.94) !important;
}

.article-body table.lizic-table td p,
.entry-content table.lizic-table td p,
.contents_style table.lizic-table td p,
.article-content table.lizic-table td p,
[data-article-body] table.lizic-table td p,
.article-body table.lizic-table th p,
.entry-content table.lizic-table th p,
.contents_style table.lizic-table th p,
.article-content table.lizic-table th p,
[data-article-body] table.lizic-table th p {
  margin: 0.2em 0 !important;
  line-height: inherit !important;
}

.article-body table.lizic-table ul,
.entry-content table.lizic-table ul,
.contents_style table.lizic-table ul,
.article-content table.lizic-table ul,
[data-article-body] table.lizic-table ul,
.article-body table.lizic-table ol,
.entry-content table.lizic-table ol,
.contents_style table.lizic-table ol,
.article-content table.lizic-table ol,
[data-article-body] table.lizic-table ol {
  margin: 0.2em 0 0.2em 1.1em !important;
  padding: 0 !important;
}

.article-body table.lizic-table li,
.entry-content table.lizic-table li,
.contents_style table.lizic-table li,
.article-content table.lizic-table li,
[data-article-body] table.lizic-table li {
  margin: 0.2em 0 !important;
  padding: 0 !important;
}

.article-body table.lizic-table.lizic-table-cols-2 th:first-child,
.entry-content table.lizic-table.lizic-table-cols-2 th:first-child,
.contents_style table.lizic-table.lizic-table-cols-2 th:first-child,
.article-content table.lizic-table.lizic-table-cols-2 th:first-child,
[data-article-body] table.lizic-table.lizic-table-cols-2 th:first-child,
.article-body table.lizic-table.lizic-table-cols-2 td:first-child,
.entry-content table.lizic-table.lizic-table-cols-2 td:first-child,
.contents_style table.lizic-table.lizic-table-cols-2 td:first-child,
.article-content table.lizic-table.lizic-table-cols-2 td:first-child,
[data-article-body] table.lizic-table.lizic-table-cols-2 td:first-child {
  width: 34% !important;
}

.article-body table.lizic-table.lizic-table-cols-3 th:nth-child(1),
.entry-content table.lizic-table.lizic-table-cols-3 th:nth-child(1),
.contents_style table.lizic-table.lizic-table-cols-3 th:nth-child(1),
.article-content table.lizic-table.lizic-table-cols-3 th:nth-child(1),
[data-article-body] table.lizic-table.lizic-table-cols-3 th:nth-child(1),
.article-body table.lizic-table.lizic-table-cols-3 td:nth-child(1),
.entry-content table.lizic-table.lizic-table-cols-3 td:nth-child(1),
.contents_style table.lizic-table.lizic-table-cols-3 td:nth-child(1),
.article-content table.lizic-table.lizic-table-cols-3 td:nth-child(1),
[data-article-body] table.lizic-table.lizic-table-cols-3 td:nth-child(1) {
  width: 27% !important;
}

.article-body table.lizic-table.lizic-table-cols-3 th:nth-child(2),
.entry-content table.lizic-table.lizic-table-cols-3 th:nth-child(2),
.contents_style table.lizic-table.lizic-table-cols-3 th:nth-child(2),
.article-content table.lizic-table.lizic-table-cols-3 th:nth-child(2),
[data-article-body] table.lizic-table.lizic-table-cols-3 th:nth-child(2),
.article-body table.lizic-table.lizic-table-cols-3 td:nth-child(2),
.entry-content table.lizic-table.lizic-table-cols-3 td:nth-child(2),
.contents_style table.lizic-table.lizic-table-cols-3 td:nth-child(2),
.article-content table.lizic-table.lizic-table-cols-3 td:nth-child(2),
[data-article-body] table.lizic-table.lizic-table-cols-3 td:nth-child(2) {
  width: 38% !important;
}

.article-body table.lizic-table.lizic-table-cols-3 th:nth-child(3),
.entry-content table.lizic-table.lizic-table-cols-3 th:nth-child(3),
.contents_style table.lizic-table.lizic-table-cols-3 th:nth-child(3),
.article-content table.lizic-table.lizic-table-cols-3 th:nth-child(3),
[data-article-body] table.lizic-table.lizic-table-cols-3 th:nth-child(3),
.article-body table.lizic-table.lizic-table-cols-3 td:nth-child(3),
.entry-content table.lizic-table.lizic-table-cols-3 td:nth-child(3),
.contents_style table.lizic-table.lizic-table-cols-3 td:nth-child(3),
.article-content table.lizic-table.lizic-table-cols-3 td:nth-child(3),
[data-article-body] table.lizic-table.lizic-table-cols-3 td:nth-child(3) {
  width: 35% !important;
}

.article-body .lizic-table-wrap + p,
.entry-content .lizic-table-wrap + p,
.contents_style .lizic-table-wrap + p,
.article-content .lizic-table-wrap + p,
[data-article-body] .lizic-table-wrap + p {
  margin-top: 30px !important;
}

@media (max-width: 680px) {
  .article-body .lizic-table-wrap,
  .entry-content .lizic-table-wrap,
  .contents_style .lizic-table-wrap,
  .article-content .lizic-table-wrap,
  [data-article-body] .lizic-table-wrap {
    margin: 24px 0 30px !important;
    border-radius: 18px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .article-body .lizic-table-wrap::after,
  .entry-content .lizic-table-wrap::after,
  .contents_style .lizic-table-wrap::after,
  .article-content .lizic-table-wrap::after,
  [data-article-body] .lizic-table-wrap::after {
    content: "좌우로 밀어서 표 보기" !important;
    display: block !important;
    padding: 8px 12px 10px !important;
    border-top: 1px solid rgba(211, 166, 115, 0.18) !important;
    color: rgba(99, 74, 53, 0.72) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-align: center !important;
    background: rgba(255, 250, 243, 0.96) !important;
  }

  .article-body table.lizic-table,
  .entry-content table.lizic-table,
  .contents_style table.lizic-table,
  .article-content table.lizic-table,
  [data-article-body] table.lizic-table,
  .article-body .lizic-table-wrap > table,
  .entry-content .lizic-table-wrap > table,
  .contents_style .lizic-table-wrap > table,
  .article-content .lizic-table-wrap > table,
  [data-article-body] .lizic-table-wrap > table {
    display: table !important;
    width: 100% !important;
    min-width: 560px !important;
    table-layout: fixed !important;
  }

  .article-body table.lizic-table.lizic-table-cols-2,
  .entry-content table.lizic-table.lizic-table-cols-2,
  .contents_style table.lizic-table.lizic-table-cols-2,
  .article-content table.lizic-table.lizic-table-cols-2,
  [data-article-body] table.lizic-table.lizic-table-cols-2 {
    min-width: 520px !important;
  }

  .article-body table.lizic-table.lizic-table-cols-3,
  .entry-content table.lizic-table.lizic-table-cols-3,
  .contents_style table.lizic-table.lizic-table-cols-3,
  .article-content table.lizic-table.lizic-table-cols-3,
  [data-article-body] table.lizic-table.lizic-table-cols-3 {
    min-width: 660px !important;
  }

  .article-body table.lizic-table th,
  .entry-content table.lizic-table th,
  .contents_style table.lizic-table th,
  .article-content table.lizic-table th,
  [data-article-body] table.lizic-table th,
  .article-body table.lizic-table td,
  .entry-content table.lizic-table td,
  .contents_style table.lizic-table td,
  .article-content table.lizic-table td,
  [data-article-body] table.lizic-table td {
    display: table-cell !important;
    padding: 13px 14px !important;
    font-size: 13.8px !important;
    line-height: 1.62 !important;
  }
}

html[data-theme="dark"] .article-body .lizic-table-wrap,
html[data-theme="dark"] .entry-content .lizic-table-wrap,
html[data-theme="dark"] .contents_style .lizic-table-wrap,
html[data-theme="dark"] .article-content .lizic-table-wrap,
html[data-theme="dark"] [data-article-body] .lizic-table-wrap,
body.dark-mode .article-body .lizic-table-wrap,
body.dark-mode .entry-content .lizic-table-wrap,
body.dark-mode .contents_style .lizic-table-wrap,
body.dark-mode .article-content .lizic-table-wrap,
body.dark-mode [data-article-body] .lizic-table-wrap {
  border-color: rgba(211, 166, 115, 0.25) !important;
  background:
    linear-gradient(#1e252d, #1e252d) padding-box,
    linear-gradient(90deg, #cf7d4c, #e7bd74, #7d9369) border-box !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.30) !important;
}

html[data-theme="dark"] .article-body table.lizic-table th,
html[data-theme="dark"] .entry-content table.lizic-table th,
html[data-theme="dark"] .contents_style table.lizic-table th,
html[data-theme="dark"] .article-content table.lizic-table th,
html[data-theme="dark"] [data-article-body] table.lizic-table th,
html[data-theme="dark"] .article-body table.lizic-table td,
html[data-theme="dark"] .entry-content table.lizic-table td,
html[data-theme="dark"] .contents_style table.lizic-table td,
html[data-theme="dark"] .article-content table.lizic-table td,
html[data-theme="dark"] [data-article-body] table.lizic-table td,
body.dark-mode .article-body table.lizic-table th,
body.dark-mode .entry-content table.lizic-table th,
body.dark-mode .contents_style table.lizic-table th,
body.dark-mode .article-content table.lizic-table th,
body.dark-mode [data-article-body] table.lizic-table th,
body.dark-mode .article-body table.lizic-table td,
body.dark-mode .entry-content table.lizic-table td,
body.dark-mode .contents_style table.lizic-table td,
body.dark-mode .article-content table.lizic-table td,
body.dark-mode [data-article-body] table.lizic-table td {
  border-color: rgba(211, 166, 115, 0.15) !important;
  background: rgba(29, 35, 43, 0.88) !important;
  color: #e9edf2 !important;
}

html[data-theme="dark"] .article-body table.lizic-table thead th,
html[data-theme="dark"] .entry-content table.lizic-table thead th,
html[data-theme="dark"] .contents_style table.lizic-table thead th,
html[data-theme="dark"] .article-content table.lizic-table thead th,
html[data-theme="dark"] [data-article-body] table.lizic-table thead th,
html[data-theme="dark"] .article-body table.lizic-table > tbody > tr:first-child > th,
html[data-theme="dark"] .entry-content table.lizic-table > tbody > tr:first-child > th,
html[data-theme="dark"] .contents_style table.lizic-table > tbody > tr:first-child > th,
html[data-theme="dark"] .article-content table.lizic-table > tbody > tr:first-child > th,
html[data-theme="dark"] [data-article-body] table.lizic-table > tbody > tr:first-child > th,
html[data-theme="dark"] .article-body table.lizic-table > tbody > tr:first-child > td,
html[data-theme="dark"] .entry-content table.lizic-table > tbody > tr:first-child > td,
html[data-theme="dark"] .contents_style table.lizic-table > tbody > tr:first-child > td,
html[data-theme="dark"] .article-content table.lizic-table > tbody > tr:first-child > td,
html[data-theme="dark"] [data-article-body] table.lizic-table > tbody > tr:first-child > td,
body.dark-mode .article-body table.lizic-table thead th,
body.dark-mode .entry-content table.lizic-table thead th,
body.dark-mode .contents_style table.lizic-table thead th,
body.dark-mode .article-content table.lizic-table thead th,
body.dark-mode [data-article-body] table.lizic-table thead th,
body.dark-mode .article-body table.lizic-table > tbody > tr:first-child > th,
body.dark-mode .entry-content table.lizic-table > tbody > tr:first-child > th,
body.dark-mode .contents_style table.lizic-table > tbody > tr:first-child > th,
body.dark-mode .article-content table.lizic-table > tbody > tr:first-child > th,
body.dark-mode [data-article-body] table.lizic-table > tbody > tr:first-child > th,
body.dark-mode .article-body table.lizic-table > tbody > tr:first-child > td,
body.dark-mode .entry-content table.lizic-table > tbody > tr:first-child > td,
body.dark-mode .contents_style table.lizic-table > tbody > tr:first-child > td,
body.dark-mode .article-content table.lizic-table > tbody > tr:first-child > td,
body.dark-mode [data-article-body] table.lizic-table > tbody > tr:first-child > td {
  background: linear-gradient(180deg, rgba(83, 66, 51, 0.98), rgba(64, 55, 46, 0.96)) !important;
  color: #f4dcc2 !important;
}

/* =========================================================
   v1.72: 기본형 테이블 전용 디자인 최종 정리
   - 티스토리 기본 표를 스킨 분위기에 맞춰 통일
   - 이전 모바일 카드형/강제 줄바꿈 규칙을 안정적으로 덮어씀
   ========================================================= */
.article-body .lizic-mobile-table-cards-v65,
.entry-content .lizic-mobile-table-cards-v65,
.contents_style .lizic-mobile-table-cards-v65,
.article-content .lizic-mobile-table-cards-v65,
[data-article-body] .lizic-mobile-table-cards-v65 {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.article-body .lizic-table-wrap,
.entry-content .lizic-table-wrap,
.contents_style .lizic-table-wrap,
.article-content .lizic-table-wrap,
[data-article-body] .lizic-table-wrap,
.article-body .lizic-table-wrap-v72,
.entry-content .lizic-table-wrap-v72,
.contents_style .lizic-table-wrap-v72,
.article-content .lizic-table-wrap-v72,
[data-article-body] .lizic-table-wrap-v72 {
  display: block !important;
  clear: both !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 30px auto 36px !important;
  padding: 0 !important;
  border: 1px solid rgba(216, 173, 125, 0.48) !important;
  border-top: 4px solid transparent !important;
  border-radius: 20px !important;
  background:
    linear-gradient(#fffaf3, #fffaf3) padding-box,
    linear-gradient(90deg, #d48455 0%, #e7bd74 52%, #7f946b 100%) border-box !important;
  box-shadow: 0 16px 38px rgba(90, 58, 30, 0.085) !important;
  overflow: hidden !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.article-body .lizic-table-wrap::before,
.entry-content .lizic-table-wrap::before,
.contents_style .lizic-table-wrap::before,
.article-content .lizic-table-wrap::before,
[data-article-body] .lizic-table-wrap::before {
  display: none !important;
  content: none !important;
}

.article-body table.lizic-table,
.entry-content table.lizic-table,
.contents_style table.lizic-table,
.article-content table.lizic-table,
[data-article-body] table.lizic-table,
.article-body .lizic-table-wrap > table,
.entry-content .lizic-table-wrap > table,
.contents_style .lizic-table-wrap > table,
.article-content .lizic-table-wrap > table,
[data-article-body] .lizic-table-wrap > table {
  display: table !important;
  position: static !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}

.article-body table.lizic-table colgroup,
.entry-content table.lizic-table colgroup,
.contents_style table.lizic-table colgroup,
.article-content table.lizic-table colgroup,
[data-article-body] table.lizic-table colgroup {
  display: none !important;
}

.article-body table.lizic-table thead,
.entry-content table.lizic-table thead,
.contents_style table.lizic-table thead,
.article-content table.lizic-table thead,
[data-article-body] table.lizic-table thead {
  display: table-header-group !important;
}

.article-body table.lizic-table tbody,
.entry-content table.lizic-table tbody,
.contents_style table.lizic-table tbody,
.article-content table.lizic-table tbody,
[data-article-body] table.lizic-table tbody {
  display: table-row-group !important;
}

.article-body table.lizic-table tr,
.entry-content table.lizic-table tr,
.contents_style table.lizic-table tr,
.article-content table.lizic-table tr,
[data-article-body] table.lizic-table tr {
  display: table-row !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}

.article-body table.lizic-table th,
.entry-content table.lizic-table th,
.contents_style table.lizic-table th,
.article-content table.lizic-table th,
[data-article-body] table.lizic-table th,
.article-body table.lizic-table td,
.entry-content table.lizic-table td,
.contents_style table.lizic-table td,
.article-content table.lizic-table td,
[data-article-body] table.lizic-table td {
  display: table-cell !important;
  position: static !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 0 !important;
  border-right: 1px solid rgba(216, 173, 125, 0.24) !important;
  border-bottom: 1px solid rgba(216, 173, 125, 0.22) !important;
  background: rgba(255, 250, 243, 0.88) !important;
  color: #172f4d !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.62 !important;
  letter-spacing: -0.025em !important;
  text-align: left !important;
  vertical-align: middle !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  line-break: strict !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.article-body table.lizic-table th:last-child,
.entry-content table.lizic-table th:last-child,
.contents_style table.lizic-table th:last-child,
.article-content table.lizic-table th:last-child,
[data-article-body] table.lizic-table th:last-child,
.article-body table.lizic-table td:last-child,
.entry-content table.lizic-table td:last-child,
.contents_style table.lizic-table td:last-child,
.article-content table.lizic-table td:last-child,
[data-article-body] table.lizic-table td:last-child {
  border-right: 0 !important;
}

.article-body table.lizic-table tr:last-child > th,
.entry-content table.lizic-table tr:last-child > th,
.contents_style table.lizic-table tr:last-child > th,
.article-content table.lizic-table tr:last-child > th,
[data-article-body] table.lizic-table tr:last-child > th,
.article-body table.lizic-table tr:last-child > td,
.entry-content table.lizic-table tr:last-child > td,
.contents_style table.lizic-table tr:last-child > td,
.article-content table.lizic-table tr:last-child > td,
[data-article-body] table.lizic-table tr:last-child > td {
  border-bottom: 0 !important;
}

.article-body table.lizic-table thead th,
.entry-content table.lizic-table thead th,
.contents_style table.lizic-table thead th,
.article-content table.lizic-table thead th,
[data-article-body] table.lizic-table thead th,
.article-body table.lizic-table > tbody > tr:first-child > th,
.entry-content table.lizic-table > tbody > tr:first-child > th,
.contents_style table.lizic-table > tbody > tr:first-child > th,
.article-content table.lizic-table > tbody > tr:first-child > th,
[data-article-body] table.lizic-table > tbody > tr:first-child > th,
.article-body table.lizic-table > tbody > tr:first-child > td,
.entry-content table.lizic-table > tbody > tr:first-child > td,
.contents_style table.lizic-table > tbody > tr:first-child > td,
.article-content table.lizic-table > tbody > tr:first-child > td,
[data-article-body] table.lizic-table > tbody > tr:first-child > td {
  padding: 12px 16px !important;
  background: linear-gradient(180deg, #f5d8ae 0%, #efc78d 100%) !important;
  color: #5c351f !important;
  font-size: 14.5px !important;
  font-weight: 850 !important;
  line-height: 1.45 !important;
  text-align: left !important;
  vertical-align: middle !important;
}

.article-body table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
.entry-content table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
.contents_style table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
.article-content table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
[data-article-body] table.lizic-table > tbody > tr:not(:first-child) > th:first-child,
.article-body table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
.entry-content table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
.contents_style table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
.article-content table.lizic-table > tbody > tr:not(:first-child) > td:first-child,
[data-article-body] table.lizic-table > tbody > tr:not(:first-child) > td:first-child {
  background: rgba(255, 244, 229, 0.82) !important;
  color: #16304f !important;
  font-weight: 800 !important;
}

.article-body table.lizic-table > tbody > tr:nth-child(even) > td:not(:first-child),
.entry-content table.lizic-table > tbody > tr:nth-child(even) > td:not(:first-child),
.contents_style table.lizic-table > tbody > tr:nth-child(even) > td:not(:first-child),
.article-content table.lizic-table > tbody > tr:nth-child(even) > td:not(:first-child),
[data-article-body] table.lizic-table > tbody > tr:nth-child(even) > td:not(:first-child) {
  background: rgba(255, 253, 249, 0.96) !important;
}

.article-body table.lizic-table p,
.entry-content table.lizic-table p,
.contents_style table.lizic-table p,
.article-content table.lizic-table p,
[data-article-body] table.lizic-table p {
  margin: 0.18em 0 !important;
  line-height: inherit !important;
}

.article-body table.lizic-table ul,
.entry-content table.lizic-table ul,
.contents_style table.lizic-table ul,
.article-content table.lizic-table ul,
[data-article-body] table.lizic-table ul,
.article-body table.lizic-table ol,
.entry-content table.lizic-table ol,
.contents_style table.lizic-table ol,
.article-content table.lizic-table ol,
[data-article-body] table.lizic-table ol {
  margin: 0.1em 0 0.1em 1.05em !important;
  padding: 0 !important;
}

.article-body table.lizic-table li,
.entry-content table.lizic-table li,
.contents_style table.lizic-table li,
.article-content table.lizic-table li,
[data-article-body] table.lizic-table li {
  margin: 0.18em 0 !important;
  padding: 0 !important;
}

.article-body table.lizic-table.lizic-table-cols-2 th:first-child,
.entry-content table.lizic-table.lizic-table-cols-2 th:first-child,
.contents_style table.lizic-table.lizic-table-cols-2 th:first-child,
.article-content table.lizic-table.lizic-table-cols-2 th:first-child,
[data-article-body] table.lizic-table.lizic-table-cols-2 th:first-child,
.article-body table.lizic-table.lizic-table-cols-2 td:first-child,
.entry-content table.lizic-table.lizic-table-cols-2 td:first-child,
.contents_style table.lizic-table.lizic-table-cols-2 td:first-child,
.article-content table.lizic-table.lizic-table-cols-2 td:first-child,
[data-article-body] table.lizic-table.lizic-table-cols-2 td:first-child {
  width: 32% !important;
}

.article-body table.lizic-table.lizic-table-cols-3 th:nth-child(1),
.entry-content table.lizic-table.lizic-table-cols-3 th:nth-child(1),
.contents_style table.lizic-table.lizic-table-cols-3 th:nth-child(1),
.article-content table.lizic-table.lizic-table-cols-3 th:nth-child(1),
[data-article-body] table.lizic-table.lizic-table-cols-3 th:nth-child(1),
.article-body table.lizic-table.lizic-table-cols-3 td:nth-child(1),
.entry-content table.lizic-table.lizic-table-cols-3 td:nth-child(1),
.contents_style table.lizic-table.lizic-table-cols-3 td:nth-child(1),
.article-content table.lizic-table.lizic-table-cols-3 td:nth-child(1),
[data-article-body] table.lizic-table.lizic-table-cols-3 td:nth-child(1) {
  width: 30% !important;
}

.article-body table.lizic-table.lizic-table-cols-3 th:nth-child(2),
.entry-content table.lizic-table.lizic-table-cols-3 th:nth-child(2),
.contents_style table.lizic-table.lizic-table-cols-3 th:nth-child(2),
.article-content table.lizic-table.lizic-table-cols-3 th:nth-child(2),
[data-article-body] table.lizic-table.lizic-table-cols-3 th:nth-child(2),
.article-body table.lizic-table.lizic-table-cols-3 td:nth-child(2),
.entry-content table.lizic-table.lizic-table-cols-3 td:nth-child(2),
.contents_style table.lizic-table.lizic-table-cols-3 td:nth-child(2),
.article-content table.lizic-table.lizic-table-cols-3 td:nth-child(2),
[data-article-body] table.lizic-table.lizic-table-cols-3 td:nth-child(2) {
  width: 34% !important;
}

.article-body table.lizic-table.lizic-table-cols-3 th:nth-child(3),
.entry-content table.lizic-table.lizic-table-cols-3 th:nth-child(3),
.contents_style table.lizic-table.lizic-table-cols-3 th:nth-child(3),
.article-content table.lizic-table.lizic-table-cols-3 th:nth-child(3),
[data-article-body] table.lizic-table.lizic-table-cols-3 th:nth-child(3),
.article-body table.lizic-table.lizic-table-cols-3 td:nth-child(3),
.entry-content table.lizic-table.lizic-table-cols-3 td:nth-child(3),
.contents_style table.lizic-table.lizic-table-cols-3 td:nth-child(3),
.article-content table.lizic-table.lizic-table-cols-3 td:nth-child(3),
[data-article-body] table.lizic-table.lizic-table-cols-3 td:nth-child(3) {
  width: 36% !important;
}

.article-body .lizic-table-wrap + p,
.entry-content .lizic-table-wrap + p,
.contents_style .lizic-table-wrap + p,
.article-content .lizic-table-wrap + p,
[data-article-body] .lizic-table-wrap + p {
  margin-top: 32px !important;
}

@media (max-width: 680px) {
  .article-body .lizic-table-wrap,
  .entry-content .lizic-table-wrap,
  .contents_style .lizic-table-wrap,
  .article-content .lizic-table-wrap,
  [data-article-body] .lizic-table-wrap {
    margin: 24px 0 32px !important;
    border-radius: 18px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .article-body .lizic-table-wrap::after,
  .entry-content .lizic-table-wrap::after,
  .contents_style .lizic-table-wrap::after,
  .article-content .lizic-table-wrap::after,
  [data-article-body] .lizic-table-wrap::after {
    content: "좌우로 밀어서 표 보기" !important;
    display: block !important;
    padding: 8px 12px 10px !important;
    border-top: 1px solid rgba(216, 173, 125, 0.18) !important;
    background: rgba(255, 250, 243, 0.96) !important;
    color: rgba(93, 67, 43, 0.70) !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .article-body table.lizic-table,
  .entry-content table.lizic-table,
  .contents_style table.lizic-table,
  .article-content table.lizic-table,
  [data-article-body] table.lizic-table,
  .article-body .lizic-table-wrap > table,
  .entry-content .lizic-table-wrap > table,
  .contents_style .lizic-table-wrap > table,
  .article-content .lizic-table-wrap > table,
  [data-article-body] .lizic-table-wrap > table {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
  }

  .article-body table.lizic-table.lizic-table-cols-2,
  .entry-content table.lizic-table.lizic-table-cols-2,
  .contents_style table.lizic-table.lizic-table-cols-2,
  .article-content table.lizic-table.lizic-table-cols-2,
  [data-article-body] table.lizic-table.lizic-table-cols-2 {
    min-width: 520px !important;
  }

  .article-body table.lizic-table.lizic-table-cols-3,
  .entry-content table.lizic-table.lizic-table-cols-3,
  .contents_style table.lizic-table.lizic-table-cols-3,
  .article-content table.lizic-table.lizic-table-cols-3,
  [data-article-body] table.lizic-table.lizic-table-cols-3 {
    min-width: 640px !important;
  }

  .article-body table.lizic-table:not(.lizic-table-cols-2):not(.lizic-table-cols-3),
  .entry-content table.lizic-table:not(.lizic-table-cols-2):not(.lizic-table-cols-3),
  .contents_style table.lizic-table:not(.lizic-table-cols-2):not(.lizic-table-cols-3),
  .article-content table.lizic-table:not(.lizic-table-cols-2):not(.lizic-table-cols-3),
  [data-article-body] table.lizic-table:not(.lizic-table-cols-2):not(.lizic-table-cols-3) {
    min-width: 680px !important;
  }

  .article-body table.lizic-table th,
  .entry-content table.lizic-table th,
  .contents_style table.lizic-table th,
  .article-content table.lizic-table th,
  [data-article-body] table.lizic-table th,
  .article-body table.lizic-table td,
  .entry-content table.lizic-table td,
  .contents_style table.lizic-table td,
  .article-content table.lizic-table td,
  [data-article-body] table.lizic-table td {
    display: table-cell !important;
    position: static !important;
    padding: 12px 13px !important;
    font-size: 13.5px !important;
    line-height: 1.58 !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }
}

html[data-theme="dark"] .article-body .lizic-table-wrap,
html[data-theme="dark"] .entry-content .lizic-table-wrap,
html[data-theme="dark"] .contents_style .lizic-table-wrap,
html[data-theme="dark"] .article-content .lizic-table-wrap,
html[data-theme="dark"] [data-article-body] .lizic-table-wrap,
body.dark-mode .article-body .lizic-table-wrap,
body.dark-mode .entry-content .lizic-table-wrap,
body.dark-mode .contents_style .lizic-table-wrap,
body.dark-mode .article-content .lizic-table-wrap,
body.dark-mode [data-article-body] .lizic-table-wrap {
  border-color: rgba(216, 173, 125, 0.22) !important;
  background:
    linear-gradient(#1d242c, #1d242c) padding-box,
    linear-gradient(90deg, #d48455 0%, #e7bd74 52%, #7f946b 100%) border-box !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32) !important;
}

html[data-theme="dark"] .article-body table.lizic-table th,
html[data-theme="dark"] .entry-content table.lizic-table th,
html[data-theme="dark"] .contents_style table.lizic-table th,
html[data-theme="dark"] .article-content table.lizic-table th,
html[data-theme="dark"] [data-article-body] table.lizic-table th,
html[data-theme="dark"] .article-body table.lizic-table td,
html[data-theme="dark"] .entry-content table.lizic-table td,
html[data-theme="dark"] .contents_style table.lizic-table td,
html[data-theme="dark"] .article-content table.lizic-table td,
html[data-theme="dark"] [data-article-body] table.lizic-table td,
body.dark-mode .article-body table.lizic-table th,
body.dark-mode .entry-content table.lizic-table th,
body.dark-mode .contents_style table.lizic-table th,
body.dark-mode .article-content table.lizic-table th,
body.dark-mode [data-article-body] table.lizic-table th,
body.dark-mode .article-body table.lizic-table td,
body.dark-mode .entry-content table.lizic-table td,
body.dark-mode .contents_style table.lizic-table td,
body.dark-mode .article-content table.lizic-table td,
body.dark-mode [data-article-body] table.lizic-table td {
  border-color: rgba(216, 173, 125, 0.14) !important;
  background: rgba(31, 38, 46, 0.92) !important;
  color: #e9edf2 !important;
}

html[data-theme="dark"] .article-body table.lizic-table thead th,
html[data-theme="dark"] .entry-content table.lizic-table thead th,
html[data-theme="dark"] .contents_style table.lizic-table thead th,
html[data-theme="dark"] .article-content table.lizic-table thead th,
html[data-theme="dark"] [data-article-body] table.lizic-table thead th,
html[data-theme="dark"] .article-body table.lizic-table > tbody > tr:first-child > th,
html[data-theme="dark"] .entry-content table.lizic-table > tbody > tr:first-child > th,
html[data-theme="dark"] .contents_style table.lizic-table > tbody > tr:first-child > th,
html[data-theme="dark"] .article-content table.lizic-table > tbody > tr:first-child > th,
html[data-theme="dark"] [data-article-body] table.lizic-table > tbody > tr:first-child > th,
html[data-theme="dark"] .article-body table.lizic-table > tbody > tr:first-child > td,
html[data-theme="dark"] .entry-content table.lizic-table > tbody > tr:first-child > td,
html[data-theme="dark"] .contents_style table.lizic-table > tbody > tr:first-child > td,
html[data-theme="dark"] .article-content table.lizic-table > tbody > tr:first-child > td,
html[data-theme="dark"] [data-article-body] table.lizic-table > tbody > tr:first-child > td,
body.dark-mode .article-body table.lizic-table thead th,
body.dark-mode .entry-content table.lizic-table thead th,
body.dark-mode .contents_style table.lizic-table thead th,
body.dark-mode .article-content table.lizic-table thead th,
body.dark-mode [data-article-body] table.lizic-table thead th,
body.dark-mode .article-body table.lizic-table > tbody > tr:first-child > th,
body.dark-mode .entry-content table.lizic-table > tbody > tr:first-child > th,
body.dark-mode .contents_style table.lizic-table > tbody > tr:first-child > th,
body.dark-mode .article-content table.lizic-table > tbody > tr:first-child > th,
body.dark-mode [data-article-body] table.lizic-table > tbody > tr:first-child > th,
body.dark-mode .article-body table.lizic-table > tbody > tr:first-child > td,
body.dark-mode .entry-content table.lizic-table > tbody > tr:first-child > td,
body.dark-mode .contents_style table.lizic-table > tbody > tr:first-child > td,
body.dark-mode .article-content table.lizic-table > tbody > tr:first-child > td,
body.dark-mode [data-article-body] table.lizic-table > tbody > tr:first-child > td {
  background: linear-gradient(180deg, rgba(84, 67, 52, 0.98), rgba(64, 55, 46, 0.96)) !important;
  color: #f4dcc2 !important;
}

/* v1.73: 애드센스 재검토용 정리 모드
   - 빈 카테고리/빈 위젯/임시 문구/외부 광고 영역을 화면에서 제거
   - 새 글 목록 요약은 2줄로 정리해 완성된 정보 사이트처럼 보이게 함 */
.is-lizic-hidden-for-adsense,
.tistory-category li.is-empty-category,
.category-card.is-empty-category-card,
.side-card.is-empty-widget,
.toc-card.is-empty-widget,
.category-recommend.is-empty-widget {
  display: none !important;
}

body.lizic-adsense-cleanup-ready .hero-carousel.is-empty .hero-empty {
  display: grid !important;
}

body.lizic-adsense-cleanup-ready .hero-empty h2 {
  max-width: 680px;
}

body.lizic-adsense-cleanup-ready .hero-empty p {
  max-width: 620px;
}

body.lizic-adsense-cleanup-ready .post-body p,
body.lizic-adsense-cleanup-ready .article-feed .post-card .post-body p {
  min-height: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.lizic-adsense-cleanup-ready .post-card {
  align-self: stretch;
}

body.lizic-adsense-cleanup-ready .side-card.card:empty,
body.lizic-adsense-cleanup-ready .tag-cloud:empty,
body.lizic-adsense-cleanup-ready .popular-list:empty {
  display: none !important;
}

.lizic-ad-removed-note {
  display: none !important;
}

/* 애드센스 심사 전에는 외부 광고/제휴 배너가 남아 보여도 공백이 생기지 않도록 정리 */
body.lizic-adsense-cleanup-ready iframe[src*="tenping"],
body.lizic-adsense-cleanup-ready iframe[src*="adfit"],
body.lizic-adsense-cleanup-ready iframe[src*="googlesyndication"],
body.lizic-adsense-cleanup-ready ins.adsbygoogle,
body.lizic-adsense-cleanup-ready .adsbygoogle {
  display: none !important;
}

/* v1.74 YouTube embed wrapper style */
.article-view .lizic-youtube-wrap,
.entry-content .lizic-youtube-wrap,
.article-card .lizic-youtube-wrap {
  position: relative;
  width: min(100%, 760px);
  margin: 36px auto;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(211, 166, 115, 0.45);
  background: #f8efe3;
  box-shadow: 0 18px 44px rgba(80, 55, 32, 0.12);
}

.article-view .lizic-youtube-wrap::before,
.entry-content .lizic-youtube-wrap::before,
.article-card .lizic-youtube-wrap::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.article-view .lizic-youtube-wrap iframe,
.entry-content .lizic-youtube-wrap iframe,
.article-card .lizic-youtube-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-view .lizic-youtube-short,
.entry-content .lizic-youtube-short,
.article-card .lizic-youtube-short {
  width: min(100%, 420px);
}

.article-view .lizic-youtube-short::before,
.entry-content .lizic-youtube-short::before,
.article-card .lizic-youtube-short::before {
  padding-top: 177.78%;
}

@media (max-width: 640px) {
  .article-view .lizic-youtube-wrap,
  .entry-content .lizic-youtube-wrap,
  .article-card .lizic-youtube-wrap {
    width: 100%;
    margin: 28px auto;
    border-radius: 22px;
  }

  .article-view .lizic-youtube-short,
  .entry-content .lizic-youtube-short,
  .article-card .lizic-youtube-short {
    width: min(100%, 360px);
  }
}
