/* 열두 편지 뷰어(/letters). 방향(unslop, 2026-11-17)
   성격: 손으로 쓴, 조용한, 다정한 / 세계: 한지 편지지, 먹과 붓, 붉은 인장, 밤의 등불
   풍부하게 두는 곳은 두 군데: 편지 위 수호신(사진·영상), 2편 열두 달 곡선. 나머지는 먹색 단계와 가는 괘선
   이 상품만의 표시: 수호신 글자를 새긴 붉은 인장(수호신의 달, 잠긴 봉투, 편지 서명에만)
   간격은 4px 단위 */
:root {
  /* 밤(바깥) */
  --night: #080c1e; --on-night: #ece8ef; --on-night-2: #a9abbd; --on-night-3: #7c8096; --night-line: #ffffff17;
  /* 한지(편지) 위 먹 단계 */
  /* 한지 질감 그림(paper-hanji.jpg)의 평균색에 맞춤 */
  --paper: #f6e6cc; --paper-2: #ecdcc0;
  --hanji: url(/assets/paper-hanji.jpg) center top / 640px repeat; --rule: #2a2f4314; --rule-strong: #2a2f4326;
  --ink: #23283a; --ink-2: #5b5f6f; --ink-3: #8a8c97;
  /* 강조 둘: 금(수호신의 달), 인주(인장) */
  --gold: #e3bd6a; --gold-ink: #8a6418; --seal: #a8352b;
  --narr: "Gowun Batang", "Noto Serif KR", serif;
  --name: "Nanum Myeongjo", "Noto Serif KR", serif;
  --han: "Noto Serif KR", "Noto Serif CJK KR", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body.letters {
  margin: 0; min-height: 100vh; background: var(--night); color: var(--on-night);
  font-family: var(--narr); font-size: 16px; line-height: 1.85;
  word-break: keep-all; overflow-wrap: break-word;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) 64px max(16px, env(safe-area-inset-left, 0px));
}
.clause { display: inline-block; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* 머리 */
/* 서비스 머리: 화면 폭 전체 띠, 스크롤해도 위에 붙음. 로고 + 상품 메뉴 */
.lt-top {
  position: sticky; top: 0; z-index: 10; height: 64px;
  margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 0 max(16px, env(safe-area-inset-left, 0px));
  background: #080c1ef0; border-bottom: 1px solid var(--night-line);
}
@supports (backdrop-filter: blur(1px)) { .lt-top { background: #080c1ed9; backdrop-filter: blur(12px); } }
.lt-top-in { position: relative; max-width: 960px; height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.lt-logo { display: flex; align-items: center; flex: none; }
.lt-logo img { display: block; height: 28px; width: auto; }
/* 상품 메뉴: 위에 작은 갈래(무료·신년운세…), 아래 상품 이름. 지금 화면은 금색 이름 + 아래 금선, 준비 중은 흐리게 + 이름 옆 작은 표시 */
.lt-menu { align-self: stretch; display: flex; padding-left: 20px; border-left: 1px solid var(--night-line); margin: 18px 0; }
.lt-menu ul { list-style: none; margin: -18px 0; padding: 0; display: flex; gap: 2px; }
.lt-menu li { display: flex; }
.lt-menu a, .lt-menu .is-soon { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 0 12px; color: var(--on-night); text-decoration: none; transition: color .15s var(--ease); }
.lt-name { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.lt-kind { font-size: 11px; line-height: 1.2; color: var(--on-night-2); white-space: nowrap; }
.lt-menu a:hover { color: #fff; }
.lt-menu a:hover .lt-kind { color: var(--on-night); }
.lt-menu a[aria-current="page"] { color: var(--gold); }
.lt-menu a[aria-current="page"] .lt-kind { color: #d98b7a; }
.lt-menu a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--gold); }
.lt-menu a:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; border-radius: 6px; }
.lt-menu .is-soon { cursor: default; }
/* 준비 중은 열린 메뉴보다 한 단계 흐리게(그래도 읽히게), 굵기도 보통 */
.lt-menu .is-soon .lt-name { color: var(--on-night-2); font-weight: 400; }
.lt-menu .is-soon .lt-kind { color: var(--on-night-3); }
.lt-soon { font-style: normal; font-size: 10.5px; font-weight: 400; line-height: 1; padding: 3px 6px; border: 1px solid #ffffff33; border-radius: 999px; color: var(--on-night-2); }
.lt-menu-btn { display: none; margin-left: auto; padding: 8px 12px; border: 1px solid var(--night-line); border-radius: 8px; background: none; color: var(--on-night); font-size: 14px; }
/* 오른쪽 끝 "내 편지". 넓은 화면은 메뉴 뒤(order), 폰은 메뉴 버튼 왼쪽 */
.lt-menu { order: 2; } .lt-mine { order: 3; margin-left: auto; padding: 8px 4px; font-size: 14px; color: var(--on-night); text-decoration: none; white-space: nowrap; } .lt-menu-btn { order: 4; }
.lt-mine:hover { color: var(--gold); }
/* 폰: 메뉴는 버튼으로 펼치는 아래 판 */
@media (max-width: 719px) {
  .lt-top { height: 56px; }
  .lt-logo img { height: 24px; }
  .lt-menu-btn { display: block; margin-left: 0; }
  .lt-menu { display: none; position: absolute; top: 100%; left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); padding: 8px 16px 16px; background: #0b1028; border-bottom: 1px solid var(--night-line); box-shadow: 0 16px 32px #0008; }
  .lt-menu.is-open { display: block; }
  .lt-menu ul { flex-direction: column; gap: 0; }
  .lt-menu { padding-left: 16px; border-left: 0; margin: 0; }
  .lt-menu ul { margin: 0; }
  .lt-menu li { display: block; }
  .lt-menu a, .lt-menu .is-soon { flex-direction: row; align-items: center; gap: 8px; padding: 14px 4px 14px 14px; border-bottom: 1px solid var(--night-line); }
  .lt-menu a[aria-current="page"]::after { left: 0; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; }
  .lt-name { flex: 1; }
  .lt-soon { margin-left: auto; }
  .lt-kind { min-width: 4.5em; }
}
/* 이름·시각 바꾸기: 받는 사람 아래 작은 글자 */
/* 이름·시각 바꾸기: 봉투 머리 오른쪽 끝, 보낸 줄과 아래를 맞춘 작은 테두리 단추. 좁으면 머리 아래로 내려감 */
.lt-change { flex: none; margin-left: auto; align-self: flex-end; margin-bottom: 2px; padding: 7px 14px; border: 1px solid #ffffff2e; border-radius: 999px; background: #ffffff08; color: var(--on-night-2); font-size: 13px; line-height: 1.2; white-space: nowrap; transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease); }
.lt-change:hover, .lt-change:focus-visible { color: var(--on-night); border-color: var(--gold); background: #e3bd6a14; }
.lt-change:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lt-main { max-width: 640px; margin: 0 auto; }

/* 보내는 사람 줄 */
/* 봉투 겉면: 받는 사람 */
/* 헤더와 봉투 머리 사이를 넉넉히(폰 28px, 넓은 화면 44px) */
.lt-guardian { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 24px; }
@media (min-width: 720px) { .lt-guardian { margin: 44px 0 28px; } }
/* 받는 사람 글은 얼굴 옆에 붙어 있고, 자리가 모자라면 바꾸기 단추만 다음 줄 오른쪽으로 내려감 */
.lt-guardian > div { flex: 1 1 160px; min-width: 0; }
.lt-to { margin: 0; font-family: var(--name); font-weight: 800; font-size: 32px; line-height: 1.25; color: var(--on-night); }
@media (min-width: 720px) { .lt-to { font-size: 40px; } }
.lt-guardian img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.lt-from { margin: 0; font-family: var(--name); font-weight: 800; font-size: 18px; line-height: 1.4; }
.lt-from-sub { margin: 4px 0 0; font-size: 14px; color: var(--on-night-2); line-height: 1.5; font-variant-numeric: tabular-nums; }
.lt-review { margin: 4px 8px 0 0; display: inline-block; font-size: 12px; color: var(--gold); }
.lt-again { margin-top: 4px; padding: 0; border: 0; background: none; color: var(--on-night-2); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }

/* 편 한자 여섯 개: 진행 표시이자 목차. 지금 편은 금색 + 밑줄, 잠긴 편은 옅게. 머리 바로 밑에 붙어 따라옴 */
.lt-tabs { position: sticky; top: 64px; z-index: 9; background: var(--night); }
@media (max-width: 719px) { .lt-tabs { top: 56px; } }
.lt-tabs ol { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--night-line); }
.lt-tab { width: 100%; padding: 8px 0 10px; border: 0; background: none; font-family: var(--han); font-size: 22px; line-height: 1.2; color: var(--on-night-2); position: relative; transition: color .15s var(--ease); }
.lt-tab:hover { color: var(--on-night); }
.lt-tab--locked { color: var(--on-night-3); opacity: .6; }
.lt-tab.is-current { color: var(--gold); opacity: 1; }
.lt-tab.is-current::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: -1px; height: 2px; background: var(--gold); }

/* 편지 한 장: 한지 종이. 상자를 겹치지 않고 괘선으로만 나눔 */
.lt-page {
  position: relative; padding: 28px 24px 32px; border-radius: 4px; outline: none;
  background: var(--hanji), var(--paper); color: var(--ink);
  box-shadow: 0 16px 40px #00000066;
}
@media (min-width: 720px) { .lt-page { padding: 40px 48px 44px; } }

/* 편 머리: 큰 한자는 오른쪽 위 여백에 옅게, 제목은 왼쪽 */
.lt-page-head { position: relative; margin: 0 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--rule-strong); }
.lt-han { position: absolute; right: 0; bottom: 8px; font-family: var(--han); font-size: 64px; line-height: 1; color: var(--ink); opacity: .08; pointer-events: none; }
.lt-kicker { margin: 0; font-size: 13px; color: var(--ink-3); }
.lt-access { color: var(--gold-ink); }
.lt-title { margin: 4px 0 0; font-family: var(--name); font-weight: 800; font-size: 24px; line-height: 1.35; }
.lt-period-note { margin: 0 0 16px; padding-left: 12px; border-left: 2px solid var(--rule-strong); font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.lt-p { margin: 0 0 16px; font-size: 16px; line-height: 2; }

/* 1편 한 글자와 남긴 말 */
.lt-char { margin: 28px 0 8px; padding: 20px 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); text-align: center; }
.lt-char-head { margin: 0; font-family: var(--name); font-weight: 800; font-size: 26px; color: var(--ink); }
.lt-char-sub { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }
.lt-last { margin: 20px 0 0; padding: 0; text-align: center; }
.lt-last-label { display: block; font-size: 12px; color: var(--ink-3); }
.lt-last p { margin: 4px 0 0; font-family: var(--name); font-weight: 700; font-size: 18px; }

/* 인장: 붉은 사각 도장, 획은 종이색 */
.lt-seal {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 3px;
  background: var(--seal); color: var(--paper); font-family: var(--han); font-size: 15px; line-height: 1;
  transform: rotate(-4deg); vertical-align: middle; box-shadow: inset 0 0 0 1.5px #f5efe355;
}

/* 1편 사주 여덟 글자: 상자 없이 네 기둥, 글자 아래 오행 색 밑줄만 */
.lt-pillars { margin: 8px 0 24px; padding: 20px 0 16px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.lt-pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lt-pillar { display: grid; gap: 8px; justify-items: center; }
.lt-pillar-label { font-size: 12px; color: var(--ink-3); }
.lt-pillar.is-me .lt-pillar-label { color: var(--ink); }
.lt-glyph { display: grid; justify-items: center; gap: 2px; padding-bottom: 4px; border-bottom: 3px solid var(--el, var(--rule-strong)); min-width: 48px; }
.lt-glyph b { font-family: var(--han); font-weight: 600; font-size: 30px; line-height: 1.15; color: var(--ink); }
.lt-glyph small { font-size: 11px; color: var(--ink-3); }
.lt-pillar.is-me .lt-glyph:first-of-type b { color: var(--seal); }
.lt-glyph.is-unknown { border-bottom-style: dashed; color: var(--ink-3); font-size: 22px; min-height: 60px; align-content: center; }
.lt-el-bars { display: grid; gap: 4px; margin-top: 20px; }
.lt-el-row { display: grid; grid-template-columns: 4.5em 1fr 1.5em; gap: 8px; align-items: center; font-size: 13px; }
.lt-el-name { color: var(--ink-2); }
.lt-el-bar { height: 4px; background: var(--rule); position: relative; }
.lt-el-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--el); }
.lt-el-count { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.lt-pillars figcaption, .lt-curve figcaption { margin-top: 12px; font-size: 12px; color: var(--ink-3); text-align: center; }
/* 오행 색: 밑줄과 막대에만 */
.lt-el--木 { --el: #5f8a63; } .lt-el--火 { --el: #b8573f; } .lt-el--土 { --el: #b08a3e; } .lt-el--金 { --el: #8f939e; } .lt-el--水 { --el: #4a6f9e; }

/* 2편 열두 달 곡선: 먹선 하나, 금빛 점은 수호신의 달에만 */
.lt-curve { margin: 0 0 24px; padding: 4px 0 0; }
.lt-curve svg { display: block; width: 100%; height: auto; overflow: visible; }
.lt-curve .grid { stroke: var(--rule-strong); stroke-dasharray: 1 4; }
.lt-curve .axis, .lt-curve .mon { font-size: 9px; fill: var(--ink-3); font-family: var(--narr); font-variant-numeric: tabular-nums; }
.lt-curve .mon.is-g { fill: var(--gold-ink); }
.lt-curve .area { fill: #23283a0d; }
.lt-curve .line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.lt-curve .dot { fill: var(--ink-2); }
.lt-curve .dot.is-g { fill: var(--gold); stroke: var(--gold-ink); stroke-width: 1; }

/* 2편 달 목록: 편지지 줄 */
.lt-months { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.lt-month { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.lt-month-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lt-month-label { font-family: var(--name); font-weight: 800; font-size: 16px; min-width: 7em; }
.lt-grade { font-size: 13px; color: var(--ink-3); }
.lt-month--guardian .lt-grade { color: var(--gold-ink); }
.lt-month--run .lt-grade, .lt-month--breathe .lt-grade { color: var(--ink-2); }
.lt-sample { margin-left: auto; font-size: 12px; color: var(--seal); }
.lt-month-line { margin: 8px 0 0; font-size: 15px; line-height: 1.85; }
.lt-month-extra { margin: 4px 0 0; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.lt-todo { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.lt-todo::before { content: "할 일 "; color: var(--ink-3); }

/* 3편 네 갈래 */
.lt-paths { margin: 0; border-top: 1px solid var(--rule-strong); }
.lt-paths > div { display: grid; grid-template-columns: 4.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.lt-paths dt { font-family: var(--name); font-weight: 800; }
.lt-paths dd { margin: 0; line-height: 1.85; }
/* 네 갈래 × 열두 달 표: 먹 한 가지 색, 진하기로 시기 구분 */
.lt-pathgrid-wrap { margin: 0 0 24px; overflow-x: auto; }
.lt-pathgrid { border-collapse: separate; border-spacing: 2px; width: 100%; min-width: 520px; font-size: 11px; table-layout: fixed; font-variant-numeric: tabular-nums; }
.lt-pathgrid thead th:first-child, .lt-pathgrid tbody th { width: 3em; }
.lt-pathgrid th { font-weight: 400; color: var(--ink-3); padding: 4px 0; }
.lt-pathgrid tbody th { font-family: var(--name); font-weight: 800; color: var(--ink); text-align: left; }
.lt-pathgrid td { height: 32px; border-radius: 2px; background: var(--paper-2); text-align: center; vertical-align: middle; color: var(--paper); }
.lt-pathgrid td.on { background: var(--ink); }
.lt-pathgrid td.lt-v--slow, .lt-pathgrid td.lt-v--check, .lt-pathgrid td.lt-v--rhythm { background: var(--ink-3); }
.lt-scroll-hint { margin: 4px 0 0; font-size: 12px; color: var(--ink-3); }
@media (min-width: 640px) { .lt-scroll-hint { display: none; } }

/* 4편 날 */
.lt-days-sum { margin: 0 0 12px; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lt-days-sum-come { color: var(--gold-ink); }
.lt-days { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.lt-days th, .lt-days td { padding: 8px 4px; border-top: 1px solid var(--rule); text-align: left; vertical-align: top; }
.lt-days thead th { font-size: 12px; color: var(--ink-3); font-weight: 400; border-top: 0; }
.lt-days tbody th { font-family: var(--name); font-weight: 800; white-space: nowrap; }
.lt-days td span { display: block; }
.lt-days td .lt-daydots { display: flex; }
.lt-daydots { display: flex; gap: 3px; margin-bottom: 4px; }
.lt-daydots i { display: block; flex: none; width: 6px; height: 6px; border-radius: 50%; }
.lt-daydots--come i { background: var(--gold); }
.lt-daydots--breathe i { background: var(--ink-3); }

/* 5편 편지 */
.lt-letter { font-size: 16px; line-height: 2.05; }
.lt-letter p { margin: 0 0 16px; }
.lt-letter-to { font-family: var(--name); font-weight: 800; font-size: 18px; }
.lt-sign { display: flex; justify-content: flex-end; align-items: center; gap: 8px; font-family: var(--name); font-weight: 700; }
.lt-luck-why { margin: 24px 0 12px; padding-top: 20px; border-top: 1px solid var(--rule-strong); font-size: 15px; line-height: 1.8; }
.lt-luck-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.lt-luck-card { display: grid; gap: 4px; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); }
.lt-luck-card:nth-child(odd) { border-right: 1px solid var(--rule); }
.lt-luck-card:nth-child(even) { padding-left: 12px; }
.lt-luck-name { font-size: 12px; color: var(--ink-3); }
.lt-luck-card b { font-family: var(--name); font-weight: 800; font-size: 16px; line-height: 1.45; color: var(--ink); border-bottom: 3px solid var(--el); justify-self: start; }
.lt-deep-toc { margin: 0 0 12px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); font-size: 14px; border-top: 1px solid var(--rule); }
.lt-deep-toc li { padding: 8px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }

/* 잠긴 자리: 봉인된 봉투(본문은 화면에 없음, 흐린 줄은 가짜) */
.lt-locked { position: relative; margin-top: 24px; }
.lt-fog { display: grid; gap: 12px; padding: 8px 0; filter: blur(2.5px); opacity: .35; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.lt-fog span { height: 10px; background: var(--ink-3); }
.lt-fog span:nth-child(2) { width: 88%; } .lt-fog span:nth-child(3) { width: 94%; } .lt-fog span:nth-child(4) { width: 62%; }
/* 흐린 줄(가려진 문단 흉내) 아래에 봉인과 문구를 따로 둠. 글자가 흐린 줄 위에 겹치지 않게 */
.lt-lock-card { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 16px 0 0; }
.lt-lock-card .lt-seal { width: 32px; height: 32px; font-size: 19px; }
.lt-lock-title { margin: 0; font-family: var(--name); font-weight: 800; font-size: 17px; }
.lt-lock-teaser { margin: 0; max-width: 30em; font-size: 15px; line-height: 1.8; color: var(--ink-2); }

/* 버튼: 한지 위는 먹색 바탕, 밤 위는 한지색 바탕 */
.lt-btn { padding: 12px 20px; border: 0; border-radius: 8px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 16px; transition: background-color .15s var(--ease), transform .1s var(--ease); }
.lt-btn:hover { background: #31374d; }
.lt-btn:active { transform: scale(.98); }
.lt-btn:disabled { opacity: .4; cursor: default; }
.lt-btn--small { padding: 8px 16px; font-size: 15px; }

/* 아래 이동·목차(밤 위) */
.lt-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.lt-nav-btn { padding: 12px; border-radius: 8px; border: 1px solid var(--night-line); background: none; color: var(--on-night); transition: background-color .15s var(--ease); }
.lt-nav-btn:hover:not(:disabled) { background: #ffffff0a; }
.lt-nav-btn:disabled { opacity: .3; cursor: default; }
.lt-toc { list-style: none; margin: 8px 0 0; padding: 4px 0; border-top: 1px solid var(--night-line); }
.lt-toc-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 4px; border: 0; border-bottom: 1px solid var(--night-line); background: none; color: var(--on-night); text-align: left; }
.lt-toc-item[aria-current="page"] .lt-toc-title { color: var(--gold); }
.lt-toc-han { font-family: var(--han); color: var(--on-night-3); width: 1.5em; text-align: center; }
.lt-toc-title { flex: 1; }
.lt-badge { font-size: 12px; color: var(--on-night-3); }
.lt-badge--open { color: var(--on-night-2); }
.lt-note { margin: 20px 0 0; text-align: center; font-size: 12px; color: var(--on-night-3); }
.lt-loading { text-align: center; color: var(--on-night-2); margin-top: 80px; }

/* ----- 편지를 읽어 주는 수호신 ----- */
.lt-scene {
  position: relative; display: grid; justify-items: center;
  margin: -28px -24px 28px; padding: 16px 24px 24px;
  background: #5a35190d; border-bottom: 1px solid var(--rule-strong);
}
@media (min-width: 720px) { .lt-scene { margin: -40px -48px 32px; padding: 20px 48px 28px; } }
.lt-scene-img {
  display: block; width: min(280px, 78%); height: auto; aspect-ratio: 3 / 4; object-fit: contain;
  /* 아래는 종이로 스며들고 좌우 끝도 살짝 흐리게. 두 마스크의 겹치는 부분만 보임 */
  /* 영상은 배경을 지울 수 없어 위·아래·좌우 가장자리를 모두 종이로 스며들게 함(그림도 같은 마스크) */
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 72%, transparent 98%), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 72%, transparent 98%), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-composite: intersect;
  animation: lt-rise .7s var(--ease) both;
}
/* 영상은 배경(한지색)을 지울 수 없어 네모가 보이지 않게 타원으로 스며들게 함 */
video.lt-scene-img {
  -webkit-mask-image: radial-gradient(ellipse 48% 50% at 50% 44%, #000 58%, transparent 100%); -webkit-mask-composite: source-over;
  mask-image: radial-gradient(ellipse 48% 50% at 50% 44%, #000 58%, transparent 100%); mask-composite: add;
}
@media (min-width: 720px) { .lt-scene-img { width: 300px; } }
/* 수호신의 목소리: 편지 본문 위에 따로 놓인 띠(살짝 짙은 한지 + 아래 괘선)로 묶어 본문과 가름.
   글꼴은 붓으로 쓴 옛 명조(송명), 말은 「 」 안에 */
.lt-voice { margin: -20px auto 0; max-width: 24em; text-align: center; }
.lt-voice-who { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.lt-voice-who .lt-seal { width: 18px; height: 18px; font-size: 11px; }
.lt-say {
  margin: 8px 0 0; min-height: 1.5em; text-wrap: balance;
  font-family: "Song Myung", var(--name); font-size: 22px; line-height: 1.55; color: #5a3519;
}
@media (min-width: 720px) { .lt-say { font-size: 24px; } }
.lt-q { color: #a07a52; font-size: .9em; }
/* 한마디 안의 줄바꿈 문자을 그대로 살림. 여러 줄이면 문장마다 한 줄 */
.lt-say-text { white-space: pre-line; }
/* 글자가 하나씩 번지듯 나타남(먹이 스며드는 느낌) */
.lt-ch { opacity: 0; animation: lt-ink .5s var(--ease) forwards; }
@keyframes lt-ink { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }
@keyframes lt-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ----- 입력판·결제(한지 패널) ----- */
.lt-ask, .lt-pay-box { color-scheme: light; accent-color: var(--ink); }
.lt-ask { margin: 40px auto 0; max-width: 420px; padding: 28px 24px; border-radius: 4px; background: var(--hanji), var(--paper); color: var(--ink); display: grid; gap: 16px; box-shadow: 0 16px 40px #00000066; }
.lt-ask-title { margin: 0; font-family: var(--name); font-size: 26px; text-align: center; }
.lt-ask-lead { margin: 0; text-align: center; color: var(--ink-2); font-size: 15px; }
.lt-field { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
/* 글자 칸만(라디오·체크칸은 제외: 이 규칙의 여백·테두리가 붙으면 폰에서 동그라미·네모가 엉뚱한 크기·위치로 보임) */
.lt-field input:not([type="radio"]):not([type="checkbox"]), .lt-time select { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--rule-strong); border-radius: 8px; background: #fbf8f1; color: var(--ink); min-width: 0; }
.lt-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lt-seg button { padding: 10px; border: 1px solid var(--rule-strong); border-radius: 8px; background: #fbf8f1; color: var(--ink); }
.lt-seg button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.lt-msg { margin: 0; min-height: 1.4em; font-size: 13px; color: var(--seal); }
.lt-time { border: 0; margin: 0; padding: 0; min-width: 0; }
.lt-time legend { padding: 0; margin-bottom: 8px; }
.lt-time-row { display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px; align-items: stretch; }
.lt-ampm { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule-strong); border-radius: 8px; overflow: hidden; background: #fbf8f1; }
.lt-ampm label { position: relative; }
/* 오전·오후 라디오는 글자 칸(span)이 대신 보이고, 실제 동그라미는 숨김(폰 브라우저 기본 모양까지 끔) */
.lt-ask .lt-ampm input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; -webkit-appearance: none; appearance: none; cursor: pointer; }
.lt-ampm span { display: block; padding: 10px 12px; font-size: 15px; color: var(--ink); text-align: center; }
.lt-ampm input:checked + span { background: var(--ink); color: var(--paper); }
.lt-ampm input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: -2px; }
.lt-time select:disabled, .lt-time input:disabled + span { opacity: .45; cursor: default; }
.lt-check { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--ink); font-size: 14px; cursor: pointer; }
.lt-check input { width: 16px; height: 16px; margin: 0; }
.lt-hint { font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.lt-known { margin: 0; padding: 8px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--ink); }
.lt-known .lt-again { margin: 0 0 0 8px; color: var(--ink-2); }

.lt-pay { position: fixed; inset: 0; z-index: 20; display: grid; place-items: end center; background: #04071acc; padding: 16px; overflow-y: auto; }
@media (min-width: 720px) { .lt-pay { place-items: center; } }
.lt-pay-box { position: relative; width: 100%; max-width: 440px; display: grid; gap: 16px; padding: 28px 20px 20px; border-radius: 4px; background: var(--hanji), var(--paper); color: var(--ink); }
.lt-pay-close { position: absolute; top: 8px; right: 8px; border: 0; background: none; color: var(--ink-2); font-size: 13px; padding: 8px; }
.lt-pay-title { margin: 0; text-align: center; font-family: var(--name); font-size: 21px; }
.lt-tiers { display: grid; gap: 8px; }
.lt-tier { position: relative; display: block; cursor: pointer; }
.lt-tier input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lt-tier span { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 16px; border: 1px solid var(--rule-strong); border-radius: 8px; background: #fbf8f1; transition: border-color .15s var(--ease); }
.lt-tier b { font-family: var(--name); font-size: 16px; }
.lt-tier em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.lt-tier small { grid-column: 1 / -1; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.lt-tier input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.lt-tier input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.lt-agree { align-items: flex-start; font-size: 13px; line-height: 1.6; }
.lt-agree input { margin-top: 4px; flex: none; }

@media (prefers-reduced-motion: reduce) {
  .lt-scene-img { animation: none; }
  .lt-tab, .lt-btn, .lt-nav-btn, .lt-change { transition: none; }
}
/* 수호신 목소리 듣기(1편, 소리 있는 첫 인사) */
.lt-listen { margin-top: 12px; padding: 8px 16px; border: 1px solid var(--rule-strong); border-radius: 20px; background: #fbf8f1; color: var(--ink); font-size: 14px; transition: background-color .15s var(--ease); }
.lt-listen::before { content: "▶"; margin-right: 6px; font-size: 11px; color: var(--seal); }
.lt-listen:hover { background: #fff; }
.lt-listen:disabled { opacity: .6; cursor: default; }
/* 말하는 영상을 입 다문 영상 위에 겹쳐 두고 투명도로 스며들게 전환 */
.lt-media { position: relative; display: grid; justify-items: center; width: 100%; }
.lt-media .lt-talk { position: absolute; top: 0; left: 50%; transform: translateX(-50%); opacity: 0; transition: opacity .45s var(--ease); animation: none; pointer-events: none; }
.lt-media.is-talking .lt-talk { opacity: 1; }

/* 심화: 달마다 오는 편지 12장. 화면은 달마다 접고, 리포트는 모두 펼침 */
.lt-deep { border-top: 1px solid var(--rule-strong); }
.lt-deep-month { border-bottom: 1px solid var(--rule); }
.lt-deep-sum { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 0; cursor: pointer; list-style: none; }
.lt-deep-sum::-webkit-details-marker { display: none; }
.lt-deep-sum::after { content: "펼치기"; margin-left: auto; font-size: 12px; color: var(--ink-3); }
.lt-deep-month[open] > .lt-deep-sum::after { content: "접기"; }
.lt-deep-body { padding: 0 0 20px; }
.lt-deep-h { margin: 16px 0 4px; font-family: var(--name); font-weight: 800; font-size: 15px; color: var(--ink-2); }
.lt-deep-days { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* 편지 머리의 "PDF 리포트" 단추(결제한 편지만). 밤 위 금색 테 + 문서 그림 */
.lt-report-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 12px;
  border: 1px solid #e3bd6a66; border-radius: 999px; color: var(--gold); font-size: 14px; text-decoration: none;
  transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.lt-report-btn svg, .lt-report-bar [data-print] svg { width: 18px; height: 18px; flex: none; }
.lt-report-btn:hover { background: #e3bd6a14; border-color: var(--gold); }

/* 리포트(/letters/report): 인쇄 전용 판. 화면에서는 밤 위에 A4 종이를 쌓아 미리 보여 줌 */
body.is-report .lt-main { max-width: 820px; }
.lt-report-bar {
  position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  margin: 0 -16px 24px; padding: 12px 16px; background: #080c1ef0; border-bottom: 1px solid var(--night-line);
}
@media (max-width: 719px) { .lt-report-bar { top: 56px; } }
.lt-report-bar [data-print] { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #1d1606; }
.lt-report-bar [data-print]:hover { background: #ecca80; }
/* 심화 한 장 오른쪽 아래에 그 달의 간지를 옅게 */
.rp-month-gz { position: absolute; right: 28px; bottom: 120px; font-family: var(--han); font-size: 120px; line-height: 1; color: var(--ink); opacity: .05; writing-mode: vertical-rl; pointer-events: none; }
@media (min-width: 720px) { .rp-month-gz { right: 64px; font-size: 160px; } }
.lt-report-back {
  display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px 7px 8px;
  border: 1px solid var(--night-line); border-radius: 999px; color: var(--on-night); font-size: 14px; text-decoration: none;
  transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.lt-report-back svg { width: 18px; height: 18px; flex: none; color: var(--on-night-2); }
.lt-report-back:hover { background: #ffffff0d; border-color: #ffffff33; }
.lt-report-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-left: auto; }
.lt-report-bar .lt-hint { flex-basis: 100%; margin: 0; color: var(--on-night-2); }
.lt-report-msg { flex-basis: 100%; margin: 0; font-size: 13px; line-height: 1.6; color: var(--gold); }
.lt-report-msg:empty { display: none; }
@media print { .lt-report-msg { display: none; } }
/* 열 하나를 화면 폭으로 고정(minmax 0). 없으면 표지 사진의 원래 폭만큼 열이 늘어 폰에서 옆으로 넘침 */
.lt-page.rp { padding: 0; background: none; box-shadow: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }

.rp-sheet {
  position: relative; padding: 40px 28px 44px; border-radius: 2px;
  background: var(--hanji), var(--paper); color: var(--ink); box-shadow: 0 16px 40px #00000066;
}
@media (min-width: 720px) { .rp-sheet { padding: 64px 72px 72px; min-height: 1060px; } }

/* 표지: 위 수호신 카드 사진(종이 끝까지, 아래가 한지로 스며듦) / 아래 받는 사람·기간·인장 */
.rp-cover { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-align: center; }
.rp-cover-photo { position: relative; aspect-ratio: 3 / 3.4; overflow: hidden; }
.rp-cover-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.rp-cover-text { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 0 28px 40px; margin-top: -24px; position: relative; }
.rp-brand { margin-top: auto; padding-top: 28px; display: grid; justify-items: center; gap: 6px; }
.rp-brand-logo { display: block; height: 36px; width: auto; }
.rp-brand-line { margin: 0; font-size: 12px; letter-spacing: .12em; color: var(--ink-2); }
.rp-brand-url { margin: 0; font-size: 11px; letter-spacing: .04em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rp-cover-to { margin: 8px 0 0; font-family: var(--name); font-weight: 800; font-size: 44px; line-height: 1.2; letter-spacing: -.02em; }
.rp-cover-from { margin: 12px 0 0; font-size: 16px; color: var(--ink-2); }
.rp-cover-period { margin: 4px 0 0; font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
/* 기본·심화 표찰. 심화는 금, 기본은 먹 */
.rp-tier { display: inline-flex; align-items: baseline; gap: 8px; margin: 16px 0 0; padding: 6px 14px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: 13px; color: var(--ink-2); }
.rp-tier b { font-family: var(--name); font-weight: 800; font-size: 14px; color: var(--ink); }
.rp-tier--premium { border-color: #8a641866; background: #e3bd6a1f; }
.rp-tier--premium b { color: var(--gold-ink); }
/* 심화 표지: 안쪽 금 실선 테 */
.rp-cover--premium::after { content: ""; position: absolute; inset: 14px; border: 1px solid #b08a3e99; pointer-events: none; }
/* 차례 쪽 맨 위 사주 정보 상자 */
.rp-birth { margin: 0 0 36px; padding: 16px 18px; border: 1px solid var(--rule-strong); border-radius: 4px; background: #fbf6ec80; }
.rp-birth-h { margin: 0 0 8px; font-family: var(--name); font-weight: 800; font-size: 16px; }
.rp-birth-list { margin: 0; display: grid; gap: 6px; }
.rp-birth-list > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; font-size: 14px; }
.rp-birth-list dt { color: var(--ink-3); }
.rp-birth-list dd { margin: 0; font-variant-numeric: tabular-nums; }
.is-birth-off .rp-birth-private { display: none; }
@media (max-width: 719px) { .rp-birth-list > div { grid-template-columns: 1fr; gap: 0; } }
.lt-report-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--on-night); cursor: pointer; }
.lt-report-toggle input { width: 16px; height: 16px; accent-color: var(--gold); }
.rp-contents-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 24px; }
.rp-contents-top .rp-h { margin: 0; }
.rp-contents-top .rp-tier { margin: 0; }
.rp-more { margin: 20px 0 0; padding: 12px 14px; border: 1px dashed var(--rule-strong); border-radius: 4px; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.lt-seal.rp-cover-seal { margin-top: 24px; width: 52px; height: 52px; font-size: 28px; }

/* 심화 여는 쪽: 편지를 건네는 수호신 + 열두 장 목록 */
.rp-deep-face { display: block; width: min(64%, 340px); height: auto; margin: 8px auto 0; }
.rp-deep-say { margin: 16px auto 28px; max-width: 30em; text-align: center; font-family: var(--name); font-weight: 700; font-size: 17px; line-height: 1.7; }
.rp-deep-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 28px; border-top: 1px solid var(--rule-strong); }
.rp-deep-list li { display: flex; justify-content: space-between; gap: 8px; padding: 10px 4px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.rp-deep-list b { font-family: var(--name); font-weight: 800; }
.rp-deep-list span { color: var(--ink-3); font-size: 12px; }
.rp-deep-list .lt-month--guardian span { color: var(--gold-ink); }
@media (max-width: 719px) { .rp-deep-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 719px) { .lt-seal.rp-cover-seal { margin-top: 32px; } }

/* 차례 */
.rp-h { margin: 0 0 24px; font-family: var(--name); font-weight: 800; font-size: 28px; }
.rp-toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.rp-toc li { display: grid; grid-template-columns: 56px 48px 1fr; align-items: baseline; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.rp-toc-han { font-family: var(--han); font-size: 30px; line-height: 1; color: var(--ink); }
.rp-toc-n { font-size: 13px; color: var(--ink-3); }
.rp-toc-title { font-family: var(--name); font-weight: 800; font-size: 18px; }
.rp-notes { margin-top: 40px; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.rp-notes p { margin: 0 0 8px; }

/* 편 머리: 큰 한자를 먹으로, 옆에 편 번호·제목 */
.rp-ch-head { display: flex; align-items: center; gap: 20px; margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--rule-strong); }
.rp-ch-han { font-family: var(--han); font-size: 64px; line-height: 1; color: var(--ink); }
.rp-ch-n { margin: 0; font-size: 13px; color: var(--ink-3); }
.rp-ch-title { margin: 2px 0 0; font-family: var(--name); font-weight: 800; font-size: 26px; line-height: 1.3; }
.rp-lead { margin: 0 0 16px; font-size: 17px; line-height: 1.9; }

/* 심화 한 달 한 쪽: 머리 / 본문 / 날짜 칸 / 남긴 말과 서명 */
.rp-month { display: flex; flex-direction: column; }
.rp-month-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--rule-strong); }
.rp-month-title { margin: 0; font-family: var(--name); font-weight: 800; font-size: 30px; letter-spacing: -.02em; }
.rp-month-grade { font-size: 14px; color: var(--ink-2); }
.rp-month.lt-month--guardian .rp-month-grade { color: var(--gold-ink); }
.rp-part { margin-top: 20px; }
.rp-part h4 { margin: 0 0 4px; font-family: var(--name); font-weight: 800; font-size: 15px; color: var(--ink-2); }
.rp-part p { margin: 0; line-height: 1.9; }
.rp-extra { margin: 16px 0 0; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.rp-days { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 0; }
.rp-days > div { padding: 12px 14px; border: 1px solid var(--rule-strong); border-radius: 4px; }
.rp-days dt { font-size: 12px; color: var(--ink-3); }
.rp-days dd { margin: 4px 0 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.rp-days-come dd { color: var(--gold-ink); }
.rp-month-last { margin-top: auto; padding-top: 32px; text-align: center; }
.rp-last { margin: 0; font-family: var(--name); font-weight: 700; font-size: 20px; line-height: 1.5; }
.rp-sign { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 719px) { .rp-days { grid-template-columns: 1fr; } .rp-cover-to { font-size: 34px; } .rp-ch-han { font-size: 48px; } }

/* 인쇄·PDF: 종이 한 장 = A4 한 쪽. 여백은 판이 직접 정해 인쇄 설정에 흔들리지 않게(@page 여백 0) */
@media print {
  @page { size: A4; margin: 0; }
  html, body.letters { background: var(--paper); }
  body.letters { padding: 0; color: var(--ink); }
  .lt-top, .lt-report-bar, .lt-tabs, .lt-nav, .lt-change, .lt-guardian, .lt-note, .site-foot, .lt-pay, .lt-report-btn { display: none !important; }
  .lt-main, body.is-report .lt-main { max-width: none; margin: 0; }
  .lt-viewer { margin: 0; }
  .lt-page.rp { display: block; }
  .rp-sheet {
    box-shadow: none; border-radius: 0; width: 210mm; min-height: 297mm; padding: 22mm 20mm 20mm;
    break-after: page; font-size: 10.5pt;
  }
  .rp-sheet:last-child { break-after: auto; }
  /* 긴 편(2·4편)은 다음 쪽으로 이어짐. 이어진 쪽에도 같은 여백 */
  .rp-chapter { box-decoration-break: clone; -webkit-box-decoration-break: clone; }
  .rp-cover, .rp-month { height: 297mm; overflow: hidden; }
  .rp-cover { padding: 0; }
  .rp-cover--premium::after { inset: 7mm; }
  .rp-cover-photo { aspect-ratio: auto; height: 190mm; }
  .rp-cover-text { padding: 0 20mm 18mm; margin-top: -10mm; }
  .rp-deep-open { height: 297mm; overflow: hidden; }
  .rp-deep-face { width: 95mm; }
  .rp-chapter .lt-glyph b { font-size: 24px; }
  .rp-chapter .lt-pillar, .rp-chapter .lt-pillar-grid { gap: 4px; }
  .rp-chapter .lt-el-bars { margin-top: 3mm; gap: 1px; }
  .rp-chapter .lt-el-row { font-size: 11px; }
  .rp-chapter .lt-pillars figcaption { margin-top: 2mm; }
  /* 1편(사주 표 + 이야기)이 한 쪽에 들어가게 인쇄에서만 간격을 줄임 */
  .rp-ch-head { margin-bottom: 6mm; padding-bottom: 4mm; }
  .rp-ch-han { font-size: 44pt; }
  .rp-chapter { padding-top: 16mm; }
  .rp-chapter .lt-p { margin-bottom: 2mm; line-height: 1.7; }
  .rp-chapter .lt-pillars { margin: 2mm 0 5mm; padding: 4mm 0 3mm; }
  .rp-chapter .lt-char { margin: 5mm 0; }
  .rp-chapter .lt-last { margin-top: 5mm; }
  .lt-month, .lt-paths > div, .lt-luck-card, .lt-last, .rp-part, .rp-days, tr, .lt-pillars, .lt-curve { break-inside: avoid; }
  .lt-deep-sum::after { content: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* 결제 창 안 링크(환불 규정): 브라우저 기본 파란색 대신 먹·금 */
.lt-pay-box a { color: var(--gold-ink); text-underline-offset: 3px; }
.lt-pay-box a:hover { color: var(--ink); }
