/* In memoriam. One treatment wherever a deceased character's portrait appears
   (picker card, sidebar, cards, profile): the picture is kept but stilled to
   monochrome, with a single small monochrome mark. Original portraits and
   historical text stay intact. Tokens only; the mark's glyph is fixed. */
.portrait-deceased-photo{position:absolute;inset:0;display:block;filter:grayscale(1);opacity:.48}
.portrait-deceased-photo:has(.character-portrait:not([hidden]))>.portrait-initial{opacity:0}
.portrait-deceased-skull{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:36%;height:36%;min-width:12px;min-height:12px;max-width:44px;max-height:44px;display:block;z-index:3;pointer-events:none;opacity:1;filter:none;border:1px solid var(--paper);border-radius:50%;background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M12 2C6.9 2 3 5.7 3 10.4c0 3 1.4 5.3 4 6.7V21h10v-3.9c2.6-1.4 4-3.7 4-6.7C21 5.7 17.1 2 12 2ZM7 8.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5Zm10 0a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5ZM12 12l-1.5 3h3ZM9 18h1v4H9Zm5 0h1v4h-1Z'/%3E%3C/svg%3E") center/72% 72% no-repeat}
.portrait.deceased>.portrait-initial{filter:grayscale(1);opacity:.48}
.portrait.deceased{background:var(--shade);color:var(--ink-3);box-shadow:0 0 0 1px var(--ink)}
.role-portrait:has(>.portrait-deceased-photo){background:var(--shade)}
