/* Stage 4, 14: colors and effects come from the inline GameCMS group style. */
.fox-user-group {
    display: inline-block;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    height: auto;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: normal;
    font-style: normal;
    font-weight: 400;
    text-shadow: none;
    -webkit-text-fill-color: currentColor;
}

/* Older cards clipped group captions to one line or inherited a nickname fill. */
.fox-user-group-slot {
    display: block;
    min-width: 0;
    max-width: 100%;
    height: auto !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    line-height: 1.35;
}
.fox-user-group-slot .fox-user-group {
    min-width: 0;
    max-width: 100%;
}
.fox-online-users #online_users a .fox-user-group,
.fox-online-users-list a .fox-user-group {
    display: inline-block;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
}
.fox-dialog-card__identity .fox-user-group-slot,
.fox-messages-page .info .fox-user-group-slot,
.fox-users-page .fox-user-group-slot,
.fox-friends-page .fox-user-group-slot {
    display: block;
}
.fox-dialog-card__identity .fox-user-group-slot {
    font-size: 11px;
    flex-basis: 100%;
}

/* Allow captions and their nicknames to grow inside existing compact cards. */
.fox-main .fox-online-users .fox-online-users-list > a {
    height: auto !important;
    min-height: 62px;
}
.fox-online-users-list .fox-online-user__name,
.fox-users-page #users .fox-user-card__name,
.fox-friends-page .fox-friend-card__name,
.fox-messages-page .fox-dialog-card__nick {
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
}
.fox-profile-identity__title h1,
.fox-admin-card h2,
.fox-messages-page .im_message .info > a {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.fox-topic-card__meta {
    flex-wrap: wrap;
    overflow: visible;
    white-space: normal;
}
.fox-topic-card__meta > .fox-topic-card__author {
    flex: 1 1 auto;
    max-width: 100%;
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
}

.comment > div .info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    min-width: 0;
    height: auto;
}
.comment > div .info .author,
.comment > div .info .date {
    float: none;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.comment > div .info .date {
    margin-left: auto;
}
.comment > div .info > .dell_message {
    position: static;
}

.fox-chat-panel #chat #chat_messages .chat_message .info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
    min-width: 0;
    height: auto;
    min-height: 18px;
}
.fox-chat-panel #chat #chat_messages .chat_message .info .author,
.fox-chat-panel #chat #chat_messages .chat_message .info .date {
    float: none;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.fox-chat-panel #chat #chat_messages .chat_message .info .date {
    margin-left: auto;
}
.fox-chat-panel #chat #chat_messages .chat_message .info .fox-user-group-slot {
    order: 1;
    flex-basis: 100%;
}
