/* Authored portraits replace the compact icon in NPC conversation headers. */
.message-modal > .message-modal-header:has(> img) {
  grid-template-columns: auto minmax(0, 1fr) auto;
  flex-shrink: 0;
}
.message-modal:has(> .message-modal-header > img) {
  max-height: min(100%, 560px);
}
.message-modal:has(> .message-modal-header > img) > .message-modal-actions {
  flex-shrink: 0;
  flex-wrap: wrap;
}
.floating-info.info-panel .npc-profile-header .npc-profile-identity {
  align-self: stretch;
}

.floating-info.info-panel .npc-profile-header > img {
  align-self: flex-end;
}

.floating-info.info-panel .npc-profile-header .npc-profile-identity .fi-btn {
  margin-top: auto;
}
