.container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 8px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 100%;
  object-fit: contain;
}

.text {
  position: relative;
  width: fit-content;
  max-width: 70%;
  padding: 8px;
  border-radius: 8px;
  text-align: left;
  max-width: min(30rem, 100vw - 3.75rem - 44px);
}

.self > .text {
  padding-left: 12px;
}

.blur-element {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 32px);
  /* background-color: rgba(255, 255, 255, .1); */
  /* filter: blur(8px); */
  /* backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px); */
  background: rgba(201, 201, 201, 0.5); /* Примерный фон */
  backdrop-filter: blur(5px); /* Основной эффект размытия */
  -webkit-backdrop-filter: blur(10px); /* Для Safari */

  mask-image: linear-gradient(to top, black 50%, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, .8) 95%, transparent);
  -webkit-mask-image: linear-gradient(to top, black 50%, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, .8) 95%, transparent);

  border-radius: 0 0 8px 8px;
}

.blur-element > span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: #000000;
  padding: 8px 24px;
  background: #ffffffe3;
  border-radius: 16px;
  text-wrap: nowrap;
  width: fit-content;
  display: block;
  cursor: pointer;
}