.bubble {
  display: flex;
  font-size: 16px;
  font-weight: normal;
  min-width: 310px;
  max-width: 35em;
  width: calc(100% - 2em);
  gap: 0.6em;
  position: fixed;
  z-index: 9999;
  bottom: 1em;
  right: 1em;
  transform: translateY(150%);
  animation: 0.8s cubic-bezier(0.5, 0, 0.35, 1.2) 2s slidein;
  animation-fill-mode: forwards;
}

.bubble__image {
  width: 48px;
  height: 48px;
  filter: drop-shadow(rgba(17, 17, 26, 0.1) 0px 0px 16px)
    drop-shadow(rgba(17, 17, 26, 0.125) 0px 0px 24px)
    drop-shadow(rgba(17, 17, 26, 0.15) 0px 0px 56px);
  display: block;
}

.bubble__message {
  font-family: system-ui, sans-serif;
  background: #4b6cb7; /* fallback for old browsers */
  background: -webkit-linear-gradient(
    to top left,
    #182848,
    #4b6cb7
  ); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(
    to top left,
    #182848,
    #4b6cb7
  ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #ffffff;
  width: 100%;
  padding: 0.6em 1.2em 1em;
  border-radius: 1em;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px,
    rgba(17, 17, 26, 0.125) 0px 0px 24px, rgba(17, 17, 26, 0.15) 0px 0px 56px;
}

.bubble__name {
  font-size: inherit;
  margin: 0;
  line-height: 1.5;
}

.bubble__link {
  text-decoration: none !important;
  color: inherit !important;
  border: none !important;
}

.bubble__link:hover {
  text-decoration: none !important;
  color: inherit !important;
  border: none !important;
}

.bubble__link_underlined {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  transition-property: color, border-color;
  transition-timing-function: ease-out;
  transition-duration: .22s;
}

.bubble__link_underlined:hover {
  border-bottom: 1px solid rgba(255, 255, 255, 0.36) !important;
  transition: none;
}

.bubble__link_image {
  align-self: flex-end;
}

.bubble__text {
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 0.5em;
}

.bubble__text:last-child {
  margin-bottom: 0;
}

.bubble__mono {
  font-family: monospace, monospace;
  background-color: rgba(255, 255, 255, 0.18);
  padding: 0.1em 0.3em 0.2em;
  border-radius: 0.3em;
}

.bubble__close {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  color: inherit;
  font-size: 13.333333px;
  line-height: 0;
  padding: 0.8em 0.8em 0.4em 0.5em;
  cursor: pointer;
}

@keyframes slidein {
  from {
    transform: translateY(150%);
  }
  to {
    transform: none;
  }
}

@media screen and (max-width: 375px) {
  .bubble {
    bottom: 5px;
    right: 5px;
    width: calc(100% - 10px);
  }
}
