/* The activity filter wrapper still receives the legacy profile background. */
html:root body #member_content #activity_tab_container > div {
  overflow: visible;
  padding: .375rem;
  border: 1px solid var(--eco-stroke, #343a2d);
  border-radius: .5rem;
  background: var(--eco-raised, #191b16) !important;
}

html:root body #member_content #activity_tab_container .as-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  margin: 0;
}

html:root body #member_content #activity_tab_container .as-tabs > dd {
  min-inline-size: 0;
  max-inline-size: 100%;
  margin: 0;
  border-radius: .375rem;
}

html:root body #member_content #activity_tab_container .as-tabs > dd a {
  display: block;
  box-sizing: border-box;
  height: auto;
  margin: 0;
  padding: .375rem .625rem;
  border-radius: inherit;
  background-image: none !important;
  color: var(--eco-text, #f3f1ec) !important;
  font-size: .8125rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

html:root body #member_content #activity_tab_container .as-tabs > dd.selected a,
html:root body #member_content #activity_tab_container .as-tabs > dd a:hover {
  background-color: var(--eco-lime-soft, #21331c);
  color: var(--eco-lime-bright, #c1fa9d) !important;
}

html:root body #member_content :is(.activitybit .time, #sidebar_container .time, #noresults, #noactivity) {
  color: var(--eco-muted, #bdb8ad) !important;
}

html:root body #member_content #profile_customization_button {
  padding: .375rem .625rem;
  border: 1px solid var(--eco-control-stroke, #637854) !important;
  border-radius: .375rem;
  color: var(--eco-text, #f3f1ec) !important;
  line-height: 1.4;
}

html:root body #member_content #profile_customization_button:hover {
  background: var(--eco-lime-soft, #21331c) !important;
  color: var(--eco-lime-bright, #c1fa9d) !important;
}
