.container { display: flex; flex-direction: column; } .messages { padding: var(--s-3) 0 0 0; display: flex; flex-direction: column; gap: var(--s-2); height: 310px; overflow-y: auto; } .message { list-style: none; display: flex; gap: var(--s-3); } .messageInfo { display: flex; flex-direction: row; gap: 0 var(--s-1-5); align-items: center; flex-wrap: wrap; } .avatarWrapper { position: relative; flex-shrink: 0; } .avatarWrapperStaff img { border: var(--border-style-accent); border-radius: var(--radius-avatar); } .avatarBadge { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); background-color: var(--color-text-accent); color: var(--color-text-inverse); font-size: var(--font-2xs); font-weight: var(--weight-bold); padding: 1px 4px; border-radius: var(--radius-full); white-space: nowrap; } .pronounsTag { background-color: var(--color-bg-higher); color: var(--color-text-accent); font-size: var(--font-2xs); font-weight: var(--weight-semi); padding: 1px 5px; border-radius: var(--radius-full); white-space: nowrap; } .messageUser { font-weight: var(--weight-semi); font-size: var(--font-sm); color: oklch(from var(--color-text-accent) l c var(--chat-hue)); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .messageTime { font-size: var(--font-2xs); color: var(--color-text-high); } .inputContainer { margin-top: auto; position: relative; } .inputContainer > form { padding: var(--s-2); border-top: 1.5px solid var(--color-border); } .sendButton.sendButton { border-radius: var(--radius-full); background-color: var(--color-text-accent); color: var(--color-text-inverse); flex-shrink: 0; } .sendButton.sendButton:disabled { opacity: 0.4; } .messageContents { font-size: var(--font-sm); word-break: break-word; } .messageContentsPending { opacity: 0.7; } .roomButton { border: 0; border-bottom: var(--border-style); background-color: transparent; color: var(--color-text-high); border-radius: var(--radius-box) var(--radius-box) 0 0; padding: var(--s-1) var(--s-1); border-color: var(--color-bg-high); font-size: var(--font-xs); padding-block: var(--s-1); padding-inline: var(--s-2); display: flex; width: auto; align-items: center; justify-content: center; font-weight: var(--weight-bold); flex: 1 1 0px; } .roomButtonCurrent { background-color: var(--color-bg-high); color: var(--color-text); } .roomButtonUnseen { color: var(--color-accent); text-shadow: var(--font-2xs); margin-inline-start: var(--s-1); width: 25px; text-align: left; } .bottomRow { display: flex; justify-content: space-between; align-items: center; margin-block-start: var(--s-2); } .unseenMessages { position: absolute; font-size: var(--font-2xs); font-weight: var(--weight-bold); border-radius: var(--radius-field); background-color: var(--color-bg-higher); border: none; color: var(--color-text); bottom: 60px; right: 50%; left: 50%; transform: translate(-50%, -50%); height: 25px; width: max-content; &:active { transform: translate(-50%, -50%); } }