.message img.chat-portrait-message-portrait-generic {
    flex: 0 0 0px;
    margin-right: 5px;
    margin-bottom: 3px;
    /* object-fit: cover; */
}

/*
.chat-message,
.chat-message.emote,
.chat-message.blind {
  background-image: url(../assets/parchment.jpg);
  background-repeat: repeat;
}
.chat-message.whisper {
  background-image: url(../assets/parchment-white.jpg);
}
*/
/*
.chat-portrait {
  text-decoration: underline;
  cursor: pointer;
}

.chat-portrait-tooltip {
  display: block;
  padding: 2px 4px;
  position: absolute;
  background: #222;
  border: 1px solid #191813;
  border-radius: 3px;
  color: #ddd;
  text-align: left;
  white-space: nowrap;
  word-break: break-all;
}

.chat-portrait-tooltip ul {
  list-style-type: circle;
}
*/
/*
.chat-portrait-currentSpeaker {
  flex: 0;
  padding: 3px 0.5em;
}

.chat-portrait-currentSpeaker #context-menu {
  max-height: 50vh;
  overflow-y: auto;
}

.chat-portrait-currentSpeakerToggle:hover {
  opacity: 1;
}
*/

.chat-portrait-playerName-generic {
    opacity: 0.5;
}

.chat-portrait-playerName-generic::before {
    content: " [";
}

.chat-portrait-playerName-generic::after {
    content: "]";
}

/* Narrator Chat Module Support - Don't show portrait on Narrates */
/*
.chat-message.message.flexcol.narrator-chat img.chat-portrait-message-portrait {
  display: none;
}
*/

.chat-portrait-text-size-name-generic {
    /* display: flex; apply suggestion https://github.com/p4535992/foundryvtt-chat-portrait/issues/44 */
    margin: auto;
}

.chat-portrait-image-size-name-generic {
    /* display: flex;
  margin: auto; */
    margin-right: 5px;
}

.chat-portrait-indicator-generic {
    display: inline-block;
    margin: 0 3px 0 0;
    padding: 0 3px;
    line-height: 1rem;
    border: 1px solid #999;
    border-radius: 3px;
    background: #999;
}

.chat-portrait-whisper-to-generic * {
    display: inline-block;
    margin: 1px 3px 1px 0;
    padding: 0 3px;
    line-height: 1rem;
    border: 1px solid #999;
    border-radius: 3px;
    background: #999;
}

.message .chat-portrait-message-header-generic {
    justify-content: space-between;
}

.message .chat-portrait-message-header-generic .message-metadata {
    /* flex: 0 0 auto; */
    margin-left: 1rem;
}

.message .chat-portrait-message-header-generic .chat-portrait-whisper-to-generic {
    line-height: 1rem;
    margin-bottom: 0.5rem;
}

.message .chat-portrait-message-header-generic {
    /* line-height: 0px !important; */
    margin: 0;
    padding: 0;
    border: none;
}

.message .chat-portrait-text-header-name-generic {
    margin-left: inherit;
    padding: 0;
    border: none;
    white-space: break-spaces !important;
    line-height: 20px;
    /* color: var(--color-text-dark-secondary); */
    align-items: center;
}

.message .chat-portrait-message-content-generic {
    margin: 0;
    padding: 0;
    border: none;
    line-height: 20px;
    /* color: var(--color-text-dark-secondary); */
    align-items: center;
}

/*
.message .message-sender {
  flex: 1 0 1px;
}
*/

/* Chat Images Module Support */
/*
.message .message-content .chat-images-container img {
  width: 100%;
  height: 100%;
}
*/
