/* 分割线 响应式适配 仅区分web和手机 */
/* web 端结构隐藏 */
.trader-header-h5, .liner-container-h5, .trader-container-h5, .sec-tabs-h5, .trader-header-h5, .trader-order-info-h5, .follow-income-h5, .roi-h5, .prefer-h5, .trader-detail-chart-h5 {
    display: none;
}

/* web live feed */
.live_post-card-web {
    padding: 24px;
    background: var(--color-card-2);
    border-radius: 12px;
    position: relative;
    height: 219px;
    padding-bottom: 0px;
    width: 342px;
}
.live_post-card-action {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 14px !important;
    color: var(--color-text-3) !important;
    line-height: normal;
}
.latest-feed {
    padding-top: 16px;
    padding-bottom: 36px;
}
.feed-desc {
    font-size: 14px;
    color: var(--color-text-3);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.feed-avatar-h5 {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
}
.feed-name {
    font-size: 14px;
    color: var(--color-text-1);
    margin-right: 4px;
    line-height: normal;
}
.feed-time {
    font-size: 12px;
    color: var(--color-text-3);
    line-height: 14px;
    height: 14px;
}
.live-container-web {
    padding-top: 12px;
    padding-bottom: 22px;
}
.live-top-wrapper {
    position: relative;
    border-radius: 4px;
    margin-bottom: 4px;
}
.live-cover-web {
    width: 139px;
    height: 77px;
    display: block;
    border-radius: 4px;
}
.live-desc-web, .live-title-web {
    font-size: 14px;
    color: var(--color-text-3);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 139px;
}
.live-status-web {
    background: var(--color-gradient-6);
    padding: 4px 8px;
    position: absolute;
    left: 0px;
    bottom: 0px;
    border-radius: 4px;
}
.live-status-idle-web {
    background: var(--color-gradient-7);
    padding: 4px 8px;
    position: absolute;
    left: 0px;
    bottom: 0px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: normal;
}
.live-status-end-web {
    background: #151926;
    padding: 4px 8px;
    position: absolute;
    right: 0px;
    bottom: 0px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: normal;
}
.icon-stroke-color3 {
    stroke: var(--color-text-3);
}

.mantine-Table-root > thead th:last-of-type {
    display: flex;
    justify-content: end;
}

.mantine-Table-root tr > td:last-child > .mantine-TableItem-root {
    justify-content: end;
}

.tooltip-dashed {
    border-bottom: 1px dashed var(--color-text-4);
    cursor: help;
}

/* h5 style */
@media screen and (max-width: 1300.1px) {
    body {
        line-height: 1;
    }
    html[lang=ar] input+.mantine-Input-rightSection {
        left: 0rem;
        right: auto;
    }
    /* .trader-header {
        display: none;
    } */
    .trader-header-wrapper-h5 {
        position: relative;
        height: 100%;
    }
    .trader-header-h5 {
        display: block;
        padding: 12px;
        height: 44px;
        background-color: var(--color-card-2);
    }
    .trader-detail-header {
        display: none;
    }
    .back-text-h5 {
        position: absolute;
        left: 0;
        width: 20px;
        height: 20px;
        text-align: center;
    }
    .liner-container-h5 {
        display: block;
        position: absolute;
        overflow: hidden;
        height: 740px;
        width: 100vw;
        z-index: 0;
    }

    .filter-img-h5  {
        width: 200vw;
        display: block;
        margin: 0 auto;
        filter: blur(100px);
        opacity: 0.2;
        transform: translateY(-8%);
        transform: translate(-25%, 0%);
    }
    .trader-container-h5 {
        display: block;
        margin: 12px 12px 0px 12px;
    }
    .liner-container {
        display: none;
    }
    .trader-header-h5 {
        display: block;
    }
    .trader-top-info-h5 {
        padding: 16px;
        border-radius: 12px;
        background: var(--color-card-2);
        position: relative;
    }
    .trader-detail-avatar-h5 {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        margin-right: 12px;
    }
    .trader-info-top-h5 .name {
        color: var(--color-text-1);
        font-style: normal;
        font-weight: 700;
        font-size: 20px;
        vertical-align: middle;
        display: inline-block;
        max-width: calc(100vw - 260px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: normal;
    }

    .follow-status-h5 {
        display: inline-flex;
        padding: 5px 8px;
        background: rgba(0, 0, 0, 0.30);
        border-radius: 20px;
        font-size: 14px;
        font-weight: 600;
        backdrop-filter: blur(5px);
        color: #fff;
        margin-right: 12px;
    }

    .status-label-full-h5 {
        height: 24px;
        box-sizing: content-box;
        line-height: 24px;
        text-align: center;
        display: inline-flex;
        vertical-align: middle;
        font-style: normal;
        font-weight: 600;
        font-size: 12px;
        color: #fff;
        background: var(--color-funct-4);
        border-radius: 20px;
        padding: 0 12px;
    }

    .trader-info-middle-h5 {
        margin: 20px 0;
    }
    .trader-info-middle-h5 .tag-item {
        padding: 6px 8px;
        color: var(--color-text-3);
        font-size: 12px;
        font-style: normal;
        font-weight: 600;
        margin-right: 4px;
        border-radius: 4px;
        line-height: 1;
    }

    .trader-desc-wrapper-h5 .desc {
        color: var(--color-text-3);
        font-size: 12px;
        line-height: 1.5;
        word-break: break-all;
    }
    .sub-title-h5 {
        color: var(--color-text-3);
        font-size: 12px;
        font-weight: 400;
    }
    .sub-title-h5:nth-child(1), .sub-title-h5:nth-child(3), .sub-value-h5:nth-child(1), .sub-value-h5:nth-child(3) {
        min-width: 100px;
    }
    .sub-title-h5:nth-child(3), .sub-value-h5:nth-child(3) {
        text-align: right;
    }
    .sub-title-h5:nth-child(2) {
        text-align: center;
        min-width: 100px;
    }
    .sub-value-h5:nth-child(2) {
        text-align: center;
        min-width: 100px;
    }
    .sub-value-h5 {
        color: var(--color-text-1);
        font-size: 16px;
        font-weight: 600;
    }
    .operate-btn-h5 {
        margin-top: 20px;
    }
    .operate-item-h5 {
        border: 1px solid var(--color-divider-1);
        height: 32px;
        width: 32px;
        text-align: center;
        margin: auto;
        cursor: pointer;
        margin-left: 16px;
        line-height: 32px;
        border-radius: 4px;
    }

    .trader-info-bottom-h5 {
        margin-top: 20px;
    }
    .trader-live-feeds-h5 {
        margin-top: 12px;
    }
    .icon-operate {
        margin-right: 8px;
    }
    .feeds-operate {
        margin-right: 24px;
    }
    .sec-tabs-h5 {
        display: block;
        margin-top: 48px;
        margin-bottom: 12px;
    }
    /* 带单数据 */
    .with-single-data .single-data {
        position: relative;
        top: 0;
    }
    .single-data .single-data-header .left .flex .single-data-title {
        margin-right: 16px;
        color: var(--color-text-1);
        font-style: normal;
        font-weight: 600;
        font-size: 16px;
        height: 19px;
        width: 230px;
        line-height: 19px;
        margin-bottom: 8px;
    }
    .single-data .single-data-header-activity {
        width: 100%;
        height: 19px;
        line-height: 19px;
        margin-bottom: 20px;
        font-weight: 600;
        font-size: 16px;
        color: var(--color-text-1);
        margin-top: -8px;
    }
    .with-single-data .single-data {
        margin-right: 0;
        width: 100%;
        padding: 16px;
        background-color: var(--color-card-2);
    }
    #trader-root .single-data .single-data-header {
        padding: 24px 0px;
        margin-bottom: 0;
        height: auto;
        align-items: center;
        padding-top: 0;
    }
    #trader-root .single-data .single-data-content {
        width: 100%;
        padding: 0 0px 16px 0px;
        margin-bottom: 40px;
    }
    .with-single-data > .with-single-data-content {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .single-data .single-data-content .metrics-item {
        width: 100%;
    }
    .trader-detail-container {
        width: 100%;
    }
    .chart-containers {
        width: 100%;
    }

    .trader-chart-h5 {
        flex-direction: column;
    }

    .chart-card {
        width: 100%;
    }
    .chart-card-preference {
        width: 100%;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    /* 订单信息 */
    .card-data-item {
        margin-bottom: 24px;
        padding-right: 12px;
    }

    .card-shadow {
        box-shadow: 0px 4px 24px 0px var(--color-divider-1);
    }

    .common-number-time {
        margin-bottom: -8px;
        font-weight: 400;
        font-size: 12px;
        line-height: 14px;
        letter-spacing: 0.4px;
        color: var(--color-text-2);
    }

    .history-card-row {
        margin-bottom: 12px;
        width: 100%;
        justify-content: flex-start !important;
    }


    .trader-order-info-h5 {
        display: block;
    }
    .trader-order-infomation {
        display: none;
    }
    #trader-root .order-infomation {
        margin-top: 0px;
    }
    .order-infomation, .copy-trader {
        margin-bottom: 15px;
        margin-top: 15px;
    }
    /* 跟随者收益 */
    .follow-income-h5 {
        display: block;
    }
    .follow-income {
        display: none;
    }
    #trader-root .trader-detail-tabs {
        margin-top: 0px;
        padding-bottom: 48px;
        padding-top: 0px;
        margin-bottom: 0px;
        margin-left: 12px;
        margin-right: 12px;
    }
    #trader-root .traders-grid-wrapper {
        grid-template-rows: none;
    }
    .traders-grid-wrapper {
        grid-gap: 16px;
    }
    .traders-grid-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
    .traders-grid-wrapper > li:not(.listStyle) {
        border-radius: 8px;
        box-shadow: 0px 2px 24px rgba(70, 100, 140, 0.08);
    }
    .trader-card {
        padding: 24px 16px;
    }
    #trader-root .trader-detail-container .traders-grid-wrapper .table-card-header {
        display: flex;
        justify-content: space-between;
        font-size: 16px;
        padding-bottom: 16px;
        margin-bottom: 24px;
        border-bottom: 1px solid var(--color-divider-2);
    }
    #trader-root .position-style.up {
        color: #E62323 !important;
    }
    #trader-root .trader-card-user-create {
        /* margin-left: auto; */
        text-align: right;
    }
    #trader-root .trader-card-user-create .trader-create-time {
        font-weight: 400;
        font-size: 12px;
        line-height: 14px;
        letter-spacing: 0.4px;
        color: var(--color-text-2);
    }
    #trader-root .copy-mode-data {
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
    }
    #trader-root .jc-start {
        justify-content: start;
    }
    .copy-mode-data .avatar-head{
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        padding-top: 0;
    }
    .copy-mode-data .avatar-head .traditional-font {
        transform: scale(0.8);
    }
    .copy-mode-data .copy-mode-data-row{
        width: 100%;
        display: flex;
    }
    .copy-mode-data .copy-mode-data-row .data-common{
        margin-bottom: 24px !important;
    }
    .ai-stretch {
        align-items: stretch !important;
    }
    #trader-root .trader-card .common-number-black {
        font-size: 14px;
        line-height: 14px;
        word-break: break-word;
    }
    #trader-root .common-number-black {
        font-weight: 500;
    }
    .data-common-title {
        color: var(--color-text-3);
    }
    .mg-12 {
        padding: 0 12px !important;
    }
    .ta-r {
        text-align: right;
    }
    .load-more {
        font-size: 14px;
        font-weight: 500;
        color: #04091A;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 24px;
    }
    .load-more .text {
        margin-right: 6px;
    }
    .tooltip-icon {
        margin-top: 0;
        top: 0px;
        position: relative;
        width: 12px;
        height: 12px;
    }
    /* chart */
    #prifit-chart, .data-right-cont {
        /* min-height: 287px; */
    }
    .profit-card {
        height: 384px;
    }
    #trader-root .profit-card {
        padding: 16px;
        height: auto;
        margin-top: 24px;
        margin-bottom: 24px;
        background-color: var(--color-card-2);
    }
    .chart-card {
        margin-bottom: 24px;
        padding: 16px;
        flex: 1;
        position: relative;
        min-height: 382px;
        margin-bottom: 24px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .chart-title {
        color: var(--color-text-1);
        font-size: 16px;
        font-weight: 600;
        display: inline-block;
        height: 19px;
        line-height: 19px;
    }
    .trading-data-h5-select {
        right: 16px !important;
        top: 16px !important;
    }
    .chart-select {
        position: absolute;
        right: 16px;
        top: 16px;
        z-index: 9;
    }
    .preference {
        background: var(--color-card-2);
        border-radius: 8px;
        min-height: 400px;
        padding: 16px;
    }
    .crypto-title {
        color: var(--color-text-1);
        font-size: 16px;
        font-weight: 600;
        height: 19px;
        line-height: 19px;
    }
    .top-header-list .value {
        /* max-width: 60px; */
    }
    /* 直播，动态 */
    .live-feed-modal {
        /* padding: 16px; */
        height: auto !important;
    }
    /* // share */
    .ant-drawer-wrapper-body {
        padding: 0 16px 16px 16px;
        margin-bottom: 24px;
    }
    .ant-drawer-header {
        padding: 24px 0px 24px 0px;
    }
    .ant-drawer-header-title .ant-drawer-close {
        position: absolute;
        right: 16px;
        top: 24px;
    }
    .ant-drawer-header {
        border: none;
    }
    .content-box-live, .content-box {
        position: unset;
    }
    .ant-drawer-body {
        padding: 0;
        /* overflow: hidden; */
    }
    .content-box-live.active, .content-box.active {
        padding: 0;
    }
    .content-item-live, .content-item-feed {
        width: auto !important;
    }
    .content-item-more {
        display: flex;
        height: 40px;
        padding: 0px 24px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
        align-self: stretch;
        background: var(--color-neutral-2);
        margin-top: 40px;
    }
    .content-box .more, .content-box-live .more {
        color: #04091A;
        font-size: 16px;
        font-weight: 700;
    }
    .content-item-more span {
        display: none;
    }
    /* 分享modal */
    .share-link-modal .ant-modal-body .share-main {
        padding: 16px;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        margin-bottom: 0;
        margin-right: 0;
        margin-left: 0;
        margin-top: 0;
        position: relative;
    }
    .share-link-modal .ant-modal-body {
        padding: 0;
    }
    /* .ant-drawer-mask {
        opacity: 0;
    } */
    .share-item {
        width: 65px;
        height: 66px;
        cursor: pointer;
    }
    .share-icon-circle {
        width: 44px;
        height: 44px;
        padding: 0px;
        border-radius: 50%;
        border: 1px solid var(--color-divider-1);
        margin: 0px auto 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .ttu-h5 {
        color: var(--color-text-3);
        font-size: 12px;
        height: 14px;
        line-height: 14px;
        text-align: center;
    }
    /* chart tabs */
    .roi-h5 {
        display: block;
    }
    .roi-web {
        display: none;
    }
    /* perf */
    #my-p-chart, .data-right-cont {
        height: 200px;
        padding-top: 0px;
        padding-bottom: 0;
        margin-bottom: 24px;
    }
    .prefer-h5 {
        display: block;
    }
    .prefer-web {
        display: none;
    }
    .top-header {
        color: var(--color-text-3);
        padding: 12px 0px 12px 0;
    }
    .tb-1 {
        min-width: 100px;
        margin-right: 12px;
        font-size: 14px;
    }
    .tb-3 {
        font-size: 14px;
    }
    .top-header-list .first-value {
        font-size: 14px;
    }
    .top-header-list .value {
        font-size: 14px;
        font-weight: 400;
    }
    .top-header-list {
        padding-right: 0;
    }
    /* chart tooltip */
    #chart-layer li, .chart-activity li {
        font-size: 12px;
    }
    .chart-popup li span {
        margin-bottom: 8px;
        height: 14px;
        line-height: 14px;
        font-weight: 500;
    }
    /*  chart  */
    .trader-detail-chart-web {
        display: none;
    }
    .trader-detail-chart-h5 {
        display: block;
    }
    /* 新版直播动态 */
    .live_post-card-h5 {
        padding: 16px;
        background: var(--color-card-2);
        border-radius: 12px;
        position: relative;
        min-height: 172px;
        max-height: 172px;
        padding-bottom: 0px;
    }
    .live_post-card-action {
        position: absolute;
        top: 16px;
        right: 16px;
        font-size: 14px !important;
        color: var(--color-text-3) !important;
    }
    .feeds-item-title {
        height: 14px;
        line-height: 14px;
        margin-bottom: 2px !important;
    }
    .latest-feed {
        padding-top: 24px;
        padding-bottom: 22px;
    }
    .feed-desc {
        font-size: 12px !important;
        color: var(--color-text-3);
        line-height: 1.5;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        margin-top: 12px !important;
    }
    .feed-avatar-h5 {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        margin-right: 8px;
    }
    .feed-name {
        font-size: 12px !important;
        color: var(--color-text-1);
        margin-right: 4px;
        line-height: normal;
    }
    .feed-time {
        font-size: 12px;
        color: var(--color-text-3);
        line-height: normal;
    }
    .live-container-h5 {
        padding-top: 22px;
        padding-bottom: 22px;
        /* margin-right: 8px; */
    }
    .live-top-wrapper {
        position: relative;
        border-radius: 4px;
        display: inline-block;
        margin-right: 8px;
    }
    .live-cover-h5 {
        width: 100px;
        height: 56px;
        display: block;
        border-radius: 4px;
    }
    .live-desc-h5, .live-title-h5 {
        font-size: 12px;
        color: var(--color-text-3);
        line-height: 1.5;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 100px;
    }
    .live-status-h5 {
        background: var(--color-gradient-6);
        padding: 4px;
        position: absolute;
        left: 0px;
        bottom: 0px;
        border-radius: 4px;
    }
    .live-status-idle-h5 {
        background: var(--color-gradient-7);
        padding: 4px;
        position: absolute;
        left: -6px;
        bottom: -2px;
        border-radius: 4px;
        color: #fff;
        font-size: 10px;
        font-weight: 600;
        transform: scale(0.83333);
        height: 24px;
        line-height: 24px;
    }
    .live-status-end-h5 {
        background: #151926;
        padding: 4px;
        position: absolute;
        right: -5px;
        bottom: -1px;
        border-radius: 4px;
        color: #fff;
        font-size: 10px;
        font-weight: 600;
        transform: scale(0.83333);
        height: 24px;
        line-height: 24px;
    }
    .icon-stroke-color3 {
        stroke: var(--color-text-3);
    }
    /* mantine drawer */
    .mantine-Drawer-title {
        font-size: 20px;
        height: 20px;
        line-height: 20px;
        font-weight: 700;
    }
    .mantine-Drawer-header {
        margin-top: 24px;
        padding: 0 16px;
    }
    .mantine-Drawer-body {
        padding: 0 16px;
        height: 330px;
    }
    .quick-copy-mode-ok-btn {
        width: auto !important;
    }
    .avatar-head {
        min-width: 28px !important;
    }
    /* 三角形 */

    .sanjiaoxing{width: 9px;height: 9px;position: absolute;}
    .sanjiaoxing span{position: absolute; border-radius: 0 1px 0px 0px;right: 13px;width: 100%;height: 100%;transform: rotate(45deg);}
    .sanjiaoxing.left{left: -29px;transform: rotate(180deg);}
    .sanjiaoxing.right{right: -29px;}
    /* gate drawer */
    .mantine-Drawer-root > div {
        height: auto;
    }
    #share-more-h5-body {
        height: 106px;
    }
    .mantine-Drawer-title {
        height: 16px;
        line-height: 16px;
    }
    .mantine-Drawer-header {
        margin-top: 16px;
        padding: 0 16px;
    }

    /* .mantine-Drawer-root .mantine-Overlay-root.mantine-Drawer-overlay {
        display: none;
    } */

    /* .share-link-modal .ant-modal-body{
        padding: 32px 40px 24px 40px;
        background: var(--color-card-2);
        border-radius: 16px;
    }
    .share-link-modal .common-modal-header {
        color: var(--color-text-1);
        font-size: 24px;
        font-weight: 600;
    } */
    /* .share-main{
        padding: 20px 16px 16px 16px;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        margin-bottom: 48px;
        margin-left: 43px;
        margin-right: 43px;
        margin-top: 24px;
        position: relative;
    } */
    .share-main .title{
        margin-top: 32px;
        margin-bottom: 8px;
        color: #fff;
        font-size: 24px;
        height: 28px;
        line-height: 28px;
        font-weight: 500;
    }
    .share-main .avatar{
        width: 24px;
        height: 24px;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
    .share-main .nickname{
        color: #989FB3;
        font-size: 14px;
        font-weight: 500;
    }
    .share-main .roi{
        height: 47px;
        line-height: 47px;
        font-size: 40px;
        font-weight: 500;
    }
    .share-main .roi-title {
        font-size: 14px;
        color: #989FB3;
        font-weight: 500;
    }
    .share-main .column-1{
        min-width: 124px;
        height: 16px;
        line-height: 16px;
        font-size: 14px;
        color: #989FB3;
        margin-bottom: 8px;
        font-weight: 400;
    }

    .share-main .column-1.value {
        color: #fff;
        font-weight: 500;
    }

    .share-main .share-dsc{
        padding-right: 90px;
        /* height: 18px; */
        line-height: 18px;
        color: #606880;
        font-weight: 500;
        font-size: 12px;
        margin-top: 4px;
        text-align: justify;
    }
    .share-main .qr-code {
        width: 80px;
        height: 80px;
        position: absolute;
        right: 16px;
        bottom: 16px;
        display: block;
    }

    .share-item {
        width: 87px;
        height: 74px;
        cursor: pointer;
    }
    .share-icon-circle {
        width: 52px;
        height: 52px;
        padding: 9px;
        border-radius: 50%;
        border: 1px solid var(--color-divider-1);
        margin: 0px auto 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ttu {
        color: var(--color-text-3);
        font-size: 12px;
        height: 14px;
        line-height: 14px;
        text-align: center;
    }

    .qr-code {
        width: 80px;
        height: 80px;
        position: absolute;
        right: 16px;
        bottom: 16px;
        display: block;
    }

    /* gate modal */
    .mantine-Modal-root .mantine-Modal-modal {
        padding: 0;
    }
    .mantine-Modal-close {
        display: none;
    }
}

.custom-setting-modal-class .ant-drawer-content,
.cp-confirm-modal .ant-drawer-content {
    overflow: hidden;
}