.asc-subnav {
  position: sticky;
  top: 73px;
  z-index: 30;
  background: var(--white);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.asc-subnav__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.asc-subnav__inner::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 48px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--white));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.asc-subnav__inner.is-scrollable:not(.is-scroll-end)::after {
  opacity: 1;
}

.asc-subnav__scroll-hint {
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.asc-subnav__scroll-hint svg {
  width: 16px;
  height: 16px;
}

.asc-subnav__inner.is-scrollable:not(.is-scroll-end) .asc-subnav__scroll-hint {
  display: flex;
}

.asc-subnav__list {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 96px);
  overflow-x: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.asc-subnav__list::-webkit-scrollbar {
  display: none;
}

.asc-subnav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 4px;
  font-size: 17px;
  font-weight: var(--fw-bold);
  color: var(--text-muted);
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

.asc-subnav__link:hover,
.asc-subnav__link.is-active {
  color: var(--brand-primary);
}

.asc-subnav__link-icon {
  display: inline-flex;
  color: var(--purple-300);
}

.asc-subnav__link-icon svg {
  width: 14px;
  height: 14px;
}

.asc-subnav__link-label {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.asc-subnav__link-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 3px;
  background: var(--brand-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms var(--ease-standard);
}

.asc-subnav__link.is-active .asc-subnav__link-bar {
  transform: scaleX(1);
}

@media (max-width: 599px) {
  .asc-subnav__list {
    justify-content: flex-start;
  }
}
