/* 몽파 블로그 — style.css (티스토리 스킨으로 옮길 단일 파일)
   구성: 글꼴 · 토큰 · 기본 · 공통 · 머리/바닥 · 홈 · 글 상세 · 에피소드 컴포넌트 · 반응형 */

/* ============================================================
   00 · 글꼴
   ============================================================ */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap");
@font-face { font-family: "Paperlogy"; font-weight: 700; font-display: swap; src: url("./images/Paperlogy-7Bold.woff2") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 800; font-display: swap; src: url("./images/Paperlogy-8ExtraBold.woff2") format("woff2"); }

/* ============================================================
   01 · 토큰 — 색·간격은 여기서만 정한다 (컴포넌트는 이 값만 읽는다)
   · 바탕 = 에피소드 그림의 어두운 밤 + 따뜻한 조명(lamp) + 파 초록(leaf)
   · 읽는 면(.theme-paper) = 따뜻한 종이색, 역할 토큰만 바꾼다
   ============================================================ */
:root {
  --bg: #faf6ec;              /* 아주 연한 베이지 */
  --bg-2: #f4eedd;
  --surface: #fffdf7;
  --surface-2: #f0e8d4;
  --line: rgba(28, 24, 18, .1);
  --line-strong: rgba(28, 24, 18, .22);
  --text: #1c1812;
  --text-2: #4a4336;
  --text-3: #7a7262;
  --lamp: #247854;            /* 포인트 컬러 = 파 초록(글자용): 강조 문구·링크 */
  --lamp-bg: #247854;         /* 포인트 컬러(면): 버튼·선택 */
  --lamp-soft: rgba(36, 120, 84, .14);
  --leaf: #247854;            /* 작은 표시·태그 */
  --leaf-soft: rgba(36, 120, 84, .11);
  --on-accent: #fffdf7;
  --on-leaf: #fffdf7;
  --radius: 20px;
  --radius-sm: 14px;
  --pill: 999px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
  --gutter: clamp(20px, 4vw, 40px);
  --wrap: 1100px;
  --font-head: "Paperlogy", "Pretendard Variable", Pretendard, "Noto Sans JP", sans-serif;
  --font-body: "Pretendard Variable", Pretendard, "Noto Sans JP", -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --t-fast: .18s var(--ease);
  --t-base: .3s var(--ease);
}
/* 라이트 모드 단일: .theme-paper 는 따로 색을 바꾸지 않는다(티스토리 스킨 호환용 클래스 이름만 유지) */

/* ============================================================
   02 · 기본
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.7; letter-spacing: -.01em; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(900px 520px at 80% -8%, rgba(98, 160, 110, .2), transparent 70%), radial-gradient(760px 520px at 2% 32%, rgba(36, 120, 84, .08), transparent 70%); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.hl { font-style: normal; color: var(--lamp); }

/* ============================================================
   03 · 공통 컴포넌트
   ============================================================ */
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--leaf); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--pill); font-size: 12.5px; font-weight: 700; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.cn .chip { background: rgba(14, 18, 24, .6); color: #f3eee3; border-color: rgba(243, 238, 227, .2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: var(--pill); font-weight: 700; font-size: 15px; transition: var(--t-fast); border: 1px solid transparent; }
.btn.primary { background: var(--lamp-bg); color: var(--on-accent); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -10px rgba(36, 120, 84, .6); }
.btn.line { border-color: var(--line-strong); color: var(--text); }
.btn.line:hover { border-color: var(--lamp); color: var(--lamp); }
.btn svg { width: 16px; height: 16px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.sec-head h2 { font-family: var(--font-head); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; letter-spacing: -.045em; font-weight: 800; margin-top: 6px; }
.sec-head .more { font-size: 14px; color: var(--text-2); display: inline-flex; gap: 6px; align-items: center; padding-bottom: 6px; }
.sec-head .more:hover { color: var(--lamp); }

/* ============================================================
   04 · 머리 · 바닥
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(250, 246, 236, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; gap: var(--s3); height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand .mark { width: 30px; height: 34px; }
.brand b { font-family: var(--font-head); font-size: 22px; letter-spacing: -.04em; font-weight: 800; }
.brand small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--text-3); padding-top: 4px; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { position: relative; flex: none; padding: 8px 14px; border-radius: var(--pill); color: var(--text-2); font-size: 14px; font-weight: 600; white-space: nowrap; transition: var(--t-fast); }
.nav a:hover, .nav a.on { color: var(--text); background: var(--surface-2); }
.nav a.on { color: var(--lamp); }
.nav a img[alt="N"] { position: absolute; top: 3px; right: 3px; width: 9px; height: 9px; }
.tools { display: flex; align-items: center; gap: 8px; flex: none; }
.lang { display: inline-flex; padding: 3px; border-radius: var(--pill); border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 12px; }
.lang a { padding: 5px 11px; border-radius: var(--pill); color: var(--text-3); letter-spacing: .06em; }
.lang a.on { background: var(--lamp-bg); color: var(--on-accent); font-weight: 700; }
.lang a:not(.on):hover { color: var(--text); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--text-2); transition: var(--t-fast); }
.icon-btn:hover { color: var(--lamp); border-color: var(--lamp); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
.search-pop { border-top: 1px solid var(--line); background: var(--bg-2); padding: var(--s2) 0; }
.search-pop .wrap { display: flex; gap: 12px; }
.search-pop input { flex: 1; min-width: 0; padding: 12px 18px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; }
.search-pop input:focus-visible { border-color: var(--lamp); outline: none; }

.site-footer { margin-top: var(--s7); border-top: 1px solid var(--line); padding: var(--s5) 0 var(--s6); }
.site-footer .row2 { display: flex; justify-content: space-between; align-items: center; gap: var(--s2) var(--s4); flex-wrap: wrap; }
.site-footer .copy { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.site-footer .links { display: flex; gap: var(--s3); font-size: 14px; color: var(--text-2); flex-wrap: wrap; }
.site-footer .links a:hover { color: var(--lamp); }
.site-footer .links .admin { color: var(--leaf); }

/* ============================================================
   05 · 홈
   ============================================================ */
.hero { padding: var(--s7) 0 var(--s6); }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: var(--s6); align-items: center; }
.hero .kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: var(--pill); }
.hero .kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px var(--leaf-soft); }
.hero h1 { font-family: var(--font-head); font-size: clamp(38px, 5.6vw, 66px); line-height: 1.12; letter-spacing: -.05em; font-weight: 800; margin: var(--s3) 0; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .22em; background: var(--lamp-soft); border-radius: 4px; z-index: -1; }
.hero .lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--text-2); max-width: 520px; line-height: 1.85; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s4); }
.promise { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--s4); margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line); max-width: 560px; }
.promise b { display: block; font-family: var(--font-head); font-size: 15px; letter-spacing: -.03em; }
.promise span { font-size: 13px; color: var(--text-3); }

/* 히어로 오른쪽: 몽파 캐릭터가 중심 — 따뜻한 해 + 도는 궤도 + 주제 태그 */
.stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 520px; margin-inline: auto; }
.stage .sun { position: absolute; left: 50%; top: 50%; width: 74%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 50% 42%, #e8f1ea 0%, #cfe2d3 55%, #b1d0b9 100%); box-shadow: 0 40px 80px -30px rgba(36, 120, 84, .45); }
.stage .ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px dashed rgba(28, 24, 18, .22); transform: translate(-50%, -50%); }
.stage .r1 { width: 92%; aspect-ratio: 1; animation: spin 70s linear infinite; }
.stage .r2 { width: 104%; aspect-ratio: 1; border-style: solid; border-color: rgba(28, 24, 18, .07); }
.stage .mp { position: absolute; left: 50%; bottom: 14%; width: 96%; transform: translateX(-50%); filter: drop-shadow(0 18px 18px rgba(80, 48, 8, .22)); z-index: 2; }
.stage .tag { position: absolute; z-index: 3; font-family: var(--mono); font-size: 12.5px; padding: 8px 15px; border-radius: var(--pill); background: rgba(255, 253, 247, .96); border: 1px solid var(--line-strong); color: var(--leaf); box-shadow: 0 10px 22px -12px rgba(28, 24, 18, .4); animation: bob 6s ease-in-out infinite; }
.stage .t1 { left: 0; top: 24%; }
.stage .t2 { right: 0; top: 14%; color: var(--lamp); animation-delay: -1.5s; }
.stage .t3 { left: 4%; bottom: 12%; color: var(--lamp); animation-delay: -3s; }
.stage .t4 { right: 2%; bottom: 20%; animation-delay: -4.5s; }
.stage .spark { position: absolute; z-index: 3; width: 14px; height: 14px; background: #fff7e3; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 3.2s ease-in-out infinite; }
.stage .s1 { left: 20%; top: 14%; }
.stage .s2 { right: 18%; top: 38%; width: 10px; height: 10px; animation-delay: -1s; }
.stage .s3 { left: 44%; top: 6%; width: 11px; height: 11px; animation-delay: -2s; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes twinkle { 50% { opacity: .3; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .stage .ring, .stage .tag, .stage .spark { animation: none; } }

.latest { padding: var(--s5) 0 0; }
.rail { display: flex; gap: var(--s2); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0 var(--s2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 2%, #000 94%, transparent); }
.rail::-webkit-scrollbar { display: none; }
.cn { flex: 0 0 clamp(236px, 26vw, 292px); scroll-snap-align: start; position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); isolation: isolate; transition: transform .4s var(--ease), border-color var(--t-base); background: var(--surface); }
.cn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.cn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(10, 13, 18, .35) 0%, rgba(10, 13, 18, 0) 18%, rgba(6, 8, 12, 0) 72%, rgba(0, 0, 0, .78) 100%); }
.cn:hover { transform: translateY(-8px); border-color: var(--line-strong); }
.cn:hover img { transform: scale(1.05); }
.cn .in { position: absolute; inset: 0; padding: var(--s2); display: flex; flex-direction: column; justify-content: space-between; }
.cn .chip { align-self: flex-start; }
/* 카드 그림에 제목이 이미 들어 있어 제목 글자는 화면에서 숨기고(검색·접근성용으로만 남김), 날짜만 보인다 */
.cn h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.cn .src { font-family: var(--mono); font-size: 12px; color: rgba(243, 238, 227, .78); }

.topics { padding: var(--s7) 0 0; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.tp { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 188px; padding: var(--s3); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: var(--t-base); }
.tp::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, var(--lamp-soft), transparent 70%); opacity: 0; transition: var(--t-base); }
.tp:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.tp:hover::before { opacity: 1; }
.tp .no { font-family: var(--mono); font-size: 12px; color: var(--leaf); letter-spacing: .1em; }
.tp h3 { font-family: var(--font-head); font-size: 24px; letter-spacing: -.045em; font-weight: 800; }
.tp p { font-size: 14.5px; color: var(--text-2); line-height: 1.65; }
.tp .q { margin-top: auto; font-size: 13px; color: var(--text-3); padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; padding: var(--s2) 0; border-bottom: 1px solid var(--line); transition: var(--t-fast); }
.row:first-of-type { border-top: 1px solid var(--line); }
.row:hover { padding-inline: 12px; background: var(--surface); border-radius: var(--radius-sm); }
.row .th { width: 96px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.row .th img { width: 100%; height: 100%; object-fit: cover; }
.row .meta { font-family: var(--mono); font-size: 12px; color: var(--text-3); display: flex; gap: 10px; }
.row .meta .c { color: var(--leaf); }
.row h3 { font-family: var(--font-head); font-size: clamp(18px, 2vw, 22px); line-height: 1.4; letter-spacing: -.02em; font-weight: 700; margin: 4px 0; }
.row h3 .hl { color: var(--lamp); }
.row p { font-size: 14px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row .go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--lamp); }


.contact { padding: var(--s7) 0 0; }
.contact .box { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; padding: var(--s5) var(--s5); border-radius: calc(var(--radius) + 8px); background: #f6efdf; border: 1px solid #eadfc6; }
.contact h2 { font-family: var(--font-head); font-size: clamp(24px, 3vw, 34px); letter-spacing: -.045em; font-weight: 800; line-height: 1.25; }
.contact .types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s2); }
.contact .types span { padding: 6px 14px; border-radius: var(--pill); border: 1px solid var(--line-strong); font-size: 13px; color: var(--text-2); }

/* ============================================================
   06 · 글 상세
   ============================================================ */
.crumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-3); padding: var(--s3) 0 var(--s2); }
.crumb a:hover { color: var(--lamp); }
.post-head h1 { font-family: var(--font-head); font-size: clamp(26px, 3.9vw, 46px); line-height: 1.2; letter-spacing: -.045em; font-weight: 800; margin: 8px 0 12px; }
.post-head h1 .hl { color: var(--lamp); }
.post-lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--text-2); line-height: 1.75; }
.post-actions { display: flex; gap: 8px; margin-top: var(--s2); flex-wrap: wrap; }
.act { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--pill); border: 1px solid var(--line-strong); font-size: 13.5px; font-weight: 700; color: var(--text); transition: var(--t-fast); }
.act:hover { border-color: var(--lamp); color: var(--lamp); }
.act svg { width: 16px; height: 16px; }

.post-grid { margin-top: var(--s3); }
.post-body { padding: var(--s4) clamp(20px, 3.4vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 17px; line-height: 1.9; box-shadow: 0 30px 60px -40px rgba(28, 24, 18, .25); }
/* 표지 이미지는 화면에 두 번 나오지 않게 숨기고 캐러셀(첫 장)과 대표 썸네일로만 쓴다 */
.cardnews { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.post-body section { margin-bottom: var(--s6); }
.post-body section:last-child { margin-bottom: 0; }
.post-body h2 { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; letter-spacing: -.04em; font-weight: 800; margin-bottom: var(--s2); scroll-margin-top: 96px; }
.post-body h2 span { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--leaf); letter-spacing: .08em; }
.post-body p { margin-bottom: var(--s2); }
.post-body b { font-weight: 700; }
.post-body a { color: var(--leaf); text-decoration: underline; text-underline-offset: 3px; }
.post-body em.hl { color: var(--lamp); background: var(--lamp-soft); padding: 0 .2em; border-radius: 4px; }
.viewer { container-type: inline-size; border-radius: var(--radius); border: 1px solid var(--line-strong); background: #17140f; padding: 8px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); color: #f3eee3; }
.vtrack { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: calc(var(--radius) - 8px); scrollbar-width: none; outline-offset: 4px; }
.vtrack::-webkit-scrollbar { display: none; }
.vslide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: #0e1218; cursor: zoom-in; }
.vslide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vbar { display: flex; align-items: center; gap: 10px; padding: 8px 2px 0; }
.vb { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(243, 238, 227, .25); display: grid; place-items: center; color: #f3eee3; flex: none; transition: var(--t-fast); }
.vb:hover { border-color: #7cc79b; color: #7cc79b; }
.vb svg { width: 16px; height: 16px; }
.vdots { display: flex; gap: 6px; flex: 1; justify-content: center; }
.vdots button { width: 8px; height: 8px; border-radius: 4px; background: rgba(243, 238, 227, .25); transition: var(--t-base); }
.vdots button.on { width: 22px; background: #7cc79b; }
.vcount { font-size: 12px; min-width: 40px; text-align: right; color: rgba(243, 238, 227, .7); font-family: var(--mono); }

.post-cols { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: var(--s4); align-items: start; }
.toc { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 2px; padding: var(--s2) var(--s2) var(--s2) var(--s3); border-left: 1px solid var(--line); }
.toc b { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--text-3); margin-bottom: 8px; }
.toc a { position: relative; padding: 6px 0; font-size: 14px; color: var(--text-3); line-height: 1.5; transition: var(--t-fast); }
.toc a:hover { color: var(--text-2); }
.toc a.on { color: var(--leaf); font-weight: 700; }
.toc a.on::before { content: ""; position: absolute; left: calc(var(--s3) * -1 - 1px); top: 50%; width: 3px; height: 18px; margin-top: -9px; border-radius: 2px; background: var(--leaf); }
.post-tags { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.post-tags .l { font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-right: 6px; }
.post-tags a { padding: 6px 14px; border-radius: var(--pill); border: 1px solid var(--line-strong); font-size: 13px; color: var(--leaf); text-decoration: none; }
.post-tags a:hover { border-color: var(--leaf); }
.author { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s3); padding: var(--s2) var(--s3); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.author .mark { flex: none; width: 34px; height: 38px; }
.author .who { flex: 1; min-width: 0; }
.author .who b { font-family: var(--font-head); font-size: 16px; }
.author .who p { margin: 2px 0 0; font-size: 14px; color: var(--text-2); }
.author .follow { flex: none; padding: 8px 16px; border-radius: var(--pill); background: var(--leaf); color: var(--on-leaf); font-size: 14px; font-weight: 700; text-decoration: none; }
.post-more { margin-top: var(--s5); }
.post-more h2 { font-family: var(--font-head); font-size: 20px; letter-spacing: -.04em; font-weight: 800; margin-bottom: var(--s2); }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.pn a { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: var(--t-base); }
.pn a:hover { border-color: var(--lamp); }
.pn a.r { flex-direction: row-reverse; text-align: right; }
.pn .im { flex: none; width: 56px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; }
.pn .im img { width: 100%; height: 100%; object-fit: cover; }
.pn small { display: block; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.pn b { font-family: var(--font-head); font-size: 15px; letter-spacing: -.03em; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================================
   07 · 에피소드 글 컴포넌트 (본문 안)
   ============================================================ */
.cuts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); margin-top: var(--s2); }
.cuts figure { margin: 0; }
.cuts .im { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 5; background: #0e1218; box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .6); cursor: zoom-in; }
.cuts img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cuts .im:hover img { transform: scale(1.03); }
.cuts figcaption { display: flex; gap: 10px; align-items: baseline; padding: 10px 4px 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.cuts figcaption b { font-family: var(--mono); font-size: 12px; color: var(--leaf); font-weight: 500; letter-spacing: .08em; flex: none; }
.say { position: relative; margin: var(--s2) 0; padding: var(--s4) var(--s4) var(--s4) var(--s5); border-radius: var(--radius); background: #17140f; color: #f3eee3; font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.55; letter-spacing: -.04em; font-weight: 700; }
.say::before { content: "“"; position: absolute; left: 20px; top: 8px; font-size: 64px; line-height: 1; color: #7cc79b; font-family: Georgia, serif; }
.say small { display: block; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: rgba(243, 238, 227, .6); font-weight: 400; letter-spacing: .08em; }
.say em { font-style: normal; color: #7cc79b; }
.note { padding: var(--s3); border-radius: var(--radius-sm); background: var(--lamp-soft); border: 1px solid rgba(36, 120, 84, .3); }
.note b { display: block; font-family: var(--font-head); font-size: 17px; color: var(--lamp); margin-bottom: 6px; }
.note p { margin: 0; font-size: 15.5px; line-height: 1.8; }

/* 크게 보기(모달) */
.lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--s2); }
.lb-bg { position: absolute; inset: 0; background: rgba(4, 6, 10, .88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lb-box { position: relative; width: min(460px, 100%); }
.lb-x { position: absolute; top: -52px; right: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); }
.lb-x:hover { background: var(--lamp-bg); color: var(--on-accent); }
.lb-x svg { width: 18px; height: 18px; }
.progress { position: fixed; left: 0; top: 0; z-index: 100; height: 3px; width: 100%; pointer-events: none; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--leaf), var(--lamp)); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 100; padding: 10px 18px; border-radius: var(--pill); background: var(--text); color: var(--bg); font-size: 14px; font-weight: 600; transition: .3s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   08 · 반응형
   ============================================================ */
@media (max-width: 1000px) {
  .hero .grid { grid-template-columns: 1fr; }
.tgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .post-cols { grid-template-columns: minmax(0, 1fr); }
  .post-cols .toc { display: none; }
}
@media (max-width: 720px) {
  .menu-btn { display: grid; }
  .site-header .bar { gap: 10px; }
  .nav { display: none; }
  .site-header.open .nav { display: flex; flex-wrap: wrap; position: absolute; left: 0; right: 0; top: 68px; padding: var(--s2) var(--gutter); background: var(--bg-2); border-bottom: 1px solid var(--line); }
  .tools { margin-left: auto; }
  .hero { padding: var(--s5) 0 var(--s4); }
  .promise { grid-template-columns: 1fr; gap: var(--s2); }
.tgrid { grid-template-columns: 1fr; }
  .about .sec-head { flex-direction: column; align-items: flex-start; }
  .row { grid-template-columns: 76px minmax(0, 1fr); }
  .row .th { width: 76px; }
  .row .go { display: none; }
  .cuts { grid-template-columns: 1fr; }
  .pn { grid-template-columns: 1fr; }
  .contact .box { padding: var(--s4) var(--s3); }
  .post-body { font-size: 16px; padding: var(--s3) var(--s2); }
  .author { flex-wrap: wrap; }
  .author .follow { width: 100%; text-align: center; }
}

/* 큰 제목 안의 강조(글자가 커서 더 선명한 초록을 써도 읽힌다) */
.hero h1 .hl, .sec-head h2 .hl, .post-head h1 .hl, .contact h2 .hl { color: #2b8a5f; }
.btn.primary:hover { background: #1c6644; }

/* ============================================================
   09 · 홈 v2 — 읽는 글 중심 (최신 글 · 주제 아카이브 · 몽파툰 보조 · 글쓰기 원칙)
   ============================================================ */
.posts { padding: var(--s6) 0 0; }
.feature { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--s5); align-items: center; padding: var(--s3); border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line); transition: var(--t-base); }
.feature:hover { border-color: var(--line-strong); box-shadow: 0 30px 60px -40px rgba(28, 24, 18, .35); }
.feature .th { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #0e1218; }
.feature .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.feature:hover .th img { transform: scale(1.04); }
.meta { font-family: var(--mono); font-size: 12px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 6px 12px; }
.meta .c { color: var(--leaf); font-weight: 500; }
.feature h3 { font-family: var(--font-head); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.28; letter-spacing: -.05em; font-weight: 800; margin: 12px 0; }
.feature h3 .hl, .prow h3 .hl { display: block; color: var(--lamp); }
.feature p { color: var(--text-2); line-height: 1.85; max-width: 560px; }
.tags2 { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s2); }
.tags2 span { padding: 5px 12px; border-radius: var(--pill); border: 1px solid var(--line-strong); font-size: 12.5px; color: var(--text-2); }
.more2 { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s3); font-weight: 700; color: var(--lamp); }
.more2 i { font-style: normal; transition: var(--t-fast); }
.feature:hover .more2 i { transform: translateX(4px); }
.plist { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s4); margin-top: var(--s4); }
.prow { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: var(--s2); align-items: start; padding: var(--s2) 0; border-top: 1px solid var(--line); transition: var(--t-fast); }
.prow:hover h3 { color: var(--lamp); }
.prow .th { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #0e1218; }
.prow .th img { width: 100%; height: 100%; object-fit: cover; }
.prow h3 { font-family: var(--font-head); font-size: 19px; line-height: 1.4; letter-spacing: -.03em; font-weight: 700; margin: 6px 0 6px; transition: var(--t-fast); }
.prow h3 .hl { font-size: 15.5px; font-weight: 600; margin-top: 2px; }
.prow p { font-size: 14px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sec-head .lead2 { max-width: 380px; font-size: 14.5px; color: var(--text-2); line-height: 1.75; padding-bottom: 6px; }
.tp .q { display: flex; flex-direction: column; gap: 4px; }
.tp .q b { font-family: var(--mono); font-size: 11.5px; color: var(--leaf); font-weight: 500; letter-spacing: .06em; }
.toons { padding: var(--s7) 0 0; }
.toons .note2 { margin: calc(var(--s2) * -1) 0 var(--s3); font-size: 14.5px; color: var(--text-2); }
.toons .cn { flex-basis: clamp(180px, 19vw, 224px); }
.toons .cn:hover { transform: translateY(-6px); }
.principles { padding: var(--s7) 0 0; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.pgrid > div { padding: var(--s3); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pgrid .no { display: block; font-family: var(--mono); font-size: 12px; color: var(--leaf); letter-spacing: .1em; margin-bottom: 10px; }
.pgrid b { display: block; font-family: var(--font-head); font-size: 19px; letter-spacing: -.04em; margin-bottom: 6px; }
.pgrid p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
@media (max-width: 1000px) {
  .feature { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: var(--s4); }
  .plist { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .feature { grid-template-columns: 1fr; }
  .feature .th { max-width: 280px; }
  .pgrid { grid-template-columns: 1fr; }
}
.stage .mp { height: auto; }

/* ============================================================
   10 · 심층 글 (SEO/GEO 구성)
   ============================================================ */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.post-wrap { padding-bottom: var(--s6); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: var(--s2); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); }
.byline small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--text-3); }
.byline span, .byline a { display: block; line-height: 1.4; }
.byline .by { display: flex; align-items: center; gap: 8px; }
.byline .by .mark { width: 22px; height: 25px; }
.byline .by b { font-family: var(--font-head); font-size: 15px; color: var(--text); }
.byline .refcount { color: var(--leaf); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.answer { margin: 0 0 var(--s4); padding: var(--s3) var(--s3) var(--s3); border-radius: var(--radius-sm); background: var(--lamp-soft); border: 1px solid rgba(36, 120, 84, .28); }
.answer .al { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; color: var(--lamp); }
.answer ol { display: flex; flex-direction: column; gap: 12px; counter-reset: n; margin: 0; padding: 0; list-style: none; }
.answer li { counter-increment: n; position: relative; padding-left: 38px; font-size: 16px; line-height: 1.7; }
.answer li::before { content: counter(n); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--leaf); color: var(--on-leaf); font-family: var(--mono); font-size: 12.5px; font-weight: 700; display: grid; place-items: center; }

.post-body h3 { font-family: var(--font-head); font-size: 19px; letter-spacing: -.03em; font-weight: 800; margin: var(--s3) 0 8px; }
.post-body h2.plain { font-size: 18px; }
.entry-content section + section { margin-top: var(--s5); }
.entry-content ul { margin: 0; padding-left: 1.2em; list-style: disc; }
.entry-content ul li { margin-bottom: 6px; }

.tbl-wrap { overflow-x: auto; margin: var(--s2) 0 var(--s3); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; min-width: 440px; }
.tbl th, .tbl td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl thead th { background: var(--surface-2); font-family: var(--font-head); font-size: 14px; }
.tbl thead th.b { color: var(--leaf); }
.tbl tbody th { font-weight: 700; white-space: nowrap; color: var(--text-2); }

.steps { display: flex; flex-direction: column; gap: 14px; counter-reset: st; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: st; position: relative; padding: 16px 18px 16px 60px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.steps li::before { content: counter(st); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--leaf); color: var(--on-leaf); font-family: var(--mono); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.steps b { display: block; font-family: var(--font-head); font-size: 17px; margin-bottom: 4px; }
.steps span { display: block; font-size: 15.5px; line-height: 1.8; color: var(--text-2); }

.note.soft { background: var(--surface-2); border-color: var(--line); }
.note.soft b { color: var(--text); }
.note ul { margin-top: 8px; font-size: 15.5px; line-height: 1.8; }

.faq-wrap { position: relative; }
.faq { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; margin: 0 -2px; outline-offset: 4px; }
.faq::-webkit-scrollbar { display: none; }
.faq .qa { flex: 0 0 min(280px, 78%); scroll-snap-align: start; display: flex; flex-direction: column; min-height: 360px; padding: 24px 22px; border: 1px solid rgba(28, 24, 18, .3); border-radius: 16px; box-shadow: 0 2px 0 rgba(28, 24, 18, .06), 0 10px 22px -14px rgba(28, 24, 18, .28);
  background-color: #fdfaf1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .27  0 0 0 0 .15  0 0 0 .08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"), linear-gradient(180deg, #faf4e3 0%, #fffdf6 100%); }
.faq .qn { align-self: flex-start; font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--leaf); letter-spacing: .04em; margin-bottom: 12px; }
.faq .qa h3 { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line-strong); font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.5; letter-spacing: -.03em; }
.faq .qa p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--text-2); }
.faq-nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.faq-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.faq-nav button:disabled { opacity: .35; cursor: default; }
.faq-nav svg { width: 18px; height: 18px; }
.faq-nav[hidden] { display: none; }
.fold > summary, .refs > summary { cursor: pointer; list-style: none; }
.fold > summary::-webkit-details-marker, .refs > summary::-webkit-details-marker { display: none; }

.fold, .refs { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); }
.fold > summary, .refs > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.fold > summary small, .refs > summary small { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--leaf); }
.fold > summary small::after, .refs > summary small::after { content: " ▾"; }
.fold[open] > summary small::after, .refs[open] > summary small::after { content: " ▴"; }
.fold .cuts { padding: 0 18px 18px; }
.refs ol { margin: 0; padding: 0 18px 4px 38px; list-style: decimal; font-size: 14px; line-height: 1.75; color: var(--text-2); }
.refs ol li { margin-bottom: 8px; padding-left: 4px; word-break: keep-all; overflow-wrap: anywhere; }
.refs .refnote { margin: 0; padding: 0 18px 16px; font-size: 13px; color: var(--text-3); }

.relgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin-bottom: var(--s3); }
.rel { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); }
.rel .th { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); }
.rel .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rel:hover .th img { transform: scale(1.04); }
.rel .meta { display: flex; gap: 8px; font-size: 12.5px; color: var(--text-3); margin-bottom: 4px; }
.rel .meta .c { color: var(--leaf); font-weight: 700; }
.rel b { display: block; font-family: var(--font-head); font-size: 16px; line-height: 1.4; letter-spacing: -.03em; }
.rel p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.pn .tx { min-width: 0; }
@media (max-width: 900px) {
  .post-cols { grid-template-columns: 1fr; }
  .toc { display: none; }
  .relgrid { grid-template-columns: 1fr; }
  .rel { flex-direction: row; gap: 14px; }
  .rel .th { flex: none; width: 96px; aspect-ratio: 4 / 5; }
  .pn { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .byline { gap: 10px 16px; }
  .steps li { padding-left: 54px; }
  .fold .cuts { grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px 14px; }
}

.langlink { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line-strong); font-size: 13px; font-weight: 700; color: var(--text-2); background: var(--surface); transition: var(--t-fast); }
.langlink:hover { border-color: var(--leaf); color: var(--leaf); }

/* 몽파툰 슬라이드 (접지 않고 옆으로 넘김) — 이전/다음 버튼은 이미지 좌우 가운데 */
.cutslider { position: relative; margin-top: var(--s2); container-type: inline-size; --cw: calc((100cqw - 28px) / 3); }
.cutslider .cuts { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 8px; margin-top: 0; scrollbar-width: none; outline-offset: 4px; }
.cutslider .cuts::-webkit-scrollbar { display: none; }
.cutslider .cuts figure { flex: 0 0 var(--cw); scroll-snap-align: start; min-width: 0; }
.cutslider .cuts .im { box-shadow: 0 14px 28px -18px rgba(28, 24, 18, .5); }
.cs-bar { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 8px; }
.cs-btn { position: absolute; top: calc(4px + var(--cw) * 0.625 - 20px); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 253, 247, .94); color: var(--text); display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(28, 24, 18, .4); transition: var(--t-fast); }
.cs-btn[data-p] { left: -14px; }
.cs-btn[data-n] { right: -14px; }
.cs-btn:hover:not(:disabled) { border-color: var(--leaf); color: var(--leaf); }
.cs-btn:disabled { opacity: 0; pointer-events: none; }
.cs-btn svg { width: 16px; height: 16px; }
.cs-dots { display: flex; gap: 6px; }
.cs-dots button { width: 8px; height: 8px; border-radius: 4px; background: var(--line-strong); transition: var(--t-base); }
.cs-dots button.on { width: 22px; background: var(--leaf); }
.cs-count { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
@media (max-width: 900px) { .cutslider { --cw: calc((100cqw - 14px) / 2); } }
@media (max-width: 560px) { .cutslider { --cw: 78cqw; } .cs-btn[data-p] { left: 4px; } .cs-btn[data-n] { right: 4px; } }

/* 줄바꿈: 단어(어절) 단위로 끊고, 제목·도입은 균형 있게, 본문은 마지막 줄이 한 단어만 남지 않게 */
body { word-break: keep-all; overflow-wrap: break-word; line-break: strict; }
h1, h2, h3, .hero h1, .post-lead, .lead, .answer li, .prow h3, .feature h3, .tp p, .rel b, .rel p, .pgrid p, .steps b { text-wrap: balance; }
.post-body p, .post-body li, .steps span, .note p, .prow p, .feature p { text-wrap: pretty; }
.post-lead { max-width: 36em; }
.refs ol li { word-break: normal; overflow-wrap: anywhere; }

/* ============================================================
   99 · 테스트 블록 .mtest (유형 점검 · 체크리스트) — 토큰만 읽는다. 스크립트가 꺼지면 목록으로 읽힌다
   ============================================================ */
.mtest { margin: var(--s3) 0; padding: var(--s3); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-strong); }
.mtest .mq { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.mtest:not(.is-on) .mq > li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.mtest:not(.is-on) .mq [data-a] { display: block; margin-top: 4px; color: var(--text-2); }
.mtest .mr section { margin: var(--s3) 0 0; }
.mtest .mr h3 { font-family: var(--font-head); font-size: 20px; margin: 0 0 8px; }
.mtest .mnote { margin: var(--s2) 0 0; font-size: 13.5px; line-height: 1.7; color: var(--text-3); }
.mtest.is-on .mr { display: none; }
.mtest.is-on.done .mr { display: block; margin-top: var(--s3); padding-top: var(--s3); border-top: 1px dashed var(--line-strong); outline: none; }
.mtest.is-on.done .mr section { display: none; }
.mtest.is-on.done .mr section.on { display: block; margin-top: 0; }
.mtest.is-on.done .mq, .mtest.is-on.done .mt-act, .mtest.is-on.done .mt-prog { display: none; }
.mt-prog { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s2); }
.mt-pbar { flex: 1; height: 6px; border-radius: var(--pill); background: var(--lamp-soft); overflow: hidden; }
.mt-pbar i { display: block; height: 100%; width: 0; background: var(--leaf); border-radius: var(--pill); transition: width .25s ease; }
.mt-pnum { font-family: var(--mono); font-size: 12px; color: var(--lamp); white-space: nowrap; }
.mt-q { padding: var(--s2) var(--s2) 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.mt-qt { margin: 0 0 10px; font-family: var(--font-head); font-size: 17px; line-height: 1.6; }
.mt-qn { font-family: var(--mono); font-size: 12px; color: var(--lamp); margin-right: 4px; }
.mt-opts { display: flex; flex-direction: column; gap: 8px; }
.mt-opt { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; font-size: 15.5px; line-height: 1.6; transition: border-color .15s, background .15s; }
.mt-opt:hover { border-color: var(--line-strong); }
.mt-opt input { position: absolute; opacity: 0; pointer-events: none; }
.mt-dot, .mt-box { flex: none; width: 18px; height: 18px; margin-top: 3px; border: 2px solid var(--line-strong); background: var(--surface); }
.mt-dot { border-radius: 50%; } .mt-box { border-radius: 5px; }
.mt-opt:has(input:checked) { border-color: var(--leaf); background: var(--leaf-soft); }
.mt-opt input:checked + .mt-dot { border-color: var(--leaf); background: radial-gradient(circle, var(--leaf) 0 45%, var(--surface) 50%); }
.mt-opt input:checked + .mt-box { border-color: var(--leaf); background: var(--leaf); }
.mt-opt input:focus-visible + .mt-dot, .mt-opt input:focus-visible + .mt-box { outline: 3px solid var(--lamp-soft); outline-offset: 2px; }
.mt-act { margin-top: var(--s2); }
.mt-act .btn[disabled] { opacity: .45; cursor: not-allowed; }
.mt-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s3); }
@media (max-width: 640px) { .mtest { padding: var(--s2); } .mt-qt { font-size: 16px; } }

/* ============================================================
   40 · 티스토리 전용 (티스토리가 만드는 마크업에 시안 디자인을 입힌다)
   ============================================================ */
[hidden] { display: none !important; }

/* ---------- 카테고리 메뉴: [##_category_list_##] 마크업을 알약 메뉴로 ---------- */
.nav ul, .nav li { display: contents; list-style: none; }
.nav .c_cnt { display: none; }
.nav a.link_sub_item, .nav ul ul ul { display: none; }
.nav a { white-space: nowrap; }
.langlink { white-space: nowrap; }

/* ---------- 홈 전용 영역 (홈 1페이지에서만 보임) ---------- */
.home-only { display: none; }
#tt-body-index .home-only { display: block; }
.no-home-intro .home-only { display: none !important; }
#tt-body-index .content-wrap { padding-top: var(--s6); min-height: 24vh; }
#tt-body-index .list-head { display: none; }
.no-home-intro .content-wrap { padding-top: 0; }
.content-wrap { min-height: 24vh; }
.empty-note { padding: var(--s5) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; color: var(--text-3); font-size: 15px; }

/* ---------- 목록 (홈 · 카테고리 · 검색 · 태그): 글 한 줄 카드 ---------- */
.inner.plist { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s4); margin-top: var(--s4); }
#tt-body-index .inner.plist { margin-top: var(--s4); }
.prow .th.txt { display: grid; place-items: center; text-align: center; padding: 6px; font-size: 12px; font-weight: 700; color: var(--leaf); background: var(--leaf-soft); }
.prow .meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--text-3); }
.prow .meta .c { color: var(--leaf); font-weight: 700; }
@media (max-width: 900px) { .inner.plist { grid-template-columns: 1fr; } }

/* ---------- 목록 머리 (카테고리 · 검색 · 태그) ---------- */
.list-head { padding: var(--s6) 0 var(--s2); }
.list-head .kicker { font-size: 12px; color: var(--leaf); letter-spacing: .14em; text-transform: uppercase; }
.list-head h1 { font-family: var(--font-head); font-size: clamp(27px, 4.14vw, 43px); letter-spacing: -.045em; line-height: 1.2; font-weight: 800; margin-top: 6px; }
.list-head h1 small { font-size: .5em; color: var(--text-3); font-weight: 600; letter-spacing: 0; }

/* ---------- 모바일 메뉴 ---------- */
@media (max-width: 720px) {
  .site-header.open .nav { display: flex; flex-wrap: wrap; position: absolute; left: 0; right: 0; top: 68px; margin: 0; padding: var(--s2) var(--gutter); background: var(--bg-2); border-bottom: 1px solid var(--line); }
}

/* ---------- 글 본문 (에디터가 만든 요소) ---------- */
.entry-content { word-break: keep-all; overflow-wrap: anywhere; }
.entry-content img { display: inline-block; max-width: 100%; height: auto; border-radius: 12px; }
.entry-content figure { margin: var(--s3) 0; }
.entry-content figure.imageblock { text-align: center; }
.entry-content figcaption { font-size: 13px; color: var(--text-3); margin-top: 8px; text-align: center; }
.entry-content blockquote { margin: var(--s3) 0; padding: 4px 0 4px var(--s3); border-left: 3px solid var(--leaf); color: var(--text-2); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: var(--s4) 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content a { color: var(--leaf); text-decoration: underline; text-underline-offset: 3px; }
.entry-content .cuts img { border-radius: 0; }
.entry-content .im img { display: block; }

/* 카드(몽파툰) 원본 이미지: 화면에는 숨기고 팝업 뷰어에서 쓴다 */
.cardnews { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* 글 머리 정보(스크립트가 읽고 숨김) */
.post-fact { display: none !important; }

/* 티스토리 본문 기본 목록·표 스타일보다 우선: 우리 컴포넌트는 직접 그린다 */
.entry-content .answer ol, .entry-content ol.steps, .entry-content .faq, .entry-content .answer li, .entry-content ol.steps li { list-style: none !important; }
.entry-content .answer ol, .entry-content ol.steps { padding-left: 0 !important; }
.entry-content .refs ol { list-style: decimal !important; padding-left: 38px !important; }
.entry-content .refs ol li { list-style: decimal !important; }
.entry-content .note ul { list-style: disc !important; padding-left: 1.2em !important; margin: 8px 0 0 !important; }
.entry-content .note li { list-style: disc !important; }
.entry-content table.tbl, .entry-content .tbl th, .entry-content .tbl td { border-color: var(--line) !important; }
.entry-content .tbl th, .entry-content .tbl td { border-width: 0 0 1px 0 !important; border-style: solid !important; }
.entry-content .tbl thead th { background: var(--surface-2) !important; }
.entry-content details > summary { margin: 0; }
.entry-content h2 { margin-top: 0; }
.entry-content h3 { color: var(--text); }
.entry-content p { margin-bottom: var(--s2); }
.entry-content .refs p, .entry-content .faq details p, .entry-content .note p { margin-bottom: 0; }
.entry-content .faq details p { margin-bottom: 16px; }

/* ---------- 태그 (글 하단 · 태그 모음) ---------- */
.post-body .post-tags { font-size: 0; }
.post-tags .l, .post-tags a { font-size: 13px; }
.post-tags .l { font-size: 12px; }
.tag-page { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s5); }
.tag-page a { padding: 6px 14px; border-radius: var(--pill); border: 1px solid var(--line-strong); font-size: 13px; color: var(--leaf); }
.tag-page a:hover { border-color: var(--leaf); }

/* ---------- 페이지 이동 ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: var(--s5) 0 var(--s6); }
.pagination a { min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--line); display: inline-grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--text-2); transition: var(--t-fast); }
.pagination a:hover { border-color: var(--leaf); color: var(--leaf); }
.pagination a.selected { background: var(--leaf); color: var(--on-leaf); border-color: var(--leaf); }
.pagination .no-more-prev, .pagination .no-more-next { opacity: .35; pointer-events: none; }

/* ---------- 보호글 · 댓글 ---------- */
.protected_form fieldset { display: flex; gap: 8px; border: 0; margin-top: var(--s2); padding: 0; }
.protected_form input { flex: 1; min-width: 0; padding: 12px 18px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; }
.cmt { margin-top: var(--s5); }
.cmt h2.plain { font-size: 18px; margin-bottom: var(--s2); }
.post-body .tt-comment-cont { max-width: none; margin: 0; padding-top: var(--s2); }
.post-body .tt-comment-cont .tt-btn_register { width: auto; height: 44px; padding: 0 22px; border: 0; border-radius: var(--pill); background: var(--leaf); color: var(--on-leaf); font-weight: 700; }
.post-body .tt-comment-cont .tt-btn_register:hover, .post-body .tt-comment-cont .tt-btn_register:focus { background: var(--leaf); color: var(--on-leaf); opacity: .9; }

/* ---------- 글 하단: 티스토리 기본 프로필 박스는 숨기고, 한 줄 소개 띠로 대신한다 ---------- */
.post-body .tt_box_namecard, .post-body .tt-box-namecard { display: none !important; }
@media (max-width: 520px) { .author { flex-wrap: wrap; } .author .follow { width: 100%; text-align: center; } }

/* ---------- 같은 카테고리의 다른 글 (티스토리 기본 박스 → 깔끔한 목록) ---------- */
.post-body .another_category { margin: var(--s5) 0 var(--s4); padding: 0; border: 0 !important; background: none !important; }
.post-body .another_category h4 { margin: 0 0 var(--s2); padding: 0; border: 0 !important; font-family: var(--font-head); font-size: 17px !important; font-weight: 700; letter-spacing: -.02em; color: var(--text) !important; }
.post-body .another_category h4 a { color: var(--leaf) !important; font-weight: 800; text-decoration: none; }
.post-body .another_category table { width: 100%; border: 0; border-collapse: collapse; }
.post-body .another_category tr { border-top: 1px solid var(--line-strong); }
.post-body .another_category tr:last-child { border-bottom: 1px solid var(--line-strong); }
.post-body .another_category th, .post-body .another_category td { padding: 16px 0; border: 0 !important; background: none !important; text-align: left; vertical-align: middle; }
.post-body .another_category th { width: 100%; font-size: 16.5px !important; font-weight: 600; line-height: 1.5; color: var(--text) !important; }
.post-body .another_category th a { color: var(--text) !important; font-size: 16.5px !important; font-weight: 600; text-decoration: none; }
.post-body .another_category th a:hover { color: var(--leaf) !important; }
.post-body .another_category th span { font-family: var(--mono); font-size: 13px !important; font-weight: 500; color: var(--text-2); }
.post-body .another_category td { padding-left: 20px; white-space: nowrap; font-family: var(--mono); font-size: 13.2px !important; font-weight: 500; color: var(--text-2) !important; text-align: right; }
@media (max-width: 520px) { .post-body .another_category th { font-size: 15.5px !important; } .post-body .another_category td { padding-left: 12px; font-size: 12.5px !important; } }

/* ---------- 이전·다음 글 ---------- */
.next h2 { font-family: var(--font-head); font-size: 20px; letter-spacing: -.04em; font-weight: 800; margin-bottom: var(--s2); }

/* ---------- 글 상세 레이아웃 ---------- */
.post-wrap { padding-bottom: var(--s3); }
.post-body { max-width: none; }
.post-more { max-width: none; }
.post-head { max-width: none; }
.byline time { display: block; line-height: 1.4; }
.byline .rt i, .byline .refcount i { display: block; font-style: normal; line-height: 1.4; }
.post-body #answerHost:empty { display: none; }
.post-lead { max-width: 36em; }
.post-head > .post-lead { margin: 0; }

/* 광고 격리 슬롯이 비어 있을 때 간격을 만들지 않게 */
.post-head > div:empty { display: none; }

/* 목록 머리 아래 여백 */
#tt-body-category .inner.plist, #tt-body-search .inner.plist, #tt-body-archive .inner.plist, #tt-body-tag .inner.plist { margin-top: var(--s3); }

/* ---------- 몽파툰 컷 안의 티스토리 이미지(imageblock) ---------- */
.cuts .im .imageblock { margin: 0; width: 100%; height: 100%; }
.cuts .im .imageblock span { display: block; width: 100%; height: 100%; }
.cuts .im .imageblock img { width: 100%; height: 100%; object-fit: cover; }

/* 티스토리 에디터가 ol 에 붙이는 인라인 list-style 때문에 번호가 두 번 나오는 것을 막는다 */
.answer ol, .steps, .answer li, .steps li { list-style: none !important; }

/* 테스트 결과 화면: 위쪽 점선 제거, 하단 버튼(다시 하기 · 주소 복사) 스타일 */
.mtest.is-on.done .mr { margin-top: 0; padding-top: 0; border-top: 0; }
.mt-tools .btn { border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); padding: 10px 18px; font-size: 14px; cursor: pointer; }
.mt-tools .btn:hover { border-color: var(--leaf); color: var(--lamp); }

/* 문항 번호: 목록 기본 번호 대신 초록 원형 배지(.steps 와 같은 모양). 예전 "Q1" 표기는 숨긴다 */
.mtest .mq { list-style: none !important; margin: 0 !important; padding: 0 !important; counter-reset: mq; }
.mtest .mq > li { list-style: none !important; }
.mtest.is-on .mq > li.mt-q { counter-increment: mq; position: relative; padding: 16px 16px 14px 62px; }
.mtest.is-on .mq > li.mt-q::before { content: counter(mq); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--leaf); color: var(--on-leaf); font-family: var(--mono); font-size: 13px; font-weight: 700; line-height: 28px; text-align: center; }
.mt-qn { display: none; }
@media (max-width: 640px) { .mtest.is-on .mq > li.mt-q { padding-left: 54px; } .mtest.is-on .mq > li.mt-q::before { left: 14px; } }

/* ============================================================
   테스트 모달 (.mtest 시작 카드 + .mt-modal) — 앞선 .mtest 규칙 뒤에 이어 붙인다(추가만, 기존 규칙은 지우지 않는다)
   ============================================================ */
/* 글 안: 문항·결과 목록은 숨기고(스크립트가 켜진 경우) 시작 카드만 보인다 */
.mtest.is-on .mq, .mtest.is-on .mr { display: none !important; }
.mtest.is-on { padding: var(--s2) var(--s3); }
.mt-start { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; }
.mt-st-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mt-st-t b { font-family: var(--font-head); font-size: 18px; }
.mt-st-t span { font-size: 13.5px; color: var(--text-3); line-height: 1.6; }
.mtest.is-on .mnote { margin-top: var(--s2); }

/* 모달 */
html.mt-lock, html.mt-lock body { overflow: hidden; }
.mt-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(28, 24, 18, .55); backdrop-filter: blur(3px); }
.mt-modal.on { display: flex; }
.mt-dlg { position: relative; display: flex; flex-direction: column; width: min(640px, 100%); max-height: min(86vh, 760px); background: var(--surface); border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); outline: none; overflow: hidden; }
.mt-head { flex: none; display: flex; align-items: center; gap: 14px; padding: 16px 18px 14px 22px; border-bottom: 1px solid var(--line); background: var(--surface); }
.mt-head .mt-prog { flex: 1; display: flex; align-items: center; gap: 12px; margin: 0; }
.mt-x { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2); font-size: 20px; line-height: 1; cursor: pointer; }
.mt-x:hover { border-color: var(--leaf); color: var(--lamp); }
.mt-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 26px 24px; }
.mt-foot { flex: none; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--surface); }
.mt-foot .btn { border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); padding: 10px 18px; font-size: 14px; cursor: pointer; }
.mt-foot .btn.primary { background: var(--lamp-bg); border-color: var(--lamp-bg); color: var(--on-accent); }
.mt-foot .btn[disabled] { opacity: .4; cursor: not-allowed; }
.mt-foot .mt-sp { font-size: 12.5px; color: var(--text-3); }
.mt-foot .mt-done, .mt-foot .mt-go { margin-left: auto; }

.mt-qno { margin: 0 0 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--lamp); }
.mt-q { margin: 0 0 20px; font-family: var(--font-head); font-size: 21px; line-height: 1.5; }
.mt-opts { display: flex; flex-direction: column; gap: 10px; }
.mt-choice { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; font-size: 16px; line-height: 1.6; text-align: left; cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.mt-choice:hover { border-color: var(--leaf); }
.mt-choice:active { transform: scale(.995); }
.mt-choice.sel { border-color: var(--leaf); background: var(--leaf-soft); }
.mt-choice .mt-dot { flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); }
.mt-choice.sel .mt-dot { border-color: var(--leaf); background: radial-gradient(circle, var(--leaf) 0 45%, var(--surface) 50%); }
.mt-hint { margin: 0 0 14px; font-size: 14px; color: var(--text-3); }
.mt-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mt-list .mt-opt { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; font-size: 15.5px; line-height: 1.6; }
.mt-list .mt-opt input { position: absolute; opacity: 0; pointer-events: none; }
.mt-list .mt-box { flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 5px; border: 2px solid var(--line-strong); background: var(--surface); }
.mt-list .mt-opt:has(input:checked) { border-color: var(--leaf); background: var(--leaf-soft); }
.mt-list .mt-opt input:checked + .mt-box { border-color: var(--leaf); background: var(--leaf); }

.mt-result h3 { margin: 0 0 10px; font-family: var(--font-head); font-size: 22px; line-height: 1.4; }
.mt-result p { margin: 0 0 var(--s2); font-size: 16px; line-height: 1.85; }
.mt-result .steps { margin-top: var(--s2); }
.mt-note { margin: var(--s2) 0 0; font-size: 13px; line-height: 1.7; color: var(--text-3); }

@media (max-width: 640px) {
  .mt-modal { padding: 0; align-items: flex-end; }
  .mt-dlg { width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; }
  .mt-body { padding: 22px 18px; }
  .mt-q { font-size: 19px; }
  .mt-foot { padding: 12px 16px; }
}


/* ============================================================
   글 상세 다듬기 (2026-11-15) — 앞선 규칙 뒤에 이어 붙인다(추가만)
   ① 글 정보 줄: 라벨과 값을 좌우로 나란히  ② 더보기(⋯) 버튼을 그 줄 오른쪽 끝으로
   ③ 1분 점검 카드를 글의 중심으로 강조  ④ 같은 카테고리 글 목록 상하 여백
   ============================================================ */
.byline small { display: inline; margin: 0 8px 0 0; }
.byline .d-pub, .byline .d-upd, .byline .rt, .byline .refcount { display: inline-flex; align-items: baseline; gap: 0; white-space: nowrap; }
.byline .refcount small { margin-right: 8px; }
.post-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.post-head > * { grid-column: 1 / -1; }
.post-head > .byline { grid-row: 3; padding-right: 52px; }
.post-head > .my_edit { grid-column: 2; grid-row: 3; align-self: center; justify-self: end; z-index: 2; position: relative; margin-right: 4px; }
.post-head > .my_edit .btn_etc { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.post-head > .my_edit .btn_etc:hover { background: var(--lamp-soft); }
.post-head > .post-actions { grid-row: 4; }
section:has(> .mtest) { margin-top: var(--s5); }
section:has(> .mtest) > h2 { color: var(--lamp); }
.mtest.is-on { position: relative; padding: var(--s4); border: 2px solid var(--leaf); border-radius: calc(var(--radius) + 4px); background: linear-gradient(135deg, var(--leaf-soft) 0%, var(--surface) 70%); box-shadow: 0 22px 48px -26px rgba(36, 120, 84, .65); }
.mtest.is-on .mt-st-t b { font-size: 26px; line-height: 1.35; }
.mtest.is-on .mt-st-t::before { content: "1 MIN CHECK"; align-self: flex-start; padding: 4px 10px; border-radius: var(--pill); background: var(--leaf); color: var(--on-leaf); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.mtest.is-on .mt-st-t span { font-size: 14.5px; }
.mtest.is-on .mt-open { padding: 18px 34px; font-size: 18px; box-shadow: 0 14px 28px -14px rgba(36, 120, 84, .75); }
.mtest.is-on .mt-open:hover { transform: translateY(-2px); }
.mtest.is-on .mnote { margin-top: var(--s3); padding-top: var(--s2); border-top: 1px dashed var(--line-strong); }
.post-body .another_category { margin: var(--s6) 0 var(--s5) !important; }
.post-body .another_category h4 { margin: 0 0 var(--s3) !important; }
.post-body .another_category th, .post-body .another_category td { padding-top: 18px !important; padding-bottom: 18px !important; }
.post-body .container_postbtn { margin: var(--s4) 0 var(--s3) !important; }
.post-body .post-tags { margin-top: var(--s5); }
@media (max-width: 640px) {
  .mtest.is-on { padding: var(--s3) var(--s2); }
  .mtest.is-on .mt-st-t b { font-size: 22px; }
  .mtest.is-on .mt-open { width: 100%; justify-content: center; }
  .post-head > .byline { padding-right: 44px; }
}


/* ============================================================
   글 상세 다듬기 2 (2026-11-15)
   ① 경로(홈 › 카테고리) 제거  ② 카테고리 칩: 너비를 내용에 맞춤  ③ 저장용 카드: 이미지 대신 코드로 그린 카드
   ============================================================ */
.post-wrap .crumb { display: none; }
.post-head > .chip { justify-self: start; width: fit-content; }

.savecard { max-width: 560px; margin: var(--s3) 0; padding: 36px 36px 28px; border-radius: 24px; background: #17120E; color: #fffdf7; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .6); }
.savecard .sc-k { display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; color: #FFD84D; }
.savecard .sc-t { margin: 10px 0 22px !important; font-family: var(--font-head); font-size: 26px !important; line-height: 1.3 !important; font-weight: 800; color: #fffdf7 !important; }
.savecard .sc-l { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 14px; counter-reset: sc; }
.savecard .sc-l li { list-style: none !important; counter-increment: sc; position: relative; margin: 0 !important; padding: 0 0 0 46px !important; font-size: 17px; line-height: 1.5; font-weight: 600; color: #fffdf7; }
.savecard .sc-l li::before { content: counter(sc); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%; background: #FFD84D; color: #17120E; font-family: var(--mono); font-size: 15px; font-weight: 800; line-height: 30px; text-align: center; }
.savecard.chk .sc-l li::before { content: ""; top: 0; width: 26px; height: 26px; border-radius: 8px; background: transparent; border: 3px solid #FFD84D; }
.savecard .sc-f { margin: 22px 0 0 !important; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); font-family: var(--mono); font-size: 12px !important; letter-spacing: .06em; color: rgba(255, 253, 247, .65) !important; }
@media (max-width: 640px) { .savecard { padding: 28px 22px 22px; border-radius: 20px; } .savecard .sc-t { font-size: 22px !important; } .savecard .sc-l li { font-size: 16px; } }


/* 경로(crumb) 제거 후 상단 여백 (2026-11-15) */
.post-wrap .post-head { padding-top: clamp(36px, 5vw, 64px); }
