/* ─────────────────────────────────────────────────────────────
   이마고 다시 보기 — 공용 스타일시트
   모두의 새벽 + 낭만북클럽 · 『이마고』
   ───────────────────────────────────────────────────────────── */

  :root {
    --cream: #ecf4f9;
    --cream-deep: #d8e7f0;
    --cream-soft: #f5fafd;
    --ink: #1a2837;
    --ink-soft: #2f4759;
    --ink-muted: #5e7185;
    --ink-faint: #8a9bab;
    --gold: #2a8499;
    --gold-deep: #1c6577;
    --line: #c5d4de;
    --line-soft: #dde7ed;
    --accent: #155b80;
    --accent-soft: #2a7aa3;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--cream);
    color: var(--ink);
    font-family: 'Noto Serif KR', 'Gowun Batang', serif;
    font-weight: 400;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    background-image:
      radial-gradient(at 15% 8%, rgba(42, 132, 153, 0.06) 0px, transparent 50%),
      radial-gradient(at 85% 92%, rgba(21, 91, 128, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.05 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  .wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 28px 100px;
    position: relative;
    z-index: 1;
  }

  /* NAV */
  .nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-soft);
    flex-wrap: wrap;
  }
  .nav a {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0.15em;
    color: var(--ink-muted);
    text-decoration: none;
    text-transform: uppercase;
    padding-bottom: 6px;
    transition: color 0.2s;
  }
  .nav a:hover { color: var(--accent); }
  .nav a.current { color: var(--accent); border-bottom: 1px solid var(--accent); }

  /* HEADER */
  header {
    text-align: center;
    padding: 30px 0 44px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 44px;
  }
  .eyebrow {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 12.5px;
    letter-spacing: 0.28em;
    color: var(--gold-deep);
    text-transform: uppercase;
    margin-bottom: 18px;
  }
  h1 {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 800;
    font-size: clamp(24px, 4vw, 32px);
    letter-spacing: -0.01em;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 16px;
    word-break: keep-all;
  }
  h1 .accent { color: var(--accent); }
  h1 .divider {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 0.6em;
    color: var(--ink-muted);
    margin-top: 8px;
    letter-spacing: 0.05em;
  }
  .header-intro {
    font-family: 'Gowun Batang', serif;
    font-size: 15px;
    line-height: 1.95;
    color: var(--ink-soft);
    max-width: 640px;
    margin: 20px auto 0;
    word-break: keep-all;
  }
  .header-intro strong {
    color: var(--accent);
    font-weight: 700;
  }
  .header-intro em {
    color: var(--gold-deep);
    font-style: normal;
    font-weight: 500;
  }

  /* JUMP NAV */
  .jump {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 56px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--line-soft);
    border-radius: 3px;
  }
  .jump-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--ink-muted);
    text-transform: uppercase;
    margin-right: 10px;
    align-self: center;
  }
  .jump a {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 13.5px;
    color: var(--accent);
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.2s;
  }
  .jump a:hover {
    background: var(--accent);
    color: var(--cream);
    border-color: var(--accent);
  }

  /* SECTION */
  section { margin-bottom: 72px; }

  .section-num {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 12.5px;
    letter-spacing: 0.28em;
    color: var(--gold-deep);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
  }
  h2 {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 700;
    font-size: clamp(19px, 2.7vw, 22px);
    color: var(--ink);
    margin-bottom: 24px;
    letter-spacing: -0.005em;
    position: relative;
    padding-bottom: 14px;
    word-break: keep-all;
  }
  h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 1px;
    background: var(--gold);
  }

  /* 챕터 카드 (prologue의 preface와 동일 스타일) */
  .chapter {
    margin-bottom: 44px;
    padding: 34px 32px 30px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    scroll-margin-top: 20px;
  }

  .chapter-head {
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px dashed var(--line);
  }
  .chapter-num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 34px;
    color: var(--accent);
    line-height: 1;
    letter-spacing: 0.02em;
    display: inline-block;
    margin-right: 12px;
    vertical-align: baseline;
  }
  .chapter-label {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
    display: inline-block;
    vertical-align: baseline;
  }
  .chapter-title {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--ink);
    margin-top: 10px;
    line-height: 1.5;
    word-break: keep-all;
  }
  .chapter-subtitle {
    font-family: 'Cormorant Garamond', 'Gowun Batang', serif;
    font-style: italic;
    font-size: 13px;
    color: var(--ink-muted);
    margin-top: 8px;
    letter-spacing: 0.02em;
  }

  h3 {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 700;
    font-size: 16.5px;
    color: var(--accent);
    margin-top: 26px;
    margin-bottom: 10px;
    word-break: keep-all;
    letter-spacing: -0.005em;
  }
  h3:first-of-type { margin-top: 0; }

  p {
    font-family: 'Gowun Batang', serif;
    font-size: 15.5px;
    line-height: 2.0;
    color: var(--ink-soft);
    margin-bottom: 14px;
    word-break: keep-all;
  }
  p strong {
    color: var(--ink);
    font-weight: 700;
  }
  p em {
    color: var(--gold-deep);
    font-style: normal;
    font-weight: 500;
  }

  /* 인용구 */
  blockquote {
    margin: 24px 0 8px;
    padding: 22px 26px;
    background: rgba(42, 132, 153, 0.06);
    border-left: 3px solid var(--gold);
    border-radius: 0 2px 2px 0;
    font-family: 'Cormorant Garamond', 'Noto Serif KR', serif;
    font-style: italic;
    font-size: 16px;
    color: var(--accent);
    line-height: 1.85;
    font-weight: 500;
    word-break: keep-all;
  }
  blockquote cite {
    display: block;
    margin-top: 8px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 12.5px;
    color: var(--gold-deep);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: right;
  }

  /* 리스트 */
  ul.numbered {
    list-style: none;
    padding: 0;
    margin: 12px 0 20px;
    counter-reset: item;
  }
  ul.numbered li {
    counter-increment: item;
    position: relative;
    padding-left: 40px;
    margin-bottom: 12px;
    font-family: 'Gowun Batang', serif;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.9;
    word-break: keep-all;
  }
  ul.numbered li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 4px;
    width: 26px;
    height: 26px;
    background: rgba(42, 132, 153, 0.15);
    color: var(--gold-deep);
    border-radius: 50%;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  ul.numbered li strong { color: var(--ink); font-weight: 700; }

  ul.bullet {
    list-style: none;
    padding: 0;
    margin: 10px 0 18px;
  }
  ul.bullet li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-family: 'Gowun Batang', serif;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.9;
    word-break: keep-all;
  }
  ul.bullet li::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
  }
  ul.bullet li strong { color: var(--ink); font-weight: 700; }

  /* 특별 강조 박스 (여러 개념 소개) */
  .concept-box {
    margin: 24px 0 8px;
    padding: 22px 26px;
    background: rgba(21, 91, 128, 0.05);
    border: 1px solid var(--line);
    border-radius: 3px;
  }
  .concept-box-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
  }
  .concept-box ol,
  .concept-box ul.plain {
    padding-left: 20px;
    margin: 0;
  }
  .concept-box li {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 500;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: 8px;
    word-break: keep-all;
  }
  .concept-box li strong { color: var(--ink); font-weight: 700; }
  .concept-box li em { color: var(--gold-deep); font-style: normal; font-weight: 700; }

  /* 사례 박스 (인물 예시) */
  .case-box {
    margin: 18px 0 20px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.5);
    border-left: 2px solid var(--gold);
    border-radius: 0 2px 2px 0;
  }
  .case-box .case-name {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--gold-deep);
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
  }
  .case-box p {
    font-size: 14.5px;
    line-height: 1.9;
    margin-bottom: 8px;
  }
  .case-box p:last-child { margin-bottom: 0; }

  /* Overview 카드 */
  .overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }
  .overview-card {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 22px 24px;
  }
  .overview-title {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--accent);
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line-soft);
  }
  .overview-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: piece;
  }
  .overview-list li {
    counter-increment: piece;
    padding-left: 34px;
    margin-bottom: 12px;
    position: relative;
    font-family: 'Gowun Batang', serif;
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.7;
    word-break: keep-all;
  }
  .overview-list li::before {
    content: counter(piece);
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: rgba(42, 132, 153, 0.15);
    color: var(--gold-deep);
    border-radius: 50%;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .overview-list li strong { color: var(--ink); font-weight: 700; }

  .overview-note {
    padding: 14px 20px;
    background: rgba(42, 132, 153, 0.05);
    border-left: 2px solid var(--gold);
    border-radius: 0 2px 2px 0;
    font-family: 'Gowun Batang', serif;
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.85;
    word-break: keep-all;
  }
  .overview-note-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 11.5px;
    letter-spacing: 0.18em;
    color: var(--gold-deep);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
  }
  .overview-note strong { color: var(--ink); font-weight: 700; }

  /* 요약 박스 */
  .summary-final {
    margin-top: 44px;
    padding: 30px 32px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    border-radius: 3px;
  }
  .summary-final h3 {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 16px;
    margin-top: 0;
  }
  .summary-final p {
    font-size: 15px;
    line-height: 2.0;
    margin-bottom: 12px;
  }

  /* 출처 박스 */
  .source {
    margin-top: 44px;
    padding: 20px 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.45);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .source p {
    font-family: 'Cormorant Garamond', 'Gowun Batang', serif;
    font-style: italic;
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.85;
    margin: 0;
  }
  .source p + p { margin-top: 6px; }
  .source strong { color: var(--ink-soft); font-weight: 500; }

  /* Footer */
  footer {
    text-align: center;
    padding-top: 56px;
    margin-top: 60px;
    border-top: 1px solid var(--line);
  }
  footer .reading {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    letter-spacing: 0.25em;
    color: var(--gold-deep);
    font-size: 13px;
    margin-bottom: 12px;
  }
  footer p {
    font-family: 'Gowun Batang', serif;
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 6px;
  }
  footer a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
  }
  footer a:hover { border-bottom-color: var(--accent); }

  @media (max-width: 640px) {
    .wrap { padding: 40px 18px 80px; }
    .nav { gap: 16px; }
    .overview { grid-template-columns: 1fr; }
    .chapter { padding: 26px 22px; }
    .chapter-num { font-size: 28px; }
    .chapter-title { font-size: 17px; }
    .jump { padding: 12px 14px; }
    .jump-label { display: none; }
    blockquote { padding: 18px 20px; font-size: 15px; }
    .summary-final { padding: 24px 22px; }
  }

  /* ── 프롤로그 전용 컴포넌트 ── */

  .preface {
    margin-bottom: 44px;
    padding: 34px 32px 30px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    scroll-margin-top: 20px;
  }
  .preface-head {
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px dashed var(--line);
  }
  .preface-year {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 34px;
    color: var(--accent);
    line-height: 1;
    letter-spacing: 0.02em;
    display: inline-block;
    margin-right: 12px;
    vertical-align: baseline;
  }
  .preface-edition {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
    display: inline-block;
    vertical-align: baseline;
  }
  .preface-title {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--ink);
    margin-top: 10px;
    line-height: 1.5;
    word-break: keep-all;
  }
  .preface-byline {
    font-family: 'Cormorant Garamond', 'Gowun Batang', serif;
    font-style: italic;
    font-size: 13px;
    color: var(--ink-muted);
    margin-top: 8px;
    letter-spacing: 0.02em;
  }
  .five-lines {
    margin: 24px 0 8px;
    padding: 22px 26px;
    background: rgba(21, 91, 128, 0.05);
    border: 1px solid var(--line);
    border-radius: 3px;
  }
  .five-lines-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
  }
  .five-lines ol {
    padding-left: 20px;
    margin: 0;
  }
  .five-lines li {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 500;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: 8px;
    word-break: keep-all;
  }
  .surrounding {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .surrounding-item {
    padding: 22px 26px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--line-soft);
    border-left: 2px solid var(--gold);
    border-radius: 0 3px 3px 0;
  }
  .surrounding-num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.25em;
    color: var(--gold-deep);
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
  }
  .surrounding-title {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 700;
    font-size: 15.5px;
    color: var(--accent);
    margin-bottom: 12px;
    word-break: keep-all;
  }
  .surrounding-body {
    font-family: 'Gowun Batang', serif;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.95;
    word-break: keep-all;
  }
  .surrounding-body strong { color: var(--ink); font-weight: 700; }

  @media (max-width: 640px) {
    .preface { padding: 26px 22px; }
    .preface-year { font-size: 28px; }
    .preface-title { font-size: 17px; }
  }

  /* ─────────────────────────────────────────
     제3부 실습 전용 — 실습 메타 / 단계 / 양식 / 당부
     ───────────────────────────────────────── */

  .ex-meta {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .ex-meta span {
    font-family: 'Gowun Batang', serif;
    font-size: 12.5px;
    color: var(--ink-muted);
    background: rgba(21, 91, 128, 0.055);
    border: 1px solid var(--line-soft);
    border-radius: 2px;
    padding: 5px 12px;
    letter-spacing: 0.01em;
    word-break: keep-all;
  }
  .ex-meta span strong {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-right: 8px;
  }

  ol.steps {
    list-style: none;
    padding: 0;
    margin: 14px 0 22px;
    counter-reset: step;
  }
  ol.steps li {
    counter-increment: step;
    position: relative;
    padding-left: 44px;
    margin-bottom: 14px;
    font-family: 'Gowun Batang', serif;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.9;
    word-break: keep-all;
  }
  ol.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 4px;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: var(--cream-soft);
    border-radius: 50%;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  ol.steps li strong { color: var(--ink); font-weight: 700; }
  ol.steps li em { color: var(--gold-deep); font-style: normal; font-weight: 700; }

  .sheet {
    margin: 22px 0;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px dashed var(--line);
    border-radius: 3px;
  }
  .sheet-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--gold-deep);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
  }
  .sheet p {
    font-family: 'Gowun Batang', serif;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.95;
    margin-bottom: 9px;
    word-break: keep-all;
  }
  .sheet p:last-child { margin-bottom: 0; }
  .sheet ol,
  .sheet ul.plain { padding-left: 20px; margin: 0; }
  .sheet li {
    font-family: 'Gowun Batang', serif;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.9;
    margin-bottom: 7px;
    word-break: keep-all;
  }
  .sheet li:last-child { margin-bottom: 0; }
  .sheet li strong { color: var(--ink); font-weight: 700; }

  .tip-box {
    margin: 22px 0;
    padding: 18px 22px;
    background: rgba(42, 132, 153, 0.075);
    border-left: 2px solid var(--gold);
    border-radius: 0 2px 2px 0;
  }
  .tip-box-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--gold-deep);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
  }
  .tip-box p {
    font-family: 'Gowun Batang', serif;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.9;
    margin-bottom: 8px;
    word-break: keep-all;
  }
  .tip-box p:last-child { margin-bottom: 0; }
  .tip-box ol,
  .tip-box ul.plain { padding-left: 20px; margin: 0; }
  .tip-box li {
    font-family: 'Gowun Batang', serif;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.9;
    margin-bottom: 7px;
    word-break: keep-all;
  }
  .tip-box li:last-child { margin-bottom: 0; }
  .tip-box li strong { color: var(--ink); font-weight: 700; }

  @media (max-width: 640px) {
    .ex-meta span { font-size: 12px; padding: 4px 10px; }
    ol.steps li { padding-left: 38px; font-size: 14.5px; }
    ol.steps li::before { width: 25px; height: 25px; font-size: 13px; }
    .sheet { padding: 17px 18px; }
    .tip-box { padding: 16px 18px; }
  }

  /* ─────────────────────────────────────────
     이마고 다시 보기 — 색인 · 낱개 페이지 전용
     ───────────────────────────────────────── */

  /* 빵부스러기 */
  .crumb {
    margin: 26px 0 30px;
    font-family: 'Gowun Batang', serif;
    font-size: 13px;
    color: var(--ink-faint);
    letter-spacing: 0.01em;
  }
  .crumb a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
  }
  .crumb a:hover { border-bottom-color: var(--accent); }
  .crumb .sep { margin: 0 8px; color: var(--line); }
  .crumb .here { color: var(--ink-muted); }

  /* 낱개 페이지에서 article.chapter / article.preface 의 여백 조정 */
  .reader .chapter,
  .reader .preface { margin-bottom: 0; }

  /* 이전 / 색인 / 다음 — 세 칸 동일 크기 */
  .pager {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
    margin: 42px 0 10px;
  }
  .pager .cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--line-soft);
    border-radius: 3px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    min-width: 0;
  }
  a.cell:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.85); }
  .pager .cell.empty { border-style: dashed; background: transparent; }
  .pager .dir {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 11.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 6px;
  }
  .pager .label {
    display: block;
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.55;
    word-break: keep-all;
  }
  .pager .prev-cell { text-align: left; }
  .pager .home      { text-align: center; }
  .pager .next-cell { text-align: right; }
  .pager .home .label { color: var(--accent); }

  /* 본문 위쪽의 작은 이동 줄 */
  .pager.top { margin: 0 0 30px; }
  .pager.top .cell { padding: 10px 14px; }
  .pager.top .dir { font-size: 10.5px; margin-bottom: 3px; }
  .pager.top .label {
    font-size: 12.5px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 이 글이 속한 부 전체로 */
  .also {
    margin: 18px 0 8px;
    padding: 15px 20px;
    background: rgba(21, 91, 128, 0.05);
    border: 1px solid var(--line-soft);
    border-radius: 3px;
    font-family: 'Gowun Batang', serif;
    font-size: 13.5px;
    color: var(--ink-muted);
    line-height: 1.8;
    word-break: keep-all;
  }
  .also a { color: var(--accent); text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--line); }
  .also a:hover { border-bottom-color: var(--accent); }

  /* ── 색인 페이지 ── */

  .search-wrap { margin: 8px 0 40px; }
  .search-box {
    width: 100%;
    padding: 15px 20px;
    font-family: 'Gowun Batang', serif;
    font-size: 15px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: 3px;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
  }
  .search-box:focus { border-color: var(--gold); }
  .search-box::placeholder { color: var(--ink-faint); }
  .search-hint {
    margin-top: 9px;
    font-family: 'Gowun Batang', serif;
    font-size: 12.5px;
    color: var(--ink-faint);
    letter-spacing: 0.01em;
  }
  .search-hint b { color: var(--accent); font-weight: 700; }

  .part-block { margin-bottom: 46px; }
  .part-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
  .part-head .pk {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-deep);
  }
  .part-head .pt {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 800;
    font-size: 19px;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .part-head .pall {
    margin-left: auto;
    font-family: 'Gowun Batang', serif;
    font-size: 12.5px;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
  }
  .part-head .pall:hover { border-bottom-color: var(--accent); }

  .cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .card {
    display: block;
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--line-soft);
    border-radius: 3px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
  }
  .card:hover {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
  }
  .card-top {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
  }
  .card-num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1;
    color: var(--accent);
  }
  .card-kind {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 700;
    font-size: 12px;
    color: var(--ink-faint);
    letter-spacing: 0.02em;
  }
  .card-title {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 700;
    font-size: 15.5px;
    color: var(--ink);
    line-height: 1.55;
    margin-bottom: 7px;
    word-break: keep-all;
  }
  .card-meta {
    font-family: 'Cormorant Garamond', 'Gowun Batang', serif;
    font-style: italic;
    font-size: 12px;
    color: var(--ink-faint);
    margin-bottom: 9px;
    letter-spacing: 0.01em;
  }
  .card-ex {
    font-family: 'Gowun Batang', serif;
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.8;
    word-break: keep-all;
  }
  .card-tags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .card-tags span {
    font-family: 'Gowun Batang', serif;
    font-size: 11.5px;
    color: var(--gold-deep);
    background: rgba(42, 132, 153, 0.1);
    border-radius: 2px;
    padding: 3px 9px;
  }

  .no-result {
    display: none;
    padding: 34px 20px;
    text-align: center;
    font-family: 'Gowun Batang', serif;
    font-size: 14px;
    color: var(--ink-faint);
  }

  @media (max-width: 720px) {
    .cards { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    .pager:not(.top) { grid-template-columns: 1fr; }
    .pager:not(.top) .next-cell { text-align: left; }
    .pager:not(.top) .home { order: 3; }
    .pager:not(.top) .empty { display: none; }
    .pager.top { gap: 8px; }
    .pager.top .cell { padding: 9px 10px; }
    .pager.top .dir { font-size: 9.5px; letter-spacing: 0.12em; }
    .pager.top .label { font-size: 11.5px; }
    .part-head .pall { margin-left: 0; width: 100%; }
    .search-box { font-size: 14.5px; padding: 13px 16px; }
  }

  .card-keys {
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px dotted var(--line-soft);
    font-family: 'Gowun Batang', serif;
    font-size: 12px;
    color: var(--ink-faint);
    line-height: 1.75;
    word-break: keep-all;
  }

  /* 책 자체의 네비 — 목차 · 프롤로그 · 1~3부 */
  .nav.book {
    gap: 18px;
  }
  .nav.book a {
    font-family: 'Nanum Myeongjo', serif;
    font-style: normal;
    font-size: 13.5px;
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: nowrap;
  }
  @media (max-width: 640px) {
    .nav.book { gap: 12px 14px; }
    .nav.book a { font-size: 12.5px; }
  }

  /* 색인 상단 이미지 */
  .hero-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 42px;
    border: 1px solid var(--line-soft);
    border-radius: 3px;
    background: var(--cream-soft);
  }
  @media (max-width: 640px) {
    .hero-img { margin-bottom: 30px; }
  }

  /* 색인 상단의 안내 각주 */
  .header-note {
    max-width: 640px;
    margin: 20px auto 0;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
    font-family: 'Gowun Batang', serif;
    font-size: 13px;
    color: var(--ink-faint);
    line-height: 1.85;
    word-break: keep-all;
  }
  .header-note strong { color: var(--ink-muted); font-weight: 700; }
