
@media (min-width: 761px) {
  .main-app-shell:has(.feed-page) .sidebar-account > .desktop-header-language {
    display: none;
  }
  .feed-page .feed-header-actions > .action-presence {
    order: 1;
  }
  .feed-page .feed-header-actions > .mobile-header-language {
    display: flex;
    flex: none;
    order: 2;
  }
  .feed-page .feed-header-actions > :is(.feed-notifications, .feed-settings) {
    order: 3;
  }
  .feed-page .feed-header-actions > .mobile-header-language .site-language-picker > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .feed-page .feed-header-actions > .mobile-header-language select {
    min-height: 40px;
    padding: 5px 8px;
  }
}

@media (min-width: 761px) {
  .main-sidebar .sidebar-account > .desktop-header-language { margin: 4px 0; }
}

@media (min-width: 761px) {
  html[data-theme="light"] .main-app-shell:has(.feed-page) .main-sidebar .sidebar-brand > img {
    width: 174px;
    max-width: 100%;
  }
}

/* Keep the official artwork in light mode, with the same crisp silhouette. */
html[data-theme="light"] body img:is([src="/connaex-logo.svg"], [src="/connaex-logo-light.svg"]),
html[data-theme="light"] .main-sidebar .sidebar-brand > img[src="/connaex-logo.svg"] {
  filter: drop-shadow(0 1px 1px rgb(17 27 45 / 45%));
}
html[data-theme="light"] body img[src="/connaex-logo-light.svg"] {
  content: url("/connaex-logo.svg");
}
