.group-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 28px;
    align-items: start;
    margin: calc(var(--page-header-spacing) * -0.45) 0 34px;
    padding: 0;
  }

  .topic-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    min-width: 0;
    padding-right: 28px;
    border-right: 1px solid var(--paper-line);
  }

  .topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 42px;
    margin-top: -2px;
    padding: 2px 0;
    overflow: hidden;
  }

  .group-nav.is-expanded .topic-list {
    max-height: none;
    overflow: visible;
  }

  .topic-chip,
  .topic-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    border: 1px solid var(--paper-line);
    border-radius: 6px;
    background: color-mix(in srgb, var(--paper-control) 72%, transparent);
    color: var(--paper-ink-soft);
    font-family: var(--font-meta);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
      background 180ms ease,
      border-color 180ms ease,
      color 180ms ease,
      transform 180ms ease;
  }

  .topic-chip {
    gap: 9px;
    padding: 0 12px;
  }

  .topic-chip:hover,
  .topic-toggle:hover {
    border-color: var(--paper-line-strong);
    background: var(--paper-control-hover);
    color: var(--paper-ink);
    transform: translateY(-1px);
  }

  .topic-chip.is-active {
    border-color: color-mix(in srgb, var(--paper-accent) 28%, var(--paper-line));
    background: var(--paper-surface);
    color: var(--paper-accent);
  }

  .topic-chip.is-active::before {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    content: '';
  }

  .topic-chip b {
    color: var(--paper-ink-faint);
    font-size: 0.75rem;
  }

  .topic-toggle {
    gap: 4px;
    justify-content: center;
    min-height: 36px;
    padding: 0 2px;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
  }

  .topic-toggle[hidden] {
    display: none;
  }

  .topic-toggle:hover {
    border-color: transparent;
    background: transparent;
    transform: none;
  }

  .topic-toggle:focus-visible {
    border-radius: 4px;
    outline: 2px solid var(--paper-line-strong);
    outline-offset: 3px;
  }

  .topic-toggle .topic-toggle-icon {
    transition: transform 180ms ease;
  }

  .group-nav.is-expanded .topic-toggle .topic-toggle-icon {
    transform: rotate(180deg);
  }

  .group-links {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    min-height: 36px;
    padding-top: 1px;
    color: var(--paper-ink-faint);
    font-family: var(--font-meta);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .group-links a {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    color: var(--paper-ink);
    text-decoration: underline;
    text-decoration-color: var(--paper-line-strong);
    text-underline-offset: 5px;
    transition:
      color 180ms ease,
      text-decoration-color 180ms ease;
  }

  .group-links a .site-icon {
    color: var(--paper-accent);
    opacity: 0.82;
  }

  .group-links a:hover,
  .group-links a.is-active {
    color: var(--paper-accent);
    text-decoration-color: currentColor;
  }

  .group-counts {
    display: none;
  }

  @media (max-width: 760px) {
    .group-nav {
      grid-template-columns: 1fr;
      gap: 12px;
      margin-top: -10px;
    }

    .topic-panel {
      padding-right: 0;
      padding-bottom: 12px;
      border-right: 0;
      border-bottom: 1px solid var(--paper-line);
    }

    .topic-list {
      max-height: 88px;
    }

    .group-links {
      justify-content: flex-start;
    }
  }
.group-nav[data-astro-cid-ctcc2jql] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  width: 100%;
  padding: 10px 0 14px;
  border-bottom: 0;
}

.topic-panel[data-astro-cid-ctcc2jql] {
  min-width: 0;
}

.topic-list[data-astro-cid-ctcc2jql] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-chip[data-astro-cid-ctcc2jql] {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  overflow: hidden;
  border: 1px solid #b7ff0033;
  border-radius: 4px;
  background: #b7ff0005;
  color: #8e948b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: -.01em;
  transition: color .18s, border-color .18s, background .18s;
  text-decoration: none !important;
}

.topic-chip[data-astro-cid-ctcc2jql]:after {
  position: absolute;
  right: 7px;
  bottom: 0;
  left: 7px;
  height: 1px;
  background: #6b2d0b;
  content: "";
  transform: scaleX(0);
  transition: transform .26s cubic-bezier(.16, 1, .3, 1);
}

.topic-chip[data-astro-cid-ctcc2jql]:hover, .topic-chip[data-astro-cid-ctcc2jql]:focus-visible {
  border-color: #b7ff006b;
  background: #b7ff0009;
  color: #d5d8d2;
  outline: none;
}

.topic-chip[data-astro-cid-ctcc2jql].is-active {
  border-color: #b7ff0073;
  background: #b7ff000b;
  color: #e3e5e0;
}

.topic-chip[data-astro-cid-ctcc2jql].is-active:after {
  transform: scaleX(1);
}

.topic-chip[data-astro-cid-ctcc2jql].is-active:before {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  content: none !important;
  background: none !important;
  box-shadow: none !important;
}

.topic-chip[data-astro-cid-ctcc2jql] b[data-astro-cid-ctcc2jql] {
  color: #b7ff00;
  font-family: Maple Mono, monospace;
  font-size: .65rem;
  font-weight: 600;
}

.topic-dot[data-astro-cid-ctcc2jql] {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: #b7ff0085;
}

.topic-chip[data-astro-cid-ctcc2jql].is-active .topic-dot[data-astro-cid-ctcc2jql] {
  position: relative;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: #b7ff00 !important;
  box-shadow: 0 0 4px #eaff82, 0 0 9px #b7ff00, 0 0 16px #b7ff00eb, 0 0 25px #b7ff0073 !important;
}

.topic-chip[data-astro-cid-ctcc2jql].is-active .topic-dot[data-astro-cid-ctcc2jql]:after {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f2f3ef;
  box-shadow: 0 0 2px #ffffff61;
  content: "";
  transform: translateY(-50%);
}

.topic-toggle[data-astro-cid-ctcc2jql] {
  margin-top: 7px;
  padding: 3px 0;
  border: 0;
  background: none;
  color: #7e847b;
  font-family: Maple Mono, monospace;
  font-size: .68rem;
}

.group-links[data-astro-cid-ctcc2jql] {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql] {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 1px 8px;
  color: #a2a79f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .76rem;
  font-weight: 520;
  transition: color .22s;
  text-decoration: none !important;
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql] span[data-astro-cid-ctcc2jql] {
  position: relative;
  display: inline-block;
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql] span[data-astro-cid-ctcc2jql]:after {
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 100%;
  height: 1px;
  content: "";
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), opacity .12s;
  pointer-events: none;
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql]:hover, .group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql]:focus-visible {
  color: #fff;
  outline: none;
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql]:hover span[data-astro-cid-ctcc2jql]:after, .group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql]:focus-visible span[data-astro-cid-ctcc2jql]:after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql]:first-of-type span[data-astro-cid-ctcc2jql]:after {
  background: #b46cff;
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql]:nth-of-type(2) span[data-astro-cid-ctcc2jql]:after {
  background: #ff5a7a;
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql]:nth-of-type(3) span[data-astro-cid-ctcc2jql]:after {
  background: #35c8ff;
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql].is-active {
  color: #fff;
  outline: none;
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql].is-active span[data-astro-cid-ctcc2jql]:after {
  bottom: -8px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
  transition: none;
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql].is-active:hover span[data-astro-cid-ctcc2jql]:after, .group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql].is-active:focus-visible span[data-astro-cid-ctcc2jql]:after {
  width: 4px;
  height: 4px;
  transform: translateX(-50%) scaleX(1);
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql] svg {
  transition: color .22s, filter .22s, transform .22s;
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql]:first-of-type svg {
  color: #b46cff;
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql]:nth-of-type(2) svg {
  color: #ff5a7a;
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql]:nth-of-type(3) svg {
  color: #35c8ff;
}

.group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql]:hover svg, .group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql]:focus-visible svg, .group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql].is-active svg {
  filter: brightness(1.22);
  transform: translateY(-1px);
}

.group-separator[data-astro-cid-ctcc2jql] {
  color: #3f443e;
  font-size: .72rem;
}

.group-counts[data-astro-cid-ctcc2jql] {
  display: none;
}

@media (width <= 860px) {
  .group-nav[data-astro-cid-ctcc2jql] {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .group-links[data-astro-cid-ctcc2jql] {
    flex-wrap: wrap;
  }
}

@media (width <= 520px) {
  .topic-chip[data-astro-cid-ctcc2jql] {
    min-height: 29px;
    padding-inline: 9px;
    font-size: .69rem;
  }

  .group-links[data-astro-cid-ctcc2jql] {
    gap: 9px;
  }

  .group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql] {
    font-size: .72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topic-chip[data-astro-cid-ctcc2jql], .topic-chip[data-astro-cid-ctcc2jql]:after, .group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql], .group-links[data-astro-cid-ctcc2jql] a[data-astro-cid-ctcc2jql] span[data-astro-cid-ctcc2jql]:after {
    transition: none;
  }
}
