/*
 XENORVIA - MENU VISUAL UNIFICADO
 Basado en el menú de la portada.
*/

html body nav.xv-unified-nav{
  box-sizing:border-box !important;
  max-width:var(--x-max,1180px) !important;
  width:100% !important;
  margin:0 auto !important;
  padding:14px 20px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;

  gap:14px !important;
  flex-wrap:nowrap !important;

  background:transparent !important;
  border:0 !important;
  min-height:0 !important;

  font-family:inherit !important;
}

html body nav.xv-unified-nav .xv-unified-brand{
  display:inline-flex !important;
  align-items:center !important;

  margin:0 !important;
  padding:0 !important;

  color:var(--x-gold,#facc15) !important;
  background:transparent !important;
  border:0 !important;

  text-decoration:none !important;
  font-weight:900 !important;
  letter-spacing:.14em !important;
  font-size:15px !important;
  line-height:1.15 !important;
  white-space:nowrap !important;
}

html body nav.xv-unified-nav .xv-unified-links{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;

  margin:0 0 0 auto !important;
  padding:0 !important;

  gap:6px !important;
  flex-wrap:nowrap !important;
}

html body nav.xv-unified-nav .xv-unified-links a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  margin:0 !important;
  padding:6px 9px !important;

  border-radius:999px !important;
  border:1px solid transparent !important;

  color:var(--x-muted,#cbd5e1) !important;
  background:transparent !important;

  text-decoration:none !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1.15 !important;
  white-space:nowrap !important;

  width:auto !important;
  min-width:0 !important;
  height:auto !important;

  box-shadow:none !important;
}

html body nav.xv-unified-nav .xv-unified-links a:hover,
html body nav.xv-unified-nav .xv-unified-links a.active{
  color:#fff !important;
  background:rgba(250,204,21,.10) !important;
  border-color:var(--x-border-2,rgba(250,204,21,.30)) !important;
}

html body nav.xv-unified-nav .xv-unified-links a.discord{
  color:#fff !important;
  background:rgba(88,101,242,.14) !important;
  border-color:rgba(88,101,242,.30) !important;
}

/*
 En escritorio mantenemos una sola línea.
 Solo permitimos reorganización cuando el ancho ya es reducido.
*/
@media(max-width:1080px){

  html body nav.xv-unified-nav{
    flex-wrap:wrap !important;
    justify-content:center !important;
  }

  html body nav.xv-unified-nav .xv-unified-brand{
    width:100% !important;
    justify-content:center !important;
    text-align:center !important;
  }

  html body nav.xv-unified-nav .xv-unified-links{
    width:100% !important;
    margin-left:0 !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
  }
}

@media(max-width:620px){

  html body nav.xv-unified-nav{
    padding:12px 10px !important;
  }

  html body nav.xv-unified-nav .xv-unified-links{
    gap:5px !important;
  }

  html body nav.xv-unified-nav .xv-unified-links a{
    padding:6px 8px !important;
    font-size:11px !important;
  }
}
