#profile .asset-card span,
#profile .asset-card strong{
    color:#fff !important;
}

#profile .invite-vip-card{
    grid-column:1/-1;
}

#profile .invite-vip-metrics{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin:14px 0;
}

#profile .invite-vip-metrics span,
#profile .invite-code-item{
    min-width:0;
    border:1px solid rgba(70,255,236,.16);
    border-radius:14px;
    background:rgba(5,18,24,.42);
    padding:12px;
}

#profile .invite-vip-metrics em{
    display:block;
    color:#9fb0bd;
    font-size:12px;
    font-style:normal;
    font-weight:800;
    margin-bottom:5px;
}

#profile .invite-vip-metrics strong{
    color:#33ead9 !important;
    font-size:16px;
    word-break:break-word;
}

#profile .invite-code-list{
    display:grid;
    gap:10px;
    margin:12px 0;
}

#profile .invite-code-item{
    display:grid;
    grid-template-columns:minmax(110px,160px) minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
}

#profile .invite-code-item b{
    color:#f8fbff;
    letter-spacing:.04em;
}

#profile .invite-code-item input{
    height:42px;
    min-width:0;
    border-radius:12px;
    color:#cfe5f2;
    background:rgba(0,0,0,.22);
}

#profile .invite-code-item button{
    height:42px;
    padding:0 14px;
    white-space:nowrap;
}

#profile .security-combined-card{
    display:flex !important;
    flex-direction:column !important;
    gap:0 !important;
}

#profile .security-combined-section{
    display:flex;
    flex-direction:column;
    padding:0 0 16px;
    margin:0 0 16px;
    border-bottom:1px solid rgba(255,255,255,.075);
}

#profile .security-combined-section:last-of-type{
    margin-bottom:0;
}

#profile .security-combined-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}

#profile .security-combined-head em{
    flex:0 0 auto;
    margin-top:0 !important;
}

#profile .security-combined-section > button{
    align-self:flex-start;
}

#profile .security-combined-note{
    margin-top:auto;
    padding:16px;
    border:1px solid rgba(70,255,236,.16);
    border-radius:16px;
    background:linear-gradient(180deg,rgba(53,229,212,.08),rgba(5,18,24,.46));
}

#profile .security-combined-note strong{
    display:block;
    color:#33ead9;
    font-size:13px;
    font-weight:900;
    margin-bottom:8px;
}

#profile .security-combined-note p{
    margin:0;
    color:#9fb0bd;
    font-size:12px;
    font-weight:750;
    line-height:1.75;
}

#profile .profile-password-note{
    margin-top:18px;
    padding:16px;
    border:1px solid rgba(70,255,236,.16);
    border-radius:16px;
    background:linear-gradient(180deg,rgba(53,229,212,.08),rgba(5,18,24,.46));
}

#profile .profile-password-note strong{
    display:block;
    color:#33ead9;
    font-size:13px;
    font-weight:900;
    margin-bottom:8px;
}

#profile .profile-password-note p{
    margin:0;
    color:#9fb0bd;
    font-size:12px;
    font-weight:750;
    line-height:1.75;
}

@media(max-width:760px){
    #profile .invite-vip-metrics{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    #profile .invite-code-item{
        grid-template-columns:1fr;
    }

    #profile .invite-code-item button{
        width:100%;
    }
}

@media(min-width:1281px){
    #profile .profile-layout{
        align-items:stretch !important;
    }

    #profile .profile-layout > .trade-box,
    #profile .profile-layout > .profile-security-panel,
    #profile .profile-layout > .kyc-right-panel{
        height:100% !important;
        min-height:0 !important;
        display:flex !important;
        flex-direction:column !important;
    }

    #profile .profile-layout > .profile-security-panel.security-grid-panel{
        display:flex !important;
        flex-direction:column !important;
    }

    #profile .security-card-stack{
        flex:1 1 auto !important;
        display:flex !important;
        flex-direction:column !important;
        gap:14px !important;
    }

    #profile .profile-password-panel .profile-password-note{
        margin-top:auto !important;
    }

    #profile .security-card-stack > .security-manage-card{
        flex:1 1 0 !important;
        display:flex !important;
        flex-direction:column !important;
    }

    #profile .security-card-stack > .security-combined-card{
        flex:1 1 auto !important;
        min-height:0 !important;
    }

    #profile .security-card-stack > .invite-vip-card{
        margin-top:0 !important;
    }

    #profile .security-card-stack > .security-manage-card > button:last-child{
        margin-top:auto !important;
        align-self:flex-start !important;
    }

    #profile .kyc-single-card{
        flex:1 1 auto !important;
        display:flex !important;
        flex-direction:column !important;
    }

    #profile .kyc-single-card > button:last-child{
        margin-top:auto !important;
    }
}
