.gh-center {
  --gh-accent: var(--accent, var(--blue, #68a8ff));
  --gh-line: var(--border, var(--line, #293647));
  color: var(--text, #f4f7fc);
  min-width: 0;
}
.gh-center * {
  box-sizing: border-box;
}
.gh-center [hidden] {
  display: none !important;
}
.gh-intro,
.gh-package p,
.gh-attribution,
.gh-status {
  color: var(--muted, #a6b4c7);
  line-height: 1.65;
}
.gh-intro {
  max-width: 78ch;
  margin: 0 0 1.5rem;
}
.gh-tools {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1rem;
  min-height: 44px;
}
.gh-status {
  margin: 0;
  max-width: 70ch;
}
.gh-button {
  font: inherit;
  color: var(--text, #fff);
  border: 1px solid var(--gh-line);
  border-radius: 10px;
  background: transparent;
  padding: 0.65rem 1rem;
  cursor: pointer;
  min-height: 44px;
  flex-shrink: 0;
}
.gh-release {
  border: 1px solid var(--gh-line);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 32px);
  background: var(--bg-soft, var(--bg-2, #0c1420));
  min-width: 0;
}
.gh-current {
  border-color: var(--gh-accent);
}
.gh-release-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.gh-release h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.025em;
}
.gh-release h3 span {
  color: var(--gh-accent);
  white-space: nowrap;
}
.gh-kicker {
  color: var(--gh-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.6rem;
}
.gh-release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  color: var(--muted, #a6b4c7);
  font-size: 0.85rem;
}
.gh-preview {
  border: 1px solid currentColor;
  border-radius: 5px;
  padding: 0.15em 0.5em;
}
.gh-packages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.gh-package {
  border: 1px solid var(--gh-line);
  border-radius: 12px;
  padding: 20px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.gh-package h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}
.gh-package p {
  font-size: 0.9rem;
  margin: 0 0 1.2rem;
}
.gh-assets {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}
.gh-download {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 0.4rem;
  min-height: 44px;
  padding: 14px 16px;
  border-radius: 9px;
  background: var(--gh-accent);
  color: #06101e;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
  line-height: 1.45;
}
.gh-download:hover {
  filter: brightness(1.12);
}
.gh-download small {
  font-size: 0.75rem;
  font-weight: 500;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.gh-download > span {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 0.8rem;
}
.gh-missing {
  margin: 0 !important;
  font-style: italic;
}
.gh-notes {
  border-top: 1px solid var(--gh-line);
  margin-top: 1.5rem;
  padding-top: 0.5rem;
}
.gh-center summary {
  cursor: pointer;
  min-height: 44px;
  padding: 0.7rem 0;
  font-weight: 600;
  line-height: 1.5;
}
.gh-notes summary {
  color: var(--text, #fff);
}
.gh-changelog {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.75;
  font-size: 0.9rem;
  color: var(--muted, #a6b4c7);
  padding: 1rem 0;
  max-height: 32rem;
  overflow: auto;
  scrollbar-width: thin;
}
.gh-source {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gh-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.gh-history {
  margin-top: 2rem;
}
.gh-history > summary {
  font-size: 1.15rem;
  border-bottom: 1px solid var(--gh-line);
}
.gh-history > summary > span {
  color: var(--muted, #a6b4c7);
  font-size: 0.9rem;
  margin-inline-start: 0.5rem;
}
.gh-search {
  display: block;
  font-size: 0.85rem;
  color: var(--muted, #a6b4c7);
  margin: 1rem 0;
  max-width: 32rem;
}
.gh-search input {
  display: block;
  width: 100%;
  min-height: 46px;
  font: inherit;
  border: 1px solid var(--gh-line);
  color: var(--text, #fff);
  background: transparent;
  border-radius: 9px;
  padding: 0.7rem 1rem;
  margin-top: 0.5rem;
}
.gh-history-item {
  border-bottom: 1px solid var(--gh-line);
}
.gh-history-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}
.gh-history-item > summary:before {
  content: "+";
  color: var(--gh-accent);
}
.gh-history-item[open] > summary:before {
  content: "−";
}
.gh-history-item > summary strong {
  margin-inline-end: auto;
}
.gh-history-item > summary span {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted, #a6b4c7);
}
.gh-history-item .gh-release {
  margin: 0.25rem 0 1rem;
}
.gh-attribution {
  font-size: 0.8rem;
  margin-top: 1.3rem;
}
.gh-attribution a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gh-history .gh-button {
  margin-top: 1rem;
}
.gh-center :focus-visible {
  outline: 3px solid var(--gh-accent);
  outline-offset: 4px;
}
.gh-download:focus-visible {
  outline-color: #fff;
}
@media (max-width: 600px) {
  .gh-packages {
    grid-template-columns: 1fr;
  }
  .gh-release-head {
    flex-direction: column;
    gap: 0.8rem;
  }
  .gh-release h3 {
    font-size: 1.35rem;
  }
  .gh-package {
    padding: 16px;
  }
  .gh-tools {
    align-items: start;
  }
  .gh-status {
    font-size: 0.85rem;
  }
  .gh-button {
    font-size: 0.85rem;
    padding: 0.65rem 0.8rem;
  }
  .gh-history-item > summary {
    flex-wrap: wrap;
  }
  .gh-history-item > summary span {
    width: 100%;
    padding-inline-start: 1.5rem;
  }
  .gh-changelog {
    max-height: 24rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  .gh-center * {
    animation: none !important;
    transition: none !important;
  }
}
