.site-header{
  background:#ffffff;
  border-bottom:1px solid #eee;
  padding:10px 0;
}

.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  box-sizing:border-box;
}

.header-main{
  flex:1;
  min-width:0;
}

.brand-left{
  display:flex;
  align-items:flex-start;
  gap:12px;
}

.logo-icon{
  width:48px;
  height:48px;
  flex:0 0 auto;
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}

.brand-sub{
  font-size:20px;
  font-weight:800;
  color:#111;
}

.brand-en{
  font-size:14px;
  color:#444;
  margin-top:3px;
}

.header-search{
  margin-top:14px;
  width:100%;
  max-width:480px;
}

.search-box{
  display:flex;
  align-items:center;
  border:1px solid #ddd;
  border-radius:26px;
  padding:8px 14px;
  background:#fff;
}

.search-icon{
  margin-right:8px;
  color:#888;
}

.search-box input{
  border:none;
  outline:none;
  width:100%;
  font-size:15px;
  background:transparent;
}

.header-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
  padding-right:0;
  flex:0 0 auto;
}

.login-link{
  display:flex;
  align-items:center;
  gap:6px;
}

.login-icon{
  width:22px;
}

.login-text{
  font-size:16px;
  font-weight:400;
  color:#666;
}

.header-icon svg{
  width:34px;
  height:34px;
  display:block;
}

/* 数据人头像与语言弹框 */
.data-avatar{
  position:relative;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.data-avatar img{
  width:60px;
  height:60px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #eef3ff;
  transition:all .2s ease;
  display:block;
}

.data-avatar img:hover{
  transform:scale(1.05);
  box-shadow:0 6px 18px rgba(0,0,0,.15);
}

.avatar-panel{
  position: absolute;
  top: 72px;
  right: 0;

  width: 280px;          /* ⭐关键：加宽 */
  max-width: 80vw;       /* ⭐手机适配 */

  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);

  padding: 16px;         /* ⭐左右也有间距了 */

  display: none;
  z-index: 9999;
}

.panel-text {
  font-size: 14px;
  line-height: 1.7;
  
}
.panel-title{
  font-size:13px;
  color:#666;
  padding:6px 12px;
  line-height:1.5;
}

.panel-option{
  padding:10px 14px;
  font-size:15px;
  line-height:1.5;
  cursor:pointer;
  white-space:nowrap;
}

.panel-option:hover{
  background:#f3f6ff;
}

.site-nav{
  width:100%;
  margin:18px 0;
}

.nav-container{
  box-sizing:border-box;
}

.nav-strip-inner{
  width:100%;
  background:#ffffff;
  border:1px solid #eef0f3;
  border-radius:14px;
  padding:10px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  box-shadow:0 8px 18px rgba(0,0,0,.04);
  box-sizing:border-box;
}

.nav-right{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav-left{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav-broadcast svg{
  width:22px;
  height:22px;
  display:block;
}

.nav-icon{
  width:40px;
  height:40px;
  border-radius:12px;
  background:#f3f6ff;
  border:1px solid #e6ecff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:all .18s ease;
  flex:0 0 auto;
}

.nav-icon:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 14px rgba(47,111,255,.12);
}

.nav-icon img{
  width:22px;
  height:22px;
}

@media (max-width:520px){

  .site-header{
    padding:10px 0;
  }

  .header-inner{
    gap:10px;
  }

  .logo-icon{
    width:44px;
    height:44px;
  }

  .brand-sub{
    font-size:18px;
  }

  .brand-en{
    font-size:13px;
  }

  .header-search{
    width:100%;
    max-width:260px;
    margin-top:8px;
  }

  .search-box{
    width:100%;
    padding:7px 12px;
  }

  .search-box input{
    font-size:14px;
  }

  .header-actions{
    margin-top:2px;
    gap:8px;
    padding-right:0;
  }

  .data-avatar{
    position:relative;
  }

  .data-avatar img{
    width:50px;
    height:50px;
  }

  .avatar-panel{
    top:62px;
    right:-10px;
    width:150px;
  }

  .login-text{
    font-size:14px;
  }

  .site-nav{
    margin:14px 0;
  }

  .nav-container{
    box-sizing:border-box;
  }

  .nav-strip-inner{
    padding:9px 12px;
  }

  .nav-icon{
    width:38px;
    height:38px;
  }

  .nav-right{
    gap:8px;
  }

  .nav-left{
    display:flex;
    align-items:center;
    gap:8px;
  }

  .nav-broadcast svg{
    width:20px;
    height:20px;
  }
}
.panel-link{
  display:block;
  padding:10px 14px;
  font-size:15px;
  line-height:1.5;
  color:#163f8c;
  text-decoration:none;
  border-top:1px solid #eef1f5;
}

.panel-link:hover{
  background:#f3f6ff;
}