/* RoiKib Navigation v1.0.4 — uniform desktop top navigation (spacing patch 20261028b).
   Specifically isolated from the previous CSS patches and loaded last to avoid
   stale ?v=1001 and later top-navigation overrides.
   NO mobile styles; NO changes to member menus, bottom tabs, chat, Feed or OG.
*/
@media (min-width:1161px) {
  body.rk-v3 .rk3-header { --rk-nav-uniform-font: 15px; }
  /* Never enlarge one label without enlarging the others. */
  body.rk-v3 .rk3-header .desktop-nav.rk-nav-v10 > a:not(.rk-nav-search-v10),
  body.rk-v3 .rk3-header .desktop-nav.rk-nav-v10 > details.rk3-more > summary,
  body.rk-v3 .rk3-header .head-actions > a.btn,
  body.rk-v3 .rk3-header .head-actions > a.rk3-logout {
    font-family: inherit !important;
    font-size: var(--rk-nav-uniform-font) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
  }
  /* Equal vertical alignment for all navigation labels. */
  body.rk-v3 .rk3-header .desktop-nav.rk-nav-v10 > a:not(.rk-nav-search-v10),
  body.rk-v3 .rk3-header .desktop-nav.rk-nav-v10 > details.rk3-more > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    box-sizing: border-box;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  body.rk-v3 .rk3-header .desktop-nav.rk-nav-v10 > details.rk3-more > summary > span {
    font: inherit;
    line-height: 1;
  }
  body.rk-v3 .rk3-header .desktop-nav.rk-nav-v10 > .rk-nav-search-v10 {
    flex: 0 0 36px;
    width: 36px;
    height: 44px;
  }
  body.rk-v3 .rk3-header .head-actions > a.btn,
  body.rk-v3 .rk3-header .head-actions > a.rk3-logout {
    box-sizing: border-box;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  /* Give text enough space but never stretch the menu past the account area. */
  body.rk-v3 .rk3-header .header-inner { gap: 12px; }
  body.rk-v3 .rk3-header .desktop-nav.rk-nav-v10 {
    gap: 10px;
    margin-left: 6px;
    min-width: 0;
  }
  body.rk-v3 .rk3-header .head-actions { gap: 6px; flex: 0 0 auto; }
  body.rk-v3 .rk3-header .head-actions > a.btn-ghost {
    max-width: 108px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
/* More room between the main desktop menu labels on wider screens.
   Compact desktops keep the previous gap to prevent overflow near 1160px. */
@media (min-width:1360px) and (max-width:1540px) {
  body.rk-v3 .rk3-header .desktop-nav.rk-nav-v10 { gap: 15px; }
}
/* Responsive type remains IDENTICAL across all labels within a breakpoint. */
@media (min-width:1541px) and (max-width:1759px) {
  body.rk-v3 .rk3-header { --rk-nav-uniform-font: 16px; }
  body.rk-v3 .rk3-header .desktop-nav.rk-nav-v10 { gap: 18px; }
}
@media (min-width:1760px) {
  body.rk-v3 .rk3-header { --rk-nav-uniform-font: 18px; }
  body.rk-v3 .rk3-header .desktop-nav.rk-nav-v10 { gap: 22px; }
}
/* <=1160px: original mobile header and the five fixed bottom tabs remain untouched. */
