/* ============================================================
   AstroSaju — Light Redesign v3 "천원지방" (v8 재염색: DESIGN_BRIEF_v2 위에 적용)
   색 예산 4 hue + 오행 5색 예외는 유지, 각 hue의 실제 색만 데모 v7.x
   검증본으로 전환. 온보딩은 무접촉(별도 정체성 유지).
     ① 주색(먹/네이비)  hue 214 — 텍스트·UI 골격·기본 강조 (무변경)
     ② 점성술(청)       hue 217 — 서양 점성술 전용 (하늘·차가움)
     ③ 사주(금니)       hue 40  — 사주 전용 (문서·따뜻함). 강한 강조에 한해 gilt(밝은 장식용) 추가 — 텍스트 금지
     ④ 바탕(한지)       hue 42  — 지면 (무변경)
   오행(목화토금수)은 정보 인코딩이라 저채도 5색 예외 허용.
   상태(신뢰도·合沖·중립)는 새 hue 대신 회색조·점선·굵기·위치로.
   ============================================================ */

/* Pretendard Variable — self-host 조각(SIL OFL). 청사진 NU-03(2026-10-05): 2.0MB 한 덩어리 대신 /fonts/pretendard-pv.css 의 유니코드 범위 조각을 index.html · onboarding.html 이 먼저 읽는다(tools/build-font-subsets.cjs) */

/* Noto Serif KR — self-host (SIL OFL). 명식 한자·제목용. 원본 23.8MB에서
   실사용 글자(한글 완성형+명리 한자+라틴)만 subset + weight 700 고정 → 1MB.
   명조는 굵은 제목·명식에만 쓰여 700 단일 웨이트로 충분. */
@font-face {
  font-family: "Noto Serif KR";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/NotoSerifKR-700-subset.woff2") format("woff2");
}

/* ---------- 1. 토큰 ---------- */
:root {
  /* ④ 바탕 — 순백 금지, 아주 옅은 웜톤. 카드 내부는 더 깨끗하게 */
  --paper-0: hsl(42 26% 96%);
  --paper-1: hsl(40 20% 99%);
  --paper-2: hsl(42 22% 97%);

  /* v8: 밤 재료 — 페이지 바닥. v9: 감지금니 — 세계도 문서도 밤(전면 전환) */
  --night-0: hsl(217 29% 8%);
  --night-1: hsl(219 28% 12%);
  --night-ink: hsl(45 22% 92%);
  --night-ink-2: hsl(45 22% 92% / .72);
  /* v8 R4: AA 재실측 후 조정 — .45는 night-0 배경에서 4.03:1(미달), .55는 5.44:1 */
  --night-ink-3: hsl(45 22% 92% / .55);
  /* v9 M0: 감지(紺紙) 카드 지면 — 바닥(8%)·막 밴드(12%)보다 한 단 밝게, 카드가 바닥 위에 얹힌 것으로 읽히게 */
  --night-paper:   hsl(219 24% 14%);
  --night-paper-2: hsl(220 26% 14%);
  --night-panel-raised: hsl(220 24% 16%);
  --night-hairline:      hsl(45 22% 92% / .16);
  --night-hairline-soft: hsl(45 22% 92% / .10);
  /* v9: 12k 리더 본문 전용 — 순백 금지, 웜 아이보리로 할레이션 억제 */
  --night-ink-read: hsl(45 22% 88% / .92);

  /* ① 주색 먹/네이비 — hue 214 고정, L·S만 회전.
     ink-300은 원래 L60%(대비 2.87:1, AA 미달)였으나 데이터 텍스트에도 쓰여
     L48%(≈4.6:1)로 낮춤. 순수 장식(헤어라인)에는 ink-200 이하 사용. */
  --ink-900: hsl(214 42% 14%);
  --ink-800: hsl(214 46% 20%);
  --ink-700: hsl(214 32% 27%);
  --ink-600: hsl(214 40% 34%);
  --ink-500: hsl(214 18% 43%);
  --ink-400: hsl(214 14% 45%); /* muted 상태 텍스트(v-weak·xbar 소수치) — 500과 가깝게, AA 안전 */
  --ink-300: hsl(214 14% 48%); /* 캡션·구분자·비활성 — 400보다 한 단계 밝게, 재감사에서 400과 동값이던 것 분리 */
  --ink-200: hsl(214 14% 78%);
  --ink-100: hsl(214 16% 89%);
  --ink-050: hsl(214 30% 95%);

  /* ② 점성술 청 — hue 217 (v8: 인디고 228→217, 데모 v7.x 검증본) */
  --astro-strong: hsl(217 45% 37%);
  --astro-deep:   hsl(217 47% 28%);
  --astro-soft:   hsl(217 35% 72%);
  --astro-bg:     hsl(217 35% 93%);

  /* ③ 사주 금니 — hue 40 (v8: 인주/테라코타 16→40).
     astro와 명도차를 강제로 벌려 색맹·흑백에서도 좌우 구분이 유지되게 함.
     gilt는 장식 전용(표구 보더·워터마크) — 텍스트에 쓰면 AA 미달, strong/deep만 텍스트. */
  --saju-strong: hsl(40 50% 32%);
  --saju-deep:   hsl(40 52% 26%);
  --saju-soft:   hsl(42 38% 68%);
  --saju-bg:     hsl(42 40% 92%);
  --saju-gilt:   hsl(42 52% 57%);

  /* 오행 5색 — 색 예산의 유일한 예외(데이터 인코딩). 저채도로 절제 */
  --el-wood:  hsl(140 26% 40%);
  --el-fire:  hsl(8 46% 46%);
  --el-earth: hsl(38 36% 46%);
  --el-metal: hsl(210 8% 52%);
  --el-water: hsl(220 38% 40%);
  /* v9.1 N2: 오행 야간 변형 — 색=정보 인코딩 의미 불변. v9 초판은 S 30~55로 과채도(코드베이스
     자기 규율 "저채도로 절제" 위반) — 데모 계보의 저채도 밴드로 재조정.
     1차 L(wood54/fire56/earth54/metal58/water56)은 텍스트로 쓰일 때 L2(night-paper-2, 밝은 쪽)
     배경 대비가 fire 4.00·water 4.43·metal 4.50으로 AA 미달/문턱 — 라이브 실측 후 전부 +6L */
  --el-wood-n:  hsl(147 20% 60%);
  --el-fire-n:  hsl(13 34% 62%);
  --el-earth-n: hsl(36 36% 60%);
  --el-metal-n: hsl(215 12% 64%);
  --el-water-n: hsl(205 26% 62%);

  /* 타이포 — 8단 스케일. 0.5px 스텝 없음 */
  --fs-11: 11px; --fs-12: 12px; --fs-13: 13px; --fs-14: 14px; --fs-15: 15px;
  --fs-17: 17px; --fs-19: 19px; --fs-22: 22px; --fs-27: 27px;
  /* v8: 리더 표지·막 제목 한정 표제 스케일 — 나머지 UI는 위 8단 그대로(리더는 읽기 도구, 데모 6.5rem의 절반 상한) */
  --fs-display: clamp(30px, 6vw, 52px);

  --serif: "Noto Serif KR", "Nanum Myeongjo", "AppleMyungjo", "UnBatang", "Batang", serif;
  /* Pretendard 우선 → 없으면 각 OS 시스템 고딕(맑은고딕/Apple SD Gothic 등)으로 폴백 */
  --sans:  "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui,
           "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  ui-monospace, SFMono-Regular, Menlo, Consolas, "D2Coding", monospace;

  /* 간격 스케일 */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-7: 32px; --sp-8: 40px;

  --r-s: 8px; --r-m: 8px; --r-l: 8px;
  --hairline: hsl(214 16% 88% / .72);
  --hairline-soft: hsl(214 16% 89% / .48);
  /* v8: 표구 마운팅 — 리더 소장 패널(장 카드·출생 지도)에만, 입력폼·결과 카드는 현행 보더 유지 */
  --mount-line: hsl(40 50% 32% / .28);
  --shadow: 0 1px 2px hsl(214 42% 14% / .035), 0 12px 32px -22px hsl(214 42% 14% / .2);
  --shadow-float: 0 1px 2px hsl(214 42% 14% / .04), 0 24px 56px -34px hsl(214 42% 14% / .28);

  /* 모션 — 일반 UI는 빠르고 절제, 개봉만 더 무겁게. */
  --ease-out-ui: cubic-bezier(.19, .78, .24, 1);
  --ease-seal: cubic-bezier(.14, .82, .21, 1);
  --dur-press: 120ms;
  /* v9.6 F2: 240ms+8px는 보통 스크롤 속도를 못 따라가 리빌이 안 보였다 — 350ms로.
     이 토큰은 스크롤 리빌뿐 아니라 오프닝 단계·차트 궤적 지연에도 물려 있어 전체가 같이 늦춰진다 */
  --dur-reveal: 350ms;
  --dur-draw: 500ms;
  --dur-opening: 800ms;
  --stagger: 60ms;
  --delay-stage-ready: calc(var(--dur-opening) + var(--dur-reveal));
  --delay-seal-ready: calc(var(--delay-stage-ready) + var(--dur-opening));
}

/* ---------- 2. 베이스 ---------- */
* { box-sizing: border-box; }
/* v9: 감지금니 — 네이티브 컨트롤(date picker·스크롤바)도 다크로. 온보딩은 별도 문서라 무접촉 */
html { color-scheme: dark; }
[hidden] { display: none !important; }
[hidden] .stamp,
.seal-cta[hidden] .seal-cta-stamp { display: none !important; }
/* v9: 세계도 문서도 밤 — 바닥은 night-0 그대로, 카드는 M1/M2/M3에서 night-paper로 전환 */
body {
  margin: 0;
  background: var(--night-0);
  color: var(--night-ink-2);
  font-family: var(--sans);
  font-size: var(--fs-15);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* v9.4 U3: 체크박스·라디오의 브라우저 기본 파랑/상아 채움을 금니로 통일(상속 속성) */
  accent-color: var(--saju-gilt);
}
h1, h2, h3, h4 { margin: 0; color: var(--night-ink); }
p { margin: 0 0 12px; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--saju-gilt); outline-offset: 2px; }
/* v9.5 L1: #formCard는 tabindex=-1 프로그램 포커스 앵커(온보딩 종료 시 focus()) —
   실제 컨트롤이 아니라 스크롤/포커스 이동용이라 전역 focus-visible 링 대상에서 제외 */
#formCard:focus-visible { outline: none; }
::selection { background: hsl(219 24% 26%); }
.tnum { font-variant-numeric: tabular-nums; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 var(--sp-5) 88px; }

/* 두 체계가 중앙에서 만나는 이중 괘선 — 브랜드 모티프(장식 아니라 정보 기능) */
.dual-rule {
  height: 2px; border: 0; margin: 0;
  background: linear-gradient(90deg, var(--astro-strong) 0 50%, var(--saju-strong) 50% 100%);
}
.dual-rule.thin { height: 1px; opacity: .5; }

/* ---------- 3. 헤더 ---------- */
.site-head { text-align: center; padding: var(--sp-8) 0 var(--sp-5); }
/* 동양 재질(명조·낙관·표구)은 리포트 본문 쪽 몫 — 마스트헤드는 매번 재방문 때마다 보이는
   자리라 절제된 현대 활자로, 금은 가운뎃점 한 곳에만 남긴다. */
.brand-mark {
  font-family: var(--sans); font-size: var(--fs-27); font-weight: 300;
  letter-spacing: .28em; text-indent: .28em;
  color: var(--night-ink); line-height: 1.3;
}
.brand-mark .bm-dot { color: var(--saju-gilt); margin: 0 .05em; }
.brand-mark a { display: inline-flex; min-height: 44px; align-items: center; color: inherit; text-decoration: none; }
.brand-mark a:focus-visible { outline: 2px solid var(--astro-strong); outline-offset: 4px; border-radius: 2px; }
.tagline {
  margin: var(--sp-2) 0 0;
  font-family: var(--serif);
  font-size: var(--fs-13);
  line-height: 1.7;
  letter-spacing: 0;
  word-break: keep-all;
  color: var(--night-ink-2);
}
.tagline em {
  display: inline-block;
  font-style: normal;
  letter-spacing: 0;
  transform: skewX(-7deg);
  transform-origin: left 70%;
}
.site-head .dual-rule { margin-top: var(--sp-4); }
/* v9.6 E1: 대시 필 배지 → 맨 텍스트. 필은 웹앱 문법, 이 자리는 문서의 정오표 한 줄 */
.v0-badge {
  display: inline-block; margin-top: var(--sp-4);
  font-size: var(--fs-11); font-weight: 700; letter-spacing: .04em;
  color: var(--night-ink-3);
}

/* ---------- 4. 패널(섹션 카드) 공통 ---------- */
.panel {
  background: var(--night-paper);
  border: 1px solid var(--night-hairline);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
  padding: var(--sp-6);
  margin: var(--sp-5) 0;
}
/* 원자료 클러스터: 시각 강등(그림자 제거, 지면색 낮춤) — 결론과 위계 분리 */
.panel.raw {
  box-shadow: none; background: var(--night-paper-2); border-color: var(--night-hairline-soft);
}
.panel-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--sp-2);
  border-bottom: 1px solid var(--night-hairline-soft);
  padding-bottom: var(--sp-4); margin-bottom: var(--sp-5);
}
.panel-kicker {
  font-family: var(--sans); font-size: var(--fs-11); font-weight: 700; letter-spacing: .04em;
  color: var(--night-ink-3);
}
.panel-title { font-family: var(--serif); font-size: var(--fs-19); font-weight: 700; line-height: 1.3; color: var(--night-ink); }
.panel-sub { width: 100%; font-size: var(--fs-12); color: var(--night-ink-3); }
.cluster-gap { margin-top: var(--sp-7); }

/* ---------- 5. 배지 (상태=형태, 새 hue 없음) — v9: 최상위 강조는 아이보리 필로 반전(밤에서 가장 밝은 요소=최고 신뢰) */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 10px; border-radius: 999px;
  font-size: var(--fs-11); font-weight: 700; line-height: 1.7;
  white-space: normal; word-break: keep-all; text-align: center;
}
.conf-high { background: var(--night-ink); color: var(--night-0); }
.conf-mid,
.conf-medium { border: 1px solid var(--night-ink); color: var(--night-ink); background: transparent; }
.conf-low  { border: 1px dashed var(--night-ink-3); color: var(--night-ink-3); background: transparent; }

.v-strong { background: var(--night-ink); color: var(--night-0); }
.v-agree  { border: 1px solid var(--night-ink); color: var(--night-ink); background: hsl(45 22% 92% / .06); }
.v-solo-a { border: 1px solid var(--astro-soft); color: var(--astro-soft); background: color-mix(in srgb, var(--astro-soft) 12%, transparent); }
.v-solo-s { border: 1px solid var(--saju-gilt); color: var(--saju-gilt); background: color-mix(in srgb, var(--saju-gilt) 12%, transparent); }
.v-neutral{ border: 1px solid var(--night-hairline); color: var(--night-ink-3); background: transparent; }
.v-weak   { border: 1px dashed var(--night-hairline); color: var(--night-ink-3); background: transparent; }
.v-strong,
.v-agree,
.v-solo-a,
.v-solo-s,
.v-neutral,
.v-weak { font-weight: 600; }

.notice {
  display: flex; gap: var(--sp-2); align-items: flex-start;
  font-size: var(--fs-13); line-height: 1.68; color: var(--night-ink-2);
  background: var(--night-paper-2);
  border: 1px solid var(--night-hairline-soft);
  border-radius: var(--r-m);
  padding: 14px var(--sp-4); margin: var(--sp-4) 0 0;
}
.notice.caution { color: var(--night-ink); border: 1px dashed var(--night-hairline); }
.notice .n-ico { flex: 0 0 auto; font-weight: 700; color: var(--night-ink); }
/* v9.5 L7: .n-ico는 !/⚠(경고) 공용 클래스라 전역 변경 금지 — 이 랜딩 안내(ⓘ)만 정직성 문구라 금으로 */
.entry .notice .n-ico { color: var(--saju-gilt); }
.notice b { color: var(--night-ink); }
/* v9.1 N1: confBar()의 .notice만 #result 바로 아래 맨바닥 — 카드 없는 자리라 L1로.
   .evidence-scene .notice 등 카드 안에 오는 .notice는 기본 규칙(L2) 그대로 유효 */
#result > .notice { background: var(--night-paper); }
/* v9.4 U1: scene-dark가 "의도적으로 배경 없음"이 아니라 셀렉터 미스매치 버그였음이 라이브
   실측으로 드러났다(styles.css:1514 수정 참조) — 이제 scene-dark 자체가 night-paper 카드라
   그 안 .notice는 기본 규칙(L2 night-paper-2)이 맞다. 오버라이드 삭제 */

.report-delay {
  border: 1px dashed var(--night-hairline);
  background: var(--night-paper-2);
}

.report-delay h3 {
  margin: var(--sp-2) 0 var(--sp-2);
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  font-weight: 700;
}

.report-delay .muted {
  margin-top: var(--sp-2);
}

/* 전문어 + 쉬운말 (glossary) — 인라인, nowrap 금지(래핑 허용) */
.term { }
.term .tr { color: var(--night-ink-3); font-size: .92em; font-weight: 400; }
.term .tr::before { content: " · "; color: var(--night-ink-3); }

/* ---------- 6. 입력 폼 ---------- */
.entry { padding-top: 0; overflow: hidden; }
.entry::before {
  content: ""; display: block; height: 3px;
  margin: 0 calc(var(--sp-5) * -1) var(--sp-5);
  /* v8.1 M1: 맨바닥 위 장식 바 — strong은 밤에서 침몰해 soft/gilt로 */
  background: linear-gradient(90deg, var(--astro-soft) 0 50%, var(--saju-gilt) 50% 100%);
}
/* v8.1 M1: .danja/.archive-panel 카드 밖에 영구히 남는 맨바닥 eyebrow(입력폼·서고).
   다른 eyebrow는 M2가 시트로 감싸면서 라이트 색이 다시 유효해지므로 기본 .eyebrow는 무변경.
   서고 eyebrow는 실측(4.14:1, AA 미달)으로 발견 — 청사진 예시 목록에 없던 항목 */
.entry > .eyebrow,
.archive-scene > .eyebrow { color: var(--night-ink-3); }
.entry > .eyebrow::after,
.archive-scene > .eyebrow::after { background: linear-gradient(90deg, hsl(45 22% 92% / .14), transparent 90%); }
.entry > .eyebrow .hj,
.archive-scene > .eyebrow .hj { color: var(--night-ink-3); }
.archive-scene > .eyebrow .eyebrow-label { color: var(--night-ink-3); }
.entry-lede { font-size: var(--fs-13); color: var(--night-ink-3); margin-bottom: var(--sp-4); }
.form-grid { display: grid; gap: var(--sp-4); }
.field label {
  display: block; font-size: var(--fs-12); font-weight: 700;
  color: var(--night-ink-3); margin-bottom: var(--sp-2);
}
.field input[type="date"],
.field input[type="search"],
.field input[type="text"],
.field input[type="time"],
.field select,
/* v9.4 U3: 이 두 컨트롤은 .field 밖에 있어서 지금까지 브라우저 기본 회색으로
   렌더됐다(라이브 실측 rgb(59,59,59)) — 같은 규칙에 편입 */
.coord-grid input[type="number"],
.lens-grid select {
  width: 100%; padding: 11px 12px; min-height: 44px;
  border: 1px solid var(--night-hairline); border-radius: var(--r-m);
  /* v9.5 L4: 카드(--night-paper, L14%)와 톤이 같던 걸 살짝 가라앉혀 — 종이 위 오목한 칸.
     background 축약형은 select 화살표(background-image, 아래 select{} 규칙)를 지워버려서
     longhand로 — 이 버그는 이 규칙이 축약형을 쓴 순간부터 있었다(내가 만든 게 아님) */
  background-color: color-mix(in srgb, var(--night-0) 55%, var(--night-paper)); color: var(--night-ink-2); font: inherit;
}
.field input:focus, .field select:focus,
.coord-grid input[type="number"]:focus, .lens-grid select:focus {
  border-color: var(--saju-gilt); outline: none;
  box-shadow: 0 0 0 3px hsl(42 52% 57% / .18);
}
.field input:disabled { background: var(--night-paper); color: var(--night-ink-3); }
select option { background: var(--night-paper-2); color: var(--night-ink-2); }
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--night-ink-3) 50%), linear-gradient(135deg, var(--night-ink-3) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}
.field select,
.lens-grid select { padding-right: 36px; }

.seg {
  display: flex; border: 1px solid var(--night-hairline);
  border-radius: var(--r-m); overflow: hidden; background: var(--night-paper-2);
}
.seg button {
  flex: 1; min-height: 44px; padding: 10px 4px; border: 0; background: transparent;
  color: var(--night-ink-3); font-size: var(--fs-15);
}
.seg button + button { border-left: 1px solid var(--night-hairline); }
.seg button.on { background: var(--night-ink); color: var(--night-0); font-weight: 700; }
/* v9.5 L4: 성별 3버튼이 카드 전폭 스트레치라 가장 작은 선택지가 가장 넓은 컨트롤이 되던 것 —
   데스크톱만 콘텐츠 폭으로. 모바일은 탭 폭 확보가 우선이라 전폭 유지 */
@media (min-width: 720px) {
  .seg { display: inline-flex; width: fit-content; }
  .seg button { flex: initial; padding: 10px 22px; }
}

.field label.chk-pill,
.chk-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 44px;
  margin: 0;
  padding: 0 14px;
  color: var(--night-ink-3);
  font-size: var(--fs-13);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid var(--night-hairline);
  border-radius: var(--r-m);
  background: var(--night-paper-2);
  user-select: none;
  cursor: pointer;
}
.field-row .chk-pill { flex: 0 0 auto; }
.chk-pill input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid var(--night-ink-3);
  border-radius: var(--r-m);
  background: var(--night-paper-2);
}
.chk-pill input[type="checkbox"]:checked {
  border-color: var(--night-ink);
  background: var(--night-ink);
}
.chk-pill input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--night-0);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.chk-pill:has(input:checked) {
  border-color: var(--night-ink); color: var(--night-ink); background: hsl(45 22% 92% / .06);
}
.field-row { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.field-row > .grow { flex: 1 1 160px; }

.btn-primary {
  position: relative;
  width: 100%; min-height: 48px; margin-top: 4px; padding: 14px;
  background: color-mix(in srgb, var(--saju-gilt) 12%, var(--night-paper-2)); color: var(--night-ink);
  border: 1px solid color-mix(in srgb, var(--saju-gilt) 48%, var(--night-hairline)); border-radius: var(--r-m);
  /* v9.5 L5: 이 페이지의 유일한 '결정' 버튼 — 상단에 살짝 하이라이트를 얹어 조명 아래 놓인 느낌 */
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--saju-gilt) 35%, transparent);
  font-size: var(--fs-15); font-weight: 700;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.btn-label { line-height: 1.25; }
.btn-sub {
  color: currentColor;
  font-size: var(--fs-11);
  font-weight: 700;
  line-height: 1.35;
  opacity: .75;
}
.btn-primary:hover { background: color-mix(in srgb, var(--saju-gilt) 18%, var(--night-paper-2)); border-color: var(--saju-gilt); color: var(--night-ink); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-spin {
  position: absolute; right: 16px; top: 50%; margin-top: -7.5px;
  width: 15px; height: 15px; border: 2px solid var(--night-hairline);
  border-top-color: var(--night-ink); border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.err {
  margin-top: var(--sp-3); padding: var(--sp-3);
  border: 1px dashed var(--night-hairline); border-radius: var(--r-m);
  color: var(--night-ink); font-size: var(--fs-13); font-weight: 600; text-align: center;
}

details.adv {
  border: 1px solid var(--night-hairline); border-radius: var(--r-m);
  background: var(--night-paper-2);
}
details.adv summary {
  min-height: 44px; padding: 11px 14px; cursor: pointer; list-style: none;
  font-size: var(--fs-13); color: var(--night-ink-3);
  display: flex; align-items: center; gap: var(--sp-2);
}
details.adv summary::-webkit-details-marker { display: none; }
details.adv summary::after { content: "▾"; margin-left: auto; color: var(--night-ink-3); }
details.adv[open] summary::after { transform: rotate(180deg); }
details.adv .adv-body { padding: 0 14px 14px; display: grid; gap: var(--sp-3); }
.lens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}
.lens-grid label { display: grid; gap: 6px; color: var(--night-ink-3); font-size: var(--fs-12); }
.lens-grid p { grid-column: 1 / -1; margin: 0; color: var(--night-ink-3); font-size: var(--fs-11); line-height: 1.65; }

/* 결과 이후: 폼을 "입력 수정" 한 줄로 접음 */
.entry-collapsed {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4); min-height: 44px;
}
.entry-collapsed[hidden] { display: none; }
.entry-collapsed .sum { font-size: var(--fs-13); color: var(--night-ink-3); }
.entry-collapsed .sum b { color: var(--night-ink); font-weight: 700; }
.entry-collapsed button {
  min-height: 44px; padding: 6px 14px; border-radius: var(--r-m);
  /* v9.1 N1-1 실측 발견: .entry-collapsed는 카드 없이 맨바닥이라 L2는 위반 — L1로 승격 */
  border: 1px solid var(--night-hairline); background: var(--night-paper); color: var(--night-ink-2);
  font-size: var(--fs-12); font-weight: 700; white-space: nowrap;
}


/* B단계: 출생지 검색/수동 좌표 */
.place-field { position: relative; }
.place-search { position: relative; }
.place-results {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
  max-height: 280px; overflow: auto; padding: 6px;
  background: var(--night-paper-2); border: 1px solid var(--night-hairline);
  border-radius: var(--r-m); box-shadow: var(--shadow);
}
.place-option {
  width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 2px var(--sp-2);
  text-align: left; padding: 9px 10px; border: 0; border-radius: var(--r-s);
  background: transparent; color: var(--night-ink-2);
}
.place-option:hover, .place-option:focus { background: hsl(45 22% 92% / .06); outline: none; }
.place-option span { font-weight: 700; color: var(--night-ink); }
.place-option em { font-style: normal; color: var(--night-ink-3); font-size: var(--fs-12); }
.place-option b { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--night-ink-3); font-size: var(--fs-11); font-weight: 700; }
.place-empty { padding: 10px; color: var(--night-ink-3); font-size: var(--fs-13); }
.geo-actions {
  display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap;
  margin-top: var(--sp-2);
}
.field-hint { margin: 7px 0 0; color: var(--night-ink-3); font-size: var(--fs-12); }
.coord-manual {
  margin-top: var(--sp-2); border: 1px dashed var(--night-hairline);
  border-radius: var(--r-m); background: var(--night-paper-2);
}
.coord-manual summary { min-height: 40px; padding: 9px 12px; cursor: pointer; color: var(--night-ink-3); font-size: var(--fs-13); }
.coord-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: var(--sp-2); padding: 0 12px 12px; align-items: end; }
.coord-grid label { margin: 0; color: var(--night-ink-3); font-size: var(--fs-12); }
.coord-grid input { margin-top: 4px; }
.btn-secondary {
  min-height: 44px; padding: 0 14px; border-radius: var(--r-m);
  border: 1px solid var(--night-hairline); background: var(--night-paper-2);
  color: var(--night-ink-2); font-weight: 700;
}
.btn-secondary.btn-ghost {
  border-style: dashed;
  background: transparent;
  color: var(--night-ink-3);
  box-shadow: none;
}
.btn-secondary.btn-ghost:hover {
  background: var(--night-paper-2);
  border-color: var(--night-ink-3);
  color: var(--night-ink-2);
}
/* v9.5 L6: 예시 리포트 버튼 — 대시 고스트에서 '열람 가능한 표본'으로. submit(.btn-primary)보다
   항상 한 단계 조용해야 한다 — 금 농도·글자 무게 둘 다 그 밑에 둔다 */
#sampleReportBtn.btn-secondary.btn-ghost {
  border-style: solid;
  border-color: color-mix(in srgb, var(--saju-gilt) 30%, var(--night-hairline));
  background: color-mix(in srgb, var(--saju-gilt) 5%, transparent);
  color: var(--night-ink-2);
  font-family: var(--serif);
  font-weight: 600;
}
#sampleReportBtn.btn-secondary.btn-ghost:hover {
  border-color: var(--saju-gilt);
  background: color-mix(in srgb, var(--saju-gilt) 8%, transparent);
  color: var(--night-ink);
}

/* B단계: 공유 */
.share-actions {
  display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap;
  margin: var(--sp-3) 0 var(--sp-4);
}
.share-btn {
  min-height: 44px; padding: 7px 12px; border-radius: var(--r-m);
  /* v9.1 N1-4: 맨바닥 부유 컨트롤 = L1(night-paper) — 바닥(night-1)보다 밝아야 뜬 것으로 읽힌다 */
  border: 1px solid hsl(45 22% 92% / .2); background: var(--night-paper);
  color: var(--night-ink); font-size: var(--fs-12); font-weight: 700;
}
.share-btn:hover { background: var(--night-1); border-color: hsl(45 22% 92% / .4); }
.share-status { color: var(--night-ink-3); font-size: var(--fs-12); }
#archiveLiteImportBtn,
#archiveLiteFileBtn,
.geo-actions .btn-secondary { min-height: 44px; }

/* C단계: 두 사람 비교 */
.compat-panel { margin-top: var(--sp-4); }
.compat-fold-summary {
  cursor: pointer; list-style: none; min-height: 44px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--serif); font-size: var(--fs-16); font-weight: 700;
  color: var(--night-ink-3); border-bottom: 1px dashed var(--night-hairline); padding-bottom: var(--sp-3);
}
.compat-fold-summary::marker { color: var(--night-ink-3); }
.compat-fold[open] .compat-fold-summary { color: var(--night-ink); margin-bottom: var(--sp-4); }
.compat-form {
  display: grid; gap: var(--sp-3);
}
.compat-place { min-width: 0; }
.compat-submit { width: 100%; }
.compat-output {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--night-hairline);
}
.compat-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--sp-3); margin-bottom: var(--sp-3);
}
.compat-head h3 {
  font-family: var(--serif); font-size: var(--fs-22); line-height: 1.25;
  margin: 3px 0 0; color: var(--night-ink);
}
.compat-people,
.compat-scores,
.compat-grid {
  display: grid; gap: var(--sp-3); margin-top: var(--sp-3);
}
.compat-person {
  padding: var(--sp-3); border-radius: var(--r-m);
  background: var(--night-paper-2); border: 1px solid var(--night-hairline);
  display: grid; gap: 4px;
}
.compat-person b { color: var(--night-ink); font-size: var(--fs-14); }
.compat-person span { color: var(--night-ink-2); font-size: var(--fs-12); line-height: 1.45; }
.compat-scores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compat-score {
  padding: var(--sp-3); border-radius: var(--r-m);
  border: 1px solid var(--night-hairline); background: var(--night-paper);
}
.compat-score span {
  display: block; color: var(--night-ink-3); font-size: var(--fs-11);
  font-weight: 700; margin-bottom: 3px;
}
.compat-score b {
  font-family: var(--serif); font-size: var(--fs-22); color: var(--night-ink);
}
.compat-score.high { border-color: var(--night-ink); background: hsl(45 22% 92% / .06); }
.compat-score.medium { border-color: var(--night-hairline); }
.compat-score.low { border-style: dashed; color: var(--night-ink-3); }
.compat-grid h4,
.compat-block h4 {
  font-size: var(--fs-13); color: var(--night-ink); margin: 0 0 var(--sp-2);
}
.compat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.compat-list li {
  display: grid; gap: 2px; padding: var(--sp-2) 0;
  border-bottom: 1px dashed var(--night-hairline);
}
.compat-list li:last-child { border-bottom: 0; }
.compat-list b { color: var(--night-ink); font-size: var(--fs-13); }
.compat-list span { color: var(--night-ink-3); font-size: var(--fs-12); }
.compat-block {
  margin-top: var(--sp-3); padding-top: var(--sp-3);
  border-top: 1px solid var(--night-hairline);
}
.compat-block p { color: var(--night-ink-2); font-size: var(--fs-12); line-height: 1.6; margin: var(--sp-2) 0 0; }
.compat-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.compat-chip {
  display: inline-flex; align-items: center; min-height: 30px;
  padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--night-hairline); background: var(--night-paper);
  color: var(--night-ink-2); font-size: var(--fs-12); font-weight: 700;
}
.compat-chip.support { border-color: var(--astro-soft); color: var(--astro-soft); background: color-mix(in srgb, var(--astro-soft) 12%, transparent); }
.compat-chip.tension { border-color: var(--saju-gilt); color: var(--saju-gilt); background: color-mix(in srgb, var(--saju-gilt) 12%, transparent); }
.compat-chip.neutral { border-style: dashed; color: var(--night-ink-3); }
.compact-ul { margin: 0; padding-left: 18px; }
.compact-ul li { margin: 0 0 4px; }
.compact-ul li:last-child { margin-bottom: 0; }

/* ---------- 7. ★ 교차 판정 히어로 ---------- */
.hero { padding: var(--sp-5); }
.axis-legend {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-2);
  font-size: var(--fs-12); font-weight: 700;
}
.axis-legend .la { color: var(--astro-soft); justify-self: start; }
.axis-legend .lc { font-size: var(--fs-11); font-weight: 600; color: var(--night-ink-3); }
.axis-legend .ls { color: var(--saju-gilt); justify-self: end; }

.xtable { border-top: 1px solid var(--night-hairline); }
.xrow {
  display: grid; grid-template-columns: 1fr minmax(96px, max-content) 1fr;
  align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--night-hairline);
}
.xrow.group-start { border-top: 1px solid var(--night-hairline); margin-top: var(--sp-2); padding-top: calc(var(--sp-3) + 2px); }
.xmid {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 2px 4px; text-align: center;
  border-left: 1px solid var(--night-hairline);
  border-right: 1px solid var(--night-hairline);
}
.xname { font-family: var(--serif); font-size: var(--fs-15); font-weight: 700; line-height: 1.3; color: var(--night-ink); }
.xrow.hot .xname { font-size: var(--fs-17); }
.xrow.muted { padding-top: 7px; padding-bottom: 7px; }
.xrow.muted .xname { color: var(--night-ink-3); font-weight: 600; font-size: var(--fs-13); }

/* P1 최중대 수정: 바 트랙을 고정폭 그리드 칸으로 만들고, 숫자는 트랙 폭을 침범하지
   않는 별도 칸에 둔다. 바 자체는 트랙 안에서 position:absolute로 실제 %만큼만 채워
   flex-shrink에 의해 좁은 화면에서 클램프되는 문제를 근본적으로 없앤다. */
.xbar {
  display: grid; align-items: center; gap: 6px; min-width: 0;
}
.xbar.astro { grid-template-columns: 28px 1fr; }
.xbar.saju  { grid-template-columns: 1fr 28px; }
.xbar b {
  font-size: var(--fs-13); font-weight: 700; color: var(--night-ink-2);
  font-variant-numeric: tabular-nums; text-align: center;
}
.xrow.hot .xbar b { color: var(--night-ink); }
.xrow.muted .xbar b { color: var(--night-ink-3); font-weight: 600; }
.xbar .track {
  position: relative; height: 12px; border-radius: 6px;
  background: var(--night-paper-2); overflow: hidden;
}
.xbar .track i {
  position: absolute; top: 0; bottom: 0;
  min-width: 4px; width: var(--w, 0%);
  border-radius: 6px;
  transform: scaleX(1);
  will-change: transform, opacity;
}
.xbar.astro .track { order: 2; }
.xbar.astro b { order: 1; }
.xbar.astro .track i { right: 0; background: var(--astro-soft); border-radius: 6px 2px 2px 6px; transform-origin: right center; }
.xbar.saju .track { order: 1; }
.xbar.saju b { order: 2; }
.xbar.saju  .track i  { left: 0; background: var(--saju-gilt); border-radius: 2px 6px 6px 2px; transform-origin: left center; }
.xrow.muted .xbar .track i { opacity: .55; }
.xrow.muted .xbar .track { background: var(--night-paper-2); }
.xtable.folded .xrow.muted { display: none; }
.xtable-toggle {
  width: 100%;
  min-height: 44px;
  margin-top: var(--sp-2);
  border: 1px dashed var(--night-hairline);
  border-radius: var(--r-m);
  background: transparent;
  color: var(--night-ink-3);
  font-size: var(--fs-12);
  font-weight: 800;
}
.xtable-toggle:hover {
  background: var(--night-paper-2);
  border-color: var(--night-ink-3);
  color: var(--night-ink-2);
}

/* 해설 생성 대기 카드 - 모든 출구가 reportBox를 덮어쓰므로 해제 코드 불필요 */
.gen-loading {
  display: grid; justify-items: center; gap: var(--sp-2);
  padding: var(--sp-7) var(--sp-4);
  border: 1px dashed var(--night-hairline); border-radius: var(--r-m);
  background: var(--night-paper-2); text-align: center;
}
.gl-icon { width: 88px; height: 88px; display: grid; place-items: center; }
.gl-icon img { display: block; width: 88px; height: 88px; }
.gl-title { margin: 0; font-family: var(--serif); font-size: var(--fs-15); font-weight: 700; color: var(--night-ink); }
.gl-sub { margin: 0; font-size: var(--fs-12); color: var(--night-ink-3); }
.gl-stage { min-height: 1.7em; margin: var(--sp-1) 0 0; font-size: var(--fs-13); color: var(--night-ink-2); }
.gl-note { margin: 0; font-size: var(--fs-11); color: var(--night-ink-3); }
.rq-compat-link { margin: var(--sp-4) 0 0; text-align: center; }

.back-to-top {
  position: fixed; right: 16px; bottom: 20px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%;
  /* v9.1 N1-4: 부유 컨트롤 = L1(night-paper) */
  border: 1px solid hsl(45 22% 92% / .2); background: var(--night-paper);
  color: var(--night-ink); font-size: var(--fs-17); font-weight: 700;
  box-shadow: var(--shadow-float); cursor: pointer;
}
.back-to-top:hover { color: var(--night-ink); border-color: hsl(45 22% 92% / .4); }
.back-to-top[hidden] { display: none; }
body:is(.birthmap-marker-open, .birthmap-modal-open) .back-to-top { opacity: 0; pointer-events: none; }

.read-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 41;
  background: transparent;
}
.read-progress[hidden] { display: none; }
.read-progress-fill { height: 100%; width: 0%; background: var(--saju-gilt); }

/* ---------- 8. 사주 명식 ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
.pillar {
  text-align: center; padding: var(--sp-2) 4px var(--sp-3);
  background: var(--night-paper-2);
  border: 1px solid var(--night-hairline); border-radius: var(--r-m);
}
.pillar.day { background: color-mix(in srgb, var(--saju-gilt) 12%, transparent); border-color: var(--saju-gilt); }
.p-label { font-size: var(--fs-11); color: var(--night-ink-3); }
.pillar.day .p-label { color: var(--saju-gilt); font-weight: 700; }
.p-ss { font-size: var(--fs-11); color: var(--night-ink-3); line-height: 1.5; }
.hanja {
  font-family: var(--serif); font-weight: 700;
  font-size: 27px; line-height: 1.3; color: var(--night-ink);
}
.pillar.day .hanja.stem { color: var(--saju-gilt); }
.p-jj { font-family: var(--serif); font-size: var(--fs-11); color: var(--night-ink-3); margin-top: 2px; }

.kv-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.kv {
  font-size: var(--fs-12); color: var(--night-ink-3);
  border: 1px solid var(--night-hairline); border-radius: var(--r-s);
  background: var(--night-paper-2); padding: 3px 10px;
}
.kv b { color: var(--night-ink); font-weight: 700; }
.kv .h { font-family: var(--serif); }
.follow-tag {
  display: inline-block; font-size: var(--fs-11); padding: 1px 8px; border-radius: 999px;
  background: var(--night-paper-2); color: var(--night-ink-2); border: 1px solid var(--night-hairline); font-weight: 700;
}

/* 오행 분포 — 정보 인코딩이라 5색 예외. 폭은 실제 값 비율. v9: el-*-n(야간 승급) + 다크 라벨 텍스트 */
.oh-wrap { margin-top: var(--sp-4); }
.oh-title { font-size: var(--fs-12); font-weight: 700; color: var(--night-ink-3); margin-bottom: var(--sp-2); }
.ohaeng {
  display: flex; height: 26px;
  border: 1px solid var(--night-hairline); border-radius: var(--r-s);
  overflow: hidden; background: var(--night-paper-2);
}
.oh {
  display: flex; align-items: center; justify-content: center;
  color: var(--night-0); font-family: var(--serif); font-size: var(--fs-11); font-weight: 700;
  min-width: 0; flex-shrink: 1; white-space: nowrap; overflow: hidden;
}
.oh + .oh { border-left: 1px solid rgba(0,0,0,.25); }
.oh-목 { background: var(--el-wood-n); }
.oh-화 { background: var(--el-fire-n); }
.oh-토 { background: var(--el-earth-n); }
.oh-금 { background: var(--el-metal-n); }
.oh-수 { background: var(--el-water-n); }

.tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.tag {
  font-size: var(--fs-12); padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--saju-gilt); color: var(--saju-gilt); background: color-mix(in srgb, var(--saju-gilt) 12%, transparent);
}
.tag.warn { border-color: var(--night-hairline); color: var(--night-ink-2); background: var(--night-paper-2); }
.tag .n { font-variant-numeric: tabular-nums; opacity: .8; }

.rel-list { margin-top: var(--sp-4); display: grid; gap: var(--sp-2); }
.rel { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-13); color: var(--night-ink-3); }
.rel .h { font-family: var(--serif); color: var(--night-ink); }
.rel-type {
  flex: 0 0 auto; font-family: var(--serif); font-size: var(--fs-11); font-weight: 700;
  border-radius: var(--r-s); padding: 1px 8px;
}
.rel-type.hap   { border: 1px solid var(--night-ink); color: var(--night-ink); background: hsl(45 22% 92% / .06); }
.rel-type.chung { border: 1.5px dashed var(--night-ink-3); color: var(--night-ink); background: var(--night-paper-2); }
.rel-type.contested { border: 1px dashed var(--saju-gilt); color: var(--saju-gilt); background: color-mix(in srgb, var(--saju-gilt) 12%, transparent); }

/* ---------- 9. 서양 점성술 ---------- */
.planets { border-top: 1px solid var(--night-hairline); }
.planet {
  display: grid; grid-template-columns: 28px 1fr auto auto;
  align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) 0; border-bottom: 1px solid var(--night-hairline);
}
.pl-sym {
  font-family: var(--serif); font-size: var(--fs-19); line-height: 1;
  color: var(--astro-soft); text-align: center;
}
.pl-name { font-size: var(--fs-13); }
/* title 호버 설명이 붙은 이름엔 점선 밑줄로 "여기 더 있음"을 알린다(터치엔 호버가 없으므로 존재 힌트만) */
.pl-name[title] { text-decoration: underline dotted var(--night-hairline); text-underline-offset: 3px; cursor: help; }
.pl-pos {
  font-size: var(--fs-13); color: var(--night-ink-2);
  font-variant-numeric: tabular-nums; text-align: right;
}
.pl-house {
  font-size: var(--fs-11); font-weight: 700;
  border: 1px solid var(--astro-soft); color: var(--astro-soft);
  background: color-mix(in srgb, var(--astro-soft) 12%, transparent); border-radius: var(--r-s); padding: 1px 8px;
}
.pl-rx { font-size: var(--fs-11); color: var(--night-ink-3); font-style: italic; border: 1px dashed var(--night-hairline); border-radius: var(--r-s); padding: 0 5px; }
.angles { display: flex; gap: var(--sp-2); margin-top: var(--sp-3); flex-wrap: wrap; }
.angle {
  font-size: var(--fs-12); color: var(--night-ink-3);
  border: 1px solid var(--night-hairline); border-radius: var(--r-s);
  background: var(--night-paper-2); padding: 4px 10px;
}
.angle b { color: var(--astro-soft); }

/* ---------- 10. 시기운 大運·歲運 ---------- */
.luck-title {
  font-size: var(--fs-12); font-weight: 700; color: var(--night-ink-3);
  margin: var(--sp-1) 0 var(--sp-2); display: flex; align-items: center; gap: 6px;
}
.luck-title .h { font-family: var(--serif); color: var(--night-ink); font-size: var(--fs-13); }
/* 歲運 제목: 大運 스트립 뒤(또는 성별 미입력 시 첫 luck-title 뒤)에 오는 두 번째 타이틀만 위 여백을 더 준다 */
.luck-title + .luck-title, .luck-strip + .luck-title { margin-top: var(--sp-4); }
.luck-note { font-size: var(--fs-12); color: var(--night-ink-3); margin-top: var(--sp-2); }
.luck-strip {
  display: flex; gap: var(--sp-2); overflow-x: auto;
  padding-bottom: var(--sp-2); margin-bottom: var(--sp-2);
  scrollbar-width: thin;
}
.luck {
  flex: 0 0 auto; min-width: 58px; text-align: center;
  border: 1px solid var(--night-hairline); border-radius: var(--r-m);
  background: var(--night-paper-2); padding: var(--sp-2) 4px 9px;
}
.luck .age { font-size: var(--fs-11); color: var(--night-ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.luck .gz {
  font-family: var(--serif); font-size: 18px; font-weight: 700;
  line-height: 1.25; margin: 3px 0; color: var(--night-ink);
}
.luck .ss { font-size: var(--fs-11); color: var(--night-ink-3); }
.luck.now {
  border-color: var(--night-ink); background: hsl(45 22% 92% / .06);
  box-shadow: inset 0 0 0 1px var(--night-ink);
}
.luck.now .age { color: var(--night-ink); font-weight: 700; }
.luck.now .gz { color: var(--night-ink); }

/* ---------- 11. 판정 근거 카드 ---------- */
.ev-card {
  border: 1px solid var(--night-hairline); border-radius: var(--r-l);
  background: var(--night-paper-2); padding: var(--sp-4); margin-bottom: var(--sp-3);
}
.ev-card:last-child { margin-bottom: 0; }
.ev-head { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-2); }
.ev-theme { font-family: var(--serif); font-size: var(--fs-17); font-weight: 700; line-height: 1.3; }
.ev-grid { display: grid; gap: var(--sp-3); }
.ev-side { border-top: 2px solid; padding-top: var(--sp-2); }
.ev-side.astro { border-color: var(--astro-soft); }
.ev-side.saju  { border-color: var(--saju-gilt); }
.ev-side h5 { margin: 0 0 4px; font-size: var(--fs-11); font-weight: 700; }
.ev-side.astro h5 { color: var(--astro-soft); }
.ev-side.saju  h5 { color: var(--saju-gilt); }
.ev-side p { margin: 0; font-size: var(--fs-13); color: var(--night-ink-2); line-height: 1.65; }
.ev-side .h { font-family: var(--serif); color: var(--night-ink); }

/* ---------- 12. 리포트 (유료 CTA는 먹 솔리드 유지 — 밤에서도 가장 무거운 오브젝트) ---------- */
.report-trigger {
  width: 100%; min-height: 48px; padding: var(--sp-4);
  background: var(--ink-800); color: var(--paper-1);
  border: 1px solid var(--night-hairline); border-radius: var(--r-l);
  font-family: var(--serif); font-size: var(--fs-17); font-weight: 700;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.report-trigger::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--astro-soft) 0 50%, var(--saju-gilt) 50% 100%);
}
.report-trigger:hover { background: var(--ink-600); }
.report-trigger .rt-sub { display: block; font-family: var(--sans); font-size: var(--fs-12); font-weight: 500; opacity: .8; margin-top: 3px; }
.report-trigger:disabled { opacity: .7; cursor: wait; }

article.report {
  background: var(--night-paper); border: 1px solid var(--night-hairline);
  border-radius: var(--r-l); box-shadow: var(--shadow);
  padding: var(--sp-6) var(--sp-5); margin: var(--sp-4) 0;
}
.report-head { text-align: center; padding-bottom: var(--sp-5); }
.report-head .dual-rule { max-width: 120px; margin: var(--sp-4) auto 0; }
.report-kicker { font-size: var(--fs-11); letter-spacing: .1em; color: var(--night-ink-3); font-weight: 600; }
.report-title { font-family: var(--serif); font-size: var(--fs-22); font-weight: 700; margin-top: 6px; line-height: 1.3; color: var(--night-ink); }
.report-meta { font-size: var(--fs-12); color: var(--night-ink-3); margin-top: var(--sp-2); }

.exec {
  padding: var(--sp-4); border-radius: var(--r-m);
  background: var(--night-paper-2); border: 1px solid var(--night-hairline-soft); margin-bottom: var(--sp-6);
}
.exec-oneline { font-size: var(--fs-17); line-height: 1.45; color: var(--night-ink); font-weight: 700; margin-bottom: var(--sp-4); font-family: var(--serif); }
.exec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.exec-cell { padding: var(--sp-4); border-radius: var(--r-s); background: var(--night-paper); border: 1px solid var(--night-hairline-soft); }
.exec-cell.agree { border-left: 3px solid var(--night-ink); }
.exec-cell.caution { border-left: 3px dashed var(--night-ink-3); }
.ec-lbl { font-size: var(--fs-11); color: var(--night-ink-3); font-weight: 700; margin-bottom: 6px; }
.ec-val { font-size: var(--fs-13); line-height: 1.6; color: var(--night-ink-2); }
.exec-themes ul { list-style: none; margin-top: 6px; padding: 0; }
.exec-themes li { font-size: var(--fs-13); color: var(--night-ink-2); line-height: 1.65; padding: 4px 0 4px 16px; position: relative; }
.exec-themes li::before { content: "◆"; position: absolute; left: 0; color: var(--night-ink); font-size: 9px; top: 9px; }

.rsec-num { display: flex; align-items: baseline; gap: 10px;
  font-family: var(--serif); font-size: var(--fs-17); font-weight: 700;
  margin: var(--sp-6) 0 var(--sp-2); padding-top: var(--sp-5); border-top: 1px solid var(--night-hairline); color: var(--night-ink); }
.rsec-num:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.rnum { font-family: var(--sans); font-size: var(--fs-11); font-weight: 700; color: var(--night-ink-3); }
.rsec-body p { font-size: var(--fs-13); line-height: 1.7; color: var(--night-ink-2); margin-bottom: var(--sp-3); }
.rsec-body p:last-child { margin-bottom: 0; }
.rsec-body strong { color: var(--night-ink); font-weight: 700; }
.rsec-body .low-note { color: var(--night-ink-3); }

.ev-chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--fs-11); font-weight: 600; line-height: 1.5;
  border-radius: 999px; padding: 1px 9px;
  white-space: normal; word-break: keep-all;
}
.ev-chip.a { border: 1px solid var(--astro-soft); color: var(--astro-soft); background: color-mix(in srgb, var(--astro-soft) 12%, transparent); }
.ev-chip.s { border: 1px solid var(--saju-gilt); color: var(--saju-gilt); background: color-mix(in srgb, var(--saju-gilt) 12%, transparent); }
.ev-chip .sym { font-family: var(--serif); }
/* .diff 문단 안에서는 chip이 흐르는 문장 앞의 인라인 라벨이라 줄간격을 문단에 맞춰 더 좁힌다 */
.diff p .ev-chip { line-height: 1.35; }
.diff p { line-height: 1.7; margin: 0 0 6px; }

/* 근거 추적 요약(고객용, 압축) — 상세 claim 카드는 검수 모드로 */
.trace-summary {
  display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-3) 0;
}
.trace-summary span {
  padding: 5px 10px; border-radius: 999px;
  background: var(--night-paper-2); border: 1px solid var(--night-hairline);
  color: var(--night-ink-2); font-size: var(--fs-12); font-weight: 700;
}

.customer-ledger {
  margin: var(--sp-4) 0;
  border: 1px dashed var(--night-hairline);
  border-radius: var(--r-m);
  background: var(--night-paper);
}
.customer-ledger > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  cursor: pointer;
  list-style: none;
  color: var(--night-ink-2);
  font-size: var(--fs-13);
  font-weight: 700;
}
.customer-ledger > summary::-webkit-details-marker { display: none; }
.customer-ledger > summary::after {
  content: "▾"; margin-left: auto; color: var(--night-ink-3);
  transition: transform var(--dur-press) var(--ease-out-ui);
}
.customer-ledger[open] > summary::after { transform: rotate(180deg); }
.customer-ledger .mono-tag {
  font-family: var(--mono);
  font-size: var(--fs-11);
  color: var(--night-ink-3);
  border: 1px solid var(--night-hairline);
  border-radius: 4px;
  padding: 1px 6px;
}
.customer-ledger-body { padding: 0 var(--sp-4) var(--sp-4); }
.customer-ledger[open] .customer-ledger-body {
  animation: ledger-in var(--dur-reveal) var(--ease-out-ui) both;
}
@keyframes ledger-in {
  from { opacity: 0; transform: translateY(4px); }
}
.ledger-note { margin: 0 0 var(--sp-3); color: var(--night-ink-3); font-size: var(--fs-12); line-height: 1.6; }
.ledger-list { display: grid; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
.ledger-row { display: grid; gap: 2px; padding-top: var(--sp-2); border-top: 1px solid var(--night-hairline-soft); }
.ledger-meta { color: var(--night-ink-3); font-size: var(--fs-11); }
.ledger-value { color: var(--night-ink-2); font-size: var(--fs-12); line-height: 1.6; word-break: keep-all; }
.ledger-meaning { color: var(--night-ink-3); font-size: var(--fs-12); line-height: 1.55; word-break: keep-all; }

/* 공통 메시지 / 차이 카드 */
.cmsg, .diff { padding: 18px var(--sp-4); border-radius: var(--r-m); background: var(--night-paper); border: 1px solid var(--night-hairline-soft); margin-bottom: var(--sp-3); }
.cmsg { border-left: 3px solid var(--night-ink); }
.cmsg .ev-chip + .ev-chip { margin-top: var(--sp-1); }
.diff { border-left: 3px solid var(--saju-gilt); }
.cmsg-top { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-2); flex-wrap: wrap; }
.cmsg-theme, .diff-topic { font-weight: 700; font-size: var(--fs-15); color: var(--night-ink); font-family: var(--serif); line-height: 1.3; }
.diff-topic { margin-bottom: var(--sp-2); }
.diff-type { display: inline-block; margin-left: 8px; color: var(--night-ink-3); font-family: var(--sans); font-size: var(--fs-11); font-weight: 600; }
.cmsg-concl, .diff-int { font-size: var(--fs-13); line-height: 1.76; color: var(--night-ink-2); margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px dashed var(--night-hairline-soft); }
.diff-int .src { color: var(--night-ink); font-weight: 700; }
.diff-technical { margin-top: var(--sp-3); color: var(--night-ink-3); font-size: var(--fs-12); }
.diff-technical summary { cursor: pointer; }
.diff-technical ul { margin: var(--sp-2) 0 0; padding-left: 18px; line-height: 1.65; }

/* 두 전문가 대담 */
.expert-dialogue {
  display: grid;
  gap: var(--sp-3);
  margin: var(--sp-2) 0 var(--sp-4);
}
.dialogue-line {
  display: grid;
  grid-template-columns: minmax(92px, .36fr) minmax(0, 1fr) auto;
  gap: var(--sp-3);
  align-items: start;
  padding: 18px var(--sp-4);
  border: 1px solid var(--night-hairline-soft);
  border-radius: var(--r-m);
  background: var(--night-paper);
}
.dialogue-line.astrologer { border-left: 3px solid var(--astro-soft); }
.dialogue-line.saju { border-left: 3px solid var(--saju-gilt); }
.dialogue-line.synthesis { border-left: 3px solid var(--night-ink-3); }
.dialogue-role {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.dialogue-role span {
  font-size: var(--fs-11);
  font-weight: 800;
  color: var(--night-ink-3);
  letter-spacing: .04em;
}
.dialogue-role b {
  font-family: var(--serif);
  font-size: var(--fs-14);
  color: var(--night-ink);
  line-height: 1.35;
}
.dialogue-line p {
  margin: 0;
  font-size: var(--fs-13);
  line-height: 1.76;
  color: var(--night-ink-2);
}
.dialogue-line .badge { white-space: nowrap; }

/* 액션 플랜 */
.domain-coaching {
  margin: 0 0 var(--sp-4);
  border-top: 1px solid var(--night-hairline);
  border-bottom: 1px solid var(--night-hairline-soft);
}
.domain-coaching-head {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-4) 0;
}
.domain-coaching-head > strong {
  color: var(--night-ink);
  font-family: var(--serif);
  font-size: var(--fs-16);
}
.domain-coaching-head > p {
  max-width: 62ch;
  margin: 0;
  color: var(--night-ink-3);
  font-size: var(--fs-12);
  line-height: 1.65;
}
.domain-coaching-list > article {
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--night-hairline-soft);
}
.domain-coaching-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
}
.domain-coaching-title > strong {
  color: var(--night-ink);
  font-size: var(--fs-14);
}
.domain-coaching-title > span {
  color: var(--night-ink-3);
  font-size: var(--fs-11);
  font-weight: 700;
  text-align: right;
}
.domain-coaching-focus {
  margin: 6px 0 0;
  color: var(--night-ink-3);
  font-size: var(--fs-11);
  font-weight: 700;
}
.domain-coaching-basis {
  margin: var(--sp-2) 0 0;
  color: var(--night-ink-2);
  font-size: var(--fs-12);
  line-height: 1.7;
}
.domain-coaching-basis b {
  margin-right: var(--sp-2);
  color: var(--night-ink-3);
  font-size: var(--fs-11);
}
.domain-coaching dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
  margin: var(--sp-3) 0 0;
}
.domain-coaching dl > div {
  min-width: 0;
  padding-top: var(--sp-2);
  border-top: 1px dashed var(--night-hairline-soft);
}
.domain-coaching dt {
  color: var(--night-ink-3);
  font-size: var(--fs-11);
  font-weight: 700;
}
.domain-coaching dd {
  margin: 6px 0 0;
  color: var(--night-ink-2);
  font-size: var(--fs-12);
  line-height: 1.7;
}
@media (max-width: 640px) {
  .domain-coaching-title { align-items: flex-start; flex-direction: column; gap: 5px; }
  .domain-coaching-title > span { text-align: left; }
  .domain-coaching dl { grid-template-columns: minmax(0, 1fr); }
}
.action-first {
  padding: var(--sp-4);
  border: 1px solid var(--night-ink-3);
  border-radius: var(--r-s);
  background: var(--night-paper);
}
.action-first span {
  display: block;
  margin-bottom: var(--sp-2);
  color: var(--night-ink-3);
  font-size: var(--fs-11);
  font-weight: 700;
}
.action-first p {
  margin: 0;
  color: var(--night-ink);
  font-size: var(--fs-14);
  line-height: 1.75;
}
.action-more { margin-top: var(--sp-3); }
.action-more > summary {
  cursor: pointer;
  color: var(--night-ink-2);
  font-size: var(--fs-12);
  font-weight: 700;
}
.action-plan { margin: var(--sp-2) 0 0; padding: 0; list-style: none; counter-reset: ap; }
.action-plan li {
  counter-increment: ap;
  display: flex; gap: var(--sp-3); align-items: baseline;
  padding: 10px 0; border-bottom: 1px dashed var(--night-hairline-soft);
  font-size: var(--fs-13); color: var(--night-ink-2); line-height: 1.72;
}
.action-plan li:last-child { border-bottom: 0; }
.action-plan li::before {
  content: counter(ap, decimal-leading-zero);
  font-family: var(--sans); font-size: var(--fs-12); font-weight: 700;
  color: var(--night-ink-2); flex: 0 0 auto;
}
.action-group-lbl { font-size: var(--fs-12); font-weight: 700; color: var(--night-ink-3); margin-top: var(--sp-4); }
.action-group-lbl:first-child { margin-top: 0; }

.report-glossary {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-2); margin: var(--sp-2) 0 var(--sp-4);
}
.gloss-item {
  display: grid; grid-template-columns: auto 1fr; gap: 3px var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-s);
  background: var(--night-paper-2); border: 1px solid var(--night-hairline);
}
.gloss-cat {
  grid-row: span 2;
  align-self: start;
  font-size: var(--fs-11); color: var(--night-ink-3); font-weight: 700;
  padding-top: 2px;
}
.gloss-item strong { font-size: var(--fs-12); color: var(--night-ink); }
.gloss-item span:last-child { font-size: var(--fs-12); line-height: 1.5; color: var(--night-ink-2); }

.final { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--night-hairline); }
.final p { font-size: var(--fs-13); line-height: 1.7; color: var(--night-ink-2); }
.final strong { color: var(--night-ink); }

.quality-gates { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-3) 0; }
.qgate {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: var(--fs-11); font-weight: 700;
  border: 1px solid var(--night-hairline); color: var(--night-ink-2); background: var(--night-paper);
}
.qgate.caution { border-style: dashed; color: var(--night-ink-2); }

/* 리포트 질문 */
.report-qa {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--night-hairline);
}
.rq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.rq-head h3 {
  font-family: var(--serif);
  font-size: var(--fs-17);
  font-weight: 700;
  color: var(--night-ink);
  line-height: 1.3;
}
.rq-count {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--night-hairline);
  background: var(--night-paper-2);
  color: var(--night-ink-2);
  font-size: var(--fs-12);
  font-weight: 800;
}
.rq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.rq-chip {
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid var(--night-hairline);
  border-radius: 999px;
  background: var(--night-paper-2);
  color: var(--night-ink-2);
  font-size: var(--fs-12);
  font-weight: 700;
}
.rq-chip:hover { border-color: var(--night-ink-3); color: var(--night-ink); }
.rq-chip { min-height: 44px; }
.rq-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.rq-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--night-hairline);
  border-radius: var(--r-s);
  background: var(--night-paper-2);
  color: var(--night-ink);
  padding: 0 var(--sp-3);
  font-size: var(--fs-14);
}
.rq-form button {
  min-height: 44px;
  padding: 0 var(--sp-4);
  border: 1px solid var(--night-hairline);
  border-radius: var(--r-s);
  background: var(--ink-800);
  color: var(--paper-1);
  font-weight: 800;
}
.rq-form button:disabled { opacity: .65; cursor: wait; }
.rq-log {
  display: grid;
  gap: var(--sp-3);
  max-height: 420px;
  overflow: auto;
}
.rq-turn {
  display: grid;
  gap: var(--sp-2);
}
.rq-user {
  justify-self: end;
  max-width: 86%;
  padding: 8px 11px;
  border-radius: var(--r-m) var(--r-m) 2px var(--r-m);
  background: var(--ink-800);
  color: var(--paper-1);
  font-size: var(--fs-13);
  line-height: 1.55;
}
.rq-answer {
  max-width: 92%;
  padding: var(--sp-3);
  border-radius: var(--r-m);
  border: 1px solid var(--night-hairline);
  background: var(--night-paper-2);
}
.rq-answer.refusal { border-style: dashed; }
.rq-answer.operational { border-left: 3px solid var(--night-ink-3); }
.rq-answer.interpretive { border-left: 3px solid var(--astro-soft); }
.rq-answer p {
  margin: 0;
  font-size: var(--fs-13);
  line-height: 1.7;
  color: var(--night-ink-2);
}
.rq-decision {
  display: grid;
  gap: 9px;
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--night-hairline);
}
.rq-decision > strong { color: var(--night-ink); font-family: var(--serif); font-size: var(--fs-14); }
.rq-decision > p,
.rq-decision li,
.rq-scenarios span { color: var(--night-ink-2); font-size: var(--fs-12); line-height: 1.65; }
.rq-linked { display: flex; flex-wrap: wrap; gap: 5px 10px; color: var(--astro-soft); font-size: var(--fs-11); font-weight: 800; }
.rq-linked span + span::before { content: '·'; margin-right: 10px; color: var(--night-hairline); }
.rq-scenarios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rq-scenarios > div { min-width: 0; padding-left: 9px; border-left: 2px solid var(--night-hairline); }
.rq-scenarios b,
.rq-scenarios span { display: block; }
.rq-scenarios b { margin-bottom: 3px; color: var(--night-ink-2); font-size: var(--fs-11); }
.rq-decision .rq-boundary,
.rq-decision .rq-followup { display: grid; gap: 3px; }
.rq-decision .rq-boundary b,
.rq-decision .rq-followup b { color: var(--night-ink-2); font-size: var(--fs-11); }
.rq-decision ul { display: grid; gap: 4px; margin: 0; padding-left: 18px; }
.rq-decision .rq-specialist { color: var(--night-ink-3); }
.rq-answer em {
  display: block;
  margin-top: var(--sp-2);
  color: var(--night-ink-3);
  font-size: var(--fs-11);
  font-style: normal;
  font-weight: 700;
}
.rq-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}
.rq-evidence span,
.rq-status {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--night-paper);
  border: 1px solid var(--night-hairline);
  color: var(--night-ink-3);
  font-size: var(--fs-11);
  font-weight: 700;
}
.rq-status {
  justify-self: start;
  border-style: dashed;
}

/* ---------- 13. 검수 모드 (내부 전용, ?debug일 때만 DOM에 존재) ---------- */
details.audit {
  border: 1px dashed var(--night-hairline); border-radius: var(--r-l);
  background: transparent; margin: var(--sp-4) 0;
}
details.audit > summary {
  list-style: none; cursor: pointer; min-height: 44px;
  display: flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-13); font-weight: 600; color: var(--night-ink-3);
}
details.audit > summary::-webkit-details-marker { display: none; }
details.audit > summary .mono-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .04em;
  border: 1px solid var(--night-hairline); border-radius: 4px;
  padding: 1px 6px; color: var(--night-ink-3);
}
details.audit > summary::after { content: "▾"; margin-left: auto; color: var(--night-ink-3); }
details.audit[open] > summary::after { transform: rotate(180deg); }
.audit-body { padding: 0 var(--sp-4) var(--sp-4); display: grid; gap: var(--sp-3); }
.audit-card {
  background: var(--night-paper-2); border: 1px solid var(--night-hairline);
  border-radius: var(--r-m); padding: var(--sp-3) var(--sp-4);
}
.audit-card h4 {
  font-family: var(--mono); font-size: var(--fs-11); font-weight: 700;
  letter-spacing: .05em; color: var(--night-ink-3); margin-bottom: var(--sp-2);
}
.audit-card table { width: 100%; border-collapse: collapse; font-size: var(--fs-12); }
.audit-card td { padding: 3px 0; color: var(--night-ink-3); vertical-align: top; }
.audit-card td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--night-ink-2); }
.audit-card .h { font-family: var(--serif); color: var(--night-ink); }
.audit-card ul { margin: 0; padding-left: 16px; }
pre.json {
  font-family: var(--mono); font-size: 11px; line-height: 1.55;
  background: var(--night-paper-2); border: 1px solid var(--night-hairline);
  border-radius: var(--r-m); padding: var(--sp-3); margin: 0;
  overflow: auto; color: var(--night-ink-3); max-height: 320px;
}

/* ---------- 14. 푸터 ---------- */
.site-foot {
  margin-top: var(--sp-8); padding: var(--sp-5) 0 0;
  border-top: 1px solid hsl(45 22% 92% / .14);
  font-size: var(--fs-12); color: var(--night-ink-3); text-align: center; line-height: 1.7;
}

/* ---------- 15. 반응형 ---------- */
@media (min-width: 720px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 var(--sp-6) 88px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .span2 { grid-column: span 2; }
  .xrow { grid-template-columns: 1fr 116px 1fr; }
  .hanja { font-size: 32px; }
  .pillars { gap: var(--sp-3); }
  article.report { padding: var(--sp-8) var(--sp-7); }
  .report-title { font-size: var(--fs-27); }
  .compat-form { grid-template-columns: 1fr 1fr; }
  .compat-place, .compat-submit { grid-column: span 2; }
  .compat-people, .compat-grid { grid-template-columns: 1fr 1fr; }
  .compat-scores { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .audit-body { grid-template-columns: 1fr 1fr; }
  .audit-body .span2 { grid-column: span 2; }
}

@media (max-width: 400px) {
  .hero { padding: var(--sp-4); }
  .xrow { grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr); gap: 4px; }
  .xmid { padding: 2px; }
  .xname { font-size: var(--fs-13); }
  .xrow.hot .xname { font-size: var(--fs-14); }
  .xmid .badge { font-size: 10px; padding: 2px 5px; }
  .xbar.astro { grid-template-columns: 28px minmax(0, 1fr); gap: 4px; }
  .xbar.saju { grid-template-columns: minmax(0, 1fr) 28px; gap: 4px; }
  .report-glossary { grid-template-columns: 1fr; }
  .gloss-item { grid-template-columns: 1fr; }
  .gloss-cat { grid-row: auto; padding-top: 0; }
  .dialogue-line { grid-template-columns: 1fr; }
  .dialogue-line .badge { justify-self: start; }
  .rq-head { align-items: flex-start; }
  .rq-form { grid-template-columns: 1fr; }
  .rq-form button { width: 100%; }
  .compat-head { display: grid; }
  .compat-scores { grid-template-columns: 1fr; }
}

/* ---------- 16. v3 "현대의 고서" 시각 레이어 ---------- */
body {
  word-break: keep-all;
  line-break: strict;
  background-color: var(--night-0);
  background-image:
    /* v9.5 L2: 마스트헤드 아래 등불 심지 — 기존 광원 위에 좁고 밝은 층 하나 추가 */
    radial-gradient(88% 480px at 50% -64px, color-mix(in srgb, var(--night-ink) 6%, var(--night-1)), transparent 72%),
    radial-gradient(120% 80% at 50% 0%, var(--night-1), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncA type='linear' slope='0.045' intercept='0'/></feComponentTransfer></filter><rect width='220' height='220' filter='url(%23p)'/></svg>");
}

.opening {
  text-align: center;
  padding: 88px 0 28px;
}
.opening .brand-mark {
  font-size: clamp(27px, 7.5vw, 42px);
  letter-spacing: .22em;
  line-height: 1.2;
}

.scene {
  padding: 68px 0 0;
}
.scene + .scene,
.seal-cta-wrap + #reportBox,
.scene-dark + .scene {
  margin-top: 0;
}
/* v9 M1: 판정 흐름 = 감지(紺紙) 카드 스택. v8.1의 종이 시트 규칙을 밤 카드로 교체(레이어 아님).
   scene-dark(흑석 천궁도)도 별도 취급 없이 같은 카드 규칙에 편입 — 내부 성도·행성 목록은
   이미 다크 네이티브라 무변경, 바깥 껍데기(배경·보더·여백)만 다른 장과 통일된다.
   v9.4 U1: 이 의도가 그동안 실현이 안 됐다 — 셀렉터가 .scene 클래스만 찾았는데
   scene-dark는 그 클래스가 없어 한 번도 매치된 적이 없었다(라이브 실측으로 확인:
   패딩 0·마진 0·배경 투명으로 맨바닥에 떠 있었음). 셀렉터에 병기해서 원래 의도대로 편입 */
#result > .scene,
#result > .scene-dark {
  background: var(--night-paper);
  border: 1px solid var(--night-hairline);
  border-radius: var(--r-m);
  padding: 40px clamp(18px, 4vw, 40px);
  margin: 26px 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: var(--fs-11);
  font-weight: 700;
  /* v9.6 E1: 트래킹 캡스 라벨 → 책의 폴리오(면주). 번호는 아래 .eyebrow-no가 명조로 별도 처리 */
  letter-spacing: .02em;
  color: var(--night-ink-3);
}
.eyebrow-no {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--night-hairline), transparent 90%);
}
.eyebrow .hj {
  font-family: var(--serif);
  color: var(--night-ink-3);
  letter-spacing: .3em;
}
.eyebrow-label { letter-spacing: 0; color: var(--night-ink-3); }
.scene-head { margin-bottom: var(--sp-4); }
.scene-head h2 {
  font-family: var(--serif);
  font-size: var(--fs-22);
  font-weight: 700;
  line-height: 1.35;
}
.scene-head p {
  margin-top: var(--sp-2);
  color: var(--night-ink-3);
  font-size: var(--fs-13);
}
.ink-rule {
  height: 1px;
  border: 0;
  margin: 0 0 var(--sp-5);
  background: linear-gradient(90deg, var(--night-ink-2), var(--night-hairline) 55%, transparent 96%);
}
.stamp {
  display: inline-block;
  line-height: 0;
  transform: rotate(-2deg);
}
.stamp text { font-family: var(--serif); }

/* 사주단자 입력 */
.entry {
  padding-top: 56px;
  overflow: visible;
}
.entry::before { display: none; }
.danja {
  background: var(--night-paper);
  border: 1px solid var(--night-hairline);
  border-top: 1px solid color-mix(in srgb, var(--saju-gilt) 55%, transparent);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-float);
  padding: 32px 30px 28px;
}
.danja-kicker {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--fs-11);
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--saju-gilt);
}
.danja-title {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}
.danja-lede {
  margin: var(--sp-4) 0 0;
  color: var(--night-ink-3);
  font-size: var(--fs-13);
  line-height: 1.82;
}
.danja-lede-origin { margin: var(--sp-2) 0 0; }
.danja-lede-origin summary {
  cursor: pointer; list-style: none;
  color: var(--night-ink-3); font-size: var(--fs-12);
}
.danja-lede-origin summary::marker { color: var(--night-hairline); }
.danja-lede-origin p {
  margin: var(--sp-2) 0 0;
  color: var(--night-ink-3); font-size: var(--fs-12); line-height: 1.7;
}
.danja .form-grid { margin-top: var(--sp-7); gap: var(--sp-5); }
.danja .field {
  padding-bottom: var(--sp-4);
  border-bottom: 1px dotted var(--night-hairline);
}
.danja .field label {
  color: var(--night-ink-3);
}
.danja details.adv,
.danja .coord-manual {
  border-style: dashed;
}

/* 濡쒖뺄 書庫 — 유료 결과물 분실 방지용 브라우저 보관함 */
.archive-scene { scroll-margin-top: 24px; }
.archive-scene[hidden] { display: none !important; }
.archive-lite-import {
  margin: var(--sp-4) 0 0;
  color: var(--night-ink-3);
  font-size: var(--fs-12);
  text-align: right;
}
.archive-lite-import[hidden] { display: none !important; }
.archive-lite-import button {
  min-height: 38px;
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid var(--night-hairline);
  border-radius: 0;
  background: transparent;
  color: var(--night-ink-3);
  font: inherit;
  font-weight: 800;
}
.archive-lite-import button:hover {
  color: var(--night-ink);
  border-color: var(--night-ink-3);
}
.archive-lite-status {
  display: block;
  margin-top: 4px;
  color: var(--night-ink-3);
  font-weight: 700;
  line-height: 1.55;
}
.archive-lite-status[hidden] { display: none !important; }
.archive-lite-status[data-tone="caution"] { color: var(--saju-gilt); }

/* 서고 진입 팝업 — 로컬 파일·계정 로그인 중 선택 */
.archive-entry-dialog {
  padding: 0;
  border: 1px solid var(--night-hairline);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-float);
  background: var(--night-paper);
  max-width: min(420px, 90vw);
  width: 100%;
}
.archive-entry-dialog::backdrop {
  background: hsl(217 29% 4% / .6);
}
.archive-entry-panel {
  position: relative;
  padding: 28px 24px 24px;
  display: grid;
  gap: var(--sp-2);
}
.archive-entry-panel h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--fs-19);
  color: var(--night-ink);
}
.archive-entry-lede {
  margin: 0 0 var(--sp-2);
  color: var(--night-ink-3);
  font-size: var(--fs-13);
  line-height: 1.6;
}
.archive-entry-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: 1px solid var(--night-hairline);
  border-radius: 50%;
  background: var(--night-paper-2);
  color: var(--night-ink-3);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-17);
}
.archive-entry-close:hover { color: var(--night-ink); border-color: var(--night-ink-3); }
.archive-entry-options {
  display: grid;
  gap: var(--sp-2);
}
.archive-entry-option {
  min-height: 56px;
  padding: 10px 14px;
  border: 1px solid var(--night-hairline);
  border-radius: var(--r-m);
  background: var(--night-paper);
  text-align: left;
  display: grid;
  gap: 2px;
  cursor: pointer;
}
.archive-entry-option:hover {
  border-color: var(--night-ink-3);
  background: var(--night-paper-2);
}
.archive-entry-option:focus-visible {
  outline: 2px solid var(--saju-gilt);
  outline-offset: 2px;
}
.aeo-title {
  font-weight: 800;
  color: var(--night-ink);
  font-size: var(--fs-13);
}
.aeo-desc {
  color: var(--night-ink-3);
  font-size: var(--fs-12);
}
.archive-panel {
  position: relative;
  background: var(--night-paper);
  border: 1px solid var(--night-hairline);
  border-radius: var(--r-m);
  box-shadow: var(--shadow);
  padding: 24px;
}
.archive-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--r-m);
  background: transparent;
  color: var(--night-ink-3);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color var(--dur-press) var(--ease-out-ui), background-color var(--dur-press) var(--ease-out-ui);
}
.archive-close:active { transform: translateY(1px) scale(.97); }
.archive-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-right: 40px;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--night-hairline-soft);
}
.archive-head-intro {
  flex: 1 1 min(100%, 300px);
  min-width: 0;
}
.archive-head h2 {
  font-family: var(--serif);
  font-size: var(--fs-22);
  line-height: 1.35;
}
.archive-head p {
  margin: 6px 0 0;
  color: var(--night-ink-3);
  font-size: var(--fs-13);
}
.archive-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: end;
  gap: 12px 24px;
  margin-top: 22px;
}
.archive-toolbar-main {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.archive-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.archive-account {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
}
.archive-account-state {
  flex: 0 1 auto;
  min-width: 0;
  color: var(--night-ink-3);
  font-size: var(--fs-12);
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
}
.archive-account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.archive-import {
  min-height: 38px;
  padding: 4px 12px;
  border: 1px solid var(--night-hairline);
  border-radius: var(--r-m);
  background: var(--night-paper-2);
  color: var(--night-ink-2);
  font-size: var(--fs-12);
  font-weight: 800;
}
.archive-import:hover {
  border-color: var(--night-ink-3);
  color: var(--night-ink);
  background: var(--night-paper);
}
.archive-import.subtle {
  border-style: dashed;
  color: var(--night-ink-3);
}
.archive-count {
  flex: 0 0 auto;
  padding: 4px 10px;
  border: 1px solid var(--night-hairline);
  border-radius: var(--r-m);
  background: var(--night-paper-2);
  color: var(--night-ink-3);
  font-size: var(--fs-12);
  font-weight: 800;
}
.archive-list {
  display: grid;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.archive-subhead {
  margin: var(--sp-4) 0 -6px;
  color: var(--night-ink-3);
  font-size: var(--fs-12);
  font-weight: 900;
  letter-spacing: .08em;
}
.archive-row {
  display: flex;
  align-items: center;
  border: 1px solid var(--night-hairline);
  border-radius: var(--r-m);
  background: var(--night-paper-2);
  overflow: hidden;
}
.archive-row.is-entering {
  animation: archive-row-in var(--dur-reveal) var(--ease-out-ui) var(--archive-delay, 0ms) both;
}
@keyframes archive-row-in {
  from { opacity: 0; transform: translateY(4px); }
}
.archive-row:hover,
.archive-row.is-active {
  border-color: var(--night-ink-3);
  /* v9.1 N1: night-paper(L1)로 바꾸면 .archive-panel(L1)과 같아져 평면화 — L2를 살짝만 밝힌다 */
  background: color-mix(in srgb, var(--night-paper-2) 90%, white 10%);
}
.archive-item {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  min-height: 58px;
  padding: 13px 14px;
  border: 0;
  background: transparent;
  color: var(--night-ink-2);
  text-align: left;
}
.archive-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.archive-main b {
  color: var(--night-ink);
  font-family: var(--serif);
  font-size: var(--fs-15);
  line-height: 1.4;
  word-break: keep-all;
}
.archive-main span {
  color: var(--night-ink-3);
  font-size: var(--fs-12);
  line-height: 1.5;
}
.archive-main .archive-engine-version {
  color: var(--night-ink-3);
  font-style: normal;
  white-space: nowrap;
}
.archive-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}
.archive-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 2px 9px;
  border: 1px solid var(--night-hairline);
  border-radius: var(--r-m);
  background: var(--night-paper);
  color: var(--night-ink-3);
  font-size: var(--fs-11);
  font-weight: 800;
  line-height: 1.45;
  word-break: keep-all;
}
.archive-source.live { border-style: solid; color: var(--night-ink-2); }
.archive-source.derived { border-style: dashed; color: var(--night-ink-3); }
.archive-account-tag {
  border-style: dashed;
  background: transparent;
  color: var(--night-ink-2);
}
.archive-claim,
.archive-delete,
.archive-export {
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  min-height: 58px;
  border: 0;
  border-left: 1px solid var(--night-hairline);
  background: transparent;
  color: var(--night-ink-3);
  font-size: 20px;
  font-weight: 700;
}
.archive-claim {
  width: auto;
  min-width: 78px;
  padding: 0 10px;
  color: var(--night-ink-3);
  font-size: var(--fs-11);
  font-weight: 900;
  word-break: keep-all;
}
.archive-export {
  font-size: 18px;
}
.archive-claim:hover,
.archive-delete:hover,
.archive-export:hover {
  color: var(--night-ink);
  background: var(--night-paper);
}
.archive-empty {
  margin: var(--sp-4) 0 0;
  padding: 14px 16px;
  border: 1px dashed var(--night-hairline);
  border-radius: var(--r-m);
  background: var(--night-paper-2);
  color: var(--night-ink-3);
  font-size: var(--fs-13);
  line-height: 1.65;
}
.archive-note,
.archive-status {
  margin: var(--sp-3) 0 0;
  color: var(--night-ink-3);
  font-size: var(--fs-12);
  line-height: 1.6;
}
.archive-status[data-tone="caution"] { color: var(--saju-gilt); }
.archive-restored {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-3);
  padding: 10px 12px;
  border: 1px dashed var(--night-hairline);
  border-radius: var(--r-m);
  background: var(--night-paper-2);
  color: var(--night-ink-3);
  font-size: var(--fs-12);
}
.archive-restored b {
  color: var(--night-ink);
  font-weight: 800;
}
.sample-v12-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 10px;
  margin: 0 0 var(--sp-4);
  padding: 11px 14px;
  border: 1px solid var(--night-hairline);
  border-left: 3px solid var(--saju-gilt);
  background: var(--night-paper);
  color: var(--night-ink-2);
  font-size: var(--fs-13);
}
.sample-v12-notice > span { color: var(--night-ink); font-weight: 800; }
.sample-v12-notice p { margin: 0; }
.archive-saved-note {
  margin: 10px 0 0;
  color: var(--night-ink-3);
  font-size: var(--fs-12);
  line-height: 1.65;
  text-align: right;
}
.archive-saved-note button {
  min-height: 38px;
  margin-left: 6px;
  padding: 3px 9px;
  border: 1px solid var(--night-hairline);
  border-radius: var(--r-m);
  background: var(--night-paper-2);
  color: var(--night-ink-2);
  font-size: var(--fs-12);
  font-weight: 800;
}
.archive-saved-note button:hover {
  border-color: var(--night-ink-3);
  color: var(--night-ink);
}

/* 결론 무대 */
.hero-scene .eyebrow { margin-bottom: var(--sp-5); }
.opening-strokes {
  position: relative;
  width: min(420px, 86%);
  height: 14px;
  margin: 0 auto 20px;
  overflow: hidden;
}
.opening-stroke {
  position: absolute;
  top: 5px;
  width: 50%;
  height: 5px;
  opacity: 0;
  border-radius: 999px;
  will-change: transform, opacity;
}
.opening-stroke.astro {
  right: 50%;
  transform-origin: right center;
  transform: scaleX(0);
  background: linear-gradient(90deg, transparent, var(--astro-soft) 42%, var(--astro-soft));
}
.opening-stroke.saju {
  left: 50%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--saju-gilt), var(--saju-gilt) 58%, transparent);
}
.hero-scene.is-opening {
  animation: none;
}
.hero-scene.is-opening .opening-stroke {
  animation: opening-stroke-in var(--dur-opening) var(--ease-out-ui) both;
}
.hero-scene.is-opening .stage {
  animation: opening-stage-in var(--dur-reveal) var(--ease-out-ui) var(--dur-opening) both;
}
.hero-scene.is-opening .seal-motion.is-playing.seal-a {
  animation-delay: var(--delay-stage-ready);
}
.hero-scene.is-opening .seal-motion.is-playing.seal-a::after {
  animation-delay: var(--delay-stage-ready);
}
@keyframes opening-stroke-in {
  0% { opacity: 0; transform: scaleX(0); }
  15% { opacity: 1; }
  100% { opacity: 1; transform: scaleX(1); }
}
@keyframes opening-stage-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.stage {
  text-align: center;
  padding: 10px 0 14px;
}
.stage-cap {
  margin: 0;
  font-size: var(--fs-12);
  font-weight: 800;
  color: var(--night-ink-3);
  letter-spacing: .08em;
}
.stage .theme {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 31px;
  line-height: 1.3;
  color: var(--night-ink);
}
.stage-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 26px;
}
.stage-num {
  min-width: 74px;
  text-align: center;
}
.stage-num b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stage-num.a b { color: var(--astro-soft); }
.stage-num.s b { color: var(--saju-gilt); }
.stage-num span {
  display: block;
  margin-top: 6px;
  color: var(--night-ink-3);
  font-size: var(--fs-11);
  font-weight: 800;
  letter-spacing: .04em;
}
.stage-num.muted b {
  color: var(--night-ink-3);
  font-size: 26px;
}
/* lean 무대의 보조 축: muted(회색=죽임)와 달리 체계색을 살리고 크기만 한 단계 내린다 */
.stage-num.support b {
  font-size: 27px;
}
/* quiet 무대: 최상위 테마도 낮은 신뢰도라 무대급 크기를 주지 않는다 */
.stage.quiet .theme {
  color: var(--night-ink-2);
  font-size: 22px;
}
.stage-row .stamp {
  transform: rotate(-2deg) translateY(-12px);
  filter: drop-shadow(0 2px 5px color-mix(in srgb, var(--saju-gilt) 40%, transparent));
}
.seal-motion {
  --seal-rest: rotate(-2deg);
  position: relative;
  transform: var(--seal-rest);
  transform-origin: 50% 58%;
  will-change: transform, opacity;
}
.stage-row .seal-motion {
  --seal-rest: rotate(-2deg) translateY(-12px);
  transform: var(--seal-rest);
}
.seal-motion::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, var(--saju-gilt) 32%, transparent);
  background: color-mix(in srgb, var(--saju-gilt) 14%, transparent);
  opacity: 0;
  transform: scale(.68);
  pointer-events: none;
}
.seal-motion.is-playing.seal-a {
  animation: seal-heavy var(--dur-opening) var(--ease-seal) both;
}
.seal-motion.is-playing.seal-a::after {
  animation: seal-bloom var(--dur-opening) var(--ease-seal) both;
}
@keyframes seal-heavy {
  0% { opacity: 0; transform: translateY(-26px) scale(1.08) rotate(-7deg); }
  56% { opacity: 1; transform: translateY(4px) scale(.92) rotate(-2deg); }
  72% { opacity: 1; transform: translateY(-2px) scale(1.025) rotate(-2deg); }
  100% { opacity: 1; transform: var(--seal-rest); }
}
@keyframes seal-bloom {
  0%, 48% { opacity: 0; transform: scale(.68); }
  58% { opacity: .34; transform: scale(.9); }
  100% { opacity: .08; transform: scale(1.18); }
}
.stage-badge {
  align-self: center;
  min-height: 34px;
  padding: 5px 13px;
  font-size: var(--fs-12);
}
.stage-note {
  margin-top: var(--sp-4);
  color: var(--night-ink-3);
  font-size: var(--fs-12);
}
.stage-note b { color: var(--night-ink-2); }
.hero-scene .axis-legend { margin-top: 34px; }
.hero-scene .xtable {
  border-top: 1px solid var(--night-hairline);
  margin-top: var(--sp-2);
}
.hero-scene.is-metrics-live .xbar .track i {
  animation: metric-bar-in var(--dur-draw) var(--ease-out-ui) var(--metric-delay, var(--delay-stage-ready)) both;
}
@keyframes metric-bar-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.xname { word-break: keep-all; overflow-wrap: normal; }

/* 목업에 없던 장면 확장 */
.evidence-scene .ev-card,
.premium-scene .kv-chips,
.compat-panel .compat-form {
  margin-top: var(--sp-4);
}
.evidence-scene .ev-card {
  /* v9.1 N1: 라이트 시절 그림자만으로 분리하던 패턴 — .evidence-scene(L1) 안이라 L2로,
     기본 .ev-card 배경(night-paper-2)이 이미 맞으므로 이 자리에서 재선언 안 함 */
  border-color: var(--night-hairline);
  box-shadow: var(--shadow-float);
}
.premium-scene .notice,
.evidence-scene .notice { margin-top: var(--sp-4); }

/* 명식 목간 */
.raw-scene {
  color: var(--night-ink-2);
}
.mokgan {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3);
}
.mk {
  position: relative;
  text-align: center;
  /* v9.1 N1: .raw-scene(L1)에 얹힌 카드 — 그림자만으론 밤에서 안 갈라져 L2로 */
  background: var(--night-paper-2);
  border: 1px solid var(--night-hairline);
  border-radius: var(--r-m);
  box-shadow: var(--shadow);
  padding: 19px 5px 16px;
  min-width: 0;
}
.mk::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 27%;
  right: 27%;
  height: 1px;
  background: var(--night-hairline);
}
.mk .vl {
  display: block;
  margin: 5px auto 10px;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: var(--fs-11);
  font-weight: 700;
  letter-spacing: .32em;
  color: var(--night-ink-3);
  height: 36px;
}
.mk .hj {
  display: block;
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--night-ink);
}
.mk .hj.br { color: var(--night-ink-2); }
.mk .rd {
  display: block;
  margin-top: var(--sp-2);
  color: var(--night-ink-3);
  font-size: 10px;
  letter-spacing: .08em;
}
.mk .mk-sub,
.mk .mk-hidden {
  display: block;
  margin-top: 3px;
  color: var(--night-ink-3);
  font-size: var(--fs-11);
  line-height: 1.4;
}
.mk .mk-hidden {
  font-family: var(--serif);
  color: var(--night-ink-3);
}
.mk.day {
  border-color: var(--saju-gilt);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--saju-gilt) 12%, transparent), var(--shadow);
}
.mk.day .vl,
.mk.day .hj { color: var(--saju-gilt); }
.mk-note {
  margin: var(--sp-3) 2px 0;
  color: var(--night-ink-3);
  font-size: var(--fs-11);
  text-align: right;
}
.oh-title span {
  color: var(--night-ink-3);
  font-weight: 400;
}
.oh.oh-lack {
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0) 0 3px, rgba(0,0,0,.22) 3px 4px);
}
.oh-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: var(--sp-2) 2px 0;
  color: var(--night-ink-3);
  font-size: var(--fs-11);
}
.oh-legend .swatch {
  width: 20px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: var(--el-metal-n);
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0) 0 3px, rgba(0,0,0,.22) 3px 4px);
}

/* 성도 전용 다크 장면 — v9: 껍데기(배경·보더·여백)는 #result > .scene 공통 규칙으로 이관,
   여기는 내부 성도·행성 목록 스타일만(이미 다크 네이티브라 무변경) */
.scene-dark {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.scene-dark > * { position: relative; }
.scene-dark .eyebrow {
  justify-content: center;
  margin-bottom: 6px;
  color: hsl(45 22% 92% / .5);
}
.scene-dark .eyebrow::after { display: none; }
.scene-dark .eyebrow .hj { color: hsl(45 22% 92% / .6); }
.scene-dark h2 {
  font-family: var(--serif);
  font-size: var(--fs-22);
  font-weight: 700;
  /* v9.4 U2: paper-1(순백)은 scene-dark가 이제 night-paper 카드라 배경과 안 맞는
     별도 잉크였다 — ink-800 배경과 짝지어 쓰는 "먹 솔리드" 예외가 아니므로 통일 */
  color: var(--night-ink);
}
.dk-sub {
  margin: var(--sp-2) 0 var(--sp-1);
  color: hsl(45 22% 92% / .55);
  font-size: var(--fs-12);
}
.sungdo {
  width: min(340px, 84vw);
  height: auto;
  display: block;
  margin: 10px auto 0;
}
.sungdo text { font-family: var(--serif); }
.sg-ring { fill: none; stroke: hsl(45 22% 92% / .22); stroke-width: 1; }
.sg-ring.soft { stroke: hsl(45 22% 92% / .13); stroke-width: .7; }
.sg-line { stroke: hsl(45 22% 92% / .22); stroke-width: .7; }
.sg-line.soft { stroke: hsl(45 22% 92% / .13); }
.sg-sign { fill: hsl(217 24% 58%); font-size: 7.5px; }
.sg-house { fill: hsl(45 22% 92% / .38); font-size: 8.5px; }
.sg-axis.asc { stroke: hsl(45 22% 92% / .75); stroke-width: 1.4; }
.sg-axis.mc { stroke: hsl(45 22% 92% / .4); stroke-width: 1; }
.sg-axis-label { fill: hsl(45 22% 92% / .68); font-size: 8px; font-weight: 700; }
.sg-glow { fill: hsl(45 22% 92% / .1); }
.sg-glow.tier-1 { fill: hsl(45 22% 92% / .17); }
.sg-glow.tier-2 { fill: hsl(45 22% 92% / .12); }
.sg-glow.tier-3 { fill: hsl(45 22% 92% / .08); }
.sg-dot { fill: hsl(45 22% 92% / .95); }
.sg-planet.tier-1 { fill: hsl(40 30% 92%); }
.sg-planet.tier-2 { fill: hsl(217 38% 80%); }
.sg-planet.tier-3 { fill: hsl(217 22% 62%); }
.sg-planet tspan { fill: hsl(45 22% 92% / .38); }
.sg-center { fill: hsl(45 22% 92% / .38); }
.sungdo.is-drawing .sg-ring,
.sungdo.is-drawing .sg-line,
.sungdo.is-drawing .sg-axis,
.sungdo.is-drawing .sg-sign,
.sungdo.is-drawing .sg-house,
.sungdo.is-drawing .sg-axis-label,
.sungdo.is-drawing .sg-glow,
.sungdo.is-drawing .sg-dot,
.sungdo.is-drawing .sg-planet,
.sungdo.is-drawing .sg-center {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}
.sungdo.is-drawing .sg-ring {
  animation: sungdo-ring-in var(--dur-draw) var(--ease-out-ui) both;
}
.sungdo.is-drawing .sg-line {
  animation: sungdo-line-in var(--dur-draw) var(--ease-out-ui) var(--dur-press) both;
}
.sungdo.is-drawing .sg-axis {
  animation: sungdo-line-in var(--dur-draw) var(--ease-out-ui) var(--dur-reveal) both;
}
.sungdo.is-drawing .sg-sign,
.sungdo.is-drawing .sg-house,
.sungdo.is-drawing .sg-axis-label {
  animation: sungdo-label-in var(--dur-reveal) var(--ease-out-ui) var(--dur-draw) both;
}
.sungdo.is-drawing .sg-glow,
.sungdo.is-drawing .sg-dot,
.sungdo.is-drawing .sg-planet {
  animation: sungdo-planet-in var(--dur-reveal) var(--ease-out-ui) var(--draw-delay, var(--dur-opening)) both;
}
.sungdo.is-drawing .sg-center {
  animation: sungdo-label-in var(--dur-reveal) var(--ease-out-ui) var(--dur-opening) both;
}
@keyframes sungdo-ring-in {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes sungdo-line-in {
  from { opacity: 0; transform: scale(.86); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes sungdo-label-in {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes sungdo-planet-in {
  from { opacity: 0; transform: scale(.5); }
  68% { opacity: 1; transform: scale(1.14); }
  to { opacity: 1; transform: scale(1); }
}
.sungdo-cap {
  margin: 14px 0 0;
  color: hsl(45 22% 92% / .78);
  font-size: var(--fs-12);
  line-height: 1.7;
}
.sungdo-cap b { color: var(--night-ink); }
.sungdo-note {
  margin: var(--sp-2) 0 var(--sp-3);
  /* v9 M4: 실측 4.46:1(AA 미달, 4.5 문턱 바로 아래) — .45→.5로 보정 */
  color: hsl(45 22% 92% / .5);
  font-size: var(--fs-11);
}
.scene-dark .planets {
  margin-top: var(--sp-4);
  border-color: hsl(45 22% 92% / .12);
}
.scene-dark .planet { border-color: hsl(45 22% 92% / .12); }
.scene-dark .pl-name,
.scene-dark .pl-pos { color: hsl(45 22% 92% / .78); }
.scene-dark .pl-sym { color: hsl(217 38% 80%); }
.scene-dark .angle {
  background: hsl(45 22% 92% / .06);
  border-color: hsl(45 22% 92% / .14);
  color: hsl(45 22% 92% / .72);
}
.scene-dark .angle b { color: var(--night-ink); }

/* 시기운 */
.daeun-now {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-radius: var(--r-m);
  background: color-mix(in srgb, var(--saju-gilt) 12%, transparent);
  border: 1px solid var(--saju-gilt);
}
.daeun-now.muted {
  background: var(--night-paper-2);
  border-style: dashed;
}
.daeun-lbl {
  color: var(--saju-gilt);
  font-size: var(--fs-11);
  font-weight: 800;
  letter-spacing: .04em;
}
.daeun-lbl .hj {
  margin-left: 3px;
  font-family: var(--serif);
}
.daeun-gz {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--saju-gilt);
  line-height: 1;
}
.daeun-age {
  color: var(--night-ink-2);
  font-size: var(--fs-12);
}
.saeun-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}
.saeun {
  text-align: center;
  padding: 12px 3px 10px;
  border-radius: var(--r-m);
  background: var(--night-paper-2);
  border: 1px solid var(--night-hairline);
  min-width: 0;
}
.saeun.now {
  border-color: var(--saju-gilt);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--saju-gilt) 12%, transparent);
}
.saeun .sy {
  display: block;
  color: var(--night-ink-3);
  font-size: var(--fs-11);
}
.saeun.now .sy {
  color: var(--saju-gilt);
  font-weight: 800;
}
.saeun .sgz {
  display: block;
  margin: 4px 0 3px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--night-ink);
}
.saeun .sss {
  display: block;
  color: var(--night-ink-3);
  font-size: var(--fs-11);
  line-height: 1.25;
}

/* 봉인 CTA */
.seal-cta-wrap { padding-top: 48px; }
.product-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}
.product-option {
  min-height: 72px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  /* v9.1 N1: .seal-cta-wrap은 카드 없는 맨바닥 — L1로 */
  background: var(--night-paper);
  color: var(--night-ink-2);
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 3px;
}
.product-option.on {
  background: var(--ink-800);
  border-color: var(--ink-800);
  color: var(--paper-1);
  box-shadow: var(--shadow-float);
}
.product-option:focus-visible {
  outline: 2px solid var(--astro-soft);
  outline-offset: 3px;
}
.po-name {
  font-family: var(--serif);
  font-size: var(--fs-18);
  font-weight: 700;
}
.po-ko {
  margin-left: 4px;
  color: currentColor;
  font-family: var(--sans);
  font-size: var(--fs-11);
  font-weight: 800;
  opacity: .65;
  vertical-align: .08em;
}
.po-price {
  font-size: var(--fs-13);
  font-weight: 700;
}
.po-price i {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 6px;
  padding: 0 7px;
  border: 1px dashed currentColor;
  border-radius: var(--r-s);
  font-style: normal;
  font-size: var(--fs-11);
  font-weight: 700;
  opacity: .78;
}
.po-desc {
  font-size: var(--fs-12);
  color: inherit;
  opacity: .76;
  line-height: 1.45;
}
.product-note {
  margin: 0 0 12px;
  /* v8.1 M2: .seal-cta-wrap은 .scene이 아니라 맨바닥 — ink-400은 밤에서 침몰 */
  color: var(--night-ink-3);
  font-size: var(--fs-12);
  text-align: center;
}
.seal-cta {
  position: relative;
  display: block;
  width: 100%;
  min-height: 96px;
  text-align: left;
  /* v8.1 M2: 먹 솔리드 버튼은 무변경, 다만 밤 바닥에 놓이면 그림자만으로 경계가
     사라져(그림자가 네이비 계열이라 밤 위에서 안 보임) 헤어라인 보더로 최소 보강 */
  border: 1px solid hsl(45 22% 92% / .12);
  border-radius: var(--r-m);
  background: var(--ink-800);
  box-shadow: 0 2px 6px hsl(214 42% 14% / .06), 0 28px 64px -28px hsl(214 42% 14% / .28);
  padding: 22px 26px 24px;
  overflow: visible;
}
.seal-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--r-m) var(--r-m) 0 0;
  background: linear-gradient(90deg, var(--astro-soft) 0 50%, var(--saju-gilt) 50% 100%);
}
.seal-cta-kicker {
  display: block;
  color: hsl(45 22% 92% / .55);
  font-size: var(--fs-11);
  font-weight: 800;
  letter-spacing: .1em;
}
.seal-cta-title {
  display: block;
  margin-top: var(--sp-2);
  color: var(--paper-1);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
}
.report-trigger .seal-cta-sub,
.seal-cta-sub {
  display: block;
  margin-top: 5px;
  color: hsl(45 22% 92% / .62);
  font-family: var(--sans);
  font-size: var(--fs-12);
  font-weight: 500;
}
.seal-cta-stamp {
  position: absolute;
  top: -14px;
  right: 22px;
  filter: drop-shadow(0 3px 7px color-mix(in srgb, var(--saju-gilt) 45%, transparent));
}
.seal-cta-stamp .stamp { transform: rotate(6deg); }

/* Motion: small tactile cues only on real controls. */
.btn-primary,
.btn-secondary,
.share-btn,
.report-trigger,
.rq-chip,
.rq-form button,
.entry-collapsed button,
.seg button,
.chk-pill,
.place-option,
.seal-cta {
  transition:
    transform var(--dur-press) var(--ease-out-ui),
    background-color var(--dur-press) ease-out,
    border-color var(--dur-press) ease-out,
    box-shadow var(--dur-press) ease-out;
  transform-origin: center;
}
.seal-cta-stamp .stamp {
  transition: transform var(--dur-press) var(--ease-out-ui);
  transform-origin: center;
}
@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover:not(:disabled),
  .share-btn:hover:not(:disabled),
  .entry-collapsed button:hover:not(:disabled),
  .rq-chip:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px -16px hsl(214 42% 14% / .34);
  }
  .seal-cta:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px hsl(0 0% 0% / .2), 0 0 32px -8px hsl(45 22% 92% / .18);
  }
  .seal-cta:hover:not(:disabled) .seal-cta-stamp .stamp {
    transform: rotate(7deg) translateY(-1px);
  }
}
.seg button:hover:not(.on):not(:disabled),
.chk-pill:hover {
  border-color: var(--night-ink-3);
  background: hsl(45 22% 92% / .06);
}
.rq-form button:hover:not(:disabled) { background: var(--ink-600); }
.btn-primary:active:not(:disabled),
.seal-cta:active:not(:disabled) {
  transform: translateY(1px) scale(.992);
}
.btn-secondary:active:not(:disabled),
.share-btn:active:not(:disabled),
.report-trigger:active:not(:disabled),
.rq-form button:active:not(:disabled),
.entry-collapsed button:active:not(:disabled),
.place-option:active:not(:disabled) {
  transform: translateY(1px) scale(.98);
}
.rq-chip:active:not(:disabled),
.seg button:active:not(:disabled),
.chk-pill:active {
  transform: translateY(1px) scale(.97);
}
.seal-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px hsl(0 0% 0% / .2), 0 0 32px -8px hsl(45 22% 92% / .18);
}
.seal-cta:focus-visible .seal-cta-stamp .stamp {
  transform: rotate(7deg) translateY(-1px);
}
.seal-cta:active:not(:disabled) .seal-cta-stamp .stamp {
  transform: rotate(5deg) translateY(1px) scale(.98);
}

/* 인찰지 리포트 — v9: 감지금니(紺紙金泥) 사경. 종이 그라디언트를 밤 그라디언트로,
   세로 계선·표구 라인은 금(saju-gilt)으로 — "반전"이 아니라 "표구"로 읽히게 */
article.report.gosea {
  /* v8.1 M3: 시트 좌우 패딩의 단일 소스 — .v12-part-divider 탈부유 블리드가 이 값을 그대로 따라감 */
  --sheet-pad-l: 36px;
  --sheet-pad-r: 44px;
  position: relative;
  /* v9.3 P2-1: overflow:hidden이 스크롤 컨테이너를 만들어 .v12-reader-toolbar의
     position:sticky가 문서가 아니라 이 엘리먼트 안에서만 붙었다 — 장 중간에 사라지던 원인.
     overflow:clip은 같은 시각적 클리핑(둥근 모서리·탈부유 블리드)을 유지하되 스크롤
     컨테이너를 안 만든다. 구형 브라우저는 clip을 모르면 이 줄을 무시하고 hidden 유지 */
  overflow: hidden;
  overflow: clip;
  margin: 72px 0 0;
  padding: 0;
  border: 1px solid var(--night-hairline-soft);
  border-radius: var(--r-m);
  background: linear-gradient(180deg, var(--night-paper), hsl(219 26% 12%));
}
.mount {
  height: 7px;
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  position: relative;
}
.mount.m-top::after,
.mount.m-bot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--saju-gilt);
  opacity: .8;
}
.mount.m-top::after { bottom: -4px; }
.mount.m-bot::before { top: -4px; }
.gosea-body {
  position: relative;
  padding: 46px var(--sheet-pad-r) 40px var(--sheet-pad-l);
}
.gosea-body::before,
.gosea-body::after {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: hsl(42 52% 57% / .2);
}
.gosea-body::before { left: 16px; }
.gosea-body::after { right: 30px; }
.gosea-vnote {
  position: absolute;
  top: 42px;
  right: 11px;
  writing-mode: vertical-rl;
  letter-spacing: .44em;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 700;
  color: var(--night-ink-3);
}
.dual-mini {
  width: 120px;
  height: 2px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, var(--astro-soft) 0 50%, var(--saju-gilt) 50% 100%);
  opacity: .85;
}
.gosea .exec {
  background: transparent;
  border: 0;
  padding: 0;
}
.identity-handle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 7px 12px;
  max-width: 58ch;
  margin: 0 auto 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--night-hairline);
}
.dual-handle-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 58ch;
  margin: 20px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--night-hairline);
}
.dual-handle-pair .identity-handle {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}
.dual-handle-pair .identity-handle-kicker,
.dual-handle-pair .identity-handle strong,
.dual-handle-pair .identity-handle-symbolic,
.dual-handle-pair .identity-handle-basis { grid-column: 1; }
.dual-handle-pair .identity-handle strong { white-space: normal; }
.cross-narrative {
  max-width: 58ch;
  margin: 24px auto 0;
  padding: 20px 0;
  border-top: 1px solid var(--night-hairline);
  border-bottom: 1px solid var(--night-hairline);
  text-align: left;
}
.cross-narrative-head {
  display: grid;
  gap: 5px;
}
.cross-narrative-head > span {
  color: var(--astro-soft, var(--night-ink-3));
  font-size: 10px;
  font-weight: 700;
}
.cross-narrative-head > strong {
  color: var(--night-ink);
  font-family: var(--serif);
  font-size: var(--fs-17);
  line-height: 1.45;
}
.cross-narrative-main {
  margin: 12px 0 0;
  color: var(--night-ink-2);
  font-size: var(--fs-14);
  line-height: 1.78;
}
.cross-narrative-rule {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 12px;
  margin: 12px 0 0;
  color: var(--night-ink-2);
  font-size: var(--fs-13);
  line-height: 1.7;
}
.cross-narrative-rule b { color: var(--saju-gilt); }
.cross-narrative-sources {
  margin-top: 12px;
  color: var(--night-ink-3);
  font-size: var(--fs-11);
}
.cross-narrative-sources summary { cursor: pointer; }
.cross-narrative-sources dl { display: grid; gap: 8px; margin: 10px 0 0; }
.cross-narrative-sources dl > div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
}
.cross-narrative-sources dt { color: var(--night-ink-3); font-weight: 700; }
.cross-narrative-sources dd { margin: 0; color: var(--night-ink-2); line-height: 1.6; }
.identity-handle-kicker {
  color: var(--night-ink-3);
  font-size: var(--fs-11);
  font-weight: 700;
  letter-spacing: 0;
}
.identity-handle strong {
  color: var(--saju-gilt);
  font-family: var(--serif);
  font-size: var(--fs-17);
  white-space: nowrap;
}
.identity-handle-symbolic,
.identity-handle-basis {
  grid-column: 1 / -1;
  margin: 0;
}
.identity-handle-symbolic {
  color: var(--night-ink-2);
  font-family: var(--serif);
  font-size: var(--fs-15);
  line-height: 1.7;
}
.identity-handle-basis {
  color: var(--night-ink-2);
  font-size: var(--fs-12);
  line-height: 1.65;
}
.astrology-handle strong { color: var(--astro-soft, var(--night-ink-2)); }
.astrology-portrait {
  margin-top: var(--sp-3);
  padding: var(--sp-3);
  border-left: 2px solid var(--astro-soft, var(--night-hairline));
  background: var(--night-paper-2);
}
.astrology-portrait-head { display: flex; align-items: baseline; gap: 7px; color: var(--night-ink-2); }
.astrology-portrait-head span { color: var(--astro-soft, var(--night-ink-3)); }
.astrology-portrait-head strong { font-size: var(--fs-13); }
.astrology-portrait p { margin: 7px 0 0; color: var(--night-ink-2); font-size: var(--fs-12); line-height: 1.65; }
.astrology-portrait details { margin-top: var(--sp-2); color: var(--night-ink-3); font-size: var(--fs-11); }
.astrology-portrait summary { cursor: pointer; }
.astrology-deep-dive {
  margin-top: var(--sp-3);
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--night-hairline-soft);
  border-bottom: 1px solid var(--night-hairline-soft);
}
.astrology-deep-dive-head { display: grid; gap: 6px; }
.astrology-deep-dive-head strong { color: var(--night-ink); font-size: var(--fs-13); }
.astrology-deep-dive-head p { max-width: 62ch; margin: 0; color: var(--night-ink-3); font-size: var(--fs-11); line-height: 1.6; }
.astrology-deep-dive-list > article { padding: var(--sp-3) 0 0; }
.astrology-deep-dive-list > article + article { margin-top: var(--sp-3); border-top: 1px dashed var(--night-hairline-soft); }
.astrology-deep-dive-list span { color: var(--astro-soft, var(--night-ink-2)); font-size: var(--fs-11); font-weight: 700; }
.astrology-deep-dive-list p { margin: 6px 0 0; color: var(--night-ink-2); font-size: var(--fs-12); line-height: 1.65; }
.astrology-deep-dive-list > article > strong { display: block; margin-top: 6px; color: var(--night-ink-2); font-size: var(--fs-12); line-height: 1.65; }
.astrology-deep-dive-list details { margin-top: var(--sp-2); color: var(--night-ink-3); font-size: var(--fs-11); }
.astrology-deep-dive-list summary { cursor: pointer; }
.astrology-deep-dive-list p.astrology-deep-dive-caution { color: var(--night-ink-3); }
.dual-atlas {
  max-width: 58ch;
  margin: var(--sp-6) auto 0;
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--night-hairline);
  border-bottom: 1px solid var(--night-hairline);
}
.dual-atlas > summary { cursor: pointer; display: grid; gap: 2px; }
.dual-atlas > summary strong { color: var(--night-ink); font-size: var(--fs-13); }
.dual-atlas > summary span { color: var(--night-ink-3); font-size: var(--fs-11); }
.dual-atlas-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dual-atlas-switch { display: flex; gap: 8px; margin: var(--sp-3) 0; }
.dual-atlas-switch label {
  cursor: pointer;
  padding: 6px 14px;
  border: 1px solid var(--night-hairline);
  border-radius: 999px;
  color: var(--night-ink-3);
  font-size: var(--fs-12);
}
#atlas-tab-saju:checked ~ .dual-atlas-switch label[for="atlas-tab-saju"],
#atlas-tab-astro:checked ~ .dual-atlas-switch label[for="atlas-tab-astro"] {
  border-color: var(--night-ink);
  color: var(--night-ink);
  font-weight: 700;
}
.dual-atlas-panel-astro { display: none; }
#atlas-tab-astro:checked ~ .dual-atlas-panel-saju { display: none; }
#atlas-tab-astro:checked ~ .dual-atlas-panel-astro { display: block; }
.atlas-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); gap: 8px; }
.atlas-pillar {
  display: grid;
  gap: 3px;
  padding: var(--sp-2);
  border: 1px solid var(--night-hairline-soft);
  border-radius: 8px;
  text-align: center;
}
.atlas-pillar-pos { color: var(--night-ink-3); font-size: var(--fs-11); }
.atlas-pillar-gz { color: var(--night-ink); font-size: var(--fs-14); font-weight: 700; }
.atlas-pillar-sub { color: var(--night-ink-2); font-size: var(--fs-11); }
.atlas-pillar-hidden { color: var(--night-ink-3); font-size: var(--fs-11); }
.atlas-section-label { margin-top: var(--sp-4); color: var(--night-ink-2); font-size: var(--fs-11); font-weight: 700; }
.atlas-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.atlas-tag {
  padding: 3px 9px;
  border: 1px solid var(--night-hairline-soft);
  border-radius: 999px;
  color: var(--night-ink-2);
  font-size: var(--fs-11);
}
.atlas-tag i { color: var(--night-ink-3); font-style: normal; }
.atlas-tag-rel { color: var(--astro-soft, var(--night-ink-2)); }
.atlas-empty { margin: 6px 0 0; color: var(--night-ink-3); font-size: var(--fs-12); }
.atlas-balance-bar {
  display: flex;
  overflow: hidden;
  margin-top: 6px;
  border-radius: 999px;
  height: 20px;
}
.atlas-balance-bar span {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--surface, #fff);
  font-size: var(--fs-10, 10px);
  white-space: nowrap;
}
.atlas-balance-bar span:nth-child(4n+1) { background: var(--ink-600); }
.atlas-balance-bar span:nth-child(4n+2) { background: var(--ink-500); }
.atlas-balance-bar span:nth-child(4n+3) { background: var(--ink-400); }
.atlas-balance-bar span:nth-child(4n+4) { background: var(--ink-300); }
.atlas-glossary { margin-top: var(--sp-4); color: var(--night-ink-3); font-size: var(--fs-11); }
.atlas-glossary summary { cursor: pointer; }
.atlas-glossary-list { display: grid; gap: 4px; margin-top: 6px; }
.atlas-glossary-list b { color: var(--night-ink-2); margin-right: 6px; }
.gosea .exec-oneline {
  text-align: center;
  font-size: 17.5px;
  line-height: 1.72;
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}
.gosea-chapter {
  margin-top: 36px;
  scroll-margin-top: 24px;
}
.gosea-chapter + .gosea-chapter {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px dashed var(--night-hairline);
}
.ch-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
}
.ch-num {
  align-self: center;
  font-family: var(--serif);
  font-size: var(--fs-17);
  font-weight: 700;
  line-height: 1;
  color: var(--night-ink-3);
}
.ch-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.ch-title-block { min-width: 0; }
.ch-eyebrow {
  display: flex;
  align-items: baseline;
  gap: 8px 12px;
  min-width: 0;
  margin-bottom: 5px;
  flex-wrap: wrap;
}
.ch-category {
  color: var(--saju-gilt);
  font-size: var(--fs-11);
  font-weight: 700;
}
.ch-route {
  color: var(--night-ink-3);
  font-size: var(--fs-11);
  font-weight: 500;
  line-height: 1.45;
}
.ch-route::before {
  content: '星 × 命';
  margin-right: 6px;
  color: var(--astro-soft, var(--night-ink-3));
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 700;
}
.ch-head .badge { margin-left: 0; }
.ch-badges {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-wrap: wrap;
}
.agreement-note {
  max-width: 58ch;
  margin: calc(var(--sp-3) * -1) auto var(--sp-3);
  color: var(--night-ink-3);
  font-size: var(--fs-12);
  line-height: 1.65;
}
.gosea-excerpt {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--night-ink-read);
  font-size: var(--fs-13);
  line-height: 1.92;
}
.gosea-excerpt p {
  margin: 0 0 var(--sp-4);
  font-size: inherit;
  line-height: inherit;
}
.gosea-excerpt p:last-child { margin-bottom: 0; }
.gosea-excerpt strong { color: var(--night-ink); }
.gosea-reader-lead {
  position: relative;
  max-width: 58ch;
  margin: 0 auto var(--sp-4);
  padding-left: 14px;
  color: var(--night-ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.72;
}
.gosea-reader-lead::before {
  content: '';
  position: absolute;
  left: 0;
  top: .35em;
  bottom: .35em;
  width: 2px;
  background: var(--saju-gilt);
  opacity: .72;
}
.gosea-reader-lead p { margin: 0; }
.reader-first .gosea-excerpt {
  font-size: 14.5px;
  line-height: 1.88;
}
.chapter-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 58ch;
  margin: var(--sp-4) auto 0;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--night-hairline);
}
.chapter-scope .badge { margin-left: 0; }
.agreement-note.after-copy {
  margin: var(--sp-2) auto 0;
}
.gosea-excerpt .dropcap {
  display: inline-block;
  float: left;
  margin: 5px 9px 0 0;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  line-height: .95;
  color: var(--night-ink);
}
.ev-receipt {
  max-width: 58ch;
  margin: var(--sp-3) auto 0;
  padding-top: var(--sp-2);
  border-top: 1px dashed var(--night-hairline);
  color: var(--night-ink-3);
  font-size: var(--fs-12);
  line-height: 1.7;
}

.report-map {
  margin: var(--sp-5) 0 var(--sp-6);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--night-hairline);
  border-bottom: 1px solid var(--night-hairline);
}
.report-map-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: var(--sp-3);
  color: var(--night-ink-2);
}
.report-map-head span,
.report-map-head strong { font-family: var(--serif); }
.report-map-head small { margin-left: auto; color: var(--night-ink-3); }
.report-map ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.report-map-group > b {
  display: block;
  margin-bottom: 6px;
  color: var(--night-ink-3);
  font-size: var(--fs-11);
}
.report-map-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: var(--sp-3);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--night-hairline);
}
.report-map-links a b { color: var(--night-ink-2); font-size: var(--fs-13); }
.report-part-heading {
  margin: var(--sp-6) 0 var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--night-hairline);
}
.report-part-heading > span {
  display: block;
  margin-bottom: 4px;
  color: var(--night-ink-3);
  font-size: 10px;
  font-weight: 700;
}
.report-part-heading > strong {
  display: block;
  color: var(--night-ink);
  font-family: var(--serif);
  font-size: var(--fs-20);
}
.report-part-heading > p {
  margin: 6px 0 0;
  color: var(--night-ink-3);
  font-size: var(--fs-12);
  line-height: 1.65;
}
.integrated-portrait {
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--night-hairline);
}
.integrated-portrait > strong { color: var(--night-ink-2); font-family: var(--serif); }
.integrated-portrait dl { display: grid; gap: 7px; margin: var(--sp-2) 0 0; }
.integrated-portrait dl > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; }
.integrated-portrait dt { color: var(--night-ink-3); font-size: var(--fs-12); }
.integrated-portrait dd { margin: 0; color: var(--night-ink-2); font-size: var(--fs-13); line-height: 1.65; }
.report-flow-part,
.report-evidence-part {
  margin-top: var(--sp-7);
  padding-top: var(--sp-2);
}
.flow-narrative { max-width: 58ch; margin: 0 auto; }
.flow-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  max-width: 58ch;
  margin: var(--sp-4) auto;
  border-top: 1px solid var(--night-hairline);
}
.flow-guide > div { padding: var(--sp-3) 0; border-bottom: 1px solid var(--night-hairline); }
.flow-guide strong { color: var(--night-ink-2); font-size: var(--fs-12); }
.flow-guide p { margin: 5px 0 0; color: var(--night-ink-2); font-size: var(--fs-13); line-height: 1.7; }
.future-flow-part { max-width: 58ch; margin: var(--sp-5) auto 0; }
.future-flow-source-note { margin: 0 0 var(--sp-4); color: var(--night-ink-3); font-size: var(--fs-12); line-height: 1.65; }
.future-flow-row { margin-top: var(--sp-5); }
.future-flow-row:first-child { margin-top: 0; }
.future-flow-row h4 { margin: 0 0 4px; color: var(--night-ink); font-size: var(--fs-13); font-weight: 700; }
.future-flow-row .future-flow-grid { margin: 0; }
.future-flow-windows { margin-top: var(--sp-6); border-top: 1px dashed var(--night-hairline-soft); padding-top: var(--sp-4); }
.future-flow-windows > h4 { margin: 0 0 var(--sp-2); color: var(--night-ink-2); font-size: var(--fs-12); }
.future-flow-window { position: relative; }
.future-flow-year { display: inline-block; margin-bottom: 2px; color: var(--astro-soft, var(--night-ink-2)); font-size: var(--fs-11); font-weight: 700; }
.astrology-reading-part .astrology-portrait,
.astrology-reading-part .astrology-deep-dive { margin-left: 0; margin-right: 0; }
.narrative-spine {
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--night-hairline);
}
.narrative-spine-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: var(--sp-2);
  color: var(--night-ink-2);
}
.narrative-spine-head span,
.narrative-spine-head strong { font-family: var(--serif); }
.narrative-spine dl { margin: 0; display: grid; gap: 6px; }
.narrative-spine dl > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
.narrative-spine dt { color: var(--night-ink-3); font-size: var(--fs-12); }
.narrative-spine dd { margin: 0; color: var(--night-ink-2); font-size: var(--fs-13); }
.personal-fingerprint {
  margin-top: var(--sp-4); padding: var(--sp-4);
  border: 1px solid var(--night-hairline); border-left: 3px solid var(--saju-gilt);
  background: hsl(45 22% 92% / .06);
}
.personal-fingerprint-head {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: var(--sp-3);
  color: var(--night-ink);
}
.personal-fingerprint-head span,
.personal-fingerprint-head strong { font-family: var(--serif); }
.personal-fingerprint-head span { color: var(--saju-gilt); font-size: var(--fs-16); }
.personal-fingerprint dl { margin: 0; display: grid; gap: 7px; }
.personal-fingerprint dl > div { display: grid; grid-template-columns: 106px minmax(0, 1fr); gap: 10px; }
.personal-fingerprint dt { color: var(--night-ink-3); font-size: var(--fs-12); }
.personal-fingerprint dd { margin: 0; color: var(--night-ink-2); font-size: var(--fs-13); line-height: 1.65; }
@media (max-width: 480px) {
  .dual-handle-pair { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .dual-handle-pair .identity-handle + .identity-handle {
    padding-top: 16px;
    border-top: 1px dashed var(--night-hairline-soft);
  }
  .identity-handle {
    grid-template-columns: auto 1fr;
    gap: 5px 9px;
  }
  .identity-handle-symbolic,
  .identity-handle-basis {
    grid-column: 1 / -1;
  }
  .identity-handle-symbolic { font-size: var(--fs-14); }
  .cross-narrative-rule { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .cross-narrative-sources dl > div { grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
  .personal-fingerprint { padding: var(--sp-3); }
  .personal-fingerprint dl > div { grid-template-columns: 92px minmax(0, 1fr); gap: 8px; }
  .report-map-links,
  .flow-guide { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .integrated-portrait dl > div { grid-template-columns: 92px minmax(0, 1fr); gap: 8px; }
}
.closing-anchor {
  max-width: 58ch;
  margin: 48px auto 22px;
  padding-top: 24px;
  border-top: 1px solid var(--night-hairline);
}
.closing-anchor-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--saju-gilt);
  font-size: var(--fs-11);
  font-weight: 700;
}
.closing-anchor strong {
  display: block;
  color: var(--night-ink);
  font-family: var(--serif);
  font-size: var(--fs-17);
  font-weight: 700;
  line-height: 1.7;
}
.closing-anchor p {
  margin: 7px 0 0;
  color: var(--night-ink-3);
  font-size: var(--fs-12);
  line-height: 1.65;
}
.report-map a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 38px;
  padding: 8px 0;
  color: var(--night-ink-2);
  text-decoration: none;
  border-bottom: 1px dotted var(--night-hairline);
}
.report-map a span { color: var(--night-ink-3); font-family: var(--serif); font-size: var(--fs-11); }
@media (hover: hover) and (pointer: fine) {
  .report-map a:hover { color: var(--night-ink); border-bottom-color: var(--night-ink-3); }
}

.ev-receipt-v7 { padding-top: var(--sp-3); }
.evr-reader { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.evr-reader .evr-lbl { margin: 2px 0 0; letter-spacing: 0; white-space: nowrap; }
.evr-reader ul,
.evr-technical ul { margin: 0; padding: 0; list-style: none; }
.evr-reader li { color: var(--night-ink-3); }
.evr-reader li + li { margin-top: 3px; }
.evr-reader li.context { color: var(--night-ink-3); }
.evr-technical { margin-top: 8px; }
.evr-technical summary { width: fit-content; cursor: pointer; color: var(--night-ink-3); font-size: var(--fs-11); }
.evr-technical ul { margin-top: 8px; padding: 8px 0 0; border-top: 1px dotted var(--night-hairline); }
.evr-technical li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; }
.evr-technical li + li { margin-top: 4px; }
.evr-technical li span { color: var(--night-ink-3); }

.evr-note {
  display: block;
  margin-top: 3px;
  color: var(--night-ink-3);
  font-size: var(--fs-11);
}
.evr-lbl {
  display: inline-block;
  margin-right: 8px;
  color: var(--night-ink-3);
  font-family: var(--serif);
  font-size: var(--fs-11);
  letter-spacing: .18em;
}
.evr-items {
  display: inline;
}
.evr-item + .evr-item::before {
  content: ' · ';
  color: var(--night-hairline);
}
.evr-item.context { opacity: .72; }
.report-supplement { border-top: 1px dashed var(--night-hairline); }
.supplement-intro {
  margin: 0 0 var(--sp-3);
  color: var(--night-ink-3);
  font-size: var(--fs-13);
  line-height: 1.75;
}
.supplement-list { display: grid; gap: var(--sp-2); }
.supplement-item {
  padding: var(--sp-3);
  border-left: 2px solid var(--night-hairline);
  background: hsl(45 22% 92% / .05);
}
.supplement-item strong { font-family: var(--serif); color: var(--night-ink); }
.supplement-item p { margin: var(--sp-1) 0 0; color: var(--night-ink-3); line-height: 1.7; }
.supplement-item small { display: block; margin-top: 6px; color: var(--night-ink-3); line-height: 1.6; }
.supplement-item .supplement-basis,
.supplement-item .supplement-cross { padding-top: var(--sp-2); border-top: 1px dashed var(--night-hairline-soft); font-size: var(--fs-12); color: var(--night-ink-3); }
.supplement-item .supplement-basis b,
.supplement-item .supplement-cross b { display: block; margin-bottom: 2px; color: var(--night-ink-3); font-size: var(--fs-11); font-weight: 700; }
.supplement-item .supplement-variant { color: var(--night-ink-3); }
.supplement-status { margin-left: 8px; color: var(--night-ink-3); font-size: var(--fs-11); }
.monthly-rhythm {
  max-width: 58ch;
  margin: var(--sp-5) auto 0;
  padding: var(--sp-3) 0;
  border-top: 1px dashed var(--night-hairline);
  border-bottom: 1px dashed var(--night-hairline);
}
.monthly-rhythm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: var(--sp-3); }
.monthly-rhythm-head strong { font-family: var(--serif); color: var(--night-ink-2); }
.monthly-rhythm-head span { color: var(--night-ink-3); font-size: 9px; }
.monthly-rhythm-periods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.monthly-rhythm-periods > div { min-width: 0; padding: 10px; border-left: 2px solid var(--night-hairline); background: hsl(45 22% 92% / .05); }
.monthly-rhythm-periods b,
.monthly-rhythm-periods span { display: block; }
.monthly-rhythm-periods b { color: var(--night-ink-2); font-size: var(--fs-12); }
.monthly-rhythm-periods span { color: var(--night-ink-3); font-size: var(--fs-11); }
.monthly-rhythm-periods p,
.monthly-rhythm > p { margin: 5px 0 0; color: var(--night-ink-3); font-size: var(--fs-11); line-height: 1.6; }
.flow-profile {
  max-width: 58ch;
  margin: var(--sp-5) auto 0;
  padding: var(--sp-4);
  border: 1px solid var(--night-hairline);
  background: hsl(45 22% 92% / .05);
}
.flow-profile-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: var(--sp-3); }
.flow-profile-head strong { color: var(--night-ink-2); font-family: var(--serif); }
.flow-profile-head span { color: var(--saju-gilt); font-size: 10px; letter-spacing: .08em; }
.flow-profile dl { display: grid; gap: 8px; margin: 0; }
.flow-profile dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
.flow-profile dt { color: var(--night-ink-3); font-size: var(--fs-11); }
.flow-profile dd { margin: 0; color: var(--night-ink-2); font-size: var(--fs-13); line-height: 1.65; }
.flow-profile-periods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: var(--sp-3); }
.flow-profile-periods > div { min-width: 0; padding: 10px; border-top: 1px solid var(--night-hairline); }
.flow-profile-periods b, .flow-profile-periods span { display: block; }
.flow-profile-periods b { color: var(--night-ink-2); font-size: var(--fs-12); }
.flow-profile-periods span, .flow-profile-periods p, .flow-profile-note { color: var(--night-ink-3); font-size: var(--fs-11); line-height: 1.6; }
.flow-profile-periods p, .flow-profile-note { margin: 5px 0 0; }
.flow-transition { display: grid; gap: 7px; margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--night-hairline); }
.flow-transition > strong { color: var(--night-ink-2); font-size: var(--fs-13); }
.flow-transition > p { margin: 0; color: var(--night-ink-3); font-size: var(--fs-11); line-height: 1.65; }
.flow-transition ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.flow-transition li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
.flow-transition li b { color: var(--night-ink-2); font-size: var(--fs-11); }
.flow-transition li span { color: var(--night-ink-2); font-size: var(--fs-12); line-height: 1.6; }
.flow-transition .flow-boundary { color: var(--night-ink-2); font-weight: 700; }
.reader-term-cards { margin-top: var(--sp-4); padding: var(--sp-3); border-top: 1px solid var(--night-hairline); border-bottom: 1px solid var(--night-hairline); }
.reader-term-cards-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: var(--sp-2); color: var(--night-ink-2); }
.reader-term-cards-head span, .reader-term-cards-head strong { font-family: var(--serif); }
.reader-term-cards > div { display: grid; gap: 8px; }
.reader-term-cards article { display: grid; grid-template-columns: 68px minmax(88px, max-content) minmax(0, 1fr); align-items: baseline; gap: 8px; }
.reader-term-cards article > span { color: var(--night-ink-3); font-size: var(--fs-11); }
.reader-term-cards article > strong { color: var(--saju-gilt); font-size: var(--fs-13); }
.reader-term-copy p, .reader-term-details p, .reader-term-cards > p { margin: 0; color: var(--night-ink-2); font-size: var(--fs-12); line-height: 1.6; }
.reader-term-copy .reader-term-scene { margin-top: 3px; color: var(--night-ink-3); }
.reader-term-details { grid-column: 2 / -1; color: var(--night-ink-3); font-size: var(--fs-11); }
.reader-term-details summary { cursor: pointer; color: var(--night-ink-3); }
.reader-term-details p { margin-top: 5px; }
.reader-term-details .reader-term-caution { color: var(--night-ink-3); }
.reader-term-cards > p { margin-top: var(--sp-2); color: var(--night-ink-3); }
.nakgwan {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-3);
  margin-top: 28px;
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--night-hairline);
}
.nakgwan .cap {
  color: var(--night-ink-3);
  font-size: 10px;
  line-height: 1.55;
  text-align: right;
}
.gosea .quality-gates,
.gosea .trace-summary { margin-top: var(--sp-4); }
.gosea .report-qa {
  border-top: 1px dashed var(--night-hairline);
}

@media (min-width: 720px) {
  .stage .theme { font-size: 36px; }
  .mk .hj { font-size: 38px; }
  article.report.gosea { --sheet-pad-l: 46px; --sheet-pad-r: 56px; }
  .gosea-body { padding: 48px var(--sheet-pad-r) 40px var(--sheet-pad-l); }
}

@media (max-width: 400px) {
  .tagline { margin-top: 4px; }
  .v0-badge { margin-top: 8px; }
  .danja { padding: 16px 18px 20px; }
  .stage .theme { font-size: 26px; }
  .stage-row { gap: 18px; }
  .mokgan { gap: 8px; }
  .mk .hj { font-size: 26px; }
  .mk .vl { height: 34px; letter-spacing: .22em; }
  .saeun-strip { grid-template-columns: repeat(5, minmax(54px, 1fr)); overflow-x: auto; padding-bottom: var(--sp-2); }
  .gosea-body { padding: 34px var(--sheet-pad-r) 30px var(--sheet-pad-l); }
  .gosea-vnote { display: none; }
  .gosea-body::after { display: none; }
}

@media (max-width: 480px) {
  .gosea-vnote { display: none !important; }
  .gosea-body::after { display: none; }
  /* v8.1 M3: .v12-part-divider 탈부유 블리드가 같은 변수를 따라오게 — 패딩 선언 전부 변수 경유.
     v9.3 P1-2: .reader-edition(특이도 0,1,0)으로 재선언해선 article.report.gosea 자신의
     선언(0,2,1 · 2785)을 못 이긴다 — 같은 엘리먼트라 미디어 쿼리는 특이도에 안 보탬.
     동일 셀렉터로 재선언해야 특이도가 맞고, 후행이라 타이브레이크로 이긴다. */
  article.report.gosea { --sheet-pad-l: 12px; --sheet-pad-r: 12px; }
  .reader-edition .gosea-body::before { display: none; }
}

/* ---------- 16. 모션 (절제 — 신뢰감 우선, 결과 등장만 부드럽게) ---------- */
@keyframes scroll-reveal-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
/* 결과 컨테이너의 카드에만 1회 등장 모션. 폼·히어로 바(정보=그래픽)엔 걸지 않는다 */
.scroll-reveal {
  opacity: 0;
  transform: translateY(14px);
  will-change: transform, opacity;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: none;
  animation: scroll-reveal-in var(--dur-reveal) var(--ease-out-ui) both;
}
/* v9.3 P1-1: 인쇄에선 애니메이션이 돌지 않는다 — is-visible이 안 붙은(아직 안 읽은) 장도
   opacity:0로 찍히면 안 되므로, 트리거 여부와 무관하게 인쇄에서는 전부 완성 상태로 */
@media print {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .reader-edition-v13 .v13-trust-strip,
  .reader-edition-v13 .v13-calculation-map-section,
  .reader-edition-v13 .v13-reader-group,
  .reader-edition-v13 .v13-section-card,
  .reader-edition-v13 .v13-closing,
  .reader-edition-v13 .v13-evidence-room { break-inside: avoid; }
  .reader-edition-v13 .v13-evidence-room > summary { display: none; }
  .reader-edition-v13 .v13-evidence-room { margin-top: 28px; border-top: 2px solid #222; }
  .reader-edition-v13 .v13-calculation-card > summary { cursor: default; }
  .reader-edition-v13 .v13-claim-receipt-trigger,
  .reader-edition-v13 .v13-receipt-link,
  .reader-edition-v13 .v13-reader-toolbar { display: none; }
}

/* ---------- 17. v3 text alignment polish ---------- */
.notice {
  align-items: flex-start;
}
.notice .badge {
  flex: 0 0 auto;
}
.notice span:last-child {
  min-width: 0;
}
.stage .theme {
  text-wrap: balance;
}
.stage-note {
  max-width: 34em;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.hero-scene .axis-legend {
  margin-top: 30px;
}
.xrow {
  grid-template-columns: minmax(0, 1fr) minmax(124px, 136px) minmax(0, 1fr);
  column-gap: 10px;
}
.xmid {
  min-width: 0;
  justify-self: stretch;
}
.xname {
  max-width: 100%;
  text-wrap: balance;
}
.xmid .badge {
  max-width: 100%;
  justify-content: center;
  line-height: 1.35;
}
.xbar {
  gap: 8px;
}
.xbar.astro {
  grid-template-columns: 36px minmax(0, 1fr);
}
.xbar.saju {
  grid-template-columns: minmax(0, 1fr) 36px;
}
.xbar b {
  min-width: 0;
}
.ch-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}
.ch-title {
  min-width: 0;
}
.ch-head .badge {
  justify-self: end;
  margin-left: 0;
}
.ch-badges { justify-self: end; }

/* v9.1 N3-B: 판정문 3박자 — 데모 P1 이식. 라벨→제목→칩 순서로 선고, 본문은 즉시(연출 안 함).
   media 밖 기본값 opacity:1(완성 상태) — 모션 끔·JS 없음에서 지금과 동일.
   .gosea-chapter(부속 섹션 일부)와 .reader-life-section(본 15장, 실측으로 확인한 실제 헤더
   구조 — span 번호·h3 제목·small 배지 2개)를 각자의 마크업으로 병행 적용 */
@media (prefers-reduced-motion: no-preference) {
  .gosea-chapter .ch-num, .gosea-chapter .ch-title, .gosea-chapter .ch-badges {
    opacity: 0; transform: translateY(4px);
    transition: opacity .45s ease, transform .45s ease;
  }
  .gosea-chapter.is-visible .ch-num    { opacity: 1; transform: none; transition-delay: .10s; }
  .gosea-chapter.is-visible .ch-title  { opacity: 1; transform: none; transition-delay: .22s; }
  .gosea-chapter.is-visible .ch-badges { opacity: 1; transform: none; transition-delay: .38s; }

  .reader-life-section > header > span,
  .reader-life-section > header > h3,
  .reader-life-section > header > small {
    opacity: 0; transform: translateY(4px);
    transition: opacity .45s ease, transform .45s ease;
  }
  .reader-life-section.is-visible > header > span  { opacity: 1; transform: none; transition-delay: .10s; }
  .reader-life-section.is-visible > header > h3    { opacity: 1; transform: none; transition-delay: .22s; }
  .reader-life-section.is-visible > header > small { opacity: 1; transform: none; transition-delay: .38s; }
}

@media (max-width: 520px) {
  .ch-head {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .ch-badges {
    grid-column: 2;
    justify-self: start;
    justify-content: flex-start;
    margin-left: 0;
  }
  .gosea-reader-lead {
    padding-left: 12px;
    font-size: 16px;
    line-height: 1.68;
  }
  .reader-first .gosea-excerpt {
    font-size: 14px;
    line-height: 1.85;
  }
}

@media (min-width: 720px) {
  .xrow {
    grid-template-columns: minmax(0, 1fr) 148px minmax(0, 1fr);
    column-gap: 12px;
  }
  .xname {
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .report-map ol { grid-template-columns: minmax(0, 1fr); }
  .report-map-head { flex-wrap: wrap; }
  .report-map-head small { width: 100%; margin-left: 0; }
  .evr-reader { grid-template-columns: minmax(0, 1fr); }
  .evr-reader .evr-lbl { white-space: normal; }
  .evr-technical li { grid-template-columns: minmax(0, 1fr); }
  .opening {
    padding: 40px 0 8px;
  }
  .entry {
    padding-top: 24px;
  }
  .danja .form-grid {
    gap: calc(var(--sp-5) + 2px);
  }
  .danja .field-row {
    gap: var(--sp-2);
  }
  .danja .field-row > .grow {
    flex-basis: 100%;
  }
  .danja .field-row .chk-pill {
    margin-top: 2px;
  }
  .archive-lite-import {
    text-align: left;
  }
  .ch-head {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .ch-head .badge {
    grid-column: 2;
    justify-self: start;
  }
  .archive-panel {
    padding: 20px 16px;
  }
  .archive-item {
    grid-template-columns: 1fr;
  }
  .archive-count,
  .archive-meta {
    justify-self: start;
  }
  .archive-toolbar {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 18px;
  }
  .archive-toolbar-main,
  .archive-toolbar-actions {
    width: 100%;
  }
  .archive-toolbar-actions {
    justify-content: flex-start;
  }
  .archive-toolbar-actions .archive-import {
    flex: 1 1 0;
  }
  .archive-meta {
    justify-content: flex-start;
  }
}

@media (min-width: 721px) {
  .archive-item {
    grid-template-columns: minmax(0, 1fr) minmax(286px, max-content);
  }
  .archive-meta {
    min-width: 286px;
  }
}

@media (max-width: 720px) {
  .archive-toolbar {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 18px;
  }
  .archive-toolbar-main,
  .archive-toolbar-actions {
    width: 100%;
  }
  .archive-toolbar-actions {
    justify-content: flex-start;
  }
  .archive-toolbar-actions .archive-import {
    flex: 1 1 0;
  }
  .archive-row {
    flex-wrap: wrap;
  }
  .archive-item {
    flex-basis: 100%;
    grid-template-columns: minmax(0, 1fr);
  }
  .archive-meta {
    min-width: 0;
    justify-content: flex-start;
  }
  .archive-claim,
  .archive-delete,
  .archive-export {
    min-height: 44px;
    border-top: 1px solid var(--night-hairline);
    border-left: 0;
  }
}

@media (max-width: 400px) {
  .xrow {
    grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr);
    column-gap: 5px;
  }
  .xname {
    text-wrap: normal;
  }
  .xbar {
    gap: 5px;
  }
  .xbar.astro {
    grid-template-columns: 30px minmax(0, 1fr);
  }
  .xbar.saju {
    grid-template-columns: minmax(0, 1fr) 30px;
  }
}
@media (max-width: 480px) {
  .lens-grid { grid-template-columns: minmax(0, 1fr); }
  .lens-grid p { grid-column: auto; }
  .monthly-rhythm-periods { grid-template-columns: minmax(0, 1fr); }
  .flow-profile-periods { grid-template-columns: minmax(0, 1fr); }
  .rq-scenarios { grid-template-columns: minmax(0, 1fr); }
  .flow-transition li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .reader-term-cards article { grid-template-columns: 56px minmax(0, 1fr); }
  .reader-term-copy, .reader-term-details { grid-column: 2; }
}

/* First-visit onboarding stays isolated from the report design system. */
.onboarding-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  overflow: hidden;
  background: #04060b;
  overscroll-behavior: none;
}
.onboarding-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #04060b;
}
html[data-onboarding-pending="true"] .onboarding-gate {
  display: block;
}
html[data-onboarding-pending="true"] body {
  overflow: hidden;
  background: #04060b;
}
html[data-onboarding-pending="true"] .wrap,
html[data-onboarding-pending="true"] .back-to-top {
  visibility: hidden;
}

/* V11 reader edition: prose leads; audit material stays available but quiet. */
.reader-edition .gosea-body { max-width: 760px; }
.reader-edition .report-head { margin-bottom: 18px; }
.reader-portrait,
.reader-life-section,
.reader-flow,
.reader-manual { padding: 28px 0; border-top: 1px solid hsl(45 22% 92% / .14); }
.reader-portrait { border-top: 0; padding-top: 4px; }
/* v8 R1-3: 표구 마운팅 — 장(章) 경계만 금니 띠로. 흐르는 리더 안에서 장이 시작되는 지점을 표시 */
.reader-life-section { border-top: 3px solid var(--mount-line); }
.reader-portrait-lead { margin: 0; font: 500 clamp(23px, 5.7vw, 34px)/1.42 var(--serif, serif); color: var(--night-ink); }
.reader-portrait ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.reader-portrait li { color: var(--night-ink-2); line-height: 1.65; }
.reader-portrait li::before { content: '·'; margin-right: 8px; color: var(--saju-gilt, #d1ac52); }
.reader-edition-toc { margin: 4px 0 22px; border-top: 1px solid hsl(45 22% 92% / .14); border-bottom: 1px solid hsl(45 22% 92% / .14); }
.reader-edition-toc > summary {
  display: flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 13px 0; cursor: pointer; list-style: none;
  color: var(--night-ink-2); font-size: 13px; font-weight: 700;
}
.reader-edition-toc > summary::-webkit-details-marker { display: none; }
.reader-edition-toc > summary::before { content: '▸'; color: var(--night-ink-3); }
.reader-edition-toc[open] > summary::before { content: '▾'; }
.reader-edition-toc > summary b { color: var(--night-ink-3); font-weight: 700; }
.reader-edition-map { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 4px 0 18px; }
.reader-edition-map a {
  display: flex; align-items: baseline; gap: 9px;
  padding: 8px 4px; border-radius: 6px;
  color: var(--night-ink-2); font-size: 13px; line-height: 1.5; text-decoration: none;
}
/* v9.3 Part3-B: 지도 장부 — 닻 장 표식. 무신호(deferred) 장은 이미 .reader-map-note로
   구분돼 있어서(비클릭 span·night-ink-3 감광·설명 small — B-1 실사로 확인, 신규 불요)
   이번 라운드 실제로 빠졌던 건 닻 표식 하나뿐. 본문 비점과 동일 어휘(::after·gilt·6px) */
.reader-edition-map a[data-tier="anchor"] span::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: .5em;
  vertical-align: .15em;
  border-radius: 50%;
  background: var(--saju-gilt);
}
.reader-edition-map a:hover,
.reader-edition-map a:focus-visible { background: color-mix(in srgb, var(--night-paper-2, #1c2632) 70%, transparent); color: var(--night-ink); }
.reader-edition-map a b { flex: 0 0 auto; color: var(--night-ink-3); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.reader-edition-map a span { min-width: 0; }
.reader-edition-map small { display: block; margin-top: 2px; color: var(--night-ink-3); font-size: 11px; line-height: 1.45; }
.reader-map-part {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 9px;
  padding: 10px 4px 5px;
  border-top: 1px solid hsl(45 22% 92% / .14);
  color: var(--night-ink-2);
  font: 600 13px/1.45 var(--serif, serif);
}
.reader-map-part:first-child { margin-top: 0; border-top: 0; }
.reader-map-part b { color: var(--saju-gilt, #d1ac52); font: 800 9px/1.4 var(--sans, sans-serif); }
.reader-map-part small { margin: 0 0 0 auto; color: var(--night-ink-3); font: 700 9px/1.4 var(--sans, sans-serif); }
.reader-edition-map a.is-current { background: color-mix(in srgb, var(--saju-gilt, #d1ac52) 10%, var(--night-paper-2, #1c2632)); color: var(--night-ink); }
.reader-map-note {
  display: flex; align-items: baseline; gap: 9px; padding: 8px 4px;
  color: var(--night-ink-3); font-size: 13px; line-height: 1.5;
}
.reader-map-note b { flex: 0 0 auto; color: var(--night-ink-3); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.reader-map-note span { min-width: 0; }
.reader-map-merged,
.reader-map-supplement { color: var(--night-ink-2) !important; }
@media (min-width: 720px) {
  .reader-edition-map { grid-template-columns: 1fr 1fr; gap: 2px 20px; }
}
.v12-reader-toolbar {
  position: sticky;
  top: 3px;
  z-index: 18;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  margin: 0 -8px;
  padding: 7px 8px;
  border-block: 1px solid color-mix(in srgb, hsl(45 22% 92% / .14) 82%, transparent);
  background: color-mix(in srgb, var(--night-paper-2, #1c2632) 94%, transparent);
  backdrop-filter: blur(10px);
}
.v12-reader-toolbar > button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--saju-gilt, #d1ac52);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.v12-reader-toolbar > button:hover { color: var(--night-ink); }
.v12-reader-toolbar > p { display: flex; align-items: baseline; gap: 8px; min-width: 0; margin: 0; }
.v12-reader-toolbar > p > span { flex: 0 0 auto; color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 700; }
.v12-reader-toolbar > p > strong { min-width: 0; overflow: hidden; color: var(--night-ink); font: 600 13px/1.45 var(--serif, serif); text-overflow: ellipsis; white-space: nowrap; }
.v12-reader-toolbar > span { color: var(--night-ink-3); font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* V13 reader journey: one fast read, six-to-nine grouped chapters, one evidence room. */
.reader-edition-v13 .gosea-body { max-width: 780px; }
.reader-edition-v13 .v13-cover {
  display: grid;
  gap: 12px;
  padding: 18px 0 28px;
  text-align: left;
}
.reader-edition-v13 .v13-cover .report-title {
  max-width: 680px;
  margin-inline: 0;
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1.12;
}
.reader-edition-v13 .v13-cover .reader-portrait-lead {
  max-width: 680px;
  font-size: clamp(20px, 4vw, 28px);
  line-height: 1.55;
}
.v13-cover-lines { display: grid; gap: 7px; margin: 5px 0 0; padding: 0; list-style: none; }
.v13-cover-lines li { padding-left: 14px; color: var(--night-ink-2); font-size: 14px; line-height: 1.7; }
.v13-cover-lines li::before { content: '·'; margin-left: -14px; margin-right: 8px; color: var(--saju-gilt, #d1ac52); }
.v13-trust-strip {
  display: grid;
  gap: 6px;
  margin: 0 0 34px;
  padding: 12px 0;
  border-block: 1px solid hsl(45 22% 92% / .14);
}
.v13-trust-meta,
.v13-trust-stamps { display: flex; flex-wrap: wrap; gap: 6px; }
.v13-trust-stamps { padding-top: 2px; }
.v13-trust-stamps span { color: var(--night-ink-2); }
.v13-trust-strip span {
  padding: 5px 9px;
  border: 1px solid hsl(45 22% 92% / .14);
  border-radius: 999px;
  color: var(--night-ink-3);
  font-size: 11px;
  font-weight: 700;
}
.v13-quick-read { padding: 10px 0 44px; }
.v13-quick-read > header,
.v13-reader-toc > header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}
.v13-quick-read > header > span,
.v13-reader-toc > header > span {
  color: var(--saju-gilt, #d1ac52);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.v13-quick-read h3,
.v13-reader-toc h3 { margin: 0; color: var(--night-ink); font: 600 25px/1.3 var(--serif, serif); }
.v13-quick-read > header small { margin-left: auto; color: var(--night-ink-3); font-size: 11px; }
.v13-quick-cards { display: grid; gap: 20px; }
.v13-quick-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
.v13-quick-card > span {
  padding-top: 4px;
  color: var(--saju-gilt, #d1ac52);
  font-size: 11px;
  font-weight: 750;
}
.v13-quick-card > div { color: var(--night-ink-2); font-size: 16px; line-height: 1.82; }
.v13-quick-card > div > :first-child { margin-top: 0; }
.v13-quick-card > div > :last-child { margin-bottom: 0; }
.v13-quick-card-layout-hero { padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 42%, transparent); background: color-mix(in srgb, var(--saju-gilt, #d1ac52) 7%, transparent); }
.v13-quick-card-layout-hero > div { font-size: 18px; line-height: 1.8; }
.v13-quick-card-layout-portrait { padding-block: 4px; }
.v13-quick-card-layout-scene { padding-left: 14px; border-left: 2px solid color-mix(in srgb, var(--night-ink-3) 35%, transparent); }
.v13-quick-card-layout-criterion { padding-left: 14px; border-left: 2px solid rgba(76, 120, 94, .55); }
.v13-quick-card-layout-twist { padding: 12px 14px; background: rgba(146, 84, 70, .08); }
.v13-quick-card-layout-action { padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 32%, transparent); }
.v13-quick-card[data-v13-quick-accent="timing"] { border-top: 2px solid rgba(64, 92, 142, .7); }
.v13-calculation-map-section {
  scroll-margin-top: 72px;
  display: grid;
  gap: 18px;
  margin: 4px 0 34px;
  padding: 26px 0 30px;
  border-block: 1px solid hsl(45 22% 92% / .18);
}
.v13-story-spine { display: grid; gap: 13px; margin: 28px 0 34px; padding: 24px 26px; border: 1px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 38%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--saju-gilt, #d1ac52) 10%, transparent), transparent 62%); }
.v13-story-spine header { display: grid; gap: 4px; }
.v13-story-spine header span, .v13-act-callback span, .v13-narrative-form-label { color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.v13-story-spine h3 { margin: 0; color: var(--night-ink); font: 600 23px/1.4 var(--serif, serif); }
.v13-story-spine-tension { margin: 0; color: var(--night-ink); font: 500 17px/1.8 var(--serif, serif); }
.v13-story-spine-rule { padding: 13px 15px; border-left: 2px solid var(--saju-gilt, #d1ac52); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 55%, transparent); }
.v13-story-spine-rule p, .v13-story-spine-note { margin: 4px 0 0; color: var(--night-ink-2); line-height: 1.7; }
.v13-story-spine-note { font-size: 12px; color: var(--night-ink-3); }
.v13-calculation-map-header { display: grid; gap: 5px; }
.v13-calculation-map-header > span { color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.v13-calculation-map-header h3 { margin: 0; color: var(--night-ink); font: 600 25px/1.3 var(--serif, serif); }
.v13-calculation-map-header p { max-width: 700px; margin: 0; color: var(--night-ink-3); font-size: 14px; line-height: 1.7; }
.v13-calculation-stamps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.v13-calculation-stamps span { padding: 9px 11px; border: 1px solid hsl(45 22% 92% / .17); color: var(--night-ink-2); font-size: 12px; font-weight: 750; }
.v13-calculation-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
.v13-calculation-card { min-width: 0; border: 1px solid hsl(45 22% 92% / .17); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 72%, transparent); }
.v13-calculation-card-saju { border-top: 2px solid hsl(42 52% 57% / .68); }
.v13-calculation-card-astrology { border-top: 2px solid rgba(64, 92, 142, .7); }
.v13-calculation-card > summary { display: grid; gap: 5px; padding: 15px 16px; cursor: pointer; list-style: none; }
.v13-calculation-card > summary::-webkit-details-marker { display: none; }
.v13-calculation-card-kicker { color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 800; }
.v13-calculation-card > summary strong { color: var(--night-ink); font: 600 18px/1.4 var(--serif, serif); }
.v13-calculation-card > summary small { color: var(--night-ink-3); font-size: 12px; line-height: 1.5; }
.v13-calculation-card-action { color: var(--saju-gilt, #d1ac52); font-size: 11px; font-weight: 750; }
.v13-calculation-card-body { display: grid; gap: 14px; padding: 0 16px 17px; }
.v13-calculation-visual { min-height: 92px; display: grid; place-items: center; overflow: hidden; }
.v13-calculation-visual .report-birthmap-saju-grid { width: 100%; }
.v13-calculation-visual svg { width: min(100%, 280px); height: auto; }
.v13-calculation-expanded-visual { padding-top: 4px; border-top: 1px solid hsl(45 22% 92% / .12); }
.v13-calculation-expanded-visual svg { width: min(100%, 380px); height: auto; }
.v13-calculation-notices { display: grid; gap: 5px; padding-left: 12px; border-left: 2px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 50%, transparent); }
.v13-calculation-notices p { margin: 0; color: var(--night-ink-3); font-size: 12px; line-height: 1.65; }
.v13-reader-toc {
  display: block;
  margin: 0 0 22px;
  padding: 24px 0 28px;
  border-block: 1px solid hsl(45 22% 92% / .14);
}
.v13-reader-toc ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 7px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.v13-reader-toc li { min-width: 0; }
.v13-reader-toc a { min-height: 50px; padding: 10px 8px; }
.v13-reader-toc a b { color: var(--saju-gilt, #d1ac52); }
.v13-section-toc > header { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 8px 12px; }
.v13-section-toc > header p { grid-column: 2; margin: -10px 0 8px; color: var(--night-ink-3); font-size: 12px; }
.v13-toc-act { margin-top: 18px; padding-top: 13px; border-top: 1px solid hsl(45 22% 92% / .12); }
.v13-toc-act h4 { margin: 0 0 7px; color: var(--night-ink-2); font-size: 12px; letter-spacing: .02em; }
.v13-toc-act ol { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.v13-toc-act a { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 7px; }
.v13-toc-act a small { color: var(--night-ink-3); font-size: 10px; }
.v13-reader-toolbar { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.v13-reader-toolbar > button { min-height: 44px; }
.v13-reader-main { padding-top: 12px; }
.v13-reader-group {
  scroll-margin-top: 72px;
  padding: 54px 0 16px;
  border-top: 1px solid hsl(45 22% 92% / .17);
}
.v13-reader-group:first-child { border-top: 0; }
.v13-group-heading { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: start; margin-bottom: 24px; }
.v13-group-heading > span { color: var(--saju-gilt, #d1ac52); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.v13-group-heading h3 { margin: 0; color: var(--night-ink); font: 600 clamp(24px, 4vw, 32px)/1.3 var(--serif, serif); }
.v13-group-question { margin: 7px 0 0; color: var(--night-ink-3); font-size: 13px; line-height: 1.6; }
.v13-claim-receipt-trigger { min-height: 40px; padding: 7px 10px; border: 1px solid hsl(45 22% 92% / .2); background: transparent; color: var(--saju-gilt, #d1ac52); font-size: 11px; font-weight: 750; cursor: pointer; }
.v13-claim-receipt-trigger:hover, .v13-claim-receipt-trigger:focus-visible { border-color: var(--saju-gilt, #d1ac52); }
.v13-group-support { margin: -12px 0 0 56px; color: var(--night-ink-3); font-size: 11px; }
.v13-closing { display: grid; gap: 7px; margin: 56px 0 24px; padding: 24px 0; border-block: 1px solid hsl(45 22% 92% / .17); }
.v13-closing > span { color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.v13-closing h3 { margin: 0; color: var(--night-ink); font: 600 22px/1.4 var(--serif, serif); }
.v13-closing p { max-width: 700px; margin: 0; color: var(--night-ink-2); font-size: 16px; line-height: 1.8; }
.v13-group-sources { display: grid; gap: 38px; }
.v13-section-card { scroll-margin-top: 76px; padding: 48px 0 22px; border-top: 1px solid hsl(45 22% 92% / .17); }
.v13-act-callback { display: grid; gap: 5px; margin: 38px 0 -12px; padding: 14px 17px; border-left: 2px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 58%, transparent); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 44%, transparent); }
.v13-act-callback p { margin: 0; color: var(--night-ink); font: 500 15px/1.7 var(--serif, serif); }
.v13-section-card:first-child { border-top: 0; }
.v13-section-heading { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; margin-bottom: 24px; }
.v13-section-heading-index { color: var(--saju-gilt, #d1ac52); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.v13-section-heading span { color: var(--night-ink-3); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.v13-section-heading h3 { margin: 4px 0 0; color: var(--night-ink); font: 600 clamp(23px, 4vw, 31px)/1.3 var(--serif, serif); }
.v13-section-question { margin: 8px 0 0; color: var(--night-ink-3); font-size: 13px; line-height: 1.6; }
.v13-section-content { display: grid; gap: 12px; }
.v13-section-footer { margin-left: 56px; }
.v13-section-status-no_signal { padding-bottom: 30px; }
.v13-commercial-reader-copy { display: grid; gap: 22px; }
.v13-narrative-form-label { margin: 0; padding-bottom: 8px; border-bottom: 1px solid hsl(45 22% 92% / .1); }
.v13-form-focus { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid hsl(45 22% 92% / .14); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 48%, transparent); }
.v13-form-focus > span { color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 850; letter-spacing: .06em; }
.v13-form-focus .v13-reader-copy-block { padding: 0; border: 0; background: transparent; }
.v13-form-bridge { margin: -8px 0 0; color: var(--night-ink-3); font-size: 12px; line-height: 1.7; }
.v13-reader-copy-block { color: var(--night-ink-2); font-size: 15px; line-height: 1.85; }
.v13-reader-copy-block h5 { margin: 0 0 8px; color: var(--night-ink-3); font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.v13-reader-copy-block > div > :first-child { margin-top: 0; }
.v13-reader-copy-block > div > :last-child { margin-bottom: 0; }
.v13-reader-hook { position: relative; padding: 2px 0 2px 20px; color: var(--night-ink); font: 500 clamp(18px, 2.7vw, 22px)/1.75 var(--serif, serif); }
.v13-reader-hook::before { position: absolute; inset: 3px auto 3px 0; width: 3px; background: linear-gradient(var(--saju-gilt, #d1ac52), transparent); content: ''; }
.v13-reader-scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.v13-reader-scene { min-height: 100%; padding: 18px 18px 17px; border: 1px solid hsl(45 22% 92% / .13); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 72%, transparent); }
.v13-reader-scene h5 { color: var(--saju-gilt, #d1ac52); }
.v13-reader-pattern-group,
.v13-reader-practice { display: grid; gap: 16px; padding: 22px 22px 20px; border: 1px solid hsl(45 22% 92% / .13); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 46%, transparent); }
.v13-reader-pattern-group > header,
.v13-reader-practice > header { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid hsl(45 22% 92% / .1); }
.v13-reader-pattern-group > header span,
.v13-reader-practice > header span { color: var(--saju-gilt, #d1ac52); font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.v13-reader-pattern-group > header h4,
.v13-reader-practice > header h4 { margin: 0; color: var(--night-ink); font: 600 19px/1.45 var(--serif, serif); }
.v13-reader-mechanism { padding: 18px 20px; border-left: 2px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 58%, transparent); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 58%, transparent); }
.v13-reader-conditions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.v13-reader-conditions > section { padding: 17px 18px; border: 1px solid hsl(45 22% 92% / .12); }
.v13-reader-works { background: rgba(76, 120, 94, .08); }
.v13-reader-tangles { background: rgba(146, 84, 70, .08); }
.v13-reader-twist { padding: 17px 20px; border-block: 1px solid hsl(45 22% 92% / .12); color: var(--night-ink); }
.v13-reader-counterexample, .v13-reader-criterion, .v13-reader-supporting { padding-left: 18px; border-left: 1px solid hsl(45 22% 92% / .2); }
.v13-reader-self-check { border-block: 1px solid hsl(45 22% 92% / .12); }
.v13-reader-self-check > summary { min-height: 50px; padding: 14px 2px; color: var(--saju-gilt, #d1ac52); font-size: 12px; font-weight: 750; cursor: pointer; }
.v13-reader-self-check > div { display: grid; gap: 17px; padding: 4px 0 18px; }
.v13-reader-practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v13-reader-practice-grid > section { min-height: 100%; padding: 15px 16px; border: 1px solid hsl(45 22% 92% / .1); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 62%, transparent); }
.v13-reader-practice-grid > .v13-practice-decision { grid-column: 1 / -1; }
.v13-practice-foreground { border-color: color-mix(in srgb, var(--saju-gilt, #d1ac52) 48%, transparent) !important; box-shadow: inset 3px 0 0 color-mix(in srgb, var(--saju-gilt, #d1ac52) 72%, transparent); background: color-mix(in srgb, var(--saju-gilt, #d1ac52) 8%, var(--night-paper-2, #1c2632)); }
.v13-signature-move { display: grid; gap: 8px; }
.v13-signature-move > span { color: var(--night-ink-3); font-size: 11px; font-weight: 750; }
.v13-reader-toolbox { border-top: 1px solid hsl(45 22% 92% / .1); }
.v13-reader-toolbox > summary { padding: 12px 0 4px; color: var(--saju-gilt, #d1ac52); font-size: 12px; font-weight: 750; cursor: pointer; }
.v13-commercial-reader-copy-editorial[data-v13-primary-reward="decision_rule"] .v13-reader-criterion { border-left-color: color-mix(in srgb, var(--saju-gilt, #d1ac52) 70%, transparent); }
.v13-commercial-reader-copy-editorial[data-v13-primary-reward="condition_split"] .v13-reader-conditions { border-top: 2px solid rgba(76, 120, 94, .38); padding-top: 12px; }
.v13-practice-script { border-left: 2px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 60%, transparent) !important; color: var(--night-ink); }
.v13-reader-action { padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 42%, transparent); background: color-mix(in srgb, var(--saju-gilt, #d1ac52) 8%, transparent); }
.v13-reader-memory-line { padding: 22px 24px; border-block: 1px solid hsl(45 22% 92% / .2); color: var(--night-ink); font: 500 18px/1.75 var(--serif, serif); text-align: center; }
.v13-reader-technical { border-top: 1px solid hsl(45 22% 92% / .12); }
.v13-reader-technical > summary { min-height: 48px; padding: 14px 2px; color: var(--saju-gilt, #d1ac52); font-size: 12px; font-weight: 750; cursor: pointer; }
.v13-reader-technical > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; padding: 3px 0 8px; }
.v13-technical-item { padding: 15px 16px; border: 1px solid hsl(45 22% 92% / .12); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 62%, transparent); }
.v13-technical-item > span { color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 850; letter-spacing: .06em; }
.v13-technical-item h6 { margin: 7px 0 10px; color: var(--night-ink); font-size: 14px; line-height: 1.6; }
.v13-technical-item p { margin: 6px 0 0; color: var(--night-ink-3); font-size: 12px; line-height: 1.65; }
.v13-no-signal-card { display: grid; gap: 12px; padding: 20px 20px 18px; border: 1px dashed hsl(45 22% 92% / .24); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 66%, transparent); }
.v13-no-signal-group-intro { display: grid; gap: 6px; margin: 32px 0 12px; padding: 16px 18px; border-left: 3px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 70%, transparent); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 48%, transparent); }
.v13-no-signal-group-intro span { color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.v13-no-signal-group-intro p { margin: 0; color: var(--night-ink-2); font-size: 14px; line-height: 1.75; }
.v13-no-signal-badge { color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.v13-no-signal-reason { margin: 0; color: var(--night-ink-2); font-size: 15px; line-height: 1.8; }
.v13-no-signal-missing { margin: 0; color: var(--night-ink-3); font-size: 12px; line-height: 1.6; }
.v13-no-signal-check, .v13-no-signal-protocol { padding: 12px 14px; border-left: 2px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 52%, transparent); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 72%, transparent); }
.v13-no-signal-card h5 { margin: 0 0 5px; color: var(--night-ink); font-size: 11px; }
.v13-no-signal-card p { margin: 0; color: var(--night-ink-3); font-size: 13px; line-height: 1.7; }
.v13-no-signal-unlock { padding-top: 2px; }
.v13-reader-editorial-bridge, .v13-reader-alternative, .v13-reader-decision-rule, .v13-reader-story-callback { padding: 14px 16px; border-left: 2px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 42%, transparent); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 42%, transparent); }
.v13-reader-editorial-bridge { color: var(--night-ink-2); }
.v13-reader-alternative { color: var(--night-ink-3); }
.v13-reader-decision-rule { border-left-color: color-mix(in srgb, #7ab7a1 72%, transparent); }
.v13-reader-story-callback { border-left-color: color-mix(in srgb, var(--saju-gilt, #d1ac52) 72%, transparent); }
.v13-reader-editorial-bridge + .v13-reader-hook { margin-top: 8px; }
.v13-boundary-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 16px; color: var(--saju-gilt, #d1ac52); font-size: 12px; font-weight: 700; text-decoration: none; }
.v13-boundary-link:hover, .v13-boundary-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.v13-source-chapter { scroll-margin-top: 76px; }
.v13-source-chapter > header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.v13-source-chapter > header > span { color: var(--night-ink-3); font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.v13-source-chapter h4 { margin: 0; color: var(--night-ink); font: 600 20px/1.4 var(--serif, serif); }
.v13-source-blocks { display: grid; gap: 17px; }
.v13-time-editorial-guide { display: grid; gap: 4px; margin: 0 0 18px; padding: 14px 16px; border-left: 2px solid rgba(64, 92, 142, .7); background: rgba(64, 92, 142, .08); }
.v13-time-editorial-guide span { color: var(--night-ink-3); font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.v13-time-editorial-guide b { color: var(--night-ink); font: 600 17px/1.45 var(--serif, serif); }
.v13-time-editorial-guide small { color: var(--night-ink-3); font-size: 12px; line-height: 1.6; }
.v13-copy-block { color: var(--night-ink-2); font-size: 15px; line-height: 1.82; }
.v13-copy-block h5 { margin: 0 0 7px; color: var(--night-ink-3); font-size: 11px; font-weight: 750; }
.v13-copy-block > div > :first-child,
.v13-source-prose > :first-child { margin-top: 0; }
.v13-copy-block > div > :last-child,
.v13-source-prose > :last-child { margin-bottom: 0; }
.v13-copy-block-action,
.v13-copy-block-check { padding: 14px 16px; border-left: 2px solid var(--saju-gilt, #d1ac52); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 72%, transparent); }
.v13-copy-block-cost,
.v13-copy-block-misreading { padding: 14px 16px; background: rgba(136, 83, 73, .06); }
.v13-source-prose { margin-bottom: 15px; color: var(--night-ink-2); font-size: 15px; line-height: 1.82; }
.v13-receipt-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 18px;
  color: var(--saju-gilt, #d1ac52);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.v13-receipt-link::after { content: '↓'; margin-left: 7px; }
.v13-receipt-link:hover,
.v13-receipt-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.v13-relationship-fit { margin-top: 30px; margin-bottom: 18px; }
.v13-evidence-room {
  scroll-margin-top: 72px;
  margin: 58px 0 24px;
  border-block: 1px solid hsl(45 22% 92% / .18);
}
.v13-evidence-room > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 68px;
  padding: 12px 4px;
  cursor: pointer;
  list-style: none;
}
.v13-evidence-room > summary::-webkit-details-marker { display: none; }
.v13-evidence-room > summary > span { color: var(--saju-gilt, #d1ac52); font-size: 11px; font-weight: 800; }
.v13-evidence-room > summary > strong { color: var(--night-ink); font: 600 17px/1.45 var(--serif, serif); }
.v13-evidence-room > summary > small { color: var(--night-ink-3); font-size: 10px; }
.v13-evidence-room-body { display: grid; gap: 26px; padding: 14px 0 30px; }
.v13-map-room,
.v13-claim-receipts,
.v13-evidence-meta { display: grid; gap: 14px; }
.v13-map-room > h3,
.v13-claim-receipts > h3,
.v13-evidence-meta > h3 { margin: 0; color: var(--night-ink); font: 600 20px/1.4 var(--serif, serif); }
.v13-map-guide { display: grid; gap: 7px; padding-left: 13px; border-left: 2px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 55%, transparent); }
.v13-map-guide p { margin: 0; color: var(--night-ink-3); font-size: 13px; line-height: 1.7; }
.v13-map-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v13-calculation-map { min-width: 0; padding: 16px; border: 1px solid hsl(45 22% 92% / .14); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 72%, transparent); }
.v13-calculation-map-saju { border-top: 2px solid hsl(42 52% 57% / .68); }
.v13-calculation-map-astrology { border-top: 2px solid rgba(64, 92, 142, .7); }
.v13-calculation-map > header { display: grid; gap: 3px; padding-bottom: 11px; border-bottom: 1px solid hsl(45 22% 92% / .12); }
.v13-calculation-map > header span { color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 800; }
.v13-calculation-map > header h3 { margin: 0; color: var(--night-ink); font: 600 17px/1.4 var(--serif, serif); }
.v13-map-lead { margin: 12px 0 0; color: var(--night-ink-2); font-size: 14px; line-height: 1.72; }
.v13-map-keys,
.v13-map-interactions { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.v13-map-keys li,
.v13-map-interactions li { display: flex; flex-wrap: wrap; gap: 5px 8px; color: var(--night-ink-3); font-size: 12px; line-height: 1.55; }
.v13-map-keys li span:first-child,
.v13-map-interactions li span:first-child { color: var(--night-ink); font-weight: 700; }
.v13-map-facts { display: grid; gap: 10px; margin-top: 14px; }
.v13-map-facts article { padding-top: 10px; border-top: 1px solid hsl(45 22% 92% / .11); }
.v13-map-facts b,
.v13-map-facts strong { display: block; color: var(--night-ink); font-size: 13px; overflow-wrap: anywhere; }
.v13-map-facts strong { margin-top: 3px; color: var(--saju-gilt, #d1ac52); font-weight: 650; }
.v13-map-facts p,
.v13-map-support p { margin: 5px 0 0; color: var(--night-ink-2); font-size: 12px; line-height: 1.65; }
.v13-map-facts small { display: block; margin-top: 5px; color: var(--night-ink-3); font-size: 11px; line-height: 1.55; }
.v13-map-support { margin-top: 12px; padding-top: 10px; border-top: 1px solid hsl(45 22% 92% / .12); }
.v13-evidence-entry { padding-top: 24px; border-top: 1px solid hsl(45 22% 92% / .12); }
.v13-evidence-entry:first-child { padding-top: 0; border-top: 0; }
.v13-evidence-entry > h4,
.v13-boundary-room > h3 { margin: 0 0 14px; color: var(--night-ink); font: 600 19px/1.4 var(--serif, serif); }
.v13-evidence-system { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 8px 14px; margin-top: 12px; }
.v13-evidence-system h5 { grid-row: 1 / span 20; margin: 2px 0 0; color: var(--saju-gilt, #d1ac52); font-size: 11px; }
.v13-evidence-system article { padding: 11px 13px; border: 1px solid hsl(45 22% 92% / .12); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 70%, transparent); }
.v13-evidence-system b { color: var(--night-ink); font-size: 13px; }
.v13-evidence-system p { margin: 5px 0 0; color: var(--night-ink-3); font-size: 13px; line-height: 1.65; }
.v13-boundary-room { display: grid; gap: 10px; margin-top: 8px; padding-top: 26px; border-top: 1px solid hsl(45 22% 92% / .18); }
.v13-boundary-entry { padding: 13px 14px; border: 1px dashed hsl(45 22% 92% / .2); }
.v13-boundary-entry header { display: flex; align-items: baseline; gap: 10px; }
.v13-boundary-entry header span { color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 750; }
.v13-boundary-entry h4 { margin: 0; color: var(--night-ink); font: 600 15px/1.4 var(--serif, serif); }
.v13-boundary-entry p { margin: 8px 0 0; color: var(--night-ink-3); font-size: 13px; line-height: 1.68; }
.v13-evidence-meta { padding-top: 25px; border-top: 1px solid hsl(45 22% 92% / .18); }
.v13-time-sensitivity p { margin: 0; color: var(--night-ink-2); font-size: 13px; line-height: 1.7; }
.v13-term-room > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.v13-term-room article { padding: 12px 13px; border: 1px solid hsl(45 22% 92% / .12); }
.v13-term-room b { color: var(--night-ink); font-size: 13px; }
.v13-term-room p { margin: 5px 0 0; color: var(--night-ink-3); font-size: 12px; line-height: 1.6; }
.v13-term-room small { display: block; margin-top: 6px; color: var(--saju-gilt, #d1ac52); font-size: 10px; }
.v13-provenance dl { display: grid; margin: 0; }
.v13-provenance dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid hsl(45 22% 92% / .1); }
.v13-provenance dt { color: var(--night-ink-3); font-size: 11px; }
.v13-provenance dd { margin: 0; color: var(--night-ink-2); font-size: 11px; overflow-wrap: anywhere; }
/* v8 R2-1: 막 오프닝 — 리더 안의 밤 밴드. .scene-dark와 같은 "지면 안 카드" 관법(전체 폭 아님),
   재료만 v8 신규 밤 토큰(--night-*, hue 217)으로 분리해 기존 .scene-dark(hue 214)와 구분 */
/* v9.6 E4: 정중앙 대칭 해체 — 좌정렬 + 고스트 한자 우측 블리드로 비대칭 긴장 */
.v12-part-divider {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 8px;
  /* v8.1 M3: 탈부유 — 둥근 카드가 아니라 시트 안 만판 밴드. 좌우는 .gosea-body의
     실제 패딩(--sheet-pad-l/r)만큼 음수 마진으로 블리드해 시트 끝까지 닿는다 */
  /* v9.6 E5: 막 경계는 더 크게 — 균등 리듬 해체, 덩어리는 조밀하게(아래 reader-blocks) 막 사이는 넓게 */
  margin: 72px calc(-1 * var(--sheet-pad-r, 44px)) 28px calc(-1 * var(--sheet-pad-l, 36px));
  padding: 48px 24px 40px;
  border-radius: 0;
  background: linear-gradient(180deg, var(--night-1), var(--night-0) 60%);
}
.v12-part-divider::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 100% at 50% 30%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .34) 100%);
  pointer-events: none;
}
.v12-part-ghost {
  position: absolute; top: -8px; right: -.06em; left: auto;
  z-index: 0;
  font-family: var(--serif); font-size: clamp(72px, 18vw, 160px); font-weight: 700; line-height: 1;
  color: hsl(42 30% 92% / .07);
  pointer-events: none; user-select: none;
}
/* v8 R3-3: 막 오프닝 이중 박자 — 고스트가 먼저 스민다(0→0.13로 찍혔다 0.07로 가라앉음), 제목·본문은 기존 scroll-reveal 페이드로 뒤따른다 */
@media (prefers-reduced-motion: no-preference) {
  .v12-part-ghost { color: hsl(42 30% 92% / 0); }
  .v12-part-divider.is-visible .v12-part-ghost { animation: v12-ghost-ink 1.4s ease forwards; }
}
@keyframes v12-ghost-ink {
  0% { color: hsl(42 30% 92% / 0); }
  55% { color: hsl(42 30% 92% / .13); }
  100% { color: hsl(42 30% 92% / .07); }
}
.v12-part-divider > span:not(.v12-part-ghost) { position: relative; z-index: 1; color: var(--saju-gilt); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.v12-part-divider > strong { position: relative; z-index: 1; color: var(--night-ink); font: 600 var(--fs-display)/1.15 var(--serif, serif); letter-spacing: -.01em; margin-top: 2px; }
.v12-part-divider > small { position: relative; z-index: 1; color: var(--night-ink-3); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.v12-part-divider > p { position: relative; z-index: 1; max-width: 480px; margin: 6px 0 0; color: var(--night-ink-2); font-size: 14px; line-height: 1.6; }
.v12-part-divider > blockquote {
  position: relative; z-index: 1;
  margin: 8px 0 0;
  max-width: 560px;
  color: var(--night-ink-2);
  font: 500 15px/1.75 var(--serif, serif);
}
.reader-life-section > header,
.reader-flow > header,
.reader-manual > header { display: flex; gap: 12px; align-items: baseline; margin-bottom: 16px; }
.reader-life-section > header > span {
  color: var(--saju-gilt, #d1ac52);
  font: 700 22px/1 var(--serif, serif);
  font-variant-numeric: tabular-nums;
}
.reader-flow > header > span,
.reader-manual > header > span { color: var(--saju-gilt, #d1ac52); font-size: 12px; font-weight: 700; }
.reader-life-section h3,
.reader-flow h3,
.reader-manual h3 { margin: 0; color: var(--night-ink); font: 600 22px/1.32 var(--serif, serif); }
/* v8 R2-4: 비점 — 데이터 tier="anchor"(먼저 읽기, 항상 1장뿐)에만. 장식 인장이 아니라 강한 판정의 표식, 신규 마크업 없이 attribute 셀렉터로 */
.reader-life-section[data-reader-tier="anchor"] > header h3::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: .5em;
  vertical-align: .15em;
  border-radius: 50%;
  /* v9.1 N2 자매 발견: saju-strong은 밤 카드 위에서 침몰 — gilt로 */
  background: var(--saju-gilt);
}
/* v9.1 N3-C: 비점 후행 — 데모 W4 이식. 점은 헤더가 다 뜬 뒤 마지막에 찍힌다.
   media 밖 기본값 opacity:1(완성 상태) — 모션 끔에서 지금과 동일 */
@media (prefers-reduced-motion: no-preference) {
  .reader-life-section[data-reader-tier="anchor"] > header h3::after {
    opacity: 0;
    transition: opacity .35s ease .75s;
  }
  .reader-life-section[data-reader-tier="anchor"].is-visible > header h3::after { opacity: 1; }
}
.v12-reference-promise { margin: 10px 0 22px; padding-left: 12px; border-left: 2px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 58%, transparent); color: var(--night-ink-2); font-size: 13px; line-height: 1.7; }
.v12-reference-tier { margin-left: auto; color: var(--night-ink-3); font-size: 11px; font-weight: 650; white-space: nowrap; }
.v12-reader-mode + .v12-reference-tier { margin-left: 0; }
.reader-life-prose { color: var(--night-ink-2); font-size: 16px; line-height: 1.85; }
.reader-life-prose + .reader-life-prose { margin-top: 20px; }
.reader-life-prose p { margin: 0 0 16px; }
.reader-life-prose strong,
.v12-thesis strong,
.reader-portrait-lead strong { font-weight: 700; }
.v12-life-section { border-top-color: hsl(45 22% 92% / .22); }
.v12-life-section,
.reader-life-time { scroll-margin-top: 72px; }
.v12-reader-blocks { display: grid; gap: 20px; min-width: 0; }
.v12-reader-block { min-width: 0; }
.v12-reader-technical-layer { margin: 2px 0 0; border-top: 1px solid hsl(45 22% 92% / .14); }
.v12-reader-technical-layer > summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 0; cursor: pointer; color: var(--night-ink-2); font-size: 13px; font-weight: 700; list-style: none; }
.v12-reader-technical-layer > summary::-webkit-details-marker { display: none; }
.v12-reader-technical-layer > summary small { color: var(--night-ink-3); font-size: 11px; font-weight: 500; }
.v12-reader-technical-layer[open] > summary { color: var(--saju-gilt, #d1ac52); }
.v12-reader-mode { flex: 0 0 auto; margin-left: auto; padding: 3px 7px; border: 1px solid hsl(45 22% 92% / .16); border-radius: 999px; color: var(--night-ink-3); font-size: 10px; font-weight: 700; white-space: nowrap; }
.v12-reader-mode-interpretation { border-color: color-mix(in srgb, var(--saju-gilt, #d1ac52) 46%, transparent); color: var(--saju-gilt, #d1ac52); }
.v12-reader-mode-observation { border-style: dashed; color: var(--night-ink-3); }
.v12-reader-block h4 {
  margin: 0 0 9px;
  color: var(--night-ink-3);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
}
.v12-block-copy { color: var(--night-ink-2); font-size: 15px; line-height: 1.82; }
.v12-block-copy + .v12-block-copy { margin-top: 10px; }
.v12-block-copy p { margin: 0; }
.v12-block-verdict { padding-bottom: 3px; }
.v12-block-verdict h4 { color: var(--saju-gilt, #d1ac52); }
.v12-block-verdict .v12-block-copy:first-of-type {
  color: var(--night-ink);
  font: 600 20px/1.62 var(--serif, serif);
}
.v12-system-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.v12-system-map-grid.is-single { grid-template-columns: minmax(0, 1fr); }
.v12-system-map-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid hsl(45 22% 92% / .14);
  border-radius: 4px;
  background: color-mix(in srgb, var(--night-paper-2, #1c2632) 74%, transparent);
}
.v12-system-map-card > header { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid hsl(45 22% 92% / .14); }
.v12-system-map-card > header span { color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 700; }
.v12-system-map-card > header strong { color: var(--night-ink); font: 600 15px/1.45 var(--serif, serif); }
.v12-system-map-card > div { display: grid; gap: 12px; padding-top: 11px; }
.v12-system-map-card section + section { padding-top: 11px; border-top: 1px solid hsl(45 22% 92% / .12); }
.v12-system-map-card b { display: block; color: var(--night-ink); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.v12-system-map-card p { margin: 5px 0 0; color: var(--night-ink-2); font-size: 13px; line-height: 1.68; }
.v12-system-map-card small { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px; margin-top: 7px; color: var(--night-ink-2); font-size: 12px; line-height: 1.55; }
.v12-system-map-card small em { color: var(--night-ink-3); font-style: normal; font-weight: 700; white-space: nowrap; }
.v12-system-map-astrology { border-top: 2px solid rgba(64, 92, 142, .62); }
.v12-system-map-saju { border-top: 2px solid hsl(42 52% 57% / .68); }
.v12-system-map-explanation {
  grid-column: 1 / -1;
  padding: 13px 14px;
  border-left: 2px solid rgba(84, 116, 97, .72);
  background: rgba(84, 116, 97, .055);
}
.v12-system-map-explanation-copy { color: var(--night-ink-2); font-size: 14px; line-height: 1.78; }
.v12-block-fusion,
.v12-block-evidence-note { padding: 12px 14px; border-left: 2px solid var(--saju-gilt, #d1ac52); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 82%, transparent); }
.v12-block-fusion h4,
.v12-block-evidence-note h4 { color: var(--saju-gilt, #d1ac52); }
.v12-block-scene { padding-top: 2px; }
.v12-block-scene h4 { color: var(--el-water-n); }
.v12-block-supporting-detail { padding-top: 2px; }
.v12-block-supporting-detail h4 { color: var(--night-ink-3); }
.v12-block-cost { padding: 13px 14px; border: 1px solid rgba(136, 83, 73, .24); border-radius: 4px; background: rgba(136, 83, 73, .055); }
.v12-block-cost h4 { color: var(--el-fire-n); }
.v12-block-check { padding: 13px 14px; border-left: 2px solid #547461; background: rgba(84, 116, 97, .065); }
.v12-block-check h4 { color: var(--el-wood-n); }
.v12-block-action { padding: 14px 15px; border: 1px solid rgba(69, 98, 133, .26); border-radius: 4px; background: rgba(69, 98, 133, .06); }
.v12-block-action h4 { color: var(--el-water-n); }
.v12-block-misreading { padding: 17px; border-radius: 4px; background: #202b35; }
.v12-block-misreading h4 { color: #d7bd80; }
.v12-block-misreading .v12-block-copy { color: #f4f0e7; }
.v12-block-depth { padding-top: 14px; border-top: 1px solid hsl(45 22% 92% / .14); }
.v12-block-depth .v12-block-copy { color: var(--night-ink-2); font-size: 14px; }
.v12-block-no-signal { padding: 16px; border: 1px dashed hsl(45 22% 92% / .25); border-radius: 4px; background: var(--night-paper-2, #1c2632); }
.v12-block-no-signal h4 { color: var(--night-ink-2); }
.v12-reading-feedback { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 20px; padding-top: 12px; border-top: 1px solid hsl(45 22% 92% / .12); }
.v12-reading-feedback > span { color: var(--night-ink-3); font-size: 12px; }
.v12-reading-feedback > div { display: flex; gap: 5px; }
.v12-reading-feedback button { min-width: 52px; min-height: 44px; padding: 7px 12px; border: 1px solid hsl(45 22% 92% / .18); border-radius: 999px; background: var(--night-paper-2, #1c2632); color: var(--night-ink-2); font: inherit; font-size: 11px; cursor: pointer; }
.v12-reading-feedback button:hover, .v12-reading-feedback button:focus-visible { border-color: #547461; color: var(--el-wood-n); }
.v12-reading-feedback button.is-selected { border-color: #547461; background: #547461; color: #fff; }
.v12-relationship-fit { margin: 36px 0 10px; padding: 22px 0 6px; border-top: 2px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 55%, transparent); }
.v12-relationship-fit > header { display: flex; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.v12-relationship-fit > header > span { color: var(--saju-gilt, #d1ac52); font-size: 11px; font-weight: 700; }
.v12-relationship-source { margin-left: auto; padding: 3px 7px; border: 1px solid hsl(45 22% 92% / .16); border-radius: 999px; color: var(--night-ink-3); font-size: 10px; font-weight: 700; }
.v12-relationship-fit h3 { margin: 0; color: var(--night-ink); font: 600 22px/1.35 var(--serif, serif); }
.v12-relationship-fit-intro { margin: 0 0 16px; color: var(--night-ink-2); font-size: 14px; line-height: 1.7; }
.v12-relationship-fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.v12-relationship-fit-grid article { min-width: 0; padding: 14px; border: 1px solid hsl(45 22% 92% / .14); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 72%, transparent); }
.v12-relationship-fit-grid article:last-child { grid-column: 1 / -1; }
.v12-relationship-fit-grid b { color: var(--night-ink); font-size: 13px; }
.v12-relationship-fit-grid p { margin: 7px 0 0; color: var(--night-ink-2); font-size: 14px; line-height: 1.75; }
.v12-relationship-fit-scope { margin: 14px 0 0; padding-left: 12px; border-left: 2px solid var(--saju-gilt, #d1ac52); color: var(--night-ink-3); font-size: 13px; line-height: 1.7; }
.reader-life-fusion { margin: 0 0 16px; padding: 11px 13px; border-left: 2px solid var(--saju-gilt, #d1ac52); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 78%, transparent); color: var(--night-ink-2); font-size: 14px; line-height: 1.65; }
.reader-life-empty { color: var(--night-ink-3); line-height: 1.7; }
.reader-deferred { margin-top: 18px; padding: 14px 16px; border: 1px solid hsl(45 22% 92% / .14); border-radius: 10px; background: color-mix(in srgb, var(--night-paper-2, #1c2632) 60%, transparent); }
.reader-deferred .v12-section-heading { margin-bottom: 8px; }
.reader-deferred-list { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--night-ink-2); font-size: 14px; line-height: 1.7; }
.reader-deferred-list li { display: grid; gap: 2px; }
.reader-deferred-list b { color: var(--night-ink); font-weight: 650; }
.reader-traditional { padding: 28px 0; border-top: 1px solid hsl(45 22% 92% / .14); }
.reader-traditional > header { display: flex; gap: 12px; align-items: baseline; margin-bottom: 10px; }
.reader-traditional > header > span { color: var(--saju-gilt, #d1ac52); font-size: 12px; font-weight: 700; }
.reader-traditional h3 { margin: 0; color: var(--night-ink); font: 600 22px/1.32 var(--serif, serif); }
.reader-traditional-grid { display: grid; gap: 10px; margin-top: 14px; }
.reader-traditional-grid article { padding: 14px 15px; border-left: 2px solid var(--saju-gilt, #d1ac52); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 68%, transparent); }
.reader-traditional-grid h4 { margin: 0 0 6px; color: var(--night-ink); font: 600 16px/1.35 var(--serif, serif); }
.reader-traditional-grid p { margin: 0; color: var(--night-ink-2); font-size: 14px; line-height: 1.7; }
.reader-traditional-grid span,
.reader-traditional-grid small { display: block; margin-top: 7px; color: var(--night-ink-2); font-size: 13px; line-height: 1.65; }
.reader-traditional-grid small { color: var(--night-ink-3); }
.reader-traditional-compact {
  margin-top: 22px;
  border-block: 1px solid hsl(45 22% 92% / .14);
}
.reader-traditional-compact > summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  cursor: pointer;
  color: var(--night-ink-2);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}
.reader-traditional-compact > summary::-webkit-details-marker { display: none; }
.reader-traditional-compact > summary small { color: var(--night-ink-3); font-size: 11px; font-weight: 500; text-align: right; }
.reader-traditional-compact > div { display: grid; gap: 8px; padding: 0 0 16px; }
.reader-traditional-compact article { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; }
.reader-traditional-compact b { color: var(--saju-gilt, #d1ac52); font-size: 12px; }
.reader-traditional-compact span { color: var(--night-ink-2); font-size: 13px; line-height: 1.65; }
.reader-life-time { margin-top: 0; padding-top: 28px; border-top: 1px solid hsl(45 22% 92% / .22); }
.v12-daeun-intro,
.v12-current-daeun,
.v12-time-bridge { margin: 14px 0; color: var(--night-ink-2); font-size: 15px; line-height: 1.75; }
.v12-current-daeun { padding: 12px 14px; border-left: 2px solid var(--saju-gilt, #d1ac52); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 72%, transparent); }
.v12-time-bridge { color: var(--night-ink-2); font-weight: 600; }
.v12-traditional-note {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 4px 12px;
  margin: 20px 0 2px;
  padding: 14px 0 14px 14px;
  border-left: 2px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 70%, transparent);
  background: color-mix(in srgb, var(--night-paper-2, #1c2632) 64%, transparent);
}
.v12-traditional-note > span { grid-row: span 3; color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.v12-traditional-note strong { color: var(--night-ink); font: 600 15px/1.45 var(--serif, serif); }
.v12-traditional-note p { margin: 0; color: var(--night-ink-2); font-size: 13px; line-height: 1.65; }
.v12-traditional-note small { color: var(--night-ink-3); font-size: 12px; line-height: 1.6; }
.reader-evidence-fold,
.reader-appendix { margin-top: 18px; border-top: 1px solid hsl(45 22% 92% / .14); }
.reader-evidence-fold summary,
.reader-appendix summary { padding: 13px 14px; cursor: pointer; color: var(--night-ink-2); font-size: 14px; font-weight: 700; list-style: none; border-radius: 8px; }
.reader-evidence-fold summary { border: 1px solid hsl(45 22% 92% / .14); background: color-mix(in srgb, var(--night-paper-2, #1c2632) 72%, transparent); }
.reader-evidence-fold summary:hover,
.reader-appendix summary:hover { background: color-mix(in srgb, var(--night-paper-2, #1c2632) 65%, transparent); }
.reader-evidence-fold summary::-webkit-details-marker,
.reader-appendix summary::-webkit-details-marker { display: none; }
.reader-evidence-fold p { margin: 0 0 12px; padding: 0 14px; color: var(--night-ink-3); font-size: 14px; line-height: 1.65; }
.v12-chapter-evidence > summary { min-height: 48px; display: flex; align-items: center; }
.v12-chapter-evidence-body { display: grid; gap: 16px; padding: 14px 0 2px; }
.v12-chapter-evidence-body .v12-system-map-grid,
.v12-chapter-evidence-body .v12-mechanism-list { margin-inline: 0; }
.v12-evidence-plain-lines { padding-top: 4px; border-top: 1px solid hsl(45 22% 92% / .12); }
.v12-evidence-plain-lines p { margin: 0; padding: 8px 2px 0; }
.reader-appendix { padding-bottom: 18px; }
.reader-edition-glossary { display: grid; gap: 10px; padding: 4px 0 16px; }
.reader-edition-glossary > div { display: grid; gap: 3px; }
.reader-edition-glossary b { color: var(--night-ink); }
.reader-edition-glossary span,
.reader-edition-ledger p { color: var(--night-ink-3); font-size: 13px; line-height: 1.6; }
.reader-edition-ledger { display: grid; gap: 12px; padding: 8px 0 20px; }
.reader-edition-ledger article { padding: 12px; border: 1px solid hsl(45 22% 92% / .14); }
.reader-edition-ledger article b { display: block; color: var(--saju-gilt, #d1ac52); font-size: 11px; }
.reader-edition-ledger article span { display: block; margin-top: 4px; color: var(--night-ink); }
.reader-edition-ledger article p { margin: 5px 0 0; }
.reader-edition .domain-coaching { margin-top: 18px; }
.reader-edition-v12 .v12-cover { display: grid; gap: 8px; padding-top: 12px; padding-bottom: 24px; text-align: center; }
.v12-generation-status {
  display: inline-grid;
  justify-self: center;
  gap: 2px;
  max-width: 56ch;
  margin: 0 0 4px;
  padding: 8px 12px;
  border: 1px solid hsl(45 22% 92% / .14);
  border-radius: 999px;
  color: var(--night-ink-3);
  font-size: 10px;
  line-height: 1.45;
}
.v12-generation-status b { color: var(--saju-gilt, #d1ac52); font-size: 11px; }
.v12-generation-status.is-preview { border-style: dashed; }
.reader-edition-entry-chapter { margin-top: 10px; }
.reader-edition-entry-chapter .v12-part-divider { margin-top: 24px; }
.v12-generation-appendix dl { display: grid; gap: 0; margin: 2px 0 16px; }
.v12-generation-appendix dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 9px 2px; border-bottom: 1px solid hsl(45 22% 92% / .12); }
.v12-generation-appendix dt { color: var(--night-ink-3); font-size: 12px; }
.v12-generation-appendix dd { margin: 0; color: var(--night-ink-2); font-size: 12px; overflow-wrap: anywhere; }
.reader-edition-v12 .v12-type-profile {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 680px;
  width: 100%;
  margin-inline: auto;
  padding: 18px 20px 16px;
  border: 1px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 46%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--saju-gilt, #d1ac52) 5%, var(--night-paper-2));
}
.reader-edition-v12 .v12-type-profile > span {
  color: var(--saju-gilt, #d1ac52);
  font-family: var(--serif, serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}
.reader-edition-v12 .v12-type-profile > p { max-width: 34ch; margin: 0; color: var(--night-ink-2); font: 400 15px/1.7 var(--serif, serif); }
.reader-edition-v12 .v12-type-profile dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; margin: 4px 0 0; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 30%, transparent); }
.reader-edition-v12 .v12-type-profile dl div { min-width: 0; padding-left: 12px; }
.reader-edition-v12 .v12-type-profile dl div + div { border-left: 1px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 36%, transparent); }
.reader-edition-v12 .v12-type-profile dt { color: var(--night-ink-2); font-size: 11px; font-weight: 700; }
.reader-edition-v12 .v12-type-profile dd { margin: 3px 0 0; color: var(--night-ink); font-size: 12px; line-height: 1.55; }
.reader-edition-v12 .v12-cover .report-title {
  display: grid;
  gap: 2px;
  max-width: 100%;
  margin: 0;
  color: var(--night-ink);
  /* v8 R2-2: 리더 표지 한정 표제 스케일 (34px 상한 → --fs-display 52px 상한). 다른 h2/제목류는 8단 스케일 그대로 */
  font-size: var(--fs-display);
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
  word-break: keep-all;
}
/* v9.3 P2-3: 커버 제목 개행 — word-break:keep-all(어절 유지)은 이미 있었지만, 그 안에서
   "그리디" 줄채움이 짧은 마지막 어절 하나를 외톨이로 남겼다(M99 제목 "때,"). balance는
   break 후보 지점은 그대로 두고 분배만 고르게 한다. 지원 브라우저 상한(대략 6줄)엔
   전혀 안 걸림 — 이 제목은 최대 2줄(명시적 개행 또는 자동 분할 1회) */
.reader-edition-v12 .v12-cover .report-title > span { display: block; text-wrap: balance; }
.reader-edition-v12 .v12-cover .reader-portrait-lead {
  max-width: 36ch;
  margin: 0 auto;
  color: var(--night-ink-2);
  font-size: 20px;
  line-height: 1.65;
  word-break: keep-all;
}
.v12-cover-glyphs { position: absolute; inset: 0; pointer-events: none; }
/* v9.6 E4: 가로 2자 나열 → 세로쓰기 — 사주단자가 실제로 간지를 적는 방향 그대로 */
.v12-cover-glyphs i {
  position: absolute;
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding-inline: 4px;
  padding-block: 0;
  color: var(--saju-gilt, #d1ac52);
  background: var(--night-paper, #11161c);
  font: 400 12px/1 var(--serif, serif);
  font-style: normal;
  letter-spacing: .08em;
}
.v12-cover-glyphs .fg-tl { top: -13px; left: 10px; }
.v12-cover-glyphs .fg-tr { top: -13px; right: 10px; }
.v12-cover-glyphs .fg-bl { bottom: -13px; left: 10px; }
.v12-cover-glyphs .fg-br { right: 10px; bottom: -13px; }
.v12-cover-plain { position: relative; }
.v12-proof-lines { width: min(34rem, 100%); display: grid; gap: 9px; margin: 2px auto 0; padding: 0; list-style: none; text-align: left; }
.v12-proof-lines li { position: relative; padding-left: 15px; color: var(--night-ink-2); font-size: 14px; line-height: 1.65; }
.v12-proof-lines li::before { content: ''; position: absolute; top: .72em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--saju-gilt, #d1ac52); }
.v12-entry-answers { margin-top: 24px; border-block: 1px solid hsl(45 22% 92% / .14); }
.v12-entry-answers dl { margin: 0; }
.v12-entry-answers dl > div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid color-mix(in srgb, hsl(45 22% 92% / .14) 68%, transparent);
}
.v12-entry-answers dt { color: var(--saju-gilt, #d1ac52); font-size: 12px; font-weight: 700; }
.v12-entry-answers dd { margin: 0; color: var(--night-ink); font: 500 15px/1.7 var(--serif, serif); }
.v12-entry-flow,
.v12-entry-fusion { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; margin: 0; padding: 14px 0; }
.v12-entry-flow { border-bottom: 1px solid color-mix(in srgb, hsl(45 22% 92% / .14) 68%, transparent); }
.v12-entry-flow b,
.v12-entry-fusion b { color: var(--night-ink-3); font-size: 12px; line-height: 1.65; }
.v12-entry-flow span,
.v12-entry-fusion span { color: var(--night-ink-2); font-size: 14px; line-height: 1.72; }
.v12-entry-fusion b { color: var(--saju-gilt, #d1ac52); }
.v12-section-heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.v12-section-heading span { color: var(--saju-gilt, #d1ac52); font-size: 12px; font-weight: 700; }
.v12-section-heading h3 { margin: 0; color: var(--night-ink); font: 600 22px/1.32 var(--serif, serif); }
.v12-thesis { margin: 0 0 18px; color: var(--night-ink); font: 600 18px/1.65 var(--serif, serif); }
.v12-identity-imprint { margin: 22px 0 4px; border-block: 1px solid hsl(45 22% 92% / .14); }
.v12-identity-imprint > summary { display: flex; align-items: baseline; gap: 10px; min-height: 54px; padding: 15px 0; cursor: pointer; list-style: none; }
.v12-identity-imprint > summary::-webkit-details-marker { display: none; }
.v12-identity-imprint > summary::after { content: '+'; margin-left: auto; color: var(--saju-gilt, #d1ac52); font-size: var(--fs-19); font-weight: 400; }
.v12-identity-imprint[open] > summary::after { content: '−'; }
.v12-identity-imprint > summary span,
.v12-monthly-preview > header span { color: var(--saju-gilt, #d1ac52); font-size: 11px; font-weight: 700; }
.v12-identity-imprint > summary b { color: var(--night-ink); font: 600 16px/1.45 var(--serif, serif); }
.v12-identity-imprint-body { padding: 5px 0 18px; }
.v12-monthly-preview > header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.v12-monthly-preview h4 { margin: 0; color: var(--night-ink); font: 600 18px/1.4 var(--serif, serif); }
.v12-identity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v12-identity-grid article { min-width: 0; padding: 15px; border: 1px solid hsl(45 22% 92% / .14); background: var(--night-paper-2, #1c2632); }
.v12-identity-grid article > b { display: block; margin-bottom: 6px; color: var(--night-ink-3); font-size: 11px; }
.v12-identity-grid article > strong { display: block; color: var(--night-ink); font-size: 15px; overflow-wrap: anywhere; }
.v12-identity-grid article > p { margin: 9px 0 0; color: var(--night-ink-2); font-size: 14px; line-height: 1.65; }
.v12-identity-grid article > span { display: block; margin-top: 8px; color: var(--night-ink-3); font-size: 12px; line-height: 1.6; }
.v12-imprint-synthesis { margin: 14px 0 0; color: var(--night-ink-2); font-size: 14px; line-height: 1.7; }
.v12-mechanism-trail { min-width: 0; margin-top: 22px; padding-top: 13px; border-top: 1px solid hsl(45 22% 92% / .14); }
.v12-mechanism-trail > summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; color: var(--night-ink-2); font-size: 14px; font-weight: 650; }
.v12-mechanism-trail > summary::-webkit-details-marker { display: none; }
.v12-mechanism-trail > summary::after { content: '▸'; color: var(--saju-gilt, #d1ac52); font-size: 12px; }
.v12-mechanism-trail[open] > summary::after { content: '▾'; }
.v12-mechanism-trail > summary small { margin-left: auto; color: var(--night-ink-3); font-size: 11px; font-weight: 500; }
.v12-mechanism-list { display: grid; gap: 12px; margin-top: 12px; }
.v12-mechanism { min-width: 0; padding-left: 11px; border-left: 2px solid hsl(45 22% 92% / .14); }
.v12-mechanism-astrology { border-left-color: rgba(76, 98, 145, .55); }
.v12-mechanism-saju { border-left-color: hsl(42 52% 57% / .62); }
.v12-mechanism > div { display: flex; align-items: baseline; gap: 7px; }
.v12-mechanism > div > span { flex: 0 0 auto; margin: 0; color: var(--night-ink-3); font-size: 10px; font-weight: 700; }
.v12-mechanism strong { display: block; color: var(--night-ink); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.v12-mechanism p { margin: 5px 0 0; color: var(--night-ink-2); font-size: 13px; line-height: 1.65; }
.v12-mechanism span { display: block; margin-top: 5px; color: var(--night-ink-3); font-size: var(--fs-13); line-height: 1.6; }
.v12-tension-bridge { margin: 34px 0; padding: 18px 0 18px 18px; border-left: 2px solid var(--saju-gilt, #d1ac52); }
.v12-tension-bridge > span { display: block; margin-bottom: 7px; color: var(--saju-gilt, #d1ac52); font-size: 11px; font-weight: 700; }
.v12-tension-bridge > p { margin: 0; color: var(--night-ink); font-size: 17px; line-height: 1.75; }
.v12-flow-domains { display: grid; gap: 12px; margin: 16px 0; }
.v12-flow-domain { padding: 12px 14px; border-left: 2px solid hsl(45 22% 92% / .14); }
.v12-flow-domain b { display: block; margin-bottom: 4px; color: var(--night-ink-2); font-size: 12px; }
.v12-flow-domain p { margin: 0; color: var(--night-ink-2); line-height: 1.7; }
/* v9.6 E2: 1px 격자 박스 해체 — 월 항목은 리스트, 경계는 항목 사이 가로 괘선 하나뿐 */
.v12-flow-windows { display: grid; margin: 18px 0; }
.v12-flow-window { padding: 15px 16px; background: transparent; }
.v12-flow-window + .v12-flow-window { border-top: 1px solid hsl(45 22% 92% / .14); }
.v12-flow-window > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.v12-flow-window > header b { color: var(--saju-gilt, #d1ac52); font-size: 12px; }
.v12-flow-window > header span { color: var(--night-ink-3); font-size: 11px; }
.v12-flow-stage { padding: 2px 7px; border-radius: 999px; background: color-mix(in srgb, var(--saju-gilt, #d1ac52) 12%, var(--night-paper-2, #1c2632)); }
.v12-flow-window p { margin: 7px 0 0; color: var(--night-ink-2); line-height: 1.7; }
.v12-flow-mechanisms { margin-top: 13px; }
.v12-flow-mechanisms .v12-mechanism-trail { margin-top: 0; }
/* v9.5 T1: 대운은 사주 쪽의 계기판 — 천궁도 차트(.birthmap-map-astro)와 같은 어법(그라디언트+금 글로우)으로 짝을 맞춘다 */
.v12-daeun-timeline {
  position: relative;
  isolation: isolate;
  margin: 22px 0;
  padding: 16px 0;
  /* v9.6 E2: 외곽 보더 박스 해체 — 상단 괘선 하나로 시작만 표시 */
  border-top: 2px solid color-mix(in srgb, var(--saju-gilt) 45%, transparent);
  background: linear-gradient(180deg, var(--night-1), var(--night-0) 70%);
}
/* v9.6 E3: 정중앙 광원 해체 — 조명은 한쪽에서, 표제(대운) 쪽으로 치우치게 */
.v12-daeun-timeline::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background: radial-gradient(55% 60% at 20% 0%, color-mix(in srgb, var(--saju-gilt) 8%, transparent), transparent 72%);
}
.v12-daeun-timeline > * { position: relative; z-index: 1; }
.v12-daeun-timeline > header { display: flex; align-items: baseline; gap: 9px; margin-bottom: 7px; }
.v12-daeun-timeline > header span { color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 700; }
.v12-daeun-timeline > header h4 { margin: 0; color: var(--night-ink); font: 600 16px/1.45 var(--serif, serif); }
.v12-daeun-timeline > p { margin: 0; color: var(--night-ink-2); font-size: 13px; line-height: 1.65; }
/* v9.3 Part3-A: 클래스로 스코프 — 예전엔 이 섹션의 유일한 direct-child div라 태그
   셀렉터로도 안전했지만, 지금은 v12-daeun-track·v12-daeun-ticks가 형제로 들어와서
   > div가 그 둘까지 잡아채 버린다(그리드·배경·보더 오염). 이름 붙여 카드 그리드만 겨냥 */
/* v9.6 E2: 3분할 격자 박스 해체 — 칸 사이 세로 괘선 하나씩만 */
.v12-daeun-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 14px; }
.v12-daeun-cards article + article { border-left: 1px solid hsl(45 22% 92% / .14); }
/* v9.3 Part3-A: position+overflow promoted from is-current-only to every card — each
   card now clips its own ghost hanja watermark (below), not just the current one */
.v12-daeun-timeline article { position: relative; overflow: hidden; min-width: 0; padding: 12px; background: transparent; }
/* v9.1 N3-A: 데모 W7 이식 — 현재 구간이 차오르는 것. 정적 틴트를 채움 오버레이로 이관해서
   "차오른다"가 성립하게 한다. media 밖 기본값은 scaleX(1)(=완성 상태) — 모션 끔·JS 없음에서
   지금과 동일하게 보임. no-preference 안에서만 0에서 시작해 .is-visible에서 채워진다 */
.v12-daeun-timeline article.is-current {
  position: relative;
  overflow: hidden;
  background: var(--night-paper-2, #1c2632);
}
.v12-daeun-timeline article.is-current::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: color-mix(in srgb, var(--saju-gilt, #d1ac52) 10%, var(--night-paper-2, #1c2632));
  transform: scaleX(1);
  transform-origin: left center;
}
.v12-daeun-timeline article.is-current > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .v12-daeun-timeline article.is-current::before {
    transform: scaleX(0);
    transition: transform .55s cubic-bezier(.2, .7, .2, 1) .15s;
  }
  .v12-daeun-timeline.is-visible article.is-current::before { transform: scaleX(1); }
}
.v12-daeun-timeline article > span, .v12-daeun-timeline article > b { display: block; color: var(--night-ink-3); font-size: 10px; font-weight: 700; }
.v12-daeun-timeline article > strong { display: block; margin: 5px 0 2px; color: var(--night-ink); font-size: 16px; }
.v12-daeun-timeline article > p { margin: 8px 0 0; color: var(--night-ink-2); font-size: 12px; line-height: 1.55; }
/* v9.3 Part3-A: 데모 W7 잔여 이식 — 대운 계기판(연속 트랙+눈금+고스트). 정밀 위치 마커는
   기준 시점(현재 정확한 나이)을 리더뷰가 안 내줘서 뺐다 — 어림값 찍느니 생략(청사진 1급 규칙).
   트랙 채움은 N3-A의 카드 틴트와 같은 곡선·타이밍으로 한 호흡에 움직인다 */
.v12-daeun-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.v12-daeun-seg { position: relative; height: 8px; border-radius: 999px; background: hsl(45 22% 92% / .14); overflow: hidden; }
/* 기본값(전 세그먼트) = 비어 있음. is-current만 별도 규칙으로 채운다 —
   "다른 두 칸은 절대 안 채워진다"를 !important 없이 명시적으로 보장 */
.v12-daeun-seg-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--saju-gilt, #d1ac52); transform: scaleX(0); transform-origin: left center; }
.v12-daeun-seg.is-current .v12-daeun-seg-fill { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  .v12-daeun-seg.is-current .v12-daeun-seg-fill { transform: scaleX(0); transition: transform .55s cubic-bezier(.2, .7, .2, 1) .15s; }
  .v12-daeun-timeline.is-visible .v12-daeun-seg.is-current .v12-daeun-seg-fill { transform: scaleX(1); }
}
.v12-daeun-ticks { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10px; color: var(--night-ink-3); font-variant-numeric: tabular-nums; }
.v12-daeun-ghost {
  position: absolute; right: -2px; bottom: -10px; z-index: 0;
  font: 700 5rem/1 var(--serif, serif); font-style: normal;
  color: hsl(45 22% 92% / .06);
  pointer-events: none; user-select: none;
}
.v12-focus-route { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 9px; margin-top: 16px; padding: 12px 0; border-block: 1px solid hsl(45 22% 92% / .14); color: var(--night-ink); text-decoration: none; }
.v12-focus-route > span { color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 700; }
.v12-focus-route > strong { font: 600 15px/1.45 var(--serif, serif); }
.v12-focus-route > small { color: var(--night-ink-3); font-size: 11px; }
.v12-delivery-route { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 0 14px; margin: 18px 0 10px; background: transparent; }
.v12-delivery-route-label { display: grid; align-items: center; padding: 6px 0; color: var(--saju-gilt, #d1ac52); background: transparent; font-size: 10px; font-weight: 700; white-space: nowrap; }
.v12-delivery-route a { display: grid; gap: 3px; min-width: 0; padding: 6px 0; border-top: 1px solid hsl(45 22% 92% / .14); background: transparent; color: var(--night-ink); text-decoration: none; }
.v12-delivery-route a:hover, .v12-delivery-route a:focus-visible { color: var(--saju-gilt, #d1ac52); }
.v12-delivery-route a b { font: 600 14px/1.4 var(--serif, serif); }
.v12-delivery-route a small { color: var(--night-ink-3); font-size: 11px; line-height: 1.4; }
.v12-feedback-summary { display: grid; grid-template-columns: auto auto auto minmax(0, 1fr); align-items: center; gap: 9px; margin: 6px 0 16px; padding: 6px 0; background: transparent; }
.v12-feedback-summary > span::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 6px 2px 0; border-radius: 50%; background: #547461; }
.v12-feedback-summary > span { color: var(--el-wood-n); font-size: 11px; font-weight: 700; }
.v12-feedback-summary > strong { color: var(--night-ink); font-size: 12px; }
.v12-feedback-summary > button { min-height: 44px; padding: 7px 12px; border: 1px solid hsl(45 22% 92% / .18); border-radius: 999px; background: transparent; color: var(--night-ink-2); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.v12-feedback-summary > button[aria-pressed="true"] { border-color: #547461; background: #547461; color: #fff; }
.v12-feedback-summary > small { color: var(--night-ink-3); font-size: 11px; text-align: right; }
.v12-reading-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 22px 0; border: 1px solid hsl(45 22% 92% / .14); background: hsl(45 22% 92% / .14); }
.v12-reading-route a { min-width: 0; padding: 12px; background: var(--night-paper-2, #1c2632); color: var(--night-ink-2); text-decoration: none; }
.v12-reading-route a:hover, .v12-reading-route a:focus-visible { background: color-mix(in srgb, var(--saju-gilt, #d1ac52) 9%, var(--night-paper-2, #1c2632)); color: var(--night-ink); }
.v12-reading-route b, .v12-reading-route span { display: block; }
.v12-reading-route b { color: var(--saju-gilt, #d1ac52); font-size: 10px; font-weight: 700; }
.v12-reading-route span { margin-top: 4px; font-size: 12px; line-height: 1.45; }
.v12-monthly-preview { margin: 24px 0; }
.v12-monthly-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid hsl(45 22% 92% / .14); background: hsl(45 22% 92% / .14); }
.v12-monthly-grid article { min-width: 0; padding: 13px; background: var(--night-paper-2, #1c2632); }
.v12-monthly-grid article > b { display: block; color: var(--saju-gilt, #d1ac52); font-size: 11px; }
.v12-monthly-grid article > strong { display: block; margin-top: 5px; color: var(--night-ink); font-size: 13px; overflow-wrap: anywhere; }
.v12-monthly-grid article > p,
.v12-monthly-table p { margin: 7px 0 0; color: var(--night-ink-2); font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.v12-rule { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 13px 0; border-bottom: 1px solid hsl(45 22% 92% / .14); }
.v12-rule b { color: var(--saju-gilt, #d1ac52); font-size: 12px; }
.v12-rule p { margin: 0; color: var(--night-ink-2); line-height: 1.7; }
.v12-closing { margin: 32px 0; padding: 20px 0; border-block: 1px solid hsl(45 22% 92% / .14); color: var(--night-ink); font: 600 20px/1.65 var(--serif, serif); }

/* V12 birth map: one calculation plate, with Saju and astrology kept equally inspectable. */
.report-birthmap {
  --birthmap-line: hsl(45 22% 92% / .16);
  --birthmap-brass: #a18449;
  --birthmap-blue: #52698f;
  margin: 8px 0 30px;
  overflow: hidden;
  border: 1px solid var(--birthmap-line);
  border-radius: 7px;
  /* v9.1 N1-2: 카드가 3000px+로 길어 그라디언트 대신 차트의 정착 톤(night-0)으로 단일 고정 */
  background: var(--night-0);
  color: var(--night-ink);
  /* v8 R1-3: 표구 마운팅 — 출생 지도는 리더의 소장 도판이라 위아래에만 금니 띠 */
  border-block: 3px solid var(--mount-line);
}
.report-birthmap-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px 16px;
  border-bottom: 1px solid var(--birthmap-line);
}
.report-birthmap-header > div { min-width: 0; }
.report-birthmap-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--birthmap-brass);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
}
.report-birthmap-header h3 {
  margin: 0;
  color: var(--night-ink);
  font: 600 20px/1.3 var(--serif, serif);
  letter-spacing: 0;
  word-break: keep-all;
}
.report-birthmap-header > p {
  margin: 0;
  color: var(--night-ink-3);
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.report-birthmap-columns {
  display: grid;
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
}
.report-birthmap-column { min-width: 0; padding: 22px; }
.report-birthmap-column + .report-birthmap-column { border-left: 1px solid var(--birthmap-line); }
/* v8 R2-3: 천원지방 — 하늘은 밤, 문서는 종이. 실제 라이브 구조는 .birthmap-map-astro(리더 에디션 v5) —
   .report-birthmap-column/.report-birthmap-astro는 미사용 레거시 렌더(renderReportBirthMapLegacy) 소속이라 손대지 않음 */
.birthmap-map-astro {
  position: relative;
  isolation: isolate;
  padding: 22px;
  border-radius: var(--r-m);
  background: linear-gradient(180deg, var(--night-1), var(--night-0) 70%);
  color: var(--night-ink-2);
}
/* v9.1 N3-D: 놋쇠 글로우 — 데모 D 이식. 차트 뒤 광원 한 점, 알파 상한 준수(≤.12) */
.birthmap-map-astro::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background: radial-gradient(closest-side at 50% 52%, color-mix(in srgb, var(--saju-gilt) 10%, transparent), transparent 72%);
}
.birthmap-map-astro > * { position: relative; z-index: 1; }
.birthmap-map-astro .birthmap-map-heading,
.birthmap-map-astro .birthmap-map-system { color: var(--night-ink); }
.birthmap-map-astro .birthmap-map-heading small { color: var(--night-ink-3); }
.birthmap-map-astro .report-birthmap-astro-caption,
.birthmap-map-astro .report-birthmap-zoom-hint { color: var(--night-ink-3); }
/* 차트 뒤 글로우 — 상한 0.12 */
.birthmap-map-astro .report-birthmap-chart-trigger { position: relative; }
.birthmap-map-astro .report-birthmap-chart-trigger::before {
  content: "";
  position: absolute; inset: -14%; z-index: -1;
  background: radial-gradient(closest-side at 50% 55%, hsl(42 52% 57% / .12), transparent 72%);
  pointer-events: none;
}
/* 차트 재채색 — 밤 지면에서 보이도록. 좌표·각도는 무변경, 색만 */
.birthmap-map-astro .report-birthmap-ring { stroke: hsl(45 22% 92% / .22); }
.birthmap-map-astro .report-birthmap-ring-brass { stroke: var(--saju-gilt); }
.birthmap-map-astro .report-birthmap-sign-tick { stroke: hsl(42 52% 57% / .5); }
.birthmap-map-astro .report-birthmap-axis { stroke: var(--saju-gilt); }
.birthmap-map-astro .report-birthmap-planet-tick { stroke: hsl(45 22% 92% / .7); }
.birthmap-map-astro .report-birthmap-planet-connector { stroke: hsl(45 22% 92% / .3); }
.birthmap-map-astro .report-birthmap-aspect-soft { stroke: hsl(217 45% 72% / .55); }
.birthmap-map-astro .report-birthmap-aspect-hard { stroke: hsl(15 45% 68% / .5); }
.birthmap-map-astro .report-birthmap-sign-label { fill: hsl(45 22% 92% / .78); }
.birthmap-map-astro .report-birthmap-house-number { fill: hsl(45 22% 92% / .5); }
.birthmap-map-astro .report-birthmap-axis-label { fill: var(--saju-gilt); }
.birthmap-map-astro .report-birthmap-planet path,
.birthmap-map-astro .report-birthmap-planet circle { stroke: var(--night-ink); }
.birthmap-map-astro .report-birthmap-planet.out path,
.birthmap-map-astro .report-birthmap-planet.out circle { stroke: hsl(45 22% 92% / .55); }
.birthmap-map-astro .report-birthmap-planet .solid { fill: var(--night-ink); }
/* v8 R3-2: 천궁도 드로우 — 링이 그어지고, 어스펙트·행성·라벨이 뒤따라 페이드. 좌표·각도 무변경, 표시 속성만.
   trigger는 R3-1과 동일한 .is-visible(bindScrollRevealMotion) */
@media (prefers-reduced-motion: no-preference) {
  .birthmap-map-astro .report-birthmap-ring,
  .birthmap-map-astro .report-birthmap-ring-brass {
    stroke-dasharray: 1200; stroke-dashoffset: 1200;
    transition: stroke-dashoffset 1.1s ease;
  }
  .birthmap-map-astro.is-visible .report-birthmap-ring,
  .birthmap-map-astro.is-visible .report-birthmap-ring-brass { stroke-dashoffset: 0; }
  .birthmap-map-astro .report-birthmap-sign-tick,
  .birthmap-map-astro .report-birthmap-sign-label,
  .birthmap-map-astro .report-birthmap-house-number { opacity: 0; transition: opacity .5s ease .12s; }
  .birthmap-map-astro .report-birthmap-axis,
  .birthmap-map-astro .report-birthmap-axis-label { opacity: 0; transition: opacity .4s ease .22s; }
  .birthmap-map-astro .report-birthmap-aspect-soft,
  .birthmap-map-astro .report-birthmap-aspect-hard { opacity: 0; transition: opacity .5s ease .3s; }
  .birthmap-map-astro .report-birthmap-planet-tick,
  .birthmap-map-astro .report-birthmap-planet-connector { opacity: 0; transition: opacity .4s ease .4s; }
  .birthmap-map-astro .report-birthmap-planet { opacity: 0; transition: opacity .5s ease .46s; }
  .birthmap-map-astro.is-visible .report-birthmap-sign-tick,
  .birthmap-map-astro.is-visible .report-birthmap-sign-label,
  .birthmap-map-astro.is-visible .report-birthmap-house-number,
  .birthmap-map-astro.is-visible .report-birthmap-axis,
  .birthmap-map-astro.is-visible .report-birthmap-axis-label,
  .birthmap-map-astro.is-visible .report-birthmap-aspect-soft,
  .birthmap-map-astro.is-visible .report-birthmap-aspect-hard,
  .birthmap-map-astro.is-visible .report-birthmap-planet-tick,
  .birthmap-map-astro.is-visible .report-birthmap-planet-connector,
  .birthmap-map-astro.is-visible .report-birthmap-planet { opacity: 1; }
}
.report-birthmap-column > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
  margin-bottom: 15px;
}
.report-birthmap-column > header h4 {
  margin: 0;
  color: var(--night-ink);
  font: 600 17px/1.35 var(--serif, serif);
  letter-spacing: 0;
  word-break: keep-all;
}
.report-birthmap-column > header span {
  color: var(--night-ink-3);
  font-size: 9px;
  line-height: 1.45;
  text-align: right;
  overflow-wrap: anywhere;
}
.report-birthmap-intro { margin: 0 0 14px; color: var(--night-ink-3); font-size: 11px; line-height: 1.6; word-break: keep-all; }
.report-birthmap-time-notice { margin: 0 0 14px; padding: 9px 10px; border-left: 2px solid var(--saju-gilt); background: color-mix(in srgb, var(--saju-gilt) 10%, transparent); color: var(--night-ink-2); font-size: 11px; line-height: 1.6; word-break: keep-all; }
.report-birthmap-time-notice b { display: block; margin-bottom: 2px; color: var(--saju-gilt); font-size: 10px; }
.report-birthmap-element-bar { margin: 14px 0; }
.report-birthmap-saju-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 232px;
  border-block: 1px solid var(--birthmap-line);
}
.report-birthmap-pillar {
  position: relative;
  display: grid;
  grid-template-rows: 24px 18px 43px 15px 43px 15px minmax(18px, auto) 8px;
  align-items: center;
  justify-items: center;
  min-width: 0;
  padding: 13px 4px 10px;
  border-right: 1px solid hsl(45 22% 92% / .1);
}
.report-birthmap-pillar:last-child { border-right: 0; }
.report-birthmap-pillar.is-day { outline: 1px solid rgba(161, 132, 73, .72); outline-offset: -1px; }
/* v8 R3-1: 네 기둥 집필 — 년(맨 오른쪽 nth-child(4))→월→일→시 순, 기둥 안은 위→아래.
   trigger는 bindScrollRevealMotion이 붙이는 .is-visible(기존 scroll-reveal 인프라 재사용) */
@media (prefers-reduced-motion: no-preference) {
  .birthmap-map-saju .report-birthmap-pillar:nth-child(4) { --pw: 0s; }
  .birthmap-map-saju .report-birthmap-pillar:nth-child(3) { --pw: 0.26s; }
  .birthmap-map-saju .report-birthmap-pillar:nth-child(2) { --pw: 0.52s; }
  .birthmap-map-saju .report-birthmap-pillar:nth-child(1) { --pw: 0.78s; }
  .birthmap-map-saju .report-birthmap-pillar > * {
    opacity: 0; transform: translateY(4px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .birthmap-map-saju.is-visible .report-birthmap-pillar > * { opacity: 1; transform: none; }
  .birthmap-map-saju .report-birthmap-pillar-position,
  .birthmap-map-saju .report-birthmap-ten-god { transition-delay: var(--pw); }
  .birthmap-map-saju .report-birthmap-hanja { transition-delay: calc(var(--pw) + 0.07s); }
  .birthmap-map-saju .report-birthmap-korean { transition-delay: calc(var(--pw) + 0.10s); }
  .birthmap-map-saju .report-birthmap-hanja.report-birthmap-branch { transition-delay: calc(var(--pw) + 0.16s); }
  .birthmap-map-saju .report-birthmap-branch + .report-birthmap-korean { transition-delay: calc(var(--pw) + 0.19s); }
  .birthmap-map-saju .report-birthmap-hidden { transition-delay: calc(var(--pw) + 0.26s); }
  .birthmap-map-saju .report-birthmap-element-mark { transition-delay: calc(var(--pw) + 0.30s); }
  /* 지목의 순간 — 네 기둥이 다 쓰인 뒤(1.25s)에야 일주 표식이 뜬다. 신규 그래픽 없음 — 기존 표식의 등장 시점만 이동 */
  .birthmap-map-saju .report-birthmap-pillar.is-day { outline-color: transparent; transition: outline-color 0.5s ease 1.25s; }
  .birthmap-map-saju.is-visible .report-birthmap-pillar.is-day { outline-color: rgba(161, 132, 73, .72); }
  .birthmap-map-saju .report-birthmap-me { transition-delay: 1.25s; }
}
.report-birthmap-pillar-position,
.report-birthmap-ten-god,
.report-birthmap-korean,
.report-birthmap-hidden {
  color: var(--night-ink-3);
  font-size: 10px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.report-birthmap-pillar-position { color: var(--night-ink-2); font-weight: 700; }
.report-birthmap-hanja {
  color: var(--night-ink);
  font: 500 31px/1 var(--serif, serif);
}
.report-birthmap-branch { margin-top: 4px; }
.report-birthmap-hidden { color: var(--night-ink-3); font-size: 10px; }
.report-birthmap-me {
  position: absolute;
  top: 7px;
  right: 5px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(161, 132, 73, .7);
  border-radius: 50%;
  color: var(--saju-gilt);
  background: var(--night-paper-2, #1c2632);
  font-size: 9px;
  font-weight: 800;
}
/* v9.1 N2: 기둥 표식도 가중값 막대와 같은 오행 토큰 — 앱 안 오행 색을 한 벌로 통일 */
.report-birthmap-element-mark { width: 12px; height: 2px; background: #8a8d93; }
.report-birthmap-pillar[data-element="목"] .report-birthmap-element-mark { background: var(--el-wood-n); }
.report-birthmap-pillar[data-element="화"] .report-birthmap-element-mark { background: var(--el-fire-n); }
.report-birthmap-pillar[data-element="토"] .report-birthmap-element-mark { background: var(--el-earth-n); }
.report-birthmap-pillar[data-element="금"] .report-birthmap-element-mark { background: var(--el-metal-n); }
.report-birthmap-pillar[data-element="수"] .report-birthmap-element-mark { background: var(--el-water-n); }
.report-birthmap-pillar.is-unknown {
  grid-template-rows: 28px 1fr;
  color: var(--night-ink-3);
  background: hsl(45 22% 92% / .025);
}
.report-birthmap-unknown {
  align-self: center;
  color: var(--night-ink-3);
  font: 500 20px/1.5 var(--serif, serif);
  text-align: center;
}
.report-birthmap-saju-info {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
}
.report-birthmap-saju-info > div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid hsl(45 22% 92% / .1);
}
.report-birthmap-saju-info > div:last-child { border-bottom: 0; }
.report-birthmap-saju-info dt { color: var(--night-ink-3); font-size: 10px; line-height: 1.55; word-break: keep-all; }
.report-birthmap-saju-info dd { margin: 0; color: var(--night-ink-2); font-size: 11px; line-height: 1.6; word-break: keep-all; }
.report-birthmap-saju-info dd b { color: var(--saju-gilt); font-size: 13px; }
.report-birthmap-saju-info dd small { display: block; margin-top: 3px; color: var(--night-ink-3); font-size: 10px; }
.report-birthmap-details {
  margin-top: 13px;
  border-top: 1px solid hsl(45 22% 92% / .10);
}
.report-birthmap-details summary {
  padding: 10px 0 7px;
  color: var(--night-ink-2);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.report-birthmap-details > dl { display: grid; gap: 0; margin: 0 0 8px; }
.report-birthmap-details > dl > div {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid hsl(45 22% 92% / .07);
}
.report-birthmap-details dt { color: var(--night-ink-3); font-size: 10px; line-height: 1.55; word-break: keep-all; }
.report-birthmap-details dd { margin: 0; color: var(--night-ink-2); font-size: 11px; line-height: 1.6; word-break: keep-all; }
.report-birthmap-chart-trigger {
  display: block;
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}
.report-birthmap-chart-trigger:focus-visible,
.report-birthmap-modal-close:focus-visible { outline: 2px solid var(--birthmap-blue); outline-offset: 3px; }
.report-birthmap-chart-trigger svg,
.report-birthmap-modal-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.report-birthmap-ring,
.report-birthmap-ring-brass,
.report-birthmap-sign-tick,
.report-birthmap-axis,
.report-birthmap-planet-tick,
.report-birthmap-planet-connector,
.report-birthmap-aspect-soft,
.report-birthmap-aspect-hard,
.report-birthmap-planet path,
.report-birthmap-planet circle {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.report-birthmap-ring { stroke: rgba(63, 72, 87, .22); stroke-width: .8; }
/* v9.6 F1: 1px 헤어라인 원이 곡률에 따라 서브픽셀 안티앨리어싱으로 일부 구간이 거의 안 보였다
   (처녀자리 인근 실측 확인) — 1.5px로 올려 전 구간 커버리지 확보. non-scaling-stroke라 화면
   실제 두께 그대로 반영됨 */
.report-birthmap-ring-brass { stroke: rgba(161, 132, 73, .72); stroke-width: 1.5; }
.report-birthmap-sign-tick { stroke: rgba(161, 132, 73, .48); stroke-width: .8; }
.report-birthmap-axis { stroke: rgba(161, 132, 73, .86); stroke-width: 1.5; }
.report-birthmap-planet-tick { stroke: rgba(43, 53, 69, .78); stroke-width: 1.05; }
.report-birthmap-planet-connector { stroke: rgba(69, 83, 108, .34); stroke-width: .65; }
.report-birthmap-aspect-soft { stroke: rgba(70, 98, 145, .45); stroke-width: .65; }
.report-birthmap-aspect-hard { stroke: rgba(151, 92, 75, .42); stroke-width: .65; stroke-dasharray: 3 3; }
.report-birthmap-sign-label,
.report-birthmap-house-number,
.report-birthmap-axis-label { dominant-baseline: middle; text-anchor: middle; }
.report-birthmap-sign-label { fill: var(--night-ink-3); font: 700 9px/1 var(--sans, sans-serif); letter-spacing: 0; }
.report-birthmap-house-number { fill: hsl(45 22% 92% / .48); font: 500 7.5px/1 sans-serif; }
.report-birthmap-axis-label { fill: var(--saju-gilt); font: 800 9px/1 sans-serif; letter-spacing: .06em; }
.report-birthmap-planet path,
.report-birthmap-planet circle { stroke: hsl(45 22% 92% / .82); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.report-birthmap-planet.lum path,
.report-birthmap-planet.lum circle { stroke-width: 1.45; }
.report-birthmap-planet.out path,
.report-birthmap-planet.out circle { stroke: hsl(217 38% 70%); stroke-width: 1.05; }
.report-birthmap-planet .solid { fill: #263650; stroke: none; }
.report-birthmap-astro-caption,
.report-birthmap-modal-caption {
  margin: 10px 0 0;
  color: var(--night-ink-3);
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
  overflow-wrap: anywhere;
}
.report-birthmap-zoom-hint { display: block; margin-top: 4px; color: var(--night-ink-3); font-size: 9px; text-align: center; }
.report-birthmap-fusion {
  display: grid;
  gap: 7px;
  padding: 18px 22px 20px;
  border-top: 1px solid var(--birthmap-line);
}
.report-birthmap-fusion > span { color: var(--birthmap-brass); font-size: 10px; font-weight: 700; }
.report-birthmap-fusion > p { max-width: 48ch; margin: 0; color: var(--night-ink); font: 600 17px/1.58 var(--serif, serif); word-break: keep-all; }
.report-birthmap-fusion > small { max-width: 62ch; color: var(--night-ink-2); font-size: 12px; line-height: 1.65; word-break: keep-all; }
.report-birthmap-modal[hidden] { display: none; }
.report-birthmap-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: auto;
  background: rgba(5, 8, 14, .76);
  overscroll-behavior: contain;
}
.report-birthmap-modal-box {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: 28px 24px 22px;
  border: 1px solid rgba(161, 132, 73, .5);
  border-radius: 7px;
  background: var(--night-paper-2, #1c2632);
}
.report-birthmap-modal-close {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--night-ink-2);
  font-size: 17px;
  cursor: pointer;
}
.report-birthmap-modal-chart { width: min(560px, 100%); margin: 12px auto 0; }
.report-birthmap-modal-insight { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 14px 0 0; border-top: 1px solid var(--birthmap-line); }
.report-birthmap-modal-insight > div { min-width: 0; padding: 12px 8px 0; text-align: center; }
.report-birthmap-modal-insight dt { color: var(--night-ink-3); font-size: 9px; }
.report-birthmap-modal-insight dd { margin: 4px 0 0; color: var(--night-ink-2); font-size: 12px; overflow-wrap: anywhere; }

/* Reader atlas: the original maps lead; explanations follow each system. */
.report-birthmap-reader { max-width: 820px; margin: 38px auto 42px; border-radius: 7px; }
@media (min-width: 720px) {
  .reader-edition-v12 .report-birthmap-reader {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
  }
}
.report-birthmap-header-reader { align-items: start; padding: 26px 30px 22px; }
.report-birthmap-heading-group { max-width: 56ch; }
.report-birthmap-reader .report-birthmap-header h3 { font-size: var(--fs-27); line-height: 1.25; }
.report-birthmap-purpose { margin: 9px 0 0; color: var(--night-ink-3); font-size: 13px; line-height: 1.65; word-break: keep-all; }
.birthmap-explanation { border-top: 1px solid var(--birthmap-line); }
.birthmap-guide, .birthmap-bridge { padding: 17px 30px; }
.birthmap-guide-summary, .birthmap-bridge-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; margin: 0; color: var(--night-ink-2); font-size: 12px; line-height: 1.7; word-break: keep-all; }
.birthmap-guide-segment { display: block; min-width: 0; }
.birthmap-guide-segment strong { color: var(--saju-gilt); font-weight: 800; }
.birthmap-bridge { border-top: 1px solid var(--birthmap-line); }
.birthmap-bridge-summary { color: var(--night-ink-2); }
/* v9.5 T2: 두 체계가 만나는 지점 — 차트 다음의 두 번째 쇼케이스로, 같은 그라디언트 어법 재사용 */
.birthmap-system-bridge {
  position: relative;
  isolation: isolate;
  padding: 30px;
  border-top: 1px solid var(--birthmap-line);
  background: linear-gradient(180deg, var(--night-1), var(--night-panel-raised) 70%);
}
/* v9.6 E3: 정중앙 광원 해체 — 헤더 라벨(span) 쪽으로 치우치게 */
.birthmap-system-bridge::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background: radial-gradient(55% 60% at 18% 0%, color-mix(in srgb, var(--saju-gilt) 7%, transparent), transparent 72%);
}
.birthmap-system-bridge > * { position: relative; z-index: 1; }
.birthmap-system-bridge > span { color: var(--saju-gilt); font-size: 11px; font-weight: 700; }
.birthmap-system-bridge h4 { margin: 6px 0 18px; color: var(--night-ink); font-size: 20px; line-height: 1.45; }
.birthmap-system-bridge dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; }
.birthmap-system-bridge dl > div { padding-top: 12px; border-top: 1px solid hsl(42 52% 57% / .35); }
.birthmap-system-bridge dt { color: var(--saju-gilt); font-size: 12px; font-weight: 700; }
.birthmap-system-bridge dd { margin: 6px 0 0; color: var(--night-ink-2); font-size: 14px; line-height: 1.75; word-break: keep-all; }
.report-birthmap-unavailable { padding: 34px 30px; border: 1px solid var(--birthmap-line); background: var(--night-paper-2); }
.report-birthmap-unavailable > span { color: var(--saju-gilt); font-size: 11px; font-weight: 700; }
.report-birthmap-unavailable h3 { margin: 8px 0; font-size: 22px; }
.report-birthmap-unavailable p { margin: 0; color: var(--night-ink-2); line-height: 1.7; }
.birthmap-system-reading { padding: 34px 30px 32px; border-top: 1px solid var(--birthmap-line); }
.birthmap-system-header { display: grid; gap: 8px; max-width: 62ch; }
.birthmap-section-kicker { color: var(--saju-gilt); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.birthmap-system-header h4 { margin: 0; color: var(--night-ink); font: 600 23px/1.42 var(--serif, serif); word-break: keep-all; }
.birthmap-system-header > p { margin: 3px 0 0; color: var(--night-ink-2); font-size: 14px; line-height: 1.85; word-break: keep-all; }
.birthmap-system-core { display: grid; align-items: start; gap: 28px; margin-top: 25px; }
.birthmap-system-saju .birthmap-system-core { display: block; }
.birthmap-system-astrology { container-type: inline-size; }
.birthmap-system-astrology .birthmap-system-core { grid-template-columns: minmax(340px, 53fr) minmax(0, 47fr); }
.birthmap-system-map { position: sticky; top: 16px; min-width: 0; }
.birthmap-system-saju .birthmap-system-map { position: static; }
.birthmap-system-saju .birthmap-system-content { margin-top: 28px; }
.birthmap-map-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.birthmap-map-system { color: var(--night-ink); font: 600 18px/1.35 var(--serif, serif); }
.birthmap-map-heading small { color: var(--night-ink-3); font-size: 10px; line-height: 1.45; text-align: right; }
.report-birthmap-reader .report-birthmap-saju-grid { min-height: 214px; }
.report-birthmap-reader .report-birthmap-chart-trigger { width: 100%; }

.birthmap-system-compact { display: grid; align-items: start; gap: 22px; margin-top: 23px; }
.birthmap-system-astrology .birthmap-system-compact { grid-template-columns: minmax(300px, 1.08fr) minmax(0, .92fr); }
.birthmap-system-compact .birthmap-system-map { position: static; }
.birthmap-fact-preview { min-width: 0; align-self: start; border-block: 1px solid hsl(45 22% 92% / .12); }
.birthmap-fact-preview-kicker { display: block; padding: 11px 0 8px; color: var(--saju-gilt); font-size: 10px; font-weight: 700; letter-spacing: 0; }
.birthmap-fact-preview dl { margin: 0; }
.birthmap-fact-preview dl > div { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 14px; padding: 12px 0; border-top: 1px solid hsl(45 22% 92% / .1); }
.birthmap-fact-preview dt { color: var(--night-ink-3); font-size: 10px; font-weight: 750; line-height: 1.55; }
.birthmap-fact-preview dd { margin: 0; color: var(--night-ink); font: 600 13px/1.62 var(--serif, serif); word-break: keep-all; }
.birthmap-system-saju .birthmap-fact-preview dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.birthmap-system-saju .birthmap-fact-preview dl > div { display: block; min-width: 0; padding: 13px 15px; border-right: 1px solid hsl(45 22% 92% / .1); }
.birthmap-system-saju .birthmap-fact-preview dl > div:last-child { border-right: 0; }
.birthmap-system-saju .birthmap-fact-preview dd { margin-top: 5px; }
.birthmap-deep-disclosure { margin-top: 24px; border-top: 1px solid hsl(45 22% 92% / .14); }
.birthmap-deep-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 13px 0;
  border-radius: 6px;
  padding-inline: 12px;
  background: color-mix(in srgb, var(--saju-gilt) 4%, transparent);
  color: var(--night-ink-2);
  cursor: pointer;
  list-style: none;
}
.birthmap-deep-disclosure > summary::-webkit-details-marker { display: none; }
.birthmap-deep-disclosure > summary::after { content: '+'; flex: 0 0 auto; color: var(--saju-gilt); font-size: 20px; font-weight: 400; }
.birthmap-deep-disclosure[open] > summary::after { content: '−'; }
.birthmap-deep-disclosure > summary > span { color: var(--night-ink); font: 600 15px/1.5 var(--serif, serif); }
.birthmap-deep-disclosure > summary > small { margin-left: auto; color: var(--night-ink-3); font-size: 10px; line-height: 1.5; text-align: right; }
.birthmap-deep-disclosure > .birthmap-system-content { padding: 8px 0 4px; }
.birthmap-time-boundary { margin: 12px 0 0; padding: 11px 13px; border-left: 2px solid var(--saju-gilt); background: color-mix(in srgb, var(--saju-gilt) 10%, transparent); color: var(--night-ink-2); font-size: 11px; line-height: 1.7; word-break: keep-all; }
.birthmap-time-boundary b { margin-right: 8px; color: var(--saju-gilt); font-size: 10px; }

.birthmap-pillar-marker-panel { border-top: 1px solid hsl(42 52% 57% / .22); }
.birthmap-pillar-marker-title { margin: 0; padding: 9px 6px 7px; color: var(--saju-gilt); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-align: center; }
.birthmap-pillar-marker-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid hsl(45 22% 92% / .09); }
.birthmap-pillar-marker-cell { min-width: 0; min-height: 106px; padding: 0 6px; text-align: center; border-right: 1px solid hsl(45 22% 92% / .09); }
.birthmap-pillar-marker-cell:last-child { border-right: 0; }
.birthmap-pillar-marker-cell.is-time-sensitive { background: hsl(42 52% 57% / .035); }
.birthmap-pillar-time-flag { display: block; margin: 5px -2px 0; color: var(--saju-gilt); font-size: 9px; font-weight: 800; line-height: 1.35; }
.birthmap-pillar-marker-group { min-height: 49px; padding: 7px 0; }
.birthmap-pillar-marker-group + .birthmap-pillar-marker-group { border-top: 1px solid hsl(45 22% 92% / .1); }
.birthmap-pillar-marker-kind { display: block; margin-bottom: 3px; color: var(--night-ink-3); font-size: 9px; font-weight: 800; letter-spacing: 0; line-height: 1.4; }
.birthmap-pillar-marker { display: block; color: var(--night-ink-2); font-size: 10px; font-weight: 700; line-height: 1.55; word-break: keep-all; }
.birthmap-pillar-marker-twelve { color: var(--saju-gilt); font: 600 12px/1.45 var(--serif, serif); }
.birthmap-pillar-marker + .birthmap-pillar-marker { margin-top: 2px; }
.birthmap-pillar-marker-empty { color: var(--night-ink-3); font-size: 9px; line-height: 1.5; }
.birthmap-marker-trigger { width: 100%; min-height: 36px; margin: 0; padding: 5px 2px; border: 0; border-bottom: 1px dotted rgba(89,96,106,.45); border-radius: 0; background: transparent; font-family: inherit; cursor: help; touch-action: manipulation; }
.birthmap-marker-trigger:hover, .birthmap-marker-trigger:focus-visible { color: var(--saju-gilt); border-bottom-color: currentColor; outline: 0; }
.birthmap-marker-trigger:focus-visible { box-shadow: 0 2px 0 hsl(42 52% 57% / .28); }
.birthmap-marker-popover { position: fixed; z-index: 9999; width: min(310px, calc(100vw - 24px)); padding: 17px 18px 16px; border: 1px solid hsl(42 52% 57% / .38); border-radius: 6px; background: var(--night-paper-2); box-shadow: 0 12px 30px rgba(0, 0, 0, .4); color: var(--night-ink-2); }
.birthmap-marker-popover[hidden] { display: none !important; }
.birthmap-marker-popover-header { display: grid; gap: 3px; padding-bottom: 10px; border-bottom: 1px solid hsl(45 22% 92% / .1); }
.birthmap-marker-popover-header > span { color: var(--saju-gilt); font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.birthmap-marker-popover-header h6 { margin: 0; color: var(--night-ink); font: 600 19px/1.4 var(--serif, serif); }
.birthmap-marker-popover-basis { margin: 10px 0 0; color: var(--night-ink-3); font-size: 10px; line-height: 1.6; word-break: keep-all; }
.birthmap-marker-popover-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; margin-top: 11px; }
.birthmap-marker-popover-row strong { color: var(--night-ink); font-size: 10px; line-height: 1.65; }
.birthmap-marker-popover-row p { margin: 0; color: var(--night-ink-2); font-size: 12px; line-height: 1.7; word-break: keep-all; }
.birthmap-marker-popover-row.is-caution { padding-top: 10px; border-top: 1px solid hsl(45 22% 92% / .1); }
.birthmap-marker-popover-sensitive { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid hsl(45 22% 92% / .1); color: var(--night-ink-3); font-size: 9px; line-height: 1.6; }

.birthmap-element-profile { margin-top: 16px; padding: 18px 0 4px; border-block: 1px solid hsl(45 22% 92% / .12); }
.birthmap-element-header { display: grid; grid-template-columns: minmax(0,1fr) minmax(250px,1.25fr); gap: 22px; align-items: end; margin-bottom: 13px; }
.birthmap-element-heading { display: grid; gap: 3px; }
.birthmap-element-heading strong { color: var(--night-ink); font: 600 16px/1.45 var(--serif, serif); }
.birthmap-element-heading span, .birthmap-element-header > p { margin: 0; color: var(--night-ink-3); font-size: 11px; line-height: 1.65; word-break: keep-all; }
.birthmap-element-header > p { text-align: right; }
.birthmap-element-rows { border-top: 1px solid hsl(45 22% 92% / .1); }
.birthmap-element-row { display: grid; grid-template-columns: 116px minmax(0,1fr) 62px; gap: 16px; align-items: center; min-height: 38px; border-bottom: 1px solid hsl(45 22% 92% / .07); }
.birthmap-element-row:last-child { border-bottom: 0; }
.birthmap-element-label { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.birthmap-element-label strong { font: 600 15px/1.4 var(--serif, serif); }
.birthmap-element-label span { color: var(--night-ink-3); font-size: 10px; white-space: nowrap; }
.birthmap-element-track { height: 7px; background: hsl(45 22% 92% / .07); }
.birthmap-element-fill { display: block; min-width: 4px; height: 100%; }
.birthmap-element-value { display: grid; justify-items: end; align-content: center; gap: 1px; font-variant-numeric: tabular-nums; }
.birthmap-element-value strong { color: var(--night-ink); font-size: 12px; }
.birthmap-element-value span { color: var(--night-ink-3); font-size: 8px; line-height: 1.2; }
.birthmap-element-wood .birthmap-element-label strong { color: var(--el-wood-n); } .birthmap-element-wood .birthmap-element-fill { background: var(--el-wood-n); }
.birthmap-element-fire .birthmap-element-label strong { color: var(--el-fire-n); } .birthmap-element-fire .birthmap-element-fill { background: var(--el-fire-n); }
.birthmap-element-earth .birthmap-element-label strong { color: var(--el-earth-n); } .birthmap-element-earth .birthmap-element-fill { background: var(--el-earth-n); }
.birthmap-element-metal .birthmap-element-label strong { color: var(--el-metal-n); } .birthmap-element-metal .birthmap-element-fill { background: var(--el-metal-n); }
.birthmap-element-water .birthmap-element-label strong { color: var(--el-water-n); } .birthmap-element-water .birthmap-element-fill { background: var(--el-water-n); }

.birthmap-key-guide { margin: 0; border-block: 1px solid hsl(45 22% 92% / .1); }
.birthmap-key-guide > summary { padding: 12px 0; color: var(--night-ink-2); font-size: 12px; font-weight: 800; cursor: pointer; }
.birthmap-key-guide[open] > summary { color: var(--saju-gilt); }
.birthmap-reading-keys { display: grid; grid-template-columns: 1fr; margin: 0; }
.birthmap-system-saju .birthmap-reading-keys { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 26px; }
.birthmap-reading-key { padding: 13px 0; border-bottom: 1px solid hsl(45 22% 92% / .1); }
.birthmap-reading-key dt { display: flex; align-items: baseline; gap: 8px; color: var(--night-ink); font: 600 14px/1.5 var(--serif, serif); }
.birthmap-reading-key dt > span { color: var(--saju-gilt); font: 800 8px/1 var(--sans, sans-serif); letter-spacing: .08em; }
.birthmap-reading-key dd { margin: 4px 0 0; color: var(--night-ink-2); font-size: 12px; line-height: 1.7; word-break: keep-all; }
.birthmap-facts { margin: 22px 0 0; border-top: 1px solid hsl(45 22% 92% / .14); }
.birthmap-fact { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 16px; padding: 17px 0; border-bottom: 1px solid hsl(45 22% 92% / .1); }
.birthmap-fact dt { display: grid; align-content: start; gap: 4px; color: var(--saju-gilt); font-size: 12px; font-weight: 800; line-height: 1.65; }
.birthmap-fact dt > small { color: var(--night-ink-3); font-size: 9px; font-weight: 700; line-height: 1.45; }
.birthmap-fact dd { margin: 0; }
.birthmap-fact strong { display: block; color: var(--night-ink); font: 600 16px/1.55 var(--serif, serif); word-break: keep-all; }
.birthmap-fact p { margin: 6px 0 0; color: var(--night-ink-2); font-size: 13px; line-height: 1.8; word-break: keep-all; }

.birthmap-saju-reading { margin-top: 24px; padding-top: 26px; border-top: 1px solid hsl(45 22% 92% / .16); }
.birthmap-saju-reading-header { display: grid; gap: 6px; max-width: 72ch; }
.birthmap-saju-reading-header > span { color: var(--saju-gilt); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.birthmap-saju-reading-header h5 { margin: 0; color: var(--night-ink); font: 600 20px/1.48 var(--serif, serif); word-break: keep-all; }
.birthmap-saju-reading-header p { margin: 0; color: var(--night-ink-3); font-size: 12px; line-height: 1.75; word-break: keep-all; }
.birthmap-saju-facts { margin-top: 20px; border-top: 1px solid hsl(45 22% 92% / .14); }
.birthmap-saju-fact { padding: 25px 0 26px; border-bottom: 1px solid hsl(45 22% 92% / .12); }
.birthmap-saju-fact-header { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; gap: 12px; align-items: start; }
.birthmap-saju-fact-number { padding-top: 5px; color: var(--saju-gilt); font-size: 9px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.birthmap-saju-fact-header > div { min-width: 0; }
.birthmap-saju-fact-header small { display: block; margin-bottom: 3px; color: var(--saju-gilt); font-size: 10px; font-weight: 800; line-height: 1.45; }
.birthmap-saju-fact-header h6 { margin: 0; color: var(--night-ink); font: 600 18px/1.55 var(--serif, serif); word-break: keep-all; }
.birthmap-saju-fact-status { margin-top: 3px; padding-left: 10px; border-left: 2px solid hsl(42 52% 57% / .5); color: var(--saju-gilt); font-size: 10px; font-weight: 800; line-height: 1.55; white-space: nowrap; }
.birthmap-saju-fact-value { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 14px; align-items: baseline; margin: 15px 0 0 42px; padding: 10px 0; border-block: 1px solid hsl(45 22% 92% / .1); }
.birthmap-saju-fact-value > span { color: var(--night-ink-3); font-size: 9px; font-weight: 800; line-height: 1.6; }
.birthmap-saju-fact-value > strong { color: var(--night-ink); font: 600 15px/1.6 var(--serif, serif); font-variant-numeric: tabular-nums; word-break: keep-all; }
.birthmap-saju-fact-summary { max-width: 68ch; margin: 14px 0 0 42px; color: var(--night-ink-2); font-size: 13px; line-height: 1.85; word-break: keep-all; }
.birthmap-saju-fact-reading { max-width: 68ch; margin: 13px 0 0 42px; padding-left: 13px; border-left: 2px solid hsl(42 52% 57% / .46); color: var(--night-ink-2); font-size: 13px; line-height: 1.85; word-break: keep-all; }
.birthmap-saju-fact-reading strong, .birthmap-saju-fact-check strong { display: block; margin-bottom: 2px; color: var(--night-ink); font-size: 10px; font-weight: 800; line-height: 1.6; }
.birthmap-saju-fact-check { max-width: 68ch; margin: 12px 0 0 42px; color: var(--night-ink-2); font-size: 12px; line-height: 1.8; word-break: keep-all; }
.birthmap-saju-fact-details { margin: 15px 0 0 42px; border-top: 1px solid hsl(45 22% 92% / .1); }
.birthmap-saju-fact-details > summary { min-height: 44px; padding: 12px 0 10px; color: var(--night-ink-3); font-size: 11px; font-weight: 800; line-height: 1.7; cursor: pointer; }
.birthmap-saju-fact-details[open] > summary { color: var(--saju-gilt); }
.birthmap-saju-fact-details dl { margin: 0; border-top: 1px solid hsl(45 22% 92% / .07); }
.birthmap-saju-fact-details dl > div { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid hsl(45 22% 92% / .07); }
.birthmap-saju-fact-details dt { color: var(--saju-gilt); font-size: 10px; font-weight: 800; line-height: 1.7; }
.birthmap-saju-fact-details dd { margin: 0; color: var(--night-ink-3); font-size: 11px; line-height: 1.75; word-break: keep-all; }
.birthmap-saju-reading-note { max-width: 70ch; margin: 18px 0 0; color: var(--night-ink-3); font-size: 11px; line-height: 1.75; word-break: keep-all; }
.birthmap-astro-starter { margin-top: 22px; padding-top: 20px; border-top: 1px solid hsl(45 22% 92% / .12); }
.birthmap-astro-starter > header { display: grid; gap: 5px; }
.birthmap-astro-starter h5 { margin: 0; color: var(--night-ink); font: 600 17px/1.45 var(--serif, serif); }
.birthmap-astro-starter header p { margin: 0; color: var(--night-ink-3); font-size: 11px; line-height: 1.7; word-break: keep-all; }
.birthmap-astro-starter dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 14px 0 0; border-top: 1px solid hsl(45 22% 92% / .09); }
.birthmap-astro-starter dl > div { min-width: 0; padding: 12px 10px 12px 0; border-bottom: 1px solid hsl(45 22% 92% / .09); }
.birthmap-astro-starter dl > div:nth-child(odd) { padding-right: 14px; }
.birthmap-astro-starter dt { color: var(--night-ink); font: 700 12px/1.45 var(--sans, sans-serif); }
.birthmap-astro-starter dt > em { display: inline-block; margin-left: 5px; color: var(--saju-gilt); font-size: 9px; font-style: normal; font-weight: 800; }
.birthmap-astro-starter dt small { display: block; margin-top: 2px; color: var(--night-ink-3); font-size: 9px; font-weight: 500; line-height: 1.5; }
.birthmap-astro-starter dd { margin: 6px 0 0; color: var(--night-ink-2); font-size: 11px; line-height: 1.6; word-break: keep-all; }
.birthmap-astro-detail { margin-top: 34px; padding-top: 28px; border-top: 1px solid hsl(45 22% 92% / .16); }
.birthmap-astro-detail > header { display: grid; gap: 6px; max-width: 72ch; }
.birthmap-astro-detail > header > span { color: var(--saju-gilt); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.birthmap-astro-detail > header h5 { margin: 0; color: var(--night-ink); font: 600 20px/1.45 var(--serif, serif); word-break: keep-all; }
.birthmap-astro-detail > header p { margin: 0; color: var(--night-ink-2); font-size: 13px; line-height: 1.8; word-break: keep-all; }
.birthmap-astro-placement-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 30px; margin-top: 20px; border-top: 1px solid hsl(45 22% 92% / .11); }
.birthmap-astro-placement { min-width: 0; padding: 20px 0 22px; border-bottom: 1px solid hsl(45 22% 92% / .11); }
.birthmap-astro-placement > header { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 10px; }
.birthmap-astro-placement > header > span { padding-top: 5px; color: var(--saju-gilt); font-size: 9px; font-weight: 800; }
.birthmap-astro-placement h6 { margin: 0; color: var(--night-ink); font: 600 16px/1.55 var(--serif,serif); word-break: keep-all; }
.birthmap-astro-placement header p { margin: 4px 0 0; color: var(--night-ink-3); font-size: 11px; line-height: 1.65; word-break: keep-all; }
.birthmap-astro-placement dl { display: grid; gap: 8px; margin: 14px 0 0 36px; }
.birthmap-astro-placement dl > div { display: grid; grid-template-columns: 94px minmax(0,1fr); gap: 10px; }
.birthmap-astro-placement dt { color: var(--saju-gilt); font-size: 10px; font-weight: 800; line-height: 1.65; }
.birthmap-astro-placement dd { margin: 0; color: var(--night-ink-2); font-size: 12px; line-height: 1.7; word-break: keep-all; }
.birthmap-astro-placement-reading { margin: 14px 0 0 36px; padding-left: 12px; border-left: 2px solid hsl(42 52% 57% / .42); color: var(--night-ink-2); font-size: 13px; line-height: 1.8; word-break: keep-all; }
.birthmap-astro-placement-reading strong { display: block; margin-bottom: 2px; color: var(--night-ink); font-size: 11px; }
.birthmap-astro-method-note { max-width: 72ch; margin: 16px 0 0; color: var(--night-ink-3); font-size: 11px; line-height: 1.75; word-break: keep-all; }
.birthmap-astro-aspects { margin-top: 36px; }
.birthmap-astro-aspect-list { margin-top: 18px; border-top: 1px solid hsl(45 22% 92% / .11); }
.birthmap-astro-aspect { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid hsl(45 22% 92% / .11); }
.birthmap-astro-aspect > header { display: grid; align-content: start; gap: 6px; }
.birthmap-astro-aspect h6 { margin: 0; color: var(--night-ink); font: 600 15px/1.5 var(--serif,serif); }
.birthmap-astro-aspect header > span { color: var(--saju-gilt); font-size: 11px; font-weight: 800; }
.birthmap-astro-aspect header small { margin-left: 6px; color: var(--night-ink-3); font-size: 9px; font-weight: 600; }
.birthmap-astro-aspect > p { margin: 0; color: var(--night-ink-2); font-size: 13px; line-height: 1.8; word-break: keep-all; }
.birthmap-subsection { margin-top: 30px; padding-top: 26px; border-top: 1px solid hsl(45 22% 92% / .14); }
.birthmap-subsection h5 { margin: 0; color: var(--night-ink); font: 600 18px/1.45 var(--serif, serif); }
.birthmap-subsection-lead { max-width: 62ch; margin: 9px 0 0; color: var(--night-ink-2); font-size: 13px; line-height: 1.8; word-break: keep-all; }
.birthmap-simple-rows { margin: 15px 0 0; border-top: 1px solid hsl(45 22% 92% / .1); }
.birthmap-simple-row { display: grid; grid-template-columns: 126px minmax(0,1fr); gap: 22px; padding: 13px 0; border-bottom: 1px solid hsl(45 22% 92% / .09); }
.birthmap-simple-row dt { color: var(--saju-gilt); font-size: 12px; font-weight: 800; }
.birthmap-simple-row dd { margin: 0; color: var(--night-ink-2); font-size: 13px; line-height: 1.75; word-break: keep-all; }
.birthmap-marker-stories { margin-top: 17px; border-top: 1px solid hsl(45 22% 92% / .12); }
.birthmap-marker-story { padding: 20px 0 21px; border-bottom: 1px solid hsl(45 22% 92% / .1); }
.birthmap-marker-story-header { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 14px; }
.birthmap-marker-story-number { padding-top: 3px; color: var(--saju-gilt); font-size: 10px; font-weight: 800; }
.birthmap-marker-story-heading { display: grid; gap: 4px; }
.birthmap-marker-story-heading small { color: var(--saju-gilt); font-size: 10px; font-weight: 800; }
.birthmap-marker-story-heading h6 { margin: 0; color: var(--night-ink); font: 600 17px/1.5 var(--serif, serif); word-break: keep-all; }
.birthmap-marker-story > p { max-width: 64ch; margin: 11px 0 0 48px; color: var(--night-ink-2); font-size: 14px; line-height: 1.9; word-break: keep-all; }
.birthmap-marker-conclusion { max-width: 66ch; margin: 18px 0 0; padding-left: 15px; border-left: 2px solid hsl(42 52% 57% / .52); color: var(--night-ink-2); font-size: 13px; line-height: 1.85; word-break: keep-all; }
.birthmap-combined-details > summary { padding: 17px 30px; color: var(--night-ink-2); font-size: 12px; font-weight: 700; cursor: pointer; }
.birthmap-detail-body { padding: 0 30px 24px; }
.birthmap-detail-notices { display: grid; gap: 8px; }

@container (max-width: 680px) {
  .birthmap-system-astrology .birthmap-system-core { grid-template-columns: 1fr; gap: 24px; }
  .birthmap-system-astrology .birthmap-system-compact { grid-template-columns: 1fr; gap: 18px; }
  .birthmap-system-astrology .birthmap-system-map { position: static; }
  .birthmap-system-astrology .birthmap-system-content { width: 100%; }
}

@media (max-width: 680px) {
  .report-birthmap { margin-inline: -2px; }
  .report-birthmap-header { align-items: start; padding: 16px 17px 14px; }
  .report-birthmap-header > p { max-width: 18ch; text-align: right; }
  .report-birthmap-columns { grid-template-columns: 1fr; }
  .report-birthmap-column { padding: 18px 16px; }
  .report-birthmap-column + .report-birthmap-column { border-top: 1px solid var(--birthmap-line); border-left: 0; }
  .report-birthmap-column > header { align-items: start; }
  .report-birthmap-column > header span { max-width: 19ch; }
  .report-birthmap-saju-grid { min-height: 216px; }
  .report-birthmap-pillar { grid-template-rows: 22px 17px 38px 14px 38px 14px minmax(17px, auto) 8px; padding-inline: 2px; }
  .report-birthmap-hanja { font-size: 28px; }
  .report-birthmap-saju-info > div { grid-template-columns: 98px minmax(0, 1fr); }
  .report-birthmap-chart-trigger { width: min(100%, 350px); }
  .birthmap-saju-reading { margin-top: 20px; padding-top: 22px; }
  .birthmap-saju-reading-header h5 { font-size: 18px; }
  .birthmap-saju-reading-header p { font-size: 11px; }
  .birthmap-saju-fact { padding: 22px 0 23px; }
  .birthmap-saju-fact-header { grid-template-columns: 24px minmax(0,1fr); gap: 9px; }
  .birthmap-saju-fact-header h6 { font-size: 17px; }
  .birthmap-saju-fact-status { grid-column: 2; width: max-content; margin-top: 2px; }
  .birthmap-saju-fact-value, .birthmap-saju-fact-summary, .birthmap-saju-fact-reading, .birthmap-saju-fact-check, .birthmap-saju-fact-details { margin-left: 33px; }
  .birthmap-saju-fact-value { grid-template-columns: 58px minmax(0,1fr); gap: 9px; }
  .birthmap-saju-fact-value > strong { font-size: 14px; }
  .birthmap-saju-fact-summary, .birthmap-saju-fact-reading { font-size: var(--fs-12); line-height: 1.82; }
  .birthmap-saju-fact-details dl > div { grid-template-columns: 1fr; gap: 4px; }
  .report-birthmap-fusion { padding: 17px 17px 19px; }
  .report-birthmap-fusion > p { font-size: 16px; }
  .report-birthmap-modal { padding: 8px; }
  .report-birthmap-modal-box { max-height: calc(100dvh - 16px); padding: 28px 10px 18px; }
  .report-birthmap-reader { width: 100%; margin: 28px 0 32px; transform: none; }
  .report-birthmap-header-reader { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 20px 17px 17px; }
  .report-birthmap-header-reader > p { max-width: none; text-align: left; white-space: nowrap; overflow-wrap: normal; }
  .report-birthmap-reader .report-birthmap-header h3 { font-size: var(--fs-22); }
  .report-birthmap-purpose { font-size: 12px; }
  .birthmap-guide, .birthmap-bridge, .birthmap-system-reading { padding-left: 17px; padding-right: 17px; }
  .birthmap-guide-summary, .birthmap-bridge-summary { grid-template-columns: 1fr; gap: 5px; }
  .birthmap-system-bridge { padding: 24px 17px; }
  .birthmap-system-bridge dl { grid-template-columns: 1fr; gap: 14px; }
  .birthmap-system-header h4 { font-size: 20px; }
  .birthmap-system-compact,
  .birthmap-system-astrology .birthmap-system-compact { grid-template-columns: 1fr; gap: 17px; }
  .birthmap-system-saju .birthmap-fact-preview dl { grid-template-columns: 1fr; }
  .birthmap-system-saju .birthmap-fact-preview dl > div { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 10px; padding: 11px 0; border-right: 0; }
  .birthmap-system-saju .birthmap-fact-preview dd { margin-top: 0; }
  .birthmap-deep-disclosure { margin-top: 19px; }
  .birthmap-deep-disclosure > summary { align-items: start; min-height: 58px; }
  .birthmap-deep-disclosure > summary > small { max-width: 15ch; }
  .birthmap-system-astrology .birthmap-system-core { grid-template-columns: 1fr; gap: 20px; }
  .birthmap-system-map { position: static; }
  .birthmap-system-saju .birthmap-system-content { margin-top: 20px; }
  .birthmap-system-saju .birthmap-reading-keys { grid-template-columns: 1fr; }
  .birthmap-element-header { grid-template-columns: 1fr; gap: 5px; }
  .birthmap-element-header > p { text-align: left; }
  .birthmap-element-row { grid-template-columns: 96px minmax(0,1fr) 56px; gap: 10px; }
  .birthmap-element-label { display: grid; gap: 0; }
  .birthmap-marker-trigger { min-height: 44px; cursor: pointer; }
  .birthmap-marker-popover-row { grid-template-columns: 1fr; gap: 3px; }
  .birthmap-fact, .birthmap-simple-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .birthmap-marker-story-header { grid-template-columns: 28px minmax(0,1fr); gap: 10px; }
  .birthmap-marker-story > p { margin-left: 38px; font-size: 13px; line-height: 1.85; }
  .birthmap-astro-starter dl { grid-template-columns: 1fr; }
  .birthmap-astro-starter dl > div, .birthmap-astro-starter dl > div:nth-child(odd) { padding-right: 0; }
  .birthmap-astro-detail { margin-top: 28px; padding-top: 24px; }
  .birthmap-astro-detail > header h5 { font-size: 18px; }
  .birthmap-astro-placement-grid { grid-template-columns: 1fr; gap: 0; }
  .birthmap-astro-placement dl > div { grid-template-columns: 82px minmax(0,1fr); }
  .birthmap-astro-aspect { grid-template-columns: 1fr; gap: 9px; }
  .birthmap-combined-details > summary { padding: 16px 17px; }
  .birthmap-detail-body { padding: 0 17px 20px; }
}
@media (max-width: 480px) {
  .reader-life-section,
  .reader-flow,
  .reader-manual { padding: 23px 0; }
  .reader-portrait-lead { font-size: var(--fs-27); }
  .reader-life-prose { font-size: 15px; line-height: 1.8; }
  .reader-life-section h3,
  .reader-flow h3,
  .reader-manual h3 { font-size: 20px; }
  .reader-edition-v12 .v12-cover { padding-bottom: 18px; }
  .reader-edition-v12 .v12-type-profile { padding: 18px 14px 14px; }
  .reader-edition-v12 .v12-type-profile dl { grid-template-columns: 1fr; gap: 10px; }
  .reader-edition-v12 .v12-type-profile dl div { padding-left: 0; }
  .reader-edition-v12 .v12-type-profile dl div + div { padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--saju-gilt, #d1ac52) 30%, transparent); border-left: 0; }
  .reader-edition-v12 .v12-cover .report-title { line-height: 1.28; }
  .reader-edition-v12 .v12-cover .reader-portrait-lead { max-width: none; font-size: 18px; line-height: 1.68; }
  .v12-section-heading h3 { font-size: 20px; }
  .v12-thesis { font-size: 17px; }
  .v12-identity-grid,
  .v12-monthly-grid { grid-template-columns: 1fr; }
  .v12-daeun-cards { grid-template-columns: 1fr; }
  .v12-daeun-cards article + article { border-left: 0; border-top: 1px solid hsl(45 22% 92% / .14); }
  .v12-reading-route { grid-template-columns: 1fr; }
  .v12-delivery-route { grid-template-columns: 1fr; }
  .v12-delivery-route-label { display: block; padding: 8px 11px; }
  .v12-feedback-summary { grid-template-columns: 1fr auto; gap: 4px 8px; }
  .v12-feedback-summary > button { grid-column: 1 / -1; width: max-content; margin-top: 4px; }
  .v12-feedback-summary > small { grid-column: 1 / -1; text-align: left; }
  .v12-reading-feedback { grid-template-columns: 1fr; gap: 8px; }
  .v12-reading-feedback > div { justify-content: flex-start; }
  .v12-relationship-fit-grid { grid-template-columns: 1fr; }
  .v12-relationship-fit-grid article:last-child { grid-column: auto; }
  .v12-focus-route { grid-template-columns: 1fr; gap: 3px; }
  .v12-identity-grid article { padding: 14px; }
  .v12-reader-toolbar { margin-inline: -4px; }
  .v12-reader-toolbar > p > strong { font-size: 12px; }
  .reader-edition-v13 .v13-cover .report-title { font-size: 36px; }
  .reader-edition-v13 .v13-cover .reader-portrait-lead { font-size: 18px; }
  .v13-trust-strip { margin-bottom: 26px; }
  .v13-calculation-stamps,
  .v13-calculation-card-grid { grid-template-columns: 1fr; }
  .v13-calculation-map-section { padding-block: 22px 26px; }
  .v13-quick-read { padding-bottom: 34px; }
  .v13-quick-card { grid-template-columns: 1fr; gap: 5px; }
  .v13-quick-card > span { padding-top: 0; }
  .v13-reader-toc ol { grid-template-columns: 1fr; }
  .v13-section-toc > header { grid-template-columns: 1fr; }
  .v13-section-toc > header p { grid-column: auto; margin-top: -4px; }
  .v13-toc-act ol { grid-template-columns: 1fr; }
  .v13-reader-toolbar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 5px; }
  .v13-reader-toolbar > span { display: none; }
  .v13-reader-toolbar > button { min-width: 44px; padding-inline: 5px; }
  .v13-reader-group { padding-top: 42px; }
  .v13-section-card { padding-top: 42px; }
  .v13-section-heading { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
  .v13-section-heading h3 { font-size: 24px; }
  .v13-section-footer { margin-left: 42px; }
  .v13-reader-scenes,
  .v13-reader-conditions,
  .v13-reader-practice-grid { grid-template-columns: 1fr; }
  .v13-reader-pattern-group,
  .v13-reader-practice { padding-inline: 16px; }
  .v13-reader-hook { padding-left: 16px; font-size: 18px; }
  .v13-reader-memory-line { padding-inline: 15px; font-size: 17px; text-align: left; }
  .v13-reader-technical > div { grid-template-columns: 1fr; }
  .v13-group-heading { grid-template-columns: 34px minmax(0, 1fr); }
  .v13-claim-receipt-trigger { grid-column: 2; justify-self: start; }
  .v13-group-support { margin-left: 46px; }
  .v13-group-heading h3 { font-size: 24px; }
  .v13-evidence-room > summary { grid-template-columns: auto minmax(0, 1fr); }
  .v13-evidence-room > summary > small { grid-column: 2; }
  .v13-map-grid,
  .v13-term-room > div { grid-template-columns: 1fr; }
  .v13-calculation-map { padding: 14px; }
  .v13-provenance dl > div { grid-template-columns: 1fr; gap: 4px; }
  .v13-evidence-system { grid-template-columns: 1fr; }
  .v13-evidence-system h5 { grid-row: auto; }
  .v12-part-divider { margin-top: 48px; padding: 40px 18px 32px; }
  .v12-part-divider > blockquote { font-size: 14px; }
  .v12-reader-blocks { gap: 16px; }
  .reader-life-section > header { flex-wrap: wrap; gap: 7px 10px; }
  .reader-life-section > header h3 { min-width: 0; }
  .v12-reader-mode { margin-left: auto; }
  .v12-reader-mode + .v12-reference-tier { margin-left: 0; }
  .v12-block-verdict .v12-block-copy:first-of-type { font-size: 18px; }
  .v12-system-map-grid { grid-template-columns: minmax(0, 1fr); }
  .v12-system-map-card { padding: 14px; }
  .v12-block-misreading { padding: 15px; }
  .v12-entry-answers dl > div,
  .v12-entry-flow,
  .v12-entry-fusion { grid-template-columns: 1fr; gap: 5px; }
  .v12-generation-status { width: 100%; border-radius: 8px; }
  .v12-generation-appendix dl > div { grid-template-columns: 92px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal.is-visible { opacity: 1; transform: none; animation: none !important; }
  .seal-motion,
  .seal-motion::after { animation: none !important; }
  .seal-motion::after { opacity: 0; }
  .hero-scene.is-opening,
  .hero-scene.is-opening .opening-stroke,
  .hero-scene.is-opening .stage { animation: none !important; }
  .hero-scene.is-opening .opening-stroke { opacity: 1; transform: scaleX(1); }
  .hero-scene.is-opening .stage { opacity: 1; transform: none; }
  .hero-scene.is-metrics-live .xbar .track i { animation: none !important; transform: scaleX(1); }
  .sungdo.is-drawing .sg-ring,
  .sungdo.is-drawing .sg-line,
  .sungdo.is-drawing .sg-axis,
  .sungdo.is-drawing .sg-sign,
  .sungdo.is-drawing .sg-house,
  .sungdo.is-drawing .sg-axis-label,
  .sungdo.is-drawing .sg-glow,
  .sungdo.is-drawing .sg-dot,
  .sungdo.is-drawing .sg-planet,
  .sungdo.is-drawing .sg-center { animation: none !important; }
  .customer-ledger[open] .customer-ledger-body { animation: none; }
  .btn-spin { animation-duration: 1.5s; } /* 로딩 표시라 끄지 않고 느리게만 */
  .btn-primary,
  .btn-secondary,
  .share-btn,
  .report-trigger,
  .rq-chip,
  .rq-form button,
  .entry-collapsed button,
  .seg button,
  .chk-pill,
  .place-option,
  .seal-cta,
  .seal-cta-stamp .stamp { transition: none !important; }
  .btn-primary:active:not(:disabled),
  .btn-secondary:active:not(:disabled),
  .share-btn:active:not(:disabled),
  .report-trigger:active:not(:disabled),
  .rq-chip:active:not(:disabled),
  .rq-form button:active:not(:disabled),
  .entry-collapsed button:active:not(:disabled),
  .seg button:active:not(:disabled),
  .chk-pill:active,
  .place-option:active:not(:disabled),
  .seal-cta:hover:not(:disabled),
  .seal-cta:focus-visible,
  .seal-cta:active:not(:disabled) { transform: none !important; }
  .seal-cta:hover:not(:disabled) .seal-cta-stamp .stamp,
  .seal-cta:focus-visible .seal-cta-stamp .stamp,
  .seal-cta:active:not(:disabled) .seal-cta-stamp .stamp { transform: rotate(6deg) !important; }
  html { scroll-behavior: auto; }
}

/* v9.3 P2-2: 터치 타깃 44px — 390px 라이브 스윕으로 잡은 위반 6그룹(총 64개), 각 값은
   실측 기반(예: 36px 링크 → 44px에 필요한 만큼만 패딩 추가, 임의 반올림 아님).
   pointer:coarse는 이 프로젝트 테스트 환경(뷰포트 리사이즈)에서 절대 매치되지 않아
   실측이 불가능하다 — max-width로 게이트(P1-2와 동일 관례, 데스크톱 시각 무변경).
   전부 기존 박스를 패딩으로 키우는 것뿐 — 새 히트존 레이어·오버레이 없음 */
@media (max-width: 480px) {
  .archive-import { min-height: 44px; }
  .birthmap-key-guide > summary { padding: 13px 0; }
  .reader-edition-map a { padding: 13px 4px; }
  .v12-reader-toolbar > button { min-height: 44px; }
  .v12-mechanism-trail > summary { padding: 11px 0; }
  .v12-reading-feedback button { min-height: 44px; padding: 5px 12px; }
}

.reader-edition-v12 :is(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid #f0c96c;
  outline-offset: 3px;
}

@media (forced-colors: active) {
  .reader-edition-v12 :is(a, button, summary, [tabindex]):focus-visible {
    outline: 2px solid Highlight;
  }
  .v12-reader-toolbar,
  .v12-type-profile,
  .v12-system-map-card,
  .v12-block-cost,
  .v12-block-action,
  .v12-block-no-signal,
  .reader-evidence-fold summary,
  .v12-feedback-summary > button,
  .v12-reading-feedback button {
    border: 1px solid CanvasText;
    forced-color-adjust: auto;
  }
  .v12-feedback-summary > button[aria-pressed="true"],
  .v12-reading-feedback button.is-selected {
    background: Highlight;
    color: HighlightText;
  }
}

/* V13.6 P3 commercial reader surface */
.reader-edition-p3 { --p3-ink: #1f2933; --p3-muted: #68717b; --p3-line: rgba(31,41,51,.14); }
.reader-edition-p3 .gosea-body { max-width: 920px; }
.v13-p3-one-story, .v13-p3-quick-read, .v13-p3-trust-mini, .v13-p3-recommended,
.v13-p3-section, .v13-p3-closing, .v13-p3-tool-drawer, .v13-p3-no-signal, .v13-p3-appendix {
  margin: 26px 0; padding: 24px; border: 1px solid var(--p3-line); border-radius: 18px; background: rgba(255,255,255,.72);
}
.v13-p3-one-story header, .v13-p3-quick-read header, .v13-p3-trust-mini header, .v13-p3-recommended header,
.v13-p3-no-signal header, .v13-p3-appendix > header { margin-bottom: 16px; }
.v13-p3-one-story header span, .v13-p3-quick-read header span, .v13-p3-trust-mini header span,
.v13-p3-recommended header span, .v13-p3-no-signal header span, .v13-p3-appendix > header span { color: #8b6f28; font-size: 11px; letter-spacing: .16em; }
.v13-p3-one-story h3, .v13-p3-quick-read h3, .v13-p3-trust-mini h3, .v13-p3-recommended h3,
.v13-p3-no-signal h3, .v13-p3-appendix > header h3 { margin: 5px 0 0; color: var(--p3-ink); }
.v13-p3-story-grid, .v13-p3-quick-grid, .v13-p3-trust-grid, .v13-p3-cta-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.v13-p3-story-grid article, .v13-p3-quick-grid article, .v13-p3-trust-grid article, .v13-p3-cta-grid article { padding: 16px; border-radius: 12px; background: rgba(248,245,235,.7); }
.v13-p3-story-grid b, .v13-p3-quick-grid span, .v13-p3-trust-grid b, .v13-p3-cta-grid b { color: #8b6f28; font-size: 12px; }
.v13-p3-quick-grid h4 { margin: 7px 0; font-size: 16px; color: var(--p3-ink); }
.v13-p3-quick-grid p, .v13-p3-story-grid p, .v13-p3-trust-grid p, .v13-p3-cta-grid p { margin: 0; color: var(--p3-muted); line-height: 1.72; }
.v13-p3-trust-grid { grid-template-columns: 1fr 1fr 1fr; align-items: stretch; }
.v13-p3-stamps { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.v13-p3-stamps span { padding: 9px 11px; border-radius: 999px; background: #f1ead5; color: #6b5721; font-size: 12px; }
.v13-p3-trust-mini > a { display: inline-block; margin-top: 14px; color: #6b5721; font-size: 13px; }
.v13-p3-recommended ol { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.v13-p3-recommended li a { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 15px; border: 1px solid var(--p3-line); border-radius: 12px; color: inherit; text-decoration: none; }
.v13-p3-recommended li a b { grid-row: span 2; font-size: 22px; color: #8b6f28; }
.v13-p3-recommended li a span { font-weight: 700; }
.v13-p3-recommended li a small { color: var(--p3-muted); line-height: 1.5; }
.v13-p3-act-break { margin: 40px 0 10px; padding-top: 22px; border-top: 2px solid rgba(139,111,40,.28); }
.v13-p3-act-break span { color: #8b6f28; font-size: 11px; letter-spacing: .14em; }
.v13-p3-act-break h3 { margin: 6px 0 0; }
.v13-p3-section { scroll-margin-top: 70px; }
.v13-p3-section > header { padding-bottom: 13px; border-bottom: 1px solid var(--p3-line); }
.v13-p3-section > header span { color: #8b6f28; font-size: 12px; }
.v13-p3-section > header h3 { margin: 6px 0; color: var(--p3-ink); }
.v13-p3-section > header p { margin: 0; color: var(--p3-muted); }
.v13-p3-section-body { padding-top: 8px; }
.v13-p3-field { margin: 17px 0; }
.v13-p3-field h5 { margin: 0 0 6px; color: #59636d; font-size: 13px; }
.v13-p3-field > div, .v13-p3-field > p { margin: 0; color: var(--p3-ink); line-height: 1.84; }
.v13-p3-cost { padding-left: 14px; border-left: 3px solid #c78d78; }
.v13-p3-twist { padding-left: 14px; border-left: 3px solid #c2a74c; }
.v13-p3-decision, .v13-p3-action { padding: 15px 17px; border-radius: 12px; background: #f7f3e8; }
.v13-p3-memory { font-weight: 700; }
.v13-p3-support { margin: 20px 0 4px; border-top: 1px dashed var(--p3-line); }
.v13-p3-support summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0 3px; cursor: pointer; color: #6b5721; }
.v13-p3-support summary small { color: var(--p3-muted); }
.v13-p3-support > div { padding-top: 4px; }
.v13-p3-section footer { margin-top: 16px; }
.v13-p3-closing-line { margin: 0 0 18px; font-size: 18px; line-height: 1.75; }
.v13-p3-record-dates { margin: 14px 0 0; color: var(--p3-muted); font-size: 12px; }
.v13-p3-tool-drawer summary { display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.v13-p3-tool-drawer summary span { color: #8b6f28; font-size: 11px; letter-spacing: .16em; }
.v13-p3-tool-drawer summary strong { color: var(--p3-ink); }
.v13-p3-tool-drawer summary small { color: var(--p3-muted); }
.v13-p3-tool-drawer > div { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 17px; }
.v13-p3-tool-drawer article { padding: 13px; border-radius: 10px; background: #f7f3e8; }
.v13-p3-tool-drawer article span { color: #8b6f28; font-size: 11px; }
.v13-p3-tool-drawer article p { margin: 6px 0 0; line-height: 1.68; }
.v13-p3-no-signal > div { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.v13-p3-no-signal article { padding: 14px; border-radius: 10px; background: #f5f5f2; }
.v13-p3-no-signal article b { color: var(--p3-ink); }
.v13-p3-no-signal article p { margin: 7px 0 0; color: var(--p3-muted); line-height: 1.65; }
.v13-p3-no-signal article small { display: block; margin-top: 8px; color: #7a6a44; line-height: 1.55; }
.v13-p3-appendix { background: rgba(246,246,243,.75); }
.v13-p3-appendix > .v13-calculation-map-section { margin: 0; padding: 0; border: 0; background: transparent; }
@media (max-width: 700px) {
  .v13-p3-one-story, .v13-p3-quick-read, .v13-p3-trust-mini, .v13-p3-recommended, .v13-p3-section, .v13-p3-closing, .v13-p3-tool-drawer, .v13-p3-no-signal, .v13-p3-appendix { padding: 17px; border-radius: 14px; }
  .v13-p3-story-grid, .v13-p3-quick-grid, .v13-p3-trust-grid, .v13-p3-cta-grid, .v13-p3-recommended ol, .v13-p3-tool-drawer > div, .v13-p3-no-signal > div { grid-template-columns: 1fr; }
}

/* V14 P4 commercial reader layer: visible decision blocks, folded depth, and same-device state. */
.reader-edition-p4 { --v14-ink: #252b31; --v14-muted: #68727c; --v14-line: #e5e1d8; --v14-accent: #8b6f28; }
.reader-edition-p4 .v14-cover { padding-bottom: 20px; }
.reader-edition-p4 .v14-personal-brief, .reader-edition-p4 .v14-section, .reader-edition-p4 .v14-closing,
.reader-edition-p4 .v14-tool-drawer, .reader-edition-p4 .v14-appendix { margin: 20px 0; padding: 24px; border: 1px solid var(--v14-line); border-radius: 16px; background: #fffefa; }
.reader-edition-p4 .v14-personal-brief header span, .reader-edition-p4 .v14-act-break span, .reader-edition-p4 .v14-closing header span,
.reader-edition-p4 .v14-tool-drawer summary span, .reader-edition-p4 .v14-appendix header span { color: var(--v14-accent); font-size: 11px; letter-spacing: .14em; }
.reader-edition-p4 .v14-personal-brief h3, .reader-edition-p4 .v14-closing h3, .reader-edition-p4 .v14-appendix h3 { margin: 6px 0; color: var(--v14-ink); }
.reader-edition-p4 .v14-personal-brief header p, .reader-edition-p4 .v14-appendix header p { margin: 0; color: var(--v14-muted); line-height: 1.65; }
.reader-edition-p4 .v14-brief-grid, .reader-edition-p4 .v14-cta-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.reader-edition-p4 .v14-brief-grid article, .reader-edition-p4 .v14-cta-grid article { padding: 15px; border-radius: 12px; background: #f7f3e8; }
.reader-edition-p4 .v14-brief-grid b, .reader-edition-p4 .v14-cta-grid b { color: var(--v14-accent); font-size: 12px; }
.reader-edition-p4 .v14-brief-grid article div, .reader-edition-p4 .v14-cta-grid p { margin: 7px 0 0; color: var(--v14-ink); line-height: 1.72; }
.reader-edition-p4 .v14-trust-mini { display: flex; justify-content: space-between; gap: 16px; margin-top: 15px; padding: 14px 16px; border-radius: 12px; background: #f2f5f2; }
.reader-edition-p4 .v14-trust-mini span, .reader-edition-p4 .v14-trust-mini small { display: block; color: var(--v14-muted); font-size: 11px; }
.reader-edition-p4 .v14-trust-mini strong { display: block; margin: 4px 0; color: var(--v14-ink); }
.reader-edition-p4 .v14-trust-anchors { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.reader-edition-p4 .v14-trust-anchors span { padding: 6px 9px; border: 1px solid #d7dfd7; border-radius: 999px; color: #435443; }
.reader-edition-p4 .v14-cross-receipt { margin-top: 16px; padding: 15px 17px; border-left: 3px solid #c2a74c; background: #fcfaf0; }
.reader-edition-p4 .v14-cross-receipt > span { color: var(--v14-accent); font-size: 11px; letter-spacing: .12em; }
.reader-edition-p4 .v14-cross-receipt p { display: grid; grid-template-columns: 140px 1fr; gap: 10px; margin: 8px 0 0; line-height: 1.68; }
.reader-edition-p4 .v14-cross-receipt p b { color: #5d5b4e; font-size: 12px; }
.reader-edition-p4 .v14-recommended { margin-top: 16px; padding-top: 15px; border-top: 1px dashed var(--v14-line); }
.reader-edition-p4 .v14-recommended header h4 { margin: 5px 0; color: var(--v14-ink); }
.reader-edition-p4 .v14-recommended header p { margin: 0; color: var(--v14-muted); font-size: 13px; }
.reader-edition-p4 .v14-recommended ol { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; margin: 13px 0 0; padding: 0; list-style: none; }
.reader-edition-p4 .v14-recommended a { display: block; height: 100%; padding: 12px; border: 1px solid var(--v14-line); border-radius: 10px; color: inherit; text-decoration: none; }
.reader-edition-p4 .v14-recommended a b { color: var(--v14-accent); margin-right: 7px; }
.reader-edition-p4 .v14-recommended a span { font-weight: 700; }
.reader-edition-p4 .v14-recommended a small { display: block; margin-top: 6px; color: var(--v14-muted); line-height: 1.5; }
.reader-edition-p4 .v14-toc { margin: 16px 0; padding: 14px 16px; border: 1px solid var(--v14-line); border-radius: 12px; background: #fffefa; }
.reader-edition-p4 .v14-toc summary, .reader-edition-p4 .v14-tool-drawer summary { display: flex; flex-direction: column; gap: 3px; cursor: pointer; list-style: none; }
.reader-edition-p4 .v14-toc summary::-webkit-details-marker, .reader-edition-p4 .v14-tool-drawer summary::-webkit-details-marker { display: none; }
.reader-edition-p4 .v14-toc summary strong, .reader-edition-p4 .v14-tool-drawer summary strong { color: var(--v14-ink); }
.reader-edition-p4 .v14-toc summary small, .reader-edition-p4 .v14-tool-drawer summary small { color: var(--v14-muted); }
.reader-edition-p4 .v14-toc > div { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; margin-top: 17px; }
.reader-edition-p4 .v14-toc section b { font-size: 12px; color: var(--v14-accent); }
.reader-edition-p4 .v14-toc ol { margin: 8px 0 0; padding-left: 17px; }
.reader-edition-p4 .v14-toc li { margin: 6px 0; }
.reader-edition-p4 .v14-toc a { color: var(--v14-ink); text-decoration: none; }
.reader-edition-p4 .v14-toc a small { display: block; color: var(--v14-muted); line-height: 1.45; }
.reader-edition-p4 .v14-act-break { margin: 32px 0 12px; padding: 0 4px; }
.reader-edition-p4 .v14-act-break h3 { margin: 5px 0 0; color: var(--v14-ink); }
.reader-edition-p4 .v14-section { scroll-margin-top: 78px; }
.reader-edition-p4 .v14-section > header { padding-bottom: 12px; border-bottom: 1px solid var(--v14-line); }
.reader-edition-p4 .v14-section > header span { color: var(--v14-accent); font-size: 12px; }
.reader-edition-p4 .v14-section > header h3 { margin: 6px 0; color: var(--v14-ink); }
.reader-edition-p4 .v14-section > header p { margin: 0; color: var(--v14-muted); line-height: 1.6; }
.reader-edition-p4 .v14-field { margin: 18px 0; }
.reader-edition-p4 .v14-field h5 { margin: 0 0 6px; color: #59636d; font-size: 13px; }
.reader-edition-p4 .v14-field > div { color: var(--v14-ink); line-height: 1.84; }
.reader-edition-p4 .v14-decision { padding: 15px 17px; border-radius: 12px; background: #f7f3e8; }
.reader-edition-p4 .v14-support { margin-top: 20px; border-top: 1px dashed var(--v14-line); }
.reader-edition-p4 .v14-support summary { padding: 14px 0 4px; cursor: pointer; color: var(--v14-accent); }
.reader-edition-p4 .v14-support summary small { float: right; color: var(--v14-muted); }
.reader-edition-p4 .v14-support > div { padding-top: 4px; }
.reader-edition-p4 .v14-support p { margin: 12px 0; color: var(--v14-ink); line-height: 1.76; }
.reader-edition-p4 .v14-section footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--v14-line); }
.reader-edition-p4 .v14-receipt-link { color: var(--v14-accent); font-size: 12px; }
.reader-edition-p4 .v14-save, .reader-edition-p4 [data-p4-save-action], .reader-edition-p4 [data-p4-save-checkin] { border: 1px solid #c9bd8f; border-radius: 999px; padding: 7px 11px; background: #fffdf4; color: #635322; cursor: pointer; }
.reader-edition-p4 .v14-save.is-saved, .reader-edition-p4 [data-p4-save-action].is-saved { background: #e8f0e8; border-color: #afc2af; color: #405b43; }
.reader-edition-p4 .v14-closing-line { margin: 0 0 18px; font-size: 18px; line-height: 1.75; }
.reader-edition-p4 .v14-checkin { display: flex; align-items: flex-end; gap: 10px; margin-top: 18px; }
.reader-edition-p4 .v14-checkin label { flex: 1; color: var(--v14-muted); font-size: 12px; }
.reader-edition-p4 .v14-checkin textarea { display: block; width: 100%; min-height: 74px; margin-top: 6px; padding: 10px; border: 1px solid var(--v14-line); border-radius: 10px; resize: vertical; }
.reader-edition-p4 .v14-checkin small { color: var(--v14-muted); white-space: nowrap; }
.reader-edition-p4 .v14-tool-drawer > div { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 17px; }
.reader-edition-p4 .v14-tool-drawer article { padding: 13px; border-radius: 10px; background: #f7f3e8; }
.reader-edition-p4 .v14-tool-drawer article > span { color: var(--v14-accent); font-size: 11px; }
.reader-edition-p4 .v14-tool-drawer article p { margin: 6px 0 0; line-height: 1.68; }
.reader-edition-p4 .v14-offer-disclosure { margin: 14px 0 0; padding: 12px 14px; border-left: 3px solid var(--v14-accent); background: #f7f3e8; color: var(--v14-ink); line-height: 1.65; }
.reader-edition-p4 .v14-brief-quick { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--v14-line); }
.reader-edition-p4 .v14-brief-quick header { margin-bottom: 10px; }
.reader-edition-p4 .v14-quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.reader-edition-p4 .v14-quick-grid article { padding: 13px; border-radius: 10px; background: #f7f3e8; }
.reader-edition-p4 .v14-quick-grid article b { color: var(--v14-accent); }
.reader-edition-p4 .v14-quick-grid article p { margin: 7px 0 0; line-height: 1.68; }
.reader-edition-p4 .v14-no-signal { margin: 20px 0; padding: 24px; border: 1px dashed var(--v14-accent); border-radius: 16px; background: #fffdf6; }
.reader-edition-p4 .v14-no-signal h3 { margin: 6px 0; color: var(--v14-ink); }
.reader-edition-p4 .v14-no-signal > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.reader-edition-p4 .v14-no-signal article { padding: 14px; background: #f7f3e8; border-radius: 10px; }
.reader-edition-p4 .v14-no-signal article h4 { margin: 0 0 8px; color: var(--v14-ink); }
.reader-edition-p4 .v14-no-signal article p { line-height: 1.68; }

/* V15 P5 commercial reader: one personal-reading flow, one map, and an
   evidence layer that opens on demand. The P4 visual language remains the
   base so the redesign changes reading rhythm without breaking the brand. */
.reader-edition-p5 { --v15-ink: #252b31; --v15-muted: #68727c; --v15-line: #e5e1d8; --v15-accent: #8b6f28; }
.reader-edition-p5 .v15-cover { padding-bottom: 18px; }
.reader-edition-p5 .p5-offer-disclosure { margin: 14px 0 0; padding: 12px 14px; border-left: 3px solid var(--v15-accent); background: #f7f3e8; color: var(--v15-ink); line-height: 1.68; }
.reader-edition-p5 .p5-personal-reading, .reader-edition-p5 .p5-read-map, .reader-edition-p5 .p5-no-signal, .reader-edition-p5 .p5-closing, .reader-edition-p5 .p5-appendix { margin: 20px 0; padding: 24px; border: 1px solid var(--v15-line); border-radius: 16px; background: #fffefa; }
.reader-edition-p5 .p5-personal-reading > header span, .reader-edition-p5 .p5-read-map summary span, .reader-edition-p5 .p5-no-signal > header span, .reader-edition-p5 .p5-closing > header span, .reader-edition-p5 .p5-appendix > header span { color: var(--v15-accent); font-size: 11px; letter-spacing: .14em; }
.reader-edition-p5 .p5-personal-reading h3, .reader-edition-p5 .p5-no-signal h3, .reader-edition-p5 .p5-closing h3, .reader-edition-p5 .p5-appendix h3 { margin: 6px 0; color: var(--v15-ink); }
.reader-edition-p5 .p5-personal-reading > header p, .reader-edition-p5 .p5-no-signal > header p, .reader-edition-p5 .p5-appendix > header p { margin: 0; color: var(--v15-muted); line-height: 1.68; }
.reader-edition-p5 .p5-reading-flow { display: grid; gap: 0; margin-top: 18px; }
.reader-edition-p5 .p5-reading-beat { padding: 14px 0; border-top: 1px solid var(--v15-line); }
.reader-edition-p5 .p5-reading-beat:first-child { border-top: 0; padding-top: 0; }
.reader-edition-p5 .p5-reading-beat span, .reader-edition-p5 .p5-cross-summary > span { display: block; margin-bottom: 6px; color: var(--v15-accent); font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.reader-edition-p5 .p5-reading-beat p, .reader-edition-p5 .p5-cross-summary p { margin: 0; color: var(--v15-ink); line-height: 1.82; }
.reader-edition-p5 .p5-reading-beat.p5-cost, .reader-edition-p5 .p5-reading-beat.p5-action { padding-inline: 15px; border-radius: 12px; background: #f7f3e8; }
.reader-edition-p5 .p5-reading-beat.p5-action { margin-top: 10px; border-top: 0; }
.reader-edition-p5 .p5-cross-summary { margin-top: 14px; padding: 14px 16px; border-left: 3px solid #c2a74c; background: #fcfaf0; }
.reader-edition-p5 .p5-cross-summary a { display: inline-block; margin-top: 8px; color: var(--v15-accent); font-size: 12px; }
.reader-edition-p5 .p5-reading-path { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--v15-line); }
.reader-edition-p5 .p5-reading-path header span { color: var(--v15-accent); font-size: 10px; letter-spacing: .12em; }
.reader-edition-p5 .p5-reading-path h4 { margin: 5px 0 10px; color: var(--v15-ink); }
.reader-edition-p5 .p5-reading-path ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.reader-edition-p5 .p5-reading-path a { display: block; height: 100%; padding: 12px; border: 1px solid var(--v15-line); border-radius: 10px; color: inherit; text-decoration: none; }
.reader-edition-p5 .p5-reading-path b { margin-right: 7px; color: var(--v15-accent); }
.reader-edition-p5 .p5-reading-path small { display: block; margin-top: 6px; color: var(--v15-muted); line-height: 1.55; }
.reader-edition-p5 .p5-read-map summary { display: flex; flex-direction: column; gap: 3px; cursor: pointer; list-style: none; }
.reader-edition-p5 .p5-read-map summary::-webkit-details-marker { display: none; }
.reader-edition-p5 .p5-read-map summary strong { color: var(--v15-ink); }
.reader-edition-p5 .p5-read-map summary small { color: var(--v15-muted); }
.reader-edition-p5 .p5-read-map > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 17px; }
.reader-edition-p5 .p5-read-map section b { color: var(--v15-accent); font-size: 12px; }
.reader-edition-p5 .p5-read-map ol { margin: 8px 0 0; padding-left: 17px; }
.reader-edition-p5 .p5-read-map li { margin: 6px 0; }
.reader-edition-p5 .p5-read-map a { color: var(--v15-ink); text-decoration: none; }
.reader-edition-p5 .p5-read-map a small { display: block; color: var(--v15-muted); line-height: 1.45; }
.reader-edition-p5 .p5-no-signal { border-style: dashed; border-color: var(--v15-accent); background: #fffdf6; }
.reader-edition-p5 .p5-no-signal > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.reader-edition-p5 .p5-no-signal article { padding: 14px; border-radius: 10px; background: #f7f3e8; }
.reader-edition-p5 .p5-no-signal article h4 { margin: 0 0 9px; color: var(--v15-ink); }
.reader-edition-p5 .p5-no-signal article p { margin: 10px 0 0; color: var(--v15-ink); line-height: 1.68; }
.reader-edition-p5 .p5-no-signal article p b { display: block; margin-bottom: 3px; color: var(--v15-accent); font-size: 11px; }
.reader-edition-p5 .v15-toolbar { position: sticky; top: 0; z-index: 5; }
.reader-edition-p5 .p5-evidence-anchor { scroll-margin-top: 80px; }
/* Reader copy must wrap inside the 390px contract. Long Korean/technical
   tokens should never create a horizontal page scroll on a phone. */
.reader-edition-p5 .v14-section, .reader-edition-p5 .v14-section-body,
.reader-edition-p5 .v14-field > div, .reader-edition-p5 .p5-reading-beat p,
.reader-edition-p5 .p5-reading-path small, .reader-edition-p5 .p5-read-map a,
.reader-edition-p5 .p5-no-signal article, .reader-edition-p5 .p5-no-signal article p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .reader-edition-p5 .p5-personal-reading, .reader-edition-p5 .p5-read-map, .reader-edition-p5 .p5-no-signal, .reader-edition-p5 .p5-closing, .reader-edition-p5 .p5-appendix { padding: 17px; border-radius: 14px; }
  .reader-edition-p5 .p5-reading-path ol, .reader-edition-p5 .p5-read-map > div, .reader-edition-p5 .p5-no-signal > div { grid-template-columns: 1fr; }
  .reader-edition-p5 .p5-reading-beat p, .reader-edition-p5 .p5-cross-summary p { line-height: 1.78; }
  .reader-edition-p5 .p5-read-map summary { min-height: 44px; justify-content: center; }
}
@media print {
  .reader-edition-p4 .v14-toc, .reader-edition-p4 .v14-tool-drawer { display: block; }
  .reader-edition-p4 details:not([open]) > *:not(summary) { display: block; }
  .reader-edition-p4 .v14-toc summary, .reader-edition-p4 .v14-tool-drawer summary, .reader-edition-p4 .v14-support summary { display: none; }
  .reader-edition-p4 .v14-toc > div, .reader-edition-p4 .v14-tool-drawer > div { margin-top: 0; }
  .reader-edition-p4 .v14-save, .reader-edition-p4 [data-p4-save-action], .reader-edition-p4 [data-p4-save-checkin] { display: none; }
  .reader-edition-p4 .v14-tool-drawer { display: none; }
}
@media (max-width: 700px) {
  .reader-edition-p4 .v14-personal-brief, .reader-edition-p4 .v14-section, .reader-edition-p4 .v14-closing, .reader-edition-p4 .v14-tool-drawer, .reader-edition-p4 .v14-appendix { padding: 17px; border-radius: 14px; }
  .reader-edition-p4 .v14-brief-grid, .reader-edition-p4 .v14-cta-grid, .reader-edition-p4 .v14-recommended ol, .reader-edition-p4 .v14-tool-drawer > div, .reader-edition-p4 .v14-toc > div { grid-template-columns: 1fr; }
  .reader-edition-p4 .v14-quick-grid, .reader-edition-p4 .v14-no-signal > div { grid-template-columns: 1fr; }
  .reader-edition-p4 .v14-trust-mini, .reader-edition-p4 .v14-checkin { display: block; }
  .reader-edition-p4 .v14-trust-anchors { justify-content: flex-start; margin-top: 10px; }
  .reader-edition-p4 .v14-cross-receipt p { grid-template-columns: 1fr; gap: 2px; }
  .reader-edition-p4 .v14-section footer { align-items: flex-start; flex-direction: column; }
  .reader-edition-p4 .v14-checkin > button, .reader-edition-p4 .v14-checkin > small { display: inline-block; margin-top: 9px; }
}
.v15-source-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(52, 67, 92, 0.14);
  border-radius: 14px;
  background: rgba(247, 244, 237, 0.72);
}
.v15-source-strip > div { min-width: 0; }
.v15-source-strip span { display: block; color: var(--night-ink-3); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.v15-source-strip p { margin: 5px 0 0; color: var(--night-ink-1); font-size: 13px; line-height: 1.65; }
.v15-sensitivity-note { display: inline; color: var(--night-ink-3); font-size: 11px; }
.v15-evidence-teaser { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: 2px; color: var(--accent-plum, #7d3f61); font-size: 12px; font-weight: 700; text-decoration: none; }
.v15-evidence-teaser:hover, .v15-evidence-teaser:focus-visible { text-decoration: underline; }
@media (max-width: 640px) {
  .v15-source-strip { grid-template-columns: 1fr; gap: 9px; }
}
