.support-trigger {
  position: fixed;
  z-index: 10;
  left: max(.75rem, env(safe-area-inset-left));
  bottom: max(.75rem, env(safe-area-inset-bottom));
  min-height: 44px;
  padding: .4rem .8rem;
  border: 1px solid var(--line-bright, #514d65);
  border-radius: 999px;
  background: var(--raised, #232235);
  color: var(--soft, #d3cfe0);
  font-size: .75rem;
  font-weight: 700;
}

.support-trigger:hover {
  border-color: var(--accent, #ffae65);
  color: var(--text, #f8f6fb);
}

.support-dialog {
  width: min(25rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background: transparent;
  color: var(--text, #f8f6fb);
}

.support-dialog:not([open]) {
  display: none;
}

.support-dialog::backdrop {
  background: rgb(9 8 18 / 76%);
}

.support-dialog-fallback[open] {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 1rem;
  border-radius: 0;
  background: rgb(9 8 18 / 76%);
}

.support-content {
  width: min(100%, 25rem);
  padding: 1.25rem;
  border: 1px solid var(--line-bright, #514d65);
  border-radius: 1rem;
  background: var(--panel, #1a1928);
}

.support-description {
  margin: 0;
  color: var(--soft, #d3cfe0);
  font-size: .9375rem;
}

.support-account {
  margin: .75rem 0 0;
  color: var(--text, #f8f6fb);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  user-select: text;
}

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

.support-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
  margin-top: 1rem;
}

.support-actions button {
  min-height: 44px;
  padding: .35rem .8rem;
  border: 1px solid var(--line-bright, #514d65);
  border-radius: .6rem;
  background: var(--raised, #232235);
  color: var(--text, #f8f6fb);
  font: inherit;
  font-weight: 700;
}

.support-actions .support-copy {
  border-color: transparent;
  background: var(--accent, #ffae65);
  color: var(--accent-text, #251507);
}

.support-actions .support-copied {
  background: var(--success, #9de3c6);
}
