/* 「재물운」 화면 전용. style.css 다음에 읽는다. 색은 style.css 의 변수만 쓴다(밝게·어둡게 자동). */
.wl-who { margin: 0; font-weight: 700; overflow-wrap: anywhere; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: 14px; color: var(--muted); }
.wl-part { margin-top: 0; padding: 24px 0 8px; border-top: 1px solid var(--line); }
.wl-part:first-of-type { border-top: 0; padding-top: 16px; }
.wl-part h2 { margin: 0 0 8px; }
.wl-part .hint { margin: 6px 0; overflow-wrap: anywhere; }
.wl-part .note { margin: 12px 0 8px; font-size: 14px; padding: 2px 0 2px 12px; border: 0; border-left: 2px solid var(--line); border-radius: 0; background: transparent; color: var(--muted); }
.wl-line { margin: 12px 0; font-size: 18px; line-height: 1.6; overflow-wrap: anywhere; padding-left: 12px; border-left: 3px solid var(--accent); }

/* 2027년 단계: 동그라미 다섯 개 + 「n단계」 */
.wl-level { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 12px 0; padding: 16px; border-radius: var(--r-m); background: var(--bg); }
.wl-level strong { font-size: var(--fs-num); line-height: 1.1; order: 1; letter-spacing: -0.02em; }
.wl-level .hint { margin: 0; order: 2; }
.wl-meter { display: flex; gap: 4px; order: 3; flex: 0 0 100%; margin-top: 8px; }
.wl-meter i { display: inline-block; width: auto; height: 8px; border-radius: 4px; border: 0; flex: 1; background: var(--line); }
.wl-meter i.on { background: var(--accent); }

/* 5년 표: 390px 폭에서 넘치지 않게 — 앞 두 칸은 한 줄, 근거 칸만 줄바꿈 */
.wl-table { table-layout: auto; }
.wl-table th, .wl-table td { vertical-align: top; }
.wl-table td:nth-child(1), .wl-table td:nth-child(2) { white-space: nowrap; }
.wl-table td:nth-child(3) { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 359px) {
  .wl-table { font-size: 14px; }
  .wl-table td:nth-child(2) { white-space: normal; }
}

/* 12/2 화면 보내기 칸(5년 표와 「이어서 보기」 사이) */
.wl-share { padding-bottom: 16px; }
.wl-share h2 { font-size: 18px; }
.wl-share p { margin: 6px 0; overflow-wrap: anywhere; }
.wl-share .buttons { margin: 12px 0 6px; }
.wl-share button { flex: 1 1 200px; }

.wl-chain { margin-top: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.wl-chain h2 { margin: 0 0 4px; font-size: 18px; }
.wl-chain .buttons { margin-bottom: 0; }
.wl-chain a.button { flex: 1 1 140px; }

/* ===== 디자인 사양(2026-12-02) — 결과 카드(위에 같은 선택자가 없는 새 규칙) ===== */
#result.card { padding: 20px 16px; box-shadow: var(--shadow-2); }
.wl-table th { font-size: var(--fs-cap); color: var(--muted); }

/* 12/2 결과 머리: 캐릭터 그림(작은 그림 56px) + 누구 기준인지 한 줄. 먹선은 머리 줄 아래로 옮긴다. */
.wl-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.wl-head .wl-who { flex: 1 1 0; min-width: 0; padding-bottom: 0; border-bottom: 0; }
