.line-contact {
  position: fixed;
  z-index: 80;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom));
  display: grid;
  width: 56px;
  height: 56px;
  padding: 4px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #06c755;
  box-shadow: 0 4px 16px rgb(0 0 0 / 18%);
  cursor: pointer;
}

.line-contact svg {
  width: 100%;
  height: 100%;
}

.line-contact:focus-visible {
  outline: 3px solid #111;
  outline-offset: 4px;
}

.line-contact-dialog {
  width: min(420px, calc(100vw - 32px));
  padding: 24px;
  border: 1px solid #ddd;
  border-radius: .75rem;
  color: #222;
  background: #fff;
}
.line-contact-dialog::backdrop { background: rgb(0 0 0 / 40%); }
.line-contact-dialog p { line-height: 1.6; }

.line-contact-id {
  overflow-wrap: anywhere;
  font-weight: 700;
}
.line-contact-close { float: right; }

@media (width <= 767px) {
  body[data-line-contact-bottom-nav] .line-contact {
    bottom: calc(96px + env(safe-area-inset-bottom));
  }
}
