.github-section {
  margin: 0 0 48px;
  padding: 22px 0 36px;
  border-bottom: 1px solid var(--line);
}
.github-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.github-heading .eyebrow { margin-bottom: 6px; }
.github-copy { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.github-link, .source-link, .release-assets a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.github-link:hover, .source-link:hover, .release-assets a:hover { border-color: var(--pink); color: var(--pink); }
.repo-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}
.repo-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--pink);
  font: 700 12px Consolas, monospace;
}
.repo-info { min-width: 0; flex: 1; }
.repo-info > a { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.repo-info > a:hover { color: var(--pink); }
.repo-info p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.releases { display: grid; }
.release-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--paper);
}
.release-details { min-width: 0; }
.release-title { color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.release-title:hover { color: var(--pink); }
.release-meta { margin: 4px 0 0; color: var(--muted); font: 11px/1.5 Consolas, monospace; }
.release-assets { display: flex; flex-wrap: wrap; justify-content: end; gap: 7px; }
.release-assets a { min-height: 36px; padding-inline: 10px; font-size: 11px; }
.github-link:focus-visible, .source-link:focus-visible, .release-assets a:focus-visible, .repo-info > a:focus-visible, .release-title:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
@media (max-width: 600px) {
  .github-heading { align-items: start; }
  .github-heading h2 { font-size: 19px; }
  .github-link { min-height: 40px; padding-inline: 10px; }
  .repo-card { flex-wrap: wrap; padding: 13px; }
  .repo-info { flex-basis: calc(100% - 60px); }
  .source-link { width: 100%; }
  .release-card { align-items: start; flex-direction: column; }
  .release-assets { justify-content: start; }
}
