/* statblock.css - 2024-style stat block (works on screen and in print). */
.statblock {
  --sb-bg: #fbf7ee; --sb-red: #7a200d; --sb-rule: #9b2b14; --sb-cell: #ece3cf; --sb-cell2: #e2d4b7;
  background: var(--sb-bg); color: #1b1712; border: 1px solid #d9ccb0; border-radius: 4px; padding: 10px 14px 12px;
  font-family: var(--sans, "Alegreya Sans", sans-serif); font-size: 14px; line-height: 1.38; box-shadow: 0 1px 2px rgba(0,0,0,.08);
  break-inside: avoid; page-break-inside: avoid;
}
.statblock header h3 { font-family: var(--serif, Georgia, serif); color: var(--sb-red); font-size: 22px; font-variant: small-caps; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.statblock .cnt { font-family: var(--sans); font-variant: normal; font-size: 13px; background: var(--sb-red); color: #fff; border-radius: 10px; padding: 0 8px; }
.statblock .tl { font-style: italic; color: #4a4236; margin-bottom: 4px; }
.statblock .sbtop, .statblock .sbmid { border-top: 2px solid var(--sb-rule); padding-top: 5px; margin-top: 4px; }
.statblock .sl { margin: 1px 0; }
.statblock .sl > b { color: var(--sb-red); }
.statblock .ini { margin-left: 16px; }
.statblock .ini b { color: var(--sb-red); }
.statblock table.abil { width: 100%; border-collapse: separate; border-spacing: 2px; margin: 6px 0 4px; font-size: 13px; text-align: center; }
.statblock table.abil th { font-size: 10px; color: #6b5f4a; font-weight: 500; padding: 0; }
.statblock table.abil td { background: var(--sb-cell); padding: 1px 2px; }
.statblock table.abil td.ab { font-weight: 700; text-transform: uppercase; font-size: 11.5px; letter-spacing: .03em; background: var(--sb-cell2); color: var(--sb-red); text-align: left; padding-left: 5px; }
.statblock table.abil td.sc { background: var(--sb-cell2); }
.statblock table.abil td.sv.prof { font-weight: 700; }
.statblock h4.sbh { font-family: var(--serif, Georgia, serif); color: var(--sb-red); font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--sb-rule); margin: 9px 0 4px; padding-bottom: 1px; }
.statblock p { margin: 0 0 4px; }
.statblock .ename { font-style: italic; font-weight: 700; }
.statblock .spells { margin: 0 0 4px 12px; }
.statblock .spells div { margin: 1px 0; }
.statblock .sbfoot { margin-top: 8px; font-size: 12.5px; color: #5a5040; border-top: 1px dashed #cdbd9c; padding-top: 4px; }
.statblock .role { margin-left: 0; }
.statblock .dice { white-space: nowrap; }
.statblock .ref-spell { font-style: italic; }
