/* 行情详情页 */
.header {
    width: 100%;
}

.header .span {
    /* height: 119px; */
    height: 160px;

    @media screen and (max-width: 1081px) {
        height: 55px;
    }
}

.header .conent {
    position: fixed;
    width: 100%;
    max-width: 100vw;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 20241203;
    background-color: #fff;
}

.header .conent .conent_max {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.header .conent .row1 {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    width: 100%;

    @media screen and (max-width: 1279px) {
        padding: 0 12px;
    }
}

.header .conent .row1 .left {
    display: flex;
    align-items: center;
}

.header .conent .row1 .left .logo {
    display: flex;
    align-items: center;
}

.header .conent .row1 .left .logo img {
    width: 94px;
    /* height: 32px; */ 
    /* 自由大小 */
    object-fit: cover;
    background-color: transparent;
}

.header .conent .row1 .right {
    display: flex;
    align-items: center;
    color: #b5b9bc;
    font-size: 14px;
}

.header .conent .row1 .right .gap {
    color: #858a90;
}

.header .conent .row1 .right .text:hover {
    color: #f33d0b;
}

.header .conent .row1 .right .user_icon {
    cursor: default !important;
    display: flex;
    align-items: center;
}

.header .conent .row1 .right .user_icon img {
    cursor: default !important;
    height: 24px;
    width: 24px;
    border-radius: 4px;
    /* margin-right: 7px; */
}

.header .user_lang {
    cursor: pointer;

    display: flex;
    align-items: center;
}

.header .user_lang img {
    height: 24px !important;
    width: 24px !important;
    margin-right: 14px;
}

.header .conent .row1 .right .user_login_info {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header .conent .row1 .right .user_login_info img {
    height: 24px !important;
    width: 24px !important;
    border-radius: 4px;
}

.header .conent .row1 .right .user_login_info .user_login_cont {
    margin-left: 8px;
    display: flex;
    align-items: center;
}

.header .conent .row1 .right .user_login_info:hover .userInfos_login_absolute {
    display: block;
}

.header .conent .row1 .right .user_login_info .userInfos_login_absolute {
    z-index: 20241230;
    position: absolute;
    top: 100%;
    right: 0;

    padding-top: 10px;
    width: 280px;

    display: none;
}

.header .conent .row1 .right .user_login_info .userInfos_login_absolute .login_userInfo {
    box-sizing: border-box;
    display: flex;
    align-items: center;

    font-size: 14px !important;
    height: 70px;
    width: calc(100% - 40px);
    margin: 0 auto 20px;
    border-bottom: 1px solid #edf1f6;
}

.userInfos_login_absolute .userInfos_login_box {
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 1px;
    border-radius: 4px;
    background: #ffffff;
    -webkit-box-shadow: 0 0 10px 0 rgba(11, 23, 33, 0.2);
    box-shadow: 0 0 10px 0 rgba(11, 23, 33, 0.2);
}

.header .conent .row1 .right .user_login_info .userInfos_login_absolute .login_userInfo img {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50%;
    object-fit: cover;
    box-sizing: border-box;
}

.header .conent .row1 .right .user_login_info .userInfos_login_absolute .login_userInfo .text {
    margin-left: 10px;
    word-break: break-all;
    color: #0b1721;
    font-size: 15px;
    /* 默认值 */
    text-transform: none !important;
}

.header .conent .row1 .right .user_login_info .userInfos_login_absolute .login_item {
    box-sizing: border-box;
    /* padding: 20px 0; */
    width: calc(100% - 40px);
    margin: 0 auto 20px;
}

.header .conent .row1 .right .user_icon img#open_model_h5 {
    margin-right: 0px;
}

.header .conent .row1 .right .h5_user_login_info .user_info {
    margin-left: 8px;
}

.header .conent .row1 .left .list {
    display: flex;
    align-items: center;
    margin-left: 38px;
}

.header .conent .row1 .left .list .item {
    margin-right: 38px;
}

.header .conent .row1 .left .list .item .key {
    font-family: Roboto;
    color: #455058;
    font-size: 14px;
    font-weight: 400;
}

.header .conent .row1 .left .list .item .key .red {
    color: #f33d0b;
}

.header .conent .row1 .left .list .item .key .green {
    color: #008555;
}

.header .conent .row1 .left .list .item .val {
    color: #0b1721;
    font-size: 12px;
    font-weight: 700;
}

.header .conent .line {
    position: relative;
    margin-top: -1px;
    height: 1px;
    width: 100vw;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: #f4f6fa;
}

.header .conent .row2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid #f4f6fa;
}

/* PC 导航栏 */
.header .conent .row2 .left_nav_1254 {
    min-width: 1px;
    flex: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.header .conent .row2 .list {
    min-width: 1px;
    flex: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    width: 100%;

   
}

.header .conent .row2 .list .item {
    max-width: calc(100% / 7);
    /* white-space: nowrap; */
    position: relative;
    font-size: 20px;
    font-weight: 600;
    height: 100%;
    color: #0b1721;
    height: 64px;
    /* line-height: 64px; */
    margin: 0 9px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
}

.header .conent .row2 .list .item .text {
    margin: 0 9px;
    font-size: 20px;
    font-weight: 600;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 保留几行 */
    -webkit-box-orient: vertical;
    white-space: normal !important;
}

.header .conent .row2 .list .item .text.flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .conent .row2 .list .item .text.flex img {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.header .conent .row2 .list .item:hover {
    /* background-color: #f5f5f5; */
}

.header .conent .row2 .list .active {
    color: #f33d0b;
    border-bottom: 2px solid #f33d0b;
}

.header .conent .row2 .search {
    margin-left: 5px;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
    background-color: #f7f9fb;
    width: 312px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 14px;
}

.header .conent .row2 .search input {
    flex: 1;
    height: 100%;
}

.header .conent .row2 .search .btc {
    font-size: 12px;
    height: 20px;
    line-height: 20px;
    color: #545c63;
    background-color: #fdfefe;
    border-radius: 100px;
    padding: 0px 8px;
    flex-shrink: 0;
    margin-right: 14px;
}

.header .conent .row2 .search .btc:hover {
    color: #fff;
    background-color: #f33d0b;
}

.header .conent .row2 .search .search_icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header .conent .row2 .search .search_icon img {
    margin-left: 5px;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.header .conent .row2 .search .search_absolute {
    box-sizing: border-box;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;

    margin-top: 50px;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 5px 24px 0 rgba(159, 169, 176, 0.15), 0 5px 24px 0 rgba(159, 169, 176, 0.15);
}

.header .conent .row2 .search .search_absolute .search_top {
    width: calc(100% - 26px);
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf1f6;
}

.header .conent .row2 .search .search_absolute .search_top > div {
    padding: 7px 0;
    font-size: 12px;
    line-height: 20px;
}

.header .conent .row2 .search .search_absolute .search_top .val {
    cursor: pointer;
    color: #858a90;
}

.header .conent .row2 .search .search_absolute .search_cont {
    box-sizing: border-box;
    padding: 5px 0;
    height: 300px;
    overflow-y: auto;
}

.header .conent .row2 .search .search_absolute .search_cont .search_item {
    cursor: pointer;
    box-sizing: border-box;
    padding: 4px 13px;

    font-size: 14px;
    height: 38px;
    line-height: 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    /* border-bottom: 1px solid #f5f5f5; */
}

.header .conent .row2 .search .search_absolute .search_cont .no-more-data,
.header .conent .row2 .search .search_absolute .search_cont .loading {
    box-sizing: border-box;
    padding: 4px 13px;
    margin-bottom: 4px;

    font-size: 14px;
    height: 38px;
    line-height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-top: 1px solid #f5f5f5;
}

.header .conent .row2 .search .search_absolute .search_cont .search_item .key {
    min-width: 1px;
    flex: 1;
    flex-shrink: 0;
}

.header .conent .row2 .search .search_absolute .search_cont .search_item:hover {
    background-color: #f5f5f5;
}

.header .conent .row2 .search .search_absolute .search_cont .search_item .delete_tip.val:hover {
    text-decoration: underline;
}

.header .conent .row2 .search .search_absolute .search_cont .search_item:hover .delete_tip.val {
    flex-shrink: 0;
    margin-left: 10px;
    display: block !important;

    color: #f33d0b;
}

/***/

.header .conent .row2 .item > .absolute {
    display: none;

    z-index: 202412010;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 100%;
    padding: 6px;

    max-height: 520px;
    overflow-y: auto;

    transform: translate(0%, -1px);
    background-color: #fff;
    border-top: 1px solid #f33d0b;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header .conent .row2 .item:hover > .absolute {
    display: block;
}

.header .conent .row2 .item > .absolute .absolute_item {
    padding: 10px;
    white-space: nowrap;
    margin-bottom: 10px;

    cursor: pointer;
    color: #0b1721;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.header .conent .row2 .item > .absolute .absolute_item:hover {
    color: #f33d0b;
    /* box-shadow: 0 5px 24px 0 rgba(159, 169, 176, 0.15), 0 5px 24px 0 rgba(159, 169, 176, 0.15); */
}

.header .conent .row2 .item > .absolute .absolute_item:last-of-type {
    margin-bottom: 0;
}

/* 截取的 */
.header .conent .row2 .item > .absolute .absolute_item_hidden {
    /* padding: 10px 0; */
    white-space: nowrap;
    margin-bottom: 10px;

    cursor: pointer;
    color: #0b1721;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;

    box-sizing: border-box;
    min-width: 150px;
    max-width: 440px;
}

.header .conent .row2 .item > .absolute .absolute_item_hidden:last-of-type {
    margin-bottom: 0;
}

.absolute_show_box {
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.absolute_show_box .left {
    min-width: 1px;
    flex: 1;
    flex-shrink: 0;
}

.absolute_show_box:hover .left {
    color: #f33d0b;
}

.absolute_show_box .left.left_active {
    color: #f33d0b;
}

.absolute_show_box .right {
    flex-shrink: 0;
    width: 18px;
    margin-left: 5px;
}

.absolute_show_box .right img {
    transform: rotate(-90deg);
    width: 12px;
    height: 12px;
    margin-bottom: 2px;
    box-sizing: border-box;
    flex-shrink: 0;
    object-fit: contain;
}

.absolute_show_box .right img.spin {
    transform: rotate(0deg);
}

.absolute_hidden_box {
    width: 100%;
    /* margin-top: 5px; */
}

.absolute_hidden_box .absolute_hidden_item {
    padding: 8px 0 8px 10px;
}

.absolute_hidden_box .absolute_hidden_item:last-of-type {
    border-bottom: 1px solid #f4f6fa;
}

.absolute_hidden_box .absolute_hidden_item:hover {
    background-color: #f4f6fa;
}

/* h5 菜单 model 适配 */

* {
    transition: all 0.25s;
}

.header .h5_menu_model .model_conent {
    position: relative;
    width: 93.333vw;
    height: 100%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
}

.header .h5_menu_model .model_conent .close {
    display: flex;
    position: absolute;
    right: 16px;
    top: 16px;
}

.header .h5_menu_model .model_conent .close img {
    width: 50px;
    height: 50px;
}

.header .h5_menu_model .model_conent .list {
    transition: all 0s !important;
    padding: 14px 0;
    display: flex;
    /* align-items: center; */
    align-items: flex-start;
    /* 确保子元素在垂直方向上对齐 */
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 20px;
    /* gap: 20px; */

    flex-shrink: 0;
}

.header .h5_menu_model .model_conent .list .item {
    flex: 1 1 calc(33.3% - 20px);
    /* 默认宽度为 33.3% 减去 20px 的间距 */
    /* flex-shrink: 0; */
    min-width: calc(33.3% - 20px);
    /* 确保最小宽度为 33.3% 减去间距 */
    max-width: 100%;
    box-sizing: border-box;
    transition: all 0s !important;
    /* margin-right: 38px; */
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 6px 8px;
    margin: 10px 0;
}

/* 当 .item 宽度在 33.3% 到 66.6% 之间时，宽度为 66.6% - 20px */
.header .h5_menu_model .model_conent .list .item.medium_width {
    flex: 1 1 calc(66.6% - 15px);
    min-width: calc(66.6% - 20px);
}

/* 当 .item 宽度大于 66.6% 时，占满整行 */
.header .h5_menu_model .model_conent .list .item.full_width {
    flex: 1 1 100%;
    min-width: 100%;
}

.header .h5_menu_model .model_conent .list .item.gap {
    transition: all 0s !important;
    width: 89.77px;
    padding: 0;
    margin: 0;
}

.header .h5_menu_model .model_conent .list .item .key {
    transition: all 0s !important;
    font-family: Roboto;
    color: #455058;
    font-size: 14px;
    font-weight: 400;
}

.header .h5_menu_model .model_conent .close_btn {
    flex-shrink: 0;
    box-sizing: border-box;
    width: 100%;
    /* padding: 0 20px; */
    padding: 0 4px;

    margin: 18px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .h5_menu_model .model_conent .close_btn .text {
    transition: all 0s;
    cursor: pointer;
    box-sizing: border-box;
    /* min-width: 120px; */
    width: 100%;
    border-radius: 4px;
    min-height: 40px;
    line-height: 40px;
    padding: 0 10px;

    color: #f33d0b;
    font-family: PingFangSC-Regular;
    font-size: 14px;
    text-align: center;
    border: 1px solid #f33d0b;
}

#open_model_h5_btn {
    flex-shrink: 0;
    margin-left: 8px;
    display: flex;
    align-items: center;
}

#open_model_h5_btn .search_icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.mr14 {
    margin-right: 14px;
}

.header .h5_menu_model .model_conent .item .key .red {
    color: #f33d0b;
}

.header .h5_menu_model .model_conent .item .val {
    transition: all 0s !important;
    color: #0b1721;
    font-size: 12px;
    font-weight: 700;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.header .h5_menu_model .model_conent .link_list {
    box-sizing: border-box;
    font-family: Roboto;
    color: #455058;
    font-size: 14px;
    font-weight: 400;

    min-height: 1px;
    flex: 1;
    flex-shrink: 0;

    overflow-y: auto;
}

.header .h5_menu_model .model_conent .link_list .link_item {
    box-sizing: border-box;
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Roboto;
    color: #455058;
    font-size: 18px;
    font-weight: 400;
    border-bottom: 1px solid #f4f6fa;
    padding: 0 14px;
    padding: 0 4px;
    box-sizing: border-box;
}

.header .h5_menu_model .model_conent .link_list .link_item.btn {
    border: none;
    border-bottom: 1px solid #f4f6fa;
    margin-left: 0;
}

.header .h5_menu_model .model_conent .link_list .link_item .text {
    min-width: 1px;
    flex: 1;
    flex-shrink: 0;

    text-align: left;
    color: #455058;
    font-size: 18px;
    font-weight: 400;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.header .h5_menu_model .model_conent .link_list .link_item img {
    flex-shrink: 0;
    margin-left: 10px;
    object-fit: cover;
    width: 14px;
    height: 14px;
}

.header .h5_menu_model .model_conent .link_list .link_item.collapsed.btn img {
    /* transform: rotate(90deg); */
}

.header .h5_menu_model .model_conent .link_list .link_item.btn img {
    /* transform: rotate(90deg); */
    /* transform: rotate(0); */
}

.header .h5_menu_model .model_conent .link_list .row_item {
    box-sizing: border-box;
    width: 100%;
    color: #455058;
    line-height: 26px;
    font-size: 16px;
    padding: 10px 28px;
    border-bottom: 1px solid #f4f6fa;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.header .h5_menu_model .model_conent .link_list .row_item:last-of-type {
    border-color: transparent;
}

.header .h5_menu_model .model_conent .link_list .link_item.login {
    height: 55px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f4f6fa00;
    margin-bottom: 10px;
    margin-top: 34px;
}

.header .h5_menu_model .model_conent .link_list .link_item.login .left {
    display: flex;
    align-items: center;
}

.header .h5_menu_model .model_conent .link_list .link_item.active {
    color: #f33d0b;
}

.header .h5_menu_model .model_conent .link_list .link_item .user_icon {
    display: flex;
    align-items: center;
}

.header .h5_menu_model .model_conent .link_list .link_item .user_icon img {
    height: 26px;
    width: 26px;
    margin-right: 14px;
}

.header .h5_menu_model {
    width: 100vw;
    max-width: 100%;
    position: fixed;
    top: 55px;
    left: 0;
    right: 0px;
    bottom: 0;
    opacity: 0;
    transform: translateX(100%);
    box-sizing: border-box;
    z-index: 20241205;
    background-color: #fff;
}

.header .h5_menu_model.open {
    animation: openModel 0.25s ease-out forwards;
}

.header .h5_menu_model.close {
    animation: closeModel 0.25s ease-out forwards;
}

@keyframes openModel {
    0% {
        opacity: 0;
        transform: translateY(0px);
        /* scale(0.75) */
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
        /* scale(1) */
    }
}

@keyframes closeModel {
    0% {
        opacity: 1;
        transform: translateX(0px);
        /* scale(1) */
    }

    99% {
        opacity: 0;
        transform: translateY(0px);
        /*  scale(0.75) */
    }

    100% {
        transform: translateX(100%);
    }
}
