.v4-layout-header {
  padding: 0;
  color: #ffffff;
  position: relative;
  height: auto;
  background: #001325;
  margin-bottom: 12px;

  .header-top {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 3.75vw;
    padding: 0 0.73vw;
    max-height: 100px;
    background-color: #001325;
    border: none;
    display: flex;
    justify-content: space-between;

    .header-title {
      font-family: YouSheBiaoTiHei;
      line-height: clamp(40px, 3.75vw, 90px);
      width: 21vw;
      min-width: 268px;
      height: 100%;
      text-align: justify;
      font-style: normal;
      text-transform: none;
      color: #ffffff;
      display: flex;
      align-items: center;

      img {
        width: 12%;
        max-width: 80px;
        margin-right: 4%;
      }

      .header-title-icon {
        margin-right: 4%;
        max-width: 80px;
        font-size: clamp(12px, 1.6vw, 80px);
        animation: animation-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
        color: #00D2FF;
        padding: 4px;
        border: 1px solid #00D2FF;
        border-radius: 15%;
      }

      .header-title-text {
        width: 86%;
        font-size: clamp(20px, 2.2vw, 80px);
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
      }

      @supports (background-clip: text) or (-webkit-background-clip: text) {
        .header-title-text {
          background-image: linear-gradient(to right, #22d3ee, #c084fc);
          -webkit-background-clip: text;
          background-clip: text;
          color: transparent;
        }
      }
    }

    .header-right {
      line-height: clamp(40px, 3.75vw, 100px);
      height: 95%;
      width: 18vw;
      min-width: 230px;
      padding-right: 12px;
      text-align: right;
      overflow: hidden;

      .ant-space {
        height: 100%;
      }

      .message-bar {
        min-width: 0;

        svg {
          color: var(--ant-color-primary);
        }
      }

      .message-bar:hover {
        background: transparent;
      }

      .header-user {
        button .ant-btn-icon {
          margin-top: 4px;
        }

        .userButton {
          cursor: pointer;
          width: 4vw;
          min-width: 45px;
          max-width: 100px;
        }
      }
    }
  }

  .header-nav {
    display: flex;
    justify-content: start;
    width: 61vw;
    min-width: 780px;
    min-height: 50px;
    padding-left: 1%;

    .ant-menu-submenu-selected::after,
    .ant-menu-submenu:hover::after,
    .ant-menu-submenu-open::after,
    .ant-menu-submenu::after {
      border-bottom: none !important;
    }

    .menu-disabled {
      cursor: not-allowed;
    }

    .menu-item {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: clamp(12px, 1.1vw, 42px);
      font-family: YouSheBiaoTiHei;
      color: #bec8d6;
      padding: 0 1.5vw;
      height: 3.28vw;
      max-height: 88px;
      min-height: 42px;
    }

    .menu-icon {
      font-size: clamp(10px, 0.9vw, 32px);
      font-family: YouSheBiaoTiHei;
      color: #bec8d6;
    }

    .ant-menu-overflow-item {
      padding: 0;
      position: relative;
    }

    .ant-menu-overflow-item:not(:nth-last-child(-n+2))::before {
      position: absolute;
      top: clamp(0px, 0.3125vw, 12px);
      right: 0;
      width: 1px;
      height: 2.55208vw;
      min-height: 33px;
      max-height: 72px;
      border-right: 0.10417vw solid;
      border-width: clamp(1px, 0.10417vw, 3px);
      border-image: linear-gradient(180deg, rgba(12, 14, 29, 0), #1e415e, #2a658c, #1c3c57, rgba(12, 14, 29, 0)) 2 2;
      content: " ";
      animation: animation-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
    }

    .menu-item-selected {
      color: var(--ant-menu-item-selected-color);
      background-size: 100% 100%;

      .menu-icon {
        color: var(--ant-menu-item-selected-color);
      }
    }

    .anticon-ellipsis {
      padding: 0 12px;
    }

    .ant-menu-overflow-item-rest {
      height: 3.28vw;
      max-height: 90px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}

@keyframes animation-pulse {
  50% {
    opacity: 0.5
  }
}