/* NPC generator (www.asardynasty.com/ttrpg/npcs/). Loaded after site.css; every rule is scoped to .ttrpg, and
   colours come from site.css's Asar palette variables. */
.ttrpg .npc h3 { font-size: 1.5em; margin-bottom: 0; }
.ttrpg .npc .who { font-weight: 700; color: var(--accent); margin: 0 0 0.5em; }
.ttrpg .npc .who .meta { font-weight: 400; }
.ttrpg dl.facts { margin: 0.75em 0; }
.ttrpg dl.facts > div { display: grid; grid-template-columns: 8em 1fr; gap: 0 1em; padding: 0.4em 0; border-top: 1px solid var(--line); }
.ttrpg dl.facts dt { font-weight: 700; color: var(--muted); }
.ttrpg dl.facts dd { margin: 0; }
.ttrpg .npc-links { margin: 0.5em 0 0; }
.ttrpg .choices label.check { font-weight: 400; }
.ttrpg input[type="checkbox"] { inline-size: 1.25em; block-size: 1.25em; margin: 0; }
@media (max-width: 34em) {
  .ttrpg dl.facts > div { grid-template-columns: 1fr; }
}
@media print {
  .ttrpg .npc { break-inside: avoid; }
  .ttrpg .npc-links, .ttrpg .npc details:not([open]) { display: none !important; }
  .ttrpg .npc .who { color: #000; }
}
