.prose .gc-container {
  display: block;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem 0.75rem;
  margin: 1.25rem 0 1.75rem;
  text-decoration: none;
  color: inherit;
  background: var(--astro-code-background);
  transition: background 0.2s ease-out;
}

.prose .gc-container:hover,
.prose .neodb-card:hover {
  background: color-mix(in srgb, var(--selection) 75%, transparent);
  text-decoration: none;
}

.prose .gc-title-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.prose .gc-owner-avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--border) center/cover;
  flex-shrink: 0;
}
.prose .gc-repo-title {
  font-size: var(--font-size-xl);
  flex-grow: 1;
}
.prose .gc-slash {
  color: var(--text-secondary);
  margin: 0 0.375rem;
}
.prose .gc-github-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
.prose .gc-repo-description {
  color: var(--text-primary);
  opacity: 0.6;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}
.prose .gc-info-bar {
  display: flex;
  align-items: center;
  color: var(--text-primary);
  opacity: 0.6;
  gap: 0.35rem;
  font-size: var(--font-size-s);
}
.prose .gc-info-icon {
  width: 0.875rem;
  height: 0.875rem;
}
.prose .gc-stars-count,
.prose .gc-forks-count,
.prose .gc-license-info {
  margin-right: 0.675rem;
}

.prose .x-card {
  width: 100%;
  margin: 1em auto;
  text-align: center;
}
.prose .x-card > * {
  display: inline-block;
  max-width: 100%;
  margin: 0 auto;
}
.prose .x-card iframe {
  max-width: 100%;
  width: auto;
}

.prose .neodb-card {
  width: 100%;
  padding: 0;
  border: 0;
  color: var(--text-primary);
  border-radius: 8px;
  display: flex;
  text-decoration: none !important;
  transition: background 0.2s ease-out;
  margin: 1.25rem 0 1.75rem;
  overflow: hidden;
  background: var(--astro-code-background);
}
.prose .neodb-card.compact {
  min-height: 6rem;
}
.prose .neodb-card.standard {
  min-height: 9rem;
}
.prose .neodb-cover {
  width: 96px !important;
  object-fit: cover;
  border-radius: 6px;
  margin: 1rem;
}
.prose .neodb-cover.music {
  height: 96px !important;
}
.prose .neodb-cover.other {
  height: 144px !important;
}
.prose .neodb-info {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 0.25rem;
  overflow: hidden;
  margin: 1rem 1rem 1rem 0;
}
.prose .neodb-title {
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
}
.prose .neodb-field,
.prose .rating {
  font-size: var(--font-size-s);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prose .rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.prose .allstarbg,
.prose .allstargray {
  position: relative;
  display: inline-block;
  width: 5rem;
  height: 1rem;
  color: #f99b01;
  letter-spacing: 0;
}
.prose .allstarbg::before,
.prose .allstargray::before {
  content: '★★★★★';
  position: absolute;
  inset: 0;
  color: var(--text-primary);
  opacity: 0.15;
}
.prose .allstarfg {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  white-space: nowrap;
}
.prose .allstarfg::before {
  content: '★★★★★';
  color: #f99b01;
}
.prose .neodb-loading.music {
  min-height: 8rem;
}
.prose .neodb-loading.other {
  min-height: 11rem;
}
.prose .neodb-error {
  font-size: var(--font-size-m);
  margin: 1.5rem;
}
