
/* Shared Naria navigation alignment — keep the desktop menu on one clean line. */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:clamp(6px,.7vw,10px);
  min-width:0;
}
.topbar>.brand{
  flex:0 0 auto;
  display:flex;
  align-items:center;
}
.topbar>.brand .brand-logo{
  display:block;
  width:auto;
  height:58px;
  object-fit:contain;
}
.topbar>.nav{
  display:flex;
  flex:0 1 auto;
  min-width:0;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:nowrap;
  gap:clamp(5px,.5vw,8px);
  font-size:clamp(.63rem,.68vw,.75rem);
  line-height:1.35;
  white-space:nowrap;
}
.topbar>.nav>a{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  gap:4px;
  white-space:nowrap;
  line-height:1.4;
}
.topbar>.nav .nav-icon{
  width:14px;
  height:14px;
  flex:0 0 14px;
}
.topbar>.nav .nav-icon svg{
  display:block;
  width:14px;
  height:14px;
}
.topbar>.nav .nav-auth-mobile{
  display:none;
}
.topbar>.nav-cta{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  padding:7px 10px;
  font-size:.69rem;
  line-height:1.35;
}
.topbar>.menu{
  display:none;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  padding:0;
  cursor:pointer;
}

/* Switch to a tidy dropdown before the desktop links become cramped. */
@media(max-width:1180px){
  .topbar{
    gap:12px;
  }
  .topbar>.nav{
    display:none;
    position:absolute;
    z-index:120;
    top:calc(100% + 1px);
    right:0;
    left:0;
    width:100%;
    max-height:calc(100dvh - 90px);
    overflow-y:auto;
    padding:10px 14px;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    background:#20211e;
    border:1px solid var(--line,#ffffff20);
    border-radius:0 0 8px 8px;
    box-shadow:0 16px 35px #0008;
    font-size:.9rem;
    white-space:normal;
  }
  .topbar>.nav.open{
    display:flex;
  }
  .topbar>.nav>a{
    display:flex;
    width:100%;
    min-height:43px;
    justify-content:flex-start;
    padding:8px 5px;
    white-space:normal;
    border-bottom:1px solid #ffffff10;
  }
  .topbar>.nav>a:last-child{
    border-bottom:0;
  }
  .topbar>.nav .nav-icon{
    width:18px;
    height:18px;
    flex-basis:18px;
  }
  .topbar>.nav .nav-icon svg{
    width:18px;
    height:18px;
  }
  .topbar>.nav .nav-auth-mobile{
    display:flex;
    color:var(--gold,#d8b84e);
  }
  .topbar>.nav-cta{
    display:none;
  }
  .topbar>.menu{
    display:inline-flex;
  }
}
@media(max-width:520px){
  .topbar{
    height:68px;
    gap:8px;
  }
  .topbar>.brand .brand-logo{
    height:48px;
  }
  .topbar>.menu{
    width:40px;
    height:40px;
    font-size:24px;
  }
}
