.social-floater {
  position: fixed;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: grid;
  grid-template-columns: 30px auto;
  align-items: center;
  column-gap: 10px;
  width: 202px;
  min-height: 58px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(105deg, #833ab4, #c13584 42%, #e1306c 70%, #f77737);
  box-shadow: 0 12px 36px rgb(139 22 74 / 34%);
  text-decoration: none;
  transition: width .28s ease, transform .28s ease, box-shadow .28s ease;
}

.social-floater:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgb(139 22 74 / 42%);
}

.social-floater[data-reveal-after] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(.96);
}

.social-floater[data-reveal-after].is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.instagram-gradient {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: linear-gradient(105deg, #833ab4, #c13584 42%, #e1306c 70%, #f77737) !important;
  box-shadow: 0 12px 32px rgb(139 22 74 / 30%);
  text-decoration: none;
}

.social-floater .social-floater__mark {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
}

.social-floater svg {
  display: block;
  width: 28px;
  height: 28px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-floater .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.social-floater b,
.social-floater small {
  grid-column: 2;
  white-space: nowrap;
  transition: opacity .18s ease;
}

.social-floater b {
  align-self: end;
  font-size: 12px;
  line-height: 1.25;
}

.social-floater small {
  align-self: start;
  font-size: 8px;
  line-height: 1.35;
  letter-spacing: .05em;
  opacity: .76;
}

.social-floater.is-compact {
  grid-template-columns: 30px;
  place-content: center;
  width: 48px;
  min-height: 48px;
  padding: 0;
}

.social-floater.is-compact b,
.social-floater.is-compact small {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

@media (min-width: 700px) {
  .social-floater {
    right: 24px;
    bottom: 24px;
  }
}

@media (max-width: 760px) {
  .social-floater {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-floater {
    transition: none;
  }
}
