/* Restore the original order: compact mode switch, then primary categories. */
html[data-ds-theme] .category-container[data-v-64370f3f] .category-browse-header > .view-toggle {
  position: relative;
  display: flex;
  box-sizing: border-box;
  order: 0;
  flex: 0 0 38px;
  width: 100%;
  height: 38px;
  margin: 0 0 12px;
  padding: 4px;
  gap: 4px;
  overflow: hidden;
  border: 1px solid var(--community-line, #20242b12);
  border-radius: 8px;
  background: color-mix(in srgb, var(--ds-surface, #fff) 80%, transparent) !important;
  box-shadow: none;
}
html[data-ds-theme] .category-container[data-v-64370f3f] .category-browse-header > .view-toggle .view-toggle-slider {
  display: block;
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 10px) / 2);
  height: auto;
  border-radius: 5px;
  background: var(--ds-text, #20242b);
  box-shadow: 0 2px 5px #0001;
  pointer-events: none;
  transition: transform .28s cubic-bezier(.22, .68, .25, 1);
}
html[data-ds-theme] .category-container[data-v-64370f3f] .category-browse-header > .view-toggle.ranking-selected .view-toggle-slider {
  transform: translateX(calc(100% + 4px));
}
html[data-ds-theme] .category-container[data-v-64370f3f] .category-browse-header > .view-toggle .toggle-btn {
  position: relative;
  z-index: 1;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent !important;
  box-shadow: none;
  color: var(--ds-muted, #8590a0);
  font: inherit;
  font-size: 13px;
  line-height: 28px;
  cursor: pointer;
  transition: color .2s ease;
}
html[data-ds-theme] .category-container[data-v-64370f3f] .category-browse-header > .view-toggle .toggle-btn.active {
  color: var(--ds-surface, #fff);
  font-weight: 650;
}
.category-container[data-v-64370f3f] .view-toggle .toggle-btn::before,
.category-container[data-v-64370f3f] .view-toggle .toggle-btn::after { content: none !important; }
.category-container[data-v-64370f3f] .view-toggle .toggle-btn:focus-visible { outline: 2px solid var(--ds-accent, #ffd400); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) {
  html[data-ds-theme] .category-container[data-v-64370f3f] .category-browse-header > .view-toggle .view-toggle-slider { transition: none; }
}
