/* 종이 결 디자인 — paid (paper.css와 같은 결)
   유료 풀이 열두 장. 재료(한지 쪽지·먹 동그라미·붓 줄·붉은 도장·먹방울)는 무료 첫 장과 같고, 놓는 자리만 장마다 조금씩 바꾼다.
   장 머리 = 한지 제목 쪽지(번호·붓 줄·먹방울·도장 한 글자) / 소제목 = 번호 도장을 찍은 머리 쪽지 + 장부에 바로 적은 본문 /
   별·12운성 = 달 앞에 선 먹방울 메모 쪽지 / 그림 = 가는 먹 줄을 친 장부 칸 / 근거 = 붉은 괘선 장부 메모 / 한눈에 정리 = 괘선 장부 한 장 + 도장.
   paid2.js(paperPaid)가 2판 풀이를 그릴 때 <html class="pp">와 뼈대(.pp-o .pp-sh .pp-key …)를 붙인다. 모든 규칙은 그 아래 .reading 안에만 건다.
   화면 전용이다: PDF(html.pm)와 인쇄는 print.css가 같은 모양을 가벼운 재료(찢긴 한지·그림자·마스크 없이 가는 먹 줄)로 다시 그린다. */
@media screen {

html.pp:not(.pm) .reading {
  --pk: #2a211d; --pk2: #4a3d33; --pbr: #8a5a2b; --prd: #c8372d; --prd2: #a3392f;
  /* 그림 속 흰 상자·회색 줄을 한꺼번에 종이 빛·먹 줄로 (style.css의 그림 규칙이 이 값을 쓴다) */
  --surface: rgba(255, 252, 244, .5); --surface-2: transparent; --line: rgba(42, 33, 29, .2); --line-2: rgba(42, 33, 29, .36);
  --pad: 18px; /* 본문 옆 여백 = 머리 쪽지 안쪽 여백 */
  --pp-stroke: url(/media/deco/stroke.webp) left center / 100% 100% no-repeat;
  --pp-seal: url(/media/deco/seal.webp) center / 100% 100% no-repeat, linear-gradient(#c8372d, #c8372d) center / 82% 84% no-repeat; /* 도장 그림이 안 떠도 흰 글자가 붉은 바탕 위에 남는다 */
}
/* 장마다 쪽지 종이 빛깔을 조금씩 (가장 어두운 종이 결 위에서도 본문 글자와의 대비는 10:1을 넘는다) */
html.pp:not(.pm) .reading .pp-t1 { --tint: rgba(214, 150, 86, .075); }
html.pp:not(.pm) .reading .pp-t2 { --tint: rgba(112, 150, 108, .075); }
html.pp:not(.pm) .reading .pp-t3 { --tint: rgba(104, 128, 168, .06); }

/* ── 같은 한지(무료 쪽지와 같은 그림·같은 방법): 찢긴 가장자리 아홉 조각 + 결 + 옅은 그림자 ── */
html.pp:not(.pm) .reading h2.pp-o,
html.pp:not(.pm) .reading .pp-sh,
html.pp:not(.pm) .reading .sal-card,
html.pp:not(.pm) .reading .year-card,
html.pp:not(.pm) .reading .cp-bubble,
html.pp:not(.pm) .reading .wrap-up,
html.pp:not(.pm) .reading .rp-thread {
  --edge: 8px;
  position: relative; isolation: isolate; background: none; border: 0; border-radius: 0; box-shadow: none; outline: 0;
}
html.pp:not(.pm) .reading h2.pp-o::before,
html.pp:not(.pm) .reading .pp-sh::before,
html.pp:not(.pm) .reading .sal-card::before,
html.pp:not(.pm) .reading .year-card::before,
html.pp:not(.pm) .reading .cp-bubble::before,
html.pp:not(.pm) .reading .wrap-up::before,
html.pp:not(.pm) .reading .rp-thread::before {
  content: ''; position: absolute; inset: -4px -4px -4px -5px; z-index: -1; pointer-events: none;
  width: auto; height: auto; margin: 0; transform: none; border-radius: 0;
  border: var(--edge) solid transparent;
  border-image: url(/media/deco/hanji.webp) 18 / var(--edge) / 0 stretch;
  background: linear-gradient(var(--tint, transparent), var(--tint, transparent)),
              radial-gradient(closest-side, rgba(255, 251, 241, .45) 50%, rgba(255, 251, 241, 0)),
              url(/media/deco/hanji.webp) center / cover no-repeat border-box;
  background-clip: padding-box; background-color: #e6dcc8; /* 그림이 안 떠도 종이색은 남는다 */
  filter: brightness(1.075) drop-shadow(0 1.5px 1.5px rgba(70, 45, 20, .22)) drop-shadow(0 6px 9px rgba(70, 45, 20, .09));
  rotate: var(--tilt, 0deg); scale: var(--flip, 1) 1; /* 이웃 쪽지는 뒤집어 깔아 찢긴 가장자리가 겹쳐 보이지 않게 */
}

/* ── 1. 장 머리: 한지 제목 쪽지. 먹 동그라미 속 번호 → 장 이름 → 붓 줄, 그 끝에 먹방울, 쪽지와 장부에 걸쳐 찍은 도장 한 글자 ── */
html.pp:not(.pm) .reading h2.pp-o {
  --tilt: -.35deg; --art: 96px; --g: 46px; --line-h: 8px; --pt: 28px; --px: 18px;
  display: grid; grid-template-columns: var(--g) minmax(0, 1fr) var(--art); grid-template-rows: auto auto auto; column-gap: 10px; align-items: end;
  margin: 60px 0 44px; padding: var(--pt) var(--px) 38px; scroll-margin-top: 84px;
}
html.pp:not(.pm) .reading h2.pp-o .ch-no {
  grid-area: 1 / 1; align-self: center; display: grid; place-items: center; width: var(--g); height: var(--g); padding: 0 0 2px 1px;
  background: url(/media/deco/enso.webp) center / contain no-repeat;
  font: 800 calc(var(--g) * .38)/1 var(--serif); letter-spacing: 0; color: var(--prd2);
}
html.pp:not(.pm) .reading h2.pp-o .ch-label { grid-area: 1 / 2; align-self: center; font: 700 14.5px/20px var(--disp); letter-spacing: .1em; color: var(--pbr); }
html.pp:not(.pm) .reading h2.pp-o .ch-title {
  grid-area: 2 / 1 / 3 / 3; margin: 14px 0 12px; font: 800 25px/1.3 var(--serif); letter-spacing: -.01em; color: var(--pk); word-break: keep-all; text-wrap: balance;
}
html.pp:not(.pm) .reading h2.pp-o.pp-long .ch-title { font-size: 21px; letter-spacing: -.03em; } /* '신살·귀인·12운성'은 한 줄에 */
html.pp:not(.pm) .reading h2.pp-o .pp-art {
  grid-area: 1 / 3 / 3 / 4; align-self: end; justify-self: end; position: relative; z-index: 1;
  width: var(--art); height: var(--art); max-width: none; margin: calc(8px - var(--pt)) -6px calc(var(--line-h) * -.5 - 3px) 0; /* 머리는 쪽지 안, 발은 붓 줄 위 */
  object-fit: contain; object-position: 50% 100%;
}
html.pp:not(.pm) .reading h2.pp-o .pp-stroke {
  grid-area: 3 / 1 / 4 / -1; display: block; height: var(--line-h); background: var(--pk); opacity: .85; -webkit-mask: var(--pp-stroke); mask: var(--pp-stroke);
}
html.pp:not(.pm) .reading h2.pp-o::after {
  content: attr(data-seal); content: attr(data-seal) / ''; /* 둘째 줄(읽어 주지 않게 하는 대체 글)을 모르는 브라우저는 첫 줄을 쓴다 */
  display: grid; place-items: center; position: absolute; z-index: 2; right: 22px; bottom: -21px;
  width: 42px; height: 44px; padding: 0 0 2px; background: var(--pp-seal); font: 800 24px/1 var(--serif); color: #fff6ea; rotate: 3deg;
}
/* 놓는 자리 둘째: 먹방울이 왼쪽 붓 끝에, 도장은 왼쪽 아래 */
html.pp:not(.pm) .reading h2.pp-o.pp-v2 { --tilt: .4deg; --flip: -1; grid-template-columns: var(--art) var(--g) minmax(0, 1fr); }
html.pp:not(.pm) .reading h2.pp-o.pp-v2 .pp-art { grid-area: 1 / 1 / 3 / 2; justify-self: start; margin: calc(8px - var(--pt)) 0 calc(var(--line-h) * -.5 - 3px) -6px; }
html.pp:not(.pm) .reading h2.pp-o.pp-v2 .ch-no { grid-area: 1 / 2; }
html.pp:not(.pm) .reading h2.pp-o.pp-v2 .ch-label { grid-area: 1 / 3; }
html.pp:not(.pm) .reading h2.pp-o.pp-v2 .ch-title { grid-area: 2 / 2 / 3 / 4; }
html.pp:not(.pm) .reading h2.pp-o.pp-v2 .pp-stroke { scale: -1 1; }
html.pp:not(.pm) .reading h2.pp-o.pp-v2::after { right: auto; left: 22px; rotate: -3deg; }
/* 놓는 자리 셋째(제1·4·7·10장): 화첩 한 장. 먹 동그라미 속 그림 한 폭에 낙관, 아래에 장 이름 */
html.pp:not(.pm) .reading h2.pp-o.pp-v0 {
  --tilt: .25deg; --paint: 140px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 9px; justify-items: center; align-items: center; padding: 30px var(--px) 32px; text-align: center;
}
html.pp:not(.pm) .reading h2.pp-o.pp-v0 .pp-art {
  grid-area: 1 / 1 / 2 / -1; justify-self: center; box-sizing: border-box; width: var(--paint); height: var(--paint); margin: 0; padding: calc(var(--paint) * .15);
  object-position: 50% 50%;
  background: url(/media/deco/enso.webp) center / contain no-repeat,
              radial-gradient(circle calc(var(--paint) * .41) at 51.7% 48.4%, rgba(255, 250, 236, .75) 0 92%, transparent 100%);
}
html.pp:not(.pm) .reading h2.pp-o.pp-v0 .ch-no { /* 번호도 다른 장처럼 먹 동그라미 안에(그림의 큰 동그라미 아래, 이름표 앞) */
  grid-area: 2 / 1; justify-self: end; width: 40px; height: 40px; margin-top: 14px; font-size: 15px;
}
html.pp:not(.pm) .reading h2.pp-o.pp-v0 .ch-label { grid-area: 2 / 2; justify-self: start; align-self: center; margin-top: 14px; }
html.pp:not(.pm) .reading h2.pp-o.pp-v0 .ch-title { grid-area: 3 / 1 / 4 / -1; margin: 6px 0 0; font-size: 27px; }
html.pp:not(.pm) .reading h2.pp-o.pp-v0 .pp-stroke { grid-area: 4 / 1 / 5 / -1; width: 120px; height: 7px; margin-top: 18px; }
html.pp:not(.pm) .reading h2.pp-o.pp-v0::after {
  grid-area: 1 / 1 / 2 / -1; position: static; width: 30px; height: 30px; padding: 0; font-size: 18px; rotate: -4deg;
  translate: calc(var(--paint) * .3 + 15px) calc(var(--paint) * .22 + 15px);
}

/* ── 2. 장 그림·소제목 그림: 가는 먹 줄을 친 장부 칸. 오행 색은 뜻 그대로 둔다 ── */
html.pp:not(.pm) .reading .ch-fig,
html.pp:not(.pm) .reading .sub-fig,
html.pp:not(.pm) .reading .life-map:not(.wrap-up) {
  margin: 0 0 30px; padding: 22px 4px 14px; background: none; border: 0; border-radius: 0; box-shadow: none;
  border-top: 4px double rgba(42, 33, 29, .78); border-bottom: 1px solid rgba(42, 33, 29, .3);
}
html.pp:not(.pm) .reading .sub-fig { margin: 6px 0 24px; padding: 18px 4px 14px; border-top: 1.5px solid rgba(42, 33, 29, .7); }
html.pp:not(.pm) .reading .life-map:not(.wrap-up) { margin-top: 30px; }
html.pp:not(.pm) .reading .fig-cap,
html.pp:not(.pm) .reading .lf-cap { color: var(--pk2); }
html.pp:not(.pm) .reading .fig-years span,
html.pp:not(.pm) .reading .sf-three > div,
html.pp:not(.pm) .reading .sf-items > div,
html.pp:not(.pm) .reading .sf-acts > div,
html.pp:not(.pm) .reading .fl-step,
html.pp:not(.pm) .reading .lf-arc span,
html.pp:not(.pm) .reading .sf-samjae > div,
html.pp:not(.pm) .reading .sf-good > div,
html.pp:not(.pm) .reading .fig-family li,
html.pp:not(.pm) .reading .pw-why li,
html.pp:not(.pm) .reading .mini-chart,
html.pp:not(.pm) .reading .sf-scale > span,
html.pp:not(.pm) .reading .sf-pairs > div,
html.pp:not(.pm) .reading .lm-d { border-radius: 2px; }
html.pp:not(.pm) .reading .mini-chart { background: none; }
html.pp:not(.pm) .reading .pw-why { gap: 0; } /* 네 기준: 상자 대신 장부의 줄 */
html.pp:not(.pm) .reading .pw-why li { padding: 20px 2px; border: 0; border-radius: 0; background: none; border-top: 1px solid rgba(42, 33, 29, .26); }
html.pp:not(.pm) .reading .fig-now li { border-radius: 0; background: none; }
html.pp:not(.pm) .reading .lm-d { background: rgba(255, 252, 244, .5); }
html.pp:not(.pm) .reading .lm-row { padding-top: 16px; } /* '지금' 이름표가 위에서 잘리지 않게 */
html.pp:not(.pm) .reading .lm-d .here { border-radius: 1px; }
html.pp:not(.pm) .reading .life-map .lm-h { font: 800 20px/1.4 var(--serif); color: var(--pk); }
html.pp:not(.pm) .reading .life-map .lm-lead { color: var(--pk2); }
/* 좋은 기운·조심할 기운 표시: 색만이 아니라 모양으로도 가른다(둥근 점 / 모로 선 네모 / 빈 고리). 설명 글의 '초록 점·빨간 점' 앞에 같은 모양을 보여 준다 */
html.pp:not(.pm) .reading .mark { gap: 5px; align-items: center; }
html.pp:not(.pm) .reading .mark i { box-sizing: border-box; width: 8px; height: 8px; background: none; border: 1.5px solid rgba(42, 33, 29, .4); }
html.pp:not(.pm) .reading .mark i.good { border: 0; background: var(--wood-ink); }
html.pp:not(.pm) .reading .mark i.bad { border: 0; border-radius: 0; background: var(--fire-ink); rotate: 45deg; scale: .88; }
html.pp:not(.pm) .reading .pp-lg::before { content: ''; display: inline-block; width: 8px; height: 8px; margin: 0 5px 1px 1px; border-radius: 50%; background: var(--wood-ink); }
html.pp:not(.pm) .reading .pp-lg.bad::before { border-radius: 0; background: var(--fire-ink); rotate: 45deg; scale: .88; }
/* 이 글에 나온 시기: 이름 뒤로 옅은 붓 줄 */
html.pp:not(.pm) .reading .yr-strip .ys-h { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font: 700 14.5px/20px var(--disp); letter-spacing: .05em; color: var(--pbr); }
html.pp:not(.pm) .reading .yr-strip .ys-h::after { content: ''; flex: 1; height: 6px; background: currentColor; opacity: .32; -webkit-mask: var(--pp-stroke); mask: var(--pp-stroke); }

/* ── 3. 본문: 장부에 바로 적은 줄. 왼쪽 끝을 머리 쪽지 속 글(--pad)과 맞춘다 → 한 줄에 21자 안팎(393px), 붉은 테 줄에도 닿지 않는다 ── */
html.pp:not(.pm) .reading > p:not(.rp-close),
html.pp:not(.pm) .reading section.sub > p,
html.pp:not(.pm) .reading section.sub > blockquote { padding-inline: var(--pad); }
html.pp:not(.pm) .reading > ul:not(.month-list),
html.pp:not(.pm) .reading > ol:not(.month-list),
html.pp:not(.pm) .reading section.sub > ul,
html.pp:not(.pm) .reading section.sub > ol { margin-inline: calc(var(--pad) - 4px); }

/* ── 4. 소제목: 머리 쪽지(번호 도장 + 제목 + 붓 줄 + 결론 한 줄) 아래로 본문이 흐른다 ── */
html.pp:not(.pm) .reading section.sub { margin: 38px 0 0; padding: 0 0 2px; background: none; border: 0; border-radius: 0; box-shadow: none; }
html.pp:not(.pm) .reading .pp-sh { --tilt: .3deg; margin: 0 0 20px; padding: 20px 18px 21px; }
html.pp:not(.pm) .reading section.sub:nth-of-type(even) .pp-sh { --tilt: -.3deg; --flip: -1; }
html.pp:not(.pm) .reading .pp-sh > h3 {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin: 0; padding: 0; border: 0;
  font: 800 21px/1.4 var(--serif); letter-spacing: -.01em; color: var(--pk);
}
html.pp:not(.pm) .reading .pp-sh > h3::after { content: ''; flex: 0 0 100%; height: 7px; margin-top: 11px; background: var(--pk); opacity: .82; -webkit-mask: var(--pp-stroke); mask: var(--pp-stroke); }
html.pp:not(.pm) .reading .pp-sh .sub-no {
  flex: none; display: grid; place-items: center; width: 31px; height: 32px; padding: 0 0 1px; background: var(--pp-seal);
  font: 800 14px/1 var(--serif); letter-spacing: 0; color: #fff6ea; rotate: -4deg;
}
html.pp:not(.pm) .reading section.sub:nth-of-type(even) .pp-sh .sub-no { rotate: 3deg; }
html.pp:not(.pm) .reading .pp-sh .sub-t { flex: 1; min-width: 0; word-break: keep-all; }
html.pp:not(.pm) .reading .pp-key { margin: 14px 0 0; padding: 0; font: 700 18px/1.75 var(--serif); letter-spacing: -.01em; color: #1f1814; text-wrap: pretty; }
html.pp:not(.pm) .reading .pp-key mark.lead { padding: 0; background: none; font-weight: inherit; }

/* ── 5. 별(신살·귀인)·12운성: 메모 쪽지. 먹 동그라미(달) 앞에 선 먹방울 + 이름, 글은 그 아래 넓게. 한자 이름은 쪽지 머리에 걸친 세로 도장 ── */
html.pp:not(.pm) .reading .sal-in { margin: 38px 0 0; }
html.pp:not(.pm) .reading .sal-in .si-h { margin: 0 0 6px; padding-inline: var(--pad); font: 800 20px/1.4 var(--serif); color: var(--pk); }
html.pp:not(.pm) .reading .sal-in .si-lead { margin: 0 0 26px; padding-inline: var(--pad); font-size: 14.5px; line-height: 1.75; color: var(--pk2); }
html.pp:not(.pm) .reading .sal-card {
  --tilt: .5deg; --edge: 6px; --m: 84px;
  display: grid; grid-template-columns: var(--m) minmax(0, 1fr); column-gap: 14px; row-gap: 0; align-items: center;
  margin: 0 6px 30px; padding: 20px 18px 20px; flex-wrap: nowrap;
}
html.pp:not(.pm) .reading .sal-card:nth-of-type(even) { --tilt: -.45deg; --flip: -1; }
html.pp:not(.pm) .reading .sal-card.pp-noart { grid-template-columns: minmax(0, 1fr); } /* 그림이 없는 별은 이름부터 */
html.pp:not(.pm) .reading .sal-card > div:not(.mini-chart) { display: contents; }
html.pp:not(.pm) .reading .sal-card .sc-art {
  grid-area: 1 / 1 / 3 / 2; align-self: center; box-sizing: border-box; width: var(--m); height: var(--m); padding: 13% 11% 0;
  object-fit: contain; object-position: 50% 100%;
  background: url(/media/deco/enso.webp) center / 100% 100% no-repeat,
              radial-gradient(circle calc(var(--m) * .415) at 51.7% 48.4%, rgba(243, 214, 140, .62) 0 95%, transparent 100%);
}
html.pp:not(.pm) .reading .sal-card.us-card .sc-art { background: url(/media/deco/enso.webp) center / 100% 100% no-repeat,
              radial-gradient(circle calc(var(--m) * .415) at 51.7% 48.4%, rgba(206, 216, 226, .7) 0 95%, transparent 100%); } /* 12운성은 새벽 달빛 */
html.pp:not(.pm) .reading .sal-card .sc-n { grid-area: 1 / -2 / 2 / -1; align-self: end; padding-right: 34px; font: 800 19px/1.35 var(--serif); color: #8a3a22; }
html.pp:not(.pm) .reading .sal-card .sc-n small { display: block; margin: 3px 0 0; font: 600 12.5px/1.5 var(--sans); color: #54473f; word-break: keep-all; }
html.pp:not(.pm) .reading .sal-card .sc-m { grid-area: 2 / -2 / 3 / -1; align-self: start; margin: 5px 0 0; font: 700 14.5px/1.5 var(--disp); color: #6f4518; }
html.pp:not(.pm) .reading .sal-card.us-card .sc-n { grid-row: 1 / 3; align-self: center; padding-right: 0; }
html.pp:not(.pm) .reading .sal-card p.bal { grid-area: 3 / 1 / 4 / -1; margin: 16px 0 0; font-size: 16.5px; line-height: 1.8; color: var(--pk); }
html.pp:not(.pm) .reading .sal-card .sc-more {
  grid-area: 4 / 1 / 5 / -1; display: block; margin: 16px 0 0; padding: 14px 0 0; background: none; border-radius: 0; border-top: 1px dashed rgba(42, 33, 29, .3);
}
html.pp:not(.pm) .reading .sal-card .sc-more dt { margin: 0 0 3px; font: 700 13.5px/1.5 var(--disp); letter-spacing: .04em; color: var(--prd2); }
html.pp:not(.pm) .reading .sal-card .sc-more dd { margin: 0 0 12px; font-size: 15.5px; line-height: 1.75; color: var(--pk); }
html.pp:not(.pm) .reading .sal-card .sc-more dd:last-child { margin-bottom: 0; }
html.pp:not(.pm) .reading .sal-card > .mini-chart { grid-area: 5 / 1 / 6 / -1; justify-self: center; margin: 18px 0 0; }
html.pp:not(.pm) .reading .sal-card .gl-han {
  position: absolute; z-index: 2; top: -11px; right: 14px; display: grid; place-items: center; width: 30px; padding: 8px 0 6px; border: 0;
  background: var(--pp-seal); writing-mode: vertical-rl; text-orientation: upright; font: 800 15px/1 var(--serif); letter-spacing: 2px; color: #fff6ea; rotate: 2deg;
}
html.pp:not(.pm) .reading .sal-card:nth-of-type(even) .gl-han { rotate: -2deg; }

/* ── 6. 해 카드(제9장): 장부에 끼운 한지 쪽지. 머리 아래 붓 줄, 흐름은 이름표 모양으로도 가른다(채운 것 / 테만 / 점선 테) ── */
html.pp:not(.pm) .reading .year-card { --tilt: .25deg; margin: 0 0 34px; padding: 22px 18px 14px; }
html.pp:not(.pm) .reading .year-card:nth-of-type(even) { --tilt: -.25deg; --flip: -1; }
html.pp:not(.pm) .reading .yc-head { position: relative; align-items: center; gap: 14px; margin: 0 0 14px; padding: 0 0 17px; }
html.pp:not(.pm) .reading .yc-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--pk); opacity: .8; -webkit-mask: var(--pp-stroke); mask: var(--pp-stroke); }
html.pp:not(.pm) .reading .year-card.up .yc-head::after { background: #2f7a50; }
html.pp:not(.pm) .reading .year-card.down .yc-head::after { background: var(--prd); }
html.pp:not(.pm) .reading .yc-head h3 { font: 800 20px/1.35 var(--serif); color: var(--pk); }
html.pp:not(.pm) .reading .yc-meta { margin-top: 4px !important; font-size: 13px; line-height: 1.7; color: var(--pk2); }
html.pp:not(.pm) .reading .yc-meta em:first-child {
  display: inline-block; margin: 0 7px 2px 0; padding: 0 8px 1px; border: 1.5px solid; border-radius: 2px; font: 700 12.5px/1.6 var(--disp); letter-spacing: .02em;
}
html.pp:not(.pm) .reading .year-card.up .yc-meta em:first-child { border-color: #2f7a50; background: #2f7a50; color: #fff; }
html.pp:not(.pm) .reading .year-card.mid .yc-meta em:first-child { color: #7a5a14; }
html.pp:not(.pm) .reading .year-card.down .yc-meta em:first-child { border-style: dashed; color: var(--prd2); }
html.pp:not(.pm) .reading .year-card .yc-meta em.sj { border-radius: 2px; }
html.pp:not(.pm) .reading .year-card > p,
html.pp:not(.pm) .reading .year-card > ul,
html.pp:not(.pm) .reading .year-card > ol { color: var(--pk); }

/* 달 줄(제10장): 상자 없이 장부의 줄. 그 달의 흐름은 오른쪽 이름표로 */
html.pp:not(.pm) .reading ul.month-list { gap: 0; margin: 10px 0 0; border-bottom: 1px solid rgba(42, 33, 29, .26); }
html.pp:not(.pm) .reading ul.month-list li { padding: 15px var(--pad); background: none; border: 0; border-radius: 0; border-top: 1px solid rgba(42, 33, 29, .26); }
html.pp:not(.pm) .reading ul.month-list li > strong:first-child, html.pp:not(.pm) .reading ul.month-list li > :first-child > strong:first-child { font: 800 17px/1.5 var(--serif); letter-spacing: -.01em; }
html.pp:not(.pm) .reading ul.month-list li[data-tone]::before {
  content: attr(data-tone); float: right; margin: 3px 0 4px 8px; padding: 0 6px 1px; border: 1.5px solid rgba(42, 33, 29, .45); border-radius: 2px;
  font: 700 12px/1.6 var(--disp); color: var(--pk2);
}
html.pp:not(.pm) .reading ul.month-list li.t-good::before { border-color: #2f7a50; background: #2f7a50; color: #fff; }
html.pp:not(.pm) .reading ul.month-list li.t-bad::before { border-style: dashed; border-color: var(--prd2); color: var(--prd2); }

/* ── 7. 염라의 개념 상자: 한지 쪽지에 그림 한 폭(먹 동그라미)과 이름, 염라의 말은 바탕체로. 얼굴은 쪽지 머리에 걸친다 ── */
html.pp:not(.pm) .reading .concept { position: relative; display: block; margin: 46px 0 34px; padding: 0; }
html.pp:not(.pm) .reading .concept > .yname,
html.pp:not(.pm) .reading .concept > .cp-face { position: absolute; z-index: 3; left: 8px; top: -26px; }
html.pp:not(.pm) .reading .cp-bubble {
  --tilt: -.3deg; --m: 92px;
  display: grid; grid-template-columns: var(--m) minmax(0, 1fr); column-gap: 14px; row-gap: 0; align-items: center; padding: 40px 18px 24px; text-align: left;
}
html.pp:not(.pm) .reading .cp-bubble.pp-need { grid-template-columns: var(--m) minmax(0, 1fr) 76px; }
html.pp:not(.pm) .reading .cp-bubble > div { display: contents; }
html.pp:not(.pm) .reading .cp-bubble .cp-art,
html.pp:not(.pm) .reading .cp-bubble .cp-icon {
  grid-area: 1 / 1; align-self: center; box-sizing: border-box; width: var(--m); height: var(--m); padding: 14%; object-fit: contain;
  background: url(/media/deco/enso.webp) center / 100% 100% no-repeat,
              radial-gradient(circle calc(var(--m) * .41) at 51.7% 48.4%, rgba(255, 250, 236, .8) 0 93%, transparent 100%);
}
html.pp:not(.pm) .reading .cp-bubble > div > b { grid-area: 1 / 2; align-self: center; margin: 0; font: 800 21px/1.35 var(--serif); color: var(--prd2); }
html.pp:not(.pm) .reading .cp-bubble .cp-need { grid-area: 1 / 3; align-self: center; }
html.pp:not(.pm) .reading .cp-bubble .cp-need img { width: 68px; height: 68px; }
html.pp:not(.pm) .reading .cp-bubble > div > p { grid-column: 1 / -1; margin: 16px 0 0 !important; font: 700 16.5px/1.8 var(--disp); color: #1f1814; }
html.pp:not(.pm) .reading .cp-bubble > div > p.cp-own { margin-top: 14px !important; padding-top: 14px; border-top: 1px dashed rgba(42, 33, 29, .3); color: #6e241b; }

/* ── 8. 장 끝: 근거는 붉은 괘선 장부 메모로 조용히, 염라의 한마디는 짧은 붓 줄 아래에 ── */
html.pp:not(.pm) .reading details.ch-basis {
  margin: 36px 0 0; padding: 0 calc(var(--pad) - 6px); border: 0; border-radius: 0; background: none;
  border-top: 3px double rgba(200, 55, 45, .62); border-bottom: 1px solid rgba(200, 55, 45, .45);
}
html.pp:not(.pm) .reading details.ch-basis summary {
  display: flex; align-items: center; gap: 9px; padding: 13px 0; list-style: none; font: 700 14.5px/20px var(--disp); letter-spacing: .05em; color: var(--pbr);
}
html.pp:not(.pm) .reading details.ch-basis summary::-webkit-details-marker { display: none; }
html.pp:not(.pm) .reading details.ch-basis summary::before {
  content: '據'; content: '據' / ''; flex: none; display: grid; place-items: center; width: 22px; height: 22px; background: var(--pp-seal); font: 800 13px/1 var(--serif); letter-spacing: 0; color: #fff6ea; rotate: -4deg;
}
html.pp:not(.pm) .reading details.ch-basis summary::after { content: ''; width: 7px; height: 7px; margin: -3px 4px 0 auto; border-right: 1.5px solid var(--pbr); border-bottom: 1.5px solid var(--pbr); rotate: 45deg; transition: rotate .2s; }
html.pp:not(.pm) .reading details.ch-basis[open] summary::after { margin-top: 4px; rotate: -135deg; }
html.pp:not(.pm) .reading details.ch-basis p {
  margin: 0 0 13px; padding: 0; font-size: 14px; line-height: 26px; color: #4a3d33;
  background: repeating-linear-gradient(transparent 0 25px, rgba(200, 55, 45, .2) 25px 26px); /* 줄마다 붉은 괘선 */
}
html.pp:not(.pm) .reading .bridge { position: relative; margin: 28px 0 8px; padding-top: 26px; }
html.pp:not(.pm) .reading .bridge::before { content: ''; position: absolute; top: 0; left: calc(var(--pad) - 6px); width: 96px; height: 6px; background: var(--pk); opacity: .75; -webkit-mask: var(--pp-stroke); mask: var(--pp-stroke); }
html.pp:not(.pm) .reading .bridge p { background: rgba(255, 252, 244, .86); }
html.pp:not(.pm) .reading .bridge p::before { background: #fdf9ee; }

/* ── 9. 맺음: 한눈에 정리 = 붉은 괘선 장부 한 장 + 도장, 맺음말 끝에 낙관 ── */
html.pp:not(.pm) .reading .wrap-up { --tilt: .2deg; --rule: rgba(200, 55, 45, .26); margin: 50px 0 42px; padding: 28px 22px 38px; }
html.pp:not(.pm) .reading .wrap-up .lm-h {
  margin: 0 0 4px; padding-bottom: 16px; text-align: left; font: 800 21px/1.45 var(--serif); color: var(--pk);
  background: linear-gradient(#c8372dcc, #c8372dcc) 0 calc(100% - 4px) / 100% 2px no-repeat, linear-gradient(#c8372dcc, #c8372dcc) 0 100% / 100% 1px no-repeat;
}
html.pp:not(.pm) .reading .wrap-up dl { margin: 0 0 14px; }
html.pp:not(.pm) .reading .wrap-up dl div { padding: 12px 0; border-top: 0; border-bottom: 1px solid var(--rule); }
html.pp:not(.pm) .reading .wrap-up dt { font-size: 13.5px; font-weight: 700; letter-spacing: .03em; color: var(--pbr); }
html.pp:not(.pm) .reading .wrap-up dd { font: 700 17px/1.6 var(--serif); color: var(--pk); }
html.pp:not(.pm) .reading .wrap-up .fig-cap { margin: 0; }
html.pp:not(.pm) .reading .wrap-up::after {
  content: '總結'; content: '總結' / ''; display: grid; place-items: center; position: absolute; z-index: 2; right: 22px; bottom: -22px; width: 40px; height: 62px; padding: 2px 0 0;
  background: url(/media/deco/seal.webp) center / 100% 100% no-repeat, linear-gradient(#c8372d, #c8372d) center / 80% 84% no-repeat;
  writing-mode: vertical-rl; text-orientation: upright; font: 800 20px/1 var(--serif); letter-spacing: 2px; color: #fff6ea; rotate: 3deg;
}
html.pp:not(.pm) .reading .rp-close { position: relative; margin: 44px 0 0; padding: 30px 8px 0; border: 0; font: 400 14.5px/1.8 var(--disp); color: var(--pk2); text-align: center; }
html.pp:not(.pm) .reading .rp-close::before { content: ''; position: absolute; top: 0; left: 50%; width: 110px; height: 6px; translate: -50% 0; background: var(--pk); opacity: .7; -webkit-mask: var(--pp-stroke); mask: var(--pp-stroke); }
html.pp:not(.pm) .reading .rp-close::after { content: ''; display: block; width: 52px; height: 52px; margin: 20px auto 0; background: url(/media/seal-256.webp) center / contain no-repeat; rotate: -5deg; }

/* ── 10. 앞머리(표지·목차·서장): 같은 결로 가볍게 ── */
html.pp:not(.pm) .reading .rp-cover { border: 1px solid rgba(200, 55, 45, .6); border-radius: 2px; background: none; }
html.pp:not(.pm) .reading .rp-cover::before { inset: 5px; border: 1px solid rgba(200, 55, 45, .32); border-radius: 1px; }
html.pp:not(.pm) .reading .rp-sum { border: 0; border-radius: 0; background: none; border-top: 4px double rgba(42, 33, 29, .7); border-bottom: 1px solid rgba(42, 33, 29, .3); }
html.pp:not(.pm) .reading .rp-thread { --tilt: -.3deg; max-width: 520px; margin: 30px auto 6px; padding: 22px 18px 24px; font: 700 17px/1.8 var(--serif); color: var(--pk); }
html.pp:not(.pm) .reading .rp-thread b { margin-bottom: 8px; font: 700 13.5px/20px var(--disp); letter-spacing: .14em; color: var(--prd2); }
html.pp:not(.pm) .reading .rp-tocpage .toc-h { font-weight: 800; }
html.pp:not(.pm) .reading .rp-tocpage .toc-h::after { content: ''; display: block; width: 96px; height: 6px; margin: 12px auto 0; background: var(--pk); opacity: .78; -webkit-mask: var(--pp-stroke); mask: var(--pp-stroke); }
html.pp:not(.pm) .reading .rp-toc { border-top: 0; }
html.pp:not(.pm) .reading .rp-toc li span { font: 700 13px/1.9 var(--disp); color: var(--prd2); }
html.pp:not(.pm) .reading .rp-prologue .pl-en { font: 700 14.5px/20px var(--disp); letter-spacing: .3em; color: var(--prd2); }
html.pp:not(.pm) .reading .rp-prologue .pl-h { width: fit-content; margin: 4px 0 20px; padding-bottom: 14px; font-weight: 800; position: relative; }
html.pp:not(.pm) .reading .rp-prologue .pl-h::after { content: ''; position: absolute; left: 0; bottom: 0; width: 150px; height: 7px; background: var(--pk); opacity: .82; -webkit-mask: var(--pp-stroke); mask: var(--pp-stroke); }
html.pp:not(.pm) .reading .pl-grid { gap: 0; border-bottom: 1px solid rgba(42, 33, 29, .26); }
html.pp:not(.pm) .reading .pl-grid > div { padding: 16px 5px; border: 0; border-radius: 0; background: none; border-top: 1px solid rgba(42, 33, 29, .26); }
html.pp:not(.pm) .reading .pl-grid b { font: 800 17px/1.5 var(--serif); color: var(--pk); }
html.pp:not(.pm) .reading .pl-grid p { color: var(--pk2); }
html.pp:not(.pm) .reading .pl-how { border-radius: 2px; background: #221a15; }
html.pp:not(.pm) .reading .writing { border: 0; border-radius: 0; border-top: 4px double rgba(42, 33, 29, .7); border-bottom: 1px solid rgba(42, 33, 29, .3); }

/* ── 11. 뒤에 붙는 대화창·후기 칸: 누르는 자리는 그대로, 테만 종이 결로 ── */
html.pp:not(.pm) .reading #paidChat { border-width: 1.5px; border-radius: 4px; box-shadow: 0 1.5px 1.5px rgba(70, 45, 20, .2), 0 6px 9px rgba(70, 45, 20, .09); }
html.pp:not(.pm) .reading #paidChat .ch-ev { background: none; border-bottom: 1px solid rgba(200, 55, 45, .3); font-family: var(--disp); color: var(--prd2); }
html.pp:not(.pm) .reading #paidChat .ch-ev span { border-radius: 1px; background: var(--prd); color: #fff6ea; }
html.pp:not(.pm) .reading .review-box { border-width: 1.5px; border-radius: 4px; box-shadow: 0 1.5px 1.5px rgba(70, 45, 20, .2), 0 6px 9px rgba(70, 45, 20, .09); }

/* 좁은 휴대폰(360px 안팎) */
@media (max-width: 379px) {
  html.pp:not(.pm) .reading { --pad: 15px; }
  html.pp:not(.pm) .reading h2.pp-o { --art: 84px; --g: 42px; --px: 15px; }
  html.pp:not(.pm) .reading h2.pp-o .ch-title { font-size: 23px; }
  html.pp:not(.pm) .reading h2.pp-o.pp-long .ch-title { font-size: 19px; }
  html.pp:not(.pm) .reading h2.pp-o.pp-v0 { --paint: 136px; }
  html.pp:not(.pm) .reading h2.pp-o.pp-v0 .ch-title { font-size: 25px; }
  html.pp:not(.pm) .reading .pp-sh { padding: 20px 15px 22px; }
  html.pp:not(.pm) .reading .pp-sh > h3 { font-size: 20px; }
  html.pp:not(.pm) .reading .pp-key { font-size: 17px; }
  html.pp:not(.pm) .reading .sal-card { --m: 76px; margin-inline: 4px; padding-inline: 15px; }
  html.pp:not(.pm) .reading .cp-bubble { --m: 82px; padding-inline: 15px; }
  html.pp:not(.pm) .reading .year-card { padding-inline: 15px; }
  html.pp:not(.pm) .reading .wrap-up { padding-inline: 17px; }
}
@media (max-width: 339px) {
  html.pp:not(.pm) .reading h2.pp-o { --art: 68px; }
  html.pp:not(.pm) .reading h2.pp-o.pp-long .ch-title { font-size: 17.5px; }
}

/* 넓은 화면 */
@media (min-width: 760px) {
  html.pp:not(.pm) .reading h2.pp-o,
  html.pp:not(.pm) .reading .pp-sh,
  html.pp:not(.pm) .reading .year-card,
  html.pp:not(.pm) .reading .cp-bubble,
  html.pp:not(.pm) .reading .wrap-up,
  html.pp:not(.pm) .reading .rp-thread { --edge: 12px; }
  html.pp:not(.pm) .reading h2.pp-o { --art: 132px; --g: 60px; --line-h: 10px; --pt: 38px; --px: 46px; margin: 96px 0 60px; padding-bottom: 46px; column-gap: 16px; }
  html.pp:not(.pm) .reading h2.pp-o .ch-label { font-size: 16px; }
  html.pp:not(.pm) .reading h2.pp-o .ch-title { margin: 16px 0 16px; font-size: 32px; }
  html.pp:not(.pm) .reading h2.pp-o.pp-long .ch-title { font-size: 32px; letter-spacing: -.01em; }
  html.pp:not(.pm) .reading h2.pp-o::after { right: 44px; bottom: -24px; width: 48px; height: 50px; font-size: 27px; }
  html.pp:not(.pm) .reading h2.pp-o.pp-v2::after { right: auto; left: 44px; }
  html.pp:not(.pm) .reading h2.pp-o.pp-v0 { --paint: 190px; padding: 46px var(--px) 46px; }
  html.pp:not(.pm) .reading h2.pp-o.pp-v0 .ch-title { font-size: 34px; }
  html.pp:not(.pm) .reading h2.pp-o.pp-v0 .pp-stroke { width: 150px; height: 8px; }
  html.pp:not(.pm) .reading h2.pp-o.pp-v0::after { width: 34px; height: 34px; font-size: 20px; translate: calc(var(--paint) * .3 + 17px) calc(var(--paint) * .22 + 17px); }
  html.pp:not(.pm) .reading .ch-fig,
  html.pp:not(.pm) .reading .sub-fig,
  html.pp:not(.pm) .reading .life-map:not(.wrap-up) { padding: 26px 18px 16px; }
  html.pp:not(.pm) .reading { --pad: 44px; }
  html.pp:not(.pm) .reading section.sub { margin-top: 60px; }
  html.pp:not(.pm) .reading .pp-sh { margin-bottom: 30px; padding: 30px 44px 32px; }
  html.pp:not(.pm) .reading .pp-sh > h3 { font-size: 24px; gap: 0 14px; }
  html.pp:not(.pm) .reading .pp-sh > h3::after { height: 9px; margin-top: 16px; }
  html.pp:not(.pm) .reading .pp-sh .sub-no { width: 35px; height: 36px; font-size: 16px; }
  html.pp:not(.pm) .reading .pp-key { margin-top: 22px; font-size: 20px; }
  /* 별 쪽지는 두 줄로 나란히 */
  html.pp:not(.pm) .reading .sal-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; align-items: start; }
  html.pp:not(.pm) .reading .sal-in > .si-h,
  html.pp:not(.pm) .reading .sal-in > .si-lead { grid-column: 1 / -1; }
  html.pp:not(.pm) .reading .sal-card { --m: 92px; margin: 0 0 40px; padding: 26px 24px 26px; }
  html.pp:not(.pm) .reading section.sub > .sal-card { max-width: 560px; margin-inline: auto; }
  html.pp:not(.pm) .reading .year-card { margin-bottom: 50px; padding: 34px 44px 26px; }
  html.pp:not(.pm) .reading .yc-head h3 { font-size: 23px; }
  html.pp:not(.pm) .reading .concept { display: flex; align-items: center; gap: 16px; margin: 40px 0; }
  html.pp:not(.pm) .reading .concept > .yname,
  html.pp:not(.pm) .reading .concept > .cp-face { position: static; }
  html.pp:not(.pm) .reading .cp-bubble { --m: 116px; flex: 1; column-gap: 22px; padding: 30px 40px 30px; }
  html.pp:not(.pm) .reading .cp-bubble.pp-need { grid-template-columns: var(--m) minmax(0, 1fr) 96px; }
  html.pp:not(.pm) .reading .cp-bubble > div > b { align-self: end; font-size: 23px; }
  html.pp:not(.pm) .reading .cp-bubble .cp-art,
  html.pp:not(.pm) .reading .cp-bubble .cp-icon { grid-row: 1 / 4; }
  html.pp:not(.pm) .reading .cp-bubble > div > p { grid-column: 2 / -1; margin-top: 8px !important; align-self: start; font-size: 17px; }
  html.pp:not(.pm) .reading .cp-bubble .cp-need img { width: 84px; height: 84px; }
  html.pp:not(.pm) .reading .wrap-up { max-width: 620px; margin-inline: auto; padding: 40px 46px 46px; }
  html.pp:not(.pm) .reading .wrap-up::after { right: 40px; width: 46px; height: 70px; font-size: 23px; }
  html.pp:not(.pm) .reading .pl-grid > div { padding: 18px 12px; }
  html.pp:not(.pm) .reading .pl-grid > div:nth-child(odd) { border-right: 1px solid rgba(42, 33, 29, .26); }
}

}
/* 별 쪽지(2026-10-10): 별의 뜻풀이는 작고 흐리게, "현실에서는"과 그 자리에서의 모습은 크게(손님이 읽어야 할 것은 내 삶에서 보이는 모습) */
html.pp:not(.pm) .reading .sal-card p.bal { font-size: 14.5px; line-height: 1.7; color: #7a6a5c; }
html.pp:not(.pm) .reading .sal-card .sc-more dt { display: inline-block; margin: 0 0 6px; padding: 2px 10px 3px; border-radius: 4px; background: #c8372d; font: 800 13.5px/1.5 var(--disp); letter-spacing: .02em; color: #fff6ea; }
html.pp:not(.pm) .reading .sal-card .sc-more dd { margin: 0 0 16px; font: 700 17.5px/1.75 var(--serif); color: #1f1814; }
@media (min-width: 760px) { html.pp:not(.pm) .reading .sal-card .sc-more dd { font-size: 18.5px; } }

/* ── 심화풀이 가운데 정렬(2026-10-18 대표 결정, 무료 C안과 같은 결): 화면에서만. PDF(html.pm)는 그대로 ── */
/* 본문: 문장마다 가운데, 두 줄 길이를 고르게 */
html.pp:not(.pm) .reading :is(section.sub, section.sal-in, .rp-prologue) > p,
html.pp:not(.pm) .reading > p:not(.closing-note) { text-align: center; }
html.pp:not(.pm) .reading :is(section.sub, section.sal-in, .rp-prologue) > p :is(.sl, .ln),
html.pp:not(.pm) .reading > p :is(.sl, .ln),
html.pp:not(.pm) .reading :is(section.sub, section.sal-in) > p { text-wrap: balance; }
html.pp:not(.pm) .reading section.sub > :is(ul, ol):not(.kw-chips) { list-style: none; padding-left: 0; text-align: center; }
html.pp:not(.pm) .reading section.sub > :is(ul, ol):not(.kw-chips) li { text-wrap: balance; }
/* 소제목 쪽지: 먹물이 → 번호+제목 → 붓 줄 → 결론 한 줄 → 꼬리표 */
html.pp:not(.pm) .reading .pp-sh { text-align: center; }
html.pp:not(.pm) .reading .pp-sh .sh-art { float: none; display: block; margin: -6px auto 4px; }
html.pp:not(.pm) .reading .pp-sh > h3 { justify-content: center; }
html.pp:not(.pm) .reading .pp-sh .sub-t { flex: 0 1 auto; text-wrap: balance; }
html.pp:not(.pm) .reading .pp-key { text-wrap: balance; }
html.pp:not(.pm) .reading .pp-sh .kw-chips { justify-content: center; }
html.pp:not(.pm) .reading .sal-in .si-h, html.pp:not(.pm) .reading .sal-in .si-lead { text-align: center; text-wrap: balance; }
/* 해 보세요 / 조심하세요: 머리와 줄을 가운데, 점 대신 줄 사이 여백 */
html.pp:not(.pm) .reading .do-card .dc-h { justify-content: center; }
html.pp:not(.pm) .reading .do-card li { padding-left: 0; text-align: center; text-wrap: balance; }
html.pp:not(.pm) .reading .do-card li::before { content: none; }
/* 별 쪽지: 먹물이 동그라미 → 이름 → 한 줄 → 글 */
html.pp:not(.pm) .reading .sal-card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
html.pp:not(.pm) .reading .sal-card .sc-art { grid-area: 1 / 1; margin: 0 0 8px; }
html.pp:not(.pm) .reading .sal-card .sc-n { grid-area: 2 / 1; padding-right: 0; }
html.pp:not(.pm) .reading .sal-card .sc-m { grid-area: 3 / 1; }
html.pp:not(.pm) .reading .sal-card.us-card .sc-n { grid-row: 2; }
html.pp:not(.pm) .reading .sal-card p.bal { grid-area: 4 / 1; text-wrap: balance; }
html.pp:not(.pm) .reading .sal-card .sc-more { grid-area: 5 / 1; width: 100%; }
html.pp:not(.pm) .reading .sal-card > .mini-chart { grid-area: 6 / 1; }
/* 근거 펼치기 */
html.pp:not(.pm) .reading details.ch-basis > summary { text-align: center; }
html.pp:not(.pm) .reading .sal-card .sc-art { padding: 11px 9px 0; } /* %는 쪽지 폭 기준이 되어 그림이 사라진다 */
html.pp:not(.pm) .reading details.ch-basis summary::before { margin-left: auto; }
html.pp:not(.pm) .reading .fig-cap { text-align: center; }
/* 장 표지(둘째·셋째 놓는 자리): 먹물이 → 번호·장 → 장 이름 → 붓 줄 */
html.pp:not(.pm) .reading h2.pp-o:is(.pp-v1, .pp-v2) { grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr); column-gap: 10px; justify-items: center; text-align: center; }
html.pp:not(.pm) .reading h2.pp-o:is(.pp-v1, .pp-v2) .pp-art { grid-area: 1 / 1 / 2 / -1; justify-self: center; margin: calc(8px - var(--pt)) 0 4px; }
html.pp:not(.pm) .reading h2.pp-o:is(.pp-v1, .pp-v2) .ch-no { grid-area: 2 / 2; }
html.pp:not(.pm) .reading h2.pp-o:is(.pp-v1, .pp-v2) .ch-label { grid-area: 2 / 3; }
html.pp:not(.pm) .reading h2.pp-o:is(.pp-v1, .pp-v2) .ch-title { grid-area: 3 / 1 / 4 / -1; }
html.pp:not(.pm) .reading h2.pp-o:is(.pp-v1, .pp-v2) .pp-stroke { grid-area: 4 / 1 / 5 / -1; justify-self: stretch; }
/* 개념 쪽지(격국·용신): 그림 → 이름 → 글 */
html.pp:not(.pm) .reading .cp-bubble, html.pp:not(.pm) .reading .cp-bubble.pp-need { grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr); column-gap: 10px; justify-items: center; text-align: center; }
html.pp:not(.pm) .reading .cp-bubble :is(.cp-art, .cp-icon) { grid-area: 1 / 1 / 2 / -1; padding: 13px; }
html.pp:not(.pm) .reading .cp-bubble.pp-need :is(.cp-art, .cp-icon) { grid-area: 1 / 2; }
html.pp:not(.pm) .reading .cp-bubble .cp-need { grid-area: 1 / 3; }
html.pp:not(.pm) .reading .cp-bubble > div > b { grid-area: 2 / 1 / 3 / -1; margin-top: 8px; }
html.pp:not(.pm) .reading .cp-bubble > div > p { text-wrap: balance; }
/* 두 얼굴 쪽지(밖에서 보이는 나 / 가까운 사람이 아는 나): 그림 → 이름 → 글자 → 설명 */
html.pp:not(.pm) .reading .sf-two > div { grid-template-columns: minmax(0, 1fr); grid-template-areas: "art" "k" "n" "c"; justify-items: center; text-align: center; }
html.pp:not(.pm) .reading .sf-two .tw-k { margin-top: 4px; }
/* 소제목: 번호 도장이 제목 첫 줄 앞에 붙어 있게(긴 제목이면 번호만 따로 한 줄에 남던 것) */
html.pp:not(.pm) .reading .pp-sh > h3 { display: block; text-wrap: balance; }
html.pp:not(.pm) .reading .pp-sh .sub-no { display: inline-grid; vertical-align: 3px; margin-right: 10px; }
html.pp:not(.pm) .reading .pp-sh .sub-t { display: inline; }
html.pp:not(.pm) .reading .pp-sh > h3::after { display: block; }
html.pp:not(.pm) .reading .fig-years { justify-content: center; }
/* 움직임이 켜진 화면에서는 본문 줄이 .ln(한 줄씩 떠오름)으로 나뉜다: 가운데 맞춘 줄 나눔이 .sl과 같게 */
html.pp:not(.pm) .reading .pp-def :is(.sl, .ln) { text-wrap: balance; }
/* 긴 글 덜 지루하게(paid2.js easyRead): 묶음마다 이름표 + 굵은 첫 문장, 묶음 사이 짧은 붓 줄, 용어 풀이는 그림 쪽지, 괄호 속 해·나이는 작게 */
html.pp:not(.pm) .reading .pp-chip { display: table; margin: 0 auto 10px; padding: 2px 10px 3px; border-radius: 4px; background: #c8372d; font: 800 13.5px/1.5 var(--disp); letter-spacing: .02em; color: #fff6ea; }
html.pp:not(.pm) .reading .pp-first { font-weight: 700; color: #1f1814; }
html.pp:not(.pm) .reading p.pp-g2::before { content: ''; display: block; width: 48px; height: 6px; margin: 6px auto 24px; background: var(--pk); opacity: .38; -webkit-mask: var(--pp-stroke); mask: var(--pp-stroke); }
html.pp:not(.pm) .reading .pp-def { display: block; margin: 14px 0; padding: 12px 14px 13px; border-top: 3px solid #d9a441; border-radius: 0 0 8px 8px; background: rgba(217, 164, 65, .13); font-size: 15px; line-height: 1.7; color: var(--pk2); }
html.pp:not(.pm) .reading .pp-def-art { display: block; width: 56px; height: 56px; margin: 0 auto 6px; object-fit: contain; }
html.pp:not(.pm) .reading .pp-paren { font-size: .86em; color: var(--pk2); }
html.pp:not(.pm) .reading aside.spot { text-align: center; } /* 글 사이 원국 조각(짚은 글자 표시)도 가운데 */
