.floating-line-button {
  position: fixed;
  right: max(2rem, env(safe-area-inset-right));
  bottom: max(2rem, env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  width: 8rem;
  height: 8rem;
  align-items: center;
  justify-content: center;
  color: #06c755;
  background: #ffffff;
  border: 0.1rem solid rgba(6, 199, 85, 0.24);
  border-radius: 50%;
  box-shadow: 0 0.5rem 1.8rem rgba(0, 0, 0, 0.22);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.floating-line-button .icon {
  width: 6.4rem;
  height: 6.4rem;
}

.floating-line-button:hover {
  color: #06c755;
  transform: translateY(-0.2rem) scale(1.04);
  box-shadow: 0 0.7rem 2.2rem rgba(0, 0, 0, 0.28);
}

.floating-line-button:focus-visible {
  color: #06c755;
  outline: 0.3rem solid #111111;
  outline-offset: 0.3rem;
}

@media screen and (max-width: 749px) {
  .floating-line-button {
    right: max(1.6rem, env(safe-area-inset-right));
    bottom: max(1.6rem, env(safe-area-inset-bottom));
    width: 6.4rem;
    height: 6.4rem;
  }

  .floating-line-button .icon {
    width: 5.2rem;
    height: 5.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-line-button {
    transition: none;
  }
}
