.gp-support-launcher {
  position: fixed;
  z-index: 1450;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex;
  min-width: 3.25rem;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1rem;
  color: #fff;
  background: #171716;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  box-shadow: 0 .65rem 1.8rem rgba(20,20,18,.22);
  font: 700 .72rem/1.1 "IBM Plex Mono", monospace;
  letter-spacing: .03em;
}

.gp-support-launcher svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.gp-support-launcher:hover,
.gp-support-launcher:focus-visible {
  background: #a83f37;
  transform: translateY(-2px);
}

.gp-support-launcher:focus-visible,
.gp-support-close:focus-visible,
.gp-support-card a:focus-visible {
  outline: 3px solid #d98f88;
  outline-offset: 3px;
}

.gp-support-panel[hidden] { display: none; }

.gp-support-panel {
  position: fixed;
  z-index: 1460;
  inset: 0;
  display: grid;
  place-items: end;
  padding: 1rem;
  background: rgba(10,10,9,.34);
}

.gp-support-card {
  width: min(25rem, calc(100vw - 2rem));
  padding: 1.2rem;
  color: #1b1b19;
  background: #fff;
  border: 1px solid #d8d5cc;
  border-radius: 1rem;
  box-shadow: 0 1.25rem 4rem rgba(12,12,11,.28);
}

.gp-support-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.gp-support-card h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.1;
}

.gp-support-card p {
  margin: .65rem 0 1rem;
  color: #66635c;
  font-size: .9rem;
  line-height: 1.5;
}

.gp-support-close {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  place-items: center;
  color: #1b1b19;
  background: #f3f1eb;
  border: 1px solid #d8d5cc;
  border-radius: 999px;
  font-size: 1.25rem;
}

.gp-support-email {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: .8rem 1rem;
  color: #fff;
  background: #a83f37;
  border: 1px solid #a83f37;
  border-radius: 999px;
  font-weight: 700;
}

.gp-support-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .45rem;
  margin-top: .75rem;
}

.gp-support-links a {
  display: grid;
  min-height: 2.75rem;
  place-items: center;
  padding: .5rem;
  color: #262522;
  background: #f7f5ef;
  border: 1px solid #dedbd2;
  border-radius: .65rem;
  font-size: .7rem;
  text-align: center;
}

@media (max-width: 639px) {
  .gp-support-launcher {
    right: .75rem;
    bottom: calc(4.25rem + env(safe-area-inset-bottom));
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
    min-height: 3rem;
    padding: 0;
    border-radius: 50%;
  }

  .gp-support-launcher span { display: none; }

  .gp-support-panel {
    align-items: end;
    padding: 0;
  }

  .gp-support-card {
    width: 100%;
    padding: 1.15rem max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    border-radius: 1.15rem 1.15rem 0 0;
  }
}
