.user-data {
    width: 100%;
    height: 135px;
    background: #FEFEFE;
    border-radius: 10px;
    padding: 20px 15px 0;
    box-sizing: border-box;
    position: relative;
}

.user-data .avter {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    position: relative;
}

.user-avter {
    display: flex;
    align-items: center;
    height: calc(100% - 49px);
}

.user-data .avter img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.userInfos {
    margin-left: 11px;
}

.userInfo {
    display: flex;
    align-items: center;
}

.userInfo .Name {
    font-weight: 400;
    color: #333333;
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    transition: color 0.3s ease;
}

.userInfo img {
    width: 19px;
    height: 21px;
    margin-left: 7px;
    transition: transform 0.3s ease;
}

.userInfo:hover img {
    transform: scale(1.05);
}

.userInfos .id {
    font-weight: 300;
    color: #999999;
    font-size: 14px;
    margin-top: 9px;
}

.user-price {
    display: flex;
    border-top: 1px solid #EFEFEF;
    align-items: center;
    height: 49px;
    justify-content: space-around;
}

.user-price .price {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.user-price .price img {
    margin-right: 7px;
    transition: transform 0.3s ease;
}

.user-price .price:hover {
    color: #007BFF;
}

.user-price .price:hover img {
    transform: scale(1.1);
}

.user-tabs {
    width: 100%;
    height: 370px;
    background: #FEFEFE;
    border-radius: 10px;
    margin-top: 20px;
}

.user-tabs-item {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 31px;
    box-sizing: border-box;
    cursor: pointer;
    transition: color 0.3s ease;
}

.user-tabs-item span:nth-of-type(1) {
    margin-left: 11px;
    font-weight: 400;
    color: #454545;
    font-size: 18px;
    width: 130px;
    transition: color 0.3s ease;
}

.user-tabs-item:hover span:nth-of-type(1) {
    color: #007BFF;
}

.user-tabs-item:hover img {
    transform: scale(1.1);
}

/* 在线状态点 */
.on-line {
    width: 10px;
    height: 10px;
    background: #3ED316;
    border-radius: 5px;
    position: absolute;
    bottom: 4px;
    right: 4px;
}
.offline {
    background: #BCBCBC !important;
}
.stealth {
    background: #FFCC33 !important;
}

/* 用户下拉 */
.user {
    position: relative;
}
.user:hover .user-drow {
    display: block;
}

.user-drow {
    position: absolute;
    right: 0;
    top: 40px;
    display: none;
    z-index: 6;
}

.user-drowinfo {
    width: 180px;
    height: 255px;
    margin-top: 30px;
    background: #FFFFFF;
    box-shadow: 0px 0px 18px 2px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.user-drow-item a {
    font-weight: 300;
    color: #333333;
    font-size: 20px;
    width: 100%;
    display: block;
    text-align: center;
    line-height: 60px;
    height: 60px;
    transition: color 0.3s ease;
}

.user-drow-item a:hover {
    color: #007BFF;
}

.line-user-drow {
    width: 75%;
    margin: 4px auto;
    height: 1px;
    background: #EFEFEF;
}

/* 语言下拉 */
.lang {
    position: relative;
}

.lang:hover .lang-drow {
    display: block;
}

.lang-drow {
    position: absolute;
    right: -35px;
    top: 15px;
    display: none;
    z-index: 6;
}

.lang-drowinfo {
    width: 180px;
    margin-top: 20px;
    background: #FFFFFF;
    box-shadow: 0px 0px 18px 2px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.lang-drow-item {
    line-height: 45px;
    height: 45px;
    text-align: center;
}

.lang-drow-item a {
    font-weight: 300;
    color: #333333;
    font-size: 20px;
    transition: color 0.3s ease;
}

.lang-drow-item a:hover {
    color: #007BFF;
}

.langactive {
    color: #007BFF !important;
}

/* 通知下拉 */
.tongzhi {
    position: relative;
}

.tongzhi:hover .tongzhi-drow {
    display: block;
}

.tongzhi-drow {
    position: absolute;
    right: -100px;
    top: 20px;
    display: none;
    z-index: 6;
}

.tongzhi-drowinfo {
    width: 375px;
    background: #FFFFFF;
    box-shadow: 0px 0px 18px 2px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    margin-top: 36px;
    padding: 0 18px;
    box-sizing: border-box;
    position: relative;
}

.tongzhi-det {
    position: absolute;
    right: 30px;
    top: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.tongzhi-det:hover {
    transform: scale(1.1);
}

.tongzhi-tab {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #EFEFEF;
    padding: 20px 0;
    padding-left: 14px;
}

.tongzhi-tab div {
    font-weight: 500;
    color: #333333;
    font-size: 20px;
    position: relative;
    margin-right: 40px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.tongzhi-tab div:hover {
    color: #007BFF;
}

.tongzhi-tab .active::after {
    position: absolute;
    content: '';
    bottom: -20px;
    width: 100%;
    height: 2px;
    background: #333333;
    left: 0;
}

.tongzhi-list {
    margin-top: 10px;
}

.tongzhi-item {
    width: 100%;
    height: 100px;
    border-radius: 10px;
    padding: 20px 29px 12px 21px;
    box-sizing: border-box;
}

.tongzhi-item .content {
    font-weight: 400;
    color: #333333;
    line-height: 24px;
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.dfnxmc {
    color: #00B4FF;
    line-height: 24px;
    font-size: 18px;
    font-weight: 400;
}

.tongzhi-item .day {
    text-align: right;
    font-weight: 400;
    color: #9F9F9F;
    line-height: 24px;
    font-size: 16px;
}

.tongzhi-find {
    font-weight: 400;
    color: #333333;
    line-height: 24px;
    font-size: 18px;
    padding: 20px 0;
    border-top: 1px solid #EFEFEF;
    text-align: center;
}

/* 下拉菜单 hover */
.avter:hover .xiala-drow {
    display: block;
}

.xiala-drow {
    position: absolute;
    right: -30px;
    display: none;
    z-index: 6;
}

.xiala-drowinfo {
    padding: 0 18px;
    background: #FFFFFF;
    box-shadow: 0px 0px 18px 2px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.xiala-drow-item {
    line-height: 36px;
    height: 36px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.xiala-drow-item:hover {
    color: #007BFF;
}

.xialaactive {
    color: #007BFF !important;
}

/* 修复窄窗口时按钮被隐藏，同时保持原有布局 */
.login-head {
    width: 100% !important;          /* 改为相对宽度，适应任何窗口 */
    max-width: 1440px;               /* 大屏幕时限制最大宽度，保持设计 */
    margin: 0 auto;                  /* 大屏时水平居中 */
}

/* 确保父容器不裁剪内容（防止按钮被隐藏） */
.login-info,
.nav-tab {
    overflow: visible !important;
}
/* 按钮换行后间距调整，并增加左右留白 */
.login-head {
    padding-left: 20px;
    padding-right: 20px;
}

.login-right {
    gap: 12px;           /* 按钮之间的间距，可根据需要调整（原间距可能过大） */
    row-gap: 8px;        /* 换行后的行间距 */
}

/* 可选：如果按钮本身太大，也可以适当缩小字体和内边距（不强制，看效果） */
.dloButton {
    padding: 5px 12px;
    font-size: 13px;
}
/* 修复右侧按钮被裁剪，并确保左右留白生效 */
.login-head {
    box-sizing: border-box;      /* 让 padding 包含在宽度内，避免溢出 */
    overflow: visible !important;
}

.login-right {
    flex-wrap: wrap;
    justify-content: flex-end;   /* 让按钮组靠右对齐，保留左侧空间 */
    gap: 12px;
    row-gap: 8px;
    margin-right: 0;             /* 确保没有额外负边距 */
    overflow: visible !important;
}

/* 如果右侧仍然紧贴边缘，可以增加 .login-right 的右内边距 */
.login-right {
    padding-right: 10px;         /* 给右侧也留出空间，避免被裁 */
}

/* 同时确保 .nav-tab 不裁剪内容 */
.nav-tab {
    overflow: visible !important;
}