/* Contact invitation shown only to visitors on the web products. */
.mu-visitor-contact {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(280px, calc(100vw - 36px));
  padding: 0 20px 20px;
  border: 1px solid rgba(150, 204, 106, .35);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--dark-bg2), var(--dark-bg));
  box-shadow: 0 16px 48px rgba(13, 20, 32, .3);
  color: var(--dark-text);
  font-family: var(--font);
  text-align: center;
  animation: mu-visitor-enter 220ms var(--ease) both;
}
.mu-visitor-contact__avatar {
  flex: none;
  width: 190px;
  height: 190px;
  margin: -28px 0 -8px;
  object-fit: contain;
  pointer-events: none;
}
.mu-visitor-contact__title {
  margin: 0 0 5px;
  font-size: var(--fs-lg);
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
}
.mu-visitor-contact__copy {
  margin: 0 0 12px;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--dark-text);
}
.mu-visitor-contact__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: var(--r-btn);
  background: var(--accent-light);
  color: var(--dark-bg);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.mu-visitor-contact__link:hover { background: #b0df86; }
.mu-visitor-contact__link:focus-visible,
.mu-visitor-contact__close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.mu-visitor-contact__close {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--dark-text);
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}
.mu-visitor-contact__close:hover { background: rgba(255, 255, 255, .1); }
.mu-visitor-contact-bubble {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 70;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(150, 204, 106, .65);
  border-radius: 50%;
  background: var(--dark-bg2);
  box-shadow: 0 10px 30px rgba(13, 20, 32, .3);
  color: var(--accent-light);
  cursor: pointer;
  opacity: .8;
  /* its own entrance: the shared one ends at opacity 1 and would hold it (fill both) */
  animation: mu-visitor-bubble-enter 220ms var(--ease) both;
}
/* The envelope: mu-ui.css makes every svg 100 % wide, so it filled the 54 px disk (52 px inside); 20 % smaller. */
.mu-visitor-contact-bubble svg { width: 42px; height: 42px; }
.mu-visitor-contact-bubble:hover { background: var(--dark-bg); }
.mu-visitor-contact-bubble:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes mu-visitor-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes mu-visitor-bubble-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: .8; transform: translateY(0); }
}
@media (max-width: 440px) {
  .mu-visitor-contact { width: min(260px, calc(100vw - 28px)); padding: 0 16px 16px; }
  .mu-visitor-contact__avatar { width: 166px; height: 166px; margin-top: -20px; }
}
@media (prefers-reduced-motion: reduce) {
  .mu-visitor-contact, .mu-visitor-contact-bubble { animation: none; }
}
