.hp-template-switch {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: var(--surface, #fff);
  border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.12));
}

.hp-template-switch__inner {
  max-width: var(--layout-content-max, 980px);
  margin-inline: auto;
  padding: 0 var(--layout-gutter, 16px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: 0;
}

.hp-template-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  color: var(--text-muted, rgba(0, 0, 0, 0.56));
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  border-radius: 8px;
}

.hp-template-switch__link[aria-current="page"] {
  color: var(--text, #1d1d1f);
  font-weight: 600;
}

.hp-template-switch__sep {
  color: var(--text-tertiary, rgba(0, 0, 0, 0.42));
  padding: 0 2px;
  user-select: none;
  line-height: 44px;
}

@media (hover: hover) and (pointer: fine) {
  .hp-template-switch__link:hover {
    color: var(--text, #1d1d1f);
    text-decoration: underline;
  }
}
