/* THE DEATH CARD (ui/dead.js; the waking card stands inside it: ui/hub.css). Nothing here is a length, a colour or a time of its own: the HUD's tokens (data/hud.js `HUD.tokens`) and the rows of `HUD.death.look`,
   which dead.js sets on the card as custom properties (tests/sheets.test.mjs holds this rule). The title's letters are glass.css's (`.dead h2`, shared with the titles); its rule is in the body's colour. */

/* death */
.dead { flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 var(--dead-pad-x); background-color: var(--black); opacity: 0; }
html[data-mode='dead'] .dead { display: flex; animation: arrive var(--dead-fade) ease-out forwards; }
.dead .rule { align-self: stretch; height: var(--dead-rule); margin: var(--dead-rule-top) 0 var(--dead-rule-bottom); background-color: var(--harm); }
.stats-list { display: flex; flex-wrap: wrap; gap: var(--dead-facts-gap-y) var(--dead-facts-gap-x); margin: 0 0 var(--dead-facts-bottom); padding: 0; list-style: none; }
.stats-list li { display: grid; gap: var(--dead-fact-gap); }
.stats-list .val { font: 700 var(--value) / 1 var(--font-display); }
@keyframes arrive { to { opacity: 1; } }
