/* 혼자 보는 종합 풀이(solo.html) — 결과 조각(reading/solo.py render) 꾸밈. 색은 style.css 변수만 쓴다. */
#result:empty { display: none; }
.solo { margin: 1.5rem 0; }
.solo-head h1 { font-size: 1.4rem; margin: 0 0 .25rem; }
.solo-head .sub { color: var(--muted); margin: 0 0 .75rem; }
.solo table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.solo th, .solo td { border: 1px solid var(--line); padding: .35rem .4rem; text-align: left; vertical-align: top; }
.solo .solo-head table, .solo .body table { display: block; overflow-x: auto; }
.solo-toc ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 1rem 0; }
.solo-toc a { display: inline-block; padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--paper); }
.solo-ch { margin: 1.25rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.solo-ch h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
.solo-ch .verdict { font-weight: 700; color: var(--accent); margin: 0 0 .75rem; line-height: 1.5; }
.solo-ch .body p { line-height: 1.7; margin: .5rem 0; }
.solo-ch .body ul { padding-left: 1.1rem; line-height: 1.6; }
.solo-ch .sub-h { font-size: 1rem; margin: 1rem 0 .5rem; }
.solo .note { color: var(--muted); font-size: .88rem; line-height: 1.6; margin: .4rem 0; }
.solo .fold { margin-top: .75rem; border-top: 1px dashed var(--line); padding-top: .5rem; }
.solo .fold summary { cursor: pointer; color: var(--muted); font-size: .9rem; }
.solo .fold[open] { font-size: .9rem; line-height: 1.65; }
.solo .fold .tg { color: var(--muted); font-size: .8rem; }
.solo .trust { color: var(--muted); font-size: .85rem; margin-top: 1.5rem; line-height: 1.6; }
.solo { overflow-wrap: anywhere; }
/* 표 칸은 낱말 중간에서 꺾지 않는다(10차 — 「시주」「모름」이 한 글자씩 세로로 꺾이던 것) */
.solo .solo-head th, .solo .solo-head td, .solo .body th { overflow-wrap: normal; word-break: keep-all; }
.solo-toc a { font-size: .88rem; }
.solo-ch .act { margin: .75rem 0 0; padding: .5rem .7rem; border-left: 3px solid var(--accent); background: var(--bg, var(--paper)); font-weight: 600; line-height: 1.55; }
/* 올해 월별 — 좁은 화면은 표 대신 달마다 카드 한 장: 「입춘 2/4~3/5 · 경인(庚寅)」 + 「하늘 식신 · 땅 정재」 + 한 줄 */
.solo #ch-month .m-lab { display: none; }
@media (max-width: 600px) {
  .solo #ch-month table, .solo #ch-month tbody, .solo #ch-month tr, .solo #ch-month td { display: block; width: auto; }
  .solo #ch-month thead, .solo #ch-month .w-only { display: none; }
  .solo #ch-month .m-lab { display: inline; }
  .solo #ch-month td:nth-child(3) { margin-top: .2rem; color: var(--muted); font-size: .88rem; }
  .solo #ch-month tr { border: 1px solid var(--line); border-radius: 10px; padding: .55rem .7rem; margin: .5rem 0; background: var(--bg, var(--paper)); }
  .solo #ch-month td { border: 0; padding: 0; overflow-wrap: normal; word-break: keep-all; }
  .solo #ch-month td:nth-child(1), .solo #ch-month td:nth-child(2) { display: inline; font-weight: 700; }
  .solo #ch-month td:nth-child(2)::before { content: " · "; }
  .solo #ch-month td:nth-child(4) { margin-top: .3rem; line-height: 1.6; }
}
