/* Compact, quiet author contact bar shared by every rendered page. */
.helio-book-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem 0.55rem;
  max-width: 48rem;
  margin: 0.35rem auto 0;
  color: var(--pst-color-text-muted, #6c757d);
  font-size: 0.82rem;
  line-height: 1.5;
}

.helio-book-footer__name {
  color: inherit;
  font-weight: 600;
}

.helio-book-footer__separator {
  opacity: 0.45;
}

.helio-book-footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}

.helio-book-footer a:hover,
.helio-book-footer a:focus-visible {
  color: var(--pst-color-primary, #0b7285);
  border-bottom-color: currentColor;
}

@media (max-width: 36rem) {
  .helio-book-footer {
    gap: 0.2rem 0.7rem;
  }

  .helio-book-footer__name {
    flex-basis: 100%;
  }

  .helio-book-footer__separator {
    display: none;
  }
}

/* A single quiet repository action in the global header. */
.helio-github-star {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  flex: 0 0 auto;
  min-height: 2rem;
  margin-left: 0.55rem;
  padding: 0.25rem 0.58rem;
  border: 1px solid var(--pst-color-border, #d1d5db);
  border-radius: 0.4rem;
  color: var(--pst-color-text-muted, #4b5563);
  background: var(--pst-color-background, #fff);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 120ms ease, border-color 120ms ease, background 120ms ease;
}

.helio-github-star:hover,
.helio-github-star:focus-visible {
  color: var(--pst-color-primary, #0b7285);
  border-color: currentColor;
  background: var(--pst-color-on-background, #f8f9fa);
  text-decoration: none;
}

@media (max-width: 48rem) {
  .helio-github-star {
    width: 2rem;
    justify-content: center;
    margin-left: auto;
    padding-inline: 0;
  }

  .helio-github-star__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
