html[data-theme] body.dashboard-v2.dashboard-v3 .community-feed__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-sort-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(54px, 1fr));
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--axis-border);
  border-radius: 10px;
  background: var(--axis-control);
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-sort-tabs button {
  min-height: 30px;
  padding: 0 12px;
  color: var(--axis-muted);
  border: 0;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-sort-tabs button:hover {
  color: var(--axis-heading);
  background: var(--axis-control-hover);
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-sort-tabs button.is-active {
  color: var(--dash-primary);
  background: var(--axis-card);
  box-shadow: 0 1px 3px rgb(15 23 42 / 0.09);
}

html[data-theme="dark"] body.dashboard-v2.dashboard-v3 .community-sort-tabs button.is-active {
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.45);
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-post-card[data-pinned="true"] {
  border-color: color-mix(in srgb, var(--dash-primary) 35%, var(--axis-border)) !important;
}

html[data-theme] body.dashboard-v2.dashboard-v3 :where(
  .community-post-card__pinned,
  .community-post-card__pin-action
) {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid color-mix(in srgb, var(--dash-primary) 26%, var(--axis-border));
  border-radius: 8px;
  color: var(--dash-primary);
  background: color-mix(in srgb, var(--dash-primary) 8%, var(--axis-card));
  box-shadow: none;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-post-card__pinned {
  display: inline-flex;
  align-items: center;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-post-card__pin-action {
  cursor: pointer;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-post-card__pin-action:hover {
  background: color-mix(in srgb, var(--dash-primary) 14%, var(--axis-card));
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-post-card__pin-action:disabled {
  cursor: wait;
  opacity: 0.6;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-post-card__header-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 700px) {
  html[data-theme] body.dashboard-v2.dashboard-v3 .community-feed__head {
    gap: 10px;
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-sort-tabs {
    grid-template-columns: repeat(2, minmax(48px, 1fr));
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-sort-tabs button {
    min-height: 28px;
    padding-inline: 9px;
  }
}

@media (max-width: 390px) {
  html[data-theme] body.dashboard-v2.dashboard-v3 .community-feed__head h2 {
    font-size: 17px;
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-feed__tools {
    gap: 0;
  }
}
