.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.tcs-chat {
  width: 100%;
  position: fixed;
  display: flex;
  flex-direction: column;
  background-color: #f6f6f6;
  opacity: 0;
  visibility: hidden;
  backface-visibility: hidden;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(100%);
  transition: all 0.15s ease-out;
  z-index: 100;
}
.tcs-chat--opened {
  height: 70vh;
  opacity: 1;
  visibility: visible;
  backface-visibility: visible;
  transform: translateY(0);
  transition: all 0.3s ease-in;
}
.tcs-chat * {
  box-sizing: border-box;
}
.tcs-chat__header {
  position: relative;
  background-color: #4b4a4a;
  text-align: center;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  padding: 12px;
  letter-spacing: 0.2px;
  color: #fff;
  margin-bottom: 8px;
}
.tcs-chat__header > button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  right: 19px;
  transform: translateY(-50%);
  background-color: transparent;
  cursor: pointer;
  outline: none;
  border: none;
}
.tcs-chat__header > button > svg {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.6);
}
.tcs-chat__content {
  width: 100%;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 24px;
}
.tcs-chat__footer {
  position: relative;
  padding: 14px 24px 24px 24px;
  margin-top: 32px;
}
.tcs-chat__footer input {
  background-color: #fff;
  border: 1px solid rgba(74, 75, 75, 0.32);
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: rgba(51, 51, 51, 0.96);
  padding: 16px 54px 16px 16px;
  width: 100%;
}
.tcs-chat__footer input:focus {
  border-color: #da291c;
  outline: none;
}
.tcs-chat__footer input::placeholder {
  color: rgb(51 51 51 / 0.72);
}
.tcs-chat__footer button {
  position: absolute;
  top: 14px;
  right: 24px;
  width: 54px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
.tcs-chat__footer button svg {
  width: 22px;
  height: 22px;
}

.tcs-chat__content__message {
  display: flex;
  width: 100%;
  align-items: start;
  justify-content: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(51, 51, 51, 0.16);
  margin-top: 18px;
}
.tcs-chat__content__message__avatar {
  width: 24px;
  height: 24px;
  overflow: hidden;
  border-radius: 9999px;
  flex-shrink: 0;
}
.tcs-chat__content__message__content__name {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #333;
  margin-bottom: 8px;
}
.tcs-chat__content__message__content__message {
  font-size: 14px;
  line-height: 24px;
  color: rgba(51, 51, 51, 0.96);
}

@media only screen and (min-width: 577px) {
  .tcs-chat {
    position: relative;
    height: 440px;
    opacity: 1;
    visibility: visible;
    backface-visibility: visible;
    transform: translateY(0);
  }
  .tcs-chat__header > button {
    display: none;
  }
}
