.webify-invite[hidden] { display: none; }
.webify-invite {
  position: relative;
  grid-column: 1 / -1;
  padding: 16px 18px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.webify-invite-brand {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  font-size: 15px;
}
.webify-invite button {
  position: absolute;
  inset: 8px 8px auto auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--mute);
  cursor: pointer;
}
.webify-invite button:hover { background: var(--soft); color: var(--ink); }
.webify-invite h3 { font-size: 21px; line-height: 1.18; margin: 12px 0 7px; }
.webify-invite p { color: var(--mute); font-size: 16px; line-height: 1.45; max-width: 52ch; }
.webify-invite-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  color: var(--accent-dark);
  text-underline-offset: 3px;
}
@media (min-width: 761px) and (min-height: 560px) {
  .webify-invite {
    position: fixed;
    inset: calc(var(--header-height) + 12px) max(var(--pad), calc((100% - var(--wrap)) / 2 + var(--pad))) auto auto;
    width: 306px;
    z-index: 21;
    box-shadow: 0 6px 24px #15233e20;
  }
  @media (prefers-reduced-motion: no-preference) {
    .webify-invite:not([hidden]) { animation: webify-invite-in 170ms ease-out both; }
    @keyframes webify-invite-in {
      from { opacity: 0; transform: translateY(-5px); }
      to { opacity: 1; transform: translateY(0); }
    }
  }
}
