.share {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.share__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-block-size: var(--tap);
  padding-inline: var(--space-4);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  background-color: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  white-space: nowrap;
  transition: border-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.share__button:hover {
  border-color: var(--color-forest-600);
  color: var(--color-forest-800);
}

.share__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--color-text-subtle);
  font-size: var(--text-xs);
}

.share__url {
  padding: var(--space-3);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--color-surface-muted);
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-user-select: all;
  user-select: all;
  cursor: text;
}
