@media (min-width: 768px) {
  .header {
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10000;
    transition: all ease 0.3s;
    /* backdrop-filter: blur(10px); */
  }

  .header-box {
    height: 75px;
    min-width: 1040px;
    width: 85%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
  }

  .header-logo {
    width: 260px;
    height: 44px;
  }

  .header-right {
    display: flex;
    align-items: center;
  }

  .header-btn {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 28px;
    border-radius: 5px 5px 5px 5px;
    opacity: 1;
    justify-content: center;
    font-size: 18px;
    margin-left: 40px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
  }

  .header-line {
    position: absolute;
    width: 38px;
    height: 12px;
    bottom: -12px;
    opacity: 0;
  }

  .header-btn a {
    color: #777777;
    text-decoration: none;
  }

  .header-btn span {
    margin-left: 7px;
  }
}

@media (max-width: 767px) {
  .header {
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10000;
    transition: all ease 0.3s !important;
    /* backdrop-filter: blur(10px); */
  }

  .header-box {
    height: 90px;
    /* 宽度铺满屏幕，左右留一点内边距 */
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 10px 16px 20px;
    box-sizing: border-box;
  }

  .header-logo {
    /* 使用视口宽度，避免固定像素在小屏溢出 */
    width: 50vw;
    height: auto;
  }

  .header-right {
    display: flex;
    align-items: center;
    /* 按钮在小屏上自动换行 */
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .header-btn {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 26px;
    border-radius: 5px 5px 5px 5px;
    opacity: 1;
    justify-content: center;
    font-size: 14px;
    margin-right: 16px;
    margin-top: 6px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
  }

  .header-line {
    position: absolute;
    width: 38px;
    height: 12px;
    bottom: -12px;
    opacity: 0;
  }

  .header-btn a {
    color: #777777;
    text-decoration: none;
  }

  .header-btn span {
    margin-left: 7px;
  }
}