/* V150 — responsive universal JulianMC top navigation. */
html[data-jmc-theme] body .shell > nav {
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px 18px;
}
html[data-jmc-theme] body .shell > nav .brand{
  display:inline-flex;
  align-items:center;
  min-width:0;
  flex:0 0 auto;
  text-decoration:none;
}
html[data-jmc-theme] body .shell > nav .nav-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  min-width:0;
  max-width:100%;
  align-items:center!important;
  justify-content:flex-end;
  gap:8px;
  overflow:visible!important;
  scrollbar-width:auto;
  padding-bottom:0;
}
html[data-jmc-theme] body .shell > nav .nav-actions > a.btn,
html[data-jmc-theme] body .shell > nav .nav-actions .jmc-settings-button{
  box-sizing:border-box;
  min-height:40px!important;
}
html[data-jmc-theme] body .shell > nav .jmc-profile-nav{
  display:inline-flex!important;
  min-width:0;
  max-width:min(220px,100%);
  gap:7px;
  flex:0 1 auto!important;
}
html[data-jmc-theme] body .shell > nav .jmc-profile-nav-label{
  min-width:0;
  max-width:155px;
  display:block!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
html[data-jmc-theme] body .shell > nav .jmc-settings-slot{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
}
@media(max-width:1040px){
  html[data-jmc-theme] body .shell > nav{
    height:auto!important;
    min-height:72px;
    flex-wrap:wrap;
    padding-top:12px!important;
    padding-bottom:12px!important;
  }
  html[data-jmc-theme] body .shell > nav .nav-actions{
    flex:1 1 100%;
    justify-content:flex-start;
  }
}
@media(max-width:640px){
  html[data-jmc-theme] body .shell > nav{gap:9px;padding:10px 0!important}
  html[data-jmc-theme] body .shell > nav .nav-actions{gap:6px!important;row-gap:7px!important;width:100%;}
  html[data-jmc-theme] body .shell > nav .nav-actions>a.btn:not(.jmc-profile-nav){
    font-size:clamp(.55rem,2.2vw,.7rem)!important;
    height:38px!important;min-height:38px!important;
    padding:0 9px!important;
  }
  html[data-jmc-theme] body .shell > nav .nav-actions>a.btn.jmc-profile-nav{
    padding:0 9px!important;
    height:38px!important;min-height:38px!important;
    max-width:calc(100vw - 36px);
  }
  html[data-jmc-theme] body .shell > nav .jmc-profile-nav-label{max-width:clamp(70px,30vw,140px)}
}
/* Nick użytkownika zachowuje dokładną wielkość liter z profilu. */
html[data-jmc-theme] body .shell > nav .jmc-profile-nav-label{
  text-transform:none!important;
  letter-spacing:0!important;
  font-weight:900!important;
}
