/* RoiKib Navigation v1.0.1 — bigger desktop text ONLY.
   Change only desktop top navigation; leave header markup, mobile five tabs,
   AdminCP links, Feed, chat and Telegram Bridge untouched. */
body.rk-v3 .rk3-header .desktop-nav.rk-nav-v10 {
  gap:clamp(8px, .85vw, 14px);
  margin-left:8px;
  min-width:0;
  align-items:center;
}
body.rk-v3 .rk3-header .rk-nav-v10 > a:not(.rk-nav-search-v10),
body.rk-v3 .rk3-header .rk-nav-v10 .rk3-more > summary {
  font-size:20px;
  font-weight:700;
  line-height:1.45;
  white-space:nowrap;
}
body.rk-v3 .rk3-header .rk-nav-v10 > a { flex-shrink:0; }
body.rk-v3 .rk3-header .rk-nav-v10 > .rk-nav-search-v10 {
  display:inline-flex;
  width:34px;
  height:36px;
  flex-shrink:0;
  align-items:center;
  justify-content:center;
  padding:0;
  border-radius:9px;
  color:#586781;
}
body.rk-v3 .rk3-header .rk-nav-v10 > .rk-nav-search-v10:hover,
body.rk-v3 .rk3-header .rk-nav-v10 > .rk-nav-search-v10:focus-visible {
  background:#f1f5ff;
  color:#3159d6;
}
body.rk-v3 .rk3-header .rk-nav-v10 > .rk-nav-search-v10 svg {
  display:block;
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
/* Keep all options visible at moderate widths instead of pushing action buttons offscreen. */
@media (min-width:1400px) and (max-width:1599px) {
  body.rk-v3 .rk3-header .desktop-nav.rk-nav-v10 {gap:10px;margin-left:6px;}
  body.rk-v3 .rk3-header .rk-nav-v10 > a:not(.rk-nav-search-v10),
  body.rk-v3 .rk3-header .rk-nav-v10 .rk3-more > summary {font-size:18px;}
}
@media (min-width:1161px) and (max-width:1399px) {
  body.rk-v3 .rk3-header .desktop-nav.rk-nav-v10 {gap:8px;margin-left:4px;}
  body.rk-v3 .rk3-header .rk-nav-v10 > a:not(.rk-nav-search-v10),
  body.rk-v3 .rk3-header .rk-nav-v10 .rk3-more > summary {font-size:16px;}
  body.rk-v3 .rk3-header .rk-nav-v10 > .rk-nav-search-v10 {width:30px;}
  body.rk-v3 .rk3-header .rk-nav-v10 > .rk-nav-search-v10 svg {width:21px;height:21px;}
}
/* At 1160px and below, the theme's existing mobile header stays authoritative. */


/* RoiKib Navigation v1.0.2 — aligned desktop type and hit areas.
   Parent scope is desktop-only: nothing below 1161px is changed. */
@media (min-width:1161px) {
  body.rk-v3 .rk3-header .rk-nav-v10 > a:not(.rk-nav-search-v10),
  body.rk-v3 .rk3-header .rk-nav-v10 .rk3-more > summary,
  body.rk-v3 .rk3-header .head-actions > a.btn {
    font-family:inherit;
    font-size:20px;
    font-weight:700;
    line-height:1.3;
    letter-spacing:normal;
    white-space:nowrap;
  }
  /* Make link and More trigger the same height/baseline. */
  body.rk-v3 .rk3-header .rk-nav-v10 > a:not(.rk-nav-search-v10),
  body.rk-v3 .rk3-header .rk-nav-v10 .rk3-more > summary {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:44px;
    box-sizing:border-box;
    padding:0 3px;
    margin:0;
  }
  body.rk-v3 .rk3-header .rk-nav-v10 .rk3-more > summary {gap:5px;list-style:none;}
  body.rk-v3 .rk3-header .rk-nav-v10 .rk3-more > summary::-webkit-details-marker {display:none;}
  body.rk-v3 .rk3-header .rk-nav-v10 .rk3-more > summary > span {display:inline-flex;align-items:center;line-height:1;}
  body.rk-v3 .rk3-header .rk-nav-v10 > .rk-nav-search-v10 {height:44px;}
  /* Logged-in controls use the same type as menu labels. Keep their colors. */
  body.rk-v3 .rk3-header .head-actions > a.btn {
    box-sizing:border-box;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    height:44px;
    padding:0 12px;
  }
}
@media (min-width:1400px) and (max-width:1599px) {
  body.rk-v3 .rk3-header .rk-nav-v10 > a:not(.rk-nav-search-v10),
  body.rk-v3 .rk3-header .rk-nav-v10 .rk3-more > summary,
  body.rk-v3 .rk3-header .head-actions > a.btn {font-size:18px;}
}
@media (min-width:1161px) and (max-width:1399px) {
  body.rk-v3 .rk3-header .rk-nav-v10 > a:not(.rk-nav-search-v10),
  body.rk-v3 .rk3-header .rk-nav-v10 .rk3-more > summary,
  body.rk-v3 .rk3-header .head-actions > a.btn {font-size:16px;}
  body.rk-v3 .rk3-header .head-actions > a.btn {padding-left:8px;padding-right:8px;}
}
