.tool-link {
    position: absolute; /* 改为绝对定位，脱离文档流精准控制 */
    right: 0;            /* 紧贴最右侧 */
    top: 50%;            /* 垂直居中于头部 */
    transform: translateY(-50%); /* 修正垂直居中偏移 */
    float: none;         /* 清除浮动 */
    color: #57667e;
    line-height: 19px;
    margin: 20px;
    z-index: 10001;
    padding: 0 10px;
    font-size: 12px;
    /* 移除原有的 height:10px, top:-5px, width:inherit, right:-2px 等冲突属性 */
}

/* 下方子元素样式保持不变 */
.tool-link ul, ol, li {
    margin: 0;
    padding: 0;
    font-size: 10px;
}

.tool-link dt, dd {
    line-height: normal;
    padding-left: 10px;
}

.tool-link a {
    color: #57667e;
    text-decoration: none;
    outline: 0;
    font-weight: normal;
}

.tool-link a:hover {
    color: #ff7800;
    text-decoration: underline;
}

.tool-link .child-node {
    position: relative;
    float: left;
    margin-left: -1px;
    margin-top: 2px;
    line-height: 22px;
    z-index: 1;
}

.tool-link .first-child {
    background: 0;
}

.tool-link dt {
    font-weight: normal;
    position: relative;
    float: left;
    width: 120px;
    margin: 0 2px;
    height: 22px;
    z-index: 10;
    border: 1px solid transparent;
    text-indent: 9px;
}

.tool-link .myqia-child .langselect dt {
    width: 120px;
}

.tool-link .child-pl {
    padding: 1px 10px 0 12px;
}

.tool-link dt i {
    position: relative;
    top: -10px;
    right: -80px;
    display: block;
    width: 8px;
    height: 8px;
    background: url("/QA/QAHome.nsf/vwWebSource/firstpage/$FILE/sprite_home.png") -3px 0 no-repeat;
    overflow: hidden;
    -moz-transform-origin: 50% 50%;
    -webkit-transition: -webkit-transform .3s ease-in;
    -moz-transition: -moz-transform .3s ease-in;
    -o-transition: transform .3s ease-in;
    transition: transform .3s ease-in;
}

.tool-link .myqia-child dt i {
    right: -80px;
}

.tool-link dd {
    display: none;
    position: absolute;
    right: 2px;
    top: 24px;
    width: 120px;
    padding-left: 10px;
    padding-bottom: 5px;
    line-height: 22px;
    background: #FFF;
    border: 1px solid #DDD;
    border-top: 0;
    z-index: 1;
}

.tool-link .myqia-child {
    padding-left: 9px;
    white-space: nowrap;
}

.sprite_home {
    background: url("/QA/QAHome.nsf/vwWebSource/firstpage/$FILE/sprite_home.png") no-repeat scroll 0 0;
}

.tool-link #selected span {
    display: block;
    float: left;
    height: 20px;
    width: 26px;
    margin: 2px 2px 0 15px;
}

.tool-link .langselect ul li a span {
    display: block;
    float: left;
    height: 19px;
    width: 26px;
    margin: 2px 12px 0 15px;
    padding-left: 10px;
}

.tool-link .langselect ul li a:hover {
    background-color: #eee;
}

#lang_1 {
    background-position: 0 -36px;
}

#lang_2 {
    background-position: 0 -54px;
}

#lang_3 {
    background-position: 0 -74px;
}

#lang_4 {
    background-position: 0 -16px;
}

.tool-link .hover {
    z-index: 10;
}

.tool-link .hover dt {
    border: 1px solid #ddd;
    border-bottom: 0;
    z-index: 10;
    background: #FFF;
}

.tool-link .hover dt i {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    background-position: -21px -8px\0;
}

.tool-link .hover dd {
    display: block;
}